]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdbserver/ChangeLog:
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b62e2b27
UW
12012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2
3 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
4 watchpoints on ARM. When expecting software watchpoints, tolerate
5 (remote) targets that report unsupported hardware watchpoint only
6 at continue time.
7 (test_wide_location_2): Likewise.
8
a967a851
JK
92012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10
11 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
12 valgrind versions.
13
75d9f9ff 142012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
15
16 * gdb.base/valgrind-infcall.c: New file.
17 * gdb.base/valgrind-infcall.exp: New file.
18
75d9f9ff
JK
19 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
20
7f9b2034
DE
212012-07-30 Doug Evans <dje@google.com>
22
85220e01
DE
23 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
24 * gdb.dwarf2/pr13961.S: Ditto.
25
7f9b2034
DE
26 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
27
4e969b4f
AB
282012-07-30 Andrew Burgess <aburgess@broadcom.com>
29
30 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
31 change its format immediately after reloading the binary.
32
e7de8362
JK
332012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
34
35 Fix testsuite regression after --use-deprecated-index-sections removal.
36 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
37 string.
38 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
39
7255706c
YQ
402012-07-27 Yao Qi <yao@codesourcery.com>
41
42 KFAIL for PR remote/14161.
43 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
44 Cleanup socket files.
45 (strace_info_marker): Detach inferior.
46
f2e8016f
TT
472012-07-26 Tom Tromey <tromey@redhat.com>
48
49 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
50
f66713d2
JK
512012-07-26 Markus Metzger <markus.t.metzger@intel.com>
52
53 * gdb.python/py-inferior.c (thread): New function.
54 (check_threads): New function.
55 (test_threads): New function.
56 * gdb.python/py-inferior.exp: Added test.
57 Replaced runto with continue to breakpoint.
58
8223e12c
TT
592012-07-26 Tom Tromey <tromey@redhat.com>
60
61 * lib/ada.exp (standard_ada_testfile): New proc.
62 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
63 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
64 * gdb.ada/array_return.exp: Use standard_ada_testfile.
65 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
66 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
67 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
68 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
69 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
70 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
71 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
72 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
73 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
74 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
75 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
76 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
77 * gdb.ada/char_param.exp: Use standard_ada_testfile.
78 * gdb.ada/complete.exp: Use standard_ada_testfile.
79 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
80 standard_output_file.
81 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
82 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
83 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
84 standard_output_file.
85 * gdb.ada/exprs.exp: Use standard_ada_testfile.
86 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
87 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
88 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
89 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
90 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
91 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
92 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
93 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
94 * gdb.ada/homonym.exp: Use standard_ada_testfile.
95 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
96 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
97 * gdb.ada/interface.exp: Use standard_ada_testfile.
98 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
99 standard_output_file
100 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
101 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
102 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
103 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
104 * gdb.ada/nested.exp: Use standard_ada_testfile.
105 * gdb.ada/null_array.exp: Use standard_ada_testfile.
106 * gdb.ada/null_record.exp: Use standard_ada_testfile.
107 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
108 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
109 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
110 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
111 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
112 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
113 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
114 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
115 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
116 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
117 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
118 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
119 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
120 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
121 * gdb.ada/start.exp: Use standard_ada_testfile.
122 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
123 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
124 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
125 * gdb.ada/tagged.exp: Use standard_ada_testfile.
126 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
127 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
128 * gdb.ada/tasks.exp: Use standard_ada_testfile.
129 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
130 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
131 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
132 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
133 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
134 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
135 * gdb.ada/widewide.exp: Use standard_ada_testfile.
136
bbec57e4
JK
1372012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
138
139 Fix testsuite regression after --use-deprecated-index-sections removal.
140 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
141
9cc8e32c
JK
1422012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
143
144 Fix compatibility with Tcl before 7.5.
145 * lib/future.exp (lreverse): New function if it does not exist.
146
ea5ca7b5
MK
1472012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
148
149 * gdb.mi/mi-pending.c: New method to set a second pending
150 breakpoint.
151 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
152 condition.
153
64776a0b
PA
1542012-07-20 Pedro Alves <palves@redhat.com>
155
156 PR threads/11692
157 PR gdb/12203
158
159 * gdb.threads/create-fail.c: New file.
160 * gdb.threads/create-fail.exp: New file.
161
13e4e967
PA
1622012-07-19 Pedro Alves <palves@redhat.com>
163
164 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
165 * config/vx.exp (gdb_start): Likewise.
166 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
167 * gdb.base/setvar.exp (test_set): Likewise.
168 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
169 * gdb.reverse/sigall-precsave.exp: Likewise.
170 * gdb.reverse/sigall-reverse.exp: Likewise.
171
b7aefa4d
PA
1722012-07-19 Pedro Alves <palves@redhat.com>
173
174 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
175 handler before recording.
176
608b4967
TT
1772012-07-19 Tom Tromey <tromey@redhat.com>
178
179 * gdb.cp/casts.exp: Add tests for typeof and decltype.
180 * gdb.cp/casts.cc (decltype): New function.
181 (main): Use it.
182
b1e0c0fa
PA
1832012-07-19 Pedro Alves <palves@redhat.com>
184
185 * gdb.base/sigall.exp (signals): New list.
186 <top level>: Loop over signals in the $signals list instead of
187 calling a test function once per signal.
188 * gdb.reverse/sigall-precsave.exp (signals): New list.
189 <top level>: Loop over signals in the $signals list instead of
190 calling a test function once per signal.
191 * gdb.reverse/sigall-reverse.exp (signals): New list.
192 <top level>: Loop over signals in the $signals list instead of
193 calling a test function once per signal.
194
6ace3df1
YQ
1952012-07-19 Yao Qi <yao@codesourcery.com>
196
197 * gdb.base/setshow.exp: Test 'set args ~'.
198
263a0f8c
JK
1992012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
200
201 * gdb.base/store.exp (check_set): Import gdb_prompt.
202 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
203 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
204
8f043999
JK
2052012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
206
207 PR 11914
208 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
209 (main): Call eval_sub.
210 * gdb.python/py-prettyprint.exp:
211 (python execfile ('py-prettyprint.py')): Move it earlier.
212 New breakpoint for eval-break.
213 (continue to breakpoint: eval-break, info locals): New test.
214 (python execfile ('py-prettyprint.py')): Move it from here.
215 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
216 (register_pretty_printers): Register pp_eval_type.
217
725c7b66
JK
2182012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
219
220 Fix a testcase regression by me.
221 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
222 DW_FORM_data4.
223
4359dff1
JK
2242012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
225 Doug Evans <dje@google.com>
226
227 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
228 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
229
61e44cfa
JK
2302012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 Fix gdbserver run regression.
233 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
234
93c0ef37
TT
2352012-07-12 Tom Tromey <tromey@redhat.com>
236
237 * lib/gdb.exp (standard_testfile): Don't declare objdir.
238 (clean_restart): Likewise.
239 (core_find): Use standard_output_file.
240
76027ef5
TT
2412012-07-12 Tom Tromey <tromey@redhat.com>
242
243 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
244 * gdb.dwarf2/dw2-anonymous-func.exp: Use
245 prepare_for_testing_full.
246 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
247 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
248 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
249 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
250 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
251 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
252 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
253 prepare_for_testing_full.
254 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
255 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
256 prepare_for_testing_full.
257 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
258 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
259 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
260
85b4440a
TT
2612012-07-12 Tom Tromey <tromey@redhat.com>
262
263 * lib/gdb.exp (build_executable_from_specs): New proc, from
264 build_executable.
265 (build_executable): Use it.
266 (prepare_for_testing_full): New proc.
267
55baab26
TT
2682012-07-11 Tom Tromey <tromey@redhat.com>
269
270 * gdb.reverse/break-precsave.exp: Use standard_output_file.
271 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
272 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
273 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
274 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
275 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
276 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
277 * gdb.reverse/step-precsave.exp: Use standard_output_file.
278 * gdb.reverse/until-precsave.exp: Use standard_output_file.
279 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
280
298a9cf0
TT
2812012-07-10 Tom Tromey <tromey@redhat.com>
282
283 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
284 standard_output_file.
285 * gdb.mi/gdb2549.exp: Use standard_testfile.
286 * gdb.mi/gdb669.exp: Use standard_testfile.
287 * gdb.mi/gdb701.exp: Use standard_testfile.
288 * gdb.mi/gdb792.exp: Use standard_testfile.
289 * gdb.mi/mi-async.exp: Use standard_testfile.
290 * gdb.mi/mi-basics.exp: Use standard_testfile.
291 * gdb.mi/mi-break.exp: Use standard_testfile.
292 * gdb.mi/mi-cli.exp: Use standard_testfile.
293 * gdb.mi/mi-console.exp: Use standard_testfile.
294 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
295 * gdb.mi/mi-eval.exp: Use standard_testfile.
296 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
297 * gdb.mi/mi-file.exp: Use standard_testfile.
298 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
299 * gdb.mi/mi-logging.exp: Use standard_testfile.
300 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
301 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
302 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
303 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
304 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
305 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
306 * gdb.mi/mi-pending.exp: Use standard_testfile,
307 standard_output_file.
308 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
309 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
310 * gdb.mi/mi-regs.exp: Use standard_testfile.
311 * gdb.mi/mi-return.exp: Use standard_testfile.
312 * gdb.mi/mi-reverse.exp: Use standard_testfile.
313 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
314 * gdb.mi/mi-solib.exp: Use standard_testfile,
315 standard_output_file.
316 * gdb.mi/mi-stack.exp: Use standard_testfile.
317 * gdb.mi/mi-stepi.exp: Use standard_testfile.
318 * gdb.mi/mi-stepn.exp: Use standard_testfile.
319 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
320 * gdb.mi/mi-until.exp: Use standard_testfile.
321 * gdb.mi/mi-var-block.exp: Use standard_testfile.
322 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
323 * gdb.mi/mi-var-child.exp: Use standard_testfile.
324 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
325 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
326 * gdb.mi/mi-var-display.exp: Use standard_testfile.
327 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
328 standard_output_file.
329 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
330 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
331 * gdb.mi/mi-watch.exp: Use standard_testfile.
332 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
333 * gdb.mi/mi2-basics.exp: Use standard_testfile.
334 * gdb.mi/mi2-break.exp: Use standard_testfile.
335 * gdb.mi/mi2-cli.exp: Use standard_testfile.
336 * gdb.mi/mi2-console.exp: Use standard_testfile.
337 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
338 * gdb.mi/mi2-eval.exp: Use standard_testfile.
339 * gdb.mi/mi2-file.exp: Use standard_testfile.
340 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
341 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
342 * gdb.mi/mi2-regs.exp: Use standard_testfile.
343 * gdb.mi/mi2-return.exp: Use standard_testfile.
344 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
345 * gdb.mi/mi2-stack.exp: Use standard_testfile.
346 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
347 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
348 * gdb.mi/mi2-until.exp: Use standard_testfile.
349 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
350 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
351 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
352 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
353 * gdb.mi/mi2-watch.exp: Use standard_testfile.
354
f5f3a911
TT
3552012-07-10 Tom Tromey <tromey@redhat.com>
356
357 * gdb.cp/abstract-origin.exp: Use standard_testfile.
358 * gdb.cp/ambiguous.exp: Use standard_testfile,
359 prepare_for_testing.
360 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
361 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
362 * gdb.cp/anon-ns.exp: Use standard_testfile.
363 * gdb.cp/anon-struct.exp: Use standard_testfile.
364 * gdb.cp/anon-union.exp: Use standard_testfile,
365 prepare_for_testing.
366 * gdb.cp/arg-reference.exp: Use standard_testfile,
367 prepare_for_testing.
368 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
369 * gdb.cp/breakpoint.exp: Use standard_testfile,
370 prepare_for_testing.
371 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
372 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
373 standard_output_file.
374 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
375 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
376 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
377 (test_static_members): Update.
378 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
379 * gdb.cp/converts.exp: Use standard_testfile.
380 * gdb.cp/cp-relocate.exp: Use standard_testfile.
381 * gdb.cp/cpcompletion.exp: Use standard_testfile,
382 prepare_for_testing.
383 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
384 * gdb.cp/cplabel.exp: Use standard_testfile.
385 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
386 prepare_for_testing.
387 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
388 * gdb.cp/derivation.exp: Use standard_testfile,
389 prepare_for_testing.
390 * gdb.cp/destrprint.exp: Use standard_testfile.
391 * gdb.cp/dispcxx.exp: Use standard_testfile.
392 * gdb.cp/exception.exp: Use standard_testfile,
393 prepare_for_testing.
394 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
395 * gdb.cp/extern-c.exp: Use standard_testfile,
396 prepare_for_testing.
397 * gdb.cp/formatted-ref.exp: Use standard_testfile,
398 prepare_for_testing.
399 * gdb.cp/fpointer.exp: Use standard_testfile.
400 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
401 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
402 standard_output_file.
403 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
404 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
405 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
406 standard_output_file.
407 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
408 (do_tests): Update.
409 * gdb.cp/koenig.exp: Use standard_testfile.
410 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
411 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
412 * gdb.cp/m-static.exp: Use standard_testfile,
413 prepare_for_testing.
414 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
415 * gdb.cp/mb-inline.exp: Use standard_testfile,
416 prepare_for_testing.
417 * gdb.cp/mb-templates.exp: Use standard_testfile,
418 prepare_for_testing.
419 * gdb.cp/member-ptr.exp: Use standard_testfile,
420 prepare_for_testing.
421 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
422 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
423 * gdb.cp/method2.exp: Use standard_testfile.
424 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
425 standard_output_file.
426 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
427 (do_tests): Update.
428 * gdb.cp/namespace-enum.exp: Use standard_testfile,
429 prepare_for_testing.
430 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
431 prepare_for_testing.
432 * gdb.cp/namespace.exp: Use standard_testfile,
433 prepare_for_testing.
434 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
435 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
436 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
437 * gdb.cp/nsimport.exp: Use standard_testfile,
438 prepare_for_testing.
439 * gdb.cp/nsnested.exp: Use standard_testfile.
440 * gdb.cp/nsnoimports.exp: Use standard_testfile.
441 * gdb.cp/nsrecurs.exp: Use standard_testfile,
442 prepare_for_testing.
443 * gdb.cp/nsstress.exp: Use standard_testfile,
444 prepare_for_testing.
445 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
446 * gdb.cp/operator.exp: Use standard_testfile.
447 * gdb.cp/oranking.exp: Use standard_testfile.
448 * gdb.cp/overload-const.exp: Use standard_testfile.
449 * gdb.cp/overload.exp: Use standard_testfile,
450 prepare_for_testing.
451 * gdb.cp/ovldbreak.exp: Use standard_testfile.
452 * gdb.cp/ovsrch.exp: Use standard_testfile.
453 * gdb.cp/paren-type.exp: Use standard_testfile.
454 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
455 prepare_for_testing.
456 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
457 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
458 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
459 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
460 * gdb.cp/pr10728.exp: Use standard_testfile,
461 standard_output_file.
462 * gdb.cp/pr12028.exp: Use standard_testfile.
463 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
464 * gdb.cp/pr9167.exp: Use standard_testfile.
465 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
466 * gdb.cp/printmethod.exp: Use standard_testfile,
467 prepare_for_testing.
468 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
469 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
470 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
471 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
472 standard_output_file.
473 * gdb.cp/readnow-language.exp: Use standard_testfile.
474 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
475 (gdb_start_again): Use clean_restart.
476 * gdb.cp/ref-types.exp: Use standard_testfile,
477 prepare_for_testing.
478 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
479 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
480 * gdb.cp/smartp.exp: Use standard_testfile.
481 * gdb.cp/static-method.exp: Use standard_testfile.
482 * gdb.cp/static-print-quit.exp: Use standard_testfile.
483 * gdb.cp/temargs.exp: Use standard_testfile.
484 * gdb.cp/templates.exp: Use standard_testfile,
485 prepare_for_testing.
486 (do_tests): Update.
487 * gdb.cp/try_catch.exp: Use standard_testfile,
488 prepare_for_testing.
489 * gdb.cp/typedef-operator.exp: Use standard_testfile.
490 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
491 * gdb.cp/virtbase.exp: Use standard_testfile,
492 prepare_for_testing.
493 * gdb.cp/virtfunc.exp: Use standard_testfile,
494 prepare_for_testing.
495 (do_tests): Update.
496 * gdb.cp/virtfunc2.exp: Use standard_testfile,
497 prepare_for_testing.
498
686f09d0
TT
4992012-07-10 Tom Tromey <tromey@redhat.com>
500
501 * lib/gdb.exp (standard_testfile): Unset output variables from
502 earlier invocations.
503
9357e021
YQ
5042012-07-10 Yao Qi <yao@codesourcery.com>
505
506 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
507 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
508 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
509 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
510 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
511 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
512 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
513 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
514 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
515 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
516 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
517 * gdb.mi/mi-var-display.exp: Likewise.
518 * gdb.mi/mi-var-invalidate.exp: Likewise.
519 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
520 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
521 * gdb.mi/mi2-console.exp: Likewise.
522 * gdb.mi/mi2-disassemble.exp: Likewise.
523 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
524 * gdb.mi/mi2-read-memory.exp: Likewise.
525 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
526 * gdb.mi/mi2-simplerun.exp: Likewise.
527 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
528 * gdb.mi/mi2-syn-frame.exp: Likewise.
529 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
530 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
531 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
532
e314d629
TT
5332012-07-09 Tom Tromey <tromey@redhat.com>
534
535 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
536 * gdb.base/callfuncs.exp: Add cast-based test.
537 * gdb.base/callfuncs.c (voidfunc): New function.
538
06928b3f
DE
5392012-07-08 Doug Evans <dje@google.com>
540
541 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
542
32f11bad
JK
5432012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
544
545 Fix XFAIL compatibility with old i386 systems.
546 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
547 Check also 'Cannot insert breakpoint 0'.
548
76b83c51
JK
5492012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
550
551 PR 14321
552 * gdb.base/find.exp
553 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
554
a6fb9c08
TT
5552012-07-06 Tom Tromey <tromey@redhat.com>
556
557 * gdb.base/whatis.exp: Add test.
558
71918a86
TT
5592012-07-06 Tom Tromey <tromey@redhat.com>
560
561 * gdb.base/whatis.exp: Add regression test.
562
fcde5961
TT
5632012-07-06 Tom Tromey <tromey@redhat.com>
564
565 * gdb.base/whatis.exp: Add tests.
566
f9cf0f4a
JK
5672012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
568
569 PR 12649
570 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
571 gdb_test_multiple $gdb_prompt terminator.
572
979ade8b
PA
5732012-07-04 Pedro Alves <palves@redhat.com>
574
575 * gdb.mi/mi-reverse.exp: Use supports_reverse and
576 supports_process_record.
577
8a980b44
PA
5782012-07-04 Pedro Alves <palves@redhat.com>
579
580 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
581 endings.
582 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
583
855ba978
SS
5842012-07-03 Stan Shebs <stan@codesourcery.com>
585
586 * gdb.base/info-os.c (main): Retry resource acquisition until an
587 available one is found.
588 * gdb.base/info-os.exp: Collect resource keys from the program
589 and use them in matching.
590
fcb44371
JK
5912012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
592
593 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
594 Wrap the test into loop for corefile and core0file.
595
08a67be6
JK
5962012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
597
598 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
599 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
600 .note.GNU-stack.
601
0f3c2347
JK
602 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
603
ff4a4500
SDJ
6042012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
605
606 * gdb.base/help.exp (help b, help br, help bre, help brea, help
607 break): Include help message for the new `-probe' and `-probe-stap'
608 options.
609
d3ce09f5
SS
6102012-07-02 Stan Shebs <stan@codesourcery.com>
611
612 * gdb.base/dprintf.exp: Add agent style tests.
613
a1624241
JK
6142012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
615
616 * gdb.base/stale-infcall.c (infcall): New label test-next.
617 (main): New labels test-pass and test-fail.
618 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
619 $test_fail_bpnum to test-fail.
620 (test system longjmp tracking support): New test.
621 Delete $test_fail_bpnum.
622 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
623 breakpoint.
624
42e7ad6c
DE
6252012-06-30 Doug Evans <dje@google.com>
626
627 * gdb.dwarf2/fission-reread.S: New file.
628 * gdb.dwarf2/fission-reread.exp: New file.
629
37ce89eb
SS
6302012-06-28 Stan Shebs <stan@codesourcery.com>
631
632 * gdb.mi/mi-logging.exp: New file.
633
e5ef252a
PA
6342012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
635 Pedro Alves <palves@redhat.com>
636
637 * gdb.threads/siginfo-threads.exp: New file.
638 * gdb.threads/siginfo-threads.c: New file.
639 * gdb.threads/sigstep-threads.exp: New file.
640 * gdb.threads/sigstep-threads.c: New file.
641
22f1fbae
TT
6422012-06-28 Tom Tromey <tromey@redhat.com>
643
644 * gdb.go/package.exp: Partially revert earlier patch; use
645 gdb_compile again. Use standard_output_file.
646
2e3cf129
DE
6472012-06-27 Doug Evans <dje@google.com>
648
649 * gdb.dwarf2/fission-base.c: New file.
650 * gdb.dwarf2/fission-base.S: New file.
651 * gdb.dwarf2/fission-base.exp: New file.
652
785fd303
JK
6532012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
654
655 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
656
1bb9788d
TT
6572012-06-27 Tom Tromey <tromey@redhat.com>
658
659 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
660 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
661
c83ee902
TT
6622012-06-27 Tom Tromey <tromey@redhat.com>
663
664 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
665 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
666 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
667 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
668 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
669 prepare_for_testing.
670 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
671 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
672 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
673 standard_testfile.
674 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
675 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
676 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
677 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
678 prepare_for_testing.
679 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
680 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
681 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
682 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
683 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
684 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
685 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
686 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
687 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
688 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
689 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
690 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
691 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
692 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
693 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
694 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
695 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
696 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
697 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
698 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
699 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
700 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
701 standard_output_file.
702 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
703 standard_output_file.
704 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
705 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
706 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
707 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
708 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
709 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
710 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
711 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
712 * gdb.dwarf2/implptr.exp: Use standard_testfile.
713 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
714 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
715 * gdb.dwarf2/pieces.exp: Use standard_testfile.
716 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
717 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
718 * gdb.dwarf2/valop.exp: Use standard_testfile,
719 prepare_for_testing.
720
5204774b
TT
7212012-06-27 Tom Tromey <tromey@redhat.com>
722
723 * gdb.python/python.exp: Fix regexps in pagination tests.
724
ee0bf529
SCR
7252012-06-26 Siva Chandra Reddy <sivachandra@google.com>
726
727 * gdb.python/py-symtab.exp: Add tests to test the new attribute
728 'last' of gdb.Symtab_and_line.
729 * gdb.python/py-symbol.c: Move break point comment to enable
730 testing of gdb.Symtab_and_line.last.
731
14fcc022
TT
7322012-06-26 Tom Tromey <tromey@redhat.com>
733
734 * gdb.threads/step.c: Remove.
735 * gdb.threads/step.exp: Remove.
736 * gdb.threads/step2.exp: Remove.
737
0efbbabc
TT
7382012-06-26 Tom Tromey <tromey@redhat.com>
739
740 * gdb.threads/watchpoint-fork.exp (test): Use
741 standard_output_file. Don't declare objdir.
742 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
743 standard_output_file.
744 * gdb.threads/attach-stopped.exp: Use standard_testfile.
745 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
746 clean_restart. Remove incdir.
747 * gdb.threads/corethreads.exp: Use standard_testfile.
748 * gdb.threads/execl.exp: Use standard_testfile,
749 standard_output_file, clean_restart.
750 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
751 clean_restart.
752 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
753 clean_restart.
754 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
755 incdir.
756 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
757 clean_restart. Remove incdir.
758 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
759 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
760 clean_restart. Remove incdir.
761 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
762 Remove incdir.
763 * gdb.threads/leader-exit.exp: Use standard_testfile.
764 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
765 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
766 clean_restart.
767 * gdb.threads/manythreads.exp: Use standard_testfile,
768 clean_restart. Remove incdir.
769 * gdb.threads/multi-create.exp: Use standard_testfile,
770 clean_restart.
771 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
772 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
773 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
774 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
775 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
776 * gdb.threads/pending-step.exp: Use standard_testfile,
777 clean_restart. Remove incdir.
778 * gdb.threads/print-threads.exp: Use standard_testfile,
779 clean_restart. Remove incdir.
780 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
781 clean_restart. Remove incdir.
782 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
783 Remove incdir.
784 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
785 incdir.
786 * gdb.threads/sigthread.exp: Use standard_testfile,
787 clean_restart.
788 * gdb.threads/staticthreads.exp: Use standard_testfile,
789 clean_restart. Remove incdir.
790 * gdb.threads/switch-threads.exp: Use standard_testfile,
791 clean_restart. Remove incdir.
792 * gdb.threads/thread-execl.exp: Use standard_testfile,
793 clean_restart. Remove incdir.
794 * gdb.threads/thread-find.exp: Use standard_testfile,
795 clean_restart.
796 * gdb.threads/thread-specific.exp: Use standard_testfile,
797 clean_restart. Remove incdir.
798 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
799 clean_restart. Remove incdir.
800 * gdb.threads/thread_check.exp: Use standard_testfile,
801 clean_restart. Remove incdir.
802 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
803 incdir.
804 * gdb.threads/threadapply.exp: Use standard_testfile,
805 clean_restart. Remove incdir.
806 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
807 clean_restart. Remove incdir.
808 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
809 clean_restart.
810 * gdb.threads/tls-shared.exp: Use standard_testfile,
811 clean_restart, standard_output_file.
812 * gdb.threads/tls-var.exp: Use standard_testfile,
813 standard_output_file.
814 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
815 Remove incdir.
816 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
817 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
818 incdir.
819 * gdb.threads/watchthreads2.exp: Use standard_testfile,
820 clean_restart. Remove incdir.
821
497a5eb0
TT
8222012-06-26 Tom Tromey <tromey@redhat.com>
823
824 * gdb.trace/actions.exp: Use standard_testfile.
825 * gdb.trace/ax.exp: Use standard_testfile.
826 * gdb.trace/backtrace.exp: Use standard_testfile.
827 * gdb.trace/change-loc.exp: Use standard_testfile.
828 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
829 * gdb.trace/collection.exp: Use standard_testfile,
830 prepare_for_testing.
831 * gdb.trace/deltrace.exp: Use standard_testfile.
832 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
833 * gdb.trace/ftrace.exp: Use standard_testfile.
834 * gdb.trace/infotrace.exp: Use standard_testfile.
835 * gdb.trace/packetlen.exp: Use standard_testfile.
836 * gdb.trace/passc-dyn.exp: Use standard_testfile.
837 * gdb.trace/passcount.exp: Use standard_testfile.
838 * gdb.trace/pending.exp: Use standard_testfile.
839 * gdb.trace/report.exp: Use standard_testfile.
840 * gdb.trace/save-trace.exp: Use standard_testfile.
841 * gdb.trace/stap-trace.exp: Use standard_testfile.
842 * gdb.trace/status-stop.exp: Use standard_testfile.
843 * gdb.trace/strace.exp: Use standard_testfile.
844 * gdb.trace/tfile.exp: Use standard_testfile.
845 * gdb.trace/tfind.exp: Use standard_testfile.
846 * gdb.trace/trace-break.exp: Use standard_testfile.
847 * gdb.trace/trace-mt.exp: Use standard_testfile.
848 * gdb.trace/tracecmd.exp: Use standard_testfile.
849 * gdb.trace/tspeed.exp: Use standard_testfile.
850 * gdb.trace/tstatus.exp: Use standard_testfile.
851 * gdb.trace/tsv.exp: Use standard_testfile.
852 * gdb.trace/unavailable.exp: Use standard_testfile,
853 prepare_for_testing.
854 * gdb.trace/while-dyn.exp: Use standard_testfile.
855 * gdb.trace/while-stepping.exp: Use standard_testfile.
856
7686c074
TT
8572012-06-26 Tom Tromey <tromey@redhat.com>
858
859 * gdb.reverse/break-precsave.exp: Use standard_testfile.
860 * gdb.reverse/break-reverse.exp: Use standard_testfile.
861 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
862 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
863 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
864 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
865 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
866 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
867 prepare_for_testing.
868 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
869 prepare_for_testing.
870 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
871 prepare_for_testing.
872 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
873 prepare_for_testing.
874 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
875 prepare_for_testing
876 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
877 * gdb.reverse/machinestate.exp: Use standard_testfile.
878 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
879 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
880 build_executable.
881 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
882 build_executable.
883 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
884 standard_output_file.
885 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
886 standard_output_file.
887 * gdb.reverse/step-precsave.exp: Use standard_testfile.
888 * gdb.reverse/step-reverse.exp: Use standard_testfile.
889 * gdb.reverse/until-precsave.exp: Use standard_testfile.
890 * gdb.reverse/until-reverse.exp: Use standard_testfile.
891 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
892 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
893
481fc100
TT
8942012-06-26 Tom Tromey <tromey@redhat.com>
895
896 * gdb.stabs/weird.exp: Remove directory-checking code. Use
897 standard_output_file.
898 * gdb.stabs/exclfwd.exp: Use standard_testfile,
899 prepare_for_testing. Remove directory-checking code.
900
7bb18ae2
TT
9012012-06-25 Tom Tromey <tromey@redhat.com>
902
903 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
904 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
905 build_executable, not prepare_for_testing.
906 * gdb.multi/base.exp: Use standard_output_file. Use
907 build_executable, not prepare_for_testing.
908
cf09b3e4
TT
9092012-06-25 Tom Tromey <tromey@redhat.com>
910
911 * gdb.fortran/subarray.exp: Use standard_testfile,
912 prepare_for_testing.
913 * gdb.fortran/multi-dim.exp: Use standard_testfile.
914 * gdb.fortran/module.exp: Use standard_testfile.
915 * gdb.fortran/logical.exp: Use standard_testfile.
916 * gdb.fortran/library-module.exp: Use standard_testfile,
917 standard_output_file.
918 * gdb.fortran/derived-type.exp: Use standard_testfile,
919 prepare_for_testing.
920 * gdb.fortran/complex.exp: Use standard_testfile,
921 prepare_for_testing.
922 * gdb.fortran/charset.exp: Use standard_testfile.
923 * gdb.fortran/array-element.exp: Use standard_testfile,
924 prepare_for_testing.
925
18b5ff1b
KS
9262012-06-25 Keith Seitz <keiths@redhat.com>
927
928 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
929 Change rbreak-related tests to KFAIL and add bugzilla numbers.
930
17b77626
TT
9312012-06-25 Tom Tromey <tromey@redhat.com>
932
933 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
934 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
935 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
936 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
937
f91e3dc1
TT
9382012-06-25 Tom Tromey <tromey@redhat.com>
939
940 * gdb.linespec/ls-errs.exp: Use standard_testfile.
941 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
942 * gdb.linespec/linespec.exp: Use standard_testfile.
943
a884434d
TT
9442012-06-25 Tom Tromey <tromey@redhat.com>
945
946 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
947 prepare_for_testing.
948
efc9d70a
TT
9492012-06-25 Tom Tromey <tromey@redhat.com>
950
951 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
952 prepare_for_testing.
953 * gdb.opt/inline-break.exp: Use standard_testfile,
954 prepare_for_testing.
955 * gdb.opt/inline-bt.exp: Use standard_testfile,
956 prepare_for_testing.
957 * gdb.opt/inline-cmds.exp: Use standard_testfile,
958 prepare_for_testing.
959 * gdb.opt/inline-locals.exp: Use standard_testfile,
960 prepare_for_testing.
961
e2fc92c6
TT
9622012-06-25 Tom Tromey <tromey@redhat.com>
963
964 * gdb.asm/asm-source.exp: Use standard_output_file,
965 standard_testfile. Construct .o files in proper subdir.
966
b0963d73
TT
9672012-06-25 Tom Tromey <tromey@redhat.com>
968
969 * gdb.server/ext-attach.exp: Use standard_testfile,
970 prepare_for_testing.
971 * gdb.server/ext-run.exp: Use standard_testfile,
972 build_executable.
973 * gdb.server/file-transfer.exp: Use standard_testfile,
974 prepare_for_testing.
975 * gdb.server/server-exec-info.exp: Use standard_testfile.
976 * gdb.server/server-mon.exp: Use standard_testfile,
977 prepare_for_testing.
978 * gdb.server/server-run.exp: Use standard_testfile,
979 build_executable.
980 * gdb.server/solib-list.exp: Use standard_testfile,
981 standard_output_file.
982
8a3e1f8d
TT
9832012-06-25 Tom Tromey <tromey@redhat.com>
984
985 * lib/gdb.exp (standard_output_file): Use "file join".
986 * gdb.go/chan.exp: Use standard_testfile.
987 * gdb.go/handcall.exp: Use standard_testfile.
988 * gdb.go/hello.exp: Use standard_testfile.
989 * gdb.integers/chan.exp: Use standard_testfile.
990 * gdb.go/methods.exp: Use standard_testfile.
991 * gdb.go/package.exp: Use standard_testfile.
992 * gdb.go/strings.exp: Use standard_testfile.
993 * gdb.go/types.exp: Use standard_testfile.
994 * gdb.go/unsafe.exp: Use standard_testfile.
995
944a9061
MGD
9962012-06-25 Greta Yorsh <greta.yorsh@arm.com>
997
998 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
999
1c06bd58
JK
10002012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 Fix regression by the previous commit.
1003 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
1004
b4a58790
TT
10052012-06-22 Tom Tromey <tromey@redhat.com>
1006
1007 * gdb.python/lib-types.exp: Use standard_testfile,
1008 prepare_for_testing.
1009 * gdb.python/py-block.exp: Use standard_testfile.
1010 * gdb.python/py-breakpoint.exp: Use standard_testfile.
1011 * gdb.python/py-events.exp: Use standard_testfile,
1012 standard_output_file.
1013 * gdb.python/py-evsignal.exp: Use standard_testfile.
1014 * gdb.python/py-evethreads.exp: Use standard_testfile.
1015 * gdb.python/py-explore-cc.exp: Use standard_testfile.
1016 * gdb.python/py-explore.exp: Use standard_testfile.
1017 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
1018 standard_output_file.
1019 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
1020 prepare_for_testing.
1021 * gdb.python/py-frame-inline.exp: Use standard_testfile.
1022 * gdb.python/py-frame.exp: Use standard_testfile.
1023 * gdb.python/py-inferior.exp: Use standard_testfile.
1024 * gdb.python/py-infthread.exp: Use standard_testfile.
1025 * gdb.python/py-mi.exp: Use standard_testfile.
1026 * gdb.python/py-objfile-script.exp: Use standard_testfile,
1027 build_executable.
1028 * gdb.python/py-objfile.exp: Use standard_testfile.
1029 * gdb.python/py-pp-maint.exp: Use standard_testfile,
1030 prepare_for_testing.
1031 * gdb.python/py-prettyprint.exp: Use standard_testfile.
1032 * gdb.python/py-progspace.exp: Use standard_testfile,
1033 build_executable.
1034 * gdb.python/py-prompt.exp: Use standard_testfile,
1035 build_executable.
1036 * gdb.python/py-section-script.exp: Use standard_testfile,
1037 build_executable.
1038 * gdb.python/py-shared.exp: Use standard_testfile,
1039 standard_output_file, clean_restart.
1040 * gdb.python/py-symbol.exp: Use standard_output_file,
1041 prepare_for_testing.
1042 * gdb.python/py-symtab.exp: Use standard_output_file,
1043 prepare_for_testing
1044 * gdb.python/py-template.exp: Use standard_testfile.
1045 * gdb.python/py-type.exp: Use standard_testfile.
1046 * gdb.python/py-value-cc.exp: Use standard_testfile.
1047 * gdb.python/py-value.exp: Use standard_testfile.
1048 * gdb.python/python.exp: Use standard_testfile, build_executable.
1049
2c44deac
TT
10502012-06-22 Tom Tromey <tromey@redhat.com>
1051
1052 * gdb.objc/basicclass.exp: Use standard_testfile.
1053 (do_objc_tests): Don't declare objdir.
1054 * gdb.objc/nondebug.exp: Use standard_testfile.
1055 (do_objc_tests): Don't declare objdir.
1056 * gdb.objc/objcdecode.exp: Use standard_testfile.
1057 (do_objc_tests): Don't declare objdir.
1058
c24ccbce
TT
10592012-06-22 Tom Tromey <tromey@redhat.com>
1060
1061 * gdb.java/jmain.exp: Use standard_testfile.
1062 * gdb.java/jmisc.exp: Use standard_testfile.
1063 * gdb.java/jnpe.exp: Use standard_testfile.
1064 * gdb.java/jprint.exp: Use standard_testfile.
1065
0a6d0306
TT
10662012-06-22 Tom Tromey <tromey@redhat.com>
1067
1068 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
1069 (standard_output_file, standard_testfile): New procs.
1070 (build_executable, clean_restart): Use standard_output_file.
1071
6ea815ef
YQ
10722012-06-22 Yao Qi <yao@codesourcery.com>
1073
1074 * boards/native-gdbserver.exp: New proc ${board}_exec.
1075 * boards/native-stdio-gdbserver.exp: Likewise.
1076
4c93b1db
TT
10772012-06-21 Tom Tromey <tromey@redhat.com>
1078
1079 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
1080 (build_executable): Update.
1081 (get_compiler_info): Remove 'binfile' argument.
1082 * gdb.ada/arrayidx.exp: Update.
1083 * gdb.ada/null_array.exp: Update.
1084 * gdb.arch/altivec-abi.exp: Update.
1085 * gdb.arch/altivec-regs.exp: Update.
1086 * gdb.arch/amd64-byte.exp: Update.
1087 * gdb.arch/amd64-dword.exp: Update.
1088 * gdb.arch/amd64-word.exp: Update.
1089 * gdb.arch/i386-avx.exp: Update.
1090 * gdb.arch/i386-byte.exp: Update.
1091 * gdb.arch/i386-sse.exp: Update.
1092 * gdb.arch/i386-word.exp: Update.
1093 * gdb.arch/ppc-dfp.exp: Update.
1094 * gdb.arch/ppc-fp.exp: Update.
1095 * gdb.arch/vsx-regs.exp: Update.
1096 * gdb.base/all-bin.exp: Update.
1097 * gdb.base/annota1.exp: Update.
1098 * gdb.base/async.exp: Update.
1099 * gdb.base/attach.exp: Update.
1100 * gdb.base/break-interp.exp: Update.
1101 * gdb.base/call-ar-st.exp: Update.
1102 * gdb.base/call-rt-st.exp: Update.
1103 * gdb.base/call-sc.exp: Update.
1104 * gdb.base/callfuncs.exp: Update.
1105 * gdb.base/catch-load.exp: Update.
1106 * gdb.base/completion.exp: Update.
1107 * gdb.base/complex.exp: Update.
1108 * gdb.base/condbreak.exp: Update.
1109 * gdb.base/consecutive.exp: Update.
1110 * gdb.base/constvars.exp: Update.
1111 * gdb.base/corefile.exp: Update.
1112 * gdb.base/eval-skip.exp: Update.
1113 * gdb.base/expand-psymtabs.exp: Update.
1114 * gdb.base/exprs.exp: Update.
1115 * gdb.base/fileio.exp: Update.
1116 * gdb.base/fixsection.exp: Update.
1117 * gdb.base/funcargs.exp: Update.
1118 * gdb.base/gdb11530.exp: Update.
1119 * gdb.base/gdb1555.exp: Update.
1120 * gdb.base/gnu-ifunc.exp: Update.
1121 * gdb.base/gnu_vector.exp: Update.
1122 * gdb.base/info-macros.exp: Update.
1123 * gdb.base/jit-simple.exp: Update.
1124 * gdb.base/jit-so.exp: Update.
1125 * gdb.base/jit.exp: Update.
1126 * gdb.base/langs.exp: Update.
1127 * gdb.base/list.exp: Update.
1128 * gdb.base/logical.exp: Update.
1129 * gdb.base/long_long.exp: Update.
1130 * gdb.base/longjmp.exp: Update.
1131 * gdb.base/macscp.exp: Update.
1132 * gdb.base/mips_pro.exp: Update.
1133 * gdb.base/miscexprs.exp: Update.
1134 * gdb.base/morestack.exp: Update.
1135 * gdb.base/nodebug.exp: Update.
1136 * gdb.base/opaque.exp: Update.
1137 * gdb.base/pc-fp.exp: Update.
1138 * gdb.base/pending.exp: Update.
1139 * gdb.base/permissions.exp: Update.
1140 * gdb.base/pointers.exp: Update.
1141 * gdb.base/prelink.exp: Update.
1142 * gdb.base/printcmds.exp: Update.
1143 * gdb.base/psymtab.exp: Update.
1144 * gdb.base/ptype.exp: Update.
1145 * gdb.base/relational.exp: Update.
1146 * gdb.base/scope.exp: Update.
1147 * gdb.base/setvar.exp: Update.
1148 * gdb.base/shlib-call.exp: Update.
1149 * gdb.base/shreloc.exp: Update.
1150 * gdb.base/signals.exp: Update.
1151 * gdb.base/sizeof.exp: Update.
1152 * gdb.base/so-impl-ld.exp: Update.
1153 * gdb.base/so-indr-cl.exp: Update.
1154 * gdb.base/solib-disc.exp: Update.
1155 * gdb.base/solib-display.exp: Update.
1156 * gdb.base/solib-nodir.exp: Update.
1157 * gdb.base/solib-overlap.exp: Update.
1158 * gdb.base/solib-symbol.exp: Update.
1159 * gdb.base/solib-weak.exp: Update.
1160 * gdb.base/solib.exp: Update.
1161 * gdb.base/store.exp: Update.
1162 * gdb.base/structs.exp: Update.
1163 * gdb.base/structs2.exp: Update.
1164 * gdb.base/type-opaque.exp: Update.
1165 * gdb.base/unload.exp: Update.
1166 * gdb.base/varargs.exp: Update.
1167 * gdb.base/volatile.exp: Update.
1168 * gdb.base/watch_thread_num.exp: Update.
1169 * gdb.base/watchpoint-solib.exp: Update.
1170 * gdb.base/watchpoint.exp: Update.
1171 * gdb.base/watchpoints.exp: Update.
1172 * gdb.base/whatis.exp: Update.
1173 * gdb.cell/arch.exp: Update.
1174 * gdb.cell/break.exp: Update.
1175 * gdb.cell/bt.exp: Update.
1176 * gdb.cell/core.exp: Update.
1177 * gdb.cell/data.exp: Update.
1178 * gdb.cell/ea-cache.exp: Update.
1179 * gdb.cell/f-regs.exp: Update.
1180 * gdb.cell/fork.exp: Update.
1181 * gdb.cell/gcore.exp: Update.
1182 * gdb.cell/mem-access.exp: Update.
1183 * gdb.cell/ptype.exp: Update.
1184 * gdb.cell/registers.exp: Update.
1185 * gdb.cell/sizeof.exp: Update.
1186 * gdb.cell/solib-symbol.exp: Update.
1187 * gdb.cell/solib.exp: Update.
1188 * gdb.cp/ambiguous.exp: Update.
1189 * gdb.cp/breakpoint.exp: Update.
1190 * gdb.cp/bs15503.exp: Update.
1191 * gdb.cp/casts.exp: Update.
1192 * gdb.cp/class2.exp: Update.
1193 * gdb.cp/cpexprs.exp: Update.
1194 * gdb.cp/cplusfuncs.exp: Update.
1195 * gdb.cp/ctti.exp: Update.
1196 * gdb.cp/dispcxx.exp: Update.
1197 * gdb.cp/gdb1355.exp: Update.
1198 * gdb.cp/gdb2384.exp: Update.
1199 * gdb.cp/gdb2495.exp: Update.
1200 * gdb.cp/infcall-dlopen.exp: Update.
1201 * gdb.cp/local.exp: Update.
1202 * gdb.cp/m-data.exp: Update.
1203 * gdb.cp/m-static.exp: Update.
1204 * gdb.cp/mb-ctor.exp: Update.
1205 * gdb.cp/mb-inline.exp: Update.
1206 * gdb.cp/mb-templates.exp: Update.
1207 * gdb.cp/member-ptr.exp: Update.
1208 * gdb.cp/method.exp: Update.
1209 * gdb.cp/namespace.exp: Update.
1210 * gdb.cp/nextoverthrow.exp: Update.
1211 * gdb.cp/nsdecl.exp: Update.
1212 * gdb.cp/nsrecurs.exp: Update.
1213 * gdb.cp/nsstress.exp: Update.
1214 * gdb.cp/nsusing.exp: Update.
1215 * gdb.cp/pr-1023.exp: Update.
1216 * gdb.cp/pr-1210.exp: Update.
1217 * gdb.cp/pr-574.exp: Update.
1218 * gdb.cp/pr9631.exp: Update.
1219 * gdb.cp/printmethod.exp: Update.
1220 * gdb.cp/psmang.exp: Update.
1221 * gdb.cp/re-set-overloaded.exp: Update.
1222 * gdb.cp/rtti.exp: Update.
1223 * gdb.cp/shadow.exp: Update.
1224 * gdb.cp/templates.exp: Update.
1225 * gdb.cp/try_catch.exp: Update.
1226 * gdb.dwarf2/dw2-ranges.exp: Update.
1227 * gdb.dwarf2/pr10770.exp: Update.
1228 * gdb.fortran/library-module.exp: Update.
1229 * gdb.hp/gdb.aCC/optimize.exp: Update.
1230 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
1231 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
1232 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
1233 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
1234 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
1235 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
1236 * gdb.hp/gdb.compat/xdb1.exp: Update.
1237 * gdb.hp/gdb.compat/xdb2.exp: Update.
1238 * gdb.hp/gdb.compat/xdb3.exp: Update.
1239 * gdb.hp/gdb.defects/bs14602.exp: Update.
1240 * gdb.hp/gdb.defects/solib-d.exp: Update.
1241 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
1242 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
1243 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
1244 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
1245 * gdb.mi/gdb792.exp: Update.
1246 * gdb.mi/mi-pending.exp: Update.
1247 * gdb.mi/mi-solib.exp: Update.
1248 * gdb.mi/mi-var-cp.exp: Update.
1249 * gdb.opt/clobbered-registers-O2.exp: Update.
1250 * gdb.opt/inline-bt.exp: Update.
1251 * gdb.opt/inline-cmds.exp: Update.
1252 * gdb.opt/inline-locals.exp: Update.
1253 * gdb.python/py-events.exp: Update.
1254 * gdb.python/py-finish-breakpoint.exp: Update.
1255 * gdb.python/py-type.exp: Update.
1256 * gdb.reverse/solib-precsave.exp: Update.
1257 * gdb.reverse/solib-reverse.exp: Update.
1258 * gdb.server/solib-list.exp: Update.
1259 * gdb.stabs/weird.exp: Update.
1260 * gdb.threads/attach-into-signal.exp: Update.
1261 * gdb.threads/attach-stopped.exp: Update.
1262 * gdb.threads/tls-shared.exp: Update.
1263 * gdb.trace/change-loc.exp: Update.
1264 * gdb.trace/strace.exp: Update.
1265
95c391b6
TT
12662012-06-19 Tom Tromey <tromey@redhat.com>
1267
1268 * gdb.base/whatis.exp: Add tests.
1269
e910f0b6
TT
12702012-06-19 Tom Tromey <tromey@redhat.com>
1271
1272 * gdb.cp/m-static.cc (keepalive): New function.
1273 (gnu_obj_1::method): Use it.
1274
422d65e7
DE
12752012-06-18 Doug Evans <dje@google.com>
1276
1277 * gdb.base/info-fun.exp: New file.
1278 * gdb.base/info-fun.c: New file.
1279 * gdb.base/info-fun-solib.c: New file.
1280
e2e4d78b
JK
12812012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1282
1283 Remove stale dummy frames.
1284 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
1285 (maintenance info breakpoints): New tests.
1286 * gdb.base/stale-infcall.c: New file.
1287 * gdb.base/stale-infcall.exp: New file.
1288
1788b2d3
JK
12892012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1290
1291 * gdb.arch/amd64-entry-value-param.S: New file.
1292 * gdb.arch/amd64-entry-value-param.c: New file.
1293 * gdb.arch/amd64-entry-value-param.exp: New file.
1294
663b969e
TT
12952012-06-15 Tom Tromey <tromey@redhat.com>
1296
1297 * gdb.cp/namespace.exp: Add "show lang" test.
1298
8e09ad05
IS
12992012-06-15 Iain Sandoe <iain@codesourcery.com>
1300
1301 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
1302 case. (top level): Use gdb_file_cmd instead of gdb_load.
1303
f85e18ee
JK
13042012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1305
1306 PR tdep/14222
1307 * gdb.arch/i386-sse-stack-align.S: New file.
1308 * gdb.arch/i386-sse-stack-align.c: New file.
1309 * gdb.arch/i386-sse-stack-align.exp: New file.
1310
f3b5e280
KS
13112012-06-13 Keith Seitz <keiths@redhat.com>
1312
1313 PR breakpoints/13798 and mi/11541
1314 * gdb.linespec/ls-errs.exp: Add a few more tests for
1315 filenames with spaces and colons.
1316
50af5481
JK
13172012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1318
1319 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
1320 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
1321 (test_function): Call CV_f.
1322 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
1323 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
1324 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
1325 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
1326 (p CV_f(CV::i)): New tests.
1327
d55637df
TT
13282012-06-13 Tom Tromey <tromey@redhat.com>
1329
1330 * gdb.base/condbreak.exp: Add tests for "condition" completion.
1331
cc80f267
JK
13322012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1333
1334 Fix regression by the "ambiguous linespec" series.
1335 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
1336 tests.
1337
bb2af9cc
JK
13382012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1339
1340 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
1341 missing.
1342
e81a37f7
TT
13432012-06-11 Tom Tromey <tromey@redhat.com>
1344
1345 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
1346 location...
1347 (main): ...here.
1348
8efd7788
YQ
13492012-06-07 Yao Qi <yao@codesourcery.com>
1350
1351 * gdb.trace/strace.exp: Shorten some too-long lines.
1352
359f5fe6
PA
13532012-06-06 Pedro Alves <palves@redhat.com>
1354
1355 * gdb.threads/clone-new-thread-event.c: New file.
1356 * gdb.threads/clone-new-thread-event.exp: New file.
1357
7b2fe205
YQ
13582012-06-06 Yao Qi <yao@codesourcery.com>
1359
1360 * gdb.base/dprintf.c (main): Add extra parameter when calling
1361 printf and fprintf.
1362 (bar): New function. It is a dead function, but to ensure
1363 'malloc' is linked explicitly.
1364
3eca55e8
YQ
13652012-06-06 Yao Qi <yao@codesourcery.com>
1366
1367 * gdb.base/info-proc.exp: Return if target doesn't support
1368 'info proc'.
1369
91cc9324
JK
13702012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1371
1372 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
1373 (run program with breakpoint commands): XFAIl if it is not.
1374
c56e7c43
JB
13752012-06-05 Joel Brobecker <brobecker@adacore.com>
1376
1377 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
1378 and add comment.
1379 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
1380 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
1381 "STOP" marker. Adjust testing strategy to make it work on
1382 all targets.
1383
1384 * gdb.base/print-file-var-main.c (main): Rewrite using local
1385 variables and adjust get_version_2's return value check.
1386 Add small comment.
1387 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
1388 marker. Adjust testing strategy to make it work on all targets.
1389
ccab2054
JB
13902012-06-05 Joel Brobecker <brobecker@adacore.com>
1391
1392 * gdb.ada/bad-task-bp-keyword: New testcase.
1393
d0d86158
JK
13942012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1395
1396 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
1397 Simplify it to ...
1398 (symbol-file ${testfile1}): ... here.
1399 (test eliminated var my_global_symbol)
1400 (test eliminated var my_static_symbol)
1401 (test eliminated var my_global_func, get address of main): Wrap them to
1402 'single psymtabs' and 'single symtabs'
1403 (get address of my_global_symbol, get address of my_static_symbol)
1404 (get address of my_global_func, get address of main): Wrap them to
1405 'order1' and 'order2'.
1406
952cf74c
JK
1407 * gdb.base/code_elim.exp
1408 (add-symbol-file ${testfile1} 0x100000)
1409 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
1410 'order2'.
1411 (order1: add-symbol-file ${testfile1} 0x100000)
1412 (order1: add-symbol-file ${testfile2} 0x200000)
1413 (order2: add-symbol-file ${testfile2} 0x200000)
1414 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
1415 .bss as appropriate.
1416
0c5bf5a9
JK
14172012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1418
1419 * gdb.server/solib-list-lib.c: New file.
1420 * gdb.server/solib-list-main.c: New file.
1421 * gdb.server/solib-list.exp: New file.
1422
4196f325
MR
14232012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
1424
1425 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
1426 for 'set print symbol' change.
1427
bfb05775
JK
14282012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1429
1430 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
1431 .debug_abbrev_seg3.
1432
685b1105
JK
14332012-05-24 John Steele Scott <toojays@toojays.net>
1434
1435 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
1436 * gdb.dwarf2/dw2-icc-opaque.S: New file.
1437 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
1438
f3e0e960
SS
14392012-05-23 Stan Shebs <stan@codesourcery.com>
1440
1441 * gdb.mi/mi-info-os.exp: New file.
1442
11eb1b4d
KS
14432012-05-23 Keith Seitz <keiths@redhat.com>
1444
1445 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
1446 return -1 to suppress the rest of the tests.
1447 (compile_stap_bin): Return boolean success value.
1448
b1af9e97
TT
14492012-05-21 Tom Tromey <tromey@redhat.com>
1450
1451 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
1452 Remove kfails.
1453 (test_print_mi_member_types): Likewise.
1454
248537e3
TT
14552012-05-21 Tom Tromey <tromey@redhat.com>
1456
1457 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
1458 print symbol' change.
1459
d791e155
TJB
14602012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
1461
1462 * gdb.python/py-prompt.exp: Quit if the target is remote.
1463
e77afa2e
JK
14642012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1465
1466 Fix ERROR: internal buffer is full.
1467 * gdb.base/info-os.exp (expect_multiline): New function.
1468 (get process list, get process groups, get threads)
1469 (get file descriptors, get internet-domain sockets)
1470 (get shared-memory regions, get semaphores, get message queues): Use
1471 it for these tests.
1472
9cb709b6
TT
14732012-05-18 Tom Tromey <tromey@redhat.com>
1474
1475 * gdb.mi/mi-var-cmd.exp: Update.
1476 * gdb.objc/basicclass.exp (do_objc_tests): Update.
1477 * gdb.cp/virtbase.exp: Update.
1478 * gdb.cp/classes.exp (test_static_members): Update.
1479 * gdb.cp/casts.exp: Update.
1480 * gdb.base/pointers.exp: Update.
1481 * gdb.base/funcargs.exp (pointer_args): Update.
1482 (structs_by_reference): Update.
1483 * gdb.base/find.exp: Update.
1484 * gdb.base/call-strs.exp: Send "set print symbol off".
1485 * gdb.base/call-ar-st.exp: Update.
1486 * gdb.ada/fun_addr.exp: Update.
1487 * gdb.base/printcmds.exp (test_print_symbol): New proc.
1488 Call it.
1489 (test_print_repeats_10, test_print_strings)
1490 (test_print_char_arrays): Update.
1491
b012acdd
TT
14922012-05-18 Tom Tromey <tromey@redhat.com>
1493
1494 * gdb.base/charset.exp (string_display): Update.
1495
1d51a733
TT
14962012-05-18 Tom Tromey <tromey@redhat.com>
1497
1498 * gdb.mi/mi2-var-display.exp: Update.
1499 * gdb.mi/mi-var-display.exp: Update.
1500 * gdb.mi/mi-var-child.exp: Update.
1501 * gdb.cp/expand-psymtabs-cxx.exp: Update.
1502 * gdb.cp/cp-relocate.exp (get_func_address): Update.
1503
957df313
DE
15042012-05-17 Doug Evans <dje@google.com>
1505
682c7f7b
DE
1506 * info-macros.exp: Pass "debug" to prepare_for_testing.
1507
957df313
DE
1508 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
1509 * gdb.ada/Makefile.in (clean): Ditto.
1510 * gdb.arch/Makefile.in (clean): Ditto.
1511 * gdb.asm/Makefile.in (clean): Ditto.
1512 * gdb.base/Makefile.in (clean): Ditto.
1513 * gdb.cell/Makefile.in (clean): Ditto.
1514 * gdb.cp/Makefile.in (clean): Ditto.
1515 * gdb.disasm/Makefile.in (clean): Ditto.
1516 * gdb.dwarf2/Makefile.in (clean): Ditto.
1517 * gdb.fortran/Makefile.in (clean): Ditto.
1518 * gdb.go/Makefile.in (clean): Ditto.
1519 * gdb.hp/Makefile.in (clean): Ditto.
1520 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
1521 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
1522 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
1523 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
1524 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
1525 * gdb.java/Makefile.in (clean): Ditto.
1526 * gdb.linespec/Makefile.in (clean): Ditto.
1527 * gdb.mi/Makefile.in (clean): Ditto.
1528 * gdb.modula2/Makefile.in (clean): Ditto.
1529 * gdb.multi/Makefile.in (clean): Ditto.
1530 * gdb.objc/Makefile.in (clean): Ditto.
1531 * gdb.opencl/Makefile.in (clean): Ditto.
1532 * gdb.opt/Makefile.in (clean): Ditto.
1533 * gdb.pascal/Makefile.in (clean): Ditto.
1534 * gdb.python/Makefile.in (clean): Ditto.
1535 * gdb.reverse/Makefile.in (clean): Ditto.
1536 * gdb.server/Makefile.in (clean): Ditto.
1537 * gdb.stabs/Makefile.in (clean): Ditto.
1538 * gdb.threads/Makefile.in (clean): Ditto.
1539 * gdb.trace/Makefile.in (clean): Ditto.
1540 * gdb.xml/Makefile.in (clean): Ditto.
1541
abc9d0dc
TT
15422012-05-16 Tom Tromey <tromey@redhat.com>
1543
1544 * gdb.base/macscp1.c (macscp_expr): Add comment.
1545 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
1546
6a3a010b
MR
15472012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1548
1549 * gdb.base/return-nodebug.exp: Also test float and double types.
1550
01429c8e
JK
15512012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1552
1553 PR testsuite/12649
1554 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
1555
54115cd4
JK
1556 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
1557
0c5f383f
SDJ
15582012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
1559
1560 * gdb.base/stap-probe.exp (stap_test): Remove calls to
1561 `rerun_to_main'.
1562 (stap_test_no_debuginfo): Likewise.
1563
e7e0cddf
SS
15642012-05-14 Stan Shebs <stan@codesourcery.com>
1565
1566 * gdb.base/dprintf.c: New file.
1567 * gdb.base/dprintf.exp: New file.
1568
c772f8e7
HZ
15692012-05-14 Hui Zhu <hui_zhu@mentor.com>
1570
1571 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
1572 * gdb.trace/disconnected-tracing.c: New file.
1573 * gdb.trace/disconnected-tracing.exp: New file.
1574
7efc75aa
SCR
15752012-05-13 Siva Chandra Reddy <sivachandra@google.com>
1576
1577 * gdb.python/python.c: Add a new breakpoint comment.
1578 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
1579
85d4a676
SS
15802011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
1581
1582 * gdb.base/info-os.exp: New file.
1583 * gdb.base/info-os.c: New file.
1584
64ea88dc
JB
15852012-05-10 Joel Brobecker <brobecker@adacore.com>
1586
4647ab1b
JB
1587 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
1588 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
1589 New files.
64ea88dc 1590
afba63f1
JB
15912012-05-10 Joel Brobecker <brobecker@adacore.com>
1592
1593 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
1594 gdb.base/ctxobj.exp: New files.
1595
9d198b1e
TT
15962012-05-09 Tom Tromey <tromey@redhat.com>
1597
1598 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
1599
9bfee719
MR
16002012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
1601
1602 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
1603
3a7341d8
MR
16042012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
1605
1606 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
1607 before using it.
1608
52b3699b
TG
16092012-05-04 Tristan Gingold <gingold@adacore.com>
1610
1611 * gdb.base/set-noassign.exp: New test.
1612
a20ee7a4
SCR
16132012-05-03 Siva Chandra Reddy <sivachandra@google.com>
1614
1615 * gdb.python/py-symbol.exp: Add tests to test the new methods
1616 gdb.Symtab.global_block() and gdb.Symtab.static_block().
1617 * gdb.python/py-symbol.c: Add new struct to help test
1618 gdb.Symtab.static_block().
1619
bf2f0858
DE
16202012-05-03 Doug Evans <dje@google.com>
1621
1622 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
1623 commented out.
1624
2d4e0376
YQ
16252012-05-03 Yao Qi <yao@codesourcery.com>
1626
1627 * gdb.base/catch-syscall.exp: Skip it before compilation if target
1628 doesn't support.
1629 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
1630 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
1631
6d0bb9f3
YQ
16322012-05-03 Yao Qi <yao@codesourcery.com>
1633
1634 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
1635
fd820528
DE
16362012-04-30 Doug Evans <dje@google.com>
1637
1638 PR testsuite/13961
1639 * gdb.dwarf2/pr13961.S: New file.
1640 * gdb.dwarf2/pr13961.exp: New file.
1641
b9e219b9
YQ
16422012-04-29 Yao Qi <yao@codesourcery.com>
1643
1644 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
1645
3019eac3
DE
16462012-04-28 Doug Evans <dje@google.com>
1647
1648 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
1649 .Ltype_int_in_cu2. Use name "int2" instead of "int".
1650 All uses updated.
1651 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
1652 "ptype func_cu1" to expand cu2 before cu1.
1653
62e5f89c
SDJ
16542012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
1655 Tom Tromey <tromey@redhat.com>
1656
1657 * gdb.base/default.exp: Add `$_probe_arg*' convenience
1658 variables.
1659 * gdb.base/stap-probe.c: New file.
1660 * gdb.base/stap-probe.exp: New file.
1661 * gdb.trace/stap-trace.c: New file.
1662 * gdb.trace/stap-trace.exp: New file.
1663 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
1664 libgcc's unwinder.
1665
14132e89
MR
16662012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
1667
1668 * gdb.arch/mips16-thunks-inmain.c: New file.
1669 * gdb.arch/mips16-thunks-main.c: New file.
1670 * gdb.arch/mips16-thunks-sin.c: New file.
1671 * gdb.arch/mips16-thunks-sinfrob.c: New file.
1672 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
1673 * gdb.arch/mips16-thunks-sinmain.c: New file.
1674 * gdb.arch/mips16-thunks-sinmips16.c: New file.
1675 * gdb.arch/mips16-thunks.exp: New file.
1676
a766d390
DE
16772012-04-25 Doug Evans <dje@google.com>
1678
1679 * configure.ac: Create gdb.go/Makefile.
1680 * configure: Regenerate.
1681 * gdb.base/default.exp: Add "go" to "set language" testing.
1682 * gdb.go/Makefile.in: New file.
1683 * gdb.go/basic-types.exp: New file.
1684 * gdb.go/chan.exp: New file.
1685 * gdb.go/chan.go: New file.
1686 * gdb.go/handcall.exp: New file.
1687 * gdb.go/handcall.go: New file.
1688 * gdb.go/hello.exp: New file.
1689 * gdb.go/hello.go: New file.
1690 * gdb.go/integers.exp: New file.
1691 * gdb.go/integers.go: New file.
1692 * gdb.go/methods.exp: New file.
1693 * gdb.go/methods.go: New file.
1694 * gdb.go/package.exp: New file.
1695 * gdb.go/package1.go: New file.
1696 * gdb.go/package2.go: New file.
1697 * gdb.go/print.exp: New file.
1698 * gdb.go/strings.exp: New file.
1699 * gdb.go/strings.go: New file.
1700 * gdb.go/types.exp: New file.
1701 * gdb.go/types.go: New file.
1702 * gdb.go/unsafe.exp: New file.
1703 * gdb.go/unsafe.go: New file.
1704 * lib/future.exp: Add Go support.
1705 (gdb_find_go, gdb_find_go_linker): New procs.
1706 (gdb_default_target_compile): Add Go support.
1707 * lib/gdb.exp (skip_go_tests): New proc.
1708 * lib/go.exp: New file.
1709
e65f9ffb
TT
17102012-04-25 Tom Tromey <tromey@redhat.com>
1711
1712 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
1713
14e75d8e
JK
17142012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1715 Jan Kratochvil <jan.kratochvil@redhat.com>
1716
1717 PR symtab/7259:
1718 * gdb.base/enumval.c: New test case.
1719 * gdb.base/enumval.exp: New test case.
1720 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
1721 field.bitpos.
1722
f3525b70
PA
17232012-04-17 Pedro Alves <palves@redhat.com>
1724
1725 * Makefile.in (site.exp): Make site.exp source
1726 $srcdir/lib/append_gdb_boards_dir.exp.
1727 * lib/append_gdb_boards_dir.exp: New file.
1728
bccbefd2
JK
17292012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1730
1731 New option "set auto-load safe-path".
1732 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
1733 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
1734
bf88dd68
JK
17352012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1736
1737 auto-load: Implementation.
1738 * gdb.base/help.exp (test set height): Increase the height.
1739 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
1740 to ...
1741 (info auto-load python-scripts): ... here.
1742 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
1743 to ...
1744 (info auto-load python-scripts *): ... here.
1745
c0d4d1c0
YQ
17462012-04-16 Yao Qi <yao@codesourcery.com>
1747
1748 * lib/trace-support.exp (get_in_proc_agent): New.
1749 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
1750 of in process trace agent.
1751 * gdb.trace/ftrace.exp: Likewise.
1752 * gdb.trace/pending.exp: Likewise.
1753 * gdb.trace/trace-break.exp: Likewise.
1754 * gdb.trace/trace-mt.exp
1755 * gdb.trace/tspeed.exp: Likewise.
1756 * gdb.trace/tstatus.exp
1757 * gdb.trace/strace.exp: Likewise.
1758
cbf68a60
TS
17592012-04-16 Thomas Schwinge <thomas@codesourcery.com>
1760
dd6d3b70
TS
1761 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
1762 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
1763
cbf68a60
TS
1764 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
1765
8264ba82
AG
17662012-04-14 Anton Gorenkov <xgsa@yandex.ru>
1767
1768 PR mi/13393
1769 * gdb.mi/mi-var-rtti.cc: New file.
1770 * gdb.mi/mi-var-rtti.exp: New file.
1771 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
1772 function.
1773 (mi_varobj_update_with_type_change): updated to avoid code duplication.
1774
de0919f8 17752012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
1776
1777 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
1778 EXECUTABLES.
1779 * gdb.python/py-explore.c: C program used for testing the new
1780 'explore' command on C constructs.
1781 * gdb.python/py-explore.cc: C++ program used for testing the new
1782 'explore' command on C++ constructs.
1783 * gdb-python/py-explore.exp: Tests for the new 'explore'
1784 command on C constructs.
1785 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
1786 command on C++ constructs.
1787
a82da7dd
MK
17882012-04-07 Mark Kettenis <kettenis@gnu.org>
1789
1790 * gdb.base/funcargs.exp (complex_args): Fix typo.
1791
e127cba8
JK
17922012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1793
1794 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
1795 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
1796
40e084e1
KS
17972012-04-05 Keith Seitz <keiths@redhat.com>
1798
1799 * gdb.base/advance.exp: Update error message for
1800 "advance malformed" test.
1801 * gdb.base/break.exp: Likewise for "breakpoint with
1802 trailing garbage" test.
1803 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
1804 with trailing garbage" test.
1805 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
1806 trailng garbage" test.
1807 * gdb.base/until.exp: Likewise for "malformed until" test.
1808 * gdb.cp/ovldbreak.exp: Create the breakpoint table
1809 for "breakpoint info (after setting on all)".
1810 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
1811 tests.
1812 * gdb.cp/cplabel.cc: New file.
1813 * gdb.cp/cplabel.exp: New test.
1814 * gdb.linespec/ls-errs.c: New file.
1815 * gdb.linespec/ls-errs.exp: New test.
1816
a72c8f6a
JK
18172012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1818
1819 * gdb.trace/unavailable.exp
1820 (collect globals: print object on: print derived_partial)
1821 (collect globals: print object on: print derived_whole)
1822 (collect globals: print object off: print derived_partial)
1823 (collect globals: print object off: print derived_whole): Update
1824 expected output.
1825
f87a3023
KS
18262012-03-30 Keith Seitz <keiths@redhat.com>
1827
1828 * gdb.python: Add test for linespecs with commas.
1829
e2171b3c
KS
18302012-03-28 Keith Seitz <keiths@redhat.com>
1831
1832 * gdb.linespec/ls-dollar.cc: New file.
1833 * gdb.linespec/ls-dollar.exp: New test.
1834
18352012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
1836
1837 * gdb.cp/namespace.exp: Add breakpoint tests for functions
1838 starting with the global namespace.
1839
2f4e0a80
DE
18402012-03-23 Doug Evans <dje@google.com>
1841
1842 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
1843
7b282c5a
SCR
18442012-03-22 Siva Chandra Reddy <sivachandra@google.com>
1845
1846 * gdb.python/py-value.cc: Add test case for testing the
1847 methodology exposing C++ values to Python.
1848 * gdb.python/py-value-cc.exp: Add tests testing the methodology
1849 exposing C++ values to Python.
1850 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
1851
2e98ca53
JK
18522012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1853 Siddhesh Poyarekar <siddhesh@redhat.com>
1854
1855 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
1856 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
1857 (generate native core dump): Make the test unsupported if core cannot
1858 be generated.
1859
8320cc4f
JK
18602012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1861
1862 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
1863 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
1864 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
1865
3a69ffb2
JK
18662012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1867
1868 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
1869
8fabffee
DE
18702012-03-17 Doug Evans <dje@google.com>
1871
1872 * dg-extract-results.sh: Handle KFAILs.
1873
ab260dad
JK
18742012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1875
1876 PR symtab/13777
1877 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
1878
53ba8333
JB
18792012-03-16 Joel Brobecker <brobecker@adacore.com>
1880
1881 * gdb.ada/set_pckd_arr_elt: New testcase.
1882
481860b3
GB
18832012-03-16 Gary Benson <gbenson@redhat.com>
1884
1885 PR breakpoints/10738
1886 * gdb.opt/inline-break.exp: New file.
1887 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
1888 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
1889 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
1890 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
1891 * gdb.base/async-shell.exp: Likewise.
1892 * lib/mi-support.exp (library_loaded_re): Likewise.
1893
410528f0
TT
18942012-03-15 Tom Tromey <tromey@redhat.com>
1895
1896 * gdb.cp/virtfunc2.exp: Update expected output.
1897 * gdb.cp/pr9631.exp: Update expected output.
1898 * gdb.cp/member-ptr.exp: Update expected output.
1899 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
1900 output.
1901 * gdb.cp/casts.exp: Update expected output.
1902
c4aeac85
TT
19032012-03-15 Tom Tromey <tromey@redhat.com>
1904
1905 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
1906 (test_info_vtbl): Likewise.
1907 (do_tests): Call test_info_vtbl.
1908 * gdb.cp/virtfunc.cc (va): New global.
1909
856d06f9
TS
19102012-03-15 Thomas Schwinge <thomas@codesourcery.com>
1911
1912 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
1913 describing DWARF data structures.
1914 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
1915 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
1916 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
1917 * gdb.dwarf2/dw2-entry-value.S: Likewise.
1918 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1919 * gdb.dwarf2/dw2-param-error.S: Likewise.
1920 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
1921 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
1922 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
1923 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
1924 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
1925 * gdb.dwarf2/pr11465.S: Likewise.
1926
e837f12a
JK
19272012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1928
1929 * gdb.mi/mi2-prompt.exp: New file.
1930
ccbb4f28
JB
19312012-03-13 Joel Brobecker <brobecker@adacore.com>
1932
1933 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
1934
32039130
JB
19352012-03-13 Joel Brobecker <brobecker@adacore.com>
1936
1937 * gdb.ada/bp_range_type: New testcase.
1938
16899756
DE
19392012-03-13 Doug Evans <dje@google.com>
1940
1941 * gdb.base/default.exp: Delete tests for symbol-reloading.
1942 * gdb.base/help.exp: Ditto.
1943 * gdb.base/setshow.exp: Ditto.
1944 * gdb.base/gdb_history: Delete references to symbol-reloading.
1945
87b0bb13
JK
19462012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1947
1948 * gdb.base/attach-twice.c: New files.
1949 * gdb.base/attach-twice.exp: New files.
1950
0d7941a9
KS
19512012-03-08 Keith Seitz <keiths@redhat.com>
1952
1953 * lib/gdb.exp (gdb_get_line_number): Throw an
1954 error instead of returning -1.
1955 * gdb.base/break.exp: Remove unused variable
1956 bp_location5.
1957 * gdb.base/hbreak2.exp: Likewise.
1958 * gdb.base/sepdebug.exp: Likewise.
1959
f4647387
YQ
19602012-03-08 Yao Qi <yao@codesourcery.com>
1961 Pedro Alves <palves@redhat.com>
1962
1963 Fix PR server/13392.
1964 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
1965 (tracepoint_change_loc_2): Remove kfail. Return if failed to
1966 download tracepoints.
1967 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
1968 (pending_tracepoint_resolved_during_trace): Likewise.
1969 (pending_tracepoint_installed_during_trace): Likewise.
1970 (pending_tracepoint_with_action_resolved): Likewise.
1971
83c532cb
KS
19722012-03-08 Keith Seitz <keiths@redhat.com>
1973
1974 * gdb.ada/array_bounds.exp: Get breakpoint for line
1975 with "START", not "STOP".
1976 * gdb.python/py-infthread.exp: Do not continue to
1977 line marked "Break here.", which is undefined.
1978
d6b6bbb7
LM
19792012-03-08 Luis Machado <lgustavo@codesourcery.com>
1980
1981 Revert:
1982
1983 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1984
1985 Implement testsuite workaround for PR breakpoints/13781.
1986 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
1987 (set breakpoint condition-evaluation host): New conditional command.
1988
7fe25d9b
JK
19892012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1990
1991 Fix CU relative vs. absolute DIE offsets.
1992 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
1993 one.
1994
51898c15
JK
19952012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1996
1997 Fix false FAIL on distros with relro linkage as default.
1998 * gdb.reverse/solib-precsave.exp: Try to compile the test using
1999 -Wl,-z,norelro first.
2000
8131799e
JB
20012012-03-06 Joel Brobecker <brobecker@adacore.com>
2002
2003 * gdb.ada/bp_on_var: New testcase.
2004
ba241969
JB
20052012-03-06 Joel Brobecker <brobecker@adacore.com>
2006
2007 * gdb.ada/bp_enum_homonym: New testcase.
2008
abe49676
YQ
20092012-03-06 Yao Qi <yao@codesourcery.com>
2010
2011 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
2012 x86_64-*-* and i?86-*-*.
2013 Set up KFAIL for gdb/13808.
2014
d8df103b
TT
20152012-03-05 Tom Tromey <tromey@redhat.com>
2016
2017 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
2018 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
2019
b7b189f3
TT
20202012-03-05 Tom Tromey <tromey@redhat.com>
2021
2022 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
2023
69dc1c4d
YQ
20242012-03-04 Yao Qi <yao@codesourcery.com>
2025
2026 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
2027 messages for KFAIL.
2028
3f20c47f
JK
20292012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2030
2031 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
2032 (print one_two_three, indexes off, print few_reps, indexes off)
2033 (print many_reps, indexes off, print empty, indexes off)
2034 (print one_two_three, print few_reps, print many_reps, print empty):
2035 Call setup_xfail if $gcc_old.
2036
abf1152a
JK
20372012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2038
2039 Implement testsuite workaround for PR breakpoints/13781.
2040 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2041 (set breakpoint condition-evaluation host): New conditional command.
2042
a06715f8
JK
20432012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2044
2045 Code cleanup.
2046 * gdb.cp/mb-templates.exp: New variables executable. Use it for
2047 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
2048 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
2049 number 1 by $bpnum. Four times.
2050
5808517f
YQ
20512012-03-03 Yao Qi <yao@codesourcery.com>
2052
2053 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
2054
dfe2ac14
JK
20552012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 Setup KFAIL for PR server/13796.
2058 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
2059
8bbc467a
JB
20602012-03-02 Joel Brobecker <brobecker@adacore.com>
2061
2062 * gdb.ada/operator_bp: New testcase.
2063
c0eac87f
JB
20642012-03-02 Joel Brobecker <brobecker@adacore.com>
2065
2066 * gdb.ada/info_locals_renaming: New testcase.
2067
4f42c881
TT
20682012-03-02 Tom Tromey <tromey@redhat.com>
2069
2070 * gdb.base/nextoverexit.c: New file.
2071 * gdb.base/nextoverexit.exp: New file.
2072
7380c0c9
EBM
20732012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2074
2075 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
2076 parameter.
2077
1faeff08
MR
20782012-03-01 Maciej W. Rozycki <macro@mips.com>
2079
2080 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
2081 core registers.
2082
320b6f49
MR
20832012-03-01 Maciej W. Rozycki <macro@mips.com>
2084 Maciej W. Rozycki <macro@codesourcery.com>
2085 Daniel Jacobowitz <dan@codesourcery.com>
2086
2087 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
2088
ad5f7d6e
PA
20892012-03-01 Pedro Alves <palves@redhat.com>
2090
2091 PR gdb/13767
2092
2093 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
2094 (gdb_collect_globals_test): Call it.
2095
d3dc44a6
KS
20962012-03-01 Keith Seitz <keiths@redhat.com>
2097
2098 * gdb.cp/method2.exp: Output of overload menu is now
2099 alphabetized. Update tests for "break A::method".
2100 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
2101 of hard-coding them.
2102 Overload menu is alphabetized: rewrite to accommodate.
2103 Unset variables LINE and TYPES which are used in other tests.
2104 Compute the output of "info break".
2105 Update the breakpoint table after all breakpoints are deleted.
2106 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
2107 compute ACTUALS and the method body based on parameters.
2108 Update expected output accordingly.
2109 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
2110 unique comments to allow the use of gdb_get_line_number.
2111
21122012-03-01 Keith Seitz <keiths@redhat.com>
2113
2114 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
2115 some Tcl syntax.
2116 * gdb.cp/ovldbreak.exp: Likewise.
2117
7949c2a0
KS
21182012-03-01 Keith Seitz <keiths@redhat.com>
2119
2120 * gdb.base/help.exp (help show user): Update expected result
2121 for new doc string changes (add "non-python").
2122
7d74f244
DE
21232012-03-01 Scott J. Goldman <scottjg@vmware.com>
2124
2125 * gdb.python/py-cmd.exp: Add test to verify that python commands can
2126 be put in the user-defined category and that the commands appear in
2127 "help user-defined".
2128
1b611343
JB
21292012-02-29 Joel Brobecker <brobecker@adacore.com>
2130
2131 * gdb.ada/tagged_not_init: New testcase.
2132
99b1c762
JB
21332012-02-29 Joel Brobecker <brobecker@adacore.com>
2134
2135 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
2136 * gdb.ada/enum_idx_packed: New testcase.
2137
2d4a02ee
JB
21382012-02-29 Joel Brobecker <brobecker@adacore.com>
2139
2140 * gdb.ada/aliased_array: New testcase.
2141
2e6fda7d
JB
21422012-02-29 Joel Brobecker <brobecker@adacore.com>
2143
2144 * gdb.ada/whatis_array_val: New testcase.
2145
9a7f938f
JK
21462012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2147
2148 Fix disp-step-syscall.exp: fork: single step over fork.
2149 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
2150 whitespaces.
2151 (single step over $syscall): Remove its check.
2152 (single step over $syscall final pc): New check.
2153
8703a944
JK
21542012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2155
2156 Support processors without SSSE3.
2157 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
2158 pabsd into ...
2159 (ssse3_test): ... a new function.
2160 (main): Call ssse3_test.
2161 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
2162 Update expected values everywhere.
2163 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
2164 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
2165 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
2166 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
2167 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
2168 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
2169 Move these tests lower.
2170 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
2171 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
2172 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
2173 New tests.
2174
c03e6ccc
YQ
21752012-02-29 Yao Qi <yao@codesourcery.com>
2176 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.trace/trace-mt.c: New.
2179 * gdb.trace/trace-mt.exp: New.
2180
7964b62a
TS
21812012-02-28 Thomas Schwinge <thomas@codesourcery.com>
2182
2c8910ba
TS
2183 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
2184 numbers instead of hardcoding them.
2185 * gdb.base/annota1.c: Provide suitable markers.
2186 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
2187 numbers instead of hardcoding them.
2188 * gdb.base/annota3.c: Provide suitable markers.
2189
2190 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
2191 * gdb.base/annota3.c: Likewise.
2192 * gdb.base/sigall.c: Likewise.
2193 * gdb.base/signals.c: Likewise.
2194 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 2195
5a41c0b7
MR
21962012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
2197
2198 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
2199 failure return path.
2200
ebbbe5c5
LM
22012012-02-27 Luis Machado <lgustavo@codesourcery.com>
2202
2203 * gdb.base/save-bp.exp: Account for new condition evaluator output.
2204
8d126d8a
LM
22052012-02-24 Luis Machado <lgustavo@codesourcery.com>
2206
2207 * gdb.base/cond-eval-mode.exp: New file.
2208
11337c2f
PA
22092012-02-24 Pedro Alves <palves@redhat.com>
2210
2211 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
2212 (top level): Use with_test_prefix.
2213
13fc3e3c
PA
22142012-02-24 Pedro Alves <palves@redhat.com>
2215
2216 * gdb.threads/attach-into-signal.exp (corefunc): Use
2217 with_test_prefix.
2218
07c1b626
JK
22192012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2220
2221 Fix false FAILs on old CPUs without SSE.
2222 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
2223 Return untested for Illegal instruction.
2224
596ba138
JK
22252012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2226
2227 Fix false FAILs with glibc debug infos installed.
2228 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
2229 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
2230
aeaa2474
SA
22312012-02-22 Sterling Augustine <saugustine@google.com>
2232
2233 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
2234 constant with cast.
2235
aed555c9
PA
22362012-02-21 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
2239
78afebb4
PA
22402012-02-21 Pedro Alves <palves@redhat.com>
2241
2242 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
2243
fdcfef12
PA
22442012-02-21 Pedro Alves <palves@redhat.com>
2245
2246 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
2247 with_test_prefix.
2248
0f4d39d5
PA
22492012-02-21 Pedro Alves <palves@redhat.com>
2250
2251 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
2252 with_test_prefix here.
2253 (top level): Do it here instead. Remove `:' from the
2254 with_test_prefix string.
2255 * gdb.base/attach-pie-misread.exp: Remove the leading space the
2256 the suffix `:' from the with_test_prefix prefix string.
2257 * gdb.base/break-interp.exp: Ditto.
2258 * gdb.base/catch-load.exp: Ditto.
2259 * gdb.base/disp-step-syscall.exp: Ditto.
2260 * gdb.base/jit-so.exp: Ditto.
2261 * gdb.base/jit.exp: Ditto.
2262 * gdb.base/sepdebug.exp: Ditto.
2263 * gdb.base/solib-display.exp: Ditto.
2264 * gdb.base/solib-overlap.exp: Ditto.
2265 * gdb.base/watch-cond-infcall.exp: Ditto.
2266 * gdb.base/watchpoint.exp: Ditto.
2267 * gdb.dwarf2/dw2-noloc.exp: Ditto.
2268 * gdb.mi/mi-watch.exp: Ditto.
2269 * gdb.mi/mi2-watch.exp: Ditto.
2270 * gdb.threads/non-ldr-exc-1.exp: Ditto.
2271 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2272 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2273 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2274 * gdb.threads/watchpoint-fork.exp: Ditto.
2275 * gdb.threads/watchthreads-reorder.exp: Ditto.
2276 * gdb.trace/change-loc.exp: Ditto.
2277 * gdb.trace/pending.exp: Ditto.
2278 * gdb.trace/status-stop.exp: Ditto.
2279 * gdb.trace/strace.exp: Ditto.
2280 * gdb.trace/trace-break.exp: Ditto.
2281 * gdb.trace/unavailable.exp: Ditto.
2282 * lib/gdb.exp (with_test_prefix): Always prefix with space and
2283 suffix with colon. Adjust leading comments.
2284
6a5870ce
PA
22852012-02-21 Pedro Alves <palves@redhat.com>
2286 Tom Tromey <tromey@redhat.com>
2287
2288 * lib/gdb.exp: Add description of test prefixes.
2289 (with_test_prefix): New procedure.
2290 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
2291 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
2292 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
2293 instead of lappend to append to pf_prefix.
2294 * gdb.base/catch-load.exp: Use with_test_prefix.
2295 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
2296 * gdb.base/jit-so.exp: Use with_test_prefix.
2297 * gdb.base/jit.exp: Use with_test_prefix.
2298 * gdb.base/return-nodebug.exp (do_test): Use append instead of
2299 lappend to append to pf_prefix.
2300 * gdb.base/sepdebug.exp: Use with_test_prefix.
2301 * gdb.base/solib-display.exp: Use with_test_prefix.
2302 * gdb.base/solib-overlap.exp: Use with_test_prefix.
2303 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
2304 * gdb.base/watchpoint.exp: Use with_test_prefix.
2305 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
2306 * gdb.mi/mi-watch.exp: Use with_test_prefix.
2307 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
2308 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
2309 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
2310 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
2311 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
2312 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
2313 append instead of lappend to append to pf_prefix.
2314 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
2315 * gdb.trace/change-loc.exp: Use with_test_prefix.
2316 * gdb.trace/pending.exp: Use with_test_prefix.
2317 * gdb.trace/status-stop.exp: Use with_test_prefix.
2318 * gdb.trace/strace.exp: Use with_test_prefix.
2319 * gdb.trace/trace-break.exp: Use with_test_prefix.
2320 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
2321 instead of lappend to append to pf_prefix.
2322
35dc4a6b
JK
23232012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2324
2325 Fix racy FAILs.
2326 * gdb.base/inferior-died.c (main): Add return of 0.
2327 * gdb.base/inferior-died.exp (continue): Fix expectation of
2328 asynchronous events.
2329 (p 1): New test.
2330
c5a006e6
PA
23312012-02-20 Pedro Alves <palves@redhat.com>
2332
2333 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
2334 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
2335 gdb's internal debug output. For the non-threaded case, look for
2336 "Program received signal SIGLARM", for the threaded case, peek at
2337 the thread's siginfo.
2338
cc51a170
PA
23392012-02-20 Pedro Alves <palves@redhat.com>
2340
2341 General cleanup, make output test messages unique, and build
2342 different executable files for the non-threaded and threaded
2343 cases.
2344
2345 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
2346 Delete.
2347 (executable_nothr, executable_thr): New globals.
2348 (top level): Adjust to delete both executables.
2349 (corefunc): New parameter $executable. Set $pf_prefix instead of
2350 hand writing a prefix in tests. Issue a clean_restart and enable
2351 lin-lwp debug output here.
2352 (top level): Adjust. Use build_executable. Don't start gdb here,
2353 and don't enable lin-lwp debug output here.
2354 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
2355
c755f03d
JK
23562012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2357
2358 Fix racy FAILs.
2359 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
2360 "continue" command.
2361
6bec5e0a
JK
23622012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2363
2364 Fix for gdbserver non-extended mode.
2365 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
2366 and gdb_run_cmd.
2367
2e8265fd
TT
23682012-02-17 Tom Tromey <tromey@redhat.com>
2369
2370 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
2371 * gdb.python/py-events.exp: Check 'dir' output.
2372 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
2373
9e507076
YQ
23742012-02-17 Yao Qi <yao@codesourcery.com>
2375
2376 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
2377
32d22ab1
TT
23782012-02-16 Tom Tromey <tromey@redhat.com>
2379
2380 * gdb.base/inferior-died.c: Don't include stdio.h.
2381
9addecb9
TT
23822012-02-16 Tom Tromey <tromey@redhat.com>
2383
2384 * gdb.base/inferior-died.c: New file.
2385 * gdb.base/inferior-died.exp: New file.
2386
4cb6da1c
AR
23872012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
2388
2389 * gdb.base/break-inline.exp: New file.
2390 * gdb.base/break-inline.c: New file.
2391
3af2590d
TT
23922012-02-15 Tom Tromey <tromey@redhat.com>
2393
2394 * gdb.base/pc-fp.exp: Add "info register" tests.
2395
29988831
TT
23962012-02-15 Tom Tromey <tromey@redhat.com>
2397
2398 * gdb.base/regs.exp: Remove.
2399
10010058
PA
24002012-02-15 Pedro Alves <palves@redhat.com>
2401
2402 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
2403 the target doesn't support tracepoints.
2404 * gdb.trace/circ.exp: Ditto.
2405 * gdb.trace/collection.exp: Ditto.
2406 * gdb.trace/packetlen.exp: Ditto.
2407 * gdb.trace/passc-dyn.exp: Ditto.
2408 * gdb.trace/report.exp: Ditto.
2409 * gdb.trace/tfind.exp: Ditto.
2410 * gdb.trace/tspeed.exp: Ditto.
2411 * gdb.trace/tsv.exp: Ditto.
2412 * gdb.trace/unavailable.exp: Ditto.
2413 * gdb.trace/while-dyn.exp: Ditto.
2414
a2e0062d
PA
24152012-02-15 Pedro Alves <palves@redhat.com>
2416
2417 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
2418 gdb_test_multiple, and call unsupported instead of fail, if the
2419 remote side does not support the request.
2420
a1999d40
PA
24212012-02-15 Pedro Alves <palves@redhat.com>
2422
2423 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
2424 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
2425 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
2426 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
2427 * gdb.server/server-run.exp: Make sure gdb is disconnected.
2428 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
2429 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
2430 doesn't start with "extended-" already.
2431
7cee1e54
PA
24322012-02-15 Pedro Alves <palves@redhat.com>
2433
2434 Support extended-remote. Avoid cascading timeouts.
2435
2436 * gdb.base/attach.exp (do_attach_tests): Add expected output for
2437 the extended-remote target. If attaching with no file fails, load
2438 the file manually.
2439 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
2440
816338b5
SS
24412012-02-14 Stan Shebs <stan@codesourcery.com>
2442
2443 * gdb.base/ena-dis-br.exp: Add enable count test.
2444
cc30c4bd
PA
24452012-02-13 Pedro Alves <palves@redhat.com>
2446
2447 * config/mips-idt.exp: Delete.
2448 * gdb.base/a2-run.exp: Remove mips-idt xfails.
2449 * gdb.base/bitfields.exp: Remove mips-idt restarts.
2450 * gdb.base/break.exp: Remove mips-idt references.
2451 * gdb.base/chng-syms.exp: Ditto.
2452 * gdb.base/default.exp: Ditto.
2453 * gdb.base/funcargs.exp (funcargs_reload): Delete.
2454 (top level): Don't call it.
2455 * gdb.base/opaque.exp: Remove mips-idt restarts.
2456 * gdb.base/ptype.exp: Remove mips-idt xfails.
2457 * gdb.base/scope.exp: Remove mips-idt restarts.
2458 * gdb.base/sepdebug.exp: Remove mips-idt references.
2459 * gdb.base/watchpoint.exp (maybe_clean_restart)
2460 (maybe_reinitialize): Delete.
2461 (test_disabling_watchpoints, test_disabling_watchpoints)
2462 (test_watchpoint_triggered_in_syscall)
2463 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2464 Don't call them.
2465
57008375
JK
24662012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2467
2468 * gdb.server/server-exec-info.exp: New file.
2469
4a2d9c08
PA
24702012-02-10 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
2473 always non-empty.
2474 (test_attach): Always pass $exec to test_attach_gdb.
2475
09fa21bd
TT
24762012-02-08 Tom Tromey <tromey@redhat.com>
2477
2478 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
2479 before inferior is started.
2480
f0823d2c
TT
24812012-02-07 Tom Tromey <tromey@redhat.com>
2482
2483 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
2484 Symbol.value.
2485 * gdb.python/py-symbol.c (qq): Set default value.
2486
24872012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
2488
2489 * gdb.python/py-symbol.c (qq): New global.
2490 * gdb.python/py-symbol.exp: Add test for frame-less
2491 lookup_symbol.
2492 * gdb.python/py-symtab.exp: Fix line number.
2493
f7e44f65
JB
24942012-02-03 Joel Brobecker <brobecker@adacore.com>
2495
2496 * gdb.ada/mi_task_arg: New testcase.
2497
4c9ed63c
PA
24982012-02-02 Pedro Alves <palves@redhat.com>
2499
2500 * gdb.reverse/until-precsave.exp: Also put "record save" under the
2501 extended timeout.
2502
c0b9f2c6
PA
25032012-02-02 Pedro Alves <palves@redhat.com>
2504
2505 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
2506 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
2507
5f8cefd7
PA
25082012-02-02 Pedro Alves <palves@redhat.com>
2509
2510 * gdb.base/term.exp: Rewrite.
2511 * gdb.base/term.c: New.
2512
2f3a2569
PA
25132012-02-02 Pedro Alves <palves@redhat.com>
2514
2515 * gdb.base/default.exp (run "r" abbreviation, run): Add
2516 extended-remote expected output.
2517
f149aabd
TT
25182012-02-02 Tom Tromey <tromey@redhat.com>
2519
2520 * gdb.cp/dispcxx.exp: New file.
2521 * gdb.cp/dispcxx.cc: New file.
2522
03bef283
TT
25232012-02-01 Tom Tromey <tromey@redhat.com>
2524
2525 * gdb.base/jit-simple.exp: New file.
2526 * gdb.base/jit-simple.c: New file.
2527
a79b18b5
YQ
25282012-01-30 Yao Qi <yao@codesourcery.com>
2529
2530 * gdb.base/skip.exp: Make test result unique.
2531
f0d1a53e
JK
25322012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2533
2534 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
2535 compatibility with valgrind-3.7.0.
2536
4b3c9f41
PA
25372012-01-27 Pedro Alves <palves@redhat.com>
2538
2539 * gdb.base/watchpoint.exp (no_hw): New global.
2540 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
2541 disable hw watchpoints.
2542 (test_wide_location_1, test_wide_location_2): If no_hw is set,
2543 don't expect hw watchpoints.
2544 (no_hw_watchpoints): Always clean restart.
2545 (do_tests): New procedure, factored out from the top level.
2546 (top level): Run tests twice. Once with hw watchpoints enabled,
2547 another time with hw watchpoints disabled.
2548
a13491c8
PA
25492012-01-27 Pedro Alves <palves@redhat.com>
2550
2551 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
2552 out from the top level.
2553 (top level): Call it instead.
2554
f2c8a051
PA
25552012-01-27 Pedro Alves <palves@redhat.com>
2556
2557 * gdb.base/watchpoint.exp (top level): Re-enable hardware
2558 watchpoints sooner.
2559
654d7a9e
PA
25602012-01-27 Pedro Alves <palves@redhat.com>
2561
2562 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
2563
274f47f3
PA
25642012-01-27 Pedro Alves <palves@redhat.com>
2565
2566 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
2567 "You may have requested too many hardware
2568 breakpoints/watchpoints".
2569
e4d63ba2
PA
25702012-01-27 Pedro Alves <palves@redhat.com>
2571
2572 * gdb.base/watchpoint.exp (maybe_clean_restart)
2573 (maybe_reinitialize): New.
2574 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
2575 expect "hit N times".
2576 (test_disabling_watchpoints, test_complex_watchpoint)
2577 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2578 Call maybe_clean_restart.
2579 (top level): Use clean_restart. Remove "mips-idt-*"
2580 reinitialization.
2581
dbd95daf
PA
25822012-01-27 Pedro Alves <palves@redhat.com>
2583
2584 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
2585
f3ad2025
PA
25862012-01-27 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.base/watchpoint.exp: Clean restart after tests that don't
2589 require `initialize' anymore. Remove unnecessary `initialize'
2590 calls.
2591
100aa3ae
PA
25922012-01-27 Pedro Alves <palves@redhat.com>
2593
2594 * gdb.base/watchpoint.exp (wp_set): Delete.
2595 (initialize, test_simple_watchpoint, top level): Remove dead code.
2596
c79a8e11
PA
25972012-01-27 Pedro Alves <palves@redhat.com>
2598
2599 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
2600 typo.
2601
048fe15a
PA
26022012-01-27 Pedro Alves <palves@redhat.com>
2603
2604 * config/extended-gdbserver.exp: New file.
2605 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
2606 comment.
2607 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
2608 * boards/native-extended-gdbserver.exp: New file.
2609
4033a6bf
PA
26102012-01-26 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
2613 and gdb_test_multiple.
2614
3d7f4b81
PA
26152012-01-26 Pedro Alves <palves@redhat.com>
2616
2617 Make test messages unique, and more identifiable.
2618 * gdb.multi/watchpoint-multi.exp: Change test messages.
2619
484abf42
TT
26202012-01-25 Tom Tromey <tromey@redhat.com>
2621
2622 * gdb.base/solib-disc.exp: Fix regexps.
2623
edcc5120
TT
26242012-01-24 Tom Tromey <tromey@redhat.com>
2625
2626 * lib/mi-support.exp (mi_expect_stop): Add special case for
2627 solib-event.
2628 * gdb.base/catch-load-so.c: New file.
2629 * gdb.base/catch-load.exp: New file.
2630 * gdb.base/catch-load.c: New file.
2631 * gdb.base/break-interp.exp (reach_1): Update regexp.
2632
30b91c90
JK
26332012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2634
2635 Fix fuzzy results.
2636 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
2637 lpsimple and func.
2638
53fe1783
GB
26392012-01-24 Gary Benson <gbenson@redhat.com>
2640
2641 Delete #if 0'd out code.
2642 * gdb.base/default.exp (info catch): Remove.
2643 * gdb.base/gdb_history (info catch): Likewise.
2644 * gdb.base/help.exp (info catch): Likewise.
2645
d0d8b0c6
JK
26462012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2647
2648 Fix watchpoints to be specific for each inferior.
2649 * gdb.multi/watchpoint-multi.c: New file.
2650 * gdb.multi/watchpoint-multi.exp: New file.
2651
4403d8e9
JK
26522012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2653
2654 Fix watchpoints across inferior fork.
2655 * gdb.threads/watchpoint-fork-child.c: New file.
2656 * gdb.threads/watchpoint-fork-mt.c: New file.
2657 * gdb.threads/watchpoint-fork-parent.c: New file.
2658 * gdb.threads/watchpoint-fork-st.c: New file.
2659 * gdb.threads/watchpoint-fork.exp: New file.
2660 * gdb.threads/watchpoint-fork.h: New file.
2661
050a2e1d
PA
26622012-01-23 Pedro Alves <palves@redhat.com>
2663
2664 * gdb.base/call-signal-resume.exp: Allow output after "return".
2665
6a52fb62
PA
26662012-01-20 Pedro Alves <palves@redhat.com>
2667
2668 * gdb.python/py-finish-breakpoint.py: Fix typo.
2669
145b16a9
UW
26702012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
2671
2672 * gdb.base/info-proc.exp: Also run on remote targets. Main
2673 "info proc" command is now always present; whether target supports
2674 actual info proc operation is detected when attempting to issue
2675 the command.
2676
26f6125e
JK
26772012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2678
2679 * .gdbinit: Remove.
2680
eb5227ce
PA
26812012-01-19 Pedro Alves <palves@redhat.com>
2682
2683 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
2684 look at the funtions' returns.
2685 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
2686 (jprint.print(int, int)): Change return type to int. Adjust.
2687
1db33378
PP
26882012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2689
2690 PR gdb/9538
2691 * gdb.base/sepdebug.exp: New test.
2692
b9736cf8
PA
26932012-01-18 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
2696 Allow output before ^done.
2697
4aac40c8
TT
26982012-01-16 Tom Tromey <tromey@redhat.com>
2699
2700 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
2701 Add tests for relative directory.
2702
cafec441
TT
27032012-01-16 Tom Tromey <tromey@redhat.com>
2704
2705 * gdb.base/printcmds.c (enum flag_enum): New.
2706 (three): New global.
2707 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
2708 enum printing.
2709 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
2710 FlagEnumerationPrinter.
2711 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
2712 * gdb.python/py-pp-maint.c (enum flag_enum): New.
2713 (fval): New global.
2714
abcc4978
PA
27152012-01-16 Pedro Alves <palves@redhat.com>
2716
2717 * lib/gdb.exp (banned_procedures): New variable.
2718 (banned_variables_traced): Rename to ...
2719 (banned_traced): ... this.
2720 (gdb_init): Also trace banned procedures.
2721 (gdb_finish): Also untrace banned procedures.
2722
97ccebe8
PA
27232012-01-16 Pedro Alves <palves@redhat.com>
2724
2725 Remove all calls to strace.
2726
2af7517b
JK
27272012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2728
2729 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
2730 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
2731
9241a8bc
PP
27322012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2733
2734 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
2735 * gdb.base/pie-execl.exp: Likewise.
2736
3848a17f
KS
27372012-01-12 Keith Seitz <keiths@redhat.com>
2738
2739 PR mi/10586
2740 * gdb.mi/var-cmd.c (struct anonymous): New structure.
2741 (do_anonymous_type_tests): New function.
2742 (main): Call do_anonymous_type_tests.
2743 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
2744 (verify_everything): New procedure.
2745 * gdb.mi/mi-var-cp.cc (class A): New class.
2746 (anonymous_structs_and_unions): New function.
2747 (main): Call anonymous_structs_and_unions.
2748 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
2749 (verify_everything): New procedure.
2750
440e2fca
KS
27512012-01-12 Keith Seitz <keiths@redhat.com>
2752
2753 * lib/mi-support.exp: Expand comments about PATH_EXPR.
2754 (varobj_tree::get_path_expr): Assume that all varobjs are
2755 compound unless they are known simple types.
2756 Adjust path expressions based on parent type, path parent type,
2757 and tree language.
2758 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
2759 the root varobj.
2760 (mi_walk_varobj_tree): Add LANGUAGE parameter.
2761
675399c9
PA
27622012-01-11 Pedro Alves <palves@redhat.com>
2763
2764 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
2765 core files on this machine" anymore.
2766
97ddaa9b
PH
27672012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2768
2769 * gdb.base/watchpoint.c (recurser): Initialize local_x.
2770 (main): Repeat recurser call.
2771 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
2772 equivalent to 'local_x'.
2773
ea733575
PH
27742012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2775 Joel Brobecker <brobecker@adacore.com>
2776
2777 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
2778
2ca0b532
PA
27792012-01-05 Pedro Alves <alves.ped@gmail.com>
2780
2781 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
2782 * gdb.python/py-events.c (first): Add bits for new "step N" test.
2783 * gdb.python/py-events.exp: Test that "step N" tripping on a
2784 breakpoint emits a breakpoint event.
2785
6e681866
JB
27862012-01-03 Joel Brobecker <brobecker@adacore.com>
2787
2788 * gdb.base/auxv.exp: Reformat the copyright notice.
2789
3c2d6aff
YQ
27902012-01-03 Yao Qi <yao@codesourcery.com>
2791
2792 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
2793 (strace_trace_on_diff_addr): New.
2794 * gdb.trace/strace.c: (main): Add two local variables.
2795
0852fee3
UW
27962011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
2797
2798 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
2799 * gdb.cell/gcore.exp: Likewise.
2800 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
2801 to verify the correct instance of main is selected.
2802
12c3e59c
JB
28032012-01-02 Joel Brobecker <brobecker@adacore.com>
2804
2805 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
2806 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
2807 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
2808 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
2809 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
2810 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
2811 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
2812 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
2813 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
2814 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
2815 gdb.threads/thread_check.c: Reformat copyright header.
2816
c0f378ec
EBM
28172011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
2818
e4a7ca93 2819 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
2820 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
2821 is not enabled.
2822
3bc96cfb
JK
28232011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2824
2825 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
2826 parameter to self_exec, adjust the function.
2827 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
2828 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
2829 (set var do_exit = 0): Remove test.
2830 (newline at end of file): Add one.
2831
095bcf5e
JB
28322011-12-27 Joel Brobecker <brobecker@adacore.com>
2833
2834 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
2835 New files.
2836
18d19bd1
JK
28372011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2838
2839 Fix racy FAILs.
2840 * gdb.threads/fork-thread-pending.c (barrier): New variable.
2841 (thread_function, thread_forker): Call pthread_barrier_wait for it.
2842 (main): Call pthread_barrier_init for it.
2843
e809353a
JK
28442011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2845
2846 Fix double send_gdb leading to racy FAILs.
2847 * gdb.base/break.exp (set silent break bp_location1): Replace
2848 3x send_gdb and gdb_expect by gdb_test.
2849 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
2850 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
2851 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
2852 instead of send_gdb. Twice.
2853 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
2854 3x send_gdb and gdb_expect by gdb_test.
2855 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
2856
da8cb7ec
JK
28572011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2858
2859 * gdb.linespec/linespec.exp: Compile using {c++}.
2860
ae1a303e
JK
28612011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2862
2863 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
2864 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
2865 (verify GCC PR debug/51668): New test.
2866
cc72b2a2
KP
28672011-12-23 Kevin Pouget <kevin.pouget@st.com>
2868
2869 Introduce gdb.FinishBreakpoint in Python.
2870 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
2871 py-finish-breakpoint2
2872 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
2873 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
2874 instead of line number.
2875 * gdb.python/py-finish-breakpoint.c: New file.
2876 * gdb.python/py-finish-breakpoint.exp: New file.
2877 * gdb.python/py-finish-breakpoint.py: New file.
2878 * gdb.python/py-finish-breakpoint2.cc: New file.
2879 * gdb.python/py-finish-breakpoint2.exp: New file.
2880 * gdb.python/py-finish-breakpoint2.py: New file.
2881
3b7962f9
JK
28822011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2883
2884 Partial fix of compatibility with gcc-4.7.
2885 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
2886 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
2887 Add comment to add a PASS case in the future.
2888
6538471c
JK
2889 Fix compatibility with gcc-4.7.
2890 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
2891
7052e42c
UW
28922011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
2893
2894 PR tdep/12797
2895 * gdb.base/callfuncs.exp: Remove KFAIL.
2896
9ac7f98e
JB
28972011-12-21 Joel Brobecker <brobecker@adacore.com>
2898
2899 * gdb.ada/task_bp: New testcase.
2900
f6eeced0
JK
29012011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2902
2903 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
2904 -DNO_SECTIONS.
2905 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
2906
72225e17
JK
29072011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2908
2909 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
2910 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
2911 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
2912 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
2913 conditional for gcc <= 4.5.
2914
13ac8d2c
JK
29152011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2916
2917 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
2918 by XFAIL.
2919 * gdb.cp/static-method.exp (info addr A::func())
2920 (list static-method.cc:xxx::(anonymous namespace)::A::func)
2921 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
2922 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
2923 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
2924 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
2925 (test value of F in k3_m): Likewise.
2926 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
2927 Likewise.
2928
049682ba
JK
29292011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2930
2931 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
2932 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
2933 Remove.
2934 * gdb.threads/attachstop-mt.c: Remove.
2935 * gdb.threads/attachstop-mt.exp: Remove.
2936
2c9d8796
MK
29372011-12-17 Mark Kettenis <kettenis@gnu.org>
2938
2939 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
2940
e0f9f062
DE
29412011-12-16 Doug Evans <dje@google.com>
2942
f4aa2101 2943 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
2944 * boards/native-gdbserver.exp: New file.
2945
e0f9f062
DE
2946 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
2947 gdbserver output.
2948 (gdbserver_default_get_remote_address): New function.
2949 (gdbserver_start): Call gdb,get_remote_address to compute argument
2950 to "target remote" command.
2951
80b6e756
PM
29522011-12-16 Phil Muldoon <pmuldoon@redhat.com>
2953
1c3ad6ab 2954 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
2955 python print-stack. Add set/show python print-stack
2956 off|full|message tests.
2957
1576bd00
YQ
29582011-12-15 Yao Qi <yao@codesourcery.com>
2959
2960 * gdb.trace/strace.c: New
2961 * gdb.trace/strace.exp: New.
2962
d6a0f6e0
TT
29632011-12-14 Tom Tromey <tromey@redhat.com>
2964
2965 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
2966
31015e1d
DE
29672011-12-14 Doug Evans <dje@google.com>
2968
2969 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
2970
7b50312a
PA
29712011-12-14 Pedro Alves <pedro@codesourcery.com>
2972
2973 PR threads/10729
2974
2975 * gdb.mi/watch-nonstop.c: New file.
2976 * gdb.mi/mi-watch-nonstop.exp: New file.
2977
924437bc
PA
29782011-12-13 Pedro Alves <pedro@codesourcery.com>
2979 Doug Evans <dje@google.com>
2980
2981 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
2982 (clean_restart): Remove references to the gdb_stub target board
2983 variable.
2984 (gdb_step_for_stub): Delete.
2985
2986 * gdb.base/annota1.exp: Remove all references to [target_info
2987 exists gdb_stub], gdb_step_for_stub and usestubs.
2988 * gdb.base/annota3.exp: Ditto.
2989 * gdb.base/async.exp: Ditto.
2990 * gdb.base/break.exp: Ditto.
2991 * gdb.base/code-expr.exp: Ditto.
2992 * gdb.base/commands.exp: Ditto.
2993 * gdb.base/completion.exp: Ditto.
2994 * gdb.base/condbreak.exp: Ditto.
2995 * gdb.base/consecutive.exp: Ditto.
2996 * gdb.base/cvexpr.exp: Ditto.
2997 * gdb.base/define.exp: Ditto.
2998 * gdb.base/display.exp: Ditto.
2999 * gdb.base/ena-dis-br.exp: Ditto.
3000 * gdb.base/environ.exp: Ditto.
3001 * gdb.base/gnu-ifunc.exp: Ditto.
3002 * gdb.base/maint.exp: Ditto.
3003 * gdb.base/pending.exp: Ditto.
3004 * gdb.base/sect-cmd.exp: Ditto.
3005 * gdb.base/sepdebug.exp: Ditto.
3006 * gdb.base/unload.exp: Ditto.
3007 * gdb.base/watchpoint-solib.exp: Ditto.
3008 * gdb.cp/annota2.exp: Ditto.
3009 * gdb.cp/annota3.exp: Ditto.
3010 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
3011 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
3012 * gdb.mi/mi-pending.exp: Ditto.
3013 * gdb.trace/circ.exp: Ditto.
3014 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
3015 * gdb.base/list.exp: Ditto.
3016
3017 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
3018 breakpoint function and all references to the usestubs macro.
3019 * gdb.base/exprs.c: Ditto.
3020 * gdb.base/freebpcmd.c: Ditto.
3021 * gdb.base/bitfields.c: Ditto.
3022 * gdb.base/bitfields2.c: Ditto.
3023 * gdb.base/break.c: Ditto.
3024 * gdb.base/call-sc.c: Ditto.
3025 * gdb.base/call-signals.c: Ditto.
3026 * gdb.base/callfuncs.c: Ditto.
3027 * gdb.base/charset.c: Ditto.
3028 * gdb.base/consecutive.c: Ditto.
3029 * gdb.base/constvars.c: Ditto.
3030 * gdb.base/funcargs.c: Ditto.
3031 * gdb.base/int-type.c: Ditto.
3032 * gdb.base/interrupt.c: Ditto.
3033 * gdb.base/langs0.c: Ditto.
3034 * gdb.base/list0.c: Ditto.
3035 * gdb.base/mips_pro.c: Ditto.
3036 * gdb.base/miscexprs.c: Ditto.
3037 * gdb.base/nodebug.c: Ditto.
3038 * gdb.base/opaque0.c: Ditto.
3039 * gdb.base/pointers.c: Ditto.
3040 * gdb.base/printcmds.c: Ditto.
3041 * gdb.base/ptype.c: Ditto.
3042 * gdb.base/recurse.c: Ditto.
3043 * gdb.base/reread1.c: Ditto.
3044 * gdb.base/reread2.c: Ditto.
3045 * gdb.base/restore.c: Ditto.
3046 * gdb.base/return.c: Ditto.
3047 * gdb.base/run.c: Ditto.
3048 * gdb.base/scope0.c: Ditto.
3049 * gdb.base/sepdebug.c: Ditto.
3050 * gdb.base/setshow.c: Ditto.
3051 * gdb.base/setvar.c: Ditto.
3052 * gdb.base/sigall.c: Ditto.
3053 * gdb.base/signals.c: Ditto.
3054 * gdb.base/structs.c: Ditto.
3055 * gdb.base/structs2.c: Ditto.
3056 * gdb.base/testenv.c: Ditto.
3057 * gdb.base/twice.c: Ditto.
3058 * gdb.base/unwindonsignal.c: Ditto.
3059 * gdb.base/watchpoint.c: Ditto.
3060 * gdb.base/watchpoints.c: Ditto.
3061 * gdb.base/whatis.c: Ditto.
3062 * gdb.cp/classes.cc: Ditto.
3063 * gdb.cp/cplusfuncs.cc: Ditto.
3064 * gdb.cp/derivation.cc: Ditto.
3065 * gdb.cp/formatted-ref.cc: Ditto.
3066 * gdb.cp/misc.cc: Ditto.
3067 * gdb.cp/overload.cc: Ditto.
3068 * gdb.cp/ovldbreak.cc: Ditto.
3069 * gdb.cp/ref-params.cc: Ditto.
3070 * gdb.cp/ref-types.cc: Ditto.
3071 * gdb.cp/templates.cc: Ditto.
3072 * gdb.cp/virtfunc.cc: Ditto.
3073 * gdb.hp/gdb.aCC/run.c: Ditto.
3074 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
3075 * gdb.hp/gdb.compat/xdb0.c: Ditto.
3076 * gdb.reverse/consecutive-reverse.c: Ditto.
3077 * gdb.reverse/sigall-reverse.c: Ditto.
3078 * gdb.reverse/until-reverse.c: Ditto.
3079 * gdb.reverse/watch-reverse.c: Ditto.
3080 * gdb.trace/actions.c: Ditto.
3081 * gdb.trace/circ.c: Ditto.
3082 * gdb.trace/collection.c: Ditto.
3083
fabde485
PA
30842011-12-13 Pedro Alves <pedro@codesourcery.com>
3085
3086 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
3087 (func6, func7): New.
3088 (main): Call func6 and func7.
3089 * gdb.base/watchpoint.exp (test_wide_location_1)
3090 (test_wide_location_2): New.
3091 (top level): Re-enable hardware watchpoints if necessary. Call
3092 test_wide_location_1 and test_wide_location_2.
3093
ff7d1690
YQ
30942011-12-11 Yao Qi <yao@codesourcery.com>
3095
3096 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
3097
a6af7abe
JB
30982011-12-11 Joel Brobecker <brobecker@adacore.com>
3099
3100 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
3101 expected output for unsupported case.
3102
61638e15
JK
31032011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3104
3105 PR testsuite/12649
3106 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
3107 Protect gdb_test_multiple by final $gdb_prompt match.
3108
0a00efc3
JK
31092011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3110
3111 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
3112 New variable, new test.
3113 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3114 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3115 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3116 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
3117 them if HAVE_GCC_45682_FIXED is not set.
3118
4511b1ba
YQ
31192011-12-10 Yao Qi <yao@codesourcery.com>
3120
3121 * gdb.trace/status-stop.exp: New.
3122 * gdb.trace/status-stop.c: New.
3123
27949e73
JK
31242011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3125
3126 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
3127 timeout.
3128
d8ea7931
TT
31292011-12-08 Tom Tromey <tromey@redhat.com>
3130
3131 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
3132 condition.
3133
1cc310d2
SS
31342011-12-07 Stan Shebs <stan@codesourcery.com>
3135
3136 * gdb.trace/tfind.exp: Update for output changes.
3137
d482a875
PA
31382011-12-07 Pedro Alves <pedro@codesourcery.com>
3139
3140 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
3141 throws "Cannot insert catchpoints in this configuration".
3142 * gdb.ada/mi_catch_ex.exp: Likewise.
3143
f0ba3972
PA
31442011-12-06 Pedro Alves <pedro@codesourcery.com>
3145
3146 * gdb.base/break-always.exp: Test changing memory at addresses
3147 with breakpoints inserted.
3148
f8eba3c6
TT
31492011-12-06 Joel Brobecker <brobecker@acacore.com>
3150
3151 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
3152 involving a fully qualified function name.
3153
31542011-12-06 Tom Tromey <tromey@redhat.com>
3155
3156 * gdb.ada/homonym.exp: Add three breakpoint tests.
3157
31582011-12-06 Tom Tromey <tromey@redhat.com>
3159
3160 * gdb.base/solib-weak.exp (do_test): Remove kfail.
3161 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
3162 * gdb.objc/objcdecode.exp: Update for output changes.
3163 * gdb.linespec/linespec.exp: New file.
3164 * gdb.linespec/lspec.cc: New file.
3165 * gdb.linespec/lspec.h: New file.
3166 * gdb.linespec/body.h: New file.
3167 * gdb.linespec/base/two/thefile.cc: New file.
3168 * gdb.linespec/base/one/thefile.cc: New file.
3169 * gdb.linespec/Makefile.in: New file.
3170 * gdb.cp/templates.exp (test_template_breakpoints): Update for
3171 output changes.
3172 * gdb.cp/re-set-overloaded.exp: Remove kfail.
3173 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
3174 makes one breakpoint.
3175 * gdb.cp/method2.exp (test_break): Update for output changes.
3176 * gdb.cp/mb-templates.exp: Update for output changes.
3177 * gdb.cp/mb-inline.exp: Update for output changes.
3178 * gdb.cp/mb-ctor.exp: Update for output changes.
3179 * gdb.cp/ovsrch.exp: Use fully-qualified names.
3180 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
3181 has multiple matches.
3182 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
3183 error message change.
3184 * gdb.base/list.exp (test_list_filename_and_number): Update for
3185 error message change.
3186 * gdb.base/break.exp: Disable pending breakpoints. Update for
3187 output changes.
3188 * configure.ac: Add gdb.linespec.
3189 * configure: Rebuild.
3190 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
3191
c642a434
UW
31922011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
3193
3194 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
3195 last_break register on s390*-*-* targets.
3196
b18003d1
JB
31972011-12-06 Joel Brobecker <brobecker@adacore.com>
3198
3199 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
3200 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
3201 of parameter X in procedure Foo.
3202
fe96589c
SS
32032011-12-05 Stan Shebs <stan@codesourcery.com>
3204
3205 * gdb.trace/tfind.exp: Update help string matches.
3206
1820ab47
JK
32072011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3208
3209 * gdb.server/ext-run.exp (get process list): Accept also systemd
3210 as PID 1.
3211
e11ac3a3
JK
32122011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3213 Pedro Alves <pedro@codesourcery.com>
3214
3215 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
3216 starting GDB.
3217 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
3218 $use_gdb_stub.
3219 * gdb.base/display.exp: Likewise.
3220 * gdb.base/ending-run.exp: Likewise.
3221 * gdb.base/list.exp (test_listsize): Likewise.
3222 * gdb.base/setshow.exp: Likewise.
3223 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
3224 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
3225 check by global $use_gdb_stub.
3226 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
3227 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
3228 (default_gdb_init): Unset global $use_gdb_stub.
3229 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
3230 by global $use_gdb_stub.
3231 * lib/gdbserver-support.exp: Extend comments for set_board_info
3232 gdb_protocol and gdb,socketport.
3233 (gdbserver_start_extended): Set global gdbserver_protocol and
3234 gdbserver_gdbport. Clear global use_gdb_stub.
3235 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
3236 from target use_gdb_stub.
3237 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
3238
1d41d75c
DE
32392011-12-03 Doug Evans <dje@google.com>
3240
3241 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
3242 (gdb_step_for_stub): Add comments.
3243
d6d7a51a
MR
32442011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
3245
3246 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
3247 to the caller.
3248 (gdb_test_multiple): Likewise.
3249
05acf274
JK
32502011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3251
3252 Fix gdb.mi/mi-solib.exp without system debug info installed.
3253 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
3254 expect attribute, return 0 for it. Update comments.
3255
2268b414
JK
32562011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3257
3258 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
3259 (corrupted list): Adjust the expectation.
3260
585861ea
JK
32612011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3262
3263 PR threads/13448
3264 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
3265 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
3266 * gdb.threads/tls-var-main.c: New file.
3267 * gdb.threads/tls-var.c: New file.
3268 * gdb.threads/tls-var.exp: New file.
3269
968643aa
JK
32702011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3271
3272 PR testsuite/12649
3273 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
3274 Protect gdb_test_multiple by final $gdb_prompt match.
3275 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
3276 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3277 (test_tracepoints): Likewise.
3278
9750bca9
JK
32792011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3280
3281 PR breakpoints/13346
3282 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
3283 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
3284 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
3285
ac1349b7
JB
32862011-12-01 Joel Brobecker <brobecker@adacore.com>
3287
3288 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
3289 * gdb.ada/homonym/homonym.adb: For use of all types defined
3290 locally inside both Get_Value subprograms.
3291
26d44faf
JK
32922011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 Fix racy FAILs.
3295 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
3296 of send_gdb.
3297
514f6425
UW
32982011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3299
3300 * gdb.base/testenv.exp: Skip on remote targets. Unset global
3301 environment variable after test completed.
3302
4255c8d2
UW
33032011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3304
3305 * gdb.base/solib-nodir.exp: Skip if remote target.
3306 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
3307 application. Call gdb_load_shlibs.
3308 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
3309
a35ad96a
JB
33102011-11-29 Joel Brobecker <brobecker@adacore.com>
3311
3312 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
3313
1a1d5513
JB
33142011-11-28 Joel Brobecker <brobecker@adacore.com>
3315
3316 * gdb.ada/fullname_bp: New testcase.
3317
50b4ddf8
JK
33182011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3319
3320 PR testsuite/12649
3321 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
3322 Wrap send_gdb into a new gdb_test.
3323
fb0aec57
JK
3324 Code cleanup.
3325 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
3326 Convert send_gdb and gdb_expect to gdb_test_multiple.
3327
2376d946
JK
33282011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
3331
1eec78bd
KS
33322011-11-23 Keith Seitz <keiths@redhat.com>
3333
3334 * lib/mi-support.exp (varobj_tree): New namespace and procs.
3335 (mi_varobj_tree_test_children_callback): New proc.
3336 (mi_walk_varobj_tree): New proc.
3337
36dfb11c
TT
33382011-11-22 Tom Tromey <tromey@redhat.com>
3339
3340 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
3341 Add "use_mi_command" argument.
3342 (mi_run_cmd, mi_run_with_cli): New procs.
3343 * gdb.mi/solib-lib.c: New file.
3344 * gdb.mi/solib-main.c: New file.
3345 * gdb.mi/mi-solib.exp: New file.
3346
0e965dd0
DE
33472011-11-21 Doug Evans <dje@google.com>
3348
3349 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
3350 _Unwind_DebugHook is missing.
3351
f196051f
SS
33522011-11-20 Stan Shebs <stan@codesourcery.com>
3353
3354 * gdb.trace/tstatus.exp: New.
3355 * gdb.trace/actions.c: Include string.h.
3356
bfccc43c
YQ
33572011-11-18 Yao Qi <yao@codesourcery.com>
3358
3359 * gdb.trace/pending.exp: New.
3360 * gdb.trace/pending.c: New.
3361 * gdb.trace/pendshr1.c: New.
3362 * gdb.trace/pendshr2.c: New.
3363 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
3364 tracepoint location becomes pending.
3365 (tracepoint_change_loc_2): New.
3366
73cd8ab1
DM
33672011-11-16 David S. Miller <davem@davemloft.net>
3368
3369 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
3370 target is sparc*-*-linux*
3371
77426730
PK
33722011-11-15 Paul Koning <paul_koning@dell.com>
3373
3374 * gdb.python/py-type.exp: New testcases for exceptions on scalar
3375 types.
3376
ed59ded5
DE
33772011-11-14 Doug Evans <dje@google.com>
3378
3379 * gdb.base/shell.exp: New file.
3380
405f8e94
SS
33812011-11-14 Stan Shebs <stan@codesourcery.com>
3382
3383 * gdb.trace/ftrace.c: New.
3384 * gdb.trace/ftrace.exp: New.
3385
1e4d1764
YQ
33862011-11-14 Yao Qi <yao@codesourcery.com>
3387
3388 * gdb.trace/change-loc-1.c: New.
3389 * gdb.trace/change-loc-2.c: New.
3390 * gdb.trace/change-loc.c: New.
3391 * gdb.trace/change-loc.exp: New.
3392 * gdb.trace/change-loc.h: New.
3393 * gdb.trace/trace-break.c (marker): Define new symbol.
3394 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
3395 New.
3396 (break_trace_same_addr_6): New.
3397
71eba9c2 33982011-11-12 Matt Rice <ratmice@gmail.com>
3399
3400 * gdb.base/info-macros.exp: Make tests for info definitions
3401 test info macro. Add tests for info macro argument processing.
3402 Rename a few tests.
3403
1d93e29a
KS
34042011-11-11 Keith Seitz <keiths@redhat.com>
3405
3406 PR gdb/12843
3407 * gdb.base/linespecs.exp: New file.
3408
a4b5b48a
DE
34092011-11-11 Doug Evans <dje@google.com>
3410
3411 * gdb.threads/print-threads.exp: Extend timeout for slower
3412 tests.
3413
f6b47be4
DE
34142011-11-10 Doug Evans <dje@google.com>
3415
792a0230
DE
3416 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
3417 "record to end of main" test.
3418
f6b47be4
DE
3419 * gdb.python/py-type.c (TS): New typedef.
3420 (ts): New global.
3421 * gdb.python/py-type.exp: Test field list of typedef.
3422
22355c90
JB
34232011-11-10 Joel Brobecker <brobecker@adacore.com>
3424
3425 * gdb.ada/small_reg_param: New testcase.
3426
a7860e76
TT
34272011-11-09 Tom Tromey <tromey@redhat.com>
3428
3429 * gdb.cp/destrprint.exp: New file.
3430 * gdb.cp/destrprint.cc: New file.
3431
72a2e3dc
MI
34322011-11-08 Meador Inge <meadori@codesourcery.com>
3433
3434 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
3435 (switch_stack_to_other): New test function.
3436 * gdb.arch/thumb-prologue.exp: New test cases.
3437
c7195df2 34382011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
3439
3440 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
3441
d3895d7d
YQ
34422011-11-08 Yao Qi <yao@codesourcery.com>
3443
3444 * gdb.exp (supports_process_record): New.
3445 (supports_reverse): New.
3446 * gdb.reverse/break-precsave.exp: Call support_process_record
3447 to run test conditionally.
3448 * gdb.reverse/consecutive-precsave.exp: Likewise.
3449 * gdb.reverse/i386-precsave.exp: Likewise.
3450 * gdb.reverse/machinestate-precsave.exp: Likewise.
3451 * gdb.reverse/solib-precsave.exp: Likewise.
3452 * gdb.reverse/step-precsave.exp: Likewise.
3453 * gdb.reverse/until-precsave.exp: Likewise.
3454 * gdb.reverse/watch-precsave.exp: Likewise.
3455 * gdb.reverse/break-reverse.exp: Call support_reverse to run
3456 test conditionally.
3457 * gdb.reverse/consecutive-reverse.exp: Likewise.
3458 * gdb.reverse/finish-precsave.exp: Likewise.
3459 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3460 * gdb.reverse/finish-reverse.exp: Likewise.
3461 * gdb.reverse/i386-reverse.exp: Likewise.
3462 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3463 * gdb.reverse/machinestate.exp: Likewise.
3464 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
3465 * gdb.reverse/sigall-precsave.exp: Likewise.
3466 * gdb.reverse/sigall-reverse.exp: Likewise.
3467 * gdb.reverse/solib-reverse.exp: Likewise.
3468 * gdb.reverse/step-reverse.exp: Likewise.
3469 * gdb.reverse/until-reverse.exp: Likewise.
3470 * gdb.reverse/watch-reverse.exp: Likewise.
3471
a59306a3
YQ
34722011-11-05 Yao Qi <yao@codesourcery.com>
3473
3474 * gdb.trace/trace-break.exp: Add test on setting two
3475 fast tracepoints at the same address.
3476
87769f59
JK
34772011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3478
3479 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
3480
3065dfb6
SS
34812011-11-02 Stan Shebs <stan@codesourcery.com>
3482
3483 * gdb.trace/collection.c: Add code using strings.
3484 * gdb.trace/collection.exp: Add tests of string collection.
3485
89e208db
JK
34862011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3487
3488 * gdb.base/skip-solib.exp (executable_main): New variable.
3489 (binfile_main): Base it on that.
3490 Use $executable_main in clean_restart calls. Drop gdb_exit and
3491 gdb_start calls.
3492
405e54e9
JK
34932011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3494
3495 Fix racy FAILs.
3496 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
3497 breakpoint_re globals import by async. Set string_regex to .* for
3498 async. Remove the optional thread_selected_re and breakpoint_re
3499 globals expectations.
3500
58e8570a
JM
35012011-11-01 Joseph Myers <joseph@codesourcery.com>
3502
3503 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
3504 well as Cygwin.
3505
7b35ec7f 35062011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
3507
3508 Add tests for skip command.
89e208db
JK
3509 * gdb.base/skip-solib-lib.c: New
3510 * gdb.base/skip-solib-main.c: New
3511 * gdb.base/skip-solib.exp: New
3512 * gdb.base/skip.c: New
3513 * gdb.base/skip.exp: New
3514 * gdb.base/skip1.c: New
3515 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 3516
b9fd1791
PA
35172011-10-31 Yao Qi <yao@codesourcery.com>
3518 Pedro Alves <pedro@codesourcery.com>
3519
3520 * gdb.trace/trace-break.c: New.
3521 * gdb.trace/trace-break.exp: New.
3522
4323fecc
JK
35232011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3524
3525 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
3526 break-here-2.
3527
0e5bf2a8
PA
35282011-10-28 Pedro Alves <pedro@codesourcery.com>
3529
3530 * gdb.threads/no-unwaited-for-left.c: New.
3531 * gdb.threads/no-unwaited-for-left.exp: New.
3532 * gdb.threads/non-ldr-exc-1.c: New.
3533 * gdb.threads/non-ldr-exc-1.exp: New.
3534 * gdb.threads/non-ldr-exc-2.c: New.
3535 * gdb.threads/non-ldr-exc-2.exp: New.
3536 * gdb.threads/non-ldr-exc-3.c: New.
3537 * gdb.threads/non-ldr-exc-3.exp: New.
3538 * gdb.threads/non-ldr-exc-4.c: New.
3539 * gdb.threads/non-ldr-exc-4.exp: New.
3540
3a3dad98
JK
35412011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3542
3543 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
3544 * gdb.base/attach-pie-misread.exp: Likewise.
3545 * gdb.base/break-interp.exp: Likewise.
3546 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
3547 testcases for use_gdb_stub.
3548 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
3549 (continue): New testcase.
3550 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
3551 * gdb.threads/attach-into-signal.exp: Likewise.
3552 * gdb.threads/attach-stopped.exp: Likewise.
3553 * gdb.threads/attachstop-mt.exp: Likewise.
3554
d6a5d40c
PK
35552011-10-28 Paul Koning <paul_koning@dell.com>
3556
3557 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
3558
ca539be8
JK
35592011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
3562 (mi_gdb_test): Import globals thread_selected_re
3563 and breakpoint_re. Expect them optionally at the regex start.
3564
d234ef5c
DE
35652011-10-27 Doug Evans <dje@google.com>
3566
3567 * gdb.python/python.exp: Test source -s.
3568
ab964825
PK
35692011-10-26 Paul Koning <paul_koning@dell.com>
3570
3571 * gdb.python/lib-types.cc (struct A): New structure.
3572 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 3573
54d8a644
PK
35742011-10-25 Paul Koning <paul_koning@dell.com>
3575
3576 PR python/13327
d234ef5c 3577
54d8a644
PK
3578 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
3579 fetch_lazy method.
3580
b0221781
YQ
35812011-10-24 Yao Qi <yao@codesourcery.com>
3582
3583 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
3584 target is tic6x-*-*.
3585
6cda5a20
JB
35862011-10-21 Joel Brobecker <brobecker@adacore.com>
3587
3588 * gdb.ada/mi_task_info/task_switch.adb: New file.
3589 * gdb.ada/mi_task_info.exp: New file.
3590
5ed9db04
JK
35912011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3592
3593 * gdb.cp/expand-psymtabs-cxx.exp: New file.
3594 * gdb.cp/expand-psymtabs-cxx.cc: New file.
3595
9df2fbc4
PM
35962011-10-20 Phil Muldoon <pmuldoon@redhat.com>
3597
3598 PR python/12656
3599
3600 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
3601 global_block tests.
3602
736086ba
TT
36032011-10-18 Tom Tromey <tromey@redhat.com>
3604
3605 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
3606
4af31552
TT
36072011-10-18 Tom Tromey <tromey@redhat.com>
3608
3609 * gdb.base/source.exp: Don't include full file name in test name.
3610 * gdb.python/python.exp: Don't include full file name in test
3611 name.
3612
43136979
AR
36132011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3614
3615 * gdb.base/attach-pie-noexec.c: New files.
3616 * gdb.base/attach-pie-noexec.exp: New files.
3617
543a9323
JM
36182011-10-17 Joseph Myers <joseph@codesourcery.com>
3619
3620 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
3621 prompt for each extra line in command.
3622
21ae7a4d
JK
36232011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3624
3625 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
3626 Revert the part of:
3627 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3628 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
3629 Change the expected string.
3630
20ec36d9
JK
36312011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3632
3633 Fix results with system glibc debug info installed.
3634 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
3635 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
3636 Accept also __libc_ symbol prefix and no prefix.
3637
6501c2fc
KS
36382011-10-14 Keith Seitz <keiths@redhat.com>
3639
3640 PR c++/13225
3641 * gdb.cp/converts.cc (foo3_1): New function.
3642 (foo3_2): New functions.
3643 * gdb.cp/converts.exp: Add tests for int to pointer conversion
3644 and null pointer conversions of integer constant zero.
3645 Add test to check if all arguments are checked for incompatible
3646 conversion BADNESS.
3647
55b1fd0c
TT
36482011-10-14 Tom Tromey <tromey@redhat.com>
3649
3650 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
3651 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
3652 linespec.
3653
22c05d8a
JK
36542011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3655
3656 Fix internal error regression.
3657 * gdb.dwarf2/implptr-optimized-out.S: New file.
3658 * gdb.dwarf2/implptr-optimized-out.exp: New file.
3659
1d6edc3c
JK
36602011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3661
3662 Fix empty DWARF expressions DATA vs. SIZE conditionals.
3663 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
3664 (loclist): New.
3665 (4): New abbrev.
3666 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
3667 Use prepare_for_testing, remove clean_restart.
3668 (p arraynoloc, p arraycallnoloc): New tests.
3669
9ec72168
JK
36702011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3671
3672 * gdb.cp/namespace-enum.exp (executable): New variable.
3673 (binfile): Use ${objdir}/${subdir}/ prefix.
3674 Use ${executable} for clean_restart.
3675
9c6c53f7
SA
36762011-10-11 Sterling Augustine <saugustine@google.com>
3677
3678 * gdb.cp/Makefile.in: Add namespace-enum test.
3679 * gdb.cp/namespace-enum.exp: New file.
3680 * gdb.cp/namespace-enum.c: New file.
3681 * gdb.cp/namespace-enum-main.c: New file.
3682
fac7ceb3
UW
36832011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
3684
3685 * gdb.python/py-shared.exp: Relax filename check to handle remote:
3686 sysroot.
3687
941b2081
JK
36882011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3689
3690 Reimplement @entry in input expressions.
3691 * gdb.base/exprs.c (v_int_array_init): New variable.
3692 * gdb.base/exprs.exp (print v_int_array_init)
3693 (print *v_int_array_init@1, print *v_int_array_init@2)
3694 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
3695 (print v_int_array_init[1]@1): New tests.
3696
0344e878
JM
36972011-10-10 Joseph Myers <joseph@codesourcery.com>
3698
3699 * gdb.cp/gdb2495.exp: Do not include directories in filename in
3700 expected message.
3701
5a56e9c5
DE
37022011-10-09 Doug Evans <dje@google.com>
3703
3704 * gdb.base/alias.exp: Add tests for alias command.
3705
2bda9cc5
JK
37062011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3707
3708 * gdb.arch/amd64-entry-value.s: New file.
3709 * gdb.mi/mi2-amd64-entry-value.s: New file.
3710
a471c594
JK
37112011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3712
3713 Display @entry parameter values even for references.
3714 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
3715 functions.
3716 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
3717 reference and datap_input.
3718 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
3719 breakpoints.
3720 (continue to breakpoint: entry_reference: reference)
3721 (entry_reference: bt at entry)
3722 (continue to breakpoint: entry_reference: breakhere_reference)
3723 (entry_reference: bt, entry_reference: ptype regparam)
3724 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
3725 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
3726 (entry_reference: p regcopy, entry_reference: p nodataparam)
3727 (entry_reference: p nodataparam@entry): New tests.
3728
36b11add
JK
37292011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3730
3731 Support @entry in input expressions.
3732 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
3733 (entry_stack: p s1@entry, entry_stack: p s2@entry)
3734 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
3735 (tailcall: p j@entry): New tests.
3736 * gdb.cp/koenig.cc (A::entry): New function.
3737 (main): Call it.
3738 * gdb.cp/koenig.exp (p entry (c)): New test.
3739
e18b2753
JK
37402011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3741
3742 Display @entry parameter values (without references).
3743 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
3744 (different, validity, invalid): New functions.
3745 (main): Call them.
3746 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
3747 stacktest, breakhere_stacktest, different, breakhere_different,
3748 breakhere_validity and breakhere_invalid.
3749 (entry: bt): Update for @entry.
3750 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
3751 (entry_validity: *, entry_invalid: *): Many new tests.
3752 * gdb.base/break.exp
3753 (run until breakpoint set at small function, optimized file): Accept
3754 also the @entry suffix.
3755 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
3756 * gdb.mi/mi2-amd64-entry-value.c: New files.
3757 * gdb.mi/mi2-amd64-entry-value.exp: New files.
3758
2d6c5dc2
JK
37592011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3760
3761 Protect entry values against self tail calls.
3762 * gdb.arch/amd64-entry-value.cc (self2, self): New.
3763 (main): Call self.
3764 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
3765 (set debug entry-values 1, self: bt debug entry-values): New tests.
3766
111c6489
JK
37672011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3768
3769 Recognize virtual tail call frames.
3770 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
3771 (amb_b, amb_a): New.
3772 (main): Call a and b.
3773 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
3774 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
3775 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
3776 New tests.
3777
8e3b41a9
JK
37782011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 Implement basic support for DW_TAG_GNU_call_site.
3781 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
3782 * gdb.arch/amd64-entry-value.cc: New file.
3783 * gdb.arch/amd64-entry-value.exp: New file.
3784
181cebd4
JK
37852011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
3788 * gdb.dwarf2/implptr-64bit.S: New file.
3789 * gdb.dwarf2/implptr-64bit.exp: New file.
3790
741f5e3c
JK
37912011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3792
3793 Fix initial language detection with -readnow.
3794 * gdb.cp/readnow-language.cc: New file.
3795 * gdb.cp/readnow-language.exp: New file.
3796
a73d2258
JK
37972011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3798
3799 Fix printed anonymous struct name.
3800 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
3801
af369495
JM
38022011-10-09 Joseph Myers <joseph@codesourcery.com>
3803
3804 * gdb.base/solib-symbol.exp: Do not include directories in
3805 filenames in expected messages.
3806
1fa57852
DE
38072011-10-07 Doug Evans <dje@google.com>
3808
3809 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
3810
bd054e06
KP
38112011-10-07 Kevin Pouget <kevin.pouget@st.com>
3812
3813 Allow Python notification of new object-file loadings.
3814 * gdb.python/py-events.exp: Test newobjfile event.
3815 * gdb.python/py-events.py: Register newobjfile callback.
3816 * gdb.python/py-events.c: Add call to shared library
3817 * gdb.python/py-events-shlib.c: New file.
3818
8031b6f8
JM
38192011-10-06 Joseph Myers <joseph@codesourcery.com>
3820
3821 * gdb.base/fixsection.exp: Do not include directories in filename
3822 in expected message.
3823
7fea6923
PM
38242011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3825
3826 Add tests for passing of environment variables to inferior.
3827 * gdb.base/testenv.c: New test source.
3828 * gdb.base/testenv.exp: New expect test.
3829
687f2a88
PK
38302011-10-04 Paul Koning <paul_koning@dell.com>
3831
3832 * gdb.python/py-value.c (main): Break before return.
3833
cb6be26b
KP
38342011-10-04 Kevin Pouget <kevin.pouget@st.com>
3835
3836 PR python/12691: Add the inferior to Python exited event
3837 * gdb.python/py-events.exp: Test the inferior attribute of exited
3838 event with a fork.
3839 * gdb.python/py-events.py: Print inferior number on exit.
3840 * gdb.python/py-events.c: Fork the inferior.
3841
fb213700
EBM
38422011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3843
3844 * gdb.base/jit.exp: Add testcase name to log message
3845
aa2071bd
PK
38462011-10-03 Paul Koning <paul_koning@dell.com>
3847 Jan Kratochvil <jan.kratochvil@redhat.com>
3848
3849 * gdb.python/py-value.exp
3850 (python inval = gdb.parse_and_eval('*(int*)0'))
3851 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
3852 (set argc=2, python print argc_lazy): New tests.
3853
dd11a36c
JB
38542011-10-02 Joel Brobecker <brobecker@adacore.com>
3855
3856 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
3857
46f886f1
JK
38582011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3859 Pedro Alves <pedro@codesourcery.com>
3860
3861 * gdb.python/py-value.exp (test_value_in_inferior): New variable
3862 can_read_0, test for it.
3863 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
3864 (parse_and_eval with memory error): ... here, make it untested if
3865 can_read_0.
3866
c5cb204f
MP
38672011-09-30 Marek Polacek <mpolacek@redhat.com>
3868
3869 * gdb.python/python.exp (verify pagination beforehand)
3870 (verify pagination afterwards): Fix race by splitting the line.
3871
68fb0ec0
JM
38722011-09-29 Joseph Myers <joseph@codesourcery.com>
3873
3874 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
3875 for 64-bit multilibs from i?86-* targets.
3876
6aee0d90
MP
38772011-09-29 Marek Polacek <mpolacek@redhat.com>
3878
3879 * lib/gdb.exp: Fix a typo in one of the comments.
3880
e9101ff5
MP
38812011-09-29 Marek Polacek <mpolacek@redhat.com>
3882
3883 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
3884 matching pattern.
3885
7a81bdbf
PK
38862011-09-28 Paul Koning <paul_koning@dell.com>
3887
3888 * gdb.python/py-type.c (enum E): New.
3889 * gdb.python/py-type.exp (test_fields): Add tests for Python
3890 mapping access to fields.
3891 (test_enums): New test for field access on enums.
3892
6710bf39
SS
38932011-09-27 Stan Shebs <stan@codesourcery.com>
3894
3895 * gdb.trace/collection.exp: Test collection of $_ret.
3896
b2a6bdeb
AT
38972011-09-22 Andreas Tobler <andreast@fgznet.ch>
3898
3899 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
3900 list of compilation switches for <*-*-freebsd*>.
3901
3c9057f3
SS
39022011-09-19 Stan Shebs <stan@codesourcery.com>
3903
3904 * gdb.trace/tspeed.exp: New file.
3905 * gdb.trace/tspeed.c: New file.
3906
34518530
YQ
39072011-09-18 Yao Qi <yao@codesourcery.com>
3908
3909 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
3910 instructions.
3911 (test_adr_32bit, test_pop_pc): Likewise.
3912 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
3913 Thumb instructions.
3914 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
3915 in gdb_test_multiple.
3916 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
3917
ab254057
YQ
39182011-09-17 Yao Qi <yao@codesourcery.com>
3919
3920 * lib/gdb.exp (can_single_step_to_signal_handler): New.
3921 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
3922 support single step to signal handler.
3923
9c317b71
YQ
39242011-09-17 Yao Qi <yao@codesourcery.com>
3925
3926 * gdb.base/disp-step-fork.c: New.
3927 * gdb.base/disp-step-syscall.exp: New.
3928 * gdb.base/disp-step-vfork.c: New.
3929
a8123151
JB
39302011-09-16 Joel Brobecker <brobecker@adacore.com>
3931
3932 * gdb.ada/tasks.exp: Make the expected output for
3933 the `info tasks' tests more resilient to spacing
3934 changes.
3935
63a9aad8
JK
39362011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3937
3938 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
3939 (reached breakpoint 2, reached breakpoint 3): Update expected output.
3940
2aa48337
KP
39412011-09-15 Kevin Pouget <kevin.pouget@st.com>
3942
3943 PR Python/12692 Add gdb.selected_inferior() to Python interface.
3944 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
3945
6839b47f
KP
39462011-04-30 Kevin Pouget <kevin.pouget@st.com>
3947
3948 Handle multiple breakpoint hits in Python interface:
3949 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
3950 presence.
3951 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
3952 breakpoint hits.
3953
0935723e
JK
39542011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
3955 Jan Kratochvil <jan.kratochvil@redhat.com>
3956
3957 * gdb.python/py-events.exp: Remove pretty printing comment.
3958 * gdb.python/py-evsignal.exp: New file.
3959 * gdb.python/py-evthreads.c: Include signal.h.
3960 (thread3): Remove variable count3. Remove variable bad and use raise
3961 instead.
3962 (thread2): Remove variable count2. Move thread3 pthread_create here,
3963 merge pthread_join to a single line.
3964 (main): Remove variable count1. Merge pthread_join with pthread_create
3965 to a single line.
3966 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
3967 KFAIL python/12966 for gdbserver. Test return value of
3968 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
3969 gdb_expect by gdb_test and gdb_test_multiple.
3970 (thread 2, thread 3): New tests.
3971
4801a9a3
PA
39722011-09-12 Matt Rice <ratmice@gmail.com>
3973 Pedro Alves <pedro@codesourcery.com>
3974
3975 PR gdb/13175
3976
3977 * gdb.base/interp.exp: New tests.
3978 * gdb.base/interp.c: New file.
3979
24ece742
DE
39802011-09-12 Doug Evans <dje@google.com>
3981
3982 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
3983 * gdb.dwarf2/typeddwarf.exp: Ditto.
3984
7f062217
JK
39852011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3986
3987 Fix compatibility with x32 arch.
3988 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
3989 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
3990 is_x86_like_target.
3991 * testsuite/gdb.trace/collection.exp: Likewise.
3992 * testsuite/gdb.trace/report.exp: Likewise.
3993 * testsuite/gdb.trace/unavailable.exp: Likewise.
3994 * testsuite/gdb.trace/while-dyn.exp: Likewise.
3995 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
3996 (is_x86_like_target): Check also is_amd64_regs_target.
3997
08711b9a
JK
39982011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3999
4000 PR breakpoints/12435
4001 * gdb.arch/amd64-prologue-xmm.c: New file.
4002 * gdb.arch/amd64-prologue-xmm.exp: New file.
4003 * gdb.arch/amd64-prologue-xmm.s: New file.
4004
b99b5f66
JK
40052011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4006
4007 * gdb.dwarf2/dw2-param-error-main.c: New file.
4008 * gdb.dwarf2/dw2-param-error.S: New file.
4009 * gdb.dwarf2/dw2-param-error.exp: New file.
4010
a391a2f6
PA
40112011-09-08 Pedro Alves <pedro@codesourcery.com>
4012
4013 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
4014 inferior's pid and look for a core dump named core.$pid. Use
4015 `remote_file' commands on the host instead of hand coding shell
4016 commands on the build.
4017 * gdb.base/valgrind-db-attach.exp: Kill the program before
4018 finishing the test.
4019
7d8e6458 40202011-09-02 Matt Rice <ratmice@gmail.com>
4021
4022 * lib/prompt.exp: New file for testing the first prompt.
4023 * gdb.python/py-prompt.exp: Ditto.
4024 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
4025
68e77c9e
PA
40262011-09-02 Pedro Alves <pedro@codesourcery.com>
4027
4028 * gdb.threads/gcore-thread.exp: Set the global core_supported to
4029 0, before testing gcore.
4030
9655e943
JK
40312011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4032
df6dc84d
JK
4033 * dw2-ifort-parameter-debug.S: Update copyright year.
4034 * dw2-ifort-parameter.c: Update copyright year.
4035 * dw2-ifort-parameter.exp: Update copyright year.
4036
9655e943
JK
4037 * dw2-ifort-parameter-debug.S: New file.
4038 * dw2-ifort-parameter.c: New file.
4039 * dw2-ifort-parameter.exp: New file.
4040
353d1d73
JK
40412011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4042
4043 * gdb.base/commands.exp (error_clears_commands_left): New function.
4044 (): Call it.
4045
5c07461a
JK
40462011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4047
4048 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
4049 (C): Initialize `a'.
4050 * gdb.mi/mi-inheritance-syntax-error.exp
4051 (-data-evaluate-expression $path): Expect `a' as 5.
4052
0d932b2f
MK
40532011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
4054
4055 PR mi/11912
4056 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
4057 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
4058 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
4059 keyword in output of -var-info-path-expression.
4060
bdb54049
JK
40612011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4062
4063 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
4064 * gdb.trace/collection.exp: Likewise.
4065 * gdb.trace/report.exp: Likewise.
4066 * gdb.trace/unavailable.exp: Likewise.
4067 * gdb.trace/while-dyn.exp: Likewise.
4068
59cde39c
KS
40692011-08-18 Keith Seitz <keiths@redhat.com>
4070
4071 PR c++/12266
4072 * gdb.cp/meth-typedefs.cc: New file.
4073 * gdb.cp/meth-typedefs.exp: New file.
4074
fa3a4f15
PM
40752011-08-17 Phil Muldoon <pmuldoon@redhat.com>
4076
4077 * gdb.python/python.exp: Add extended-prompt tests.
4078
c1049fca
JK
40792011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4080
4081 * gdb.arch/i386-dr3-watch.exp
4082 (watchpoint on gap1 does not fit debug registers)
4083 (delete all watchpoints): Fix racy expect strings.
4084
d93f7b5c
YQ
40852011-08-14 Yao Qi <yao@codesourcery.com>
4086
4087 * gdb.base/maint.exp: set data_section to ".neardata".
4088 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
4089 * gdb.base/savedregs.exp: Handle SIGILL.
4090 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
4091 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
4092
457e09f0
DE
40932011-08-12 Doug Evans <dje@google.com>
4094
4095 * gdb.python/py-symbol.exp: Add test for symbol.type.
4096
5d0bb2fb
UW
40972011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
4098
4099 * gdb.threads/pthreads.exp: Enable on non-native configurations.
4100 * gdb.mi/mi-pthreads.exp: Likewise.
4101 * gdb.mi/mi2-pthreads.exp: Likewise.
4102 * gdb.mi/gdb669.exp.exp: Likewise.
4103
fcdfa280
PA
41042011-08-09 Pedro Alves <pedro@codesourcery.com>
4105
4106 * lib/mi-support.exp (detect_async): Rename to...
4107 (mi_detect_async): ... this.
4108 * gdb.mi/mi-nonstop-exit.exp: Adjust.
4109 * gdb.mi/mi-nonstop.exp: Adjust.
4110 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
4111 * gdb.mi/mi-nsintrall.exp: Adjust.
4112 * gdb.mi/mi-nsmoribund.exp: Adjust.
4113 * gdb.mi/mi-nsthrexec.exp: Adjust.
4114
9d8fa392
PA
41152011-08-09 Pedro Alves <pedro@codesourcery.com>
4116
4117 * gdb.base/display.c (do_loops): New `p_i' local.
4118 * gdb.base/display.exp: Test displaying a variable that is
4119 temporarily at a bad address.
4120
b6cede78
JK
41212011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4122
4123 * gdb.dwarf2/dw2-op-stack-value.S: New file.
4124 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
4125
67bedb8c
JK
41262011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4127
4128 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
4129 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
4130 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 4131
af6e93b2
PA
41322011-08-05 Pedro Alves <pedro@codesourcery.com>
4133
4134 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
4135 procedure.
4136 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
4137
1cf0e11f
YQ
41382011-08-05 Yao Qi <yao@codesourcery.com>
4139
4140 * gdb.base/callfuncs.exp: Set language after main.
4141 * gdb.cp/cplusfuncs.exp: Likewise.
4142 * gdb.cp/inherit.exp: Likewise.
4143
a1e28cb2
UW
41442011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4145
4146 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
4147 * gdb.base/watch-vfork.exp: Skip on remote targets.
4148
d4f5bbb9
UW
41492011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4150
4151 * gdb.threads/thread-find.exp: Support remote targets.
4152
724f4f80
UW
41532011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4154
4155 * gdb.base/jit.exp: Download solib_binfile to target.
4156 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
4157 and call dlopen without full path name.
4158 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
4159 dlopen without full path name.
4160
934709f0
PW
41612011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4162
4163 * gdb.base/break-always.exp: Complete the test
4164 with duplicated breakpoints and enabling/disabling them.
4165
c26106c4
TT
41662011-08-02 Tom Tromey <tromey@redhat.com>
4167
4168 PR gdb/11289:
4169 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
4170
9300444e 41712011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
4172
4173 PR gdb/13045
4174 * gdb.base/float.exp: Add new test case for PR gdb/13045
4175 * gdb.base/float.c: New file.
4176
00bd41d6
PM
41772011-07-28 Phil Muldoon <pmuldoon@redhat.com>
4178
4179 * gdb.python/py-mi.exp: Test printers returning string hint, and
4180 also not returning a value.
4181 * gdb.python/py-prettyprint.c: Add testcase for above.
4182 * gdb.python/py-prettyprint.py: Add test printer for above.
4183
d24f74ce
JK
41842011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4185
4186 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
4187 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
4188 (.Ldie30) Add as field "data4".
4189 (.Ldie32) Rename field "b" to "shl".
4190 (abbrev4) Change for the "data4" field.
4191 (abbrev5, abbrev6) Remove.
4192 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
4193 (p &s.shl): ... here. Add comment.
4194 (p &s.data4): New.
4195
bb7da2bf
JK
41962011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4197
4198 Fix crash on lval_computed values.
4199 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
4200
11081198
JK
42012011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4202
4203 * gdb.base/help.exp (help whatis): Update the expected string.
4204
3c6e0cb3
JK
42052011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4206
4207 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
4208 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
4209 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
4210 Change the expected string.
4211
efa80663
PA
42122011-07-26 Pedro Alves <pedro@codesourcery.com>
4213
4214 * gdb.base/watchpoint.exp
4215 (test_disable_enable_software_watchpoint): New procedure.
4216 (top level): Run it.
4217
db8e4570
UW
42182011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
4219
4220 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
4221 executable file "${binfile}", C++ version "${binfile}-cxx".
4222 * gdb.python/py-prettyprint.exp: Likewise.
4223 * gdb.python/py-symbol.exp: Likewise.
4224 * gdb.python/py-type.exp: Likewise.
4225 * gdb.python/py-value.exp: Likewise.
4226 * gdb.python/py-template.exp (test_template_arg): Pass full executable
4227 file name instead of just suffix.
4228
543305c9
JK
42292011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4230
4231 Fix implicit pointer offsets.
4232 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
4233 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
4234 (continue to breakpoint: continue to baz breakpoint for implptr)
4235 (sanity check element 0, sanity check element 1)
4236 (enter the inlined function, check element 0 for the offset)
4237 (check element 1 for the offset)
4238 (continue to breakpoint: ignore the second baz breakpoint): New tests.
4239 (set foo breakpoint for implptr): Update the breakpoint number.
4240
b3215adc
UW
42412011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4242
4243 * gdb.python/py-mi.exp: Use different file names for different
4244 versions of the executable under test.
4245 * gdb.python/py-prettyprint.exp: Likewise.
4246 * gdb.python/py-symbol.exp: Likewise.
4247 * gdb.python/py-template.exp: Likewise.
4248 * gdb.python/py-type.exp: Likewise.
4249 * gdb.python/py-value.exp: Likewise.
4250
182b9acc
UW
42512011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4252
4253 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
4254 flag after restarting GDB if necessary.
4255
e6052b5d
UW
42562011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4257
4258 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
4259
1ced966e
PA
42602011-07-22 Pedro Alves <pedro@codesourcery.com>
4261
4262 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
4263 backend doesn't leave used debug registers behind.
4264
3543a589
TT
42652011-07-22 Tom Tromey <tromey@redhat.com>
4266
4267 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
4268 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
4269 argument.
4270 * gdb.dwarf2/typeddwarf-amd64.S: New file.
4271
14d15303 42722011-07-21 Matt Rice <ratmice@gmail.com>
4273
4274 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
4275 in mostlyclean rule. Add files ending in .core.
4276
9b158ba0 42772011-07-21 Matt Rice <ratmice@gmail.com>
4278
4279 PR macros/12999
4280 * gdb.base/info-macros.c: New test sources.
4281 * gdb.base/info-macros.exp: New tests.
4282
d17b6f81
PM
42832011-07-21 Phil Muldoon <pmuldoon@redhat.com>
4284
4285 * gdb.python/python.exp: Add prompt substitution tests.
4286
918dd910
JK
42872011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4288
4289 Fix crash if referenced CU is aged out.
4290 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
4291 New.
4292 * gdb.dwarf2/implptr.exp: Likewise.
4293
0e37a63c
JK
42942011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4295
4296 * gdb.dwarf2/implptr.S: Rebuilt.
4297 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
4298 (bar): Use them for j, k, l.
4299 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
4300 COMPILE.
4301 (print j in implptr:bar): Update for the intp typedef.
4302 (print p[0].x in implptr:foo): Use more exact regex.
4303
f65cf84c
TT
43042011-07-18 Tom Tromey <tromey@redhat.com>
4305
4306 * gdb.cp/static-method.exp: Add missing single quote.
4307
d5b4a7be
YQ
43082011-07-18 Yao Qi <yao@codesourcery.com>
4309
4310 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
4311 supported.
4312 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4313 * gdb.mi/mi-nonstop.exp: Likewise.
4314 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4315 * gdb.mi/mi-nsintrall.exp: Likewise.
4316 * gdb.mi/mi-nsmoribund.exp: Likewise.
4317 * gdb.mi/mi-nsthrexec.exp: Likewise.
4318 * gdb.python/py-evthreads.exp: Likewise.
4319
e9ea2662
JK
43202011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4321
4322 Code cleanup.
4323 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
4324 it. Substitute it instead of test_compiler_info everywhere.
4325
ce451573
UW
43262011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4327
4328 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
4329 remote targets as well.
4330
756d88a7
UW
43312011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4332
4333 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
4334 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
4335
31f83dc5
UW
43362011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4337
4338 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
4339 a remote machine, not the host.
4340 (gdb_compile_shlib): Set soname if target is remote.
4341
059241a0
PP
43422011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4343
4344 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
4345
28a0b48c 43462011-07-13 Matt Rice <ratmice@gmail.com>
4347
4348 * gdb.python/py-objfile-script-gdb.py: Renamed to
4349 py-objfile-script-gdb.py.in.
4350 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
4351 py-objfile-script-gdb.py.
4352 * gdb.python/py-objfile-script.exp: Update reference to
4353 py-objfile-script-gdb.py.
4354
9a771b67
JK
43552011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4356
4357 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
4358 reference undefined label.
4359
04ad99e6
JK
43602011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4361
4362 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
4363 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
4364 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
4365 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
4366
713389e0
PM
43672011-07-11 Phil Muldoon <pmuldoon@redhat.com>
4368
4369 PR python/12438
4370 * gdb.python/python.exp: Add maint set/show python print-stack
4371 deprecated tests. Add set/show python print-backtrace tests.
4372
97d146f8
JK
43732011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4374
4375 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
4376 debug info.
4377
facde0e5 43782011-07-06 Matt Rice <ratmice@gmail.com>
4379
4380 * gdb.python/python.exp: Update filename paths.
4381 * gdb.python/py-symtab.exp: Ditto.
4382
438640d1
MP
43832011-07-06 Marek Polacek <mpolacek@redhat.com>
4384
4385 * gdb.python/py-evthreads.exp: Add missing `$'.
4386
33a365df
MF
43872011-07-06 Jie Zhang <jie.zhang@analog.com>
4388
4389 * config/bfin.exp: New file.
4390 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
4391 * gdb.asm/bfin.inc: New file.
4392
8f7ae686
MP
43932011-07-06 Marek Polacek <mpolacek@redhat.com>
4394
df46027d 4395 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
4396 the whole output.
4397
eb2a6f42
TT
43982011-07-05 Tom Tromey <tromey@redhat.com>
4399
4400 * gdb.java/jprint.java (jprint.hi): New field.
4401 * gdb.java/jprint.exp: Print string.
4402
177b42fe
TJB
44032011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
4404
4405 * gdb.base/call-sc.c: Fix typos.
4406 * gdb.base/ifelse.exp: Likewise.
4407 * gdb.base/structs.c: Likewise.
4408
3b2a0cf2
JB
44092011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4410
4411 * gdb.base/jit-so.exp: New test.
4412 * gdb.base/jit-dlmain.c: New file.
4413 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
4414
46fc714c
JK
44152011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4416
4417 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
4418 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
4419 * gdb.cp/pr9167.exp (p b): Likewise.
4420 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
4421 (test value of P in inner_m, test type of Z in inner_m): Call
4422 setup_xfail for gcc <= 4.5.
46fc714c 4423
418c7cf7
JK
44242011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4425
4426 * gdb.cp/paren-type.cc: New files.
4427 * gdb.cp/paren-type.exp: New files.
4428
3d50dd94
JK
44292011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4430
4431 Stop on first linespec terminator instead of eating what we can.
4432 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
4433 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
4434 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
4435 (break C::f()): ... this one.
4436 (break C::operator()()): New test.
4437 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
4438 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
4439 test.
4440
dcf9f4ab
JK
44412011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4442
4443 Fall back linespec to minimal symbols.
4444 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
4445 error message.
4446 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
4447 * gdb.cp/minsym-fallback-main.cc: New file.
4448 * gdb.cp/minsym-fallback.cc: New file.
4449 * gdb.cp/minsym-fallback.exp: New file.
4450 * gdb.cp/minsym-fallback.h: New file.
4451
3f542ed1
JK
44522011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4453
4454 * gdb.cp/no-dmgl-verbose.cc: New file.
4455 * gdb.cp/no-dmgl-verbose.exp: New file.
4456
44572011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
4458
4459 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
4460 __GI_.
4461 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
4462 (f): New function.
4463 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
4464 (complete p 'func<short>(): ... here.
4465 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
4466 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
4467 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
4468 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
4469 Make them KFAIL gcc/49546.
4470
00eb2c4a
JB
44712011-07-01 Joel Brobecker <brobecker@adacore.com>
4472
4473 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
4474
85a20c42
JK
44752011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4476
4477 Test GCC PR debug/49546.
4478 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
4479 (test type of F in k3_m, test value of F in k3_m): New.
4480 * gdb.cp/temargs.cc (struct S3, struct K3): New.
4481 (main): New variable k3. Call k3.k3_m.
4482
d2d43431
JB
44832011-07-01 Jean-Charles Delay <delay@adacore.com>
4484
4485 * gdb.ada/packed_array.exp: Fix expected outout.
4486
54ae186f
JB
44872011-07-01 Jean-Charles Delay <delay@adacore.com>
4488
4489 * gdb.ada/packed_array.exp: fixed expected output.
4490
8f17729f
JB
44912011-07-01 Joel Brobecker <brobecker@adacore.com>
4492
4493 * gdb.ada/same_enum: New testcase.
4494
f5aa6869
JB
44952011-07-01 Joel Brobecker <brobecker@adacore.com>
4496
4497 * gdb.ada/ptr_typedef: New testcase.
4498
828292f2
JB
44992011-07-01 Joel Brobecker <brobecker@adacore.com>
4500
4501 * gdb.ada/arrayptr.exp: Add ptype test.
4502
18920c42
JB
45032011-07-01 Joel Brobecker <brobecker@adacore.com>
4504
4505 * gdb.ada/char_enum: New testcase.
4506
3536d9e3 45072011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
4508
4509 * gdb.base/dump.exp (capture_pointer_with_type): New.
4510 Get value from address instead of name.
4511 Start GDB once, and do `dump' and `restore'
4512 tests together.
4513
db863c42
MF
45142011-06-30 Jie Zhang <jie.zhang@analog.com>
4515 Mike Frysinger <vapier@gentoo.org>
4516
4517 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
4518 helper functions for getting/setting remotetimeout variable.
4519 * lib/gdb.exp (gdb_load): If the target is remote, set
4520 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
4521 with $loadtimeout. Set $load_ok to 0 before doing the load.
4522 Instead of returning, immediately, set $load_ok to 0. Call
4523 set_remotetimeout with $oldremotetimeout, and then return if
4524 $load_ok is 1.
4525
e9e642a8
AB
45262011-06-30 Andrew Burgess <aburgess@broadcom.com>
4527
4528 * gdb.python/py-template.exp: Don't run this test if the target
4529 does not support c++ tests.
4530
32019081
JK
45312011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4532
4533 Fix non-only rename list for Fortran modules import.
4534 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
4535 tests.
4536 * gdb.fortran/module.f90 (module moduse): New.
4537 (program module): use moduse, test var_x, var_y and var_z.
4538
0ecee54c
TT
45392011-06-29 Tom Tromey <tromey@redhat.com>
4540
4541 PR testsuite/12040:
4542 * gdb.fortran/array-element.exp: Use f90, not f77.
4543 * gdb.fortran/complex.exp: Use f90, not f77.
4544 * gdb.fortran/derived-type.exp: Use f90, not f77.
4545 * gdb.fortran/library-module.exp: Use f90, not f77.
4546 * gdb.fortran/logical.exp: Use f90, not f77.
4547 * gdb.fortran/module.exp: Use f90, not f77.
4548 * gdb.fortran/multi-dim.exp: Use f90, not f77.
4549 * gdb.fortran/subarray.exp: Use f90, not f77.
4550
3b2b8fea
TT
45512011-06-29 Tom Tromey <tromey@redhat.com>
4552
4553 * gdb.fortran/charset.exp: New file.
4554 * gdb.fortran/charset.f90: New file.
4555
42159ca5
TT
45562011-06-29 Tom Tromey <tromey@redhat.com>
4557
4558 PR testsuite/12040:
4559 * lib/future.exp: New file, mostly extracted from ada.exp.
4560 Rewrote compatibility code to use rename.
4561 (gdb_find_gfortran): New proc.
4562 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
4563 gfortran patch.
4564 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
4565 Move to future.exp.
4566 * lib/gdb.exp: Always load future.exp.
4567
af69a5ce
YQ
45682011-06-28 Yao Qi <yao@codesourcery.com>
4569
4570 * gdb.cp/exception.cc: Don't include iostream.
4571 (bar): Remove print statement.
4572 (catcher): New.
4573 (main): Remove print statements. Call function catcher.
4574 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
4575 Set breakpoint on catcher, and check the value of parameter.
4576
ab5c6a72
YQ
45772011-06-23 Yao Qi <yao@codesourcery.com>
4578
4579 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
4580 1.2 is disabled. KFAIL for uclinux.
4581
9497469f
MP
45822011-06-23 Marek Polacek <mpolacek@redhat.com>
4583
4584 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
4585 mi_gdb_test.
4586
b9132588
MP
45872011-06-23 Marek Polacek <mpolacek@redhat.com>
4588
5d197ed0 4589 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 4590
e55595ca
MP
45912011-06-23 Marek Polacek <mpolacek@redhat.com>
4592
5d197ed0
MP
4593 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
4594
45952011-06-23 Marek Polacek <mpolacek@redhat.com>
4596
4597 * gdb.mi/mi2-basics.exp: Fix races. Honour the
4598 `test_exec_and_symbol_mi_operatons' return value.
4599 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4600 gdb_test_multiple.
4601 (test_exec_and_symbol_mi_operatons): Likewise.
4602 (test_path_specification): Likewise.
e55595ca 4603
be777e08
YQ
46042011-06-23 Yao Qi <yao@codesourcery.com>
4605
4606 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
4607 supported.
4608 * lib/gdb.exp (support_displaced_stepping): New.
4609
615556d6
YQ
46102011-06-23 Yao Qi <yao@codesourcery.com>
4611
4612 * gdb.threads/execl.exp: Skip on remote target.
4613
833b0ca7
MP
46142011-06-21 Marek Polacek <mpolacek@redhat.com>
4615
5d197ed0 4616 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
4617 mi_gdb_test.
4618
1ee4023a
MP
46192011-06-20 Marek Polacek <mpolacek@redhat.com>
4620
5d197ed0 4621 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 4622
d0b1d624
MP
46232011-06-20 Marek Polacek <mpolacek@redhat.com>
4624
5d197ed0 4625 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
4626 mi_gdb_test.
4627
79aa92c1
MP
46282011-06-20 Marek Polacek <mpolacek@redhat.com>
4629
5d197ed0 4630 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 4631
5ce5db06
YQ
46322011-06-14 Yao Qi <yao@codesourcery.com>
4633
4634 gdb/testsuite/
4635 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
4636
533a737e
JK
46372011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
4640
d0e53741
TT
46412011-06-10 Tom Tromey <tromey@redhat.com>
4642
4643 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
4644 Add tests for pointer-to-member-function.
4645 * gdb.cp/temargs.cc (S::somefunc): New function.
4646 (K2): New class.
4647 (main): Instantiate K2; call method.
4648
b5916bbd
JB
46492011-06-08 Joel Brobecker <brobecker@adacore.com>
4650
4651 * gdb.python/py-inferior.c (f2): Make str an array rather
4652 than a pointer.
4653 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
4654
5be4dfca
JK
46552011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4656
4657 * gdb.base/async-shell.c: New file.
4658 * gdb.base/async-shell.exp: New file.
4659
9f47e254
PA
46602011-06-06 Pedro Alves <pedro@codesourcery.com>
4661
4662 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
4663
64b9b334
JB
46642011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
4665
4666 From Stephen Kitt <steve@sk2.org>
4667 * gdb.base/help.exp: Adjust following some spelling corrections
4668 in GDB.
4669
dbc0f131
YQ
46702011-06-01 Yao Qi <yao@codesourcery.com>
4671
4672 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
4673
fd336a18
KS
46742010-05-31 Keith Seitz <keiths@redhat.com>
4675
4676 PR c++/12750
4677 * gdb.cp/static-method.cc: New file.
4678 * gdb.cp/static-method.exp: New file.
4679
fa8b9902
KS
46802010-05-31 Keith Seitz <keiths@redhat.com>
4681
4682 PR symtab/12704
4683 * gdb.cp/anon-ns.cc: New file.
4684 * gdb.cp/anon-ns.exp: New file.
4685
0a5b1e09
PA
46862011-05-31 Pedro Alves <pedro@codesourcery.com>
4687
4688 * gdb.arch/i386-dr3-watch.c: New file.
4689 * gdb.arch/i386-dr3-watch.exp: New file.
4690
0578b8d1
YQ
46912011-05-30 Yao Qi <yao@codesourcery.com>
4692
4693 * gdb.base/callfuncs.c (t_structs_fc): New.
4694 (t_structs_dc, t_structs_ldc): New.
4695 (t_double_many_args):
4696 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
4697 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
4698 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
4699 * gdb.base/callfuncs.exp: Call new functions.
4700
6680506e
YQ
47012011-05-30 Yao Qi <yao@codesourcery.com>
4702
ff4d2c60
YQ
4703 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
4704 Call rerun_and_prepare for each test to isolate effects.
4705
47062011-05-30 Yao Qi <yao@codesourcery.com>
4707
4708 * gdb.base/varargs.c (find_max_float_real): New.
4709 (find_max_double_real, find_max_long_double_real): New.
4710 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
4711 * lib/gdb.exp (setup_kfail_for_target): New.
4712
e43ec454
YQ
47132011-05-30 Yao Qi <yao@codesourcery.com>
4714
4715 * gdb.base/funcargs.c (callca, callcb, callcc): New.
4716 (callcd, callce, callcf, callc1a, callc1b): New.
4717 (callc2a, callc2b): New.
4718 * gdb.base/funcargs.exp (complex_args): New.
4719 (complex_integral_args, complex_float_integral_args): New.
4720 * lib/gdb.exp (support_complex_tests): New. Determine
4721 whether to run test cases on _Complex types.
4722
432b4d03
JK
47232011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4724
4725 * gdb.threads/leader-exit.c: New file.
4726 * gdb.threads/leader-exit.exp: New file.
4727
6caf069d
MP
47282011-05-27 Marek Polacek <mpolacek@redhat.com>
4729
9497469f 4730 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 4731
97fce28b
MP
47322011-05-27 Marek Polacek <mpolacek@redhat.com>
4733
4734 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
4735 remove the `supported' variable.
4736 * gdb.mi/mi-nonstop.exp: Likewise.
4737 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4738 * gdb.mi/mi-nsintrall.exp: Likewise.
4739 * gdb.mi/mi-nsmoribund.exp: Likewise.
4740 * gdb.mi/mi-nsthrexec.exp: Likewise.
4741
9da8c2a0
PA
47422011-05-26 Pedro Alves <pedro@codesourcery.com>
4743
4744 * gdb.reverse/finish-reverse-bkpt.exp: New test.
4745
2c03e5be
PA
47462011-05-26 Pedro Alves <pedro@codesourcery.com>
4747
4748 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
4749
2e21250d
KS
47502011-05-24 Keith Seitz <keiths@redhat.com>
4751
4752 PR breakpoint/12803
4753 * gdb.cp/cmpd-minsyms.cc (a): New method.
4754 (b): New method.
4755 (c): New method.
4756 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
4757
cdac0397
PA
47582011-05-24 Pedro Alves <pedro@codesourcery.com>
4759
4760 * gdb.base/commands.exp (watchpoint_command_test): Check that the
4761 watchpoint's command list didn't execute when the watchpoint went
4762 out of scope.
4763
ee5683ab
PM
47642011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
4765
4766 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
4767 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
4768 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
4769 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4770 * gdb.arch/i386-permbkpt.exp: Likewise.
4771 * gdb.arch/i386-prologue.exp: Likewise.
4772 * gdb.arch/i386-size-overlap.exp: Likewise.
4773 * gdb.arch/i386-size.exp: Likewise.
4774 * gdb.arch/i386-unwind.exp: Likewise.
4775 * gdb.reverse/i386-precsave.exp: Likewise.
4776 * gdb.reverse/i386-reverse.exp: Likewise.
4777 * gdb.reverse/i386-sse-reverse.exp: Likewise.
4778 * gdb.reverse/i387-env-reverse.exp: Likewise.
4779 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4780
c91c8c16
PA
47812011-05-24 Pedro Alves <pedro@codesourcery.com>
4782
4783 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
4784 file doesn't error, using MI.
4785
c50491a7
TT
47862011-05-23 Tom Tromey <tromey@redhat.com>
4787
4788 * gdb.base/charset.exp (string_display): Add tests to assign to
4789 arrays.
4790 * gdb.base/charset.c (short_array, int_array, long_array): New.
4791
4a07b7da
PA
47922011-05-20 Pedro Alves <pedro@codesourcery.com>
4793
4794 Cope with async mode.
4795
4a07b7da
PA
4796 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
4797 into gdb_test + mi_expect_stop.
4798
b275f2d2
PA
47992011-05-20 Pedro Alves <pedro@codesourcery.com>
4800
4801 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
4802 (callme): Remove printf call.
4803
eec52c44
PM
48042011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
4805
4806 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
4807 quote pattern to avoid problems with Cygwin/mingw expect versions.
4808 * gdb.base/default.exp (show convenience): Use double
4809 quote pattern for regular expressions.
4810
b3c8eb43
JK
48112011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4812
4813 Fix -readnow for -gdwarf-4 unused type units.
4814 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
4815 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
4816
ed731959
JK
48172011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4818
4819 * gdb.base/kill-after-signal.c: New file.
4820 * gdb.base/kill-after-signal.exp: New file.
4821
3b48433d
PA
48222011-05-16 Pedro Alves <pedro@codesourcery.com>
4823
4824 * gdb.ada/start.exp: Call untested with the correct test filename.
4825 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
4826 test filename. Make the test's binary unique.
4827 * gdb.arch/i386-signal.exp: Call untested with the correct test
4828 filename.
4829 * gdb.arch/i386-size-overlap.exp: Ditto.
4830 * gdb.arch/Makefile.in (EXECUTABLES): Update.
4831 * gdb.base/gcore-buffer-overflow.exp: Ditto.
4832 * gdb.cp/call-c.exp: Ditto.
4833 * gdb.mi/mi-reverse.exp: Call untested with the correct test
4834 filename. Make the test's binary unique.
4835 * gdb.mi/Makefile.in (EXECUTABLES): Update.
4836 * gdb.python/py-mi.exp: Ditto.
4837 * gdb.python/Makefile.in (EXECUTABLES): Update.
4838 * gdb.reverse/i386-precsave.exp: Ditto.
4839 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
4840 test filename.
4841 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4842 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
4843 unique.
4844 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
4845 test filename.
4846 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
4847 * gdb.trace/tfile.exp: Ditto.
4848
ba4a8bdd
YQ
48492011-05-14 Yao Qi <yao@codesourcery.com>
4850
4851 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
4852 type.
4853
dbaefcf7
DE
48542011-05-13 Doug Evans <dje@google.com>
4855
4856 * gdb.python/py-objfile-script.exp: New file.
4857 * gdb.python/py-objfile-script.c: New file.
4858 * gdb.python/py-objfile-script-gdb.py: New file.
4859 * testsuite/gdb.python/py-section-script.exp: Test
4860 "info auto-load-scripts".
4861
9930639c
TT
48622011-05-13 Tom Tromey <tromey@redhat.com>
4863
4864 * gdb.dwarf2/clztest.exp: New file.
4865 * gdb.dwarf2/clztest.c: New file.
4866 * gdb.dwarf2/clztest.S: New file.
4867
05272e11
DE
48682011-05-13 Doug Evans <dje@google.com>
4869
cc63ef9b
DE
4870 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
4871 String16 tests.
05272e11 4872
6edba76f
TT
48732011-05-13 Tom Tromey <tromey@redhat.com>
4874
4875 * lib/gdb.exp (is_x86_like_target): New proc.
4876 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
4877 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
4878 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
4879 -nostdlib to compiler.
4880 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
4881 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
4882 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
4883 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
4884 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
4885
028d0ed5
TJB
48862011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
4887
4888 * gdb.python/py-function.exp: Test setting a value from a function
4889 which executes a command.
4890
8a9b8146
TT
48912011-05-12 Tom Tromey <tromey@redhat.com>
4892
4893 * gdb.dwarf2/typeddwarf.S: New file.
4894 * gdb.dwarf2/typeddwarf.c: New file.
4895 * gdb.dwarf2/typeddwarf.exp: New file.
4896
10483e8e
MP
48972011-05-12 Marek Polacek <mpolacek@redhat.com>
4898
4899 * gdb.mi/mi-basics.exp: Fix races. Honour the
4900 `test_exec_and_symbol_mi_operatons' return value.
4901 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4902 gdb_test_multiple.
4903 (test_exec_and_symbol_mi_operatons): Likewise.
4904 (test_path_specification): Likewise.
4905
faf067f1
JK
49062011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4907
4908 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
4909 (gdb_touch_execfile): Remove catch wrappers. New variable time.
4910 Replace `file copy' and `file rename' by `file mtime'. Twice.
4911
7ff911a3
JK
49122011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 * gdb.base/readline-ask.c: New file.
4915 * gdb.base/readline-ask.exp: New file.
4916 * gdb.base/readline-ask.inputrc: New file.
4917
a536c6d7
UW
49182011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
4919
4920 * gdb.cell/bt.exp: Delete breakpoints before running to signal
4921 to avoid race condition.
4922 * gdb.cell/coremaker.c: Use small stack size.
4923 * gdb.cell/ea-standalone.exp: Use file name without path as
4924 argument to c_to.
4925 * gdb.cell/fork.exp: Allow other output when continuing to end.
4926
d472a426
JK
49272011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4928
4929 * gdb.threads/corethreads.c: New file.
4930 * gdb.threads/corethreads.exp: New file.
4931
49322011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
4933
4934 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
4935 Try to compile the test using -Wl,-z,norelro first.
4936 (load_core): New variable libthread_db_seen, initialize it.
4937 (zeroed-threads cannot be listed): Protect it by XFAIL on
4938 !$libthread_db_seen.
4939
8be455d7
JK
49402011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4941
4942 PR 12573
4943 * gdb.dwarf2/dw2-skip-prologue.S: New file.
4944 * gdb.dwarf2/dw2-skip-prologue.c: New file.
4945 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
4946
1976171a
JK
49472011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4948
4949 * gdb.cp/psymtab-parameter.cc: New file.
4950 * gdb.cp/psymtab-parameter.exp: New file.
4951
7db6f30f
JK
49522011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4953
4954 Fix a race.
4955 * gdb.cp/static-print-quit.exp (print c): Split to ...
4956 (print c - <return>, print c - q <return>, print c - to quit):
4957 ... these. Make the testfile untested on gdb-7.1.
4958
85161e9e 49592011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
4960
4961 * lib/gdb.exp (exec_target_file, exec_symbol_file,
4962 gdb_rename_execfile, gdb_touch_execfile): New.
4963 * gdb.base/reread.exp: Use new procs to handle multiple
4964 exec files.
4965
0c51be18
YQ
49662011-05-05 Yao Qi <yao@codesourcery.com>
4967
4968 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
4969 (test_adr_32bit, test_pop_pc): New.
4970 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
4971 (test_adr_32bit, test_pop_pc): New.
4972
4d393d60
JM
49732011-05-04 Joseph Myers <joseph@codesourcery.com>
4974
4975 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
4976 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
4977 targets.
4978 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
4979 handle targets.
4980
8ffd0459
JK
49812011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4982
4983 * gdb.base/completion.exp (complete help info wat): Rename to ...
4984 (complete 'help info wat'): ... here.
4985 Remove all `-re ".*' and `-re "^.*' redundant regexes.
4986 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
4987
8e28d804
PA
49882011-05-04 Pedro Alves <pedro@codesourcery.com>
4989
4990 * gdb.base/completion.exp: Use gdb_test_multiple instead of
4991 gdb_test and explicit $gdb_prompt/timeout matches.
4992
3eb2ef34
YQ
49932011-05-04 Yao Qi <yao@codesourcery.com>
4994
4995 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
4996 and __thumb2__.
4997
aaaf81a3
MP
49982011-05-03 Marek Polacek <mpolacek@redhat.com>
4999
5000 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
5001 in place of `gdb_test "delete breakpoints"'. This eliminates two
5002 testcases.
5003
c4cbc0df
PA
50042011-05-02 Pedro Alves <pedro@codesourcery.com>
5005
5006 PR testsuite/12649
5007 Fix races.
5008
5009 * gdb.base/completion.exp: Remove all sleep calls. Remove
5010 unnecessary regexs. Don't explicitly expect anything after the
5011 prompt. Eat the prompt if necessary.
5012
b4cbb4a3
EBM
50132011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5014
5015 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
5016 accept to show the caller line again as well as the line after.
5017
d65aec65
PM
50182011-04-29 Phil Muldoon <pmuldoon@redhat.com>
5019
5020 PR mi/12531
5021
5022 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
5023 compile target.
5024 * gdb.python/py-prettyprint.exp: Add C++ object for
5025 CPLUS_FAKE_CHILD test.
5026
30852783
UW
50272011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
5028
5029 * gdb.base/signest.exp: New file.
5030 * gdb.base/signest.c: Likewise.
5031
c7b1f0d9
JK
50322011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5033
5034 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
5035 thread and breakpoint notifications.
5036
559a7a62
JK
50372011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5038
5039 * gdb.base/fortran-sym-case.c: New file.
5040 * gdb.base/fortran-sym-case.exp: New file.
5041 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
5042 * gdb.dwarf2/dw2-case-insensitive.c: New file.
5043 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
5044
8344e389
JK
50452011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5046
5047 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
5048 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
5049 false #1', `if true else false #2' and `if true else false #3'.
5050
2484c66b
UW
50512011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
5052
5053 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
5054 while delivering signal.
5055
8d3788bd
VP
50562011-04-27 Vladimir Prus <vladimir@codesourcery.com>
5057
5058 MI breakpoint notifications.
5059
5060 * testsuite/gdb.mi/mi-cli.exp: Adust.
5061 * testsuite/gdb.mi/mi2-cli.exp: Adust.
5062 * testsuite/gdb.mi/mi-watch.exp: Adust.
5063 * testsuite/gdb.mi/mi2-watch.exp: Adust.
5064 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
5065 notifications.
5066
3e03848b
JK
50672011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5068
5069 * gdb.base/gdbindex-stabs-dwarf.c: New file.
5070 * gdb.base/gdbindex-stabs.c: New file.
5071 * gdb.base/gdbindex-stabs.exp: New file.
5072
918c9108
YQ
50732011-04-25 Yao Qi <yao@codesourcery.com>
5074
5075 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
5076 with /*...*/.
5077 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5078
90556b8c
JK
50792011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5080
5081 * gdb.python/py-value.exp (test_objfiles): Name the first test
5082 `py-value in file.filename'.
5083
03f2bd59
JK
50842011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5085
5086 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
5087 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
5088 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
5089 !gdbserver_reconnect_p..
5090 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
5091
7b08b9eb
JK
50922011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 * gdb.cp/cpcompletion.exp (complete class methods)
5095 (complete class methods beginning with F): Move them above runto. New
5096 comment about the runto delimiter.
5097
b78974c3
PA
50982011-04-20 Pedro Alves <pedro@codesourcery.com>
5099
5100 * gdb.base/maint.exp: Test that "maint print registers" works
5101 without a running program.
5102
20429c40 51032011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 5104
20429c40
MP
5105 * gdb.base/setshow.exp: Fix racy tests.
5106 ($old_gdb_prompt): New variable.
5107
7a9dd1b2
TT
51082011-04-19 Tom Tromey <tromey@redhat.com>
5109
5110 * gdb.mi/mi-nsmoribund.exp:
5111 * gdb.hp/gdb.objdbg/objdbg01.exp:
5112 * gdb.base/structs.exp (test_struct_returns):
5113 * gdb.base/call-sc.exp (test_scalar_returns):
5114 * gdb.base/bigcore.exp: Remove duplicate words.
5115
02835898
JK
51162011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5117
5118 * gdb.base/break-interp-lib.c (v, vptr): New variables.
5119 * gdb.base/break-interp.exp (test_attach): New comment.
5120
254f582e
JK
51212011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5122
5123 * gdb.threads/gcore-thread.exp ($core0file): New variable.
5124 (clear __stack_user.next, clear stack_used.next)
5125 (save a zeroed-threads corefile): New test.
5126 Call core_load for $core0file.
5127 (zeroed-threads cannot be listed): New test.
5128
4fe85f5c
JK
51292011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5130
5131 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
5132 filename.
5133 ($srcfile): Preserve the original value.
5134 ($testfile): Match it the .exp filename.
5135 ($corefile): New variable. Substitute it around.
5136 Use clean_restart.
5137 ($prev_timeout): Remove.
5138 (load_core): Move core loading into this proc.
5139 Fix restore of $timeout if load_core fails.
5140
63524580
JK
51412011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5142
5143 * gdb.base/eu-strip-infcall.c: New file.
5144 * gdb.base/eu-strip-infcall.exp: New file.
5145
90359a16
JK
51462011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5147
5148 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
5149 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
5150
626e7282
JK
51512011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5152
5153 Fix Python access to inlined frames.
5154 * gdb.python/py-frame-inline.c: New file.
5155 * gdb.python/py-frame-inline.exp: New file.
5156
3363d018
EBM
51572011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
5158
5159 * gdb.base/gdb1090.exp: Change breakpoint location to read the
5160 content of 's24' correctly (avoiding "optimized out").
5161 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
5162
28781456
JK
51632011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5164
5165 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
5166
4a4106ca
TJB
51672011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5168
5169 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
5170 expect a colon in watch -location output.
5171
d26ccb4f
JK
51722011-04-13 Marek Polacek <mpolacek@redhat.com>
5173
df46027d 5174 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
5175 New testcase `expect response to define backtrace'. Also remove
5176 redundant `default' block.
5177
e1ab1f9c
JK
51782011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5179
5180 * gdb.python/py-prettyprint.c (struct hint_error): New.
5181 (main): New variable hint_error.
5182 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
5183 "print hint_error".
5184 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
5185 (register_pretty_printers): Register it.
5186
0c2e6019
TT
51872011-04-04 Tom Tromey <tromey@redhat.com>
5188
5189 * gdb.cp/maint.exp (test_help): Update.
5190 (test_namespace): Likewise.
5191
af57139d
JB
51922011-04-01 Joel Brobecker <brobecker@adacore.com>
5193
5194 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
5195 * gdb.ada/arrayptr.exp: Add new tests.
5196
956a9fb9
JB
51972011-04-01 Joel Brobecker <brobecker@adacore.com>
5198
5199 * gdb.ada/mi_catch_ex: New testcase.
5200
d0c4d642
PA
52012011-04-01 Pedro Alves <pedro@codesourcery.com>
5202
5203 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
5204 base::overload(void) method without specifying "const".
5205
18819fa6
UW
52062011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5207
5208 * gdb.arch/thumb-singlestep.S: New file.
5209 * gdb.arch/thumb-singlestep.exp: Likewise.
5210
a4c8e806
TT
52112011-03-31 Tom Tromey <tromey@redhat.com>
5212
5213 * gdb.python/py-prettyprint.py (exception_flag): New global.
5214 (NoStringContainerPrinter._iterator.next): Check it.
5215 * gdb.python/py-prettyprint.c (main): New variable nstype2.
5216 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
5217
53832f31
TT
52182011-03-29 Tom Tromey <tromey@redhat.com>
5219
5220 * gdb.cp/anon-struct.cc: New file.
5221 * gdb.cp/anon-struct.exp: New file.
5222
e4620230
JK
52232011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5224
5225 Test STT_GNU_IFUNC support.
5226 * gdb.base/gnu-ifunc-lib.c: New file.
5227 * gdb.base/gnu-ifunc.c: New file.
5228 * gdb.base/gnu-ifunc.exp: New file.
5229
d0fb5eae
JK
52302011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5231
5232 Support a ring of related breakpoints.
5233 * gdb.base/watchpoint-delete.c: New file.
5234 * gdb.base/watchpoint-delete.exp: New file.
5235
20106cfb
JK
52362011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5237
5238 * gdb.ada/arrayparam.exp (print first after function call): Use
5239 explicit package name. Add a comment
5240 (print lasta after function call): Rename ...
5241 (print last after function call): ... it and use explicit package
5242 name.
5243 (print length after function call): Use explicit package name.
5244 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
5245 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
5246 (multiple matches for symbol i): Rename ...
5247 (multiple matches for symbol integervar): ... it.
5248 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
5249 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
5250
e7ab5e63
AB
52512011-03-25 Andrew Burgess <aburgess@broadcom.com>
5252
5253 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
5254 environment variable to make grep output more predictable. Move
5255 all the environment setup into gdb_init so it's done once per test
5256 case rather than each time we start gdb.
5257
9ef07c8c
TT
52582011-03-24 Tom Tromey <tromey@redhat.com>
5259
5260 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
5261 test.
5262
dd90784c
JK
52632011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5264
5265 * gdb.dwarf2/dw2-entry-value-main.c: New file.
5266 * gdb.dwarf2/dw2-entry-value.S: New file.
5267 * gdb.dwarf2/dw2-entry-value.exp: New file.
5268
05775840
PM
52692011-03-22 Phil Muldoon <pmuldoon@redhat.com>
5270
5271 PR python/12183
5272
5273 * gdb.python/py-function.exp: Add GdbError tests.
5274
8661b11b
PA
52752011-03-18 Pedro Alves <pedro@codesourcery.com>
5276
5277 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
5278 (reglocal_test_func, statlocal_test_func): New functions.
5279 (globals_test_func): Call new functions.
5280 * gdb.trace/unavailable.exp (gdb_collect_args_test)
5281 (gdb_collect_locals_test): New procedure.
5282 (gdb_trace_collection_test): Call new procedures.
5283
0fdb4f18
PA
52842011-03-18 Pedro Alves <pedro@codesourcery.com>
5285
5286 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
5287 (test_register, test_register_unavailable): New procedures.
5288 (gdb_unavailable_registers_test): New procedure.
5289 (gdb_trace_collection_test): Call it.
5290
99c3dc11
PM
52912011-03-18 Phil Muldoon <pmuldoon@redhat.com>
5292
5293 PR python/12149
5294
5295 * gdb.python/python.exp: Add gdb.write tests.
5296
29703da4
PM
52972010-03-17 Phil Muldoon <pmuldoon@redhat.com>
5298
5299 * gdb.python/Makefile.in: Add py-objfile.
5300 * gdb.python/py-objfile.exp: New file.
5301 * gdb.python/py-objfile.c: New file.
5302 * gdb.python/py-block.exp: Add is_valid tests.
5303 * gdb.python/py-inferior.exp: Ditto.
5304 * gdb.python/py-infthread.exp: Ditto.
5305 * gdb.python/py-symbol.exp: Ditto.
5306 * gdb.python/py-symtab.exp: Ditto.
5307
598997c8
KS
53082011-03-16 Keith Seitz <keiths@redhat.com>
5309
5310 PR c++/12273
5311 * gdb.cp/cmpd-minsyms.exp: New test.
5312 * gdb.cp/cmpd-minsyms.cc: New file.
5313
5314 PR c++/11734
5315 * gdb.cp/ovsrch.exp: New test.
5316 * gdb.cp/ovsrch.h: New file.
5317 * gdb.cp/ovsrch1.cc: New file.
5318 * gdb.cp/ovsrch2.cc: New file.
5319 * gdb.cp/ovsrch3.cc: New file.
5320 * gdb.cp/ovsrch4.cc: New file.
5321
c91513d8
PP
53222011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5323
5324 PR gdb/12528
5325 * gdb.base/Makefile.in: Adjust EXECUTABLES.
5326 * gdb.base/break-on-linker-gcd-function.exp: New test.
5327 * gdb.base/break-on-linker-gcd-function.cc: New file.
5328
7470fc63
AT
53292011-03-15 Andreas Tobler <andreast@fgznet.ch>
5330
5331 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
5332
959e7469
PM
53332011-03-15 Phil Muldoon <pmuldoon@redhat.com>
5334
5335 * lib/gdb.exp (gdb_unload): Add another termination case.
5336
9373cf26
JK
53372011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5338
5339 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
5340 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
5341 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
5342 Provide a stub byte there.
5343 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
5344 DW_AT_entry_pc.
5345 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
5346
24e9cda0
UW
53472011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
5348
5349 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
5350 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
5351 "generic ABI, auto".
5352 (altivec_abi_tests): Accept vectors returned by reference.
5353
7371cf6d
PM
53542010-03-14 Phil Muldoon <pmuldoon@redhat.com>
5355
5356 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
5357
ce77046a
UW
53582011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
5359
5360 * gdb.python/py-section-script.exp: Skip test if no Python support.
5361
176400c3
UW
53622011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
5363
5364 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
5365
ecec24e6
PM
53662011-03-10 Phil Muldoon <pmuldoon@redhat.com>
5367
5368 * gdb.python/py-parameter.exp: Update tests to the new Python
5369 parameter API. Add "no documentation" test. Add deprecated API
5370 backward compatibility test.
5371
5dbdd470
TT
53722011-03-09 Tom Tromey <tromey@redhat.com>
5373
5374 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
5375 gdb_continue_to_end.
5376
b66e66ee
MK
53772011-03-09 Mark Kettenis <kettenis@gnu.org>
5378
5379 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
5380 tabs.
5381
eceb0c5f
TT
53822011-03-09 Tom Tromey <tromey@redhat.com>
5383
5384 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
5385 parentheses.
5386 (gdb_continue_to_end): Add "allow_extra" parameter. Use
5387 $command.
5388 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
5389 argument to gdb_continue_to_end.
5390 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
5391 argument to gdb_continue_to_end.
5392 * gdb.cp/annota3.exp: Fix regex.
5393 * gdb.cp/annota2.exp: Fix regex.
5394 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
5395 gdb_continue_to_end.
5396 * gdb.base/call-signal-resume.exp: Revert earlier patch.
5397 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
5398 gdb_continue_to_end.
5399
63154eca
PA
54002011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5401
5402 * gdb.server/ext-run.exp
5403 (load new file without any gdbserver inferior): New test.
5404
967d1f9b
TT
54052011-03-07 Tom Tromey <tromey@redhat.com>
5406
5407 * Makefile.in (TAGS): Rewrite.
5408
d68dcbb9
JK
54092011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5410
5411 * gdb.trace/report.exp (12.1: trace report #1): New match for the
5412 initial commands echo. New match for `Found trace'. Anchor all the
5413 other matches. Anchor and match for `No trace frame found' the final
5414 match.
5415
6bf58e63
TT
54162011-03-07 Tom Tromey <tromey@redhat.com>
5417
5418 * Makefile.in (TAGS): New target.
5419
fda326dd
TT
54202011-03-07 Tom Tromey <tromey@redhat.com>
5421
5422 * lib/opencl.exp (skip_opencl_tests): Update for exit message
5423 change.
5424 * lib/mi-support.exp (mi_gdb_test): Update for exit message
5425 change.
5426 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
5427 exit message change.
5428 (skip_altivec_tests): Update for exit message change.
5429 (skip_vsx_tests): Likewise.
5430 (gdb_continue_to_end): Likewise. Add 'command' argument.
5431 * lib/cell.exp (skip_cell_tests): Update for exit message change.
5432 * gdb.threads/tls.exp: Update for exit message change.
5433 * gdb.threads/thread-unwindonsignal.exp: Use
5434 gdb_continue_to_end.
5435 * gdb.threads/step.exp (step_it): Update for exit message change.
5436 (continue_all): Likewise.
5437 * gdb.threads/print-threads.exp (test_all_threads): Update for
5438 exit message change.
5439 * gdb.threads/interrupted-hand-call.exp: Use
5440 gdb_continue_to_end.
5441 * gdb.threads/execl.exp: Use gdb_continue_to_end.
5442 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
5443 gdb_continue_to_end.
5444 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
5445 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
5446 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
5447 * gdb.cp/method.exp: Update for exit message change.
5448 * gdb.cp/mb-templates.exp: Update for exit message change.
5449 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
5450 * gdb.cp/annota3.exp: Update for exit message change.
5451 * gdb.cp/annota2.exp: Update for exit message change.
5452 * gdb.cell/fork.exp: Use gdb_continue_to_end.
5453 * gdb.base/term.exp: Update for exit message change.
5454 * gdb.base/step-test.exp (test_i): Update for exit message change.
5455 * gdb.base/sigstep.exp (advance): Update for exit message change.
5456 (advancei): Likewise.
5457 * gdb.base/siginfo.exp: Update for exit message change.
5458 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
5459 * gdb.base/reread.exp: Use gdb_continue_to_end.
5460 * gdb.base/langs.exp: Use gdb_continue_to_end.
5461 * gdb.base/interrupt.exp: Update for exit message change.
5462 * gdb.base/gdb1555.exp: Update for exit message change.
5463 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
5464 * gdb.base/ending-run.exp: Update for exit message change.
5465 * gdb.base/chng-syms.exp: Update for exit message change.
5466 * gdb.base/checkpoint.exp: Update for exit message change.
5467 * gdb.base/catch-syscall.exp (check_for_program_end): Use
5468 gdb_continue_to_end.
5469 (test_catch_syscall_with_wrong_args): Likewise.
5470 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
5471 * gdb.base/break-interp.exp (test_ld): Update for exit message
5472 change.
5473 * gdb.base/bang.exp: Update for exit message change.
5474 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
5475 (do_call_attach_tests): Likewise.
5476 * gdb.base/a2-run.exp: Update for exit message change.
5477 * gdb.arch/ppc-dfp.exp: Update for exit message change.
5478 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
5479 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
5480
dd19bd70
JK
54812011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5482
5483 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
5484
30e62689
TT
54852011-03-03 Tom Tromey <tromey@redhat.com>
5486
5487 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
5488 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
5489 * gdb.hp/gdb.aCC/configure.ac: Remove.
5490 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
5491 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
5492 * gdb.hp/gdb.base-hp/configure.ac: Remove.
5493 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
5494 * gdb.hp/gdb.compat/configure (Makefile): Remove.
5495 * gdb.hp/gdb.compat/configure.ac: Remove.
5496 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
5497 * gdb.hp/gdb.defects/configure (Makefile): Remove.
5498 * gdb.hp/gdb.defects/configure.ac: Remove.
5499 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
5500 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
5501 * gdb.hp/gdb.objdbg/configure.ac: Remove.
5502 * gdb.hp/configure.ac: Remove.
5503 * gdb.hp/configure: Remove.
5504 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
5505 substitution.
5506 (Makefile): Remove rule.
5507 * gdb.cell/configure.ac: Remove.
5508 * gdb.cell/configure: Remove.
5509 * gdb.stabs/Makefile.in (Makefile): Remove.
5510 (distclean): Don't remove config.status or config.log.
5511 * gdb.stabs/configure (Makefile): Remove.
5512 * gdb.stabs/configure.ac: Remove.
5513 * configure: Rebuild.
5514 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
5515 Remove stabs- and cell-specific logic. Test for existence of
5516 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
5517 subdirectories, gdb.cell, and and gdb.stabs.
5518 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
5519
c171f854
JB
55202011-03-03 Joel Brobecker <brobecker@adacore.com>
5521
5522 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
5523 end of buffer.
5524
9a5193cb
JB
55252011-03-02 Joel Brobecker <brobecker@adacore.com>
5526
5527 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
5528 gdb_test when running a test where we expected no output back.
5529
9bb4c1bb
MS
55302011-02-28 Michael Snyder <msnyder@vmware.com>
5531
5532 * gdb.cp/overload.cc: Change initializer value to integer.
5533
3bd0f5ef
MS
55342011-02-27 Michael Snyder <msnyder@vmware.com>
5535
5536 * gdb.multi/base.exp: Add test for remove-inferiors.
5537
2279eaad
JB
55382011-02-26 Joel Brobecker <brobecker@adacore.com>
5539
5540 * gdb.python/py-frame.exp: Simplify the initialization phase
5541 using prepare_for_testing.
5542
c82c0b55
MS
55432011-02-25 Michael Snyder <msnyder@vmware.com>
5544
5545 * gdb.multi/base.exp: Add tests for info inferiors with args.
5546
1d94651b
JK
55472011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5548
5549 * gdb.dwarf2/dw2-ranges.S: Rename to ...
5550 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
5551 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
5552 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
5553 asmfile3. Comment the STABS (#3) file compilation. Compile
5554 everything through assembler. Provide KFAIL for symtab/12497.
5555 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
5556 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
5557 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
5558 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
5559
3bd0f5ef
MS
55602011-02-24 Michael Snyder <msnyder@vmware.com>
5561
5562 * gdb.base/break.exp: Add tests for delete breakpoints using
5563 convenience variables and value history references.
5564
12c1418e
MS
55652011-02-24 Michael Snyder <msnyder@vmware.com>
5566
5567 * gdb.base/break.exp: Remove debugging 'printf' accidentally
5568 left behind in previous check-in.
5569
e5a67952
MS
55702011-02-23 Michael Snyder <msnyder@vmware.com>
5571
5572 * gdb.base/break.exp: Add tests for "info break" with arguments.
5573 * gdb.trace/infotrace.exp: Update patterns for error and help.
5574 * gdb.base/completion.exp: Update pattern.
5575 * gdb.base/ena-dis-br.exp: Update pattern.
5576 * gdb.base/help.exp: Update patterns.
5577
55782011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
5579
5580 * gdb.base/memattr.exp: New test.
5581 * gdb.base/memattr.c: Test load for memattr.exp.
5582
6e6fbe60
DE
55832011-02-22 Doug Evans <dje@google.com>
5584
5585 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
5586
1d41d745
MS
55872011-02-22 Michael Snyder <msnyder@vmware.com>
5588
5589 * Makefile.in: Make more clean.
5590 * gdb.ada/Makefile.in: Ditto.
5591 * gdb.arch/Makefile.in: Ditto.
5592 * gdb.asm/Makefile.in: Ditto.
5593 * gdb.base/Makefile.in: Ditto.
5594 * gdb.cp/Makefile.in: Ditto.
5595 * gdb.dwarf2/Makefile.in: Ditto.
5596 * gdb.java/Makefile.in: Ditto.
5597 * gdb.mi/Makefile.in: Ditto.
5598 * gdb.modula2/Makefile.in: Ditto.
5599 * gdb.python/Makefile.in: Ditto.
5600 * gdb.server/Makefile.in: Ditto.
5601 * gdb.stabs/Makefile.in: Ditto.
5602 * gdb.threads/Makefile.in: Ditto.
5603 * gdb.trace/Makefile.in: Ditto.
5604
79ba84ca
MS
56052011-02-22 Michael Snyder <msnyder@vmware.com>
5606
df46027d 5607 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
5608 info threads.
5609
b9b35694
JB
56102011-02-22 Joel Brobecker <brobecker@adacore.com>
5611
5612 * gdb.python/py-breakpoint.exp: Fix the expected output of
5613 one of the "maint info breakpoints" tests to accept the output
5614 generated on platforms that do not have hardware watchpoints.
5615
8bfb830f
JB
56162011-02-22 Joel Brobecker <brobecker@adacore.com>
5617
5618 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
5619 clean_restart. Be a little stricter in the expected output
5620 for one of the tests. Fix a typo in one of the comments.
5621
c45f3c54
JB
56222011-02-22 Joel Brobecker <brobecker@adacore.com>
5623
5624 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
5625 Delete variable binfile, no longer use. Add or modify test
5626 comments to make them unique.
5627
b97c863c
MS
56282011-02-21 Michael Snyder <msnyder@vmware.com>
5629
5630 * Makefile.in: Update for make clean.
5631 * gdb.ada/Makefile.in: Ditto.
5632 * gdb.arch/Makefile.in: Ditto.
5633 * gdb.asm/Makefile.in: Ditto.
5634 * gdb.base/Makefile.in: Ditto.
5635 * gdb.cp/Makefile.in: Ditto.
5636 * gdb.dwarf2/Makefile.in: Ditto.
5637 * gdb.java/Makefile.in: Ditto.
5638 * gdb.mi/Makefile.in: Ditto.
5639 * gdb.modula2/Makefile.in: Ditto.
5640 * gdb.python/Makefile.in: Ditto.
5641 * gdb.server/Makefile.in: Ditto.
5642 * gdb.stabs/Makefile.in: Ditto.
5643 * gdb.threads/Makefile.in: Ditto.
5644 * gdb.trace/Makefile.in: Ditto.
5645
aea5b279
MS
56462011-02-21 Michael Snyder <msnyder@vmware.com>
5647
5648 * gdb.threads/thread-find.exp: Update patterns for changes in
5649 output of "info threads" command.
5650
e3039479
UW
56512011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5652 Ulrich Weigand <uweigand@de.ibm.com>
5653
5654 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
5655 (skip_hw_watchpoint_tests): Likewise.
5656 (skip_hw_watchpoint_multi_tests): Likewise.
5657
b800ec70
UW
56582011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
5659
5660 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
5661 (skip_hw_watchpoint_tests): Likewise.
5662 (skip_hw_watchpoint_multi_tests): Likewise.
5663 (skip_hw_watchpoint_access_tests): Likewise.
5664
5665 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
5666 * gdb.base/pr11022.exp: Likewise.
5667 * gdb.base/watch-read.exp: Likewise.
5668 * gdb.base/watch_thread_num.exp: Likewise.
5669 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5670 * gdb.base/watchpoint-hw.exp: Likewise.
5671 * gdb.base/watchpoint.exp: Likewise.
5672 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
5673 * gdb.threads/watchthreads-reorder.exp: Likewise.
5674 * gdb.threads/watchthreads.exp: Likewise.
5675 * gdb.threads/watchthreads2.exp: Likewise.
5676
91033e37
JB
56772011-02-21 Joel Brobecker <brobecker@adacore.com>
5678
5679 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
5680 the debugger is unable to find the array bounds.
5681
eeaafae2
JK
56822011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5683
5684 * gdb.cp/typedef-operator.exp: New file.
5685 * gdb.cp/typedef-operator.cc: New file.
5686
e338d953
MS
56872011-02-17 Michael Snyder <msnyder@vmware.com>
5688
5689 * gdb.threads/thread-find.exp: Fix regular expressions.
5690
e67ad678
JB
56912011-02-17 Joel Brobecker <brobecker@adacore.com>
5692
5693 * gdb.ada/packed_array: Expand testcase to test printing of
5694 unconstrained packed array.
5695
93084bca
JB
56962011-02-17 Joel Brobecker <brobecker@adacore.com>
5697
5698 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
5699
a0c78a73
PA
57002011-02-16 Pedro Alves <pedro@codesourcery.com>
5701
f65d5553 5702 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
5703 (main): Initialize it before collecting, and and clear it
5704 afterwards.
f65d5553
PA
5705 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5706 collecting with '{type} addr', where the addr expression is not an
5707 rvalue.
a0c78a73 5708
3dfcbbd2
KW
57092011-02-16 Ken Werner <ken.werner@de.ibm.com>
5710
5711 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
5712 a bool variable. Expect correct OpenCL names for vector types. Use the
5713 uc3 variable name instead of referring to the uchar3 built-in type.
5714 Escape the asterisk at the half pointer test.
5715
08807d5a
PA
57162011-02-16 Pedro Alves <pedro@codesourcery.com>
5717
f65d5553 5718 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
5719 (main): Initialize it before collecting, and and clear it
5720 afterwards.
f65d5553
PA
5721 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5722 collecting overlapping memory ranges.
08807d5a 5723
60f98dde
MS
57242011-02-15 Michael Snyder <msnyder@vmware.com>
5725
5726 * gdb.base/default.exp: Add tests for thread commands.
5727 * gdb.base/help.exp: Add tests for thread commands.
5728 * gdb.threads/thread-find.exp: New test for thread find command.
5729
648cd113
KW
57302011-02-15 Ken Werner <ken.werner@de.ibm.com>
5731
5732 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
5733
494e194e
YQ
57342011-02-15 Yao Qi <yao@codesourcery.com>
5735
5736 PR tdep/12352
5737 * gdb.arch/arm-disp-step.S : New test for str instruction.
5738 * gdb.arch/arm-disp-step.exp : Likewise.
5739
d9492458
TJB
57402011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
5741
5742 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
5743 "vector_register2_vr" test strings. Test the extended floating
5744 point registers (F32~F63).
5745 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
5746 IBM XL C compiler. Make the test program use a register provided
5747 by the compiler for the lxvd2x instruction.
5748
8af8e3bc
PA
57492011-02-14 Pedro Alves <pedro@codesourcery.com>
5750
5751 * gdb.trace/unavailable.cc (class Base, class Middle, class
5752 Derived): New types.
5753 (derived_unavail, derived_partial, derived_whole): New globals.
5754 (virtual_partial): New global.
5755 (virtualp): Point at virtual_partial.
5756 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
5757 related to unavailable vptr.
5758
1b28d0b3
PA
57592011-02-14 Pedro Alves <pedro@codesourcery.com>
5760
5761 * gdb.trace/unavailable.cc (a, b, c): New globals.
5762 (main): Set and clear them.
5763 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
5764 `a' and `c', and check that `b' isn't collected, although `a' and
5765 `c' are.
5766
ec0a52e1
PA
57672011-02-14 Pedro Alves <pedro@codesourcery.com>
5768
5769 * gdb.trace/unavailable.cc (struct Virtual): New.
5770 (virtualp): New global pointer.
5771 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
5772 printing a pointer to an object whose type has a vtable, with
5773 print object on.
5774
24e6bcee
PA
57752011-02-14 Pedro Alves <pedro@codesourcery.com>
5776
5777 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
5778 value repeat handles unavailableness.
5779
39d37385
PA
57802011-02-14 Pedro Alves <pedro@codesourcery.com>
5781
5782 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
5783 tests for building arrays from unavailable values, subscripting
5784 non-memory rvalue unvailable arrays, and accessing fields or
5785 baseclasses of non-lazy unavailable values,
5786 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
5787 struct types.
5788 (g_smallstruct, g_smallstruct_b): New globals.
5789
06d72e16
PA
57902011-02-14 Pedro Alves <pedro@codesourcery.com>
5791
5792 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
5793
bc9a5551
JK
57942011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5795
5796 Fix const/volatile qualifiers of C++ types, PR c++/12328.
5797 * gdb.cp/overload-const.exp: New file.
5798 * gdb.cp/overload-const.cc: New file.
5799
54fcddd0
UW
58002011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
5801
5802 * gdb.opencl/callfuncs.cl: New file.
5803 * gdb.opencl/callfuncs.exp: New test.
5804 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
5805
d6dafb7c
UW
58062011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
5807
5808 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
5809 when computing result.
5810 * gdb.arch/altivec-abi.exp: Update expected results.
5811
a449c2d8
TJB
58122011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
5813
5814 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
5815 * gdb.base/jit.exp: Likewise.
5816 * gdb.base/pie-execl.exp: Likewise.
5817 * gdb.base/solib-nodir.exp: Likewise.
5818 * gdb.base/solib-overlap.exp: Likewise.
5819
764880b7
PA
58202011-02-07 Pedro Alves <pedro@codesourcery.com>
5821
5822 * gdb.trace/collection.c (global_pieces): New.
5823 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
5824 New procedure.
5825 (gdb_trace_collection_test): Call it.
5826
505500db
SW
58272011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
5828
5829 * gdb.python/py-evthreads.c: New file.
5830 * gdb.python/py-evthreads.exp: New file.
5831 * gdb.python/py-events.py: New file.
5832 * gdb.python/py-events.exp: New file.
5833 * gdb.python/py-events.c: New file.
5834
385203ed
DD
58352011-02-04 David Daney <ddaney@caviumnetworks.com>
5836
5837 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
5838
9011945e
AB
58392011-02-03 Andrew Burgess <aburgess@broadcom.com>
5840
5841 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
5842 gdb.base/disasm-end-cu.exp: New test for disassembling over the
5843 boundary between two compilation units.
5844
580688f3
PA
58452011-02-02 Pedro Alves <pedro@codesourcery.com>
5846
5847 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
5848 (Virtual): New structs.
5849 (virtual_o, virtual_middle_b): New globals.
5850 * gdb.cp/virtbase.exp: New tests.
5851
d3f0f853
PP
58522011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5853
5854 * gdb.base/jit.exp: New file.
5855 * gdb.base/jit-main.c: New file.
5856 * gdb.base/jit-solib.c: New file.
5857
b2030fb5
UW
58582011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
5859
5860 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
5861 proceed to initial kernel entry point.
5862 * gdb.opencl/datatypes.exp: Likewise.
5863 * gdb.opencl/operators.exp: Likewise.
5864 * gdb.opencl/vec_comps.exp: Likewise.
5865
2db19d1e
SW
58662011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
5867
5868 * gdb.cp/nsnested.cc: New.
5869 * gdb.cp/nsnested.exp: New.
5870 * gdb.cp/nsnoimports.exp: New.
5871 * gdb.cp/nsnoimports.cc: New.
5872
6b0c4c1f
JB
58732011-01-31 Joel Brobecker <brobecker@adacore.com>
5874
5875 * gdb.base/interact.exp: Add extra tests that verify that
5876 the value of the interactive-mode setting does not change
5877 after the script is sourced.
5878
80b23b6a
JK
58792011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5880
5881 * gdb.cp/noparam.exp: New file.
5882 * gdb.cp/noparam.cc: New file.
5883
ffd5ec24
PA
58842011-01-28 Pedro Alves <pedro@codesourcery.com>
5885
5886 * gdb.trace/tfile.exp: Test that with no traceframe selected,
5887 there's no stack or registers.
5888
a81766d8
TT
58892011-01-26 Tom Tromey <tromey@redhat.com>
5890
5891 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
5892 space before string output. Add test for "set print pretty off"
5893 case.
5894
585fdaa1
PA
58952011-01-25 Pedro Alves <pedro@codesourcery.com>
5896
5897 * gdb.base/frame-args.exp: Adjust.
5898 * gdb.dwarf2/dw2-noloc.exp: Adjust.
5899 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
5900 * gdb.dwarf2/pieces.exp: Adjust.
5901 * gdb.opt/clobbered-registers-O2.exp: Adjust.
5902 * gdb.opt/inline-locals.exp: Adjust.
5903 * gdb.threads/fork-child-threads.exp: Adjust.
5904
d468832a
KW
59052011-01-25 Ken Werner <ken.werner@de.ibm.com>
5906
5907 * gdb.opencl/convs_casts.cl: Move program scope variables into the
5908 OpenCL kernel function. Add a comment as marker. Add address space
5909 qualifiers for the remaining program scope variables.
5910 * gdb.opencl/datatypes.cl: Likewise.
5911 * gdb.opencl/operators.cl: Likewise.
5912 * gdb.opencl/vec_comps.cl: Likewise.
5913 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
5914 Add breakpoint at the marker comment.
5915 * gdb.opencl/datatypes.exp: Likewise.
5916 * gdb.opencl/operators.exp: Likewise.
5917 * gdb.opencl/vec_comps.exp: Likewise.
5918
490f124f
PA
59192011-01-24 Pedro Alves <pedro@codesourcery.com>
5920
5921 * gdb.base/printcmds.c (some_struct): New struct and instance.
5922 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
5923 procedure.
5924 <global scope>: Call it.
5925
6da78614
KW
59262011-01-21 Ken Werner <ken.werner@de.ibm.com>
5927
5928 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
5929 argument to the gdb_compile_opencl_hostapp call.
5930
ec64c9aa
YQ
59312011-01-19 Yao Qi <yao@codesourcery.com>
5932
5933 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
5934 positve list.
5935
810cfdbb
YQ
59362011-01-19 Yao Qi <yao@codesourcery.com>
5937
5938 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
5939 canonical form.
5940 Remove "xscale-*-*"
5941 * gdb.xml/tdesc-regs.exp: Likewise.
5942 * gdb.python/py-section-script.exp: Replace ARM target triplet
5943 with canonical form.
5944 Match arm*-*-symbianelf*.
5945 * gdb.base/dup-sect.exp: Likewise.
5946 * lib/dwarf.exp: New.
5947 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
5948 dwarf2_support.
5949 * gdb.dwarf2/dup-psym.exp: Likewise.
5950 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
5951 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5952 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
5953 * gdb.dwarf2/dw2-basic.exp: Likewise.
5954 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5955 * gdb.dwarf2/dw2-const.exp: Likewise.
5956 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
5957 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
5958 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5959 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
5960 * gdb.dwarf2/dw2-filename.exp: Likewise.
5961 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5962 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
5963 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5964 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5965 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
5966 * gdb.dwarf2/dw2-noloc.exp: Likewise.
5967 * gdb.dwarf2/dw2-op-call.exp: Likewise.
5968 * gdb.dwarf2/dw2-producer.exp: Likewise.
5969 * gdb.dwarf2/dw2-ranges.exp: Likewise.
5970 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
5971 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
5972 * gdb.dwarf2/dw2-strp.exp: Likewise.
5973 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
5974 * gdb.dwarf2/implptr.exp: Likewise.
5975 * gdb.dwarf2/mac-fileno.exp: Likewise.
5976 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
5977 * gdb.dwarf2/pieces.exp: Likewise.
5978 * gdb.dwarf2/pr11465.exp: Likewise.
5979 * gdb.dwarf2/valop.exp: Likewise.
5980 * gdb.dwarf2/watch-notconst.exp: Likewise.
5981 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
5982
4694da01
TT
59832011-01-19 Tom Tromey <tromey@redhat.com>
5984
5985 * gdb.python/py-infthread.exp: Add thread tests.
5986
b075872c
JB
59872011-01-14 Joel Brobecker <brobecker@adacore.com>
5988
5989 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
5990
2c3e6e24
JB
59912011-01-14 Joel Brobecker <brobecker@adacore.com>
5992
5993 * gdb.ada/widewide: New testcase.
5994
de8fa76c
JB
59952011-01-13 Joel Brobecker <brobecker@adacore.com>
5996
5997 * gdb.base/interact.exp: New testcase.
5998
1b05df00
TT
59992011-01-12 Tom Tromey <tromey@redhat.com>
6000
6001 * gdb.mi/gdb2549.exp: Update for error message changes.
6002 * gdb.mi/mi-cli.exp: Likewise.
6003 * gdb.mi/mi-disassemble.exp: Likewise.
6004 * gdb.mi/mi-pthreads.exp: Likewise.
6005 * gdb.mi/mi-regs.exp: Likewise.
6006 * gdb.mi/mi-stack.exp: Likewise.
6007 * gdb.mi/mi-var-block.exp: Likewise.
6008 * gdb.mi/mi-var-cmd.exp: Likewise.
6009 * gdb.mi/mi2-cli.exp: Likewise.
6010 * gdb.mi/mi2-disassemble.exp: Likewise.
6011 * gdb.mi/mi2-pthreads.exp: Likewise.
6012 * gdb.mi/mi2-regs.exp: Likewise.
6013 * gdb.mi/mi2-stack.exp: Likewise.
6014 * gdb.mi/mi2-var-block.exp: Likewise.
6015 * gdb.mi/mi2-var-cmd.exp: Likewise.
6016
c2ff108b
JK
60172011-01-12 Andrew Burgess <aburgess@broadcom.com>
6018 Jan Kratochvil <jan.kratochvil@redhat.com>
6019
6020 PR fortran/11104 and DWARF unbound arrays detection.
6021 * gdb.fortran/multi-dim.exp: New file.
6022 * gdb.fortran/multi-dim.f90: New file.
6023
b716877b
AB
60242011-01-12 Andrew Burgess <aburgess@broadcom.com>
6025
6026 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
6027 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
6028 add new tests for opcode dumping.
6029
6c162d5e
TT
60302011-01-11 Tom Tromey <tromey@redhat.com>
6031
6032 * gdb.python/py-infthread.exp: Load gdb-python.exp.
6033
77b06cd7
TJB
60342010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
6035
6036 Convert hardware watchpoints to use breakpoint_ops.
6037 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
6038 type is not supported.
6039 * gdb.base/foll-fork.exp: Likewise.
6040 * gdb.base/foll-vfork.exp: Likewise.
6041
f39a75d0
PM
60422011-01-10 Phil Muldoon <pmuldoon@redhat.com>
6043
6044 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
6045 Use load_lib gdb-python.exp.
6046 * gdb.python/python.exp: Ditto.
6047 * gdb.python/py-function.exp: Ditto.
6048
fc529d80
AS
60492011-01-09 Andreas Schwab <schwab@linux-m68k.org>
6050
6051 * gdb.threads/tls.exp ("info address me"): Fix expected output.
6052
fb03cb59
JK
60532011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6054
6055 * configure: Regenerate.
6056
d8e22779
TT
60572011-01-06 Tom Tromey <tromey@redhat.com>
6058
6059 * gdb.python/py-frame.exp: Test gdb.newest_frame.
6060
09050809
JB
60612011-01-06 Joel Brobecker <brobecker@adacore.com>
6062
fc529d80
AS
6063 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
6064 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
6065 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6066 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
6067 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
6068 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6069 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
6070 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
6071 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
6072 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
6073 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
6074 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
6075 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
6076 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6077 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6078 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
6079 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
6080 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
6081 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6082 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
6083 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
6084 gdb.ada/uninitialized_vars.exp,
6085 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
6086 Simplify by using clean_restart.
09050809 6087
8ed5dd9e
JB
60882011-01-06 Joel Brobecker <brobecker@adacore.com>
6089
6090 Add marker to be used as anchor for inserting breakpoints.
6091 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
6092 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
6093 Likewise.
6094
6095 Remove uses of gdb_start_cmd.
6096 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
6097 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
6098
6099 Do not run testcase if testing with GDBserver.
6100 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
6101 if testing with GDBserver.
6102
368a124f
JB
61032011-01-06 Joel Brobecker <brobecker@adacore.com>
6104
6105 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
6106 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
6107 copyright header.
6108
44944448
JB
61092011-01-05 Joel Brobecker <brobecker@adacore.com>
6110
6111 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
6112 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
6113 testsuite/gdb.fortran/complex.f,
6114 testsuite/gdb.fortran/derived-type.f90,
6115 testsuite/gdb.fortran/library-module-lib.f90,
6116 testsuite/gdb.fortran/library-module-main.f90,
6117 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
6118 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
6119 Copyright year update.
6120
31886ea6
JB
61212011-01-05 Joel Brobecker <brobecker@adacore.com>
6122
6123 * gdb.base/langs1.f: Add copyright header.
6124
ebedcab5
JK
61252011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6126
6127 * gdb.base/morestack.exp: New file.
6128 * gdb.base/morestack.c: New file.
6129
de1eb2f9
JK
61302011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6131
6132 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
6133
9e87a409
JB
61342010-12-29 Joel Brobecker <brobecker@adacore.com>
6135
6136 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
6137 * gdb.ada/arrayptr.exp: Add test printing that new variable.
6138
720d1a40
JB
61392010-12-29 Joel Brobecker <brobecker@adacore.com>
6140
6141 * gdb.ada/lang_switch.exp: Correct expected parameter value.
6142
a283af87
AS
61432010-12-25 Andreas Schwab <schwab@linux-m68k.org>
6144
5d3d9cba
AS
6145 * gdb.threads/tls.exp: Fix typo.
6146
a283af87
AS
6147 * gdb.threads/thread-specific.exp (get_thread_list): Update.
6148 * gdb.threads/execl.exp: Update.
6149
2a20745c
YQ
61502010-12-23 Yao Qi <yao@codesourcery.com>
6151
6152 * gdb.arch/arm-disp-step.exp: New.
6153 * gdb.arch/arm-disp-step.S: New.
6154
a7658b96
TT
61552010-12-21 Tom Tromey <tromey@redhat.com>
6156
6157 * gdb.threads/execl.exp: Update.
6158 * gdb.threads/linux-dp.exp: Update.
6159 * gdb.threads/manythreads.exp: Update.
6160 * gdb.threads/tls.exp: Update.
6161
5b79abe7
TT
61622010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6163
6164 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
6165 (NextOverThrowDerivates) <resumebpt>: New.
6166 (resumebpt_test): New.
6167 (main): Call resumebpt_test.
6168 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
6169
0914bcdb
SS
61702010-12-12 Stan Shebs <stan@codesourcery.com>
6171
6172 * gdb.trace/tsv.exp: Test print command on trace state variables.
6173
305aeedc
TT
61742010-12-09 Tom Tromey <tromey@redhat.com>
6175
6176 * gdb.base/interp.exp: Add regression test.
6177
186c406b
TT
61782010-12-09 Tom Tromey <tromey@redhat.com>
6179
6180 * gdb.java/jnpe.java: New file.
6181 * gdb.java/jnpe.exp: New file.
6182 * gdb.cp/nextoverthrow.exp: New file.
6183 * gdb.cp/nextoverthrow.cc: New file.
6184
aae1c79a
DE
61852010-12-07 Doug Evans <dje@google.com>
6186
6187 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
6188 of data-directory.
6189 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
6190 updated.
6191 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
6192
60f98dde 61932010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
6194
6195 * gdb.base/callfuncs.exp: Test for skip_float_tests.
6196 * gdb.base/call-sc.exp: Ditto.
6197 * gdb.base/finish.exp: Ditto.
6198 * gdb.base/return.exp: Ditto.
6199 * gdb.base/return2.exp: Ditto.
6200
5fa290c1
DE
62012010-11-30 Doug Evans <dje@google.com>
6202
6203 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
6204 (gdb_expect_list): Fix spelling errors in comments.
6205 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
6206 send_gdb/gdb_expect_list where applicable.
6207 * gdb.base/call-ar-st.exp: Ditto.
6208 * gdb.base/funcargs.exp: Ditto.
6209 * gdb.base/gcore.exp: Ditto.
6210 * gdb.base/page.exp: Ditto.
6211 * gdb.base/sigaltstack.exp: Ditto.
6212 * gdb.base/siginfo.exp: Ditto.
6213 * gdb.base/sigstep.exp: Ditto.
6214 * gdb.base/trace-commands.exp: Ditto.
6215
4e04c971
DE
62162010-11-29 Doug Evans <dje@google.com>
6217
6218 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
6219 printer-name;subprinter-name.
6220
8cf6f0b1
TT
62212010-11-29 Tom Tromey <tromey@redhat.com>
6222
6223 * gdb.dwarf2/implptr.exp: New file.
6224 * gdb.dwarf2/implptr.c: New file.
6225 * gdb.dwarf2/implptr.S: New file.
6226
94b6973e
PM
62272010-11-29 Phil Muldoon <pmuldoon@redhat.com>
6228
fc529d80 6229 PR python/12199
94b6973e
PM
6230
6231 * gdb.python/py-breakpoint.exp: Test the delete method.
6232
8358c15c
JK
62332010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6234
6235 Fix step_resume_breakpoint unsaved during an infcall.
6236 * gdb.base/step-resume-infcall.exp: New file.
6237 * gdb.base/step-resume-infcall.c: New file.
6238
f6df29bc
TJB
62392010-11-24 Edjunior Machado <emachado@br.ibm.com>
6240
6241 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
6242
f2b5a5cf
TJB
62432010-11-24 Edjunior Machado <emachado@br.ibm.com>
6244
6245 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
6246 on ppc64's symbols; "finish" and "return" commands must accept to
6247 show the caller line again as well as the line after.
6248 * gdb.asm/powerpc64.inc: New file.
6249
6b0ecdc2
DE
62502010-11-23 Doug Evans <dje@google.com>
6251
6252 * lib/gdb.exp (gdb_test_sequence): New function.
6253 (gdb_expect_list): Add verbose -log call for each pattern.
6254 * gdb.base/signals.exp (test_handle_all_print): Call it.
6255 Reduce timeout increment from 6 minutes to 1 minute.
6256 * gdb.server/ext-run.exp: Call it.
6257
ea976c60
PM
62582010-11-23 Phil Muldoon <pmuldoon@redhat.com>
6259
f2b5a5cf 6260 PR python/12212
ea976c60
PM
6261
6262 * gdb.python/python.exp: Check that selected_thread raises an
6263 error when no inferior is loaded.
6264
c0efa795
JK
62652010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6266
6267 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
6268 * gdb.dwarf2/dw2-stack-boundary.S: New file.
6269
ec3aa567
JK
62702010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6271
6272 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
6273 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
6274
d8249011
DE
62752010-11-18 Doug Evans <dje@google.com>
6276
6277 * gdb.server/ext-run.exp: Fix intermittent failures.
6278
d4eba7d1
NF
62792010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6280
6281 * gdb.stabs/gdb11479.exp: Use runto_main.
6282
b04c2f88
NF
62832010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6284
6285 * gdb.base/break-entry.exp: Skip if using a stub.
6286
ae9d7ce4
NF
62872010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6288
6289 * gdb.python/py-inferior.exp: Pack values in target endianness.
6290
621c8364
TT
62912010-11-12 Tom Tromey <tromey@redhat.com>
6292
6293 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
6294 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
6295 MemoryError.
6296 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
6297 type.
6298 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
6299 MemoryError.
6300 (test_subscript_regression): Update exception type.
6301
84f4c1fe
PM
63022010-11-11 Phil Muldoon <pmuldoon@redhat.com>
6303
6304 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
6305 breakpoint tests.
6306
a1442452
PA
63072010-11-09 Pedro Alves <pedro@codesourcery.com>
6308
6309 * gdb.base/watchpoint.exp: Test "watch -location" with an
6310 innacessible location.
6311
efd11a33
JK
63122010-11-09 Edjunior Machado <emachado@br.ibm.com>
6313 Luis Machado <luisgpm@br.ibm.com>
6314
6315 * gdb.base/maint.exp: Expect "." prefix.
6316 * gdb.base/nodebug.exp: Expect "." Likewise.
6317 * gdb.base/sepsymtab.exp: Expect "." Likewise.
6318 * gdb.base/watchpoint-cond-gone.exp: Likewise.
6319 * gdb.base/watchpoint.exp: Expect a software watch to be created for
6320 POWER server processors.
6321
aa00efb5
JK
63222010-11-08 Edjunior Machado <emachado@br.ibm.com>
6323 Luis Machado <luisgpm@br.ibm.com>
6324
6325 * gdb.base/break-entry.exp: convert entry point for
6326 ppc64 and expect leading `.' on ppc64's symbols
6327
99e7ae30
DE
63282010-11-05 Doug Evans <dje@google.com>
6329
6330 * gdb.base/help.exp: Update expected output.
b521dba8
DE
6331 * gdb.python/py-param.exp: Delete, contents moved to ...
6332 * gdb.python/py-parameter.exp: ... here. New file.
6333 Add test for gdb.parameter ("directories").
99e7ae30 6334
f4b8a18d
KW
63352010-11-05 Ken Werner <ken.werner@de.ibm.com>
6336
6337 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
6338 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
6339 * configure: Regenerate.
6340 * gdb.opencl/Makefile.in: New File.
6341 * gdb.opencl/datatypes.exp: Likewise.
6342 * gdb.opencl/datatypes.cl: Likewise.
6343 * gdb.opencl/operators.exp: Likewise.
6344 * gdb.opencl/operators.cl: Likewise.
6345 * gdb.opencl/vec_comps.exp: Likewise.
6346 * gdb.opencl/vec_comps.cl: Likewise.
6347 * gdb.opencl/convs_casts.exp: Likewise.
6348 * gdb.opencl/convs_casts.cl: Likewise.
6349 * lib/opencl.exp: Likewise.
6350 * lib/opencl_hostapp.c: Likewise.
6351 * lib/opencl_kernel.cl: Likewise.
6352 * lib/cl_util.c: Likewise.
6353 * lib/cl_util.c: Likewise.
6354 * gdb.base/default.exp (set language): Add "opencl" to the list of
6355 languages.
6356
a9d5ef47
SW
63572010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
6358
6359 * gdb.cp/overload.exp: Added test for inheritance overload.
6360 * gdb.cp/overload.cc: Ditto.
6361 * gdb.cp/oranking.exp: Removed releveant kfails.
6362
03eb1c79
JK
63632010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6364 Joel Brobecker <brobecker@adacore.com>
6365
6366 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
6367 check test_compiler_info.
6368
dbc98a8b
KW
63692010-11-03 Ken Werner <ken.werner@de.ibm.com>
6370
6371 * gdb.base/gnu_vector.exp: Adjust expect messages.
6372
120bd360
KW
63732010-11-03 Ken Werner <ken.werner@de.ibm.com>
6374
6375 * gdb.base/gnu_vector.exp: Add unary operator tests.
6376
c37f7098
KW
63772010-11-03 Ken Werner <ken.werner@de.ibm.com>
6378
6379 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
6380
7b51bc51
DE
63812010-11-02 Doug Evans <dje@google.com>
6382
6383 * gdb.python/py-pp-maint.c: New file.
6384 * gdb.python/py-pp-maint.exp: New file.
6385 * gdb.python/py-pp-maint.py: New file.
6386
50c97f38
TT
63872010-11-02 Tom Tromey <tromey@redhat.com>
6388
6389 * gdb.base/default.exp: Remove "scheme" from language list.
6390
a289b8f6
JK
63912010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6392
6393 Revert:
6394 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6395 * gdb.threads/sigstep-threads.exp: New file.
6396 * gdb.threads/sigstep-threads.c: New file.
6397
cd017491
MS
63982010-10-20 Michael Snyder <msnyder@vmware.com>
6399
6400 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
6401
8e6a5956
UW
64022010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6403
6404 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
6405 Skip test completely if gdb,no_hardware_watchpoints.
6406
2c04da0d
UW
64072010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6408
6409 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
6410 strict, but do not check for any particular function name within libc.
6411
79afc5ef
SW
64122010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6413
6414 * gdb.cp/smartp.exp: New test.
6415 * gdb.cp/smartp.cc : New test.
6416
026ffab7
SW
64172010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6418
6419 * gdb.cp/converts.exp: Test pointer to bool conversion.
6420 Test pointer to long conversion.
6421 * gdb.cp/oranking.exp: Removed relevant kfail.
6422
3a772aa4
TT
64232010-10-18 Tom Tromey <tromey@redhat.com>
6424
6425 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
6426 argument to lazy_string.
6427 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
6428 (pp_ls.to_string): Use it.
6429 * gdb.python/py-prettyprint.c (main): Move declarations to top.
6430 Add "estring2" local.
6431
5fc3827b
JK
64322010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6433
6434 Fix s390x compatibility.
6435 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
6436 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
6437
8aeb23f3
JK
64382010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6439
6440 * gdb.threads/sigstep-threads.exp: New file.
6441 * gdb.threads/sigstep-threads.c: New file.
6442
c1e56572
JK
64432010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6444
6445 * gdb.base/pie-execl.exp: New file.
6446 * gdb.base/pie-execl.c: New file.
6447
92163a10
JK
64482010-10-13 Doug Evans <dje@google.com>
6449 Jan Kratochvil <jan.kratochvil@redhat.com>
6450
6451 PR exp/12117
6452 * gdb.cp/ptype-cv-cp.cc: New file.
6453 * gdb.cp/ptype-cv-cp.exp: New file.
6454
7062b0a0
SW
64552010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
6456
6457 * gdb.cp/converts.cc: New test program.
6458 * gdb.cp/converts.exp: New test.
6459 * gdb.cp/overload.exp: Added test for void* vs int*.
6460 * gdb.cp/overload.exp: Ditto.
6461 * gdb.cp/oranking.exp: Removed related kfail.
6462
0e3509db
DE
64632010-10-13 Doug Evans <dje@google.com>
6464
6465 * lib/gdb-python.exp (gdb_check_python_config): New function.
6466 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
6467 * gdb.python/lib-types.cc: New file.
6468 * gdb.python/lib-types.exp: New file.
6469
8dc78533
JK
64702010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6471
6472 * gdb.python/py-error.exp: New file.
6473 * gdb.python/py-error.py: New file.
6474
93c17e06
JK
64752010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6476
6477 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
6478 gdb_test_multiple.
6479
d8b34041
JK
64802010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6481
6482 * gdb.base/break-interp.exp: Use ldlags for linking flags.
6483 * gdb.base/prelink.exp: Likewise.
6484 * gdb.base/solib-nodir.exp: Likewise.
6485 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
6486 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
6487 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
6488
e0cc584e
UW
64892010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
6490
6491 * break-interp.exp (test_ld): Use two separate gdb_expect statements
6492 for the "info files" test to avoid timeouts on slow machines.
6493
cfc353b1
JK
64942010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6495
6496 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
6497 (main): Make openlib dummy call.
6498
d3d7896d
JK
64992010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6500
6501 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
6502 * break-interp.exp (reach): Move the core body ...
6503 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
6504 (test_ld): Provide always real argument, even to the linker. Replace
6505 dl_main by _dl_debug_state.
6506
5e533c94
JK
65072010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6508
6509 Fix results of prelinked PIEs on ppc*.
6510 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
6511 Accept also DISPLACEMENT "PRESENT".
6512 (main): Replace "ZERO" displacements by "PRESENT".
6513
33540610
SW
65142010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
6515
6516 * gdb.cp/oranking.exp: New test.
6517 * gdb.cp/oranking.cc: New test program.
6518
3bdf2bbd
KW
65192010-10-08 Ken Werner <ken.werner@de.ibm.com>
6520
6521 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
6522 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
6523
2f608a3a
KW
65242010-10-06 Ken Werner <ken.werner@de.ibm.com>
6525
6526 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
6527 lush, lynx) New constant.
6528 * gdb.base/constvars.exp: Test const array types.
6529 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
6530
aa2e2d8d
DE
65312010-10-06 Doug Evans <dje@google.com>
6532
6533 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
6534 of syscall staging area.
6535
2844d6b5
KW
65362010-10-06 Ken Werner <ken.werner@de.ibm.com>
6537
6538 * gdb.base/gnu_vector.c: Add variable c4.
6539 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
6540 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
6541
7d8ac8bb
MR
65422010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
6543
6544 * gdb.arch/altivec-abi.exp: Fix a typo.
6545
84a02e58
MR
65462010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
6547
6548 * lib/mi-support.exp (thread_selected_re): Correct pattern used
6549 to match a thread ID.
6550
b18e6318
JK
65512010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6552
6553 Fix s390x testcase compatibility.
6554 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
6555
a2c09bd0
DE
65562010-10-01 Doug Evans <dje@google.com>
6557
6558 * lib/gdb-python.exp: New file.
6559 * gdb.python/py-block.exp: Use it.
6560 * gdb.python/py-breakpoint.exp: Ditto.
6561 * gdb.python/py-frame.exp: Ditto.
6562 * gdb.python/py-inferior.exp: Ditto.
6563 * gdb.python/py-param.exp: Ditto.
6564 * gdb.python/py-prettyprint.exp: Ditto.
6565 * gdb.python/py-shared.exp: Ditto.
6566 * gdb.python/py-symbol.exp: Ditto.
6567 * gdb.python/py-symtab.exp: Ditto.
6568 * gdb.python/py-type.exp: Ditto.
6569 * gdb.python/py-value.exp: Ditto.
6570 * gdb.python/python.exp: Ditto.
6571
38f12cfc
TT
65722010-09-30 Tom Tromey <tromey@redhat.com>
6573
6574 * gdb.base/anon.exp: New file.
6575 * gdb.base/anon.c: New file.
6576
9ae8282d
TT
65772010-09-30 Tom Tromey <tromey@redhat.com>
6578
6579 * gdb.base/completion.exp: Test completion through anonymous
6580 union.
6581 * gdb.base/break1.c (struct some_struct): Add anonymous union.
6582
e9e07ba6
JK
65832010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6584
6585 Fix printing parameters of inlined functions.
6586 * gdb.dwarf2/dw2-inline-param.exp: New file.
6587 * gdb.dwarf2/dw2-inline-param-main.c: New file.
6588 * gdb.dwarf2/dw2-inline-param.S: New file.
6589
cd2effb2
JK
65902010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6591
6592 PR corefiles/12071.
6593 * gdb.base/corefile.exp (quit with a process, no question: load core)
6594 (quit with a core file): New tests.
6595
bceffbf3
JK
65962010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6597
6598 Fix GDB crash on inferior calls with self-referencing classes.
6599 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
6600 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
6601 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
6602
1736ad11
JK
66032010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6604
6605 Fix lost siginfo_t for inferior calls.
6606 * gdb.base/siginfo-infcall.exp: New file.
6607 * gdb.base/siginfo-infcall.c: New file.
6608
a176ad92
JB
66092010-09-22 Joel Brobecker <brobecker@adacore.com>
6610
6611 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
6612
c2b0a229
JK
66132010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6614
6615 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
6616 New test.
6617 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
6618
e8ae22d1
JB
66192010-09-22 Joel Brobecker <brobecker@adacore.com>
6620
6621 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
6622 type of our const type.
6623
ec322823
SW
66242010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
6625
6626 * gdb.cp/pr12028.cc: New.
6627 * gdb.cp/pr12028.exp: New.
6628
72929c62
JB
66292010-09-22 Joel Brobecker <brobecker@adacore.com>
6630
6631 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
6632
875b4ff5 66332010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 6634 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
6635
6636 PR mi/11407
6637 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
6638 * gdb.mi/dw2-ref-missing-frame-main.c New File.
6639 * gdb.mi/dw2-ref-missing-frame.S New File.
6640 * gdb.mi/dw2-ref-missing-frame.exp New File.
6641
7155d578
TT
66422010-09-14 Tom Tromey <tromey@redhat.com>
6643
6644 PR symtab/8399:
6645 * gdb.threads/tls.exp: Remove kfail. Update expected output.
6646
515ed532
TT
66472010-09-14 Tom Tromey <tromey@redhat.com>
6648
6649 PR exp/11803:
6650 * gdb.threads/tls.exp: Use C++.
6651 (check_thread_local): Use K::another_thread_local.
6652 * gdb.threads/tls.c (class K): New.
6653 (another_thread_local): Now a member of K.
6654 (spin): Update. No longer K&R C.
6655
450ca57c
SW
66562010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6657
6658 * gdb.cp/koenig.cc: created class for testing member lookup.
6659 * gdb.cp/koenig.exp: Added test for member lookup.
6660
dbd492a3
JK
66612010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6662
6663 Fix false FAILs on sourcetree topdir directory containing "kill".
6664 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
6665 source line matching regexp.
6666
8d4d924b
JK
66672010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6668
6669 * gdb.python/python.exp (set height 0, collect help from uiout)
6670 (verify help to uiout): New tests.
6671
8e64f2a0
JK
66722010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6673
6674 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
6675 is_lp64_target to check 64bit target.
6676
4569eed2
JK
66772010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6678
6679 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
6680 (test_ld) <powerpc64-*>: New.
6681
5e1617b1
DJ
66822010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6683
6684 * gdb.cp/templates.exp (test_template_args): Allow "struct".
6685
c767944b
DJ
66862010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6687
6688 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
6689 (FunctionArg::method): New function.
6690 (empty, arg): New variables.
6691 (main): Call arg.method.
6692 * gdb.cp/templates.exp (test_template_args): New function.
6693 (do_tests): Call it.
6694
27d3a3fc
UW
66952010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6696
6697 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
6698 of "next" to proceed over pthread_exit call.
6699
55b7ce7f
UW
67002010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6701
6702 * gdb.base/maint.exp: Avoid wildcards against potentially very long
6703 "maint print statistics" output to prevent expect timeouts.
6704
809df446
JK
67052010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6706
6707 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
6708 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6709 (test_float_rejected): ... here.
6710 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
6711 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6712 (test_float_rejected): ... here.
6713 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
6714 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6715 (test_float_rejected): ... here.
6716 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
6717 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6718 (test_float_rejected): ... here.
6719
8464be76
DJ
67202010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6721
6722 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
6723 before disabling hardware watchpoints.
6724 (test_inaccessible_watchpoint): Check that hardware watchpoints
6725 are used. Test for watchpoints on a constant address.
6726
14dba4b4
JK
67272010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6728
6729 * gdb.base/ui-redirect.exp: New file.
6730
3f3540e1 67312010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 6732 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
6733
6734 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
6735
0f254bb7
DE
67362010-08-31 Doug Evans <dje@google.com>
6737
6738 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
6739
03f17ccf
TT
67402010-08-30 Tom Tromey <tromey@redhat.com>
6741
6742 PR python/11792:
6743 * gdb.python/py-value.exp (test_subscript_regression): Add
6744 dynamic_type test.
6745
640617ad
DJ
67462010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
6747
6748 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
6749 instead of running to main. Do not test the main function.
6750 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
6751 Add new main.
6752
2ed91d1b
PA
67532010-08-26 Pedro Alves <pedro@codesourcery.com>
6754
6755 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
6756 one test.
6757
673bfd45
DE
67582010-08-24 Doug Evans <dje@google.com>
6759
6760 PR symtab/11942
6761 * gdb.dwarf2/dw4-sig-types.cc: New file.
6762 * gdb.dwarf2/dw4-sig-types.h: New file.
6763 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
6764 * gdb.dwarf2/dw4-sig-types.exp: New file.
6765
f9ffd4bb
TT
67662010-08-23 Tom Tromey <tromey@redhat.com>
6767
6768 PR python/11145:
6769 * gdb.python/py-value.c (Base, Derived): New types.
6770 (base): New global.
6771 * gdb.python/py-value.exp (test_subscript_regression): Add
6772 dynamic_cast test.
6773
d839c8a4
TT
67742010-08-23 Tom Tromey <tromey@redhat.com>
6775
6776 PR python/10676:
6777 * gdb.python/py-type.exp (test_fields): Add tests for type
6778 equality.
6779
702c2711
TT
67802010-08-23 Tom Tromey <tromey@redhat.com>
6781
6782 PR python/11915:
6783 * gdb.python/py-type.exp (test_fields): Add tests for array.
6784
832bafd3
KS
67852010-08-23 Keith Seitz <keiths@redhat.com>
6786
6787 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
6788 have any children. Create a new abbrev for it.
6789 Add missing terminal sequence to .debug_abbrev.
6790
c37bf528
KS
67912010-08-20 Keith Seitz <keiths@redhat.com>
6792
6793 PR symtab/11465:
6794 * gdb.dwarf2/pr11465.exp: New test.
6795 * gdb.dwarf2/pr11465.S: New file.
6796 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
6797 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
6798
4572cbac
TJB
67992010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
6800
6801 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
6802 registers. Update data sets with the new v2_double element in the
6803 VSX register union. Add vector_register3_vr data set for the AltiVec
6804 registers. Use gdb_test_no_output instead of send_gdb.
6805
e7fbb131
PA
68062010-08-19 Pedro Alves <pedro@codesourcery.com>
6807
6808 * gdb.python/py-shared.exp: New file, factored out from
6809 python.exp.
6810 * gdb.python/py-shared.c: New file.
6811 * gdb.python/py-shared-sl.c: New file.
6812 * gdb.python/python-1.c: New file.
6813 * gdb.python/python-sl.c: Delete.
6814 * gdb.python/python.c: Mention python-1.c.
6815 * gdb.python/python.exp: Move shared library tests to
6816 py-shared.exp.
6817 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
6818 (MISCELLANEOUS): New.
6819 (clean mostlyclean): Also remove $MISCELLANEOUS.
6820
d30f5e1f
DE
68212010-08-19 Doug Evans <dje@google.com>
6822
6823 PR exp/11926
6824 * gdb.base/printcmds.exp (test_float_accepted): New function.
6825 Move existing float tests there. Add tests for floats with suffixes.
6826 (test_float_rejected): New function.
6827 * gdb.java/jv-print.exp (test_float_accepted): New function.
6828 (test_float_rejected): New function.
6829 * gdb.objc/print.exp: New file.
6830 * gdb.pascal/print.exp: New file.
6831 * lib/objc.exp: New file.
6832
7b3fd859
PM
68332010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
6834
6835 * gdb.base/default.exp (info set): Avoid full buffer error and force
6836 reading up to final gdb prompt.
6837 (show): Likewise.
6838
c92817ce
TT
68392010-08-18 Tom Tromey <tromey@redhat.com>
6840
6841 PR symtab/11919:
6842 * gdb.base/completion.exp: Add test.
6843
f1208f9e
DE
68442010-08-18 Doug Evans <dje@google.com>
6845
6846 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
6847 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
6848 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
6849 Simplify, early exit if runto_main fails.
6850 * gdb.fortran/exprs.exp: load_lib fortran.exp.
6851 (set_lang_fortran): Moved to lib/fortran.exp.
6852 * gdb.fortran/types.exp: load_lib fortran.exp.
6853 (set_lang_fortran): Moved to lib/fortran.exp.
6854 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
6855 * gdb.java/jprint.exp (set_lang_java): Ditto.
6856 * gdb.java/jv-exp.exp: load_lib java.exp.
6857 If set_lang_java fails, issue a warning instead of failure to be
6858 consistent with other set_lang_foo uses.
6859 (set_lang_java): Moved to lib/java.exp.
6860 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
6861 If set_lang_java fails, issue a warning instead of failure to be
6862 consistent with other set_lang_foo uses.
6863 * gdb.pascal/types.exp: load_lib pascal.exp.
6864 (set_lang_pascal): Moved to lib/pascal.exp.
6865 * lib/fortran.exp: New file.
6866 * lib/java.exp (set_lang_java): New function.
6867 * lib/pascal.exp (set_lang_pascal): New function.
6868
2f06b485
YQ
68692010-08-18 Yao Qi <yao@codesourcery.com
6870
6871 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
6872 func_nofb_start and func_loopfb_start, so that address of functions
6873 is equal to these labels on Thumb.
6874
96e25403
YQ
68752010-08-18 Yao Qi <yao@codesourcery.com>
6876
6877 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
6878 to reflect latest c source file.
6879
36e6adc4
JK
68802010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6881
6882 * gdb.cp/infcall-dlopen.exp: New file.
6883 * gdb.cp/infcall-dlopen.cc: New file.
6884 * gdb.cp/infcall-dlopen-lib.cc: New file.
6885
f431efe5
PA
68862010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6887 Pedro Alves <pedro@codesourcery.com>
6888
6889 PR breakpoints/11371
6890
6891 * gdb.base/watch-cond-infcall.exp: New file.
6892 * gdb.base/watch-cond-infcall.c: New file.
6893
06a64a0b
TT
68942010-08-16 Tom Tromey <tromey@redhat.com>
6895
6896 * gdb.base/help.exp: Update.
6897 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
6898 watchpoint.
6899 (test_watch_location): New proc.
6900 (test_watchpoint_in_big_blob): Delete watchpoint.
6901 * gdb.base/watchpoint.c (func5): New function.
6902 (main): Call it.
6903
70ebf4ed
DE
69042010-08-16 Doug Evans <dje@google.com>
6905
6906 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
6907
ca5c20b6
PM
69082010-08-11 Phil Muldoon <pmuldoon@redhat.com>
6909
6910 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
6911 tests.
6912
7346b668
KW
69132010-08-11 Ken Werner <ken.werner@de.ibm.com>
6914
6915 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
6916 * gdb.base/gnu_vector.c: New File.
6917 * gdb.base/gnu_vector.exp: Likewise.
6918
cb2e07a6
PM
69192010-08-11 Phil Muldoon <pmuldoon@redhat.com>
6920
6921 * gdb.python/python.c: New File.
6922 * gdb.python/python-sl.c: New File.
6923 * gdb.python/python.exp: Test solib_address and decode_line
6924 * functions.
6925
5da1313b
JK
69262010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6927
6928 * gdb.python/python.exp (show height, set height 10)
6929 (verify pagination beforehand, verify pagination beforehand: q)
6930 (gdb.execute does not page, verify pagination afterwards)
6931 (verify pagination afterwards: q): New.
6932
49c3ccf7
DE
69332010-08-02 Doug Evans <dje@google.com>
6934
6935 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
6936 because of an older gcc, change test2
6937 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
6938 to unsupported.
6939
42c0c4f1
KH
69402010-07-30 Kazu Hirata <kazu@codesourcery.com>
6941
6942 * gdb.base/break-always.exp: Do not expect full paths to file
6943 names.
6944 * gdb.base/commands.exp: Likewise.
6945
d3765805
DE
69462010-07-30 Doug Evans <dje@google.com>
6947
c98ee71b
DE
6948 * gdb.cp/temargs.exp: For new tests that require newer gccs,
6949 xfail them when run with older gccs.
6950
fd961404
DE
6951 * lib/gdb.exp (build_executable): Forward "c++" option to
6952 get_compiler_info.
6953
999adef4
DE
6954 * gdb.python/py-type.exp (test_template): Mark as xfail tests
6955 "python print ttype.template_argument(1)" and
6956 "python print isinstance(ttype.template_argument(1), gdb.Value)"
6957 if using gcc 4.4 or earlier.
6958
d3765805
DE
6959 * gdb.base/valgrind-db-attach.exp: Use unique test name for
6960 attach-to-debugger handling.
6961
1276c759
JK
69622010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6963
6964 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
6965 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
6966 (main): Use copyreloc.
6967 * gdb.base/prelink.exp (split debug of executable)
6968 (.dynbss vs. .bss address shift): New tests.
6969
88caa9b9
PA
69702010-07-29 Pedro Alves <pedro@codesourcery.com>
6971
6972 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
6973 in gdb_test_multiple.
6974
c6f2ac43
PA
69752010-07-29 Pedro Alves <pedro@codesourcery.com>
6976
6977 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
6978 environment.
6979
326fd672
TT
69802010-07-28 Tom Tromey <tromey@redhat.com>
6981
6982 PR python/11060:
6983 * gdb.python/py-type.c (Temargs): New template.
6984 (temvar): New variable.
6985 * gdb.python/py-type.exp (test_template): New proc.
6986
3ce3b1ba
PA
69872010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6988
6989 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
6990 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
6991
34eaf542
TT
69922010-07-28 Tom Tromey <tromey@redhat.com>
6993
6994 PR c++/9946:
6995 * gdb.cp/temargs.exp: New file.
6996 * gdb.cp/temargs.cc: New file.
6997
d41b819e
JK
69982010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6999
7000 * gdb.base/help.exp (help disassemble): Update the content.
7001
26ab7092
JK
70022010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7003
7004 * gdb.threads/ia64-sigill.exp: New file.
7005 * gdb.threads/ia64-sigill.c: New file.
7006
5283e9e1
TT
70072010-07-27 Tom Tromey <tromey@redhat.com>
7008
7009 * gdb.opt/inline-cmds.c (ATTR): New define.
7010 (func1): Use it.
7011 (func2): Likewise.
7012 (func3): Likewise.
7013 (outer_inline1): Likewise.
7014 (outer_inline2): Likewise.
7015 * gdb.opt/inline-bt.c (ATTR): New define.
7016 (func1): Use it.
7017 (func2): Likewise.
7018 * gdb.opt/inline-locals.c (ATTR): New define.
7019 (func1): Use it.
7020 (func2): Likewise.
7021
e992ef73
TT
70222010-07-27 Tom Tromey <tromey@redhat.com>
7023
7024 * gdb.stabs/gdb11479.c (hack): New function.
7025 (test): Use it.
7026 (test2): Use it.
7027 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
7028 (int32_search_buf, int64_search_buf): No longer static.
7029 (x): Remove.
7030 * gdb.base/relocate.c (hack): New function.
7031
5374244e
PM
70322010-07-27 Phil Muldoon <pmuldoon@redhat.com>
7033
7034 * gdb.python/py-value.exp (test_inferior_function_call): New function.
7035 * gdb.python/py-value.c (func1): New function.
7036 (func2): Likewise.
7037
a99aee83
CV
70382010-07-26 Corinna Vinschen <vinschen@redhat.com>
7039
7040 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
7041 as not to clash with .data section.
7042
a04ba985
JG
70432010-07-26 Jerome Guitton <guitton@adacore.com>
7044
7045 * gdb.base/code_elim.exp: New file.
7046 * gdb.base/code_elim1.c: New file.
7047 * gdb.base/code_elim2.c: New file.
7048
23bd0f7c
PA
70492010-07-21 Pedro Alves <pedro@codesourcery.com>
7050
7051 PR symtab/11827
7052
7053 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
7054 (some_volatile_enum): New variable.
7055 * gdb.base/printcmds.exp (test_print_enums): New.
7056 <top level>: Call it.
7057
883df6dd
SW
70582010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
7059
7060 * gdb.cp/fpointer.cc: New test.
7061 * gdb.cp/fpointer.exp: New test.
7062
569b05a5
JK
70632010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7064
7065 * gdb.base/solib-nodir.exp: New file.
7066 * lib/gdb.exp (runto): New case for a GDB internal error.
7067
51d7d803
JK
70682010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7069 Ulrich Weigand <uweigand@de.ibm.com>
7070 Tom Tromey <tromey@redhat.com>
7071
7072 * gdb.base/charset-malloc.c: New file.
7073 * gdb.base/charset.c (malloc_stub): New prototype.
7074 (main): Call it instead of malloc itself.
7075 * gdb.base/charset.exp: Use only prepare_for_testing.
7076 (binfile): Remove the variable.
7077
c0edd9ed
JK
70782010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7079
7080 Make core files the process_stratum.
7081 * gdb.base/corefile.exp (run: load core again)
7082 (run: sanity check we see the core file, run: with core)
7083 (run: core file is cleared, attach: load core again)
7084 (attach: sanity check we see the core file, attach: with core)
7085 (attach: core file is cleared): New tests.
7086 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
7087
3cbaedff
KW
70882010-07-14 Ken Werner <ken.werner@de.ibm.com>
7089
7090 * gdb.arch/altivec-abi.exp: New tests.
7091
91158a56
TT
70922010-07-13 Tom Tromey <tromey@redhat.com>
7093
7094 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
7095 (main): Use it.
7096 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
7097
0f5238ed
TT
70982010-07-13 Tom Tromey <tromey@redhat.com>
7099
7100 * gdb.base/label.exp: New file.
7101 * gdb.base/label.c: New file.
7102
add265ae
L
71032010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
7104 H.J. Lu <hongjiu.lu@intel.com>
7105
7106 * lib/gdb.exp (is_ilp32_target): New.
7107 (is_lp64_target): Likewise.
7108
7109 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
7110 target.
7111 * gdb.arch/amd64-disp-step.exp: Likewise.
7112 * gdb.arch/amd64-dword.exp: Likewise.
7113 * gdb.arch/amd64-i386-address.exp: Likewise.
7114 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 7115
add265ae
L
7116 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
7117 target.
7118 * gdb.arch/i386-bp_permanent.exp: Likewise.
7119 * gdb.arch/i386-byte.exp: Likewise.
7120 * gdb.arch/i386-disp-step.exp: Likewise.
7121 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7122 * gdb.arch/i386-prologue.exp: Likewise.
7123 * gdb.arch/i386-size-overlap.exp: Likewise.
7124 * gdb.arch/i386-size.exp: Likewise.
7125 * gdb.arch/i386-sse.exp: Likewise.
7126 * gdb.arch/i386-unwind.exp: Likewise.
7127 * gdb.arch/i386-word.exp: Likewise.
7128
7129 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
7130 test only when building 64-bit executables. Do not hard-code
7131 -m64 option.
7132
2dfb8c17
DE
71332010-07-07 Doug Evans <dje@google.com>
7134
7135 * lib/gdb.exp (gdb_test_list_exact): New function.
7136 * gdb.base/default.exp (show convenience): Call it, add tests for
7137 $_sdata = void, $_thread = 0.
7138
4e5799b6
JK
71392010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7140 Joel Brobecker <brobecker@adacore.com>
7141
7142 Fix re-run of PIE executable, PR shlibs/11776.
7143 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
7144 Remove $displacement_main to match the solib-svr4.c change. New "kill"
7145 and re-"run" of the inferior.
7146
1a219cc7
JK
71472010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7148 Joel Brobecker <brobecker@adacore.com>
7149
7150 Cope with missing /usr/sbin/prelink.
7151 * lib/prelink-support.exp (prelink_no):
7152 <result == 1 && $output is "no such file or directory">: New.
7153 (prelink_yes): Likewise. Return on failed prelink_no.
7154
5e3b36f8
JK
71552010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7156 Joel Brobecker <brobecker@adacore.com>
7157
7158 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
7159 build_executable by build_executable_own_libs. Replace "prelink -R"
7160 execution by a call of prelink_yes. Comment why "prelink -r" needs no
7161 change.
7162 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
7163 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
7164 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
7165 Replace build_executable by build_executable_own_libs's function
7166 build_executable_own_libs.
7167 (prelinkNO): Create new stub to call prelink_no.
7168 (prelinkYES): Create new stub to call prelink_yes.
7169 (test_attach): Rename calls of copy to file_copy.
7170 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
7171 (copy): Move to ...
7172 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
7173 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
7174 * gdb.base/prelink.exp: Disable testcase also for is_remote and
7175 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
7176 special flags by gdb_compile_shlib. Replace second gdb_compile by
7177 build_executable_own_libs. Replace "prelink -R" execution by a call of
7178 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
7179 a second call of prelink_yes. Replace restart commands by
7180 clean_restart.
7181 (prelink): Rename to ...
7182 (seen displacement message): ... this test. Extend its expectation
7183 strictness.
7184
86e4bafc
JK
71852010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7186
7187 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
7188 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
7189 displacement message exactly once.
7190
3cd07d20
JK
71912010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7192 Joel Brobecker <brobecker@adacore.com>
7193
7194 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
7195 its restore after the <$relink_args != ""> loop. new comment.
7196
0a1e94c7
JK
71972010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7198 Joel Brobecker <brobecker@adacore.com>
7199
7200 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
7201 code for it. New variable relink_args.
7202 (prelinkYES): Call prelinkNO.
7203 (test_attach): Accept new parameter relink_args. Re-prelink the binary
7204 in such case. Move the core code to ...
7205 (test_attach_gdb): ... a new function. Send GDB command "file".
7206 Extend expected "Attaching to " string.
7207
2f70bcfb
TT
72082010-07-02 Tom Tromey <tromey@redhat.com>
7209
7210 * gdb.base/bitops.exp: Remove extraneous "pass".
7211
a17ac5b0
TT
72122010-07-02 Ken Werner <ken.werner@de.ibm.com>
7213
7214 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
7215
dc10affe
PA
72162010-07-01 Pedro Alves <pedro@codesourcery.com>
7217
d41c0fc8
PA
7218 * gdb.base/help.exp: Adjust expected output.
7219
72202010-07-01 Pedro Alves <pedro@codesourcery.com>
7221
7222 * gdb.base/help.exp: Adjust expected output.
dc10affe 7223
0a600c36
JK
72242010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7225
7226 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
7227 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
7228 c++/11702.
7229
37cc8bfe
JK
72302010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7231 Doug Evans <dje@google.com>
7232
7233 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
7234 add .dynamic entry'.
7235
254e6b9e
DE
72362010-06-29 Doug Evans <dje@google.com>
7237
7238 Test PR c++/11702.
7239 * gdb.cp/m-static.exp: Add testcase.
7240 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
7241
595939de 72422010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
7243 Tom Tromey <tromey@redhat.com>
7244 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
7245
7246 * gdb.python/py-inferior.c: New File.
7247 * gdb.python/py-infthread.c: New File.
7248 * gdb.python/py-inferior.exp: New File.
7249 * gdb.python/py-infthread.exp: New File.
7250
98751a41
JK
72512010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7252
7253 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
7254 (ptype ::C::OtherFileClass typedefs): New.
7255 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
7256 (C::OtherFileClass::cOtherFileClassVar2): New.
7257 (C::OtherFileClass::cOtherFileClassVar_use): Use also
7258 cOtherFileClassVar2.
7259 (C::cOtherFileType2, C::cOtherFileVar2): New.
7260 (C::cOtherFileVar_use): use also cOtherFileVar2.
7261 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
7262
41f62f39
JK
72632010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7264
7265 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
7266 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
7267 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
7268 (print ::C::cOtherFileVar)
7269 (whatis C::OtherFileClass::cOtherFileClassType)
7270 (whatis ::C::OtherFileClass::cOtherFileClassType)
7271 (print C::OtherFileClass::cOtherFileClassVar)
7272 (print ::cOtherFileClassVar)
7273 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
7274 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
7275 trailing content.
7276 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
7277 (C::OtherFileClass::cOtherFileClassVar)
7278 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
7279 (C::cOtherFileVar, C::cOtherFileVar_use): New.
7280
af53d231
JK
72812010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7282
7283 Test PR c++/11703 and PR gdb/1448.
7284 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
7285 gdb/1448.
7286
9655fd1a
JK
72872010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7288
7289 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
7290 (main) <rtti_data>: New.
7291 * gdb.cp/virtbase.exp (print rtti_data): New.
7292
824cc8dd
JK
72932010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7294 Joel Brobecker <brobecker@adacore.com>
7295
7296 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
7297
6036c742
JK
72982010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7299
7300 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
7301
de6a0421
DE
73022010-06-28 Doug Evans <dje@google.com>
7303
7304 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
7305
b2dae948
DE
73062010-06-27 Doug Evans <dje@google.com>
7307
7308 * gdb.cp/m-static.exp: Update expected test output.
7309
0f3bb72e
PH
73102010-06-25 Paul Hilfinger <hilfinger@adacore.com>
7311
889bf7c5
PA
7312 * gdb.gdb/selftest.exp: Adjust expected message for
7313 capturing start-up runtime.
0f3bb72e 7314
bc9f0842
TT
73152010-06-25 Tom Tromey <tromey@redhat.com>
7316
7317 PR python/10808:
7318 * gdb.python/python.exp: Add new tests.
7319
099ef718
SW
73202010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
7321
7322 * gdb.cp/operator.cc: Created an import loop.
7323 * gdb.cp/operator.exp: Added testcase for import loop.
7324
5868a632
JK
73252010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7326
7327 Test PR python/11407.
7328 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
7329 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
7330 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
7331 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
7332 executable_nofb and executable_fb. New variables srcsfile, objsfile,
7333 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
7334 binfile. Call gdb_compile with clean_restart twice.
7335 (func_nofb print, func_nofb backtrace, func_loopfb print)
7336 (func_loopfb backtrace): New.
7337
af76db58
JK
73382010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7339
7340 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
7341 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
7342 by a hand made one.
7343 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
7344 i?86 requirement. Remove variables srcfile and binfile. New variable
7345 sources, executable_nofb and executable_fb. Call prepare_for_testing.
7346
f2c7657e
UW
73472010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7348
7349 * gdb.cell/dwarfaddr.exp: New file.
7350 * gdb.cell/dwarfaddr.S: New file.
7351
628fe4e4
JK
73522010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7353
7354 Test PR 9436.
7355 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
7356
f1421989
HZ
73572010-06-24 Hui Zhu <teawater@gmail.com>
7358
7359 * gdb.base/eval.exp: New file.
7360
d03285ec
UW
73612010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7362
7363 * gdb.cell/fork.exp: New file.
7364 * gdb.cell/fork.c: Likewise.
7365 * gdb.cell/fork-spu.c: Likewise.
7366
41b2c92d
PM
73672010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
7368
7369 * lib/gdb.exp (banned_variables_traced): New global variable.
7370 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
7371 (gdb_init): Use `trace add variable' instead of obsolete
7372 `trace variable'.
7373
d5bc977f
DE
73742010-06-21 Doug Evans <dje@google.com>
7375
7376 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
7377
d2ed6730
UW
73782010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7379
7380 * gdb.arch/spu-ls.exp: New file.
7381 * gdb.arch/spu-ls.c: Likewise.
7382
6aed2dbc
SS
73832010-06-18 Stan Shebs <stan@codesourcery.com>
7384
7385 * gdb.threads/thread-specific.exp: Add tests of $_thread.
7386
e0756905
UW
73872010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7388
7389 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
7390 * gdb.base/watch-cond.exp: Likewise.
7391 * gdb.python/py-breakpoint.exp: Likewise.
7392
d8053d4d
PA
73932010-06-18 Pedro Alves <pedro@codesourcery.com>
7394
7395 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
7396 clean_restart, make sure every test has a distinct message, and
7397 that messages don't include the executable' full path.
7398
81ce510c
DE
73992010-06-17 Doug Evans <dje@google.com>
7400
7401 * gdb.arch/i386-size.exp: Updated expected output for
7402 DISASSEMBLY_OMIT_FNAME.
7403
65d79d4b
SDJ
74042010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7405 Sergio Durigan Junior <sergiodj@redhat.com>
7406
7407 * gdb.base/watch-notconst.c: New file.
7408 * gdb.base/watch-notconst.S: New file.
7409 * gdb.base/watch-notconst2.c: New file.
7410 * gdb.base/watch-notconst2.S: New file.
7411 * gdb.base/watch-notconst.exp: New file.
7412 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
7413 (func4): Add operations on `global_ptr_ptr'.
7414 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
7415 routine to test watchpoints created with a constant expression.
7416 (test_inaccessible_watchpoint): Include tests for watchpoints
7417 created with a constant expression.
7418
df0f4836
KB
74192010-06-14 Kevin Buettner <kevinb@redhat.com>
7420
7421 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7422 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
7423 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
7424 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
7425 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7426 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7427 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
7428 of `_start'.
7429
b769def5
UW
74302010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7431
7432 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
7433 not supported on the target.
7434 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7435 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7436 * gdb.mi/mi-nsintrall.exp: Likewise.
7437 * gdb.mi/mi-nsmoribund.exp: Likewise.
7438 * gdb.mi/mi-nsthrexec.exp: Likewise.
7439
d914c394
SS
74402010-06-11 Stan Shebs <stan@codesourcery.com>
7441
7442 * gdb.base/permissions.exp: New file.
7443
74442010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
7445
7446 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
7447 does not support ELF executable class.
7448
f3ce5b9c
UW
74492010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7450
7451 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
7452
8e46892c
JK
74532010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7454
7455 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
7456 (runto): Catch "The target does not support running in non-stop mode.".
7457
6cc55c64
MS
74582010-06-11 Michael Snyder <msnyder@vmware.com>
7459
7460 * gdb.base/setshow.exp (set language asm): Don't use
7461 gdb_test_no_output, fails on some targets.
7462
caddefa4
UW
74632010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7464
7465 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
7466 * gdb.cp/pr9167.exp: Likewise.
7467
468b1aa7
UW
74682010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7469
7470 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
7471
5c3552dc
UW
74722010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7473
7474 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
7475
02e6fe6a
UW
74762010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7477
7478 * gdb.base/charset.c (main): Make sure malloc gets linked in.
7479
0e03807e
TT
74802010-06-11 Tom Tromey <tromey@redhat.com>
7481
7482 PR gdb/9977, PR exp/11636::
7483 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
7484 (pieces_test_f6): Update expected output.
7485
2bdf28a0
JK
74862010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7487
7488 * gdb.base/moribund-step.exp: New.
7489
f6978de9
MS
74902010-06-08 Michael Snyder <msnyder@vmware.com>
7491
7492 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 7493 * gdb.ada/boolean_expr.exp:
f6978de9
MS
7494 * gdb.ada/frame_args.exp: Ditto.
7495 * gdb.ada/lang_switch.exp: Ditto.
7496 * gdb.ada/ptype_arith_binop.exp: Ditto.
7497 * gdb.ada/ref_param.exp: Ditto.
7498 * gdb.ada/type_coercion.exp:Ditto.
7499
7500 * gdb.asm/asm-source.exp: Ditto.
7501
7502 * gdb.base/attach.exp: Ditto.
7503 * gdb.base/bitfields2.exp: Ditto.
7504 * gdb.base/call-signal-resume.exp: Ditto.
7505 * gdb.base/callfuncs.exp: Ditto.
7506 * gdb.base/commands.exp: Ditto.
7507 * gdb.base/dbx.exp: Ditto.
7508 * gdb.base/default.exp: Ditto.
7509 * gdb.base/dump.exp: Ditto.
7510 * gdb.base/exprs.exp: Ditto.
7511 * gdb.base/freebpcmd.exp: Ditto.
7512 * gdb.base/interrupt.exp: Ditto.
7513 * gdb.base/list.exp: Ditto.
7514 * gdb.base/long_long.exp: Ditto.
7515 * gdb.base/maint.exp: Ditto.
7516 * gdb.base/ptype.exp: Ditto.
7517 * gdb.base/return.exp: Ditto.
7518 * gdb.base/setshow.exp: Ditto.
7519 * gdb.base/sigbpt.exp: Ditto.
7520 * gdb.base/sigrepeat.exp: Ditto.
7521
7522 * gdb.cp/classes.exp: Ditto.
7523
7524 * gdb.dwarf2/dw2-restore.exp: Ditto.
7525
7526 * gdb.gdb/selftest.exp: Ditto.
7527
7528 * gdb.multi/base.exp: Ditto.
7529 * gdb.multi/bkpt-multi-exec.exp: Ditto.
7530
7531 * gdb.python/py-block.exp: Ditto.
7532 * gdb.python/py-prettyprint.exp: Ditto.
7533 * gdb.python/py-template.exp: Ditto.
7534
7535 * gdb.server/ext-attach.exp: Ditto.
7536 * gdb.server/ext-run.exp: Ditto.
7537 * gdb.server/server-mon.exp: Ditto.
7538
7539 * gdb.threads/fork-thread-pending.exp: Ditto.
7540 * gdb.threads/hand-call-in-threads.exp: Ditto.
7541 * gdb.threads/interrupted-hand-call.exp: Ditto.
7542 * gdb.threads/linux-dp.exp: Ditto.
7543 * gdb.threads/manythreads.exp: Ditto.
7544 * gdb.threads/print-threads.exp: Ditto.
7545 * gdb.threads/pthreads.exp: Ditto.
7546 * gdb.threads/schedlock.exp: Ditto.
7547 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7548 * gdb.threads/threadapply.exp: Ditto.
7549
de7ff789
MS
75502010-06-08 Michael Snyder <msnyder@vmware.com>
7551
889bf7c5 7552 * gdb.ada/exec_changed.exp:
de7ff789
MS
7553 Use ".*" instead of "" as wildcard regexp.
7554
7555 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
7556 * gdb.base/call-ar-st.exp: Ditto.
7557 * gdb.base/checkpoint.exp: Ditto.
7558 * gdb.base/default.exp: Ditto.
7559 * gdb.base/dump.exp: Ditto.
7560 * gdb.base/ending-run.exp: Ditto.
7561 * gdb.base/fileio.exp: Ditto.
7562 * gdb.base/miscexprs.exp: Ditto.
7563 * gdb.base/pointers.exp: Ditto.
7564 * gdb.base/readline.exp: Ditto.
7565 * gdb.base/reread.exp: Ditto.
7566 * gdb.base/restore.exp: Ditto.
7567 * gdb.base/shlib-call.exp: Ditto.
7568 * gdb.base/valgrind-db-attach.exp: Ditto.
7569 * gdb.base/volatile.exp: Ditto.
7570 * gdb.base/watchpoints.exp: Ditto.
7571
7572 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
7573
7574 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
7575 * gdb.python/py-value.exp: Ditto.
7576
7577 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
7578 * gdb.trace/circ.exp: Ditto.
7579 * gdb.trace/collection.exp: Ditto.
7580 * gdb.trace/packetlen.exp: Ditto.
7581 * gdb.trace/passc-dyn.exp: Ditto.
7582 * gdb.trace/report.exp: Ditto.
7583 * gdb.trace/tfile.exp: Ditto.
7584 * gdb.trace/tfind.exp: Ditto.
7585 * gdb.trace/while-dyn.exp: Ditto.
7586
3bebe2f2
JK
75872010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7588
7589 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
7590
5c631832
JK
75912010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7592
7593 Test PR 10640.
7594 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
7595
4c3376c8
SW
75962010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
7597
7598 * gdb.cp/koenig.exp: Test for ADL operators.
7599 * gdb.cp/koenig.cc: Added ADL operators.
7600 * gdb.cp/operator.exp: New test.
7601 * gdb.cp/operator.cc: New test.
7602
dc226d5a
MS
76032010-06-04 Michael Snyder <msnyder@vmware.com>
7604
dfb88a23
MS
7605 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
7606 * gdb.base/pending.exp: Ditto.
f7ae76b3 7607
dc226d5a
MS
7608 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
7609
967cf477
DE
76102010-06-04 Doug Evans <dje@google.com>
7611
7612 * gdb.python/py-prettyprint.exp: Add new test for enabled and
7613 disabled printers.
7614 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
7615 (enable_lookup_function): New function.
7616
eb801841
TT
76172010-06-04 Tom Tromey <tromey@redhat.com>
7618
7619 * gdb.python/py-value.exp (test_value_hash): Don't test equality
7620 of hash and id.
7621
38979823
JK
76222010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7623
7624 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
7625 newline.
7626 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
7627 (empty verbose non-noisy clear, empty verbose noisy clear)
7628 (empty non-verbose noisy clear): Likewise.
7629
35ec993f
MS
76302010-06-03 Michael Snyder <msnyder@vmware.com>
7631
7632 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
7633 * gdb.base/display.exp: Ditto.
7634 * gdb.base/find.exp: Ditto.
7635 * gdb.base/ifelse.exp: Ditto.
7636 * gdb.base/multi-forks.exp: Ditto.
7637 * gdb.base/recurse.exp: Ditto.
7638 * gdb.base/setshow.exp: Ditto.
7639 * gdb.base/value-double-free.exp: Ditto.
7640 * gdb.base/watch-vfork.exp: Ditto.
7641 * gdb.base/watch_thread_num.exp: Ditto.
7642 * gdb.base/watchpoint-solib.exp: Ditto.
7643 * gdb.base/watchpoint.exp: Ditto.
7644 * gdb.base/watchpoints.exp: Ditto.
7645
7646 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
7647 * gdb.cp/overload.exp: Ditto.
7648 * gdb.cp/virtfunc.exp: Ditto.
7649
7650 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
7651
889bf7c5 7652 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
7653 Replace gdb_test with gdb_test_no_output.
7654
889bf7c5 7655 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
7656 Replace gdb_test with gdb_test_no_output.
7657 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7658 * gdb.threads/watchthreads.exp: Ditto.
7659 * gdb.threads/watchthreads2.exp: Ditto.
7660
7661 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
7662 * gdb.trace/tfind.exp: Ditto.
7663
c22decce
JB
76642010-06-03 Joel Brobecker <brobecker@adacore.com>
7665
7666 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
7667 successful test if message is the empty string.
7668
fd5700c7
JK
76692010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7670
7671 * gdb.fortran/module.exp (stopped language detection): New test.
7672
f55ee35c
JK
76732010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7674
7675 Support DW_TAG_module as separate namespaces.
7676 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
7677 gdb.fortran/library-module-lib.f90: New.
7678 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
7679 (print i): Remove.
7680 (continue to breakpoint: i-is-1, print var_i value 1)
7681 (continue to breakpoint: i-is-2, print var_i value 2)
7682 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
7683 (print var_d, print var_i value 14, ptype modmany, complete `modm)
7684 (complete `modmany, complete `modmany`, complete `modmany`var)
7685 (show language, setting breakpoint at module): New tests.
7686 * gdb.fortran/module.f90 (module mod): Remove.
7687 (module mod1, module mod2, module modmany, subroutine sub1)
7688 (subroutine sub2, program module): New.
7689
b8e8282f
JK
76902010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7691
7692 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
7693 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
7694 * gdb.cp/anon-union.exp (pass): Rename to ...
7695 (print z 2): ... here.
b8e8282f 7696
019ebafc
MS
76972010-06-02 Michael Snyder <msnyder@vmware.com>
7698
e68d8fd4
MS
7699 * gdb.trace/actions.exp: Use gdb_test_no_output.
7700 * gdb.trace/circ.exp: Ditto.
7701 * gdb.trace/packetlen.exp: Ditto.
7702 * gdb.trace/save-trace.exp: Ditto.
7703 * gdb.trace/tracecmd.exp: Ditto.
7704 * gdb.trace/tsv.exp: Ditto.
7705
12b5d08a
MS
7706 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
7707 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
7708 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7709 * gdb.threads/manythreads.exp: Ditto.
7710 * gdb.threads/print-threads.exp: Ditto.
7711 * gdb.threads/pthreads.exp: Ditto.
7712 * gdb.threads/schedlock.exp: Ditto.
7713 * gdb.threads/staticthreads.exp: Ditto.
7714 * gdb.threads/thread-specific.exp: Ditto.
7715 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7716 * gdb.threads/threadapply.exp: Ditto.
7717 * gdb.threads/watchthreads.exp: Ditto.
7718 * gdb.threads/watchthreads2.exp: Ditto.
7719
89493308
MS
7720 * gdb.python/py-block.exp: Use gdb_test_no_output.
7721 * gdb.python/py-prettyprint.exp: Ditto.
7722 * gdb.python/py-template.exp: Ditto.
7723 * gdb.python/py-value.exp: Ditto.
7724
7725 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
7726 * gdb.reverse/watch-reverse.exp: Ditto.
7727
7728 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
7729 * gdb.server/ext-run.exp: Ditto.
7730
019ebafc
MS
7731 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
7732 * gdb.dwarf2/dw2-compressed.exp: Ditto.
7733 * gdb.dwarf2/dw2-intercu.exp: Ditto.
7734 * gdb.dwarf2/dw2-intermix.exp: Ditto.
7735 * gdb.dwarf2/dw2-producer.exp: Ditto.
7736 * gdb.dwarf2/mac-fileno.exp: Ditto.
7737
7738 * gdb.gdb/observer.exp: Use gdb_test_no_output.
7739 * gdb.gdb/selftest.exp: Ditto.
7740
7741 * gdb.multi/base.exp: Use gdb_test_no_output.
7742
7743 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
7744
3e0ca3a5
JK
77452010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7746
7747 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
7748
9db70545
MS
77492010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
7750
a8d52276
MS
7751 * gdb.cp/class2.exp: Use gdb_test_no_output.
7752 * gdb.cp/classes.exp: Ditto.
7753 * gdb.cp/extern-c.exp: Ditto.
7754 * gdb.cp/inherit.exp: Ditto.
7755 * gdb.cp/maint.exp: Ditto.
7756 * gdb.cp/mb-inline.exp: Ditto.
7757 * gdb.cp/mb-templates.exp: Ditto.
7758 * gdb.cp/method2.exp: Ditto.
7759 * gdb.cp/misc.exp: Ditto.
7760 * gdb.cp/ovldbreak.exp: Ditto.
7761 * gdb.cp/punctuator.exp: Ditto.
7762 * gdb.cp/templates.exp: Ditto.
7763 * gdb.cp/virtbase.exp: Ditto.
7764
889bf7c5 7765 * gdb.threads/attach-stopped.exp:
9db70545 7766 Replace uses of send_gdb / gdb_expect.
889bf7c5 7767 * gdb.threads/attachstop-mt.exp:
9db70545 7768 Replace uses of send_gdb / gdb_expect.
889bf7c5 7769 * gdb.threads/gcore-thread.exp:
9db70545 7770 Replace uses of send_gdb / gdb_expect.
889bf7c5 7771 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
7772 Replace uses of send_gdb / gdb_expect.
7773 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 7774 * gdb.threads/print-threads.exp:
9db70545
MS
7775 Replace uses of send_gdb / gdb_expect.
7776 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
7777 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
7778 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
7779
7780 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
7781 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
7782 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
7783 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
7784 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
7785 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
7786 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
7787 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
7788 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
7789 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
7790 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
7791
359cc68c
JK
77922010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7793
7794 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
7795
7d3fe98e
SW
77962010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
7797
7798 * gdb.cp/koenig.exp: Added new test case.
7799 * gdb.cp/koenig.cc: Ditto.
7800
27d3a1a2
MS
78012010-06-01 Michael Snyder <msnyder@vmware.com>
7802
7803 * gdb.base/arithmet.exp: Use gdb_test_no_output.
7804 * gdb.base/arrayidx.exp: Ditto.
7805 * gdb.base/attach.exp: Ditto.
7806 * gdb.base/auxv.exp: Ditto.
7807 * gdb.base/bigcre.exp: Ditto.
7808 * gdb.base/break-always.exp: Ditto.
7809 * gdb.base/break-interp.exp: Ditto.
7810 * gdb.base/break.exp: Ditto.
7811 * gdb.base/breakpoint-shadow.exp: Ditto.
7812 * gdb.base/call-ar-st.exp: Ditto.
7813 * gdb.base/call-sc.exp: Ditto.
7814 * gdb.base/call-signal-resume.exp: Ditto.
7815 * gdb.base/callfuncs.exp: Ditto.
7816 * gdb.base/catch-syscall.exp: Ditto.
7817 * gdb.base/charset.exp: Ditto.
7818 * gdb.base/code-expr.exp: Ditto.
7819 * gdb.base/commands.exp: Ditto.
7820 * gdb.base/cond-expr.exp: Ditto.
7821 * gdb.base/condbreak.exp: Ditto.
7822 * gdb.base/cursal.exp: Ditto.
7823 * gdb.base/cvexpr.exp: Ditto.
7824 * gdb.base/default.exp: Ditto.
7825 * gdb.base/del.exp: Ditto.
7826 * gdb.base/detach.exp: Ditto.
7827 * gdb.base/display.exp: Ditto.
7828 * gdb.base/ena-dis-br.exp: Ditto.
7829 * gdb.base/eval-skip.exp: Ditto.
7830 * gdb.base/foll-fork.exp: Ditto.
7831 * gdb.base/foll-vfork.exp: Ditto.
7832 * gdb.base/frame-args.exp: Ditto.
7833 * gdb.base/funcargs.exp: Ditto.
7834 * gdb.base/gcore-buffer-overflow.exp: Ditto.
7835 * gdb.base/gdbvars.exp: Ditto.
7836 * gdb.base/help.exp: Ditto.
7837 * gdb.base/ifelse.exp: Ditto.
7838 * gdb.base/included.exp: Ditto.
7839 * gdb.base/list.exp: Ditto.
7840 * gdb.base/macscp.exp: Ditto.
7841 * gdb.base/maint.exp: Ditto.
7842 * gdb.base/multi-fork.exp: Ditto.
7843 * gdb.base/overlays.exp: Ditto.
7844 * gdb.base/page.exp: Ditto.
7845 * gdb.base/pending.exp: Ditto.
7846 * gdb.base/pointers.exp: Ditto.
7847 * gdb.base/pr11022.exp: Ditto.
7848 * gdb.base/prelink.exp: Ditto.
7849 * gdb.base/printcmds.exp: Ditto.
7850 * gdb.base/psymtab.exp: Ditto.
7851 * gdb.base/randomize.exp: Ditto.
7852 * gdb.base/relational.exp: Ditto.
7853 * gdb.base/relocate.exp: Ditto.
7854 * gdb.base/remote.exp: Ditto.
7855 * gdb.base/sepdebug.exp: Ditto.
7856 * gdb.base/set-lang-auto.exp: Ditto.
7857 * gdb.base/setshow.exp: Ditto.
7858 * gdb.base/setvar.exp: Ditto.
7859 * gdb.base/signals.exp: Ditto.
7860 * gdb.base/signull.exp: Ditto.
7861 * gdb.base/sigstep.exp: Ditto.
7862 * gdb.base/sizeof.exp: Ditto.
7863 * gdb.base/solib-disc.exp: Ditto.
7864 * gdb.base/store.exp: Ditto.
7865 * gdb.base/structs.exp: Ditto.
7866 * gdb.base/structs2.exp: Ditto.
7867 * gdb.base/subst.exp: Ditto.
7868 * gdb.base/term.exp: Ditto.
7869 * gdb.base/trace-commands.exp: Ditto.
7870 * gdb.base/unwindonsignal.exp: Ditto.
7871 * gdb.base/valgrind-db-attach.exp: Ditto.
7872 * gdb.base/varargs.exp: Ditto.
7873 * gdb.base/watch-cond.exp: Ditto.
7874 * gdb.base/watch_thread_num.exp: Ditto.
7875 * gdb.base/watchpoint-cond-gone.exp: Ditto.
7876 * gdb.base/watchpoint.exp: Ditto.
7877 * gdb.base/whatis-exp.exp: Ditto.
7878
f8d3bf8f
MS
78792010-06-01 Michael Snyder <msnyder@vmware.com>
7880
7881 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
7882 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
7883 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
7884 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
7885 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
7886 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
7887 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
7888 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
7889 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
7890 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
7891 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
7892 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
7893 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
7894 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
7895 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
7896
3f9e0d32
JK
78972010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7898
7899 * gdb.base/commands.exp (begin commands on watch): Remove excessive
7900 trailing newline.
7901 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
7902 * gdb.java/jmisc.exp (p *args\n): Rename to ...
7903 (p *args): ... here and remove excessive trailing newline.
7904
f629457d
JB
79052010-05-31 Joel Brobecker <brobecker@adacore.com>
7906
7907 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
7908
09eef106
JK
79092010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
7910
7911 Accept the new Linux kernel "t (tracing stop)" string.
7912 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
7913 Update comment.
7914 (state_wait) <T (tracing stop)>: New.
7915 (main): Update the state_wait expect string.
7916
94f31136
PA
79172010-05-28 Pedro Alves <pedro@codesourcery.com>
7918
7919 * limits.c, limits.exp: Delete files.
7920 * Makefile.in (clean mostlyclean): Adjust.
7921 * tracecmd.exp: Adjust.
7922
096554ab
JK
79232010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7924
7925 * gdb.base/tui-layout.exp: New.
7926
27d3a1a2 79272010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 7928
889bf7c5 7929 * gdb.reverse/break-precsave.exp:
bcd2dc50 7930 Replace uses of send_gdb / gdb_expect.
889bf7c5 7931 * gdb.reverse/break-reverse.exp:
bcd2dc50 7932 Replace uses of send_gdb / gdb_expect.
889bf7c5 7933 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 7934 Replace uses of send_gdb / gdb_expect.
889bf7c5 7935 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 7936 Replace uses of send_gdb / gdb_expect.
889bf7c5 7937 * gdb.reverse/finish-precsave.exp:
bcd2dc50 7938 Replace uses of send_gdb / gdb_expect.
889bf7c5 7939 * gdb.reverse/finish-reverse.exp:
bcd2dc50 7940 Replace uses of send_gdb / gdb_expect.
889bf7c5 7941 * gdb.reverse/i386-precsave.exp:
bcd2dc50 7942 Replace uses of send_gdb / gdb_expect.
889bf7c5 7943 * gdb.reverse/i386-reverse.exp:
bcd2dc50 7944 Replace uses of send_gdb / gdb_expect.
889bf7c5 7945 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 7946 Replace uses of send_gdb / gdb_expect.
889bf7c5 7947 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 7948 Replace uses of send_gdb / gdb_expect.
889bf7c5 7949 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 7950 Replace uses of send_gdb / gdb_expect.
889bf7c5 7951 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 7952 Replace uses of send_gdb / gdb_expect.
889bf7c5 7953 * gdb.reverse/machinestate.exp:
bcd2dc50 7954 Replace uses of send_gdb / gdb_expect.
889bf7c5 7955 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 7956 Replace uses of send_gdb / gdb_expect.
889bf7c5 7957 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 7958 Replace uses of send_gdb / gdb_expect.
889bf7c5 7959 * gdb.reverse/solib-precsave.exp:
bcd2dc50 7960 Replace uses of send_gdb / gdb_expect.
889bf7c5 7961 * gdb.reverse/solib-reverse.exp:
bcd2dc50 7962 Replace uses of send_gdb / gdb_expect.
889bf7c5 7963 * gdb.reverse/step-precsave.exp:
bcd2dc50 7964 Replace uses of send_gdb / gdb_expect.
889bf7c5 7965 * gdb.reverse/step-reverse.exp:
bcd2dc50 7966 Replace uses of send_gdb / gdb_expect.
889bf7c5 7967 * gdb.reverse/until-precsave.exp:
bcd2dc50 7968 Replace uses of send_gdb / gdb_expect.
889bf7c5 7969 * gdb.reverse/until-reverse.exp:
bcd2dc50 7970 Replace uses of send_gdb / gdb_expect.
889bf7c5 7971 * gdb.reverse/watch-precsave.exp:
bcd2dc50 7972 Replace uses of send_gdb / gdb_expect.
889bf7c5 7973 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
7974 Replace uses of send_gdb / gdb_expect.
7975
3def43e0
JK
79762010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7977
7978 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
7979 excessive newline.
7980
27d3a1a2 79812010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
7982
7983 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
7984 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
7985 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
7986 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
7987 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
7988 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
7989 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
7990 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
7991 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
7992 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
7993 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
7994 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
7995 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
7996 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
7997 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
7998 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
7999 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
8000 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
8001 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 8002
27d3a1a2 80032010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 8004
22454424
MS
8005 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
8006 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
8007
8008 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
8009 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
8010 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
8011
889bf7c5 8012 * gdb.reverse/consecutive-reverse.exp:
22454424 8013 Replace uses of send_gdb / gdb_expect.
889bf7c5 8014 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
8015 Replace uses of send_gdb / gdb_expect.
8016
8017 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
8018 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
8019 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 8020 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
8021 Replace uses of send_gdb / gdb_expect.
8022 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
8023 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
8024 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
8025 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
8026 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
8027 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
8028 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
8029 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
8030 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
8031
80322010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 8033
22454424 8034 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8035
22454424 8036 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8037
22454424
MS
8038 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
8039 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
8040 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
8041 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
8042 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
8043 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
8044 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
8045 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
8046 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8047
6e5f2c59
TT
80482010-05-25 Tom Tromey <tromey@redhat.com>
8049
8050 * gdb.base/macscp.exp: Add missing space after setup_kfail.
8051
bbc8b958
TT
80522010-05-25 Tom Tromey <tromey@redhat.com>
8053
8054 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
8055 argument order.
8056 * gdb.base/macscp.exp: Fix setup_kfail argument order.
8057 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
8058 order.
8059 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
8060 order.
8061 * gdb.base/call-sc.exp (setup_kfails): Remove.
8062 (setup_compiler_kfails): Remove.
8063 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
8064 argument order.
8065 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
8066 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
8067 (advancei): Fix setup_kfail argument order.
8068 * gdb.base/radix.exp: Fix setup_kfail argument order.
8069 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
8070 order.
8071 * gdb.base/structs.exp (setup_kfails): Remove.
8072 (setup_compiler_kfails): Fix setup_kfail argument order.
8073 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
8074 order.
8075 * gdb.java/jmain.exp: Fix setup_kfail argument order.
8076 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
8077 setup_kfail argument order.
8078 * gdb.cp/overload.exp: Fix setup_kfail argument order.
8079
83d1babf
TT
80802010-05-25 Tom Tromey <tromey@redhat.com>
8081
8082 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
8083
6acb16a2
MS
80842010-05-25 Michael Snyder <msnyder@vmware.com>
8085
8086 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
8087 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
8088 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
8089 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
8090 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
8091 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
8092 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
8093 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
8094 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
8095 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
8096 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
8097 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
8098 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
8099 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
8100 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
8101 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
8102 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
8103 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
8104 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
8105 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
8106 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
8107 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
8108 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
8109 * gdb.base/default.exp: Replace send_gdb with gdb_test.
8110 * gdb.base/define.exp: Replace send_gdb with gdb_test.
8111 * gdb.base/display.exp: Replace send_gdb with gdb_test.
8112 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
8113 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
8114 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
8115 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
8116 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
8117 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
8118 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
8119 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
8120 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
8121 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
8122 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
8123 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
8124 * gdb.base/help.exp: Replace send_gdb with gdb_test.
8125 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
8126 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
8127 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
8128 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
8129 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
8130 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
8131 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
8132 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 8133 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
8134
81352010-05-25 Doug Evans <dje@google.com>
8136
8137 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
8138 gdb.string_to_argv.
ad3986f0 8139
d3b1e874
TT
81402010-05-21 Tom Tromey <tromey@redhat.com>
8141
8142 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
8143 Call it.
8144 * gdb.dwarf2/pieces.S: Update.
8145 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
8146
cb826367
TT
81472010-05-21 Tom Tromey <tromey@redhat.com>
8148
8149 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
8150 Call it.
8151 * gdb.dwarf2/pieces.c (struct C): New.
8152 (f6): New function.
8153 * gdb.dwarf2/pieces.S: Replace.
8154
74de6778
TT
81552010-05-21 Tom Tromey <tromey@redhat.com>
8156
8157 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
8158 Call it.
8159
afd74c5f
TT
81602010-05-21 Tom Tromey <tromey@redhat.com>
8161
8162 * gdb.dwarf2.pieces.exp: New file.
8163 * gdb.dwarf2.pieces.S: New file.
8164 * gdb.dwarf2.pieces.c: New file.
8165
a7b75dfd 81662010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 8167 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
8168
8169 * lib/gdb.exp (gdb_test_no_output): New function.
8170 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
8171 when testing commands that should produce no output.
8172
c81c812a
JB
81732010-05-17 Joel Brobecker <brobecker@adacore.com>
8174
8175 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
8176 parameter that we want to watch being a constant.
8177
0cce5bd9
JB
81782010-05-17 Joel Brobecker <brobecker@adacore.com>
8179
8180 * gdb.ada/cond_lang: New testcase.
8181
47050449
JB
81822010-05-17 Joel Brobecker <brobecker@adacore.com>
8183
8184 * lib/gdb.exp (banned_variables): New variable/constant.
8185 (gdb_init): Add write trace on variables listed in banned_variables.
8186 (gdb_finish): Remove write traces on variables listed in
8187 banned_variables.
8188
77c01586
JB
81892010-05-17 Joel Brobecker <brobecker@adacore.com>
8190
8191 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
8192 * gdb.cp/koenig.exp: Likewise.
8193
88d4aea7
PM
81942010-05-14 Phil Muldoon <pmuldoon@redhat.com>
8195
889bf7c5 8196 PR python/11482
88d4aea7
PM
8197
8198 * gdb.python/py-value.exp (test_value_hash): New function.
8199
f5a010c0
PM
82002010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
8201
8202 PR exp/11530.
8203 * gdb.base/gdb11530.c: New file.
8204 * gdb.base/gdb11530.exp: New file.
8205
8ef4892f
JK
82062010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8207
8208 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
8209 * gdb.dwarf2/dw2-modula2-self-type.S: New.
8210
7322dca9
SW
82112010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
8212
8213 * gdb.cp/koenig.exp: New test.
8214 * gdb.cp/koenig.cc: New test program.
8215
02e7ea18
JB
82162010-05-05 Joel Brobecker <brobecker@adacore.com>
8217
8218 Remove the use of prms_id and bug_id throughout the testsuite.
8219
e1c34c5d
PM
82202010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
8221
8222 PR exp/11349.
8223 * testsuite/gdb.cp/ref-types.exp: Add test to examine
8224 use a reference local variable.
8225
8e1d0c49
JK
82262010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8227
8228 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
8229 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
8230 variable different_dir. Move debugfile into a full directory pathname
8231 under DIFFERENT_DIR.
8232 * lib/gdb.exp (separate_debug_filename): Remove.
8233 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
8234 variable debug_dir and mkdir of it. Update function comments.
8235
e66408ed
PA
82362010-04-29 Pedro Alves <pedro@codesourcery.com>
8237
8238 PR gdb/11557
8239
8240 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
8241 files.
8242
d7b32ed3
PM
82432010-04-29 Phil Muldoon <pmuldoon@redhat.com>
8244
889bf7c5 8245 * gdb.python/py-param.exp: New File.
d7b32ed3 8246
6aecb9c2
JB
82472010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
8248
8249 * gdb.base/default.exp: Fix "set language" test.
8250
bdf92a1c
PM
82512010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
8252
8253 PR breakpoints/11531.
8254 * gdb.base/gdb11531.c: New file.
8255 * gdb.base/gdb11531.exp: New file.
8256
3f172e24
TT
82572010-04-26 Tom Tromey <tromey@redhat.com>
8258
8259 * gdb.base/completion.exp: Add tests for completion and deprecated
8260 commands.
8261
64af4c92
JK
82622010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8263
8264 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
8265 (print /x char_array): Escape curly brackets.
8266
492928e4
JK
82672010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8268
8269 Fix deadlock on looped list of loaded shared objects.
8270 * gdb.base/solib-corrupted.exp: New.
8271
66d09542
DE
82722010-04-23 Doug Evans <dje@google.com>
8273
8274 * gdb.python/py-section-script.c: New file.
8275 * gdb.python/py-section-script.exp: New file.
8276 * gdb.python/py-section-script.py: New file.
8277
8bd10a10
CM
82782010-04-20 Chris Moller <cmoller@redhat.com>
8279
8280 PR 10179
8281
8282 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
8283 * gdb.base/pr10179-a.c:
8284 * gdb.base/pr10179-b.c:
8285 * gdb.base/pr10179.exp: New files.
8286
c0201579
JK
82872010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8288
8289 Fix crashes on dangling display expressions.
8290 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
8291 is SEP.
8292 (lib_flags): Remove the "debug" keyword.
8293 (libsepdebug): New variable for iterating new loop.
8294 (save_pf_prefix): New variable wrapping the loop.
8295 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
8296 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
8297
793b0ff8
PM
82982010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8299
8300 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
8301
097f51f7
PM
83022010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8303
8304 PR stabs/11479.
8305 * gdb.stabs/gdb11479.exp: New file.
8306 * gdb.stabs/gdb11479.c: New file.
8307
9a22f0d0
PM
83082010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8309
8310 * gdb.base/charset.c (Strin16, String32): New variables.
8311 * gdb.base/charset.exp (gdb_test): Test correct display
8312 of 16 or 32 bit strings.
8313
83142010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
8315
8316 PR 9167
8317 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
8318 * gdb.cp/pr9167.cc: New file.
8319 * gdb.cp/pr9167.exp: New file.
8320
8321
6e354e5e
PM
83222010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
8323
8324 PR pascal/11492.
8325 * gdb.pascal/gdb11492.pas: New file.
8326 * gdb.pascal/gdb11492.exp: New file.
8327
be942545
JB
83282010-04-20 Joel Brobecker <brobecker@adacore.com>
8329
1667e6e3 8330 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 8331
0c3acc09
JB
83322010-04-20 Joel Brobecker <brobecker@adacore.com>
8333
8334 * gdb.ada/dyn_loc: New testcase.
8335
ec31cde5
CM
83362010-04-20 Chris Moller <cmoller@redhat.com>
8337
8338 PR 10867
889bf7c5 8339
ec31cde5
CM
8340 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
8341 * gdb.cp/pr10687.cc: New file.
8342 * gdb.cp/pr10687.exp: New file.
8343
8344
ce4b0682
SDJ
83452010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8346 Sergio Durigan Junior <sergiodj@redhat.com>
8347
8348 * gdb.fortran/logical.exp: New testcase.
8349 * gdb.fortran/logical.f90: New file.
8350
3436961f
DE
83512010-04-19 Doug Evans <dje@google.com>
8352
8353 * gdb.base/help.exp (help source): Update expected output.
8354
4d836c09
JK
83552010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8356
8357 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
8358 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
8359 gdb_exit and return.
8360 (executable): New variable.
8361 (binfile): Use it.
8362
6149aea9
PA
83632010-04-19 Pedro Alves <pedro@codesourcery.com>
8364
8365 PR breakpoints/8554.
8366
8367 * gdb.trace/save-trace.exp: Adjust.
8368
ed41462c
L
83692010-04-17 H.J. Lu <hongjiu.lu@intel.com>
8370
8371 PR corefiles/11511
8372 * gdb.arch/system-gcore.exp: New.
8373 * gdb.arch/gcore.c: Likewise.
8374
3f7b2faa
DE
83752010-04-15 Doug Evans <dje@google.com>
8376
fa33c3cd
DE
8377 * gdb.python/py-progspace.c: New file.
8378 * gdb.python/py-progspace.exp: New file.
8379
3f7b2faa
DE
8380 * gdb.base/source.exp: Add tests for "source -s".
8381
79f283fe
PM
83822010-04-14 Phil Muldoon <pmuldoon@redhat.com>
8383
8384 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
8385 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
8386 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
8387 * gdb.python/py-mi.exp: New test for to_string returning None.
8388
fc8eb08a
PM
83892010-04-12 Phil Muldoon <pmuldoon@redhat.com>
8390
8391 * gdb.python/py-breakpoint.c: Make result global.
8392
26e197f6
JK
83932010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8394
8395 Fix non-GNU make compatibility.
8396 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
8397
adc36818
PM
83982010-04-09 Phil Muldoon <pmuldoon@redhat.com>
8399
8400 * gdb.python/py-breakpoint.exp: New File.
8401 * gdb.python/py-breakpoint.C: Ditto.
8402
64e17368
SS
84032010-04-08 Stan Shebs <stan@codesourcery.com>
8404
8405 * gdb.trace/actions.exp: Clear default-collect.
8406 * gdb.trace/save-trace.exp: Clear default-collect.
8407
fff5cc64
PM
84082010-04-08 Phil Muldoon <pmuldoon@redhat.com>
8409
8410 * gdb.python/py-value: Add null string variable.
8411 (test_lazy_string): Test zero length, NULL address lazy
8412 strings.
8413
a055a187
L
84142010-04-07 H.J. Lu <hongjiu.lu@intel.com>
8415
8416 * gdb.arch/i386-avx.c: New.
8417 * gdb.arch/i386-avx.exp: Likewise.
8418
8419 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
8420
96e39866
DE
84212010-04-06 Doug Evans <dje@google.com>
8422
8423 * gdb.base/source-test.gdb: New file.
8424 * gdb.base/source.exp: Test source -v.
8425
5984a431
UW
84262010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8427
8428 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
8429
ec8a089a
PM
84302010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
8431
8432 * gdb.stabs/aout.sed: Convert all backslash to double backslash
8433 within one line, unless it is followed by a double quote.
8434 * gdb.stabs/hppa.sed: Idem.
8435 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
8436 * gdb.stabs/weird.exp: Check for correct parsing of
8437 char and string constants.
ec8a089a
PM
8438 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
8439 in .stabs to .stabx substitution.
8440
fce3c1f0
SS
84412010-04-05 Stan Shebs <stan@codesourcery.com>
8442
8443 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
8444 constant global.
8445 * gdb.trace/tfile.exp: Try to print them.
8446
d77f58be
SS
84472010-04-04 Stan Shebs <stan@codesourcery.com>
8448
8449 * gdb.base/completion.exp: Update for new "info watchpoints".
8450 * gdb.base/default.exp: Ditto.
8451 * gdb.base/help.exp: Ditto.
8452 * gdb.base/watchpoint.exp: Ditto.
8453 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 8454
af54718e
SS
84552010-04-04 Stan Shebs <stan@codesourcery.com>
8456
8457 * gdb.trace/tfile.exp: Sharpen tfind test.
8458
74d1f91e
JK
84592010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8460
8461 * gdb.base/break-entry.exp: New.
8462
eb8e76db 84632010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 8464 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
8465
8466 * gdb.reverse/i386-sse-reverse.exp: New file.
8467 * gdb.reverse/i386-sse-reverse.c: New file.
8468
bf65cad8
PA
84692010-04-02 Pedro Alves <pedro@codesourcery.com>
8470
8471 * gdb.trace/tfind.exp: Adjust expected disassembly output.
8472
fff87407
SS
84732010-04-01 Stan Shebs <stan@codesourcery.com>
8474
8475 * gdb.trace/actions.exp: Tweak expected output.
8476 * gdb.trace/while-stepping.exp: Tweak expected output.
8477
fe01d668
L
84782010-04-01 H.J. Lu <hongjiu.lu@intel.com>
8479
8480 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
8481
86b17b60
PA
84822010-04-01 Pedro Alves <pedro@codesourcery.com>
8483
8484 * gdb.base/commands.exp: Adjust.
8485 * gdb.cp/extern-c.exp: Adjust.
8486
2c58c0a9
PA
84872010-04-01 Pedro Alves <pedro@codesourcery.com>
8488
8489 * gdb.trace/collection.c (local_test_func): Define a local struct,
8490 and instanciate it.
8491
0db9b91c
PA
84922010-04-01 Pedro Alves <pedro@codesourcery.com>
8493
8494 * gdb.trace/collection.exp (gdb_collect_args_test)
8495 (gdb_collect_argarray_test): XFAIL the tests that assume the
8496 argarray argument's elements are collected.
8497
8072405b
JK
84982010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8499
8500 * gdb.dwarf2/dw2-bad-parameter-type.exp,
8501 gdb.dwarf2/dw2-bad-parameter-type.S: New.
8502
8bf6485c
SS
85032010-03-31 Stan Shebs <stan@codesourcery.com>
8504
8505 * gdb.trace/save-trace.exp: Test save/restore of default-collect
8506 and tracepoint conditionals.
8507 (gdb_verify_tracepoints): Delete unused return.
8508
fd7f724a
KS
85092010-03-26 Keith Seitz <keiths@redhat.com>
8510
8511 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
8512 appear in the output before main.
8513 Remove KFAIL for gdb/2215 aka bz 9320.
8514
8d9e7719
DE
85152010-03-30 Doug Evans <dje@google.com>
8516
0906dd0b
DE
8517 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
8518 by dejagnu.
8519 * gdb.arch/amd64-dword.exp: Ditto.
8520
8d9e7719
DE
8521 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
8522 match.
8523 (break printf): Ditto.
8524
1da644f0
SW
85252010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
8526
8527 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
8528 gcc < 4.4.
8529 * gdb.cp/shadow.exp: Ditto.
8530
a8121990
PA
85312010-03-29 Pedro Alves <pedro@codesourcery.com>
8532
8533 * gdb.trace/collection.exp (run_trace_experiment): Make sure
8534 "tstart" is silent.
8535
6e79d367
PA
85362010-03-29 Pedro Alves <pedro@codesourcery.com>
8537
8538 * gdb.trace/collection.exp (executable): New.
8539 (binfile): Use it.
8540 (fpreg, spreg, pcreg): New.
8541 (test_register): Use gdb_test_multiple. Pass /x to print.
8542 (prepare_for_trace_test): New.
8543 (run_trace_experiment): Use "continue", not gdb_run_cmd.
8544 (gdb_collect_args_test, gdb_collect_argstruct_test)
8545 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
8546 prepare_for_trace_test.
8547 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
8548 fpreg, spreg and pcreg.
8549 (gdb_collect_expression_test, gdb_collect_globals_test): Use
8550 prepare_for_trace_test.
8551 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
8552 try to detect tracing support here. Don't set breakpoints at
8553 `begin' or `end' here.
8554 <global scope>: Use clean_restart. Run to main before checking
8555 for tracing support. Check for for tracing support here.
8556
09248348
JK
85572010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8558
8559 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
8560 " as $displacement" to "seen displacement message".
8561
d350db38
PA
85622010-03-28 Pedro Alves <pedro@codesourcery.com>
8563
8564 * gdb.trace/while-dyn.exp (executable): New variable.
8565 (binfile): Use it.
8566 (test_while_stepping): New function. Move most tests here. Call
8567 it once for each of the while-stepping, stepping and ws aliases.
8568
907af001
UW
85692010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8570
8571 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
8572 that do not provide the tagless_struct type name at all.
8573 (test_print_anon_union): Do not check value of uninitialized
8574 union member. Do not use cp_test_ptype_class, so we can accept
8575 "long" as well as "long int".
8576
610197fd
PA
85772010-03-26 Pedro Alves <pedro@codesourcery.com>
8578
8579 * gdb.trace/tfile.c (tohex, bin2hex): New.
8580 (write_error_trace_file): Hexify error description.
8581
6c28cbf2
SS
85822010-03-25 Stan Shebs <stan@codesourcery.com>
8583
8584 * gdb.trace/tfile.c: Generate an additional trace file, improve
8585 portability.
8586 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
8587 files in a better way.
8588
e62b8c7e
KS
85892010-03-25 Keith Seitz <keiths@redhat.com>
8590
8591 * gdb.java/jprint.exp: XFAIL printing of static class members
8592 because of GCC debuginfo problem.
8593
82ccf5a5
JK
85942010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8595
8596 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
8597
293e2f9e
DJ
85982010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8599
8600 * gdb.base/completion.exp: Allow long instead of long int.
8601 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
8602 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
8603 variable p.
8604 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
8605 * gdb.base/pointers.exp: Allow long instead of long int.
8606 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
8607 * gdb.base/step-line.exp: Allow a directory before the source file name.
8608
95a42b64
TT
86092010-03-24 Tom Tromey <tromey@redhat.com>
8610
8611 PR breakpoints/9352:
8612 * gdb.base/default.exp: Update.
8613 * gdb.base/commands.exp: Update.
8614 * gdb.cp/extern-c.exp: Test setting commands on multiple
8615 breakpoints at once.
8616
2390201f
DJ
86172010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8618
8619 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
8620 if gdb,nosignals.
8621 * gdb.base/watchpoints.c: Do not include unnecessary headers.
8622 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
8623 exited".
8624
8c9a6790
SS
86252010-03-24 Stan Shebs <stan@codesourcery.com>
8626
8627 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
8628
a6c727b2
DJ
86292010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8630
8631 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
8632 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
8633 argument. Handle "short" and "long".
8634 (Top level): Pass overprototyped output for old_fptr and xptr.
8635
4dfd5423
PA
86362010-03-23 Pedro Alves <pedro@codesourcery.com>
8637
8638 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
8639 format strings and add casts to avoid compiler warnings.
8640
86412010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
8642
8643 * lib/trace-support.exp (gdb_trace_setactions):
8644 Don't expect whitespace after ">" prompt.
8645 * gdb.trace/actions.exp: Adjust for output changes.
8646 * gdb.trace/while-stepping.exp: Likewise.
8647
c847d045
JK
86482010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8649
8650 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
8651 and r157645).
8652
5f717f1d
JK
86532010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8654
8655 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
8656 New.
8657
7d6d51d5
DJ
86582010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
8659
8660 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
8661 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
8662
3b11a015
SS
86632010-03-19 Stan Shebs <stan@codesourcery.com>
8664
8665 * gdb.trace/ax.exp: New file.
8666
d7d158ed
DE
86672010-03-19 Doug Evans <dje@google.com>
8668
6bb85cd1
DE
8669 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
8670 output from gcc.
8671
d7d158ed
DE
8672 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
8673 named /usr/sbin/prelink<foo>.
8674
4daf5ac0
SS
86752010-03-18 Stan Shebs <stan@codesourcery.com>
8676
8677 * gdb.trace/circ.exp: Test circular-trace-buffer.
8678 * gdb.trace/tfile.exp: Update tstatus test.
8679
e8d05480
JB
86802010-03-18 Joel Brobecker <brobecker@adacore.com>
8681
8682 * gdb.dwarf2/dw2-anonymous-func.S: New file.
8683 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
8684
441b986a
UW
86852010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8686
8687 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
8688
4247603b
PA
86892010-03-18 Pedro Alves <pedro@codesourcery.com>
8690
8691 * gdb.base/default.exp: Adjust the expected output of the finish
8692 and until commands when the inferior is not being run.
8693
13387711
SW
86942010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
8695
8696 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
8697 * gdb.cp/nsusing.exp: Ditto.
8698
6e31430b
TT
86992010-03-15 Tom Tromey <tromey@redhat.com>
8700
8701 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
8702 * gdb.cp/userdef.cc (operator==): New function.
8703 (main): New locals mem1, mem2.
8704
e2d69cb5
JZ
87052010-03-15 Jie Zhang <jie@codesourcery.com>
8706
8707 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
8708 Declare and use new loadtimeout variable.
8709
f572f0a9
DJ
87102010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
8711
8712 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
8713 Use gdb_load later.
8714
51f4c0b0
PA
87152010-03-14 Pedro Alves <pedro@codesourcery.com>
8716
8717 * gdb.base/solib-disc.c (main): Make format of fprintf a string
8718 literal. Add missing endlines to prints to stderr.
8719
1c809c68
TT
87202010-03-12 Tom Tromey <tromey@redhat.com>
8721
8722 PR c++/9708:
8723 * gdb.cp/m-static.exp: Add regression test.
8724 * gdb.cp/m-static.cc (method): New method.
8725 (main): Call it.
8726
00ae8fef
SW
87272010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
8728
8729 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
8730 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
8731
759f0f0b
PA
87322010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8733
21e24d21
PA
8734 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
8735
87362010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8737
759f0f0b
PA
8738 * lib/gdb.exp (skip_stl_tests): New.
8739 (gdb_compile): Symbian needs -ldl.
8740 (shlib_target_file): New.
8741 (shlib_symbol_file): New.
8742 (gdb_load_shlibs): Use shlib_target_file.
8743 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
8744 * gdb.cp/exception.exp: Use skip_stl_tests.
8745 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
8746 * gdb.cp/try_catch.exp: Use skip_stl_tests.
8747 * gdb.cp/mb-templates.exp: Ditto.
8748 * gdb.base/commands.exp: Relax regexes.
8749 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
8750 shlib_target_file and shlib_symbol_file.
8751 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
8752 sections.
8753 * gdb.base/ending-run.exp: Accept E32Main for symbian.
8754 * gdb.base/solib-disc.exp: Use
8755 shlib_target_file and shlib_symbol_file.
8756 * gdb.base/unload.exp: Don't skip on symbian. Use
8757 shlib_target_file and shlib_symbol_file.
8758 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
8759
6a8f2671 87602010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 8761
6a8f2671
PA
8762 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
8763 * gdb.trace/report.exp: Adjust for x86 and x86_64.
8764 Issue a tfind end before looking for a tracepoint frame.
8765 * gdb.trace/tfind.exp: Adjust tstatus output.
8766 Adjust disassembly output.
8767 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
8768
ccf26247
JK
87692010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8770
8771 * gdb.base/break-interp.exp: Create new displacement parameter value
8772 for the test_ld calls.
8773 (reach): New parameter displacement, verify its content. New push of
8774 pf_prefix "reach-$func:". Import global expect_out.
8775 (test_core): New parameter displacement, verify its content. New push
8776 of pf_prefix "core:". New command "set verbose on". Import global
8777 expect_out.
8778 (test_attach): New parameter displacement, verify its content. New
8779 push of pf_prefix "attach:". New command "set verbose on". Import
8780 global expect_out.
8781 (test_ld): New parameter displacement, pass it to the reach, test_core
8782 and test_attach calls and verify its content in the "ld.so exit" test.
8783 * gdb.base/prelink.exp: Remove gdb_exit and final return.
8784 (prelink): Update expected text, use gdb_test.
8785
e469c7fb
DE
87862010-03-10 Doug Evans <dje@google.com>
8787
8788 * gdb.base/checkpoint.exp: Fix comment.
8789 Lengthen timeout while doing >600 checkpoints test.
8790 Rename duplicate "kill all one" test to keep test names unique.
8791
60e1c644
PA
87922010-03-10 Pedro Alves <pedro@codesourcery.com>
8793
8794 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
8795
cec808ec
KS
87962010-03-08 Keith Seitz <keiths@redhat.com>
8797
889bf7c5
PA
8798 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
8799 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
8800 (dm_type_long): New function.
8801 (dm_type_unsigned_short): New function.
8802 (dm_type_unsigned_long): New function.
8803 (myint): New typedef.
8804 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
8805 long, unsigned shor and long, operator char*, and typedef.
8806 (test_lookup_operator_functions): Add operator char* test.
8807 (test_paddr_operator_functions): Likewise.
8808 (test_paddr_overloaded_functions): Use probe values for
8809 short, long, and unsigned short and long.
8810 (test_paddr_hairy_functions): If the demangler probe detected
8811 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
8812 demangler.
8813 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
8814 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
8815 and "print null_pmf".
8816 Add test "ptype a.*pmf".
8817 * gdb.cp/overload.exp: Allow optional "int" to appear with
8818 "short" and "long".
8819 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
8820 long expect value for men_overload1arg.
8821 Allow "int" to appear with "short" and "long".
8822 When testing "info break", add argument for main (void).
8823 Also allow "int" to appear with "short" and "long".
8824 Ditto with "unsigned" and "long long".
cec808ec
KS
8825 * gdb.java/jmain.exp: Do not enclose methods names in single
8826 quotes.
8827 * gdb.java/jmisc.exp: Likewise.
8828 * gdb.java/jprint.exp: Likewise.
8829 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
8830
8831 From Jan Kratochvil <jan.kratochvil@redhat.com>:
8832 * gdb.cp/exception.exp (backtrace after first throw)
8833 (backtrace after second throw): Allow a namespace before __cxa_throw.
8834 (backtrace after first catch, backtrace after second catch): Allow
8835 a namespace before __cxa_begin_catch.
8836
8837 * gdb.cp/cpexprs.exp: New file.
8838 * gdb.cp/cpexprs.cc: New file.
8839
8840 From Daniel Jacobowitz <dan@codesourcery.com>
8841 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
8842 to use string_to_regexp.
8843 (ctor, dtor): New functions. Use them to match constructor
8844 and destructor function types.
8845 (Top level): Use runto_main.
8846
f870a310
TT
88472010-03-05 Tom Tromey <tromey@redhat.com>
8848
8849 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
8850 gdb.target_charset.
8851 (pp_ns.to_string): Likewise.
8852
0c199f28
KS
88532010-03-04 Keith Seitz <keiths@redhat.com>
8854
8855 * gdb.cp/overload.exp: Test that the filename portion of a linespec
8856 can be quoted. Test that both the filename and function/line
8857 portions can be quoted at the same time.
8858
c7437ca6
PA
88592010-03-04 Pedro Alves <pedro@codesourcery.com>
8860
8861 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
8862
b111b805
DE
88632010-03-03 Doug Evans <dje@google.com>
8864
24486cb7
DE
8865 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
8866 libc contains libpthread.
8867
b111b805
DE
8868 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
8869 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
8870 of gdb_compile. Add another pattern to match android backtrace.
8871
a0e0ef55
TT
88722010-03-03 Tom Tromey <tromey@redhat.com>
8873
8874 PR gdb/11345:
8875 * gdb.base/printcmds.exp (test_printf): Add test.
8876
1ba53b71
L
88772010-03-02 H.J. Lu <hongjiu.lu@intel.com>
8878
8879 * gdb.arch/amd64-byte.exp: New.
8880 * gdb.arch/amd64-dword.exp: Likewise.
8881 * gdb.arch/amd64-pseudo.c: Likewise.
8882 * gdb.arch/amd64-word.exp: Likewise.
8883 * gdb.arch/i386-byte.exp: Likewise.
8884 * gdb.arch/i386-pseudo.c: Likewise.
8885 * gdb.arch/i386-word.exp: Likewise.
8886
f5dff777
DJ
88872010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
8888
8889 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
8890 types. Add structreg, bitfields, and flags registers.
8891 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
8892 registers.
8893
90884b2b
L
88942010-03-01 H.J. Lu <hongjiu.lu@intel.com>
8895
8896 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
8897 (load_description): Set architecture if defined.
8898
dc00d89f
PM
88992010-02-28 Phil Muldoon <pmuldoon@redhat.com>
8900
8901 * gdb.python/py-frame.exp: Add read_var block tests.
8902 * gdb.python/py-frame.c (block): New function.
8903
0e095b7e
JK
89042010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8905 Daniel Jacobowitz <dan@codesourcery.com>
8906
8907 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
8908
624f1a65
DM
89092010-02-25 David S. Miller <davem@davemloft.net>
8910
8911 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
8912 fix logic for setting all_syscalls_numbers.
8913
f3e9a817
PM
89142010-02-24 Phil Muldoon <pmuldoon@redhat.com>
8915
8916 * Makefile.in: Add py-block and py-symbol.
8917 * gdb.python/py-symbol.exp: New File.
8918 * gdb.python/py-symtab.exp: New File.
8919 * gdb.python/py-block.exp: New File.
8920 * gdb.python/py-symbol.c: New File.
8921 * gdb.python/py-block.c: New File.
8922
f6bbabf0
PM
89232010-02-24 Phil Muldoon <pmuldoon@redhat.com>
8924
8925 PR python/11314
8926 * lib/gdb.exp (skip_python_tests): New function.
8927 * gdb.python/py-cmd.exp: Use skip_python_tests.
8928 * gdb.python/py-frame.exp: Likewise.
8929 * gdb.python/py-function.exp: Likewise.
8930 * gdb.python/py-prettyprint.exp: Likewise.
8931 * gdb.python/py-template.exp: Likewise.
8932 * gdb.python/py-type.exp: Likewise.
8933 * gdb.python/py-value.exp: Likewise.
8934
85d721b8
PA
89352010-02-22 Pedro Alves <pedro@codesourcery.com>
8936
8937 PR9605
8938
8939 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
8940
48e32051
TT
89412010-02-19 Tom Tromey <tromey@redhat.com>
8942
8943 PR c++/8693, PR c++/9496:
8944 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
8945 regression tests.
8946
ac9c0048
JK
89472010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8948
8949 Fix compatibility with m68k as.
8950 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
8951 Use only /* comments */.
8952
57bb97a4
UW
89532010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8954
8955 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
8956 * configure: Regenerate.
8957
7d1bf85c
DJ
89582010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
8959
8960 * gdb.python/py-type.exp: Check for Python support.
8961
061b5285
PA
89622010-02-17 Pedro Alves <pedro@codesourcery.com>
8963
8964 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
8965 `regsub' syntax available.
8966
f8a8bc2c
PA
89672010-02-17 Pedro Alves <pedro@codesourcery.com>
8968
8969 * gdb.base/shmain.c (main): Remove printf call.
8970 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
8971 * gdb.base/unload.c (main): Make format of fprintf a string
8972 literal. Add missing endlines to prints to stderr.
8973 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
8974
6f451e5e
TT
89752010-02-17 Tom Tromey <tromey@redhat.com>
8976
8977 * gdb.java/jprint.java (jprint.props): New field.
8978 * gdb.java/jprint.exp (set_lang_java): Add regression test.
8979
12d79008
PA
89802010-02-17 Pedro Alves <pedro@codesourcery.com>
8981
ef801a0e 8982 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
8983 available.
8984
d252f7e5
DJ
89852010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8986
8987 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
8988 creation to support remote host testing.
8989
67bdab6c
DJ
89902010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8991
8992 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
8993 Recognize "command not found".
8994
bb391223
DJ
89952010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8996
8997 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
8998 single-stepping.
8999
70362913
DJ
90002010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9001
9002 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
9003 if arguments are not supported.
9004
493f3c00
DJ
90052010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9006
9007 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
9008 be const or non-const.
9009
8034c749
DJ
90102010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9011
9012 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
9013 mi_send_resuming_command to send -exec-continue.
9014
791dfb64
DJ
90152010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9016
9017 * gdb.base/list.exp (test_list_filename_and_function): Add test
9018 with single quotes.
9019 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
9020 matching.
9021 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
9022 Add KFAIL'd tests for PR gdb/11289.
9023
7c5fe868
DJ
90242010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9025
9026 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
9027
fdc498b8
DJ
90282010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9029
9030 * gdb.base/comp-dir/subdir/dummy.txt: New file.
9031 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
9032 a temporary directory.
9033
b519e2a6
DJ
90342010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9035
9036 * gdb.base/charset.exp: Use a single regular expression to match
9037 show host-charset and show target-charset output.
9038
74164c56
JK
90392010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9040
9041 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
9042 "Illegal process-id" expect string more exact.
9043 (attach to digits-starting nonsense is prohibited): New.
9044
701ed6dc
JK
90452010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9046
9047 * gdb.base/prelink.exp (set verbose on): New.
9048
889bf7c5 90492010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
9050
9051 * mi-reverse.exp: New file. Test for reverse option to the
9052 following MI commands: exec-continue, exec-finish, exec-next,
9053 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 9054
dadf0e9c
JB
90552010-02-09 Joel Brobecker <brobecker@adacore.com>
9056
9057 * gdb.ada/ptype_tagged_param: New testcase.
9058
714f19d5
TT
90592010-02-08 Tom Tromey <tromey@redhat.com>
9060
9061 PR c++/8017:
9062 * gdb.cp/overload.exp: Add tests.
9063 * gdb.cp/overload.cc (struct K): New.
9064 (namespace N): New.
9065 (main): Call new functions.
9066 (K::staticoverload): Define.
9067
889bf7c5 90682010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
9069
9070 PR gdb/10728
9071 * gdb.cp/pr10728-x.h: New file.
9072 * gdb.cp/pr10728-x.cc: New file.
9073 * gdb.cp/pr10728-y.cc: New file.
9074 * gdb.cp/pr10728.exp: New file.
9075 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
9076
889bf7c5 90772010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
9078
9079 PR gdb/9067
9080 * gdb.cp/pr9067.exp: New
9081 * gdb.cp/pr9067.cc: New
9082 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
9083
7b356089
JB
90842010-02-08 Joel Brobecker <brobecker@adacore.com>
9085
9086 * lib/gdb.exp (gdb_test_timeout): New global variable.
9087 Set it to timeout if not already set.
9088 (gdb_init): Reset the value of timeout to gdb_test_timeout.
9089
1be00882
DE
90902010-02-05 Doug Evans <dje@google.com>
9091
9092 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
9093 user.
9094
82856980
SW
90952010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
9096
9097 PR c++/7935:
9098 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
9099
1a334831
TT
91002010-02-04 Tom Tromey <tromey@redhat.com>
9101
9102 * gdb.cp/virtbase.exp: Make test case names unique.
9103
9c3c02fd
TT
91042010-02-02 Tom Tromey <tromey@redhat.com>
9105
9106 * gdb.cp/virtbase.exp: Add regression tests.
9107 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
9108 (main): Instantiate RHC.
9109
0cc2414c
TT
91102010-02-02 Tom Tromey <tromey@redhat.com>
9111
9112 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
9113 type-printing change.
9114
edf3d5f3
TT
91152010-02-02 Tom Tromey <tromey@redhat.com>
9116
9117 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
9118 * gdb.cp/virtbase.cc: New file.
9119 * gdb.cp/virtbase.exp: New file.
9120 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
9121
e4b7f41c
JK
91222010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9123
9124 PR libc/11214:
9125 * gdb.threads/current-lwp-dead.c: Include features.h.
9126 (HAS_NOMMU): New.
9127 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
9128
b381ea14
JK
91292010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9130
9131 * gdb.base/symbol-without-target_section.exp,
9132 gdb.base/symbol-without-target_section.c: New.
9133
c593ac0e
DJ
91342010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9135
9136 * gdb.base/bigcore.exp: Reset increased timeout.
9137 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
9138
db25f29d
DJ
91392010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9140
9141 * gdb.base/gcore.exp (capture_command_output): Use
9142 gdb_test_multiple.
9143
f9d67f43
DJ
91442010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9145
9146 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
9147 * gdb.arch/thumb2-it.exp (test_it_break): New function.
9148 (Top level): Call it.
9149
177321bd
DJ
91502010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9151
9152 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
9153
97f2ed50
DJ
91542010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9155
9156 * gdb.base/call-strs.exp, gdb.base/default.exp,
9157 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
9158 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
9159 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
9160 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
9161 gdb.base/watchpoint-solib.exp: Save and restore timeout.
9162 * gdb.base/ending-run.exp: Correct restore of timeout.
9163 * gdb.base/page.exp: Remove unnecessary timeout setting.
9164
e4e2711a
JB
91652010-01-29 Joel Brobecker <brobecker@adacore.com>
9166
9167 * gdb.ada/rec_return: New testcase.
9168
ba581dc1
JB
91692010-01-29 Joel Brobecker <brobecker@adacore.com>
9170
9171 * gdb.ada/call_pn: New testcase.
9172
4ea95be9
DJ
91732010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9174
9175 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
9176 (Top level): Use it to resume.
9177 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
9178 the Thumb mode displaced stepping error as unsupported.
9179
df83a9bf
SW
91802010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
9181
889bf7c5
PA
9182 * gdb.cp/nsusing.exp: Added more tests.
9183 * gdb.cp/nsrecurs.exp: Ditto.
9184 * gdb.cp/nsusing.cc: Added test functions.
9185 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 9186
40b27cdc
JK
91872010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9188
9189 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
9190 absolute directory pathnames in gdb.sum file.
9191
de958931
SW
91922010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
9193
9194 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
9195 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
9196
708ead4e
TT
91972010-01-26 Tom Tromey <tromey@redhat.com>
9198
9199 PR exp/7643:
9200 * gdb.base/printcmds.exp (test_print_string_constants): Remove
9201 setup_kfail.
9202
b14e635e
SW
92032010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
9204
9205 * gdb.cp/nsrecurs.exp: New test.
9206 * gdb.cp/nsrecurs.cc: New test program.
9207 * gdb.cp/nsstress.exp: New test.
9208 * gdb.cp/nsstress.cc: New test program.
9209 * gdb.cp/nsdecl.exp: New test.
9210 * gdb.cp/nsdecl.cc: New test program.
9211
8540c487
SW
92122010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
9213
9214 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
9215 imported into file scope.
9216 Marked test as xfail.
9217 * gdb.cp/namespace-using.cc (marker5): New function.
9218 * gdb.cp/shadow.exp: New test.
9219 * gdb.cp/shadow.cc: New test program.
9220 * gdb.cp/nsimport.exp: New test.
9221 * gdb.cp/nsimport.cc: New test program.
9222
421d5d99
TT
92232010-01-25 Tom Tromey <tromey@redhat.com>
9224
9225 PR gdb/11049:
9226 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
9227 with "set print null-stop on".
9228
691f8dc1
JK
92292010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9230
9231 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
9232 Adjust it for DISASSEMBLY_OMIT_FNAME.
9233
0b92b5bb
TT
92342010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9235
9236 PR symtab/11199:
9237 * gdb.dwarf2/member-ptr-forwardref.exp,
9238 gdb.dwarf2/member-ptr-forwardref.S: New.
9239
23787403
JK
92402010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9241
9242 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
9243 (thread1_func): Protect thread1_tid with thread1_tid_cond by
9244 thread1_tid_mutex. Remove gdbstop_mutex handling.
9245 (thread2_func): Protect thread2_tid with thread2_tid_cond by
9246 thread2_tid_mutex. Remove gdbstop_mutex handling.
9247 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
9248 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
9249 pthread_cond_wait conditionalizations by while loops.
9250
b966cb8a
TT
92512010-01-20 Tom Tromey <tromey@redhat.com>
9252
9253 PR backtrace/10770:
9254 * gdb.dwarf2/pr10770.exp: New file.
9255 * gdb.dwarf2/pr10770.c: New file.
9256 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
9257
fcae584b
VP
92582010-01-20 Vladimir Prus <vladimir@codesourcery.com>
9259
9260 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
9261 that target was removed, and the test always runs native anyway.
9262
a0f49112
JK
92632010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9264
9265 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
9266 gdb.base/watchpoint-cond-gone-stripped.c: New.
9267
ceeb3d5a
TT
92682010-01-19 Tom Tromey <tromey@redhat.com>
9269
9270 PR c++/8000:
9271 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
9272 existing tests.
9273 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
9274 (main): Use AAA::SomeEnum.
9275
dd322c54
JK
92762010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9277
9278 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
9279 (test_ignore_count): Declare line_callme_body global.
9280 (run to breakpoint with ignore count): Use line_callme_body.
9281 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
9282 (set line_main_hello, set line_main_return): Reindent.
9283 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
9284 New.
9285 (continue to callee4): Use line_callee4_body.
9286 (check *stopped from CLI command): Use line_callee4_next.
9287 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
9288 (set line_main_hello, set line_main_return): Reindent.
9289 (set line_callee4_head, set line_callee4_body): New.
9290 (continue to callee4): Use line_callee4_body.
9291
4e8f195d
TT
92922010-01-18 Tom Tromey <tromey@redhat.com>
9293
9294 PR c++/9680:
9295 * gdb.cp/casts.cc: Add new classes and variables.
9296 * gdb.cp/casts.exp: Test new operators.
9297
9e14a9ba
JB
92982010-01-18 Tom Tromey <tromey@redhat.com>
9299 Thiago Jung Bauermann <bauerman@br.ibm.com>
9300
9301 * gdb.python/source2.py: New file.
9302 * gdb.python/source1: New file.
9303 * gdb.python/python.exp: Test "source" command.
9304
00bf0b85
SS
93052010-01-15 Stan Shebs <stan@codesourcery.com>
9306
9307 * gdb.trace/tfile.c: New file.
9308 * gdb.trace/tfile.exp: New file.
889bf7c5 9309
55235ad7
JK
93102010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9311
9312 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
9313
9f2982ff
JK
93142010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9315
9316 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
9317
bbfba9ed
JK
93182010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9319
9320 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
9321 (libfunc): New parameter action. Implement also selectable "sleep".
9322 * gdb.base/break-interp-main.c: Include assert.h.
9323 (libfunc): New parameter action.
9324 (main): New parameters argc and argv. Assert argc. Pass argv.
9325 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
9326 (test_attach): New proc.
9327 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
9328 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
9329
61f0d762
JK
93302010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9331
9332 * gdb.base/break-interp.exp (test_core): New proc.
9333 (test_ld): Call it.
9334
06a6f270
JK
93352010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9336
9337 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
9338 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
9339 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
9340 and gdb_compile_shlib. Use new -Wl compiler options.
9341 (dl bt, main bt): New tests.
9342
51bee8e9
JK
93432010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9344
9345 Support PIEs with no symfile_objfile.
9346 * gdb.base/break-interp.exp: New argument at the test_ld calls.
9347 (test_ld): New parameter trynosym.
9348 (test_ld <$trynosym>): New block.
9349
b8040f19
JK
93502010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9351
9352 * gdb.base/break-interp.exp: New file.
9353
be759fcf
PM
93542010-01-13 Phil Muldoon <pmuldoon@redhat.com>
9355
9356 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
9357 * gdb.python/py-prettyprint.py (pp_ls): New printer.
9358 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
9359 test.
9360 * gdb.python/py-prettyprint.c: Define lazystring test structure.
9361 * gdb.python/py-mi.exp: Add lazy string test.
9362
dc146f7c
VP
93632010-01-13 Vladimir Prus <vladimir@codesourcery.com>
9364
9365 * lib/mi-support.exp (mi_check_thread_states): Handle
9366 core number in thread listing.
9367
b4ba55a1
JB
93682010-01-12 Joel Brobecker <brobecker@adacore.com>
9369
9370 * gdb.base/maint.exp: Adjust the expected output for the
9371 "maint print type" test. Use gdb_test_multiple instead of
9372 gdb_sent/gdb_expect.
9373
08e24bd4
DE
93742010-01-11 Doug Evans <dje@google.com>
9375
6496a609
DE
9376 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
9377 from gdbserver_download. All callers updated.
9378
08e24bd4
DE
9379 * gdb.server/ext-run.exp: "info os processes" requires xml support.
9380
b5cfddf5
JK
93812010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9382
9383 Implement binary numbers parsing.
9384 * gdb.base/printcmds.exp (test_integer_literals_accepted)
9385 (test_integer_literals_rejected): New binary tests.
9386
3725885a
RW
93872010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9388
9389 * gdb.cell/configure: Regenerate.
9390
37aeb5df
JK
93912010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9392
9393 * gdb.base/corefile.exp: Move the core finding block out and call it as
9394 core_find, new variable $corefile, replace corefile by $corefile and
9395 [file tail $corefile] for usage vs. test names resp.
9396 * lib/gdb.exp (core_find): Move it as a new function here. New
9397 parameter binfile and deletefiles. New variable $destcore. Pre-delete
9398 $destcore. Return "" on error.
9399
d521f563
JK
94002010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9401
9402 Workaround PR binutils/10802.
9403 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
9404 (twice).
9405
28f24826
DJ
94062010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9407
9408 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
9409
2de75e71
JB
94102010-01-08 Joel Brobecker <brobecker@adacore.com>
9411
9412 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
9413 call, to avoid interruption.
9414
fe00719b 94152010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
9416
9417 * gdb.stabs/weird.def (args93): New.
9418
d0ef5df8
DE
94192010-01-07 Doug Evans <dje@google.com>
9420
9421 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
9422
3a08d52f
TT
94232010-01-07 Tom Tromey <tromey@redhat.com>
9424
9425 * gdb.base/source.exp: Use correct line number.
9426
7a697b8d
SS
94272010-01-05 Stan Shebs <stan@codesourcery.com>
9428
9429 * gdb.trace/tracecmd.exp: Test ftrace.
9430
7803799a
UW
94312010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9432
9433 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
9434
c54eabfa
JK
94352010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9436
9437 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
9438 "uint_for_mi_testing".
9439
02e7ef19
JB
94402010-01-01 Joel Brobecker <brobecker@adacore.com>
9441
9442 Test indented comment in file being sourced.
9443 * gdb.base/commands.exp: Test indented comment in file being sourced.
9444
abd775ce
JB
94452010-01-01 Joel Brobecker <brobecker@adacore.com>
9446
9447 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
9448 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
9449 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
9450 notice.
9451
79b55b82
JB
94522010-01-01 Joel Brobecker <brobecker@adacore.com>
9453
9454 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
9455 notice.
9456
8997583e
JK
94572010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9458
9459 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
9460 missing $after_stopped and comma (,) expectation.
9461
6da95a67
SS
94622009-12-31 Stan Shebs <stan@codesourcery.com>
9463
9464 * gdb.trace/actions.exp: Test teval action.
889bf7c5 9465
218d2fc6
TJB
94662009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9467
9468 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
9469 (top level): Call test_watchpoint_in_big_blob.
9470 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
9471 watchpoints.
9472 (func3): Write to buf.
9473
236f1d4d
SS
94742009-12-29 Stan Shebs <stan@codesourcery.com>
9475
9476 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 9477
f61e138d
SS
94782009-12-28 Stan Shebs <stan@codesourcery.com>
9479
9480 * gdb.trace/tsv.exp: New file.
9481 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 9482
0219b378
DJ
94832009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
9484
9485 * gdb.base/find.c (main): Reference search buffers.
9486 * gdb.base/included.c (main): Reference integer.
9487 * gdb.base/ptype.c (charfoo): Declare.
9488 (intfoo): Call charfoo.
9489 * gdb.base/scope0.c (useitp): New function.
9490 (usestatics): Use useitp.
9491 (useit): Add a type for val.
9492 * gdb.base/scope1.c (useit1): Take a pointer argument.
9493 (usestatics1): Update calls to useit1.
9494 * gdb.cp/call-c.cc: Declare foo.
9495 (main): Call foo.
9496 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
9497 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
9498 (main): Call C::ensureRefs and ensureOtherRefs.
9499 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
9500 variables.
9501 (ensureOtherRefs): New function.
9502 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
9503 * gdb.cp/templates.cc (main): Call t5i.value.
9504
3f78692f
JK
95052009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9506
9507 Fix compatibility with G++-4.5.
9508 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
9509 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
9510 (uncaught return): Remove.
9511
429374b8
JK
95122009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9513 Phil Muldoon <pmuldoon@redhat.com>
9514
9515 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
9516 (bp_location13, bp_location14, bp_location17, bp_location18)
9517 (marker3_proto, marker4_proto): New variables.
9518 (breakpoint info): Update output.
9519 (run until breakpoint at marker3, run until breakpoint at marker4): New
9520 tests.
9521
859825b8
JK
95222009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9523
9524 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
9525 Replace the printf call of Y by provided "y-set-1" label. New block
9526 for the second shared library.
9527 * gdb.base/unload.exp: Compile also the second library, call
9528 gdb_load_shlibs also for it. Use now gdb_breakpoint.
9529 (single pending breakpoint info): Rename to ...
9530 (pending breakpoint info before run): ... this extended test.
9531 (libfile2, libname2, libsrcfile2, libsrc2)
9532 (lib_sl2): New variables.
9533 (exec_opts): Set also SHLIB_NAME2.
9534 (pending breakpoint info on first run at shrfunc1)
9535 (pending breakpoint info on second run at shrfunc1)
9536 (pending breakpoint info on second run at shrfunc2)
9537 (print y from libfile, print y from libfile2): New tests.
9538 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
9539 * gdb.base/unloadshr2.c: New.
9540
e6a386cd
HZ
95412009-12-22 Hui Zhu <teawater@gmail.com>
9542
9543 * gdb.reverse/sigall-reverse.exp: Adjust.
9544
9e19b45e
VP
95452009-12-21 Vladimir Prus <vladimir@codesourcery.com>
9546
9547 PR gdb/10884
9548
9549 * gdb.mi/var-cmd.c (do_bitfield_tests): New
9550 (main): Call do_bitfield_tests.
aacf5b1e 9551 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 9552
d53a7b30
JB
95532009-12-20 Joel Brobecker <brobecker@adacore.com>
9554
9555 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
9556 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
9557 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
9558 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
9559 gdb.modula2/unbounded1.c: Update copyright header.
9560
191ca0a1
CM
95612009-12-10 Chris Moller <moller@mollerware.com>
9562
9563 PR gdb/9399
9564 * gdb.cp/virtfunc2.exp: New tests
9565 * gdb.cp/virtfunc2.cc: New tests
9566 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
9567
0fa6cf1b
MS
95682009-12-10 Oza Pawandeep (paawan1982@yahoo.com
9569
9570 * gdb.reverse/i387-env-reverse.c: New file.
9571 * gdb.reverse/i387-env-reverse.exp: New file.
9572 * gdb.reverse/i387-stack-reverse.c: New file.
9573 * gdb.reverse/i387-stack-reverse.exp: New file.
9574
361ae042
PM
95752009-12-08 Phil Muldoon <pmuldoon@redhat.com>
9576
9577 * gdb.python/py-type.exp (test_range): New test.
9578
bfd31e71
PM
95792009-12-03 Phil Muldoon <pmuldoon@redhat.com>
9580
9581 PR python/10805
9582
9583 * gdb.python/py-type.exp: New file.
9584 * gdb.python/py-type.c: New file.
9585 * Makefile.in: Add py-type.
9586
57a1d736
TT
95872009-12-03 Tom Tromey <tromey@redhat.com>
9588
9589 * gdb.python/py-value.exp (test_parse_and_eval): New
9590 function.
9591
1f3b5d1b
PP
95922009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9593
9594 PR gdb/11022
9595
9596 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
9597 * gdb.base/pr11022.c: New test.
9598
8b7dbdc9
JK
95992009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9600
9601 Fix spurious false FAILs.
9602 * gdb.base/structs.c (chartest): New.
9603 (main): Fill-in chartest.
9604 * gdb.base/structs.exp (anychar_re, first): New.
9605 (start_structs_test): Import global anychar_re and first.
9606 New gdb_test call "set print elements 300; ${testfile}"
9607 (start_structs_test <$first>): New block.
9608 (any): Import global anychar_re. New variable ac. Use ${ac}.
9609
6a53b2ec
JK
96102009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9611
9612 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
9613
d7167b4c
JK
96142009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9615
9616 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
9617 Force $srcfile file.
9618 * gdb.base/foll-fork.c (callee): Comment out the printf call.
9619
b1798462
UW
96202009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9621
9622 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
9623 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9624 * gdb.threads/watchthreads-reorder.exp: Likewise.
9625
b6199126
DJ
96262009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
9627
9628 PR gdb/8704
9629
9630 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
9631 "if", and "thread". Correct matching in the previous test.
9632
b22a0510
DJ
96332009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
9634
9635 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
9636
930636d2
MS
96372009-11-23 Michael Snyder <msnyder@vmware.com>
9638
9639 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
9640 * gdb.reverse-watch-precsave.exp: Ditto.
9641
21a0512e
PP
96422009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
9643
9644 * gdb.asm/asm-source.exp: Adjust.
9645 * gdb.base/help.exp: Adjust.
889bf7c5 9646
fc30d5e0
PA
96472009-11-22 Pedro Alves <pedro@codesourcery.com>
9648
9649 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
9650 (do_syscall_tests_without_xml): Set data-directory to
9651 /the/path/to/nowhere.
9652
f6bc2008
PA
96532009-11-21 Pedro Alves <pedro@codesourcery.com>
9654
9655 * gdb.threads/local-watch-wrong-thread.c,
9656 gdb.threads/local-watch-wrong-thread.exp: New files.
9657
8c2fb5de
PA
96582009-11-21 Pedro Alves <pedro@codesourcery.com>
9659
9660 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
9661 assume new `regsub' syntax available.
9662
ebec9a0f
PA
96632009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9664
a79d3c27
JK
9665 * gdb.base/watchpoint-hw-hit-once.exp,
9666 gdb.base/watchpoint-hw-hit-once.c: New.
9667
96682009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9669
9670 * gdb.threads/watchthreads-reorder.exp,
9671 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 9672
276a961b
MK
96732009-11-17 Nathan Sidwell <nathan@codesourcery.com>
9674
9675 * gdb.xml/tdesc-regs.exp: Use for m68k.
9676
4867c1fb
PA
96772009-11-15 Pedro Alves <pedro@codesourcery.com>
9678
9679 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
9680
f6838f81
DJ
96812009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9682
9683 * lib/gdb.exp (current_target_name): New procedure.
9684 (gdb_wrapper_target): New variable.
9685 (gdb_wrapper_init): Set gdb_wrapper_target.
9686 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
9687 wrapper.
9688
4ac4dd3f
DJ
96892009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9690
9691 * gdb.base/remote.exp: Delete the slowest load test.
9692 Do not load with fixed packet sizes.
9693
a7881759
DJ
96942009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9695
9696 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
9697
97a5b505
DJ
96982009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9699
9700 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
9701 srcfile when setting a breakpoint.
9702
d3e1fc54
DJ
97032009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
9704
9705 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
9706 macros.
9707
7cbcbded
DJ
97082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9709
9710 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
9711 to be in memory.
9712 * gdb.base/display.c (force_mem): New.
9713 (do_loops): Use it. Add breakpoint comments.
9714 (do_vars): Add a breakpoint comment.
9715 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
9716 line numbers.
9717
bdea3a92
NF
97182009-11-13 Nathan Froyd <froydnj@codesourcery.com>
9719
9720 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
9721 instead of a bare "run".
9722
269f82e5
PP
97232009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9724
9725 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 9726
a69b7d9d
DJ
97272009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9728
9729 * lib/cell.exp (skip_cell_tests): Clean up test files before
9730 returning.
9731
b598bfda
DJ
97322009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9733
9734 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
9735 and the breakpoint menu. Do not call perror if a prompt is seen.
9736 Consume the following GDB prompt.
9737 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
9738 * gdb.cp/namespace.exp: Use gdb_test.
9739 * gdb.cp/templates.exp: Use gdb_test.
9740 (test_template_breakpoints): Use gdb_test_multiple.
9741
87728fa0
DJ
97422009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9743
9744 * gdb.base/break1.c (struct some_struct, values): Move earlier.
9745 (marker4): Reference values.
9746
b67c692f
DJ
97472009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9748
9749 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
9750 is missing.
9751
f0df251a
DJ
97522009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9753
9754 * gdb.base/break.c (need_malloc): New.
9755 * gdb.base/constvars.c (main): Reference crass and crisp.
9756 * gdb.base/gdb1821.c (main): Reference bar.
9757 * gdb.cp/gdb1355.cc (main): Reference s1.
9758 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
9759 (main): Call them.
9760 * gdb.cp/hang2.cc (dummy2): Define.
9761 * gdb.cp/hang3.cc (dummy3): Define.
9762 * gdb.cp/m-data.cc (main): Reference shadow.
9763
bdf7534a
NF
97642009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9765 Nathan Froyd <froydnj@codesourcery.com>
9766
9767 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
9768 remote host.
9769
f24fce77
NF
97702009-11-12 Nathan Froyd <froydnj@codesourcery.com>
9771
9772 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
9773 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
9774 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9775 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9776 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9777 * gdb.dwarf2/dw2-producer.exp: Likewise.
9778 * gdb.dwarf2/mac-fileno.exp: Likewise.
9779 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
9780 py-prettyprint.py to the remote host.
9781 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
9782
40f0318e
KS
97832009-11-11 Keith Seitz <keiths@redhat.com>
9784
9785 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
9786 use it instead of "Foo".
9787 * gdb.cp/classes.exp (do_tests): Add a test to access
9788 a method through a typedef'd class name.
9789
f3d9f7fb
NF
97902009-11-11 Nathan Froyd <froydnj@codesourcery.com>
9791
9792 * gdb.base/long_long.exp: Permit leading zeros on floating-point
9793 exponents.
9794 * gdb.base/pointers.exp: Likewise.
9795 * gdb.cp/ref-types.exp: Likewise.
9796
a4216f37
KS
97972009-11-11 Keith Seitz <keiths@redhat.com>
9798
9799 * gdb.cp/cplusfuncs.cc (class foo): Add operators
9800 new[] and delete[].
9801 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
9802 "void".
9803 (probe_demangler): Remove all single-quoting of
9804 method and variable names.
9805 (info_func_regexp): Remove the word "void" from any
9806 occurrence of "(void)".
9807 (print_addr_2): Remove all single-quoting of
9808 method names.
9809 (print_addr_2_kfail): Likewise.
9810 (print_addr): Single-quote C function names before
9811 passing to print_addr_2.
9812 (test_paddr_operator_functions): Remove single-quoting
9813 for method names.
9814 Add tests for operator new[] and operator delete[].
9815
9b14d7aa
JK
98162009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9817
9818 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
9819
85feb311
KS
98202009-11-09 Keith Seitz <keiths@redhat.com>
9821
9822 * gdb.cp/overload.exp: Add tests for resolving overloaded
9823 methods in expression parsing/evaluation.
9824
fa335448
DJ
98252009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
9826
9827 * lib/gdb.exp (default_gdb_version): Use --version instead of
9828 --command.
9829
ec3c07fc
NS
98302009-11-10 Nathan Sidwell <nathan@codesourcery.com>
9831
9832 * lib/gdb.exp (gdb_compile_test): New.
9833 (skip_ada_tests, skip_java_tests): New.
9834 (gdb_compile): Use gdb_compile_test for f77.
9835 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
9836 * lib/java.exp (compile_java_from_source): Remove runtests check,
9837 use gdb_compile_test to record result.
9838 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
9839 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
9840 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
9841 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
9842 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
9843 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
9844 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
9845 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
9846 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
9847 adjust gdb_compile invocations.
9848
b8b4e42b
JK
98492009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9850
9851 * Makefile.in (abs_builddir): New.
9852 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
9853 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
9854 `$(abs_builddir)/site.exp'.
9855
f8b7eaf3
DJ
98562009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
9857
9858 * config/m68k-emc.exp, lib/emc-support.exp,
9859 gdb.trace/gdb_c_test.c: Delete.
9860 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
9861 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9862 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9863 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9864 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9865 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
9866 casing for m68k-*-elf.
9867
c4187697
NS
98682009-11-03 Pedro Alves <pedro@codesourcery.com>
9869
9870 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
9871 * gdb.arch/i386-prologue.exp: Likewise.
9872 * gdb.arch/i386-unwind.exp: Likewise.
9873
db16b772
DJ
98742009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9875
9876 * lib/gdb.exp (gdb_expect): Fix timeout typo.
9877
bcf71277
DJ
98782009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9879
9880 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
9881
0105cee2
DJ
98822009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9883
9884 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
9885
24ddea62
JK
98862009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9887
9888 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
9889
287ccc17
JK
98902009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9891
9892 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
9893 * gdb.base/sepdebug2.c: New file.
9894
08bca259 98952009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
9896
9897 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
9898 the modified warnings for catch syscall. Verify if GDB was compiled
9899 with support for lib expat, and choose which tests to run depending
9900 on this.
9901
5d4e2b76
VP
99022009-10-30 Vladimir Prus <vladimir@codesourcery.com>
9903
9904 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
9905 that composite commands are parsed OK. And also test
9906 that breakpoint commands do work.
9907
240e538a
MS
99082009-10-23 Michael Snyder <msnyder@vmware.com>
9909
9910 gdb.reverse/consecutive-precsave.exp: Change expect pattern
9911 to allow for new disassembly style.
9912
9c419145
PP
99132009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9914
9915 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 9916
02506ff1
MS
99172009-10-22 Michael Snyder <msnyder@vmware.com>
9918
9919 * gdb.reverse/break-precsave.exp: New test.
9920 * gdb.reverse/consecutive-precsave.exp: Ditto.
9921 * gdb.reverse/finish-precsave.exp: Ditto.
9922 * gdb.reverse/i386-precsave.exp: Ditto.
9923 * gdb.reverse/machinestate-precsave.exp: Ditto.
9924 * gdb.reverse/sigall-precsave.exp: Ditto.
9925 * gdb.reverse/solilb-precsave.exp: Ditto.
9926 * gdb.reverse/step-precsave.exp: Ditto.
9927 * gdb.reverse/until-precsave.exp: Ditto.
9928 * gdb.reverse/watch-precsave.exp: Ditto.
9929
4cf866a3
MS
99302009-10-22 Michael Snyder <msnyder@vmware.com>
9931
9932 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
9933 for gdb_expect. Adjust one test's expect strings for the new
9934 format of disassemble.
9935 * gdb.reverse/finish-reverse.exp: Delete 'return'.
9936 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
9937 gdb_test_multiple.
9938 * gdb.reverse/step-reverse.exp: Delete 'return'.
9939 * gdb.reverse/until-reverse.exp: Delete blank lines.
9940 * gdb.reverse/watch-reverse.exp: Delete blank lines.
9941
2b28d209
PP
99422009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
9943
9944 * gdb.base/consecutive.exp: Adjust.
9945 * gdb.base/display.exp: Likewise.
9946 * gdb.base/pc-fp.exp: Likewise.
9947 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 9948
33b9c32b
MS
99492009-10-19 Michael Snyder <msnyder@vmware.com>
9950
9951 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
9952 * gdb.reverse/finish-reverse.c: Ditto.
9953 * gdb.reverse/sigall-reverse.c: Ditto.
9954 * gdb.reverse/solib-reverse.c: Ditto.
9955 * gdb.reverse/step-reverse.c: Ditto.
9956 * gdb.reverse/watch-reverse.c: Ditto.
9957
6c95b8df
PA
99582009-10-19 Pedro Alves <pedro@codesourcery.com>
9959 Stan Shebs <stan@codesourcery.com>
9960
9961 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
9962 * gdb.base/foll-exec.exp: Adjust to expect a process id before
9963 "Executing new program".
9964 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
9965 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
9966 left listed after having been killed.
9967 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
9968 * gdb.base/maint.exp: Adjust test.
9969
9970 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
9971 * gdb.multi/Makefile.in: New.
9972 * gdb.multi/base.exp: New.
9973 * gdb.multi/goodbye.c: New.
9974 * gdb.multi/hangout.c: New.
9975 * gdb.multi/hello.c: New.
9976 * gdb.multi/bkpt-multi-exec.c: New.
9977 * gdb.multi/bkpt-multi-exec.exp: New.
9978 * gdb.multi/crashme.c: New.
9979
279017b7
TG
99802009-10-13 Tristan Gingold <gingold@adacore.com>
9981
9982 * gdb.base/sepdebug.exp: Check debug info are found.
9983
0413d738
PA
99842009-10-08 Pedro Alves <pedro@codesourcery.com>
9985
9986 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
9987 bits.
9988
c628eecc
JK
99892009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9990
9991 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
9992
38af1bfe
JB
99932009-10-07 Joel Brobecker <brobecker@adacore.com>
9994
9995 * gdb.base/watchpoints.c: Add copyright header. Reformat one
9996 of the comments.
9997
2b0adecd
PM
99982009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
9999
10000 * gdb.base/annota1.exp: Remove obsolete match_max increase.
10001 * gdb.base/annota3.exp: Idem.
10002 * gdb.base/maint.exp: Idem.
10003
8d417781
PM
100042009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
10005
889bf7c5 10006 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
10007 to default.
10008
bb61102d
PM
100092009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10010
889bf7c5 10011 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
10012 mingw and cygwin targets.
10013
ace5c364
PM
100142009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10015 Pedro Alves <pedro@codesourcery.com>
10016
889bf7c5 10017 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
10018 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
10019
c2d494a0
PM
100202009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10021
e1b52ce2
PM
10022 * gdb.base/shr1.c: Use %p in format string.
10023 * gdb.base/unload.c: Avoid warning in fprintf.
10024 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 10025
209f53f5
PM
100262009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10027
10028 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
10029 long type.
10030 (test_unlink): Correct printf string.
10031 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
10032 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
10033
8172766a
JK
100342009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10035
10036 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
10037 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
10038 * gdb.arch/ia64-breakpoint-shadow.S: New file.
10039
0f73703c
UW
100402009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10041
10042 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
10043 * gdb.objc/nondebug.exp: Likewise.
10044
b32306ca
UW
100452009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10046
10047 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
10048 target_info setting.
10049
10050 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
10051 that detect new threads during "info threads".
10052
0057022f
UW
100532009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10054
10055 * gdb.threads/manythreads.c (main): Increase thread stack size
10056 to 2*PTHREAD_STACK_MIN.
10057 * gdb.threads/multi-create.c (main): Likewise.
10058 (create_function): Likewise.
10059
f29c0325
UW
100602009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10061
10062 * gdb.base/dump.exp: Pass difference of pointer types instead
10063 of integer types as offset to restore in intarr3.srec case.
10064
fcb34849
UW
100652009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10066
10067 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
10068
d5142e3b
UW
100692009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10070
10071 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
10072
087b74b2 100732009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 10074
087b74b2
PM
10075 New test for two watchpoints, with disabling of
10076 the first inserted.
10077 * testsuite/gdb.base/watchpoints.c: New file.
10078 * testsuite/gdb.base/watchpoints.exp: New file.
10079
96c07c5b
TT
100802009-09-25 Tom Tromey <tromey@redhat.com>
10081
10082 * gdb.base/charset.exp: Test utf-16 strings with Python.
10083
b8899f2b
TT
100842009-09-25 Tom Tromey <tromey@redhat.com>
10085
10086 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
10087 UCS-4.
10088 * gdb.base/charset.c (utf_32_string): Rename.
10089 (init_utf32): Rename.
10090 (main): Update.
10091
329719ec
TT
100922009-09-22 Tom Tromey <tromey@redhat.com>
10093
10094 * gdb.python/py-function.exp: Add regression tests.
10095
11ef0d76
KS
100962009-09-21 Keith Seitz <keiths@redhat.com>
10097
10098 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
10099 with invalid operator.
10100
3fe8f3b3
KS
101012009-09-21 Keith Seitz <keiths@redhat.com>
10102
10103 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
10104 and destructor using typedef name of class.
10105 * gdb.cp/classes.cc (class Base1): Add a destructor.
10106 (base1): New typedef.
10107 (use_methods): Instanitate an object of type base1.
10108 * gdb.cp/templates.exp (test_template_typedef): New procedure.
10109 (do_tests): Call test_template_typedef.
10110 * gdb.cp/templates.cc (Baz::~Baz): New method.
10111 (intBazOne): New typedef.
10112 (main): Instantiate intBazOne.
10113
7a9fe101
PM
101142009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10115
10116 PR python/10633
10117
10118 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
10119 Function.
10120 (run_lang_tests): Add print elements test.
10121
2e4d963f
PM
101222009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10123
10124 * gdb.python/py-value.exp (test_subscript_regression): New
10125 function. Test for invalid subscripts.
10126 * gdb.python/py-value.c (main): Add test array, and pointer to it.
10127 (ptr_ref): New function.
10128
ec7e75e7
PP
101292009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10130
10131 * gdb.base/default.exp: Fix "show convenience".
10132
0cc7d26f
TT
101332009-09-15 Tom Tromey <tromey@redhat.com>
10134
10135 * lib/mi-support.exp (mi_create_varobj): Update.
10136 (mi_create_floating_varobj): Likewise.
10137 (mi_create_dynamic_varobj): New proc.
10138 (mi_varobj_update): Update.
10139 (mi_varobj_update_with_type_change): Likewise.
10140 (mi_varobj_update_kv_helper): New proc.
10141 (mi_varobj_update_dynamic_helper): Rewrite.
10142 (mi_varobj_update_dynamic): New proc.
10143 (mi_list_varobj_children): Update.
10144 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
10145 * gdb.python/python-prettyprint.py (pp_outer): New class.
10146 (pp_nullstr): Likewise.
10147 (lookup_function): Register new printers.
10148 * gdb.python/python-prettyprint.c (struct substruct): New type.
10149 (struct outerstruct): Likewise.
10150 (substruct_test): New function.
10151 (struct nullstr): New type.
10152 (string_1, string_2): New globals.
10153 (main): Add new tests.
10154 * gdb.python/python-mi.exp: Added regression tests.
10155 * gdb.mi/mi2-var-display.exp: Update.
10156 * gdb.mi/mi2-var-cmd.exp: Update.
10157 * gdb.mi/mi2-var-child.exp: Update.
10158 * gdb.mi/mi2-var-block.exp: Update.
10159 * gdb.mi/mi-var-invalidate.exp: Update.
10160 * gdb.mi/mi-var-display.exp: Update.
10161 * gdb.mi/mi-var-cmd.exp: Update.
10162 * gdb.mi/mi-var-child.exp: Update.
10163 * gdb.mi/mi-var-block.exp: Update.
10164 * gdb.mi/mi-break.exp: Update.
10165 * gdb.mi/gdb701.exp: Update.
10166
a96d9b2e
SDJ
101672009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
10168
10169 * Makefile.in: Inclusion of catch-syscall object.
10170 * gdb.base/catch-syscall.c: New file.
10171 * gdb.base/catch-syscall.exp: New file.
10172
b43b923a
MS
101732009-09-12 Michael Snyder <msnyder@vmware.com>
10174
10175 * gdb.reverse/step-reverse.exp: Explicitly check for targets
10176 that can support reverse debuggnig.
10177
cec03d70
TT
101782009-09-11 Tom Tromey <tromey@redhat.com>
10179
10180 * gdb.dwarf2/valop.S: New file.
10181 * gdb.dwarf2/valop.exp: New file.
10182
e23bb3fc
MK
101832009-09-11 Mark Kettenis <kettenis@gnu.org>
10184
10185 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
10186
37c3696d
DE
101872009-09-10 Doug Evans <dje@google.com>
10188
10189 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
10190 Add $gdb_prompt to second breakpoint regexp.
10191
5172aecb
JB
101922009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
10193
10194 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
10195 names, add missing ones.
10196 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
10197 * gdb.python/py-frame.c: Rename from python-frame.c.
10198 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
10199 testfile name.
10200 * gdb.python/py-function.exp: Rename from python-function.exp.
10201 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
10202 testfile name.
10203 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
10204 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
10205 Adjust testfile name.
10206 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
10207 * gdb.python/py-template.cc: Rename from python-template.cc.
10208 * gdb.python/py-template.exp: Rename from python-template.exp.
10209 Adjust testfile name.
10210 * gdb.python/py-value.c: Rename from python-value.c.
10211 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
10212 testfile name.
10213
b554e4bd
JK
102142009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10215
10216 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
10217 $bpt2address.
10218 (Second breakpoint address is valid on ia64)
10219 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
10220
9a68ae16
JM
102212009-09-03 Joseph Myers <joseph@codesourcery.com>
10222
10223 * gdb.base/ending-run.exp: Restrict regular expression matching
10224 line number to require closing brace following.
10225
146b9145
DE
102262009-09-03 Doug Evans <dje@google.com>
10227
10228 * gdb.base/store.exp (check_set): Fix typo in expected value message.
10229
787d21e1
TT
102302009-09-02 Tom Tromey <tromey@redhat.com>
10231
10232 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
10233
e7802207
TT
102342009-09-02 Tom Tromey <tromey@redhat.com>
10235
10236 * gdb.dwarf2/callframecfa.exp: New file.
10237 * gdb.dwarf2/callframecfa.S: New file.
10238
817aadd2
JK
102392009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10240
10241 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
10242 gdb.base/solib-overlap-main.c: New.
10243
4a76eae5
DJ
102442009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
10245
10246 PR gdb/10565
10247
10248 * gdb.base/bitfields.c (struct container, container): New.
10249 (main): Initialize it and call break5.
10250 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
10251
d4b96c9a
JK
102522009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10253
10254 Support constant DW_AT_data_member_location by GCC PR debug/40659.
10255 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
10256
4e22772d
JK
102572009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10258
10259 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
10260
2efab443
MS
102612009-08-26 Michael Snyder <msnyder@vmware.com>
10262
10263 * gdb.base/i386-reverse.c: New file.
10264 * gdb.base/i386-reverse.exp: New file.
10265 * gdb.base/Makefile.in: Add new files to be removed.
10266
07ab73a0
JM
102672009-08-26 Joseph Myers <joseph@codesourcery.com>
10268
10269 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
10270 environment-pwd for remote host.
10271 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
10272
676accff
KS
102732009-08-24 Keith Seitz <keiths@redhat.com>
10274
10275 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
10276 Add two new C++ completer tests which limit the output to a
889bf7c5 10277 given class.
676accff 10278
f9f7ad22
MS
102792009-08-24 Michael Snyder <msnyder@vmware.com>
10280
10281 * gdb.base/del.exp: Fix typo in comment.
10282 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
10283
81ecdfbb
RW
102842009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10285
10286 * configure: Regenerate.
10287 * gdb.hp/configure: Likewise.
10288 * gdb.hp/gdb.aCC/configure: Likewise.
10289 * gdb.hp/gdb.base-hp/configure: Likewise.
10290 * gdb.hp/gdb.compat/configure: Likewise.
10291 * gdb.hp/gdb.defects/configure: Likewise.
10292 * gdb.hp/gdb.objdbg/configure: Likewise.
10293 * gdb.stabs/configure: Likewise.
10294
cab0c772
UW
102952009-08-19 Doug Evans <dje@google.com>
10296
10297 * gdb.base/gdbvars.c: New file.
10298 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
10299
b8fa0bfa
PA
103002009-08-14 Pedro Alves <pedro@codesourcery.com>
10301
10302 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10303 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
10304
b84aa90a
PA
103052009-08-13 Pedro Alves <pedro@codesourcery.com>
10306
10307 * gdb.base/default.exp: Adjust "set language test": it's now an
10308 enum command. Larger help string moved to "help set language".
10309 * gdb.base/help.exp: Adjust "help set language" expected output,
10310 now lists all known languages.
10311
0d8f9b2c
NF
103122009-08-11 Nathan Froyd <froydnj@codesourcery.com>
10313
10314 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
10315 all frame arguments.
10316 * gdb.arch/altivec-regs.exp: Likewise.
10317
bda180e0
TT
103182009-08-07 Tom Tromey <tromey@redhat.com>
10319
10320 * gdb.base/setshow.exp: Add tests for changes to set language, set
10321 check range, and set check type.
10322
48cb2d85
VP
103232009-08-03 Vladimir Prus <vladimir@codesourcery.com>
10324
10325 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
10326 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 10327 Call it.
48cb2d85 10328
1ea34204
UW
103292009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10330
10331 * configure.ac: Run gdb.cell tests when appropriate.
10332 * configure: Regenerate.
10333 * lib/cell.exp: New file.
10334 * gdb.cell: New directory.
10335 * gdb.cell/configure.ac: New file.
10336 * gdb.cell/configure: New file.
10337 * gdb.cell/Makefile.in: New file.
10338 * gdb.cell/arch.exp: New file.
10339 * gdb.cell/break.c: New file.
10340 * gdb.cell/break.exp: New file.
10341 * gdb.cell/break-spu.c: New file.
10342 * gdb.cell/bt.c: New file.
10343 * gdb.cell/bt2-spu.c: New file.
10344 * gdb.cell/bt-spu.c: New file.
10345 * gdb.cell/bt.exp: New file.
10346 * gdb.cell/coremaker.c: New file.
10347 * gdb.cell/coremaker-spu.c: New file.
10348 * gdb.cell/core.exp: New file.
10349 * gdb.cell/gcore.exp: New file.
10350 * gdb.cell/data.c: New file.
10351 * gdb.cell/data.exp: New file.
10352 * gdb.cell/data-spu.c: New file.
10353 * gdb.cell/ea-cache.exp: New file.
10354 * gdb.cell/ea-cache.c: New file.
10355 * gdb.cell/ea-cache-spu.c: New file.
10356 * gdb.cell/ea-standalone.c: New file.
10357 * gdb.cell/ea-standalone.exp: New file.
10358 * gdb.cell/ea-test.c: New file.
10359 * gdb.cell/ea-test.exp: New file.
10360 * gdb.cell/f-regs.exp: New file.
10361 * gdb.cell/mem-access.c: New file.
10362 * gdb.cell/mem-access.exp: New file.
10363 * gdb.cell/mem-access-spu.c: New file.
10364 * gdb.cell/ptype.exp: New file.
10365 * gdb.cell/registers.exp: New file.
10366 * gdb.cell/size.c: New file.
10367 * gdb.cell/sizeof.exp: New file.
10368 * gdb.cell/size-spu.c: New file.
10369 * gdb.cell/solib.exp: New file.
10370 * gdb.cell/solib-symbol.exp: New file.
10371
85e747d2
UW
103722009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10373
10374 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
10375
58d6951d
DJ
103762009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10377
10378 * gdb.base/float.exp: Handle VFP registers.
10379
6e0a4f15
MS
103802009-07-14 Michael Snyder <msnyder@vmware.com>
10381
dcd5da87
MS
10382 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
10383 to bring gdb to the beginning of the calling line.
10384
6e0a4f15
MS
10385 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
10386 confusing the i386 epilogue unwinder.
10387
782b2b07
SS
103882009-07-14 Stan Shebs <stan@codesourcery.com>
10389
10390 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
10391
f662c3bc
MS
103922009-07-14 Michael Snyder <msnyder@vmware.com>
10393
10394 * gdb.reverse/step-reverse.exp (stepi into function call):
10395 Call instruction may not be first instruction in the line.
10396 (reverse stepi from a function call): Used wrong line number.
10397
8f313923
JK
103982009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10399
10400 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
10401
4662c76e
JK
104022009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10403
10404 Fix gdb.base/macscp.exp when using custom inputrc.
10405 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
10406 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
10407 env(TERM) set.
10408 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
10409 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
10410
aa81e255
JK
104112009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10412
10413 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
10414 * gdb.base/annota1.exp (thread_test): Import global $testfile.
10415 Change the compilation target to match the testcase name.
10416 * gdb.base/sect-cmd.exp: Change the compilation target to match the
10417 testcase name.
10418 * a2-run.exp: Use for setup prepare_for_testing. Change the
10419 compilation target to match the testcase name.
10420 * gdb.base/commands.exp: Likewise.
10421 * gdb.base/finish.exp: Likewise.
10422 * gdb.base/float.exp: Likewise.
10423 * gdb.base/info-target.exp: Likewise.
10424 * gdb.base/relational.exp: Likewise.
10425 * gdb.base/term.exp: Likewise.
10426 * gdb.base/until.exp: Likewise.
10427 * gdb.base/volatile.exp: Likewise.
10428 * gdb.base/whatis-exp.exp: Likewise.
10429
4c93b1d7
HZ
104302009-07-11 Hui Zhu <teawater@gmail.com>
10431
10432 * gdb.base/help.exp (disassemble): Update expected help text.
10433
812f7342
TT
104342009-07-09 Tom Tromey <tromey@redhat.com>
10435
10436 * lib/gdb.exp: Handle TRANSCRIPT.
10437 (remote_spawn, remote_close, send_gdb): New procs.
10438
fbb8f299
PM
104392009-07-10 Phil Muldoon <pmuldoon@redhat.com>
10440
10441 * gdb.python/python-prettyprint.c: Add counted null string
10442 structure.
10443 * gdb.python/python-prettyprint.exp: Print null string. Test for
10444 embedded nulls.
10445 * gdb.python/python-prettyprint.py (pp_ns): New Function.
10446 * gdb.python/python-value.exp (test_value_in_inferior): Add
10447 variable length string fetch tests.
10448 * gdb.python/python-value.c (main): Add strings for string fetch tests.
10449
c0ac0ec7
JK
104502009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10451
10452 * gdb.base/dump.exp (inaccessible memory is reported): New test.
10453
30b66ecc
TT
104542009-07-07 Tom Tromey <tromey@redhat.com>
10455
10456 * gdb.base/call-rt-st.exp: Update for change to escape output.
10457 * gdb.base/callfuncs.exp: Likewise.
10458 * gdb.base/charset.exp: Likewise.
10459 * gdb.base/constvars.exp: Likewise.
10460 * gdb.base/long_long.exp: Likewise.
10461 * gdb.base/pointers.exp: Likewise.
10462 * gdb.base/printcmds.exp: Likewise.
10463 * gdb.base/setvar.exp: Likewise.
10464 * gdb.base/store.exp: Likewise.
10465 * gdb.cp/ref-types.exp: Likewise.
10466 * gdb.mi/mi-var-child.exp: Likewise.
10467 * gdb.mi/mi-var-display.exp: Likewise.
10468 * gdb.mi/mi2-var-display.exp: Likewise.
10469 * gdb.base/charset.exp: Test octal escape sequence length.
10470 Update for change to escape output.
10471
187c4a2b
JK
104722009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10473
10474 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
10475
d80a43f9
DJ
104762009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
10477
10478 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
10479
047427a8
JK
104802009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10481
10482 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
10483 gdbserver increasing $portnum if "Can't bind address" has been seen.
10484
8b5a0f4f
PA
104852009-07-05 Pedro Alves <pedro@codesourcery.com>
10486
10487 * gdb.base/ending-run.exp: Add "step out of main" pattern for
10488 mingw32ce.
10489
7d93ba58
PA
104902009-07-05 Pedro Alves <pedro@codesourcery.com>
10491
10492 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
10493 VFP format.
10494
2277426b
PA
104952009-07-02 Pedro Alves <pedro@codesourcery.com>
10496
10497 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
10498 linux. Adjust to use "inferior", "info inferiors", "detach
10499 inferior" and "kill inferior" instead of "restart", "info fork",
10500 "detach fork" and "delete fork".
10501 * gdb.base/ending-run.exp: Spell out "info".
10502 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
10503 the "kill" command.
10504
5af949e3
UW
105052009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10506
10507 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
10508 change to prefix TLS offset in hex with 0x.
10509
5d3729b5
UW
105102009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10511
10512 * gdb.base/default.exp: Update test case for "x" changes.
10513
af589bd0
TG
105142009-07-01 Tristan Gingold <gingold@adacore.com>
10515
10516 * gdb.base/bigcore.exp: Make darwin untested.
10517
40974f91
JK
105182009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10519
10520 * gdb.base/completion.exp (directory completion): Create the directory.
10521 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
10522 escapeuniquesub.
10523 (directory completion 2): Expect now ${escapeuniquesub}.
10524 (Glob remaining of directory test): Remove one excessive newline.
10525 Expect the real output.
10526
59dd3af6
JK
105272009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10528
10529 Fix `make check//%' target after `make check' has been ran.
10530 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
10531 a mkdir call.
10532 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
10533 (%/.dir): Remove.
10534
f4e164aa
JK
105352009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10536
10537 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
10538 the expected result record.
10539
69af2122
JK
105402009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10541
10542 Remove racy FAILs relying just on the timeouts.
10543 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
10544 (annotation_level 2): Remove racy FAILs.
10545
2fd481e1
PP
105462009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10547
10548 gdb/10275
889bf7c5
PA
10549 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
10550
c38f313d
DJ
105512009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
10552
10553 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
10554
8b777f02
VP
105552009-06-30 Vladimir Prus <vladimir@codesourcery.com>
10556
10557 * gdb.mi/mi-stack.exp: Testing symbolic options
10558 to -stack-list-locals and -stack-list-arguments.
10559
00c7eacf
JK
105602009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10561
10562 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
10563
6bc80edc
TT
105642009-06-29 Tom Tromey <tromey@redhat.com>
10565
10566 * dg-extract-results.sh: New file.
10567 * Makefile.in (FORCE_PARALLEL): New variable.
10568 (CHECK_TARGET): New conditional variable.
10569 (check): Use CHECK_TARGET.
10570 (DO_RUNTEST): New variable.
10571 (check-single): New target.
10572 (TEST_DIRS): New variable.
10573 (TEST_TARGETS): Likewise.
10574 (check-parallel): New target.
10575 (check-gdb.%): New pattern.
10576 (BASE1_FILES): New variable.
10577 (BASE2_FILES): Likewise.
10578 (check-gdb.base%): New pattern.
10579 (%/.dir): New pattern.
10580 * configure: Rebuild.
10581 * aclocal.m4 (AM_CONDITIONAL): New defun.
10582 * configure.ac: Check whether user is using GNU make.
10583 (GMAKE): New conditional.
10584
794684b6
SW
105852009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
10586
10587 * gdb.cp/namespace-nested-import.cc: New test.
10588 * gdb.cp/namespace-nested-import.exp: New test.
10589
edb3359d
DJ
105902009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
10591
10592 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
10593 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
10594 * gdb.opt/Makefile.in (EXECUTABLES): Update.
10595 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
10596 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
10597 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
10598 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
10599 gdb.opt/inline-markers.c: New files.
10600 * lib/gdb.exp (skip_inline_frame_tests): New function.
10601 (skip_inline_var_tests): New function.
10602
cf657a0c
AS
106032009-06-27 Andreas Schwab <schwab@linux-m68k.org>
10604
10605 * gdb.cp/exception.exp: Don't require $hex before inner frame in
10606 backtrace.
10607
28d41a99
MS
106082009-06-27 Michael Snyder <msnyder@vmware.com>
10609
10610 * gdb.reverse: New directory.
10611 * gdb.reverse/break-reverse.c: New test.
10612 * gdb.reverse/break-reverse.exp: New test.
10613 * gdb.reverse/consecutive-reverse.c: New test.
10614 * gdb.reverse/consecutive-reverse.exp: New test.
10615 * gdb.reverse/finish-reverse.c: New test.
10616 * gdb.reverse/finish-reverse.exp: New test.
10617 * gdb.reverse/machinestate.c: New test.
10618 * gdb.reverse/ms1.c: New test.
10619 * gdb.reverse/machinestate.exp: New test.
10620 * gdb.reverse/Makefile.in: New file.
10621 * gdb.reverse/shr2.c: New test.
10622 * gdb.reverse/solib-reverse.c: New test.
10623 * gdb.reverse/solib-reverse.exp: New test.
10624 * gdb.reverse/step-reverse.c: New test.
10625 * gdb.reverse/step-reverse.exp: New test.
10626 * gdb.reverse/until-reverse.c: New test.
10627 * gdb.reverse/ur1.c: New test.
10628 * gdb.reverse/until-reverse.exp: New test.
10629 * gdb.reverse/watch-reverse.c: New test.
10630 * gdb.reverse/watch-reverse.exp: New test.
10631 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
10632 * configure: Regenerate.
10633
fe3c8b0d
DE
106342009-06-26 Doug Evans <dje@google.com>
10635
10636 * gdb.base/psymtab.exp: Turn off pending breakpoints.
10637
3a72a602
PM
106382009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
10639
10640 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
10641 windows problem for 'file delete $binfile'.
10642
27aa8d6a
SW
106432009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
10644
10645 * gdb.cp/namespace-using.exp: New test.
10646 * gdb.cp/namespace-using.cc: New test.
10647
8ac055f8
JB
106482009-05-20 Joel Brobecker <brobecker@adacore.com>
10649
10650 * gdb.ada/variant_record_packed_array: New testcase.
10651
85e306ed
TT
106522009-06-23 Tom Tromey <tromey@redhat.com>
10653
10654 * gdb.base/charset.exp (test_combination): Regression test.
10655 * gdb.base/charset.c (my_wchar_t): New typedef.
10656 (myvar): New global.
10657 (main): Set myvar.
10658
56643c5e
PM
106592009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
10660
10661 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
10662 target.
10663
1fac167a
UW
106642009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10665
10666 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
10667
7ccb0be9
UW
106682009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10669
10670 * gdb.mi/gdb680.exp: Update test for error message.
10671
568d6575
UW
106722009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10673
10674 * gdb.base/annota1.exp: Allow multiple occurrences of the
10675 frames-invalid annotation.
10676 * gdb.cp/annota2.exp: Likewise.
10677
7cd1089b
PM
106782009-06-15 Phil Muldoon <pmuldoon@redhat.com>
10679
10680 * gdb.cp/gdb2495.cc: New file.
10681 * gdb.cp/gdb2495.exp: New file.
10682
72c63395
JK
106832009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10684
10685 Report error on GDB crash during runto.
10686 * lib/gdb.exp (runto <eof>): New.
10687
3788363d
DJ
106882009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
10689
10690 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
10691 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
10692 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
10693 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
10694 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
10695 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
10696 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
10697 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
10698 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
10699 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
10700 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
10701 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
10702 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10703 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
10704 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
10705 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
10706 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
10707 gdb.server/server-mon.exp, gdb.server/server-run.exp,
10708 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10709 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
10710 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
10711 gdb.trace/passcount.exp, gdb.trace/report.exp,
10712 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
10713 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
10714 gdb.trace/while-stepping.exp: Use a unique name for the compiled
10715 executable.
10716
17592de3
PA
107172009-06-07 Pedro Alves <pedro@codesourcery.com>
10718
10719 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
10720 defined before referencing it.
10721
701e355d
DE
107222009-06-03 Doug Evans <dje@google.com>
10723
10724 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
10725 * gdb.arch/i386-see.c: Ditto.
10726
f2292c65
PM
107272009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
10728
10729 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
10730 (check_macro): Return 1 if undefined.
10731 If first test fails, check if macro debug information is available,
10732 and report unsupported test if no macro information is found.
10733
5a437975
DE
107342009-05-29 Doug Evans <dje@google.com>
10735
10736 * gdb.threads/hand-call-in-threads.exp: New.
10737 * gdb.threads/hand-call-in-threads.c: New.
10738
c141c696
MS
107392009-05-29 Michael Snyder <msnyder@vmware.com>
10740
10741 * gdb.base/break-always.exp: Change "1" to "on".
10742 Add confirmation check.
10743
b3444185
PA
107442009-05-28 Pedro Alves <pedro@codesourcery.com>
10745
10746 * gdb.threads/threxit-hop-specific.c: New.
10747 * gdb.threads/threxit-hop-specific.exp: New.
10748 * gdb.threads/thread-execl.c: New.
10749 * gdb.threads/thread-execl.exp: New.
10750
b6313243
TT
107512009-05-27 Tom Tromey <tromey@redhat.com>
10752 Thiago Jung Bauermann <bauerman@br.ibm.com>
10753
10754 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
10755 (mi_child_regexp): Likewise.
10756 (mi_list_varobj_children_range): Likewise.
10757 (mi_get_features): Likewise.
10758 (mi_list_varobj_children): Rewrite.
10759 * gdb.python/python-mi.exp: New file.
10760
a6bac58e
TT
107612009-05-27 Tom Tromey <tromey@redhat.com>
10762 Thiago Jung Bauermann <bauerman@br.ibm.com>
10763 Phil Muldoon <pmuldoon@redhat.com>
10764 Paul Pluzhnikov <ppluzhnikov@google.com>
10765
10766 * gdb.python/python-prettyprint.exp: New file.
10767 * gdb.python/python-prettyprint.c: New file.
10768 * gdb.python/python-prettyprint.py: New file.
10769 * gdb.base/display.exp: print/r is now valid.
10770
2c74e833
TT
107712009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
10772 Tom Tromey <tromey@redhat.com>
10773 Pedro Alves <pedro@codesourcery.com>
10774 Paul Pluzhnikov <ppluzhnikov@google.com>
10775
10776 * gdb.python/python-template.exp: New file.
10777 * gdb.python/python-template.cc: New file.
10778 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
10779 tests.
10780 * gdb.python/python-value.exp (py_objfile_tests): New proc.
10781 Call it.
10782 (test_value_after_death): New proc.
10783 * gdb.python/python-value.c (PTR): New typedef.
10784 (main): New variable 'x'.
10785
89c73ade
TT
107862009-05-27 Tom Tromey <tromey@redhat.com>
10787
10788 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
10789 tests.
10790 * gdb.python/python-value.exp (py_objfile_tests): New proc.
10791 Call it.
10792
a75724bc
PA
107932009-05-27 Pedro Alves <pedro@codesourcery.com>
10794
10795 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
10796
e58b0e63
PA
107972009-05-24 Pedro Alves <pedro@codesourcery.com>
10798
10799 * gdb.threads/fork-thread-pending.c: New.
10800 * gdb.threads/fork-thread-pending.exp: New.
10801
4ac36638
JK
108022009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10803
10804 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
10805 * gdb.dwarf2/dw2-strp.S (a_string2): New.
10806
889bf7c5 108072009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 10808
889bf7c5 10809 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 10810
b242c3c2
PA
108112009-05-17 Pedro Alves <pedro@codesourcery.com>
10812
10813 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
10814 `gdb_get_line_number'. Call `callee' in both parent and child.
10815 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
10816 `gdb_get_line_number' instead of hardcoding line numbers.
10817 (catch_fork_unpatch_child): New procedure to test detaching
10818 breakpoints from child fork.
10819 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
10820 hardcoding line numbers.
10821 (do_fork_tests): Run `catch_fork_unpatch_child'.
10822
ee342b23
VP
108232009-05-17 Vladimir Prus <vladimir@codesourcery.com>
10824
10825 * gdb.mi/mi-cmd-var.exp: Check that when varobj
10826 of structure type enters or leaves the scope, it
10827 is reported by -var-update.
10828
e2009e98
DE
108292009-05-11 Doug Evans <dje@sebabeach.org>
10830
10831 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 10832 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
10833 * gdb.threads/schedlock.c (main): Fix off-by-one error.
10834
00903456
JK
108352009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10836
10837 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
10838
dc621c35
DE
108392009-04-30 Doug Evans <dje@google.com>
10840
10841 * gdb.threads/watchthreads2.exp: New testcase.
10842 * gdb.threads/watchthreads2.c: New testcase.
10843
9ab4e744
DE
108442009-04-29 Doug Evans <dje@google.com>
10845
10846 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
10847 * gdb.cp/mb-ctor.cc: Ditto.
10848 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
10849 * gdb.cp/mb-inline.h (multi_line_foo): New function.
10850 * gdb.cp/mb-inline1.cc: Call it.
10851 * gdb.cp/mb-inline2.cc: Ditto.
10852 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
10853 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
10854
484086b7
JK
108552009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10856
10857 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
10858 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
10859 Replace all uses of `decimal' by `nonzero'.
10860 (info macro FROM_COMMANDLINE): New test.
10861
379a77b5
TT
108622009-04-27 Tom Tromey <tromey@redhat.com>
10863
10864 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
10865
b92b73c2
DE
108662009-04-27 Doug Evans <dje@google.com>
10867
10868 * gdb.threads/watchthreads.c (main): Initialize args before starting
10869 the threads. Plus formatting cleanup.
10870 * gdb.threads/watchthreads.exp: Avoid errant failures due to
10871 biased scheduling of one thread.
10872
945a118d
JG
108732009-04-27 Jerome Guitton <guitton@adacore.com>
10874
10875 * gdb.cp/templates.cc (GetMax): New template.
10876 (main): Declare two instances of GetMax.
10877 * gdb.cp/templates.exp: Add new test.
10878
d389af10
JK
108792009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10880
10881 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
10882
e7f86de9
JM
108832009-04-22 Joseph Myers <joseph@codesourcery.com>
10884
10885 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
10886
334cc82d
TT
108872009-04-15 Tom Tromey <tromey@redhat.com>
10888
10889 * gdb.base/charset.exp: Add regression test.
10890
d12672cc
JB
108912009-04-14 Joel Brobecker <brobecker@adacore.com>
10892
10893 * gdb.base/exe-lock.exp: New testcase.
10894
18e8c3bc
TT
108952009-04-13 Tom Tromey <tromey@redhat.com>
10896
10897 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
10898 operator on Frame.
10899
5ecd5cbe
UW
109002009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10901
10902 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
10903 * gdb.server/ext-attach.exp: Likewise.
10904
7309f756
VP
109052009-04-03 Vladimir Prus <vladimir@codesourcery.com>
10906
10907 Eliminate some sleep usage.
10908
889bf7c5
PA
10909 * gdb.mi/basics.c (do_nothing): New.
10910 (main): Use do_nothing instead of printf, so that
10911 not to introduce race condition between output of
10912 inferiour and output of gdb. Do not use sleep as it
10913 is not generally available on embedded targets.
7309f756 10914
f4b95f6f
PA
109152009-04-02 Pedro Alves <pedro@codesourcery.com>
10916
10917 * gdb.server/ext-attach.exp: Expect an optional process id after
10918 "Detached from remote process".
10919
de40b933
JK
109202009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10921
10922 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
10923 gdb.dwarf2/dw2-unresolved.exp: New.
10924
2ae101a4
PA
109252009-04-02 Pedro Alves <pedro@codesourcery.com>
10926
10927 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
10928 mi_run_to_main.
10929
56a8e183
PA
109302009-04-02 Pedro Alves <pedro@codesourcery.com>
10931
10932 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
10933 mi_run_to_main. Skip thread exit test on remote targets.
10934 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
10935 mi_run_to_main.
10936 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
10937 mi_run_to_main.
10938 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
10939 when expecting ^connected. Detect when the target doesn't support
10940 non-stop mode.
10941 (mi_run_cmd): Detect if non-stop mode was requested by isn't
10942 supported. Return -1 on error, 0 on success.
10943 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
10944 (mi_runto): Return mi_runto_helper's result explicitly.
10945
c35fafde
PA
109462009-04-01 Pedro Alves <pedro@codesourcery.com>
10947
10948 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
10949
f8a8dce6
JB
109502009-04-01 Tom Tromey <tromey@redhat.com>
10951
10952 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
10953 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
10954 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
10955 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
10956
71c25dea
TT
109572009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
10958 Jan Kratochvil <jan.kratochvil@redhat.com>
10959
10960 PR gdb/931
10961 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
10962 output.
10963 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
10964 for gdb/931.
10965 * dw2-strp.S (DW_AT_language): Change to C++.
10966 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
10967
02d9a9ce
JB
109682009-03-31 Joel Brobecker <brobecker@adacore.com>
10969
10970 * gdb.ada/tasks: New testcase.
10971
1042e4c0
SS
109722009-03-30 Stan Shebs <stan@codesourcery.com>
10973
10974 * gdb.trace/actions.exp: Update to match new info trace format.
10975 * gdb.trace/deltrace.exp: Ditto.
10976 * gdb.trace/infotrace.exp: Ditto.
10977 * gdb.trace/passcount.exp: Ditto.
10978 * gdb.trace/save-trace.exp: Ditto.
10979 * gdb.trace/while-stepping.exp: Ditto.
10980 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
10981
f8f6f20b
TJB
109822009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10983
10984 * gdb.python/python-frame.c: New file.
10985 * gdb.python/python-frame.exp: New file.
10986
c0c6f777
TJB
109872009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
10988
10989 * gdb.python/python-value.exp: Add tests for the address
10990 attribute.
10991
3cb51905
AS
109922009-03-29 Andreas Schwab <schwab@linux-m68k.org>
10993
10994 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
10995
88fc996f
DE
109962009-03-26 Doug Evans <dje@google.com>
10997
10998 * gdb.mi/mi-nonstop-exit.exp: New file.
10999 * gdb.mi/non-stop-exit.c: New file.
11000
56ef84b1
TT
110012009-03-26 Tom Tromey <tromey@redhat.com>
11002
11003 Update for change to prologue skipping:
11004 * gdb.mi/mi2-simplerun.exp: Update.
11005 * gdb.mi/mi2-break.exp: Update.
11006 * gdb.mi/mi-simplerun.exp: Update.
11007 * gdb.mi/mi-break.exp: Update.
11008 * gdb.base/ending-run.exp: Update.
11009
def2b000
TJB
110102009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
11011
11012 * gdb.python/python-value.exp (test_value_in_inferior): Test
11013 gdb.Value.is_optimized_out attribute.
11014
442ddf59
JK
110152009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11016
11017 * gdb.dwarf2/dw2-noloc-main.c: New file.
11018 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
11019 (.text): Remove.
11020 (.data): New.
11021 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
11022 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
11023 (DW_TAG_subprogram func_cu1, noloc): Remove.
11024 (main): New.
11025 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
11026 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
11027 (file_symbols): New procedure.
11028
a8df5de4
TT
110292009-03-25 Tom Tromey <tromey@redhat.com>
11030
11031 * gdb.base/charset.exp (valid_target_charset): New proc.
11032 Use it to skip tests on invalid charsets.
11033
cc1d7add
PM
110342009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
11035
11036 * gdb.base/completion.exp: Add a test for directory completion.
11037
bcd5727b
JK
110382009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11039
11040 Fix a racy FAIL.
11041 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
11042 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
11043
cc924cad
TJB
110442009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
11045
11046 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
11047 * gdb.python/python-function.exp: Add test for function returning
11048 a GDB value.
11049
bc3b79fd
TJB
110502009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
11051
11052 * gdb.python/python-function.exp: New file.
11053
6c7a06a3
TT
110542009-03-20 Tom Tromey <tromey@redhat.com>
11055
11056 * gdb.base/store.exp: Update for change to escape output.
11057 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
11058 to escape output.
11059 * gdb.base/pointers.exp: Update for change to escape output.
11060 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
11061 to escape output.
11062 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
11063 escape output.
11064 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
11065 to escape output.
11066 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
11067 escape output.
11068 * gdb.base/setvar.exp: Update for change to escape output.
11069 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
11070 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
11071 to escape output.
11072 (test_print_string_constants): Likewise.
11073 * gdb.base/charset.exp (valid_host_charset): Check size of
11074 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
11075 cases. Handle "auto"-related output.
11076 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
11077 (uvar, Uvar): New globals.
11078
c31af87b
JG
110792009-03-19 Jerome Guitton <guitton@adacore.com>
11080
11081 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
11082 deltas.
11083 * gdb.ada/fixed_points.exp: Ditto.
11084
51272cf2
PA
110852009-03-18 Pedro Alves <pedro@codesourcery.com>
11086
11087 * return-nodebug.c: Don't include stdio.h.
11088 (init): Delete.
11089 (func): Delete definition and provide extern declaration.
11090 (t): New.
11091 (main): Don't call printf. Call func and store its result in t.
11092 * return-nodebug1.c: New.
11093 * return-nodebug.exp: Don't expect stdio output. Instead, print
11094 the global variable t. Drop printf formatters and cast types from
11095 foreach loop. Don't use prepare_for_testing. Compile
11096 return-nodebug.c and return-nodebug1.c in separate steps. Don't
11097 define FORMAT or CAST.
11098
d24948ac
PP
110992009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11100
11101 * gdb.base/solib-display.exp: Disable test for remote targers.
11102
61ff14c6
JK
111032009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11104
11105 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
11106
cb4dce93
JK
111072009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11108
11109 Fix a racy FAIL.
11110 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
11111 code from `follow parent, print pids'.
11112 (`follow child, print pids', `follow parent, print pids'): Call it.
11113 Replace `gdb_test "break..."' by gdb_breakpoint.
11114
f7c60c5e
VP
111152009-03-13 Vladimir Prus <vladimir@codesourcery.com>
11116
11117 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 11118 sync and async modes.
f7c60c5e 11119
383ace49
JB
111202009-03-12 Joel Brobecker <brobecker@adacore.com>
11121
11122 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
11123 that was checked in by mistake. Remove loading of ada.exp, since
11124 this is not necessary in this case.
11125
4ce102af
JB
111262009-03-12 Joel Brobecker <brobecker@adacore.com>
11127
11128 * gdb.ada/ptype_arith_binop.exp: New testcase.
11129
529a2aef
JB
111302009-03-12 Joel Brobecker <brobecker@adacore.com>
11131
11132 * gdb.ada/mod_from_name: New testcase.
11133
8a38181c
JB
111342009-03-12 Joel Brobecker <brobecker@adacore.com>
11135
11136 * gdb.ada/tick_last_segv: New testcase.
11137
11436dee
VP
111382009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11139
61ff14c6 11140 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 11141
1f31650a
VP
111422009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11143
61ff14c6
JK
11144 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
11145 include the token in ^running and frame info in *stopped.
1f31650a 11146
a3247a22
PP
111472009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11148
11149 * solib-display.exp: New file.
11150 * solib-display-main.c: New file.
11151 * solib-display-lib.c: New file.
61ff14c6 11152
aae64587
PA
111532009-03-05 Pedro Alves <pedro@codesourcery.com>
11154
11155 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
11156
44aabfbc
JK
111572009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11158
11159 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
11160 (list_and_check_macro): Use more specific test name.
11161 (next to definition): Make the test names unique.
11162
c087fcd3
PM
111632009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
11164
11165 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 11166
c86cf029
VP
111672009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11168
11169 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
11170 notifications.
11171 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
11172 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
11173 * lib/mi-support.exp (library_loaded_re): New.
11174 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
11175
3ea85240
VP
111762009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11177
11178 * gdb.gdb/observer.exp: Use test_notification observer, not
11179 normal_stop, everywhere.
11180 (test_normal_stop_notifications): Rename to...
11181 (test_notifications): ...this.
11182 (test_observer_normal_stop): Rename to...
11183 (test_observer): ...this.
11184
1903f0e6
DE
111852009-02-16 Doug Evans <dje@google.com>
11186
11187 * gdb.arch/amd64-disp-step.S (test_int3): New test.
11188 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
11189 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
11190 (test_prefixed_syscall,test_int3): New tests.
11191 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
11192 (test_prefixed_syscall,test_int3): New tests.
11193
1d33d6ba
VP
111942009-02-14 Vladimir Prus <vladimir@codesourcery.com>
11195
3cb51905
AS
11196 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
11197 (mi_expect_interrupt): Likewise.
11198 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
11199 response.
1d33d6ba 11200
faafb047
PM
112012009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11202
11203 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
11204 * gdb.base/pc-fp.exp (get_valueofx): Remove.
11205 Replace calls to get_valueofx by get_hexadecimal_valueof.
11206
417e16e2
PM
112072009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11208
11209 * lib/gdb.exp (get_valueof): Accept anything as a return value.
11210 (get_integer_valueof): New procedure.
11211 (get_sizeof): Use new get_integer_value_of.
11212 * gdb.base/sizeof.exp: Replace all uses of get_valueof
11213 by get_integer_valueof.
11214
7065b901
TT
112152009-02-13 Tom Tromey <tromey@redhat.com>
11216
11217 * gdb.base/remote.exp (get_sizeof): Remove.
11218 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
11219 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
11220 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
11221 * lib/gdb.exp (get_valueof): Move from long_long.exp.
11222 (get_sizeof): Likewise.
11223
5d7cb8df
JK
112242009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11225
11226 PR fortran/9806
11227 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
11228
b2febfff
PP
112292009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11230
11231 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
11232
4aa995e1
PA
112332009-02-06 Pedro Alves <pedro@codesourcery.com>
11234
11235 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
11236
d8906c6f
TJB
112372009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
11238
11239 * gdb.python/python-cmd.exp: New file.
11240
ff4ab08d
TG
112412009-02-06 Tristan Gingold <gingold@adacore.com>
11242
11243 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
11244
aacd552b
TG
112452009-02-05 Tristan Gingold <gingold@adacore.com>
11246
11247 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
11248 pointer is dereferenced and use this signal name in regexp.
11249 * gdb.base/signull.exp: Ditto.
11250 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
11251 * gdb.base/signull.c (main): Ditto.
11252
08c637de
TJB
112532009-02-04 Tom Tromey <tromey@redhat.com>
11254 Thiago Jung Bauermann <bauerman@br.ibm.com>
11255
11256 * gdb.python/python-value.exp: Use `gdb.history' instead of
11257 `gdb.value_from_history'.
11258 (test_value_numeric_ops): Add test for conversion of enum constant.
11259 * gdb.python/python-value.c (enum e): New type.
11260 (evalue): New global.
11261 (main): Use argv.
11262
20261af8
JG
112632009-02-04 Jerome Guitton <guitton@adacore.com>
11264
11265 * gdb.ada/uninitialized_vars: New test program.
11266 * gdb.ada/uninitialized_vars.exp: New testcase.
11267
52e44b43
TT
112682009-02-02 Tom Tromey <tromey@redhat.com>
11269
11270 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
11271 * gdb.cp/pr2489.cc: Rename...
11272 * gdb.cp/pr9594.cc: ... to this.
11273
1c71341a
TT
112742009-02-02 Tom Tromey <tromey@redhat.com>
11275
11276 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
11277 * gdb.cp/pr2489.cc: New file.
11278 * gdb.cp/cpcompletion.exp: New file.
11279
a4295225
TT
112802009-02-02 Tom Tromey <tromey@redhat.com>
11281
11282 PR exp/9059:
11283 * gdb.cp/call-c.exp: Add regression test.
11284 * gdb.cp/call-c.cc (FooHandle): New typedef.
11285 (main): New variable 'handle'.
11286
592375cd
VP
112872009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11288
11289 * lib/mi-support.exp (et_mi_thread_list)
11290 (check_mi_and_console_threads): Adjust for current thread in
11291 -thread-list-ids output.
11292
41447f92
VP
112932009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11294
889bf7c5
PA
11295 * gdb.mi/mi-break.exp (test_disabled_creation): New.
11296 Call it.
41447f92 11297
35669430
DE
112982009-01-28 Doug Evans <dje@google.com>
11299
11300 * gdb.arch/amd64-disp-step.S: New file.
11301 * gdb.arch/amd64-disp-step.exp: New file.
11302 * gdb.arch/i386-disp-step.S: New file.
11303 * gdb.arch/i386-disp-step.exp: New file.
11304
09f00d9a
PM
113052009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
11306
11307 * gdb.base/find.exp: Set newline variable
11308 using quotes instead of braces to fix cygwin failures.
11309
1e8fb976
PA
113102009-01-23 Pedro Alves <pedro@codesourcery.com>
11311
11312 * gdb.base/radix.exp: Add tests to ensure that that set
11313 input-radix 0 and set output-radix 0 are really rejected.
11314
da061712
PA
113152009-01-23 Pedro Alves <pedro@codesourcery.com>
11316
11317 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
11318 copyright years.
11319
dd7e2d2b
PA
113202009-01-23 Pedro Alves <pedro@codesourcery.com>
11321
11322 PR gdb/9664:
11323 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
11324
392452f6
PA
113252009-01-22 Pedro Alves <pedro@codesourcery.com>
11326
11327 PR c++/9631:
11328 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
11329
8653e71c
PM
113302009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
11331
11332 * gdb.server/file-transfer.exp: Use EXEEXT variable for
11333 binfile definition to fix Windows OS failure.
11334
a12cc160
DJ
113352009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11336
11337 PR gdb/9346
11338 * gdb.base/interrupt.c (sigint_handler): New.
11339 (main): Install a SIGINT handler if SIGNALS is defined. Exit
11340 on error.
11341 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
11342 Test "signal SIGINT".
11343
b89667eb
DE
113442009-01-19 Doug Evans <dje@google.com>
11345
11346 * gdb.base/break.exp: Update expected gdb output.
11347 * gdb.base/sepdebug.exp: Ditto.
11348 * gdb.mi/mi-syn-frame.exp: Ditto.
11349 * gdb.mi/mi2-syn-frame.exp: Ditto.
11350 * gdb.base/call-signal-resume.exp: New file.
11351 * gdb.base/call-signals.c: New file.
11352 * gdb.base/unwindonsignal.exp: New file.
11353 * gdb.base/unwindonsignal.c: New file.
11354 * gdb.threads/interrupted-hand-call.exp: New file.
11355 * gdb.threads/interrupted-hand-call.c: New file.
11356 * gdb.threads/thread-unwindonsignal.exp: New file.
11357
adb483fe
DJ
113582009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
11359
11360 * gdb.base/define.exp: Test defining and hooking prefix commands.
11361 * gdb.python/python.exp: Update test for "show user" output.
11362
60023297
JK
113632009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11364
11365 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
11366 now the output exactly, using less wildcards. Expect also the output
11367 of gfortran-4.3. Update for the f-valprint.c modification from
11368 2008-04-22.
11369 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
11370 Remove gdb_test test names where matching the command.
11371
ccc57cf9
PA
113722009-01-01 Pedro Alves <pedro@codesourcery.com>
11373
11374 PR breakpoints/9681:
11375 * gdb.base/watchpoint.exp: Add regression test.
11376
c7a6ca08
PA
113772008-12-31 Pedro Alves <pedro@codesourcery.com>
11378
11379 * gdb.threads/attach-into-signal.exp: Don't use
11380 gdb_suppress_entire_file.
11381 * gdb.threads/attach-stopped.exp: Ditto.
11382 * gdb.threads/attachstop-mt.exp: Ditto.
11383
3a031f65
PA
113842008-12-31 Pedro Alves <pedro@codesourcery.com>
11385
11386 PR gdb/8812:
11387 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
11388
09e6485f
PA
113892008-12-29 Pedro Alves <pedro@codesourcery.com>
11390
11391 PR gdb/7536:
11392 * gdb.base/radix.exp: Add tests to ensure invalid input radices
11393 and unsupported output radices are really rejected.
11394
0cd53049
JK
113952008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11396
11397 * gdb.cp/punctuator.exp: Backslash the '$' signs.
11398
ba163c7e
TT
113992008-12-22 Tom Tromey <tromey@redhat.com>
11400
11401 * gdb.cp/punctuator.exp: New file.
11402
6f4de6c9
JK
114032008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11404
11405 * gdb.base/completion.exp (Completing non-existing component): New test.
11406
0f34d0b4
JK
114072008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11408
11409 Fix for PR gdb/8648.
11410 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
11411 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
11412 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
11413 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
11414
db2ad4c3
JK
114152008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11416
11417 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
11418
bb5ef15e
DP
114192008-12-16 Christophe Lyon <christophe.lyon@st.com>
11420
11421 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
11422 compiler actually generate code at the expected line number.
11423
90142adc
JZ
114242008-12-15 Jie Zhang <jie.zhang@analog.com>
11425
11426 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
11427
fad6eecd
TT
114282008-12-12 Tom Tromey <tromey@redhat.com>
11429
11430 * gdb.base/commands.exp (redefine_hook_test): New proc.
11431 Call it.
11432
17c8aaf5
TT
114332008-12-11 Tom Tromey <tromey@redhat.com>
11434
11435 * gdb.base/macscp.exp: New regression test.
11436
7c8adf68
TT
114372008-12-11 Tom Tromey <tromey@redhat.com>
11438
11439 * gdb.base/macscp.exp: Print "address.addr".
11440 * gdb.base/macscp1.c (struct outer): New struct.
11441 (address): New global.
11442
b05dcbb7
TT
114432008-12-09 Tom Tromey <tromey@redhat.com>
11444
11445 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
11446 Call it.
11447
2d476de1
DE
114482008-12-04 Doug Evans <dje@google.com>
11449
11450 * gdb.server/ext-run.exp: Relax regexp for init program.
11451
87bdc959
TG
114522008-12-03 Tristan Gingold <gingold@adacore.com>
11453
11454 * gdb.base/macscp.exp: Generate an object file during compilation
11455 to work around Darwin dsymutil limitations.
11456
e0740f77
JK
114572008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11458
11459 Test resolving external references to TLS variables.
11460 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
11461 FILE2_THREAD_LOCAL.
11462 (testfile2, srcfile2): New variables.
11463 * gdb.threads/tls.c (file2_thread_local)
11464 (function_referencing_file2_thread_local): New.
11465 * gdb.threads/tls2.c: New file.
11466
67f0aac5
JB
114672008-11-28 Joel Brobecker <brobecker@adacore.com>
11468
11469 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
11470 rather than integer, as integer might not be big enough when
11471 on 64bit targets.
67f0aac5 11472
c332165e
JG
114732008-11-27 Jerome Guitton <guitton@adacore.com>
11474
11475 * gdb.cp/formatted-ref.exp: Add equality test.
11476 * gdb.ada/formatted_ref.exp: Ditto.
11477
fc9b693c
JK
114782008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11479
11480 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
11481 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
11482
a9c64011
AS
114832008-11-20 Andreas Schwab <schwab@suse.de>
11484
11485 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
11486 matching syscall entry point.
11487 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11488 (tcatch_vfork_then_child_follow): Likewise. Finish through
11489 vfork even if we stopped at the syscall trampoline.
11490
e2fd701e
DE
114912008-11-20 Doug Evans <dje@google.com>
11492
11493 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
11494
69abc51c
TJB
114952008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
11496
11497 * gdb.arch/ppc-dfp.exp: New file.
11498 * gdb.arch/ppc-dfp.c: New file.
11499
c14c28ba
PP
115002008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11501
11502 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 11503
2e74121d
DE
115042008-11-17 Doug Evans <dje@google.com>
11505
11506 * gdb.mi/mi-syn-frame.exp: Update expected output.
11507 * gdb.mi/mi2-syn-frame.exp: Update expected output.
11508
66bb093b
VP
115092008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11510
11511 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
11512 "thread N" results in =thread-selected.
11513 * lib/mi-support (mi_run_cmd, mi_expect_stop)
11514 (mi_send_resuming_command_raw): Be prepared for
11515 =thread-selected.
11516
3d043ef6
VP
115172008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11518
a9c64011
AS
11519 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
11520 * lib/mi-support.exp: Likewise.
3d043ef6 11521
808104c8
JB
115222008-11-16 Joel Brobecker <brobecker@adacore.com>
11523
11524 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
11525 commands from the expected output for "help catch".
11526
00b22944
JB
115272008-11-15 Joel Brobecker <brobecker@adacore.com>
11528
11529 * gdb.ada/int_deref.exp: New testcase.
11530
59669435
TT
115312008-11-14 Nick Roberts <nickrob@snap.net.nz>
11532
11533 * gdb.mi/gdb2549.exp: New file.
11534
de04a248
DE
115352008-11-11 Doug Evans <dje@google.com>
11536
11537 * gdb.base/callexit.exp: New file.
11538 * gdb.base/callexit.c: New file.
11539
6b8ce727
DE
115402008-11-10 Doug Evans <dje@google.com>
11541
11542 * lib/gdb.exp (GDBFLAGS): Move -nx ...
11543 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
11544 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
11545 (default_gdb_start,default_gdb_exit): Ditto.
11546 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
11547 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
11548 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
11549 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
11550 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
11551 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
11552
1b14b8aa
AS
115532008-11-03 Andreas Schwab <schwab@suse.de>
11554
11555 * gdb.base/hashline2.exp: Fix typo.
11556 * gdb.base/hashline3.exp: Likewise.
11557
f3134b88
TT
115582008-10-30 Tom Tromey <tromey@redhat.com>
11559
11560 * gdb.base/pointers.exp: Add test.
11561 * gdb.base/pointers.c (k, S): New typedefs.
11562 (instance): New global.
11563
c2226152
AS
115642008-10-30 Andreas Schwab <schwab@suse.de>
11565
11566 * gdb.base/args.exp: Add tests for newlines.
11567
462f405c
JB
115682008-10-30 Joel Brobecker <brobecker@adacore.com>
11569
11570 gdb.base/foll-exec.exp: Update the expected output of a couple
11571 of "info breakpoints" tests.
11572
79a45b7d
TT
115732008-10-28 Tom Tromey <tromey@redhat.com>
11574
11575 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
11576
adc13a14
PA
115772008-10-24 Pedro Alves <pedro@codesourcery.com>
11578
11579 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
11580 gdb_start_cmd.
11581 Use runto_main before any test that requires execution.
11582
252fbfc8
PA
115832008-10-23 Pedro Alves <pedro@codesourcery.com>
11584
11585 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
11586 instead of SIGINT.
11587
28148e3d
JB
115882008-10-22 Joel Brobecker <brobecker@adacore.com>
11589
11590 * gdb.base/completion.exp: Update expected output following
11591 the addition of the "info tasks" command.
11592
c209f847
TT
115932008-10-22 Tom Tromey <tromey@redhat.com>
11594
11595 * gdb.base/exprs.exp (test_expr): Add test for string
11596 concatenation.
11597
f177e350
PA
115982008-10-19 Pedro Alves <pedro@codesourcery.com>
11599
11600 * configure.ac: Output gdb.python/Makefile.
11601 * configure: Regenerate.
11602 * gdb.python/Makefile.in: New.
11603
cce89356
JB
116042008-10-16 Joel Brobecker <brobecker@adacore.com>
11605
11606 * gdb.base/foll-fork.exp: Adjust the expected output to match
11607 the new description for fork/vfork catchpoints in the "info
11608 breakpoints" output.
11609
176d289d
TJB
116102008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11611
11612 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
11613
a08702d6
TJB
116142008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11615
11616 * gdb.python/python-value.c: New file.
11617 * gdb.python/python-value.exp: New file.
11618
1c5cfe86
PA
116192008-10-15 Pedro Alves <pedro@codesourcery.com>
11620
11621 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
11622
5a98ad69
DP
116232008-10-15 Denis Pilat <denis.pilat@st.com>
11624
41702f1b 11625 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 11626
dcb1a1e2
TT
116272008-10-09 Tom Tromey <tromey@redhat.com>
11628
11629 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
11630 'fprintf' and 'stderr'.
11631
9124fe48
JB
116322008-10-07 Joel Brobecker <brobecker@adacore.com>
11633
11634 * gdb.ada/ref_tick_size.exp: New testcase.
11635
45452591
DE
116362008-10-06 Doug Evans <dje@google.com>
11637
11638 * gdb.dwarf2/dw2-cu-size.exp: New file.
11639 * gdb.dwarf2/dw2-cu-size.S: New file.
11640
11641 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
11642 .Ltype_int for clarity.
11643
4fc5b208
PP
116442008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11645
11646 PR gdb/2384:
11647 * gdb.cp/gdb2384.exp: Extended to test more cases.
11648 * gdb.cp/gdb2384.cc: Likewise.
11649 * gdb.cp/gdb2384-base.h: Likewise.
11650 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 11651
d78df370
JK
116522008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11653
11654 * gdb.base/maint.exp (maint print type): Remove printing
11655 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
11656
9a044a89
TT
116572008-09-30 Tom Tromey <tromey@redhat.com>
11658
11659 * gdb.base/macscp.exp: Add completion tests.
11660 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
11661 (TWENTY_THREE): Likewise.
11662 (FORTY_EIGHT): Likewise.
11663
506800a9
TT
116642008-09-30 Tom Tromey <tromey@redhat.com>
11665
11666 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
11667 everywhere.
11668 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
11669
1a6f01b5
JK
116702008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11671
11672 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
11673 testcase is derived from. Fix racy dependency on an expected PID
11674 number. No longer support the testcase on Linux kernel 2.4.x.
11675
2fae03e8
TT
116762008-09-27 Tom Tromey <tromey@redhat.com>
11677
11678 * gdb.base/macscp.exp: Add tests for stringification, splicing,
11679 and varargs.
11680
1ad15515
PA
116812008-09-22 Pedro Alves <pedro@codesourcery.com>
11682
11683 * lib/mi-support.exp (mi_expect_interrupt): New.
11684 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
11685 from gdb.mi/mi-nonstop.exp.
11686 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
11687 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
11688 lib/mi-support.exp.
11689 Use mi_check_thread_states throughout. Avoid ".*" and do not
11690 require an anchor after -exec-run.
11691
d0b76dc6
DJ
116922008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
11693
11694 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
11695 stop is pending. Avoid ".*" when two stops are pending.
11696 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
11697 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
11698 newlines in fullnames.
11699 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
11700 (mi_expect_stop): Update comments. Only anchor in sync mode.
11701 Do not match newlines.
11702 (mi_send_resuming_command_raw): Always return status.
11703 (mi_get_stop_line): Do not match more than one line by accident.
11704 Only anchor in sync mode.
11705 (mi_run_inline_test): If -exec-next fails, give up.
11706
9990c830
UW
117072008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11708
11709 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
11710 on SPU.
11711
ebcf6f00
JB
117122008-09-10 Joel Brobecker <brobecker@adacore.com>
11713
11714 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
11715
b6db24e5
JB
117162008-09-10 Joel Brobecker <brobecker@adacore.com>
11717
11718 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
11719 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11720 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
11721 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11722 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
11723 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
11724 gdb.ada/interface.exp, gdb.ada/null_array.exp,
11725 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11726 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11727 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11728 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
11729 Include the "= " sequence in the expected output of print tests.
11730
2bf448e0
JB
117312008-09-10 Joel Brobecker <brobecker@adacore.com>
11732
11733 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
11734 description for boolean types.
11735
d51fd4c8
PA
117362008-09-09 Pedro Alves <pedro@codesourcery.com>
11737
11738 * gdb.base/hook-stop-continue.c: New.
11739 * gdb.base/hook-stop-continue.exp: New.
11740
694182d2
DJ
117412008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11742
11743 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
11744
3b8a7fc0
JG
117452008-09-08 Jerome Guitton <guitton@adacore.com>
11746
11747 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
11748 (stack_check_probe_2, stack_check_probe_loop_1)
11749 (stack_check_probe_loop_2): New functions.
11750 (main): Add call to these new functions.
11751 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
11752 functions, check that the breakpoint is inserted at the appropriate
11753 location.
11754 (insert_breakpoint): Slightly refine this procedure so that it can
11755 be called several times in the test.
11756
96cc0ae8
JG
117572008-09-08 Jerome Guitton <guitton@adacore.com>
11758
11759 * gdb.base/stack-checking.c: New file.
11760 * gdb.base/stack-checking.exp: New file.
11761
1f08b409
TJB
117622008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11763
11764 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
11765 * gdb.arch/altivec-regs.exp: Likewise.
11766 * gdb.arch/vsx-regs.exp: Likewise.
11767
3099e1c4
TJB
117682008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11769
11770 * gdb.arch/ppc-fp.exp: New file.
11771 * gdb.arch/ppc-fp.c: New file.
11772
cc69bfc1
PP
117732008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11774
11775 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
11776 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 11777
b02a33db
MS
117782008-09-04 Michael Snyder <msnyder@vmware.com>
11779
11780 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
11781 as "at" (for non-debug functions such as _start).
11782
2992cbe0
UW
117832008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11784
11785 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
11786 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
11787 software watchpoints.
11788 * gdb.base/watch_thread_num.exp: Likewise.
11789
514f746b
AR
117902008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
11791
11792 * gdb.arch/i386-bp_permanent.exp: New test.
11793
876cecd0
TT
117942008-08-24 Tom Tromey <tromey@redhat.com>
11795
11796 * gdb.base/maint.exp: Update "maint print type".
11797
80f73d71
VP
117982008-08-21 Vladimir Prus <vladimir@codesourcery.com>
11799
11800 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
11801 support. Adjust the order of "*running" notifications.
11802 * gdb.mi/non-stop.c: Don't cast from int to void* and
11803 back.
11804
d9c78d7d
MK
118052008-08-20 Mark Kettenis <kettenis@gnu.org>
11806
11807 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
11808 expect to find it in the "info frame" output.
11809
97a2d1d3
DJ
118102008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
11811
11812 * gdb.base/interp.exp: Always consume both prompts.
11813
b96e2927
PA
118142008-08-20 Pedro Alves <pedro@codesourcery.com>
11815
11816 * gdb.base/pending.exp: Test pending breakpoints without symbols
11817 loaded.
11818
8cf6e61a
VP
118192008-08-19 Vladimir Prus <vladimir@codesourcery.com>
11820
11821 * lib/mi-support.exp (mi_expect_stop): Produce
11822 more details on failures.
11823 * gdb.mi/mi-nonstop.exp: New.
11824 * gdb.mi/non-stop.c: New.
11825
c6ebd6cf
VP
118262008-08-19 Vladimir Prus <vladimir@codesourcery.com>
11827
a9c64011
AS
11828 * gdb.mi/mi-async.exp: Use 'set target-async'.
11829 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 11830
46a9b8ed
DJ
118312008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
11832
11833 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
11834
44feb3ce
TT
118352008-08-17 Tom Tromey <tromey@redhat.com>
11836
11837 * gdb.base/help.exp (help catch): Rewrite.
11838
311a4e6b
TJB
118392008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11840
11841 * gdb.base/define.exp: Test indented command documentation.
11842 * gdb.python/python.exp: Test indented multi-line command.
11843
604c2f83
LM
118442008-08-15 Luis Machado <luisgpm@br.ibm.com>
11845
11846 * testsuite/gdb.arch/vsx-regs.c: New source file.
11847 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
11848 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
11849
886a217c
TT
118502008-08-14 Tom Tromey <tromey@redhat.com>
11851
11852 * gdb.base/macscp.exp: Add regression test for "macro define" or
11853 "macro undef" with no arguments.
11854
c814a4f3
PP
118552008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11856
11857 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 11858
12ab8a60
UW
118592008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11860
11861 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
11862
d57a3c85
TJB
118632008-08-06 Tom Tromey <tromey@redhat.com>
11864
11865 * gdb.python/python.exp: New file.
11866
c7b778ff
JK
118672008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11868
11869 Fix for PR gdb/1543.
11870 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
11871 $LOCATION.
11872 (location): New variable.
11873 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
11874 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
11875 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
11876 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
11877 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
11878 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
11879 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
11880 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
11881 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
11882 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
11883 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
11884 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
11885 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
11886 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
11887 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
11888 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
11889 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
11890 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
11891 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
11892 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
11893 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
11894 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
11895 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
11896 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
11897 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
11898 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
11899 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
11900 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
11901 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
11902 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
11903 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
11904 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
11905 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
11906 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
11907 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
11908 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
11909 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
11910 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
11911 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
11912 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
11913 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
11914 gdb.base/type-opaque.exp, gdb.base/until.exp,
11915 gdb.base/value-double-free.c, gdb.base/varargs.exp,
11916 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
11917 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
11918 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11919 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
11920 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
11921 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11922 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11923 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11924 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
11925 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
11926 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
11927 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
11928 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
11929 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
11930 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
11931 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
11932 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
11933 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
11934 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
11935 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11936 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
11937 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
11938 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
11939 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11940 gdb.pascal/types.exp, gdb.stabs/weird.exp,
11941 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
11942 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
11943 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
11944 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
11945 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
11946 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
11947 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
11948 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11949 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11950 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11951 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11952 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
11953 lib/mi-support.exp, lib/trace-support.exp: Remove reference
11954 to bug-gdb@prep.ai.mit.edu .
11955
5e06a3d1
VP
119562008-07-31 Vladimir Prus <vladimir@codesourcery.com>
11957
11958 * lib/mi-support.exp (mi_load_shlibs): New.
11959 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
11960
9d81d21b
VP
119612008-07-30 Vladimir Prus <vladimir@codesourcery.com>
11962
11963 * lib/mi-support.exp (get_mi_thread_list)
11964 (check_mi_and_console_threads): New, moved from ...
11965 * gdb.mi/mi-pthread.exp: ...here.
11966 * gdb.mi/gdb669.exp (get_mi_thread_list)
11967 (check_mi_and_console_threads): Delete.
11968 * gdb.mi/mi2-pthread.exp: Likewise.
11969
bae98fe0
TT
119702008-07-28 Tom Tromey <tromey@redhat.com>
11971
11972 * Makefile.in (just-check): Remove. Move body to...
11973 (check): ... here.
11974
57380f4e
DJ
119752008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11976
11977 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
11978 Add a test for duplicated SIGINTs.
11979
e09490f1
DJ
119802008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11981
11982 * gdb.threads/schedlock.exp (get_args): Update to work for any
11983 value of NUM.
11984 (Top level): Report the number of threads that did not resume.
11985
6387b45f
DJ
119862008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11987
11988 * gdb.dwarf2/dw2-compressed.S: Also define __start.
11989
62f64ff2
DJ
119902008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11991
11992 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
11993 non-MI prompt.
11994
fa8de41e
TT
119952008-07-26 Tom Tromey <tromey@redhat.com>
11996
11997 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
11998 (function_struct, function_struct_ptr): New globals.
11999 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
12000 function pointer in a struct.
12001
ccb3ac8a
TT
120022008-07-26 Tom Tromey <tromey@redhat.com>
12003
12004 * gdb.base/macscp.exp: Add test for macro lexing bug.
12005
d7d9f01e
TT
120062008-07-18 Tom Tromey <tromey@redhat.com>
12007
12008 * gdb.base/macscp.exp: Add macro tests.
12009
9bf07184
PP
120102008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12011
12012 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
12013
becf6477
PP
120142008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12015
12016 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
12017
0709f7d3
PP
120182008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
12019
12020 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 12021
7093c834
PP
120222008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12023
12024 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 12025
b432ffe3
JK
120262008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12027
12028 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
12029
b1a268e5
VP
120302008-07-12 Vladimir Prus <vladimir@codesourcery.com>
12031
12032 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
12033
e2995f8e
KB
120342008-07-11 Kevin Buettner <kevinb@redhat.com>
12035
12036 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
12037 of regexp to account for changes made to GDB in the printing of
12038 byte vectors.
12039
14032a66
TT
120402008-07-11 Tom Tromey <tromey@redhat.com>
12041
12042 * gdb.base/completion.exp: Add 'help' completion test.
12043
981505ef
JK
120442008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12045
12046 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
12047
10568435
JK
120482008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12049
12050 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
12051
4487aabf
PA
120522008-07-09 Pedro Alves <pedro@codesourcery.com>
12053
12054 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
12055
a4a9b1c4
PA
120562008-07-09 Pedro Alves <pedro@codesourcery.com>
12057
12058 * gdb.base/fullname.exp: Restore pwd if compiling failed.
12059
3c3185ac
JK
120602008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12061
12062 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
12063
7ebd49dc
VP
120642008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12065
12066 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
12067 previous commit. Add a comment.
12068
84e46146
PA
120692008-06-28 Pedro Alves <pedro@codesourcery.com>
12070
12071 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
12072
0f8d4a2f
VP
120732008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12074
12075 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
12076
f747e0ce
PA
120772008-06-27 Pedro Alves <pedro@codesourcery.com>
12078
12079 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
12080 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
12081 compiling an executable, link in an object that forces unbuffered
12082 output.
12083 * lib/set_unbuffered_mode.c: New file.
12084
734a5c36
JK
120852008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12086
12087 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
12088
a2840c35
VP
120892008-06-25 Vladimir Prus <vladimir@codesourcery.com>
12090
a9c64011
AS
12091 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
12092 mi_expect_stop.
12093 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
12094 Demand that *running is output.
12095 (detect_async): Perform checking every time.
12096 (mi_send_resuming_command): Extract everything into...
12097 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
12098 (mi_expect_stop): Don't accept any output before *stopped.
12099
6ae37fef
VP
121002008-06-13 Vladimir Prus <vladimir@codesourcery.com>
12101
12102 Robustify mi-simplerun.
a9c64011
AS
12103 * gdb.mi/basics.c (main): Add a call to sleep.
12104 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
12105 * gdb.mi/mi2-cli.exp: Likewise.
12106 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 12107
b4aa76f0 121082008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
12109
12110 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
12111
e1ac3328
VP
121122008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12113
a9c64011
AS
12114 * gdb.mi/mi-console.exp: Adjust.
12115 * gdb.mi/mi-syn-frame.exp: Adjust.
12116 * gdb.mi/mi2-console.exp: Adjust.
12117 * gdb.mi/mi2-syn-frame.exp: Adjust.
12118 * lib/mi-support.exp (mi_run_cmd): Adjust.
12119 (mi_send_resuming_command): Adjust.
e1ac3328 12120
f7f9a841
VP
121212008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12122
12123 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
12124 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
12125 testing of stopped.
12126 * gdb.mi/mi2-syn-frame.exp: Likewise.
12127 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
12128 (async, detect_async): New.
12129 (mi_expect_stop, mi_continue_to_line): Adjust expectation
12130 depending on if we're running in sync or async mode.
f7f9a841 12131
37cd5d19
TT
121322008-06-09 Tom Tromey <tromey@redhat.com>
12133
12134 * gdb.base/completion.exp: New tests for field name completion
12135 with spaces, and field name completion with '->'.
12136
65d12d83
TT
121372008-06-06 Tom Tromey <tromey@redhat.com>
12138
12139 * gdb.base/break1.c (struct some_struct): New struct.
12140 (values): New global.
12141 * gdb.base/completion.exp: Add field name completion test.
12142
ebfe2e3f
PP
121432008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12144
12145 * gdb.cp/call-c.exp: Test for incorrect handling of reference
12146 to pointer.
12147 * gdb.cp/call-c.cc: Likewise.
12148
bcf6fc3a
NR
121492008-06-06 Nick Roberts <nickrob@snap.net.nz>
12150
12151 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
12152 annotation.
12153
49fd4a42 121542008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 12155 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
12156
12157 * gdb.threads/execl.c, gdb.threads/execl1.c,
12158 gdb.threads/execl.exp: New tests.
a9c64011 12159
8a34ac3f
AR
121602008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
12161 Daniel Jacobowitz <dan@codesourcery.com>
12162
12163 * gdb.cp/exception.exp: Activate test, make it work with pending
12164 catchpoints.
12165
86ae69ef
JK
121662008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12167
12168 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
12169
f7f9ae2c
VP
121702008-05-28 Vladimir Prus <vladimir@codesourcery.com>
12171
a9c64011
AS
12172 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
12173 now printed.
12174 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 12175
2a2d4dc3
AS
121762008-05-27 Andreas Schwab <schwab@suse.de>
12177
12178 * gdb.base/frame-args.exp: Handle arguments that are optimized
12179 out.
12180
5099e4d9
LM
121812008-05-26 Luis Machado <luisgpm@br.ibm.com>
12182
12183 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
12184 quiet for ppc32 and group options into a single variable.
12185
d9c36a91
JB
121862008-05-23 Joel Brobecker <brobecker@adacore.com>
12187
12188 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
12189 of zero-size elements.
12190 * gdb.ada/null_array.exp: Test printing this new array.
12191
103a8671
JK
121922008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12193
12194 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
12195
07a4cc1a 121962008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
12197
12198 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
12199 of the "finish" command.
12200
55f996a7
NR
122012008-05-21 Nick Roberts <nickrob@snap.net.nz>
12202
12203 * gdb.base/annota1.exp: Test for new annotation.
12204
907fc202
UW
122052008-05-16 Pedro Alves <pedro@codesourcery.com>
12206
12207 * gdb.base/fixsection.exp: New file.
12208 * gdb.base/fixsection0.c: New file.
12209 * gdb.base/fixsection1.c: New file.
12210
e8f97270
UW
122112008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12212
12213 * gdb.base/annota1.exp: Accept printf@... in place of printf.
12214 * gdb.base/annota3.exp: Likewise.
12215
ac0bb574
NF
122162008-05-13 Nathan Froyd <froydnj@codesourcery.com>
12217
12218 * gdb.base/watch_thread_num.exp: Don't run tests that require
12219 watchpoints if the target doesn't support them.
12220
6fadd07a
DE
122212008-05-12 Doug Evans <dje@google.com>
12222
12223 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
12224
6e9a4a30
JB
122252008-05-09 Joel Brobecker <brobecker@adacore.com>
12226
12227 * gdb.ada/assign_1.exp: New testcase.
12228
08388c79
DE
122292008-05-09 Doug Evans <dje@google.com>
12230
a3c83fae
DE
12231 * gdb.base/find.exp: New file.
12232 * gdb.base/find.c: New file.
08388c79 12233
bd5ddfe8
DJ
122342008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
12235
12236 * gdb.base/commands.exp (watchpoint_command_test): Handle
12237 gdb,no_hardware_watchpoints.
12238 * gdb.base/float.exp: Allow ARM targets without floating point.
12239 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
12240
b5dd68e2 122412008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 12242 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
12243
12244 * gdb.ada/lang_switch: New test program.
12245 * gdb.ada/lang_switch.exp: New testcase.
12246
382d13d1
DE
122472008-05-05 Doug Evans <dje@google.com>
12248
12249 * gdb.base/help.exp (disassemble): Update expected help text.
12250
9dd789d0
PA
122512008-05-04 Pedro Alves <pedro@codesourcery.com>
12252
12253 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
12254
611c83ae
PA
122552008-05-04 Pedro Alves <pedro@codesourcery.com>
12256
12257 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
12258 different times.
12259
ff013f42
JK
122602008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12261
12262 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
12263 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
12264 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
12265 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
12266
96dff6a2
VP
122672008-05-04 Vladimir Prus <vladimir@codesourcery.com>
12268
12269 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
12270 notification to appear.
12271
55cd6f92
DJ
122722008-05-04 Daniel Jacobowitz <dan@debian.org>
12273
12274 * gdb.base/fullname.c: New file.
12275 * gdb.base/fullname.exp: New file.
12276 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
12277
d705c43c
PA
122782008-05-03 Pedro Alves <pedro@codesourcery.com>
12279
12280 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
12281 expressions with macros.
12282
333222e1
JK
122832008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12284
12285 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
12286
5ac01682
DJ
122872008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
12288
12289 * gdb.base/completion.exp: Handle lack of other symbols beginning
12290 with "a".
12291
12292 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
12293
237fc4c9
PA
122942008-05-02 Jim Blandy <jimb@codesourcery.com>
12295
12296 * gdb.asm/asmsrc1.s: Add scratch space.
12297
ed5e9466
DJ
122982008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12299 Daniel Jacobowitz <dan@codesourcery.com>
12300
12301 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
12302 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
12303 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
12304
b39cc962
DJ
123052007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
12306
12307 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
12308
36d520f5
JB
123092008-05-01 Joel Brobecker <brobecker@adacore.com>
12310
12311 * gdb.base/info-target.exp: New testcase.
12312
8d4e3071
DJ
123132008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12314
12315 * gdb.cp/hang.exp: Use .cc instead of .C.
12316 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
12317 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
12318
6f3f3097
DJ
123192008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12320
12321 * gdb.base/gdb1250.exp: Remove perror.
12322 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
12323
5550a914
PA
123242008-04-30 Pedro Alves <pedro@codesourcery.com>
12325
12326 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
12327 .2byte.
12328
d848e687
DJ
123292008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
12330
12331 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
12332 (maybe_kfail): New.
12333
93b5768b
PA
123342008-04-25 Pedro Alves <pedro@codesourcery.com>
12335
12336 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
12337
721c02de
VP
123382008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12339
a9c64011
AS
12340 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
12341 * gdb.mi/mi2-syn-frame.exp: Likewise.
12342 * lib/mi-support.exp: Likewise.
721c02de 12343
74960c60
VP
123442008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12345
12346 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
12347 to specify regexp for the location to stop at.
12348 * gdb.base/break-always.c: New.
12349 * gdb.base/break-always.exp: New.
12350
d24317b4
VP
123512008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12352
12353 * lib/mi-support.exp (mi_runto_helper): Adjust
12354 for the original-location field.
12355 (mi_create_breakpoint, mi_list_breakpoints): New.
12356 * gdb.mi/mi-break.exp: Adjust.
12357 * gdb.mi/mi2-break.exp: Adjust.
12358 * gdb.mi/mi-pending.exp: Adjust.
12359 * gdb.mi/mi-simplerun.exp: Adjust.
12360 * gdb.mi/mi2-simplerun.exp: Adjust.
12361 * gdb.mi/mi-syn-frame.exp: Adjust.
12362 * gdb.mi/mi2-syn-frame.exp: Adjust.
12363 * gdb.mi/mi-until.exp: Adjust.
12364 * gdb.mi/mi2-until.exp: Adjust.
12365 * gdb.mi/mi-var-display.exp: Adjust.
12366 * gdb.mi/mi2-var-display.exp: Adjust.
12367 * gdb.mi/mi-watch.exp: Adjust.
12368 * gdb.mi/mi2-watch.exp: Adjust.
12369
fdc59709 123702008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 12371
a9c64011
AS
12372 * aclocal.m4: Add override.m4.
12373 * configure: Regenerate.
fdc59709 12374
8e91f023
VP
123752008-04-19 Vladimir Prus <vladimir@codesourcery.com>
12376
12377 * gdb.mi/var-cmd.c (do_at_tests): Verify that
12378 '-var-update --all-values' reports new value even the type
12379 of a variable object has changed.
12380
233a11ab
CS
123812008-04-18 Craig Silverstein <csilvers@google.com>
12382
12383 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
12384 files.
d24317b4 12385
9c1137ad
JB
123862008-04-18 Joel Brobecker <brobecker@adacore.com>
12387
12388 * gdb.ada/atomic_enum: New test program.
12389 * gdb.ada/atomic_enum.exp: New testcase.
12390
66d0bbc7
DE
123912008-04-17 Doug Evans <dje@google.com>
12392
12393 * gdb.opt/Makefile.in: Fix whitespace.
12394
100906b0
UW
123952008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
12396
12397 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
12398
4584e32e
DE
123992008-04-17 Doug Evans <dje@google.com>
12400
12401 * gdb.base/hashline1.exp: New testcase.
12402 * gdb.base/hashline2.exp: New testcase.
12403 * gdb.base/hashline2.exp: New testcase.
12404
0a320680
PA
124052008-04-17 Pedro Alves <pedro@codesourcery.com>
12406
12407 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
12408
18ac113b
AR
124092008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
12410
12411 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
12412 temporary breakpoint to match "Temporary breakpoint".
12413 * gdb.base/break.exp (delete_breakpoints): Likewise.
12414 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
12415 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
12416 * gdb.base/display.exp: Likewise.
12417 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
12418 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
12419 * gdb.base/restore.exp (restore_tests): Likewise.
12420 * gdb.base/sepdebug.exp: Likewise.
12421 * gdb.base/watchpoint.exp: Likewise.
12422 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
12423 * gdb.mi/mi-pending.exp: Likewise.
12424 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
12425 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
12426 * gdb.mi/mi-var-cmd.exp: Likewise.
12427 * gdb.mi/mi-var-display.exp: Likewise.
12428 * gdb.mi/mi2-cli.exp: Likewise.
12429 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
12430 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
12431 * gdb.mi/mi2-var-display.exp: Likewise.
12432 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
12433 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
12434 new "disp" field.
a9c64011 12435 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
12436 reason. This is to support fix for PR2424.
12437
add38693
JK
124382008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12439
12440 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
12441
fcacd99f
VP
124422008-04-13 Vladimir Prus <vladimir@codesourcery.com>
12443
12444 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 12445 field. Add more floating varobj tests.
fcacd99f 12446 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
12447 field.
12448 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
12449 (main): Call do_at_tests.
12450 * lib/mi-support.exp (mi_create_floating_varobj)
12451 (mi_varobj_update_with_type_change): New.
fcacd99f 12452
de051565
MK
124532008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
12454
12455 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
12456 option of -var-evaluate-expression.
12457 * gdb.mi/mi2-var-display.exp: Likewise.
12458
dbc52822
VP
124592008-04-07 Vladimir Prus <vladimir@codesourcery.com>
12460
12461 Introduce test setup helpers.
a9c64011
AS
12462 * lib/gdb.exp (build_executable, clean_restart)
12463 (prepare_for_testing): New.
12464 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
12465 * gdb.base/return.exp: Likewise.
12466 * gdb.base/ending-run.exp: Likewise.
dbc52822 12467
473591da
NR
124682008-04-07 Nick Roberts <nickrob@snap.net.nz>
12469
12470 * gdb.mi/mi-async.exp: New test for asynchronous Machine
12471 Interface (MI) responses.
12472
2b2d9e11
VP
124732008-04-06 Vladimir Prus <vladimir@codesourcery.com>
12474
a9c64011
AS
12475 * gdb.cp/breakpoint.cc: New code to test conditions involving
12476 member variables.
12477 * gdb.cp/breakpoint.exp: Test condition involving member
12478 variables.
2b2d9e11 12479
bb378428
VP
124802008-04-05 Vladimir Prus <vladimir@codesourcery.com>
12481
12482 * lib/mi-support.exp (mi_expect_stop): New.
12483 (mi_run_cmd): Change the
12484 token. Use mi_send_resuming_command, use
12485 mi_expect_stop.
12486 (mi_execute_to_helper): Rename to mi_execute_to.
12487 (mi_send_resuming_command): Add more error patterns.
12488 (mi_wait_for_stop): Renamed to...
12489 (mi_get_stop_line): ...this.
12490 (mi_run_inline_test): Adjust.
12491
12492 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
12493 * gdb.mi/mi-console.exp: Likewise.
12494 * gdb.mi/mi-pending.exp: Likewise.
12495 * gdb.mi/mi-simplerun.exp: Likewise.
12496 * gdb.mi/mi-stack.exp: Likewise.
12497 * gdb.mi/mi-stepi.exp: Likewise.
12498 * gdb.mi/mi-syn-frame.exp: Add comment.
12499 * gdb.mi/mi-until.exp: Likewise.
12500 * gdb.mi/mi-var-display.exp: Likewise.
12501 * gdb.mi/mi-watch.exp: Likewise.
12502 * gdb.mi/mi2-cli.exp: Likewise.
12503 * gdb.mi/mi2-console.exp: Likewise.
12504 * gdb.mi/mi2-simplerun.exp: Likewise.
12505 * gdb.mi/mi2-stack.exp: Likewise.
12506 * gdb.mi/mi2-stepi.exp: Likewise.
12507 * gdb.mi/mi2-until.exp: Likewise.
12508 * gdb.mi/mi2-var-display.exp: Likewise.
12509 * gdb.mi/mi2-watch.exp: Likewise.
12510
62172bb9
UW
125112008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12512
12513 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
12514
12515 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
12516
a13e061a
PA
125172008-04-04 Pedro Alves <pedro@codesourcery.com>
12518
12519 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
12520 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
12521 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12522 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
12523 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
12524 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
12525 expect an mi error duplicated in stderr.
12526
eae06beb
JB
125272008-04-03 Joel Brobecker <brobecker@adacore.com>
12528
12529 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
12530 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
12531 Add a couple of tests that verify the behavior when the new setting
12532 is set to "cancel" and "all".
12533 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
12534 "ask" before we start the testing.
12535
79c6ced6
AR
125362008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
12537
12538 * gdb.cp/casts.cc: Add class reference variables.
12539 * gdb.cp/casts.exp: New test cases for up/down casting references.
12540
6c2d1a6b
MK
125412008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
12542
12543 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
12544 instead of beginning to make an extra test pass.
12545 * gdb.mi/mi2-var-display.exp: Likewise.
12546
55b411d9
MR
125472008-03-31 Maciej W. Rozycki <macro@mips.com>
12548
12549 * gdb.base/break.exp: Mark failures as such. Fix formatting.
12550
c6140da2
MD
125512008-03-31 Markus Deuling <deuling@de.ibm.com>
12552 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12553
12554 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
12555 value. Add xfail for older kernels.
12556
79732189
AR
125572008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
12558
12559 Bring mi-support in line with gdb.exp.
12560 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
12561 (mi_gdb_start): New function.
12562
33c3676e
MR
125632008-03-28 Maciej W. Rozycki <macro@mips.com>
12564
12565 * gdb.mi/mi-var-cmd.exp: Fix a typo.
12566
92e28119
VP
125672008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12568
12569 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
12570 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 12571
9e8e3afe
VP
125722008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12573
12574 * lib/mi-support.exp (mi_create_varobj_checked): New.
12575 (mi_list_varobj_children): Allow to check for a
12576 value.
12577 (mi_list_array_varobj_children): New.
12578
12579 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
12580 and mi_list_varobj_children, as opposed to hardcoding
12581 expected strings.
12582 * gdb.mi/gdb701.exp: Likewise.
12583 * gdb.mi/gdb792.exp: Likewise.
12584 * gdb.mi/mi-var-block.exp: Likewise.
12585 * gdb.mi/mi-var-cmd.exp: Likewise.
12586 * gdb.mi/mi-var-invalidate.exp: Likewise.
12587 * gdb.mi/mi2-var-block.exp: Likewise.
12588 * gdb.mi/mi2-var-child.exp: Likewise.
12589 * gdb.mi/mi2-var-cmd.exp: Likewise.
12590 * gdb.mi/mi2-var-display.exp: Likewise.
12591
9df50351
JK
125922008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12593
12594 Fix random false FAILs on i386.
12595 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
12596
31e5d73a
DJ
125972008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12598
12599 PR gdb/544
12600 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
12601
12f4afab
DJ
126022008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12603
12604 PR gdb/544
12605 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
12606
b562a0cb
DJ
126072008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12608
12609 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
12610 fixed PR gdb/544.
12611
17faa917
DJ
126122008-03-21 Pedro Alves <pedro@codesourcery.com>
12613
12614 * gdb.threads/fork-child-threads.exp: Test next over fork.
12615
6214f497
DJ
126162008-03-21 Chris Demetriou <cgd@google.com>
12617
12618 * gdb.base/break.exp (rbreak junk): New test for rbreak
12619 "Junk at end of arguments" issue.
12620
63092375
DJ
126212008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12622
12623 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
12624 *& to work on created array elements.
12625 (Top level): Test print $pc with a file. Test string operations
12626 without a target.
12627 * gdb.base/ptype.exp: Do not expect *& to work on created array
12628 elements.
12629
b21991b0
DJ
126302008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12631
12632 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12633 gdb.threads/staticthreads.exp: Update exit query.
12634
c4b347c7
SL
126352008-03-07 Sandra Loosemore <sandra@codesourcery.com>
12636
12637 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
12638
fa4727a6
DJ
126392008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
12640
12641 * gdb.base/watchpoint.c (global_ptr, func4): New.
12642 (main): Call func4.
12643 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
12644 (test_inaccessible_watchpoint): New.
12645
2f34202f
MR
126462008-02-29 Maciej W. Rozycki <macro@mips.com>
12647
12648 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
12649 select the largest.
12650
0d6ba1b1
DJ
126512008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12652
12653 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
12654 frames-invalid annotations.
12655
e691325a
PM
126562008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
12657
a9c64011 12658 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 12659
f85b5ecc
DE
126602008-02-27 Doug Evans <dje@google.com>
12661
12662 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
12663 for bug 1738.
12664 (breakpoint_to_handler_entry): Ditto.
12665
b40e7bf3
JB
126662008-02-27 Joel Brobecker <brobecker@adacore.com>
12667
12668 * gdb.base/ending-run.exp: Use the first line of code inside
12669 function body to test breakpoints.
12670 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
12671 location where the breakpoint is inserted when using the line
12672 where a function is declared. Fix typo in the description of
12673 one of the tests.
12674 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
12675
2faca73a
PM
126762008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12677
12678 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 12679 tests.
2faca73a 12680
6f439c36
PM
126812008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12682
12683 * gdb.base/args.exp: avoid same output for tests
12684 with single quotes.
12685
54e52265
VP
126862008-02-26 Vladimir Prus <vladimir@codesourcery.com>
12687
a9c64011
AS
12688 * gdb.base/annota1.exp: Adjust for 'info break'
12689 format changes.
12690 * gdb.base/annota3.exp: Likewise.
12691 * gdb.base/break.exp: Likewise.
12692 * gdb.base/condbreak.exp: Likewise.
12693 * gdb.base/pending.exp: Likewise.
12694 * gdb.base/sepdebug.exp: Likewise.
12695 * gdb.base/unload.exp: Likewise.
12696 * gdb.cp/ovldbreak.exp: Likewise.
12697 * gdb.mi/mi-pending.exp: Likewise.
54e52265 12698
897b09ca
DE
126992008-02-07 Doug Evans <dje@google.com>
12700
12701 * gdb.cp/mb-inline.exp: New.
12702 * gdb.cp/mb-inline.h: New.
12703 * gdb.cp/mb-inline1.cc: New.
12704 * gdb.cp/mb-inline2.cc: New.
12705
b1c32d35
PM
127062008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
12707
12708 * gdb.pascal/floats.pas: New test program.
12709 * gdb.pascal/floats.exp: New testcase.
12710
1a4ca44a
TJB
127112008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12712
12713 * gdb.base/callfuncs.c (t_float_many_args): New function.
12714 (t_double_many_args): New function.
12715 * gdb.base/callfuncs.exp: Add tests for exceeding float
12716 and double parameters passed through the stack.
12717
439048e8
JB
127182008-02-05 Joel Brobecker <brobecker@adacore.com>
12719
12720 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
12721 gdb.ada/complete/foo.adb: New files.
12722 * gdb.ada/complete.exp: New testcase.
12723
81fe8080
DE
127242008-02-03 Doug Evans <dje@google.com>
12725
301f0ecf
DE
12726 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
12727
81fe8080
DE
12728 * gdb.cp/gdb2384.exp: New file.
12729 * gdb.cp/gdb2384.cc: New file.
12730 * gdb.cp/gdb2384-base.h: New file.
12731 * gdb.cp/gdb2384-base.cc: New file.
12732
4b071aec
DE
127332008-02-02 Doug Evans <dje@google.com>
12734
12735 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
12736
61137ba6
JB
127372007-02-01 Joel Brobecker <brobecker@adacore.com>
12738
12739 * gdb.ada/sym_print_name: New test program.
12740 * gdb.ada/sym_print_name.exp: New testcase.
12741
127422007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
12743
12744 * gdb.ada/nested/hello.adb: New file.
12745 * gdb.ada/nested.exp: New testcase.
12746 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
12747
98deb0da
VP
127482008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12749
12750 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
12751 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
12752 don't cause future evaluations of function to report
12753 creation of internal breakpoints.
98deb0da 12754
723a2275
VP
127552008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12756
12757 * gdb.mi/mi-break.exp (test_error): New.
12758 Call it.
12759
fb546a2f
LM
127602008-01-31 Luis Machado <luisgpm@br.ibm.com>
12761
12762 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
12763 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
12764
2d8fd90a
PM
127652008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12766
12767 * gdb.pascal/integers.pas: New test program.
12768 * gdb.pascal/integers.exp: New testcase.
12769
a7fa0ded
PM
127702008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12771
12772 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
12773
5e1a1926
TJB
127742008-01-30 Luis Machado <luisgpm@br.ibm.com>
12775
12776 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
12777 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
12778
8d04f9f0
JB
127792008-01-30 Paul Hilfinger <hilfinger@adacore.com>
12780
12781 * gdb.ada/formatted_ref: New test program.
12782 * gdb.ada/formatted_ref.exp: New testcase.
12783
12784 * gdb.cp/formatted-ref.cc: New file.
12785 * gdb.cp/formatted-ref.exp: New testcase.
12786
ce75a98f
JB
127872008-01-30 Joel Brobecker <brobecker@adacore.com>
12788
12789 * gdb.base/ptype.exp: Add testing of "ptype $pc".
12790
e835f6bf
NR
127912008-01-30 Nick Roberts <nickrob@snap.net.nz>
12792
12793 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
12794 (test_file_list_exec_source_file): Update to new macro-info field.
12795
d118ef87
PH
127962008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
12797
12798 * gdb.ada/exprs: New test program.
12799 * gdb.ada/exprs.exp: New testcase.
12800
7d35ab09
TJB
128012008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12802
12803 * dfp-test.c (DELTA, DELTA_B): New definitions.
12804 (double_val1, double_val2, double_val3, double_val4, double_val5,
12805 double_val6, double_val7, double_val8, double_val9, double_val10,
12806 double_val11, double_val12, double_val13, double_val14, dec32_val1,
12807 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
12808 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
12809 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
12810 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
12811 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
12812 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
12813 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
12814 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
12815 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
12816 dec128_val16): New global variables.
12817 (decimal_dec128_align): New function.
12818 (decimal_mixed): Likewise.
12819 (decimal_many_args_dec32): Likewise.
12820 (decimal_many_args_dec64): Likewise.
12821 (decimal_many_args_dec128): Likewise.
12822 (decimal_many_args_mixed): Likewise.
12823 * dfp-test.exp: Add tests calling new inferior functions.
12824
2d717e4f
DJ
128252008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12826
12827 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
12828 gdb.server/ext-run.exp: New files.
12829 * lib/gdbserver-support.exp (gdbserver_download): New.
12830 (gdbserver_start): New. Update gdbserver expected
12831 output.
12832 (gdbserver_spawn): Use them.
12833 (gdbserver_start_extended): New.
12834
e85a822c
DJ
128352008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12836
12837 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
12838 Run on GNU/Linux.
12839 (do_exec_tests): Check for systems which do not support catchpoints.
12840 Do not match START.
12841 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
12842 Run on GNU/Linux. Enable verbose output.
12843 (check_fork_catchpoints): New.
12844 (explicit_fork_child_follow, catch_fork_child_follow)
12845 (tcatch_fork_parent_follow): Update expected messages.
12846 (do_fork_tests): Use check_fork_catchpoints.
12847 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
12848 Run on GNU/Linux. Enable verbose output.
12849 (check_vfork_catchpoints): New.
12850 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
12851 expected messages.
12852 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
12853
401ea829
JB
128542008-01-29 Jim Blandy <jimb@red-bean.com>
12855
12856 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
12857 host' errors.
12858 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
12859
aceaf3ad
JB
128602008-01-29 Jim Blandy <jimb@red-bean.com>
12861
12862 * gdb.threads/sigthread.c: Use barriers to ensure that
12863 child_thread and child_thread_two are always initialized before we
12864 start to use them.
12865
a5606eee
VP
128662008-01-29 Vladimir Prus <vladimir@codesourcery.com>
12867
12868 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
12869 * gdb.base/watchpoint-solib.c: New.
12870 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 12871
c55a82bb
PM
128722008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
12873
12874 * gdb.base/gdb1056.exp: Add unsigned integer test.
12875
0993fe05
DE
128762008-01-28 Doug Evans <dje@google.com>
12877
12878 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
12879
4fe42e7f
JB
128802008-01-27 Jim Blandy <jimb@codesourcery.com>
12881
c7a69933
JB
12882 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
12883
4fe42e7f
JB
12884 * gdb.base/expand-psymtabs.exp: Doc fix.
12885
5def8285
MK
128862008-01-26 Mark Kettenis <kettenis@gnu.org>
12887
12888 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12889
5313c911
NR
128902008-01-24 Nick Roberts <nickrob@snap.net.nz>
12891
a9c64011 12892 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
12893 -var-set-format.
12894
93815fbf
VP
128952008-01-23 Chris Demetriou <cgd@google.com>
12896
12897 * gdb.threads/thread_events.c: New testcase source file.
12898 * gdb.threads/thread_events.exp: New testcase expect file.
12899
467a88ee
NR
129002008-01-23 Nick Roberts <nickrob@snap.net.nz>
12901
12902 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
12903
12904 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
12905 -var-set-format.
12906
d8f82aba
DJ
129072008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12908 Vladimir Prus <vladimir@codesourcery.com>
12909
12910 * gdb.base/float.exp: Allow missing floating point for m68k and
12911 PowerPC.
12912
60c46647
VP
129132008-01-22 Vladimir Prus <vladimir@codesourcery.com>
12914
12915 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
12916 ignore count.
12917 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
12918 * gdb.mi/mi-cli.exp: Adjust.
12919 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 12920
c7dd36a1
PA
129212008-01-17 Pedro Alves <pedro@codesourcery.com>
12922
12923 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
12924 and 'dummy_ptr' integer pointer. Initialize struct_declarations
12925 with dummy_ptr's address.
12926 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
12927 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
12928 all targets.
12929 * gdb.mi/mi2-var-child.exp: Likewise.
12930
39d5313e
JB
129312008-01-09 Joel Brobecker <brobecker@adacore.com>
12932
12933 * gdb.ada/null_array: New test program.
12934 * gdb.ada/null_array.exp: New testcase.
12935
0aea4bf3
LM
129362008-01-09 Luis Machado <luisgpm@br.ibm.com>
12937
12938 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
12939 with required float modifiers.
12940
0b354900
JB
129412008-01-08 Joel Brobecker <brobecker@adacore.com>
12942
12943 * gdb.ada/funcall_param: New test program.
12944 * gdb.ada/funcall_param.exp: New testcase.
12945
cdb7f5d4
JB
129462008-01-08 Joel Brobecker <brobecker@adacore.com>
12947
12948 * gdb.ada/arrayparam: New test program.
12949 * gdb.ada/arrayparam.exp: New testcase.
12950
88e2547f
JB
129512008-01-08 Joel Brobecker <brobecker@adacore.com>
12952
12953 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
12954 landed. Should also fix random failures in the test following it.
12955
f6867ce0
TJB
129562008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
12957
12958 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
12959 for expressions with decimal float values.
12960 (test_dfp_conversions): New function to test casts to and from
12961 decimal float types.
12962 Call test_dfp_conversions.
12963 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
12964 elements.
12965 (main): Initialize ds.float4 and ds.double8 elements.
12966 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
12967 string to new error message.
12968 (d64_set_tests): Likewise.
12969 (d128_set_tests): Likewise.
12970 Add tests for expressions with decimal float variables. Add tests for
12971 conversions to and from decimal float types.
12972
f9c11282
JB
129732008-01-05 Joel Brobecker <brobecker@adacore.com>
12974
12975 * gdb.ada/packed_tagged/comp_bug.adb: New file.
12976 * gdb.ada/packed_tagged.exp: New testcase.
12977
0ecbca72
JB
129782008-01-04 Joel Brobecker <brobecker@adacore.com>
12979
12980 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
12981 gdb.ada/homonym/homonym_main.adb: New files.
12982 * gdb.ada/homonym.exp: New testcase.
12983
c18d3d89
JB
129842008-01-04 Joel Brobecker <brobecker@adacore.com>
12985
12986 * gdb.ada/packed_array.exp: Add testing of references to
12987 a packed array.
12988
ecc7085b
JB
129892008-01-04 Joel Brobecker <brobecker@adacore.com>
12990
12991 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
12992 New files.
12993 * gdb.ada/type_coercion.exp: New testcase.
12994
c474c922
JB
129952008-01-04 Joel Brobecker <brobecker@adacore.com>
12996
12997 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
12998 gdb.ada/tagged/foo.adb: New file.
12999 * gdb.ada/tagged.exp: New testcase.
13000
9005b927
JB
130012008-01-04 Joel Brobecker <brobecker@adacore.com>
13002
13003 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
13004 gdb.ada/ptype_field/foo.adb: New files.
13005 * gdb.ada/ptype_field.exp: New testcase.
13006
1a6aaad8
JB
130072008-01-03 Joel Brobecker <brobecker@adacore.com>
13008
13009 * gdb.ada/print_pc.exp: New testcase.
13010
0ef22f53
JB
130112008-01-03 Joel Brobecker <brobecker@adacore.com>
13012
13013 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
13014 gdb.ada/taft_type/p.adb: New files.
13015 * gdb.ada/taft_type.exp: New testcase.
13016
1689ecf8
JB
130172008-01-03 Joel Brobecker <brobecker@adacore.com>
13018
13019 * gdb.ada/array_bounds/bar.adb: New file.
13020 * gdb.ada/array_bounds.exp: New testcase.
13021
a4d0b9c3
JB
130222008-01-03 Joel Brobecker <brobecker@adacore.com>
13023
13024 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
13025 gdb.ada/arrayptr/foo.adb: New files.
13026 * gdb.ada/arrayptr.exp: New testcase.
13027
a31ace00
JB
130282008-01-03 Joel Brobecker <brobecker@adacore.com>
13029
13030 * gdb.base/set-lang-auto.exp: New testcase.
13031
a97fced3
JB
130322008-01-03 Joel Brobecker <brobecker@adacore.com>
13033
13034 * gdb.ada/fun_addr/foo.adb: New file.
13035 * gdb.ada/fun_addr.exp: New testcase.
13036
ef29ce1a
JK
130372008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13038
13039 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
13040 New files
13041
0fafefe3
JB
130422008-01-02 Joel Brobecker <brobecker@adacore.com>
13043
13044 * array_subscript_addr/p.adb: New file.
a9c64011 13045 * array_subscript_addr.exp: New testcase.
0fafefe3 13046
c4359f8d
JB
130472008-01-02 Joel Brobecker <brobecker@adacore.com>
13048
a9c64011 13049 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
13050 New files.
13051 * gdb.ada/str_cmp_ref.exp: New testcase.
13052
1aa1b15b
JB
130532008-01-01 Joel Brobecker <brobecker@adacore.com>
13054
13055 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
13056 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 13057 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 13058
81c9b2cf
JB
130592008-01-01 Joel Brobecker <brobecker@adacore.com>
13060
13061 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
13062 gdb.ada/ref_param/pck.ads: New files.
13063 * gdb.ada/ref_param.exp: New testcase.
13064
319e4674
JB
130652008-01-01 Joel Brobecker <brobecker@adacore.com>
13066
13067 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
13068 gdb.ada/interface/foo.adb: New files.
13069 * gdb.ada/interface.exp: New testcase.
13070
ef682c56
JB
130712007-12-31 Jim Blandy <jimb@codesourcery.com>
13072
13073 * gdb.base/multi-forks.exp: Consume all output from child
13074 processes before proceeding to next test.
13075
f6f3eb6c
JB
130762007-12-29 Jim Blandy <jimb@codesourcery.com>
13077
13078 * configure: Regenerated.
13079
f652e42f
JB
130802007-12-27 Joel Brobecker <brobecker@adacore.com>
13081
13082 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
13083 gdb.ada/fixed_cmp/fixed.adb: New files.
13084 * gdb.ada/fixed_cmp.exp: New testcase.
13085
6943e596
JB
130862007-12-27 Joel Brobecker <brobecker@adacore.com>
13087
13088 * gdb.ada/boolean_expr.exp: New testcase.
13089
aad9a193
JB
130902007-12-26 Jim Blandy <jimb@codesourcery.com>
13091
13092 * gdb.base/multi-forks.exp: Doc fix.
13093
fb5f3683
JB
130942007-12-26 Joel Brobecker <brobecker@adacore.com>
13095
13096 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13097 * gdb.ada/char_param.exp: Do not compile our test program with
13098 -gnata, this is unnecessary.
13099 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
13100
384e4a9c
JB
131012007-12-24 Joel Brobecker <brobecker@adacore.com>
13102
13103 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
13104 gdb.ada/print_chars/foo.adb: New files.
13105 * gdb.ada/print_chars.exp: New testcase.
13106
01e044f7
JB
131072007-12-24 Joel Brobecker <brobecker@adacore.com>
13108
13109 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
13110 gdb.ada/char_param/foo.adb: New files.
13111 * gdb.ada/char_param.exp: New testcase.
13112
0ce17860
JB
131132007-12-22 Jim Blandy <jimb@codesourcery.com>
13114
13115 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
13116 hard-coding source line numbers into the test.
13117 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
13118 gdb_get_line_number to find.
13119
919809b9
JB
131202007-12-22 Joel Brobecker <brobecker@adacore.com>
13121
13122 * gdb.base/ptype.c (highest): New struct type.
13123 (the_highest): New variable of that type.
13124 (main): Add dummy assignment to a field of variable the_highest.
13125 * gdb.base/ptype.exp: Test type printing of our new variable.
13126
abc8a88d
PM
131272007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
13128
13129 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 13130 and record first explicitly generated thread number.
abc8a88d
PM
13131 Use that thread number for thread specific watchpoint test.
13132 Add iteration number to repetitive tests.
13133
5158f3e3
CES
131342007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13135 Jim Blandy <jimb@codesourcery.com>
13136
13137 * gdb.base/expand-psymtabs.c: New testcase
13138 source file.
13139 * gdb.base/expand-psymtabs.exp: New testcase
13140 expect file.
13141
37e4754d
LM
131422007-12-17 Luis Machado <luisgpm@br.ibm.com>
13143
13144 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
13145 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
13146
551e5d04
JB
131472007-12-17 Joel Brobecker <brobecker@adacore.com>
13148
13149 * gdb.ada/frame_args/foo.adb: New file.
13150 * gdb.ada/frame_args/pck.ads: New file.
13151 * gdb.ada/frame_args/pck.adb: New file.
13152 * gdb.ada/frame_args.exp: New testcase.
13153
a05ee097
JB
131542007-12-17 Joel Brobecker <brobecker@adacore.com>
13155
13156 * gdb.base/frame-args.c: New file.
13157 * gdb.base/frame-args.exp: New testcase.
13158
c162e8c9 131592007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 13160 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
13161
13162 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
13163
afe8ab22 131642007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13165
afe8ab22
VP
13166 * gdb.mi/mi-pending.exp: New.
13167 * gdb.mi/mi-pending.c: New.
13168 * gdb.mi/mi-pendshr.c: New.
13169
dfdfb3ca
JB
131702007-12-06 Jim Blandy <jimb@codesourcery.com>
13171
13172 * gdb.base/default.exp: Update expected output for 'info catch'.
13173
b7fca990
JK
131742007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13175
13176 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
13177 must be set to binary.
13178
6a1afc1e
PA
131792007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
13180
13181 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
13182
a6b151f1
DJ
131832007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
13184
13185 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
13186 gdb.mi/mi-file-transfer.exp: New.
13187
43039443
JK
131882007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13189
13190 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
13191
0ef2251b
MR
131922007-11-22 Maciej W. Rozycki <macro@mips.com>
13193
13194 * gdb.trace/backtrace.exp: Fix a typo.
13195 * gdb.trace/circ.exp: Likewise.
13196 * gdb.trace/collection.exp: Likewise.
13197 * gdb.trace/limits.exp: Likewise.
13198 * gdb.trace/report.exp: Likewise.
13199 * gdb.trace/tfind.exp: Likewise.
13200 * gdb.trace/while-dyn.exp: Likewise.
13201
5443631e
NR
132022007-11-21 Nick Roberts <nickrob@snap.net.nz>
13203
13204 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
13205 objects of pointers that can't be dereferenced are now
13206 "noneditable".
13207
a4ce5b0d
UW
132082007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13209
13210 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
13211 (target_cpu): Remove.
13212
d6e956e5
VP
132132007-10-15 Vladimir Prus <vladimir@codesourcery.com>
13214
13215 * gdb.base/ending-run.exp: Expect the list of cleared
13216 breakpoint to come in natural order, not the reversed one.
a9c64011 13217
214270ab
VP
132182007-11-07 Vladimir Prus <vladimir@codesourcery.com>
13219
13220 * gdb.mi/mi-var-child.c (do_child_deletion): New.
13221 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 13222
1a619819
LM
132232007-11-05 Luis Machado <luisgpm@br.ibm.com>
13224
13225 * gdb.base/printcmds.exp: New function
13226 test_printf_with_dfp.
13227
5b01a6fa
DE
132282007-11-02 Doug Evans <dje@google.com>
13229
13230 * gdb.disasm/t01_mov.s: Remove carriage returns.
13231 * gdb.disasm/t02_mova.s: Ditto.
13232 * gdb.disasm/t03_add.s: Ditto.
13233 * gdb.disasm/t04_sub.s: Ditto.
13234 * gdb.disasm/t05_cmp.s: Ditto.
13235 * gdb.disasm/t06_ari2.s: Ditto.
13236 * gdb.disasm/t07_ari3.s: Ditto.
13237 * gdb.disasm/t08_or.s: Ditto.
13238 * gdb.disasm/t09_xor.s: Ditto.
13239 * gdb.disasm/t10_and.s: Ditto.
13240 * gdb.disasm/t11_logs.s: Ditto.
13241 * gdb.disasm/t12_bit.s: Ditto.
13242 * gdb.disasm/t13_otr.s: Ditto.
13243
ec33ab7f
JK
132442007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13245
13246 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
13247
ae0d01ff
UW
132482007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13249
13250 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
13251 provide DFP support.
13252
55eddb0f
DJ
132532007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
13254
13255 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
13256 Test "set powerpc vector-abi". Skip auto-detection tests for old
13257 toolchains.
13258
7020f05c
PA
132592007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13260
13261 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
13262 with [string compare].
13263
84bc3db9
PA
132642007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13265
13266 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
13267 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
13268
5876dc88
LM
132692007-10-25 Luis Machado <luisgpm@br.ibm.com>
13270
13271 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
13272 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
13273 * gdb.opt/Makefile.in: New makefile.
13274 * Makefile.in: Create new directory "gdb.opt".
13275 * configure.ac: Add "gdb.opt" directory.
13276 * configure: Regenerated.
a9c64011 13277
c3ea9a14
DE
132782007-10-25 Doug Evans <dje@google.com>
13279
13280 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
13281 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
13282
a9c64011 132832007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
13284 Thiago Jung Bauermann <bauerman@br.ibm.com>
13285
13286 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
13287 Floating Point expressions.
13288 * gdb.base/dfp-test.exp: new file adding tests for Decimal
13289 Floating Point variables.
13290 * gdb.base/dfp-test.c: new file containing program with Decimal
13291 Floating variables, used by gdb.base/dfp-test.exp.
13292
62a24a2b
DJ
132932007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
13294
13295 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
13296
e7b1eae6
UW
132972007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13298
13299 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
13300 compiling test case with GCC.
13301 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
13302
c641edcc
UW
133032007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13304
13305 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
13306 format changes.
13307
5e5ebfe6
MS
133082007-10-18 Michael Snyder <msnyder@specifix.com>
13309
13310 * gdb.base/dbx.exp: Add missing "-re " operator.
13311
e831e7b6
GM
133122007-10-16 Gaius Mulley <gaius@glam.ac.uk>
13313
13314 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
13315 * configure.ac: Removed trailing spaces after backslash.
13316 * gdb.modula2: New directory.
13317 * gdb.modula2/Makefile.in: New file.
13318 * gdb.modula2/unbounded-array.exp: New file.
13319 * gdb.modula2/unbounded1.c: New file.
13320
7cc46491
DJ
133212007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
13322
13323 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
13324
133252007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
13326
13327 * gdb.base/sigstep.c (main): Add checks for
13328 return values for setitimer call.
13329 Call setitimer again with itimer = ITIMER_REAL
13330 if first call to setitimer fails.
13331
e91528f0
KH
133322007-10-11 Kazu Hirata <kazu@codesourcery.com>
13333
13334 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
13335 of $timeout.
13336
2ec9a4f8
DJ
133372007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
13338
13339 * gdb.server/server-run.exp: Test for dynamic linker symbols.
13340
133412007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
13342
13343 * lib/gdb.exp (gdb_run_cmd): Move comment outside
13344 of gdb_expect call, to avoid interruption.
13345
64b2fa04
PA
133462007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
13347
13348 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
13349 (v_unsigned_long_long, v_long_long_array)
13350 (v_signed_long_long_array, v_unsigned_long_long_array)
13351 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
13352 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
13353 [!NO_LONG_LONG]: New.
13354 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
13355 v_long_long_member.
13356
13357 (v_long_long_func, v_signed_long_long_func)
13358 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
13359 (main) [!NO_LONG_LONG]: Initialize long long variants.
13360
13361 * gdb.base/whatis.exp: If board file requests no_long_long, build
13362 test with NO_LONG_LONG defined. Test long long, signed long long,
13363 and unsigned long long variants but only if board file doesn't
13364 disable it.
13365
a912286e 133662007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 13367 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
13368
13369 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
13370 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
13371 * configure: Regenerated.
13372 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
13373 gdb.pascal/types.exp, lib/pascal.exp: New files.
13374
471ba8c9
DJ
133752007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
13376
13377 * gdb.cp/classes.exp (do_tests): Always step to the line after the
13378 call.
13379 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
13380 to return to the call.
13381 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
13382 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
13383 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
13384 * gdb.mi/mi-until.exp (test_until): Likewise.
13385 * gdb.mi/mi2-until.exp (test_until): Likewise.
13386
fef8a650
DJ
133872007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
13388
13389 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
13390 two-char array.
13391 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
13392
d983da9c
DJ
133932007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
13394
13395 * gdb.threads/watchthreads.c (thread_function): Sleep between
13396 iterations.
13397 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
13398 at once for S/390. Generate matching fails and passes.
13399
17f62551
VP
134002007-09-27 Vladimir Prus <vladimir@codesourcery.com>
13401
13402 * gdb.mi/var-cmd.c (do_children_tests): Initialize
13403 the 'struct_declarations' variable to zeros.
a9c64011 13404
ed0616c6
VP
134052007-09-24 Vladimir Prus <vladimir@codesourcery.com>
13406
13407 * gdb.cp/mb-ctor.cc: New.
13408 * gdb.cp/mb-ctor.exp: New.
13409 * gdb.cp/mb-templates.cc: New.
13410 * gdb.cp/mb-templates.exp: New.
13411
41f1b697
DJ
134122007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
13413
13414 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
13415
3f213f78
PA
134162007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
13417
13418 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
13419 targets.
13420 * configure: Regenerate.
13421
0d381245 134222007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13423
0d381245
VP
13424 * gdb.base/annota1.exp: Adjust for 'info break'
13425 format changes.
13426 * gdb.base/annota3.exp: Likewise.
13427 * gdb.base/break.exp: Likewise.
13428 * gdb.base/condbreak.exp: Likewise.
13429 * gdb.base/pending.exp: Likewise.
13430 * gdb.base/sepdebug.exp: Likewise.
13431 * gdb.base/unload.exp: Likewise.
13432 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 13433
fe3f5fa8
VP
134342007-09-22 Vladimir Prus <vladimir@codesourcery.com>
13435
13436 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
13437 messages.
13438 * gdb.base/chng-syms.exp: Likewise.
13439 * gdb.base/unload.exp: Likewise.
a9c64011 13440
a75cf6c0
DJ
134412007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
13442
13443 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
13444
18ecae38
DJ
134452007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
13446
13447 * schedlock.c (NUM): Change to 1.
13448 (main): Use args[0] for the main thread.
13449 * schedlock.exp: Only expect two threads. Only issue one pass or fail
13450 regardless of the number of threads.
13451
5509918f
MR
134522007-09-14 Maciej W. Rozycki <macro@mips.com>
13453
4a543daf
MR
13454 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
13455 type down.
13456 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13457 test.
13458 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
13459 watchpoint type down.
13460 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13461 test.
13462
134632007-09-14 Maciej W. Rozycki <macro@mips.com>
13464
5509918f
MR
13465 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
13466 Move all the tests here and run them twice, once using software
13467 watchpoints and once using hardware watchpoints.
13468 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
13469
40b53987
DJ
134702007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
13471
13472 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
13473 test.
13474
695e2681
MK
134752007-09-10 Mark Kettenis <kettenis@gnu.org>
13476
8b3fc8d8
MK
13477 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
13478 build-id.
13479
695e2681
MK
13480 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
13481 know about $ORIGIN. Calculate output dir from $dest instead of
13482 using ${objdir}/{$subdir}.
13483
58d69f29
MK
134842007-09-09 Mark Kettenis <kettenis@gnu.org>
13485
13486 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
13487 gcore, before continuing with the test.
13488
3e347599
DJ
134892007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
13490
13491 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
13492 * gdb.mi/mi-watch.exp: Likewise.
13493
ea37ba09
DJ
134942007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13495 Jim Blandy <jimb@codesourcery.com>
13496
13497 * gdb.arch/i386-sse.exp: Do not expect character constants.
13498 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
13499 * gdb.base/display.exp: Allow print/s.
13500 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
13501 and unsigned char array changes.
13502
2025a643
DJ
135032007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13504
13505 * gdb.base/display.exp: Add tests for printf %p.
13506
26669a27
PA
135072007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
13508
13509 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
13510 the dll name to unicode.
13511
c8f021f8
JK
135122007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13513
13514 * gdb.base/default.exp (show version): Update the version text.
13515 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
13516
4cf31eea
JK
135172007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13518
13519 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
13520 New files.
13521
4935890f
JK
135222007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13523
13524 * lib/gdb.exp (build_id_debug_filename_get): New function.
13525 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
13526 Remove the generate DEBUG file for the future testcase runs.
13527 New testcase for the NT_GNU_BUILD_ID retrieval.
13528 Move the final testing step to ...
13529 (test_different_dir): ... a new function.
13530 New parameter XFAIL to XFAIL all the tests performed.
13531 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
13532 New parameter TYPE to PF_PREFIX all the tests performed.
13533
02142340
VP
135342007-08-31 Vladimir Prus <vladimir@codesourcery.com>
13535
13536 * gdb.mi/mi-var-cp.cc (path_expression): New
13537 function.
13538 * gdb.mi/mi-var-cp.exp: Run path exression tests.
13539
36acd84e
UW
135402007-08-27 Markus Deuling <deuling@de.ibm.com>
13541
13542 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
13543 to fit into SPU Local Store memory.
13544
a896d121
JB
135452007-08-23 Joel Brobecker <brobecker@adacore.com>
13546
13547 * gdb.base/default.exp: Adjust the expected output of "info
13548 warranty" after the switch to GPLv3.
13549
7b433602
JB
135502007-08-23 Joel Brobecker <brobecker@adacore.com>
13551
13552 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
13553 to 30000 (from 20000).
13554
e22f8b7c
JB
135552007-08-23 Joel Brobecker <brobecker@adacore.com>
13556
13557 Switch the license of all .exp files to GPLv3.
13558 Switch the license of all .f and .f90 files to GPLv3.
13559 Switch the license of all .s and .S files to GPLv3.
13560
5a0e3bd0
JB
135612007-08-23 Joel Brobecker <brobecker@adacore.com>
13562
13563 * configure.ac: Switch license to GPLv3.
13564
cc00619d
JB
135652007-08-23 Joel Brobecker <brobecker@adacore.com>
13566
13567 Switch the licensing to GPLv3 for all .ads and .adb files.
13568
8d26208a
DJ
135692007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
13570
13571 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
13572 and t_int_double.
13573 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
13574
4fcb9948
JB
135752007-08-17 Joel Brobecker <brobecker@adacore.com>
13576
13577 * gdb.base/step-line.c: Switch license to GPL version 3, and
13578 update copyright year.
13579 * gdb.base/step-line.inp: Likewise.
13580
b9c34f67
JB
135812007-08-17 Joel Brobecker <brobecker@adacore.com>
13582
13583 * gdb.base/gdb1555.exp: Make expected output immune to formatting
13584 changes inside gdb1555.c.
13585 * gdb.base/pending.exp: Likewise.
13586
2cc17678
DJ
135872007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
13588
13589 * config/default.exp: New file.
13590
e48883f7
DJ
135912007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13592
13593 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
13594 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
13595
1ab80e5b
MR
135962007-07-30 Maciej W. Rozycki <macro@mips.com>
13597
13598 * gdb.base/dump.exp: Force the correct endianness for binary
13599 formats not carrying this information.
13600
aba471f5
DJ
136012007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13602
13603 * gdb.threads/staticthreads.exp: Match .*sem_post.
13604
d4e07204
DJ
136052007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13606
13607 * gdb.base/readline.exp (operate_and_get_next): Match the final
13608 prompt.
13609
2b97317d
KB
136102007-07-23 Kevin Buettner <kevinb@redhat.com>
13611
13612 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
13613 to restarting SID.
13614
44efa07a
KB
136152007-07-18 Kevin Buettner <kevinb@redhat.com>
13616
13617 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
13618 prior to `gdb_start'.
13619
7b5ebade
KB
136202007-07-18 Kevin Buettner <kevinb@redhat.com>
13621
13622 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
13623 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
13624 Remove call to gdb_unload.
13625
255e7678
DJ
136262007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
13627 Daniel Jacobowitz <dan@codesourcery.com>
13628
13629 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
13630 for __WIN32__.
13631 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
13632 * gdb.base/unload.exp: Use shared library test routines.
13633
3a40aaa0
UW
136342007-07-03 Markus Deuling <deuling@de.ibm.com>
13635
13636 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
13637 * gdb.base/solib-symbol-lib.c: Likewise.
13638 * gdb.base/solib-symbol-main.c: Likewise.
13639
b0f4b84b
DJ
136402007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
13641
13642 * config/gdbserver.exp (gdb_reconnect): New.
13643 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
13644 gdb.base/solib-disc.exp: New files.
13645 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
13646 remote debugging".
13647 (gdb_compile): Add shlib_load flag.
13648 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
13649 port.
13650 (gdbserver_reconnect): New.
13651
1b05479a
DJ
136522007-07-01 Nick Roberts <nickrob@snap.net.nz>
13653 Daniel Jacobowitz <dan@codesourcery.com>
13654
13655 * gdb.base/annota3.exp: Test for if construct.
13656
86f78eb2
DJ
136572007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
13658
13659 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
13660
6a2eb474 136612007-06-21 Chris Dearman <chris@mips.com>
a9c64011 13662 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
13663
13664 * gdb.base/display.exp: Allow a newline after display/i.
13665 * gdb.base/pc-fp.exp: Likewise.
13666 * gdb.base/sigbpt.exp: Likewise.
13667
f8b73d13
DJ
136682007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13669
13670 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
13671 required features to be included.
13672
4339e69e
DJ
136732007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13674
13675 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
13676 in info threads output.
13677
23d964e7
UW
136782007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13679 Markus Deuling <deuling@de.ibm.com>
13680
13681 * gdb.arch/spu-info.exp: New testcase.
13682 * gdb.arch/spu-info.c: New file.
13683
fd20f75b
DJ
136842007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
13685
13686 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
13687 tpcs_offset. Restore lr after the call.
13688 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
13689
2226f861
DJ
136902007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
13691
13692 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
13693 (gdbserver_run): Kill any running gdbserver.
13694 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
13695
d12371a9
MR
136962007-05-17 Maciej W. Rozycki <macro@mips.com>
13697
13698 * gdb.base/sigbpt.exp: Preset segv_addr.
13699
93f02886
DJ
137002007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
13701
13702 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
13703 (gdb_compile_shlib): Likewise.
13704 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
13705 (default_gdb_init): Clear cleanfiles.
13706 (gdb_finish): Delete recorded cleanfiles.
13707 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
13708
13709 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
13710 Do not use isnative.
13711 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
13712 gdb.base/so-impl-ld.exp: Likewise.
13713 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
13714 * gdb.base/unload.exp: Likewise. Do not pass empty option to
13715 gdb_compile.
13716
b04e06d7
VP
137172007-05-15 Vladimir Prus <vladimir@codesourcery.com>
13718
13719 * config/unknown.exp: Remove.
13720
069ed931
UW
137212007-05-15 Markus Deuling <deuling@de.ibm.com>
13722
13723 * gdb.base/info-proc.exp: Check is_remote.
13724
09db0d03
UW
137252007-05-14 Markus Deuling <deuling@de.ibm.com>
13726
13727 * gdb.base/gcore.exp: Initialize variable core_supported.
13728
af2cbe8c
DJ
137292007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13730
13731 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
13732
027c0295
DJ
137332007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13734
13735 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
13736 * gdb.threads/print-threads.exp (test_all_threads): Allow
13737 negative and hexadecimal thread IDs.
13738
dc5000e7
DJ
137392007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13740
13741 * gdb.java/jprint.java (public): Avoid invalid call to static
13742 method.
13743
2e74ed18
DP
137442007-05-14 Denis Pilat <denis.pilat@st.com>
13745
13746 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
13747 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
13748 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13749 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
13750 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
13751
83547f02
UW
137522007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13753
13754 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 13755 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
13756 this mode.
13757 * gdb.base/ovlymgr.c: Provide stubs for spu target.
13758 * gdb.base/spu.ld: New file.
13759
b18be20d
DJ
137602007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
13761
13762 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
13763
be444858
DJ
137642007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
13765
13766 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
13767
b1d53152
DJ
137682007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13769
13770 * gdb.java/jmain.exp: Handle demangled names with and without method
13771 signatures.
13772
d084b331
DJ
137732007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13774
13775 * gdb.mi/mi-syn-frame.c (main, foo, bar)
13776 (have_a_very_merry_interrupt): Remove calls to puts.
13777 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
13778 inferior output.
13779 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
13780 test names.
13781
db9d7fc5
DJ
137822007-04-29 Markus Deuling <deuling@de.ibm.com>
13783 Daniel Jacobowitz <dan@codesourcery.com>
13784
13785 * gdb.base/auxv.exp (core_works): Also check is_remote.
13786 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
13787
ef783a7d 137882007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13789
ef783a7d
VP
13790 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
13791 message, not the undefined 'module' variable.
13792 * gdb.base/siginfo.exp: Likewise.
13793 * gdb.base/sigstep.exp: Likewise.
13794 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
13795 serialport.
13796 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
13797
b7b73cae
CV
137982007-04-25 Corinna Vinschen <vinschen@redhat.com>
13799
13800 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
13801 target sim fails. Return 0 otherwise.
13802 (gdb_load): Return prematurely if gdb_target_sim fails.
13803
7d90fdfa
DP
138042007-04-16 Denis Pilat <denis.pilat@st.com>
13805
13806 * gdb.base/setshow.exp: Reset height after having set it to 100.
13807
5d3e9c85
DP
138082007-04-16 Denis Pilat <denis.pilat@st.com>
13809
13810 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
13811
18e75969
DP
138122007-04-16 Denis Pilat <denis.pilat@st.com>
13813
13814 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
13815
25d5ea92
VP
138162007-04-14 Vladimir Prus <vladimir@codesourcery.com>
13817
13818 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
13819 tests. Run the frozen varobjs test.
13820 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 13821 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 13822
0b49cb80
JK
138232007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13824
13825 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
13826 gdb.base/type-opaque.exp: New files.
13827
a73bafbc 138282007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
13829
13830 * gdb.mi/mi-var-child.c
a73bafbc
VP
13831 (do_children_tests): User char[2] instead of
13832 char so that automatic printing of pointers to char
13833 don't give unpredicable result.
13834 * gdb.mi/var-cmd.c (do_locals_test): Initialize
13835 local variables.
13836 * gdb.mi/mi-var-child.exp: Step to right line
13837 of do_children_tests.
13838 * gdb.mi/mi2-var-child.exp: Likewise.
13839 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 13840 do_locals_tests.
a73bafbc
VP
13841 (do_children_tests): User char[2] instead of
13842 char so that automatic printing of pointers to char
a9c64011 13843 don't give unpredicable result.
a73bafbc 13844 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 13845 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
13846 Pass test name to mi_wait_for_stop.
13847
7ce59000
DJ
138482007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13849
13850 * gdb.asm/asm-source.exp: Remove d10v case.
13851 * lib/gdb.exp (skip_cplus_tests): Likewise.
13852 * gdb.asm/d10v.inc: Deleted.
13853
20389057
DJ
138542007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13855
13856 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
13857
8807d78b
DJ
138582007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13859
13860 * config/netware.exp: Delete file.
13861
aa3edb8e
JB
138622007-03-29 Joel Brobecker <brobecker@adacore.com>
13863
13864 * gdb.dwarf2/dw2-noloc.S: New file.
13865 * gdb.dwarf2/dw2-noloc.exp: New file.
13866
297561ac
PA
138672007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
13868
13869 * gdb.cp/method2.cc: New test.
13870 * gdb.cp/method2.exp: New test.
13871 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
13872
1f81bd39
DJ
138732007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
13874
13875 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
13876
9453113a
DJ
138772007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
13878
13879 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
13880
b741e217
DJ
138812007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
13882
13883 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
13884 (gdb_load): Delete, replace with...
13885 (gdb_reload): ...this.
13886 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
13887 * gdb.server/server-mon.exp: Likewise.
13888 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
13889 (gdb_start_cmd): New.
13890 (gdb_file_cmd): Save the last loaded file.
13891 (gdb_reload): New.
13892 (gdb_gnu_strip_debug): Use transform.
13893 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
13894 support here. Use new $last_loaded_file. Check mtime.
13895 (gdb_target_cmd): Handle ObjC failure case.
13896 (infer_host_exec): Delete.
13897 (gdbserver_load): Rename to...
13898 (gdbserver_run): ...this. Simplify.
13899 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
13900 (mi_gdb_load): Move most contents to a new function...
13901 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
13902 (mi_run_cmd): Use mi_gdb_target_load.
13903 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
13904 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
13905 Use gdb_run_cmd.
13906 * gdb.base/charsign.exp: Remove incorrect comment.
13907 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
13908 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
13909 gdb.base/start.exp: Use gdb_start_cmd.
13910
446ab585 139112007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 13912 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
13913
13914 * gdb.base/sigbpt.exp: Fix the message when skipping test.
13915 * gdb.base/signull.exp: Similarly.
13916
bbb88ebf
UW
139172007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13918
13919 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
13920 messages available to test cases (like chng-sym.exp).
13921
cb8c4a99
AS
139222007-03-14 Andreas Schwab <schwab@suse.de>
13923
13924 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
13925 format changes.
13926
4e463ff5
DJ
139272007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
13928
13929 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
13930 (optimized_1): New.
13931 (main): Call optimized_1.
13932 (gdb2029): Correct typos. Call gdb2029_marker.
13933 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
13934 for gdb2029.
13935
b6db2c47
MK
139362007-03-12 Mark Kettenis <kettenis@gnu.org>
13937
13938 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
13939 as tabs. Remove redundant test pattern.
13940
70ed3737
UW
139412007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13942
13943 * gdb.base/long_long.exp: Accept optional symbol name in <...>
13944 for /a format output.
13945
47b67b60
DJ
139462007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
13947
13948 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
13949 collect output incrementally.
13950
b8953b0e
UW
139512007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13952
13953 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
13954 for -var-create lpcharacter test.
13955 * gdb.mi/mi2-var-cmd.exp: Likewise.
13956
7acd5c40
UW
139572007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13958
13959 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
13960 pass on targets where address zero is readable.
13961
9c6759c1
UW
139622007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13963
13964 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
13965 just a single architecture.
13966
a2f1aeb4
UW
139672007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13968
13969 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
13970 (fetch_all_registers): New function, uses gdb_test_multiple and
13971 exp_continue to fetch inferior output line-by-line.
13972 Replace all uses of do_get_all_registers by fetch_all_registers.
13973
46579ac2
UW
139742007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13975
13976 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
13977 in target_info.
13978
fc133f24
MS
139792007-03-02 Michael Snyder <michael.snyder@palmsource.com>
13980
a9c64011 13981 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
13982 consistancy; add a default (timeout) case.
13983
7646a51d
MS
139842007-03-02 Michael Snyder <michael.snyder@palmsource.com>
13985
13986 * gdb.base/watchpoint.exp: Fix truncated comment.
13987
dcfff61f
MS
139882007-03-02 Michael Snyder <michael.snyder@palmsource.com>
13989
13990 * Makefile.in: Remove spurious single-quotes from sed command.
13991
664e3ee9
DJ
139922007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
13993
13994 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
13995 func.
13996 * gdb.mi/mi2-var-cmd.exp: Likewise.
13997
d7cc6f2f
JB
139982007-02-27 Joel Brobecker <brobecker@adacore.com>
13999
a9c64011
AS
14000 * gdb.dwarf2/dw2-producer.S: New file.
14001 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
14002
140032007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
14004
14005 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14006 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14007 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14008 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14009 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14010 Revert tests to use mi_gdb_test and include value field in output
14011 of -var-create.
14012
93d42b30
DJ
140132007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14014
14015 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
14016
c499ed39
DJ
140172007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14018
14019 * gdb.base/maint.exp: Remove full paths from test names.
14020 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
14021 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
14022
9836f81b
JB
140232007-02-27 Joel Brobecker <brobecker@adacore.com>
14024
14025 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
14026
c74d0ad8
DJ
140272007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14028
14029 * gdb.server/server-mon.exp: New test.
14030
2711e456
DJ
140312007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14032
14033 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
14034
ff6f572f
DJ
140352007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14036
14037 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
14038 register capitalization.
14039
fada3feb
DP
140402007-02-13 Denis Pilat <denis.pilat@st.com>
14041
14042 * gdb.mi/mi-var-invalidate.exp: New file.
14043
fb1e4ffc
DJ
140442007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14045
14046 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
14047
3da939d7
DJ
140482007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14049
14050 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
14051
123dc839
DJ
140522007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14053
14054 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
14055 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
14056
877e3645 140572007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
14058
14059 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14060 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14061 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14062 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14063 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 14064 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 14065 Update tests to include value field in output of -var-create.
a9c64011 14066
3c0a2960
AS
140672007-02-08 Andreas Schwab <schwab@suse.de>
14068
14069 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
14070
108546a0
DJ
140712007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
14072
14073 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
14074 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
14075
d701dcab
DP
140762007-02-02 Denis Pilat <denis.pilat@st.com>
14077
14078 * gdb.threads/threadapply.exp: check that frame is not changed by
14079 the thread apply all command.
14080
783e3e2f
AS
140812007-01-31 Andreas Schwab <schwab@suse.de>
14082
6d9c3a87
AS
14083 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14084
3c50d7b9
AS
14085 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
14086 in the dwarf sections.
14087 * gdb.dwarf2/mac-fileno.S: Likewise.
14088
783e3e2f
AS
14089 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
14090 bspstore register on ia64.
14091
78ff580e
AS
140922007-01-29 Andreas Schwab <schwab@suse.de>
14093
cc8e9b12
AS
14094 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
14095 "frame-begin" annotation.
14096
78ff580e
AS
14097 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
14098 number of "frames-invalid" annotations.
14099
704a4f78
DJ
141002007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14101
14102 * gdb.base/commands.exp: Call if_commands_test.
14103 (gdb_test_no_prompt, if_commands_test): New.
14104
e741bf94
MK
141052007-01-28 Mark Kettenis <kettenis@gnu.org>
14106
14107 * gdb.threads/sigthread.c (NSIGS): Make bigger.
14108
474d0ad3
AS
141092007-01-27 Andreas Schwab <schwab@suse.de>
14110
14111 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
14112 .short/.int/.quad in the dwarf sections.
14113 * gdb.dwarf2/dw2-intercu.S: Likewise.
14114 * gdb.dwarf2/dw2-intermix.S: Likewise.
14115
e784b426
JK
141162007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14117
14118 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
14119 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
14120 array.
e784b426
JK
14121 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
14122 * gdb.base/setvar.exp: Likewise.
14123
37f08e04
AS
141242007-01-26 Andreas Schwab <schwab@suse.de>
14125
9a01813a
AS
14126 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
14127 test.
14128
37f08e04
AS
14129 * gdb.base/multi-forks.exp ("restart $i"): Also match
14130 __kernel_syscall_via_break.
14131
6e2a9270
VP
141322007-01-24 Vladimir Prus <vladimir@codesourcery.com>
14133
14134 * lib/mi-support.exp (mi_delete_varobj): New.
14135 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
14136 testcase.
14137 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
14138 (main): Call the above.
14139 (reference_update_test, base_in_reference_test)
14140 (reference_to_pointer): Delete the created varobjs.
a9c64011 14141
e515b470
DJ
141422007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
14143
14144 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
14145 * configure: Regenerated.
14146 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
14147 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
14148 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
14149 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
14150 * lib/gdb.exp (gdb_skip_xml_test): New function.
14151
08d8bcd7
DJ
141522007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
14153
14154 * gdb.base/sigrepeat.exp: Correct error message.
14155
141562007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
14157 Daniel Jacobowitz <dan@codesourcery.com>
14158
14159 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
14160 gdb.arch/i386-gnu-cfi-asm.S: New files.
14161
97c3f1f3
JK
141622007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14163
14164 * lib/gdb.exp: Abort on missing `site.exp'.
14165
cb1df416
DJ
141662007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14167 Daniel Jacobowitz <dan@codesourcery.com>
14168
14169 * gdb.base/included.c, gdb.base/included.exp,
14170 gdb.base/included.h: New files.
14171
35990120
DJ
141722007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14173
14174 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
14175 (maximize_rlimit): Reduce limits on 64-bit systems.
14176
6e81a116 141772007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
14178
14179 From Marcus Deuling <deuling@de.ibm.com>:
14180 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
14181 every case.
14182
6c3c41f3
NR
141832007-01-13 Nick Roberts <nickrob@snap.net.nz>
14184
14185 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
14186 (test_path_specification): Use objdir instead of srcdir to always
14187 get an absolute filename.
14188
2f12c312
DJ
141892007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
14190
14191 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
14192
81121995
VP
141932007-01-11 Vladimir Prus <vladimir@codesourcery.com>
14194
14195 * gdb.mi/mi-var-cp.cc (reference_update_tests):
14196 Make sure the variable we're using is in scope.
14197 (reference_to_pointer): Likewise.
14198
4741b737
DJ
141992007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14200
14201 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
14202 has no debug information.
14203
054410c3
DJ
142042007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14205
14206 * gdb.base/annota1.exp: Remove extra send_gdb.
14207
818f79f6
DJ
142082007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14209
14210 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
14211
f7a6bb70
DJ
142122007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14213
14214 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
14215
57e66780
DJ
142162007-01-08 Nick Roberts <nickrob@snap.net.nz>
14217 Daniel Jacobowitz <dan@codesourcery.com>
14218
14219 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
14220 lcharacter or linteger change. Correct duplicated test name.
14221 * gdb.mi/mi2-var-cmd.exp: Likewise.
14222
3d799a95
DJ
142232007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14224
14225 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
14226
142272007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 14228
a9c64011
AS
14229 * gdb.base/nofield.c: New file.
14230 * gdb.base/nofield.exp: New testcase.
51679ba9 14231
eafb94e8
NR
142322007-01-05 Nick Roberts <nickrob@snap.net.nz>
14233
14234 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
14235
14236 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
14237 test.
14238
5e572bb4
DJ
142392007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14240
14241 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
14242
74a44383
DJ
142432007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14244
14245 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
14246 when continuing.
14247
1b572db9
DJ
142482007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14249
14250 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
14251 Expect ".exe" extension.
14252
381bc39b
DJ
142532007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14254
14255 * gdb.base/charset.exp: Add explicit filename to break.
14256 * gdb.base/dbx.exp: Add explicit filename to breaks.
14257
2b70e4c6
DJ
142582007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14259
14260 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
14261 * gdb.mi/mi2-file.exp: Likewise.
14262
303b6f5d
DJ
142632007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14264
14265 Implement specification of MI tests as comments
14266 in C and C++ sources.
14267 * lib/mi-support.exp (mi_autotest_data): New variable.
14268 (mi_autotest_source): New variable.
14269 (count_newlines, mi_prepare_inline_tests)
14270 (mi_get_inline_test, mi_continue_to_line)
14271 (mi_run_inline_test, mi_tbreak)
14272 (mi_send_resuming_command, mi_wait_for_stop): New functions.
14273 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
14274 Run inline tests.
14275 * gdb.mi/mi-var-cp.cc: Define tests here.
14276
23da0d94
VP
142772007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14278
14279 Simplify usage of mi_continue_to.
14280 * lib/mi-support.exp (mi_runto_helper): Renamed
14281 from mi_runto, added new parameter 'run_or_continue'.
14282 (mi_runto): Use mi_runto_helper.
14283 (mi_continue_to): Accept just function name as parameter.
14284 Use mi_runto_helper.
14285 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
14286 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 14287
f9e18282
JB
142882006-01-04 Joel Brobecker <brobecker@adacore.com>
14289
14290 Make this testcase a bit more realistic. The current code
14291 is too simplistic, and allows the compiler to optimize out
14292 some of the entities we need for this testcase.
14293 * gdb.ada/null_record/bar.ads (Void_Star): New type.
14294 (Do_Nothing): Add extra parameter.
14295 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
14296 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
14297 by using a variable of type Void_Star.
14298
fd678c65
JB
142992006-01-04 Joel Brobecker <brobecker@adacore.com>
14300
14301 * gdb.ada/catch_ex/foo.adb: New file.
14302 * gdb.ada/catch_ex.exp: New testcase.
14303
05cfdb42
DJ
143042007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
14305
14306 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
14307 pass --image-base to linker.
14308
2e03ee74
DJ
143092007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14310 Daniel Jacobowitz <dan@codesourcery.com>
14311
14312 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
14313 secondary prompts.
14314
0d5de010
DJ
143152007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14316
14317 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
14318 output. Test the types of members and member pointers.
14319 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
14320 gdb/2092.
14321 * gdb.cp/member-ptr.exp: Search for a comment instead of a
14322 statement. Enable for GCC. Update expected output for some tests
14323 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
14324 layout.
14325 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
14326 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
14327 (Diamond::vget_base): New.
14328 (main): Add new tests.
14329 * gdb.cp/printmethod.exp: Update expected output for member functions.
14330 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
14331 print pEe->D::vg().
14332
61a771aa
DJ
143332007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14334
14335 * gdb.threads/tls.exp: Allow stops in sem_post.
14336
2fa63963
DJ
143372006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
14338
14339 * gdb.base/annota1.exp: Allow .*printf in backtraces.
14340 * gdb.base/annota3.exp: Likewise.
14341 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
14342 again (instead of timing out).
14343 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
14344 GCC bug 26475.
14345 * gdb.java/jmisc.exp: Adjust to work with method signatures including
14346 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
14347 test from jmisc1.exp.
14348 * gdb.java/jmisc1.exp: Delete.
14349 * gdb.java/jprint.exp: Adjust to work with method signatures including
14350 return types.
14351 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
14352 * gdb.threads/linux-dp.exp: Don't be confused by program output.
14353 * lib/java.exp (compile_java_from_source): Pass the correct type
14354 to target_compile.
14355
5eefc2b7
JB
143562006-12-31 Joel Brobecker <brobecker@adacore.com>
14357
14358 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
14359 (stack_align_edx): New function.
14360 (stack_align_eax): New function.
14361 (main): Add calls to stack_align_edx and stack_align_eax.
14362 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
14363 Add testing for the cases where the register used during a stack
14364 realignment is edx. Same for eax.
14365
227c54da
DJ
143662006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
14367
14368 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
14369 and generic PE targets.
14370
cab8ac94
JB
143712006-12-29 Joel Brobecker <brobecker@adacore.com>
14372
14373 * gdb.ada/array_return.exp: Update copyright date list.
14374
ba54f318
JB
143752006-12-27 Joel Brobecker <brobecker@adacore.com>
14376
14377 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
14378 (Create_Small_Float_Vector): New function.
14379 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
14380 function body.
14381 * gdb.ada/array_return/p.adb: Use new type and function from
14382 package Pck.
14383 * gdb.ada/array_return.exp: Add a test verifying that GDB is
14384 able to print the value returned by a function returning an
14385 array of float.
14386
6b7a35dd
JB
143872006-12-20 Joel Brobecker <brobecker@adacore.com>
14388
14389 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
14390 The associated tests should be PASSing.
14391
038224f6
VP
143922006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14393
14394 Test for base in references.
14395 * gdb.mi/mi-var-cp.cc: Add test code.
14396 * gdb.mi/mi-var-cp.exp: Test for bases in references.
14397 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
14398 * gdb.mi/mi2-watch.exp: Likewise.
14399 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
14400 (mi_list_varobj_children): New function.
14401
b26ed50d
VP
144022006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14403
14404 * lib/mi-support.exp
14405 (mi_runto): Accept "()" after function name.
14406 (mi_create_varobj): New function.
14407 (mi_varobj_update): New function.
14408 (mi_Check_varobj_value): New function.
14409 * gdb.mi/mi-var-cp.exp: New file.
14410 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 14411
08232497
DJ
144122006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
14413
14414 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
14415 gdb.base/weaklib2.c: New files.
14416
d394c993 144172006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 14418
ac6c2fba
NS
14419 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
14420 info. Adjust test names.
14421
8ec659a0 14422 * gdb.base/break.c (main): Move position of malloc.
d394c993 14423 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 14424
acd65feb
VP
144252006-11-28 Vladimir Prus <vladimir@codesourcery.com>
14426
14427 * gdb.mi/mi-var-cmd.exp: Check -var-update after
14428 assignement of arrays and function pointers.
14429 * gdb.mi/var-cmd.c: Add declaration necessary for above
14430 tests.
14431
f556d5e5
NS
144322006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14433
14434 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
14435
14436 * gdb.threads/linux-dp.exp: Read thread table before and after
14437 creating each philosopher and verify it.
14438
697bc68d
NS
144392006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14440 Paul Brook <paul@codesourcery.com>
14441 Daniel Jacobowitz <dan@codesourcery.com>
14442
14443 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 14444 main to remove duplication. Add start function of the form
697bc68d
NS
14445 '_*start[1-9]*'. Add RVDS start function.
14446
29d73ae4
DJ
144472006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14448
14449 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
14450
c1d88655
UW
144512006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14452
14453 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
14454 * gdb.asm/spu.inc: New file.
14455 * gdb.base/term.exp: Disable if [target_info exists noargs].
14456 * gdb.gdb/complaints.exp: Disable if ![isnative].
14457 * gdb.gdb/selftest.exp: Likewise.
14458 * gdb.gdb/observer.exp: Likewise.
14459 * gdb.gdb/xfullpath.exp: Likewise.
14460 * gdb.base/attach.exp: Disable on SPU target.
14461 * gdb.cp/bs145503.exp: Likewise.
14462 * gdb.cp/exception.exp: Likewise.
14463 * gdb.cp/userdef.exp: Likewise.
14464
32a13b1a
DJ
144652006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14466
14467 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
14468
d8295fe9
VP
144692006-11-10 Vladimir Prus <vladimir@codesourcery.com>
14470
14471 * gdb.base/completion.exp: Fix completion tests for
14472 'info' and 'info '.
14473 * gdb.base/help.exp (help_test_raw, test_class_help)
14474 (test_prefix_command_help): Move...
14475 * lib/gdb.exp: Here.
14476 * gdb.base/main.exp: Adjust.
14477 * gdb.cp/maint.exp: Adjust.
14478 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 14479
8c394015
VP
144802006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14481
14482 * gdb.stabs/weird.exp (print_weird_var): Use
14483 gdb_test_multiple instead of gdb_expect.
14484
027fc1bc
VP
144852006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14486
14487 * gdb.base/help.exp (help_test_raw): New.
14488 (test_class_help): New.
14489 (test_prefix_command_help): New.
14490 Adjust testcases.
14491
67609209
FR
144922006-11-09 Christophe Lyon <christophe.lyon@st.com>
14493
14494 * gdb.base/constvars.c (main): Write to crass and crips, so that
14495 they are allocated by the compiler.
14496
f73adfeb
AS
144972006-10-27 Andreas Schwab <schwab@suse.de>
14498
14499 * gdb.base/multi-forks.exp: Use "detach fork" instead of
14500 "detach-fork".
14501
2f83a18e
DJ
145022006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
14503
14504 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
14505 of patterns.
14506
94277a38
DJ
145072006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14508
14509 * gdb.base/sepdebug.exp: Remove debug format test.
14510 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
14511 Handle no-symtab.
14512 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
14513
5bd2f6e2
DJ
145142006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14515
14516 * gdb.threads/manythreads.c (thread_function, main): Don't cast
14517 int to pointer or pointer to int.
14518 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
14519
8c008720
DJ
145202006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
14521
14522 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
14523
9e35dae4
DJ
145242006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14525
14526 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
14527
d9639e13
DJ
145282006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14529
14530 PR c++/2116
14531 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
14532
390a1bd0
JB
145332006-10-06 Joel Brobecker <brobecker@adacore.com>
14534
14535 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
14536 the corresponding bug has been fixed in GDB (PR/2018).
14537
dd920c33
JB
145382006-10-06 Joel Brobecker <brobecker@adacore.com>
14539
14540 * gdb.base/subst.exp: New testcase.
14541
53bbefe9
JB
145422006-10-06 Joel Brobecker <brobecker@adacore.com>
14543
14544 * gdb.ada/array_return/pck.ads: Add copyright notice.
14545 * gdb.ada/array_return/pck.adb: Likewise.
14546 * gdb.ada/array_return/p.adb: Likewise.
14547 * gdb.ada/exec_changed/first.adb: Likewise.
14548 * gdb.ada/exec_changed/second.adb: Likewise.
14549
09851417
JB
145502006-10-06 Joel Brobecker <brobecker@adacore.com>
14551
14552 * gdb.ada/watch_arg/watch.adb: New file.
14553 * gdb.ada/watch_arg.exp: New testcase.
14554
041bf30d
VP
145552006-10-02 Vladimir Prus <vladimir@codesourcery.com>
14556
14557 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 14558 via string_to_regexp.
041bf30d 14559 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 14560
f286fbdd 145612006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
14562
14563 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
14564 Remove unused / obsolete files.
14565
7c07f349
NR
145662006-09-19 Nick Roberts <nickrob@snap.net.nz>
14567
14568 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
14569
cd5ff84a
VP
145702006-09-17 Vladimir Prus <vladimir@codesourcery.com>
14571
14572 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
14573 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 14574 the number of frames.
cd5ff84a 14575
ae018d1a
DJ
145762006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
14577
14578 * gdb.base/args.c (main): Add breakpoint marker.
14579 * gdb.base/args.exp: Use args_test for tests. Add new tests which
14580 really test empty arguments.
14581 (args_load): Delete.
14582 (args_test): New.
14583
b399c549
NR
145842006-09-13 Nick Roberts <nickrob@snap.net.nz>
14585
14586 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 14587 check for one file.
b399c549 14588
2ab1eb7a
VP
145892006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
14590
14591 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
14592 HIGH_FRAME argument to -stack-list-locals can be larger than
14593 the number of frames.
a9c64011 14594
476308bf
FF
145952006-08-18 Fred Fish <fnf@specifix.com>
14596
14597 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
14598 '$' in front of skip_vmx_tests_saved when setting that.
14599
8625200f
AS
146002006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
14601
14602 * gdb.base/trace-commands.exp: New file.
14603
089ec8f1
DJ
146042006-08-10 Joel Brobecker <brobecker@adacore.com>
14605 Daniel Jacobowitz <dan@codesourcery.com>
14606
14607 * gdb.base/step-bt.exp: Make hexadecimal address optional in
14608 expected output of the backtrace commands.
14609
b60f0898
JB
146102006-08-09 Joel Brobecker <brobecker@adacore.com>
14611
14612 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
14613 untested followed by return combination.
14614 * gdb.arch/altivec-regs.exp: Likewise.
14615 * gdb.arch/e500-abi.exp: Likewise.
14616 * gdb.arch/e500-regs.exp: Likewise.
14617 * gdb.arch/gdb1291.exp: Likewise.
14618 * gdb.arch/gdb1431.exp: Likewise.
14619 * gdb.arch/gdb1558.exp: Likewise.
14620 * gdb.arch/i386-prologue.exp: Likewise.
14621 * gdb.arch/i386-unwind.exp: Likewise.
14622 * gdb.asm/asm-source.exp: Likewise.
14623 * gdb.base/a2-run.exp: Likewise.
14624 * gdb.base/advance.exp: Likewise.
14625 * gdb.base/all-bin.exp: Likewise.
14626 * gdb.base/annota1.exp: Likewise.
14627 * gdb.base/annota3.exp: Likewise.
14628 * gdb.base/args.exp: Likewise.
14629 * gdb.base/arithmet.exp: Likewise.
14630 * gdb.base/assign.exp: Likewise.
14631 * gdb.base/async.exp: Likewise.
14632 * gdb.base/attach.exp: Likewise.
14633 * gdb.base/bang.exp: Likewise.
14634 * gdb.base/bigcore.exp: Likewise.
14635 * gdb.base/bitfields.exp: Likewise.
14636 * gdb.base/bitfields2.exp: Likewise.
14637 * gdb.base/break.exp: Likewise.
14638 * gdb.base/call-sc.exp: Likewise.
14639 * gdb.base/call-strs.exp: Likewise.
14640 * gdb.base/callfuncs.exp: Likewise.
14641 * gdb.base/checkpoint.exp: Likewise.
14642 * gdb.base/chng-syms.exp: Likewise.
14643 * gdb.base/code-expr.exp: Likewise.
14644 * gdb.base/commands.exp: Likewise.
14645 * gdb.base/completion.exp: Likewise.
14646 * gdb.base/cond-expr.exp: Likewise.
14647 * gdb.base/condbreak.exp: Likewise.
14648 * gdb.base/consecutive.exp: Likewise.
14649 * gdb.base/constvars.exp: Likewise.
14650 * gdb.base/corefile.exp: Likewise.
14651 * gdb.base/cvexpr.exp: Likewise.
14652 * gdb.base/dbx.exp: Likewise.
14653 * gdb.base/define.exp: Likewise.
14654 * gdb.base/detach.exp: Likewise.
14655 * gdb.base/display.exp: Likewise.
14656 * gdb.base/dump.exp: Likewise.
14657 * gdb.base/ena-dis-br.exp: Likewise.
14658 * gdb.base/ending-run.exp: Likewise.
14659 * gdb.base/environ.exp: Likewise.
14660 * gdb.base/eval-skip.exp: Likewise.
14661 * gdb.base/exprs.exp: Likewise.
14662 * gdb.base/fileio.exp: Likewise.
14663 * gdb.base/finish.exp: Likewise.
14664 * gdb.base/float.exp: Likewise.
14665 * gdb.base/foll-exec.exp: Likewise.
14666 * gdb.base/foll-fork.exp: Likewise.
14667 * gdb.base/foll-vfork.exp: Likewise.
14668 * gdb.base/freebpcmd.exp: Likewise.
14669 * gdb.base/funcargs.exp: Likewise.
14670 * gdb.base/gcore.exp: Likewise.
14671 * gdb.base/gdb1090.exp: Likewise.
14672 * gdb.base/gdb1250.exp: Likewise.
14673 * gdb.base/huge.exp: Likewise.
14674 * gdb.base/info-proc.exp: Likewise.
14675 * gdb.base/interrupt.exp: Likewise.
14676 * gdb.base/jump.exp: Likewise.
14677 * gdb.base/langs.exp: Likewise.
14678 * gdb.base/lineinc.exp: Likewise.
14679 * gdb.base/list.exp: Likewise.
14680 * gdb.base/logical.exp: Likewise.
14681 * gdb.base/long_long.exp: Likewise.
14682 * gdb.base/macscp.exp: Likewise.
14683 * gdb.base/maint.exp: Likewise.
14684 * gdb.base/mips_pro.exp: Likewise.
14685 * gdb.base/miscexprs.exp: Likewise.
14686 * gdb.base/multi-forks.exp: Likewise.
14687 * gdb.base/opaque.exp: Likewise.
14688 * gdb.base/overlays.exp: Likewise.
14689 * gdb.base/pc-fp.exp: Likewise.
14690 * gdb.base/pointers.exp: Likewise.
14691 * gdb.base/printcmds.exp: Likewise.
14692 * gdb.base/psymtab.exp: Likewise.
14693 * gdb.base/ptype.exp: Likewise.
14694 * gdb.base/recurse.exp: Likewise.
14695 * gdb.base/relational.exp: Likewise.
14696 * gdb.base/relocate.exp: Likewise.
14697 * gdb.base/remote.exp: Likewise.
14698 * gdb.base/reread.exp: Likewise.
14699 * gdb.base/restore.exp: Likewise.
14700 * gdb.base/return.exp: Likewise.
14701 * gdb.base/return2.exp: Likewise.
14702 * gdb.base/scope.exp: Likewise.
14703 * gdb.base/sect-cmd.exp: Likewise.
14704 * gdb.base/sep.exp: Likewise.
14705 * gdb.base/sepdebug.exp: Likewise.
14706 * gdb.base/setshow.exp: Likewise.
14707 * gdb.base/setvar.exp: Likewise.
14708 * gdb.base/sigall.exp: Likewise.
14709 * gdb.base/sigbpt.exp: Likewise.
14710 * gdb.base/signals.exp: Likewise.
14711 * gdb.base/signull.exp: Likewise.
14712 * gdb.base/sizeof.exp: Likewise.
14713 * gdb.base/solib.exp: Likewise.
14714 * gdb.base/step-line.exp: Likewise.
14715 * gdb.base/step-test.exp: Likewise.
14716 * gdb.base/structs.exp: Likewise.
14717 * gdb.base/structs2.exp: Likewise.
14718 * gdb.base/term.exp: Likewise.
14719 * gdb.base/twice.exp: Likewise.
14720 * gdb.base/until.exp: Likewise.
14721 * gdb.base/varargs.exp: Likewise.
14722 * gdb.base/volatile.exp: Likewise.
14723 * gdb.base/watchpoint.exp: Likewise.
14724 * gdb.base/whatis-exp.exp: Likewise.
14725 * gdb.base/whatis.exp: Likewise.
14726 * gdb.cp/ambiguous.exp: Likewise.
14727 * gdb.cp/annota2.exp: Likewise.
14728 * gdb.cp/annota3.exp: Likewise.
14729 * gdb.cp/bool.exp: Likewise.
14730 * gdb.cp/breakpoint.exp: Likewise.
14731 * gdb.cp/casts.exp: Likewise.
14732 * gdb.cp/class2.exp: Likewise.
14733 * gdb.cp/classes.exp: Likewise.
14734 * gdb.cp/cplusfuncs.exp: Likewise.
14735 * gdb.cp/ctti.exp: Likewise.
14736 * gdb.cp/derivation.exp: Likewise.
14737 * gdb.cp/exception.exp: Likewise.
14738 * gdb.cp/gdb1355.exp: Likewise.
14739 * gdb.cp/hang.exp: Likewise.
14740 * gdb.cp/inherit.exp: Likewise.
14741 * gdb.cp/local.exp: Likewise.
14742 * gdb.cp/m-data.exp: Likewise.
14743 * gdb.cp/m-static.exp: Likewise.
14744 * gdb.cp/member-ptr.exp: Likewise.
14745 * gdb.cp/method.exp: Likewise.
14746 * gdb.cp/misc.exp: Likewise.
14747 * gdb.cp/namespace.exp: Likewise.
14748 * gdb.cp/overload.exp: Likewise.
14749 * gdb.cp/ovldbreak.exp: Likewise.
14750 * gdb.cp/pr-1023.exp: Likewise.
14751 * gdb.cp/pr-1210.exp: Likewise.
14752 * gdb.cp/pr-574.exp: Likewise.
14753 * gdb.cp/printmethod.exp: Likewise.
14754 * gdb.cp/psmang.exp: Likewise.
14755 * gdb.cp/ref-params.exp: Likewise.
14756 * gdb.cp/ref-types.exp: Likewise.
14757 * gdb.cp/rtti.exp: Likewise.
14758 * gdb.cp/templates.exp: Likewise.
14759 * gdb.cp/try_catch.exp: Likewise.
14760 * gdb.cp/userdef.exp: Likewise.
14761 * gdb.cp/virtfunc.exp: Likewise.
14762 * gdb.disasm/am33.exp: Likewise.
14763 * gdb.disasm/h8300s.exp: Likewise.
14764 * gdb.disasm/mn10300.exp: Likewise.
14765 * gdb.disasm/sh3.exp: Likewise.
14766 * gdb.disasm/t01_mov.exp: Likewise.
14767 * gdb.disasm/t02_mova.exp: Likewise.
14768 * gdb.disasm/t03_add.exp: Likewise.
14769 * gdb.disasm/t04_sub.exp: Likewise.
14770 * gdb.disasm/t05_cmp.exp: Likewise.
14771 * gdb.disasm/t06_ari2.exp: Likewise.
14772 * gdb.disasm/t07_ari3.exp: Likewise.
14773 * gdb.disasm/t08_or.exp: Likewise.
14774 * gdb.disasm/t09_xor.exp: Likewise.
14775 * gdb.disasm/t10_and.exp: Likewise.
14776 * gdb.disasm/t11_logs.exp: Likewise.
14777 * gdb.disasm/t12_bit.exp: Likewise.
14778 * gdb.disasm/t13_otr.exp: Likewise.
14779 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
14780 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
14781 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14782 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
14783 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
14784 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
14785 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
14786 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
14787 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
14788 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
14789 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
14790 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14791 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14792 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14793 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14794 * gdb.mi/gdb701.exp: Likewise.
14795 * gdb.mi/gdb792.exp: Likewise.
14796 * gdb.mi/mi-basics.exp: Likewise.
14797 * gdb.mi/mi-break.exp: Likewise.
14798 * gdb.mi/mi-cli.exp: Likewise.
14799 * gdb.mi/mi-console.exp: Likewise.
14800 * gdb.mi/mi-disassemble.exp: Likewise.
14801 * gdb.mi/mi-eval.exp: Likewise.
14802 * gdb.mi/mi-file.exp: Likewise.
14803 * gdb.mi/mi-read-memory.exp: Likewise.
14804 * gdb.mi/mi-regs.exp: Likewise.
14805 * gdb.mi/mi-return.exp: Likewise.
14806 * gdb.mi/mi-simplerun.exp: Likewise.
14807 * gdb.mi/mi-stack.exp: Likewise.
14808 * gdb.mi/mi-stepi.exp: Likewise.
14809 * gdb.mi/mi-syn-frame.exp: Likewise.
14810 * gdb.mi/mi-until.exp: Likewise.
14811 * gdb.mi/mi-var-block.exp: Likewise.
14812 * gdb.mi/mi-var-child.exp: Likewise.
14813 * gdb.mi/mi-var-cmd.exp: Likewise.
14814 * gdb.mi/mi-var-display.exp: Likewise.
14815 * gdb.mi/mi-watch.exp: Likewise.
14816 * gdb.mi/mi2-basics.exp: Likewise.
14817 * gdb.mi/mi2-break.exp: Likewise.
14818 * gdb.mi/mi2-cli.exp: Likewise.
14819 * gdb.mi/mi2-console.exp: Likewise.
14820 * gdb.mi/mi2-disassemble.exp: Likewise.
14821 * gdb.mi/mi2-eval.exp: Likewise.
14822 * gdb.mi/mi2-file.exp: Likewise.
14823 * gdb.mi/mi2-read-memory.exp: Likewise.
14824 * gdb.mi/mi2-regs.exp: Likewise.
14825 * gdb.mi/mi2-return.exp: Likewise.
14826 * gdb.mi/mi2-simplerun.exp: Likewise.
14827 * gdb.mi/mi2-stack.exp: Likewise.
14828 * gdb.mi/mi2-stepi.exp: Likewise.
14829 * gdb.mi/mi2-syn-frame.exp: Likewise.
14830 * gdb.mi/mi2-until.exp: Likewise.
14831 * gdb.mi/mi2-var-block.exp: Likewise.
14832 * gdb.mi/mi2-var-child.exp: Likewise.
14833 * gdb.mi/mi2-var-cmd.exp: Likewise.
14834 * gdb.mi/mi2-var-display.exp: Likewise.
14835 * gdb.mi/mi2-watch.exp: Likewise.
14836 * gdb.stabs/exclfwd.exp: Likewise.
14837 * gdb.stabs/weird.exp: Likewise.
14838 * gdb.threads/gcore-thread.exp: Likewise.
14839 * gdb.trace/actions.exp: Likewise.
14840 * gdb.trace/backtrace.exp: Likewise.
14841 * gdb.trace/circ.exp: Likewise.
14842 * gdb.trace/collection.exp: Likewise.
14843 * gdb.trace/deltrace.exp: Likewise.
14844 * gdb.trace/infotrace.exp: Likewise.
14845 * gdb.trace/limits.exp: Likewise.
14846 * gdb.trace/packetlen.exp: Likewise.
14847 * gdb.trace/passc-dyn.exp: Likewise.
14848 * gdb.trace/passcount.exp: Likewise.
14849 * gdb.trace/report.exp: Likewise.
14850 * gdb.trace/save-trace.exp: Likewise.
14851 * gdb.trace/tfind.exp: Likewise.
14852 * gdb.trace/tracecmd.exp: Likewise.
14853 * gdb.trace/while-dyn.exp: Likewise.
14854 * gdb.trace/while-stepping.exp: Likewise.
14855
f4b618d1
JB
148562006-08-08 Joel Brobecker <brobecker@adacore.com>
14857
14858 * gdb.base/step-bt.c: New file.
14859 * gdb.base/step-bt.exp: New testcase.
14860
3d00d119
DJ
148612006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
14862
14863 * config/monitor.exp (gdb_load): Remove support for obsolete
14864 download-write-size.
14865 * gdb.base/remote.exp: Likewise. Update all callers of
14866 gdb_timed_load.
14867
017b5bd4
DJ
148682006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
14869
14870 * cursal.exp: Pass binfile to gdb_load.
14871
837c599d
DJ
148722006-08-01 Nathan Sidwell <nathan@codesourcery.com>
14873
14874 * gdb.base/cursal.exp: Add "" to gdb_load call.
14875
8dd4540b
MK
148762006-07-29 Mark Kettenis <kettenis@gnu.org>
14877
14878 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
14879 NetBSD/ELF targets.
14880
ab5c9f60
DJ
148812006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
14882
14883 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
14884 operator*.
14885
4c42eaff
DJ
148862006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
14887
14888 * gdb.base/completion.exp: Update for change in "file" behavior.
14889 * gdb.stabs/weird.exp: Likewise.
14890 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
14891 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
14892
0155cc76
NS
148932006-07-24 Nathan Sidwell <nathan@codesourcery.com>
14894
14895 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
14896 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
14897
16026cd7
AS
148982006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
14899
14900 * gdb.base/default.exp: Update source command error message.
14901 * gdb.base/help.exp: Update 'help source' message.
14902
16963cb6
DJ
149032006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
14904
14905 * gdb.cp/bs15503.exp: Update comment for no longer crashing
14906 test.
14907
6d7fd486
AS
149082006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
14909
14910 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
14911
29e8a844
DJ
149122006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
14913
14914 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
14915
6afcfa39
DJ
149162006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
14917
14918 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
14919
267a692b
MK
149202006-07-17 Mark Kettenis <kettenis@gnu.org>
14921
14922 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
14923 *-*-openbsd* from targets for wich we expect ARM FPA floating
14924 point format.
14925
85d2fec4
NR
149262006-07-17 Nick Roberts <nickrob@snap.net.nz>
14927
14928 * gdb.cp/annota3.exp: Expect frame-begin annotation.
14929
149302006-07-17 Mark Kettenis <kettenis@gnu.org>
14931
14932 * gdb.base/annota3.exp: Expect frame-begin annotation.
14933
85b4c6e8
JB
149342006-07-14 Joel Brobecker <brobecker@adacore.com>
14935
14936 * gdb.base/help.exp: Adjust "help unset" test to accept
14937 any list of unset commands.
14938
fb933624
DJ
149392006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
14940 Daniel Jacobowitz <dan@codesourcery.com>
14941
14942 * gdb.cp/ref-params.exp: New test.
14943 * gdb.cp/ref-params.cc: New source file.
14944 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
14945
1dff4b64
MK
149462006-07-08 Mark Kettenis <kettenis@gnu.org>
14947
14948 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
14949 spaces/tabs in regular expressions since they might not be there.
14950
40d2e0e3
AS
149512006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
14952
14953 * gdb.base/ifelse.exp: New file.
14954
f6c957d2
NS
149552006-07-04 Nathan Sidwell <nathan@codesourcery.com>
14956
14957 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
14958 line.
14959 * gdb.base/huge.exp: Loop over compilation to find a size that
14960 is acceptable.
14961 * gdb.base/remote.exp: Correct expected strings.
14962 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
14963
b9c5a23d
DJ
149642006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14965
14966 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
14967
9af2e58d
DJ
149682006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14969
14970 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
14971 native.
14972
30930ca5
DJ
149732006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14974
14975 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
14976 enable stabs testing.
14977
aa32fa1d
DJ
149782006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14979
bd4a4c80 14980 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
14981 gdb_test_multiple does.
14982
321fef15
DJ
149832006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14984
14985 * Makefile.in (host_alias): Remove.
14986 (target_alias): Use @target_noncanonical@.
14987 (site.exp): Don't set host_alias.
14988 * aclocal.m4: Remove contents. Include acx.m4.
14989 * configure: Regenerated.
14990 * configure.ac: Use ACX_NONCANONICAL_TARGET.
14991
e1c2defa
NS
149922006-06-13 Nathan Sidwell <nathan@codesourcery.com>
14993
e63b55d1
NS
14994 * lib/gdb.exp (gdb_load_cmd): New.
14995
5600ea19
NS
14996 * gdb.base/fileio.c: Add system(NULL) test.
14997 * gdb.base/fileio.exp: Check it.
14998
e1c2defa
NS
14999 * gdb.base/break.c: Add 10a breakpoint at }
15000 * gdb.base/break.exp: Add test for breakpoint at }
15001 * gdb.cp/anon-union.cc: Add code at end of function.
15002 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
15003 * gdb.mi/var-cmd.c: Add code at end of function.
15004 * gdb.mi/mi-var-display.exp: Adjust end of next.
15005 * gdb.mi/mi2-var-display.exp: Likewise.
15006 * gdb.base/fileio.c: Add stop function and insert calls at
15007 stopping places.
15008 * gdb.base/fileio.exp: Breakpoint stop function and remove
15009 explicit line number references.
15010
6c0112ec
JB
150112006-05-19 Joel Brobecker <brobecker@adacore.com>
15012
a9c64011
AS
15013 * gdb.base/del.exp (test_delete_alias): New function.
15014 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 15015
154189a4
FF
150162006-05-18 Fred Fish <fnf@specifix.com>
15017
15018 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
15019 required. Check for spurious output after program exits normally.
15020
582e64c2
FF
150212006-05-17 Fred Fish <fnf@specifix.com>
15022
15023 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
15024 gdb_load, so it works in the simulator.
15025
8ef6493a
FF
150262006-05-11 Fred Fish <fnf@specifix.com>
15027
15028 * gdb.base/bang.exp: Ignore unexpected output between the
15029 "program exited normally" and the gdb prompt, as many other
15030 tests do.
15031
692b141c
MK
150322006-05-07 Mark Kettenis <kettenis@gnu.org>
15033
15034 * gdb.base/help.exp: Make "delete checkpoint" part option for
15035 "help d" and "help delete" tests.
15036
540b8a30
UW
150372006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15038
a9c64011 15039 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
15040 expected output in some mi_gdb_test statements.
15041 * gdb.mi/mi2-basics.exp: Likewise.
15042
9b6462d9
JB
150432006-05-05 Joel Brobecker <brobecker@adacore.com>
15044
15045 * gdb.base/del.c: New file.
15046 * gdb.base/del.exp: New testcase.
15047
954de43b
DM
150482006-05-05 David S. Miller <davem@sunset.davemloft.net>
15049
15050 * gdb.base/break.exp: Do not assume a breakpoint on
15051 main will actually be in $srcfile when optimizing.
1303f75e
DM
15052 * gdb.base/savedregs.exp: Do not require that the dummy
15053 frame location match up to a symbol and source file location.
c3242428
DM
15054 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
15055 will get printed without a mi_cmd_data_list_register_values prefix.
15056 (*-data-list-register-*): Correct regular expressions to expect the new
15057 pseudo d? floating point registers.
15058 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 15059
c7e64c9a
DJ
150602006-05-05 Christophe Lyon <christophe.lyon@st.com>
15061
15062 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
15063 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
15064 is allocated by the compiler.
15065 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
15066 anons, e, anone to force their allocation by the compiler.
15067
150682006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
15069
15070 * gdb.base/help.exp: Update expected text for help d and
15071 help delete.
15072
27ce9a6d
MK
150732006-05-02 Mark Kettenis <kettenis@gnu.org>
15074
15075 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
15076 NetBSD/ELF targets.
15077
8608915f
MK
150782006-04-30 Mark Kettenis <kettenis@gnu.org>
15079
15080 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
15081 single-step breakpoint fails; make this a KFAIL on
15082 sparc*-*-openbsd*.
15083 * gdb.base/siginfo.exp: Likewise.
15084 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15085
b8db102d
MS
150862006-04-26 Michael Snyder <msnyder@redhat.com>
15087
15088 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
15089 which may have to consume output from other forks.
15090 Add tests to make sure that "delete fork" succeeded.
15091
c702009a
MS
150922006-04-20 Michael Snyder <msnyder@redhat.com>
15093
15094 * 2006-03-22 Jim Blandy <jimb@redhat.com>
15095 Add support for the Renesas M32C and M16C.
15096
15097 * gdb.asm/asm-source.exp: Add m32c target.
15098 * gdb.asm/m32c.inc: Support for m32c target.
15099
e28493f2
AS
151002006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
15101
15102 * gdb.base/commands.exp (recursive_source_test): New test.
15103
880da185
DM
151042006-04-04 David S. Miller <davem@sunset.davemloft.net>
15105
15106 * gdb.base/float.exp: Add pattern for sparc targets.
15107
61d9b92f
DJ
151082006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15109
15110 * gdb.base/commands.exp (stray_arg0_test): New test.
15111
bd717df8
PB
151122006-03-30 Paul Brook <paul@codesourcery.com>
15113
15114 * gdb.mi/mi-until.exp: kfail broken until command.
15115 * gdb.mi/mi2-until.exp: Ditto.
15116
ec793d3c
NR
151172006-03-27 Nick Roberts <nickrob@snap.net.nz>
15118
15119 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
15120
831004b7
AO
151212006-03-08 Alexandre Oliva <aoliva@redhat.com>
15122
15123 * gdb.base/prelink.exp: Anchor tested-for regular expression
15124 on gdb prompt.
15125
effe49a0
PB
151262006-03-07 Paul Brook <paul@codesourcery.com>
15127
15128 * gdb.base/assign.exp: Correct fail message.
15129
e5461016
PB
151302006-03-07 Paul Brook <paul@codesourcery.com>
15131
15132 * lib/compiler.c: Extract armcc version number.
15133 * lib/compiler.cc: Ditto.
15134
fc91c6c2
PB
151352006-03-07 Paul Brook <paul@codesourcery.com>
15136
15137 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
15138 additional_flags=-w.
15139 * gdb.arch/altivec-regs.exp: Ditto.
15140 * gdb.arch/e500-abi.exp: Ditto.
15141 * gdb.arch/e500-regs.exp: Ditto.
15142 * gdb.base/all-bin.exp: Ditto.
15143 * gdb.base/annota1.exp: Ditto.
15144 * gdb.base/annota3.exp: Ditto.
15145 * gdb.base/args.exp: Ditto.
15146 * gdb.base/arithmet.exp: Ditto.
15147 * gdb.base/assign.exp: Ditto.
15148 * gdb.base/async.exp: Ditto.
15149 * gdb.base/bang.exp: Ditto.
15150 * gdb.base/break.exp: Ditto.
15151 * gdb.base/call-rt-st.exp: Ditto.
15152 * gdb.base/completion.exp: Ditto.
15153 * gdb.base/cond-expr.exp: Ditto.
15154 * gdb.base/condbreak.exp: Ditto.
15155 * gdb.base/consecutive.exp: Ditto.
15156 * gdb.base/define.exp: Ditto.
15157 * gdb.base/display.exp: Ditto.
15158 * gdb.base/ena-dis-br.exp: Ditto.
15159 * gdb.base/environ.exp: Ditto.
15160 * gdb.base/eval-skip.exp: Ditto.
15161 * gdb.base/info-proc.exp: Ditto.
15162 * gdb.base/jump.exp: Ditto.
15163 * gdb.base/logical.exp: Ditto.
15164 * gdb.base/long_long.exp: Ditto.
15165 * gdb.base/maint.exp: Ditto.
15166 * gdb.base/miscexprs.exp: Ditto.
15167 * gdb.base/pc-fp.exp: Ditto.
15168 * gdb.base/pointers.exp: Ditto.
15169 * gdb.base/relational.exp: Ditto.
15170 * gdb.base/reread.exp: Ditto.
15171 * gdb.base/sect-cmd.exp: Ditto.
15172 * gdb.base/sep.exp: Ditto.
15173 * gdb.base/sepdebug.exp: Ditto.
15174 * gdb.base/until.exp: Ditto.
15175 * gdb.base/whatis-exp.exp: Ditto.
15176 * gdb.cp/annota2.exp: Ditto.
15177 * gdb.cp/annota3.exp: Ditto.
15178 * gdb.trace/actions.exp: Ditto.
15179 * gdb.trace/backtrace.exp: Ditto.
15180 * gdb.trace/circ.exp: Ditto.
15181 * gdb.trace/collection.exp: Ditto.
15182 * gdb.trace/deltrace.exp: Ditto.
15183 * gdb.trace/infotrace.exp: Ditto.
15184 * gdb.trace/limits.exp: Ditto.
15185 * gdb.trace/packetlen.exp: Ditto.
15186 * gdb.trace/passc-dyn.exp: Ditto.
15187 * gdb.trace/passcount.exp: Ditto.
15188 * gdb.trace/report.exp: Ditto.
15189 * gdb.trace/save-trace.exp: Ditto.
15190 * gdb.trace/tfind.exp: Ditto.
15191 * gdb.trace/tracecmd.exp: Ditto.
15192 * gdb.trace/while-dyn.exp: Ditto.
15193 * gdb.trace/while-stepping.exp: Ditto.
15194 * lib/gdb.exp: Ditto.
15195 (gdb_compile): Handle nowarning option.
15196
5f4a23d9
AO
151972006-03-07 Alexandre Oliva <aoliva@redhat.com>
15198
15199 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
15200 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
15201 Rename executable to prelinkt. Don't re-prelink if we didn't
15202 get a core file. Test prelink -u exit status to tell whether
15203 prelinking failed. Use gdb_test_multiple.
15204
9733fc94
DJ
152052006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
15206
15207 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
15208 (do_tests): Call it.
15209
cc10cae3
AO
152102006-02-28 Alexandre Oliva <aoliva@redhat.com>
15211
15212 * gdb.base/prelink.exp: New test.
15213 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
15214
15c46491
WZ
152152006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
15216
15217 * gdb.fortran/derived-type.f90: New file.
15218 * gdb.fortran/derived-type.exp: New testcase.
15219
5c9f7ded
DJ
152202006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
15221
15222 * gdb.base/default.exp: Allow ';' as a directory separator.
15223
5b96932b
AS
152242006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15225
15226 * gdb.base/help.exp (help add-symbol-file): Update.
15227
1986bccd
AS
152282006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15229
15230 * gdb.base/help.exp (help load): Update expected results.
15231
a8b7528f
FF
152322006-02-19 Fred Fish <fnf@specifix.com>
15233
15234 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
15235 specifix hex value as part of results.
15236 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 15237
f8261448
FF
152382006-02-16 Fred Fish <fnf@specifix.com>
15239
15240 * gdb.base/whatis.c: Define variables using typedefs char_addr,
15241 ushort_addr, and slong_addr, so the typedefs are not optimized
15242 away.
15243 * gdb.base/whatis.exp: Add tests using type name for struct type,
15244 union type, enum type, and typedef.
a9c64011 15245
31d8bdd2
MK
152462006-02-13 Mark Kettenis <kettenis@gnu.org>
15247
15248 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
15249
34e41e63
JB
152502006-02-13 Jim Blandy <jimb@redhat.com>
15251
15252 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
15253 case where it takes two "next" commands to skip past the init
15254 call.
15255
ac6e4f31
FF
152562006-02-12 Fred Fish <fnf@specifix.com>
15257
15258 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
15259 to handle cases where it takes two "next" commands to skip
15260 past the init call.
15261
2db2d571
JB
152622006-02-07 Joel Brobecker <brobecker@adacore.com>
15263
15264 * gdb.ada/array_return.exp: Mark the last test as expected to fail
15265 on hppa32 targets.
15266
38fcd64c
DJ
152672006-02-06 Vladimir Prus <ghost@cs.msu.su>
15268
15269 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
15270 field.
15271
1315ad46
MK
152722006-01-29 Mark Kettenis <kettenis@gnu.org>
15273
15274 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
15275
5625b943
DJ
152762006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15277
15278 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
15279 files.
15280
80df1bbe
DJ
152812006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15282
15283 * gdb.cp/maint.exp: Set complaints to a positive value.
15284
9078e690
DJ
152852006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15286
15287 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
15288 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
15289 function name.
15290
9c903399
DJ
152912006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15292
15293 * gdb.base/checkpoint.c: Update copyright notice. Include
15294 <stdlib.h>.
15295
761ae4d6
JB
152962006-01-04 Jim Blandy <jimb@redhat.com>
15297
15298 * gdb.asm/asm-source.exp: Independently provide default values for
15299 asm-flags and debug-flags. Use 'string equal' to do the
15300 comparison, not the implicit expr's '==' operator. Remove
15301 now-unneeded assignments to asm-flags. In h8300 case, place
15302 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
15303
099ac3dd
MS
153042006-01-04 Michael Snyder <msnyder@redhat.com>
15305
15306 * gdb.base/checkpoint.c: New file.
15307 * gdb.base/checkpoint.exp: New file.
15308 * gdb.base/multi-fork.c: New file.
15309 * gdb.base/multi-fork.exp: New file.
15310 * gdb.base/pi.txt: New file (data for checkpoint.c test).
15311
f4d85314
FF
153122006-01-04 Fred Fish <fnf@specifix.com>
15313
15314 * gdb.base/ptype.c (foo): Add typedef.
15315 (intfoo): Add function.
15316 * gdb.base/ptype1.c: New file.
15317 * gdb.base/ptype.exp: Handle compilation and linking with two
15318 source files. Test that proper type for "foo" is found based
15319 on source context rather than first match found in symtabs.
15320
a1b06f35
MK
153212005-12-28 Mark Kettenis <kettenis@gnu.org>
15322
15323 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
15324 * gdb.asm/openbsd.inc: Indent commands.
15325
d082a1e2
MK
153262005-12-26 Mark Kettenis <kettenis@gnu.org>
15327
c65016bd
MK
15328 * gdb.base/freebpcmd.exp: Increase timeout.
15329
d082a1e2
MK
15330 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
15331
d3c32a0e
DJ
153322005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
15333
15334 * gdb.base/default.exp: Update check for "show version".
15335
9fdb1f50
RC
153362005-12-09 Randolph Chung <tausq@debian.org>
15337
15338 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
15339 * gdb.asm/pa64.inc: New file.
15340
5f2c56f7
RC
153412005-12-09 Randolph Chung <tausq@debian.org>
15342
15343 * gdb.asm/common.inc: Indent commands.
15344 * gdb.asm/asmsrc1.s: Likewise.
15345 * gdb.asm/asmsrc2.s: Likewise.
15346
8117349c
RC
153472005-12-09 Randolph Chung <tausq@debian.org>
15348
15349 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
15350 (get_addr_of_sym): Remove duplicate print.
15351 (gen_core): xfail hppa*-*-hpux*, update expected output.
15352 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
15353 * gdb.arch/pa64-nullify.s: New file.
15354
8f07f25a
RC
153552005-12-09 Randolph Chung <tausq@debian.org>
15356
15357 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
15358
55b39184
DJ
153592005-12-07 Christophe Lyon <christophe.lyon@st.com>
15360
15361 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
15362 code generation for these functions.
15363 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
15364 error message.
15365
31e2b00f
AS
153662005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
15367
15368 * gdb.base/help.exp (help b, help br, help bre, help brea)
15369 (help break): Update the expected message.
15370
c3d0b56e
SC
153712005-11-11 Stephane Carrez <stcarrez@nerim.fr>
15372
15373 * gdb.asm/m68hc11.inc: Setup the data section.
15374 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
15375 script for this test.
15376 (m6812-*-*): Likewise.
15377
36ae0ea9
RC
153782005-11-09 Randolph Chung <tausq@debian.org>
15379
15380 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
15381
9d6f42e9
WZ
153822005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
15383
15384 * gdb.base/break.exp: Fix a comment typo.
15385
e2126a14
EZ
153862005-11-03 Jim Blandy <jimb@redhat.com>
15387
a9c64011
AS
15388 Checked in by Elena Zannoni <ezannoni@redhat.com>
15389
889bf7c5 15390 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 15391
e0ac7199
CV
153922005-11-02 Corinna Vinschen <vinschen@redhat.com>
15393
15394 * gdb.arch/gdb1558.c: Include stdio.h.
15395
31d3fb18
MK
153962005-10-31 Mark Kettenis <kettenis@gnu.org>
15397
15398 * gdb.asm/asm-source.exp: Use -e instead of --entry.
15399
e52b687c
MK
154002005-10-31 Mark Kettenis <kettenis@gnu.org>
15401
15402 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
15403
f4711d79
PG
154042005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
15405
a9c64011
AS
15406 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15407 vscr" tests to better match output.
f4711d79 15408
987a9106
JB
154092005-10-12 Jim Blandy <jimb@redhat.com>
15410
15411 * gdb.base/structs.exp (any): New function.
15412 (test_struct_returns): Don't make any assumptions at all about
15413 what value the function returns when GDB can't set the return
15414 value.
15415
2336bb58
JB
154162005-10-09 Joel Brobecker <brobecker@adacore.com>
15417
15418 * gdb.ada/arrayidx/p.adb: New file.
15419 * gdb.ada/arrayidx.exp: New testcase
15420
154212005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
15422
15423 * gdb.ada/array_return/pck.ads: New file.
15424 * gdb.ada/array_return/pck.adb: New file.
15425 * gdb.ada/array_return/p.adb: New file.
15426 * gdb.ada/array_return.exp: New testcase.
15427
705335ea
JB
154282005-10-03 Joel Brobecker <brobecker@adacore.com>
15429
a9c64011
AS
15430 * gdb.base/arrayidx.c: New file.
15431 * gdb.base/arrayidx.exp: New testcase.
705335ea 15432
11ee9940
NR
154332005-09-29 Nick Roberts <nickrob@snap.net.nz>
15434
15435 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
15436 frames-invalid and breakpoints-invalid are no longer generated
15437 with level 3 so don't expect them in the output.
15438
39fb8e9e
BR
154392005-09-27 Bob Rossi <bob@brasko.net>
15440
a9c64011 15441 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
15442 from test. Escape the | in mi_gdb_test call.
15443 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
15444 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
15445 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
15446 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
15447 expected regex's in mi_gdb_test calls.
15448 * lib/mi-support.exp: Remove arbitrary .* from tests.
15449 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
15450 Fully anchor GDB/MI expected results in mi_gdb_test.
15451 * lib/gdb.exp (string_to_regexp): Escape the ] character.
15452 * gdb.base/sizeof.exp: Remove escape character. Correct test.
15453
2af48f68
PB
154542005-09-26 Paul Brook <paul@codesourcery.com>
15455
15456 * long_long.exp: Exclude eabi targets from arm FPA float format test.
15457
f34502bc
WZ
154582005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15459
15460 * bfp-test.c: New file.
15461 * bfp-test.exp: New testcase.
15462
ca929517
WZ
154632005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15464
15465 * gdb.fortran/subarray.exp: New testcase to test the evaluation
15466 of subarray and substring variable.
15467 * gdb.fortran/subarray.f: New source file for the test of subarray
15468 and substring variable evaluation.
15469 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
15470 of string constant.
15471
c761af65
DJ
154722005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
15473
15474 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
15475 copyright dates.
15476
561d7a1d
PG
154772005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
15478
15479 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
15480 powerpc altivec' test with an almost identical 'info vector' test.
15481
b2b64cc9
PG
154822005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15483
a9c64011
AS
15484 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15485 vscr" tests to match output.
b2b64cc9 15486
6ac4d15a
PG
154872005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15488
a9c64011
AS
15489 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
15490 output.
6ac4d15a 15491
40e55bef
BR
154922005-09-11 Bob Rossi <bob@brasko.net>
15493
889bf7c5
PA
15494 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
15495 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
15496 commands that return an MI output command and an asyncronous MI output
15497 command.
40e55bef
BR
15498 * gdb.mi/mi-console.exp: Ditto.
15499
3c7385ec
BR
155002005-09-11 Bob Rossi <bob@brasko.net>
15501
15502 * gdb.mi/mi-var-child.c: Include <string.h>.
15503
a6cd0eb3
DJ
155042005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
15505
15506 * killed.exp: Correct gdb_expect syntax.
15507
2f168eed
CV
155082005-08-09 Corinna Vinschen <vinschen@redhat.com>
15509
15510 * lib/mi-support.exp (mi_gdb_load): Fix typo.
15511
ecd3fd0f
BR
155122005-08-02 Bob Rossi <bob@brasko.net>
15513
15514 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
15515 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
15516 Change tests to inferior-tty-set/show.
15517 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
15518 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
15519 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
15520 inferior. Use mi_gdb_test to get GDB and Inferior output.
15521 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
15522 descriptor.
15523 (mi_inferior_tty_name): Add inferior PTY file name.
15524 (mi_gdb_start): Add INFERIOR_PTY parameter.
15525 (mi_gdb_test): Add IPATTERN parameter.
15526
f1ea48cb 155272005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 15528
f1ea48cb
BR
15529 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
15530 parameter to mi_gdb_test.
15531 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
15532
6e650a67
DJ
155332005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15534
15535 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
15536 struct_declarations.
15537 * gdb.mi/mi-var-child.exp: Step over the initialization of
15538 struct_declarations.
15539
8be260b6
DJ
155402005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15541
15542 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
15543 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
15544 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
15545 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
15546 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
15547 file.
15548
4e660f07
NR
155492005-07-27 Nick Roberts <nickrob@snap.net.nz>
15550
15551 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
15552 (do_children_tests): Assign values to the extra elements.
15553
15554 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
15555 them for tests for "-var-update --no-values" and
a9c64011 15556 "-var-update --all-values".
4e660f07
NR
15557 Add test for "-var-list-children --simple-values".
15558
15559 * gdb.mi/basics.c (callee4): Add integer array D[3]...
15560
15561 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
15562 "-stack-list-locals --simple-values" Improve doc strings and
15563 comments.
15564
6bdae935
MK
155652005-07-18 Mark Kettenis <kettenis@gnu.org>
15566
598b7a6f
MK
15567 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
15568 *-*-openbsd*.
15569 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
15570
6bdae935
MK
15571 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
15572 sigaltsatck'.
15573
1323e929 155742005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 15575
1323e929
BR
15576 * gdb.base/default.exp (tty): Changed output of command.
15577 * gdb.base/help.exp (help tty): Ditto.
15578
b1a9c082
MK
155792005-07-12 Mark Kettenis <kettenis@gnu.org>
15580
15581 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
15582
10a844a2
MK
155832005-07-10 Mark Kettenis <kettenis@gnu.org>
15584
15585 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
15586 -stack-select-frame without arguments.
15587 (test_stack_frame_listing): Add test for newly implemented command
15588 -stack-info-frame.
15589
3cb3b8df
BR
155902005-07-06 Bob Rossi <bob@brasko.net>
15591
15592 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
15593 command.
15594 (Copyright): Update copyright.
15595
a0c5fbcf
WZ
155962005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
15597
15598 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
15599 tests to evaluate exponentiation expression.
15600
984971d0
AS
156012005-06-29 Andreas Schwab <schwab@suse.de>
15602
15603 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
15604 main to avoid warnings.
15605
15606 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
15607
fe03833f
NR
156082005-06-20 Nick Roberts <nickrob@snap.net.nz>
15609
15610 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
15611 -stack-select-frame without arguments.
15612 (test_stack_frame_listing): Add test for newly implemented command
15613 -stack-info-frame.
a9c64011 15614
7a55f279
WZ
156152005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
15616
0ffa0ea5
DJ
15617 * gdb.fortran/array-element.f: New file.
15618 * gdb.fortran/array-element.exp: New testcase.
7a55f279 15619
26585198
DJ
156202005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15621
15622 * gdb.base/bigcore.exp: Correct checks for systems which can
15623 not dump a large core file.
15624
c1bd25fd
DJ
156252005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15626
15627 * gdb.base/relocate.c: Add a copyright notice.
15628 (dummy): Remove.
15629 * gdb.base/relocate.exp: Test printing the values of variables
15630 from a relocatable file.
15631
589e074d
DJ
156322005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15633
15634 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
15635 excess MI output after an error.
15636
0915f927
JB
156372005-05-29 Joel Brobecker <brobecker@adacore.com>
15638
15639 * gdb.arch/alpha-step.c: New file.
15640 * gdb.arch/alpha-step.exp: New testcase.
15641
76ff342d
DJ
156422005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
15643 Dennis Brueni <dennis@slickedit.com>
15644
15645 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
15646 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
15647 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
15648 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
15649 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15650 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
15651 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
15652
96b0c7ac
DJ
156532005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
15654 Wu Zhou <woodzltc@cn.ibm.com>
15655
15656 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
15657 IBM's xlc compiler.
15658 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
15659 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
15660
f21565d2
JB
156612005-05-13 Jim Blandy <jimb@redhat.com>
15662
15663 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
15664 calling gdb_suppress_entire_file.
15665 * gdb.base/charset.exp: Same.
15666 * gdb.base/call-rt-st.exp: Same.
15667
6006a3a1
BR
156682005-05-05 Bob Rossi <bob_rossi@cox.net>
15669
15670 * lib/gdb.exp (fullname_syntax): Added global regex.
15671 (fullname_syntax_POSIX): Ditto.
15672 (fullname_syntax_UNC): Ditto.
15673 (fullname_syntax_DOS_CASE): Ditto.
15674 (fullname_syntax_DOS): Ditto.
15675 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
15676 fullname_syntax variable to scope and use it.
15677 (test_file_list_exec_source_files): Ditto.
15678 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
15679
c3b69c04
DJ
156802005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
15681
15682 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
15683
3c95e6af
PG
156842004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
15685
a9c64011
AS
15686 * lib/gdb.exp (skip_altivec_tests): New function, based on
15687 check_vmx_hw_available from the GCC testsuite.
15688 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
15689 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 15690
78df6c56
JB
156912005-05-02 Jim Blandy <jimb@redhat.com>
15692
15693 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
15694 calling gdb_suppress_entire_file.
15695
1690f9cf
DJ
156962005-04-30 Randolph Chung <tausq@debian.org>
15697
15698 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
15699 Slightly relax "sem_post" name checking.
15700
5ea106f7
PG
157012005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15702
15703 * gdb.base/unload.exp: Use new shared library infrastructure.
15704
bf7234cf
PG
157052005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15706
15707 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 15708 infrastructure.
bf7234cf 15709
547b869a
CV
157102005-04-29 Corinna Vinschen <vinschen@redhat.com>
15711
15712 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
15713 * gdb.asm/h8300.inc: New file.
15714
f07e55f0
PG
157152005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15716
15717 * gdb.base/shlib-call.exp: Change to use new shared library
15718 infrastructure.
15719
3cbba3d1
PG
157202005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15721
a9c64011
AS
15722 * gdb.base/pending.exp: Change to use new shared library
15723 infrastructure.
3cbba3d1 15724
ed6df200
PG
157252005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15726
a9c64011
AS
15727 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
15728 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 15729
8c8f4ebe
PG
157302005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
15731
a9c64011
AS
15732 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
15733 shared objects being adjusted and update copyright years.
8c8f4ebe 15734
607fbc54
DJ
157352005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
15736
15737 * ChangeLog: Correct some 2003-01-13 dates.
15738 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
15739 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
15740 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
15741 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
15742 gdb.trace/tfind.exp: Update copyright years.
15743
57bf0e56
DJ
157442005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
15745 Daniel Jacobowitz <dan@codesourcery.com>
15746
15747 * lib/gdb.exp (gdb_compile): Handle shlib=.
15748 (gdb_compile_shlib): New function.
15749
9b593790
PG
157502005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
15751
a9c64011 15752 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 15753
9494c6a5
DJ
157542005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15755
15756 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
15757 gdb.server.
15758 * configure.ac: Likewise.
15759 * configure: Regenerated.
15760 * gdb.gdbserver/Makefile.in: Moved to...
15761 * gdb.server/Makefile.in: ... here.
15762 * gdb.gdbserver/server.c: Moved to...
15763 * gdb.server/server.c: ... here.
15764 * gdb.gdbserver/server-run.exp: Moved to...
15765 * gdb.server/server-run.exp: ... here.
15766
6f8eac0e
DJ
157672005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15768
15769 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
15770 * configure.ac: Create gdb.gdbserver/Makefile.
15771 * configure: Regenerated.
15772 * lib/gdbserver-support.exp: New file, derived from
15773 config/gdbserver.exp.
15774 * config/gdbserver.exp: Use gdbserver-support.exp.
15775 * gdb.gdbserver/Makefile.in: New file.
15776 * gdb.gdbserver/server.c: New file.
15777 * gdb.gdbserver/server-run.exp: New file.
15778
6e87504d
PG
157792005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
15780
a9c64011
AS
15781 * lib/gdb.exp (test_compiler_info): Return compiler_info
15782 if no arguments are given.
6e87504d 15783
d1779be4
PG
157842005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
15785
15786 * gdb.arch/altivec-abi.exp: Check for compiler and set
15787 use altivec' flag accordingly.
15788 * gdb.arch/altivec-regs.exp: Likewise.
15789
88750304
DJ
157902005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
15791
15792 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
15793
f3fb768d
AS
157942005-03-27 Andreas Schwab <schwab@suse.de>
15795
15796 * gdb.base/bigcore.c (main): Add missing mode argument in open
15797 call.
15798
7e813ac5
DJ
157992005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
15800
15801 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
15802 downloads.
15803 * config/gdbserver.exp (gdb_load): Likewise.
15804
8e3049aa
PB
158052005-03-14 Paul Brook <paul@codesourcery.com>
15806
15807 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
15808 targets.
15809
a9df7c44
JB
158102005-03-09 Joel Brobecker <brobecker@adacore.com>
15811
15812 * gdb.dwarf2/dup-psym.S: New file.
15813 * gdb.dwarf2/dup-psym.exp: New testcase.
15814
9f0d94e8
JB
158152005-03-09 Joel Brobecker <brobecker@adacore.com>
15816
15817 * gdb.ada/exec_changed/first.adb: New file.
15818 * gdb.ada/exec_changed/second.adb: New file.
15819 * gdb.ada/exec_changed.exp: New testcase.
15820
5f579bc5
NS
158212005-03-08 Nathan Sidwell <nathan@codesourcery.com>
15822
36e9969c
NS
15823 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
15824 (A2): New class.
15825 (main): Test operator+.
15826 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
15827 breakpoint test.
15828
5f579bc5
NS
15829 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
15830 * gdb.base/signull.exp: Disable if gdb,nosignals.
15831 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
15832 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
15833 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
15834 * gdb.mi/mi2-console.exp: Likewise.
15835 * gdb.trace/collection.exp (run_trace_experiment): Consume the
15836 continue output at start.
15837 (gdb_collect_locals_test): Robustify regexp.
15838 * gdb.trace/passc-dyn.exp: Fix comment typo.
15839 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
15840
be46087e
CV
158412005-03-08 Corinna Vinschen <vinschen@redhat.com>
15842
15843 * gdb.asm/asm-source.exp: Add iq2000 case.
15844 * gdb.asm/iq2000.inc: New file.
15845
384e1a61 158462005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 15847
384e1a61
MI
15848 * gdb.base/command.exp: Change hardcoded value to regular expression.
15849 * gdb.base/float.exp: Add powerpc to the list of targets checked.
15850
584b6e9e
DJ
158512005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
15852
15853 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
15854 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
15855 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
15856 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
15857 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
15858
ab5b5d61
MK
158592005-03-05 Mark Kettenis <kettenis@gnu.org>
15860
15861 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
15862 changes.
15863
ae051c1b
PG
158642004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
15865
a9c64011
AS
15866 * lib/compiler.c: Add test for IBM's xlc compiler.
15867 * lib/compiler.cc: Likewise.
ae051c1b 15868
3f0f6ed2
JB
158692004-02-24 Joel Brobecker <brobecker@adacore.com>
15870
15871 * gdb.ada/fixed_points.exp: Create compilation object directory
15872 before running the test.
15873 * gdb.ada/null_record.exp: Likewise.
15874 * gdb.ada/packed_array.exp: Likewise.
15875 * gdb.ada/start.exp: Likewise.
15876
724f452b
JB
158772005-02-15 Joel Brobecker <brobecker@adacore.com>
15878
15879 * gdb.ada/packed_array/pa.adb: New file.
15880 * gdb.ada/packed_array.exp: New testcase.
15881
57f5cdfb 158822005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 15883
1f393151
MK
15884 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
15885 files.
15886
ebdda337
MK
15887 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
15888 on *-*-openbsd*. Correctly match whitespace in regukar
15889 expressions.
15890
cf309262
DJ
158912005-02-10 Daniel Jacobowitz <dan@debian.org>
15892
15893 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
15894 PR exp/1821
15895 * gdb.base/gdb1821.c: New test file.
15896 * gdb.base/gdb1821.exp: New test file.
15897
3be49e7a
JB
158982005-02-09 Joel Brobecker <brobecker@adacore.com>
15899
15900 * gdb.base/start.c: New file.
15901 * gdb.base/start.exp: New testcase.
15902
e292e67d
JB
159032005-02-09 Joel Brobecker <brobecker@adacore.com>
15904
15905 * gdb.ada/start/dummy.adb: New file.
15906 * gdb.ada/start.exp: New testcase.
15907
dbdfa66c
CV
159082005-02-09 Corinna Vinschen <vinschen@redhat.com>
15909
15910 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
15911 for printing symbols and statistics.
15912 Add test for using relative pathnames in "maint print msymbols" test.
15913 Mark "maint info sections DATA" XFAIL on Cygwin.
15914 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
15915 tests.
15916
d7941671
AC
159172005-02-09 Andreas Schwab <schwab@suse.de>
15918
15919 Committed by Andrew Cagney <cagney@gnu.org>
15920 * gdb.base/remotetimeout.exp: New file.
15921
74e5ef44
MK
159222005-02-07 Mark Kettenis <kettenis@gnu.org>
15923
15924 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
15925
464dd14d
JB
159262005-02-03 Joel Brobecker <brobecker@adacore.com>
15927
15928 * gdb.ada/gnat_ada.gpr: New file.
15929 * gdb.ada/gnat_ada.gin: Delete, no longer used.
15930 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
15931 * configure.ac: No longer generate gnat_ada.gpr.
15932 * configure: Regenerate.
15933 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
15934 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
15935 * gdb.ada/null_record/bar.ads: Likewise.
15936 * gdb.ada/null_record/bar.adb: Likewise.
15937 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
15938 * gdb.ada/null_record.exp (testdir): New variable.
15939 (testfile): executable is now in testdir subdirectory.
15940 (srcfile): Use full path to the main compilation unit.
15941 * gdb.ada/fixed_points.exp: Same changes as above.
15942
30d756ae
NR
159432005-02-03 Nick Roberts <nickrob@snap.net.nz>
15944
15945 * gdb.base/interp.exp: New test.
15946
9d799f85
AC
159472005-01-24 Andrew Cagney <cagney@gnu.org>
15948
15949 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
15950
15656118
AC
159512005-01-19 Andrew Cagney <cagney@gnu.org>
15952
a892c31b
AC
15953 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
15954 configure.ac not configure.in.
15955
15656118
AC
15956 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
15957 of powerpc*-*-*.
15958 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 15959 * gdb.base/list.exp (test_list_function)
15656118
AC
15960 (test_list_filename_and_function): Ditto.
15961 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
15962
a7b01baf
AC
159632005-01-16 Andrew Cagney <cagney@gnu.org>
15964
17d92a02
AC
15965 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
15966
a7b01baf
AC
15967 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
15968
bc8332bb
AC
159692005-01-14 Andrew Cagney <cagney@gnu.org>
15970
15971 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
15972 * gdb.mi/mi2-var-cmd.exp: Ditto.
15973
4d074752
CV
159742005-01-10 Corinna Vinschen <vinschen@redhat.com>
15975
15976 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
15977
bec39cab
AC
159782005-01-07 Andrew Cagney <cagney@gnu.org>
15979
15980 * configure.ac: Rename configure.in, require autoconf 2.59.
15981 * configure: Re-generate.
15982 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
15983 * gdb.stabs/configure: Re-generate.
15984 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
15985 * gdb.hp/configure: Re-generate.
15986 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
15987 autoconf 2.59.
15988 * gdb.hp/gdb.objdbg/configure: Re-generate.
15989 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
15990 autoconf 2.59.
15991 * gdb.hp/gdb.defects/configure: Re-generate.
15992 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
15993 autoconf 2.59.
15994 * gdb.hp/gdb.compat/configure: Re-generate.
15995 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
15996 autoconf 2.59.
15997 * gdb.hp/gdb.base-hp/configure: Re-generate.
15998 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
15999 autoconf 2.59.
16000 * gdb.hp/gdb.aCC/configure: Re-generate.
16001
f10b16d4
JB
160022004-12-15 Jim Blandy <jimb@redhat.com>
16003
16004 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
16005 under NPTL when there is debugging info available for libpthread.
16006
fb6e1814
JG
160072004-12-13 Jerome Guitton <guitton@gnat.com>
16008
16009 * gdb.ada/fixed_points.c: New file.
16010 * gdb.ada/fixed_points.exp: New file.
16011
fe46cd3a
RC
160122004-12-03 Randolph Chung <tausq@debian.org>
16013
16014 * gdb.arch/pa-nullify.exp: New file.
16015 * gdb.arch/pa-nullify.s: New file.
16016
8de0841b
RC
160172004-11-30 Randolph Chung <tausq@debian.org>
16018
16019 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
16020 instead of "tbug". Fix regexp to work properly with gdb_test.
16021
c8170782
PH
160222004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
16023
16024 * gdb.base/bitfields2.exp: New test.
16025 * gdb.base/bitfields2.c: New file.
16026
954269c2
RE
160272004-11-28 Richard Earnshaw <rearnsha@arm.com>
16028
16029 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
16030
0107feed
RC
160312004-11-16 Randolph Chung <tausq@debian.org>
16032
16033 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
16034
f073ae8c
DJ
160352004-11-14 Daniel Jacobowitz <dan@debian.org>
16036
16037 * gdb.threads/threadapply.exp: Correct "macro details" test.
16038
19ad59e7
JJ
160392004-11-11 Jeff Johnston <jjohnstn@redhat.com>
16040
16041 * gdb.threads/threadapply.exp: New test.
16042 * gdb.threads/threadapply.c: New file.
16043
9cf0961b
MK
160442004-11-07 Mark Kettenis <kettenis@gnu.org>
16045
16046 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
16047 frames.
16048
c789492a
FL
160492004-11-05 Felix Lee <felix+log1@specifixinc.com>
16050
16051 * gdb.base/cursal.exp: New file.
16052 * gdb.base/cursal.c: New file.
16053
a1e167bb
AC
160542004-11-03 Andrew Cagney <cagney@gnu.org>
16055
16056 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
16057
b7cbf173
MK
160582004-10-30 Mark Kettenis <kettenis@gnu.org>
16059
16060 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
16061 NetBSD/ELF targets.
16062
88f9d34f
JB
160632004-10-29 Joel Brobecker <brobecker@gnat.com>
16064
16065 * gdb.threads/bp_in_thread.c: New file, copied from
16066 pthread_cond_wait.c.
16067 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
16068 file, rather than reusing the .c file from another testcase.
16069
ca7d6a0c
JB
160702004-10-20 Joel Brobecker <brobecker@gnat.com>
16071
16072 * gdb.ada/null_record.exp: Check where we stopped after
16073 sending the start command, instead of where the associated
16074 temporary breakpoint was inserted.
16075
0d863d03
AC
160762004-10-14 Andrew Cagney <cagney@gnu.org>
16077
16078 * gdb.mi/gdb701.c (main): Return 0.
16079
d11e72cb
DJ
160802004-10-13 Daniel Jacobowitz <dan@debian.org>
16081
d40539a4 16082 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 16083
e1923096
JJ
160842004-10-12 Jeff Johnston <jjohnstn@redhat.com>
16085
16086 * gdb.threads/schedlock.c: Add comment markers to use to find
16087 line numbers.
16088 * gdb.threads/schedlock.exp: Adjust regex to handle the new
16089 comments.
16090 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
16091 breakpoint lines.
16092
ec8ba2c9
DJ
160932004-10-12 Daniel Jacobowitz <dan@debian.org>
16094
16095 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
16096
0eb3658b
DJ
160972004-10-12 Daniel Jacobowitz <dan@debian.org>
16098
16099 * configure.in: Add gdb.dwarf2.
16100 * configure: Regenerated.
16101 * Makefile.in: Add gdb.dwarf2.
16102 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
16103 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
16104 gdb.dwarf2/file1.txt: New files.
16105
a271cc33
OF
161062004-10-11 Orjan Friberg <orjanf@axis.com>
16107
a9c64011 16108 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
16109 of "run", since the latter doesn't work with remote targets. Adjust
16110 the breakpoint numbering accordingly.
16111 * gdb.threads/pthread_cond_wait.exp: Ditto.
16112
895ce074
MC
161132004-10-08 Michael Chastain <mec.gnu@mindspring.com>
16114
16115 * gdb.base/overlays.exp: Update copyright years.
16116
6be3092d
KI
161172004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
16118
16119 * gdb.base/overlays.exp: Disable if target is Linux.
16120
e05389b8
FL
161212004-10-06 Felix Lee <felix+log1@specifixinc.com>
16122
16123 * config/gdbserver.exp (gdb_load): Use right filename on remote.
16124
73cb587d
KI
161252004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
16126
16127 * gdb.asm/asm-source.exp: Add m32r-linux target.
16128 * gdb.asm/m32r-linux.inc: New file.
16129
3c0edcdc
AC
161302004-09-24 Andrew Cagney <cagney@redhat.com>
16131 David Anderson <anderson@redhat.com>
16132
16133 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
16134 command fails, assume things will work.
16135 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
16136 (_GNU_SOURCE): Define.
16137 (print_unsigned, print_hex): Change parameter to "long long".
16138 (print_byte_count): New function, use to print byte counts.
16139 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
16140 O_LARGEFILE.
16141 (main): Compute an upper bound on a corefile in max_core_size.
16142 Limit memory chunk size to max_core_size. Limit total memory
16143 allocated to max_core_size.
16144
4bb3667f
AC
161452004-09-23 Andrew Cagney <cagney@gnu.org>
16146
16147 * gdb.base/bigcore.exp: Replace the code that creates a corefile
16148 from a separate process with code that creates a corefile by
16149 making the inferior dump core.
16150
60fe1a51
MK
161512004-09-23 Mark Kettenis <kettenis@gnu.org>
16152
16153 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
16154 block.
16155
8e937346
MC
161562004-09-23 Michael Chastain <mec.gnu@mindspring.com>
16157
16158 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
16159 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
16160 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
16161 Likewise.
16162
7213f6d6
JJ
161632004-09-20 Jeff Johnston <jjohnstn@redhat.com>
16164
16165 * gdb.java/jprint.exp: New test case for java inferior call.
16166 * gdb.java/jprint.java: Ditto.
16167
eac69dca
JB
161682004-09-15 Joel Brobecker <brobecker@gnat.com>
16169
16170 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
16171
22227696
MC
161722004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16173
16174 * gdb.threads/killed.c: Include <stdlib.h>.
16175 * gdb.threads/pthreads.c: Likewise.
16176
7dd403a4
MC
161772004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16178
16179 * gdb.threads/killed.c: Add copyright notice.
16180
33f2d567
JM
161812004-09-10 Jason Molenda (jmolenda@apple.com)
16182
a9c64011
AS
16183 * gdb.base/define.exp: Two new tests to verify zero space chars
16184 after 'if' and 'while' commands in a user-defined command is correctly
16185 parsed.
33f2d567 16186
e05b62ac
AC
161872004-09-08 Andrew Cagney <cagney@gnu.org>
16188
16189 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
16190 delivery test with duplicate at end of file.
16191
9cbe82da
MK
161922004-09-06 Mark Kettenis <kettenis@jive.nl>
16193
16194 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
16195
564803d9
MC
161962004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16197
16198 * config/hppro.exp: Removed.
16199
7c6807ce
MC
162002004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16201
16202 * config/sparclet.exp: Removed.
16203
bf7e26dd
MC
162042004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16205
16206 * config/udi.exp: Removed.
16207
714e341b
MC
162082004-09-02 Michael Chastain <mec.gnu@mindspring.com>
16209
16210 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
16211 of "exp_continue".
16212 (advancei): Likewise.
16213
1236e623
JJ
162142004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16215
16216 * gdb.base/unload.exp: Fix so messages aren't duplicated.
16217
3bdcad15
MI
162182004-09-01 Manoj Iyer <manjo@austin.ibm.com>
16219
228af206 16220 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
16221 to check for nodebug in executable.
16222 * gdb.gdb/observer.exp (setup_test): Likewise.
16223 * gdb.gdb/selftest.exp (test_with_self): Likewise.
16224 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
16225
c72b934c
AC
162262004-09-01 Andrew Cagney <cagney@gnu.org>
16227
16228 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16229 files.
16230
edd9b715
JJ
162312004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16232
16233 * gdb.base/unload.exp: Fix expected warning message to match
16234 latest format.
16235
fb4ce06b
CV
162362004-09-01 Corinna Vinschen <vinschen@redhat.com>
16237
16238 * gdb.base/call-rt-st.exp: Fix typos.
16239
ce78e7c3
MI
162402004-08-31 Manoj Iyer <manjo@austin.ibm.com>
16241
16242 * gdb.threads/thread_check.exp: New testcase.
16243 * gdb.threads/thread_check.c: New testcase.
16244
2dedb159
AC
162452004-08-31 Andrew Cagney <cagney@gnu.org>
16246
16247 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
16248 (skip_to_handler_entry): New procedures. Test stepping into a
16249 handler when the breakpoint is at the handler's entry point.
16250
68f53502
AC
162512004-08-30 Andrew Cagney <cagney@gnu.org>
16252
16253 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
16254 gdb/1757.
16255
3e3ffd2b
MC
162562004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16257
16258 With code from Manoj Iyer <manjo@austin.ibm.com>:
16259 * lib/gdb.exp (gdb_file_cmd): Return more information in the
16260 return value. Add an arm for "no debugging symbols found".
16261 Change a stray "error" to "perror".
16262 (gdb_run_cmd): Adapt to new return value.
16263 * gdb.base/remote.exp: Adapt to new return value.
16264 * gdb.gdb/complaints.exp: Likewise.
16265 * gdb.gdb/observer.exp: Likewise.
16266 * gdb.gdb/selftest.exp: Likewise.
16267 * gdb.gdb/xfullpath.exp: Likewise.
16268
4b6f5fd2
JB
162692004-08-27 Joel Brobecker <brobecker@gnat.com>
16270
16271 * gdb.threads/bp_in_thread.exp: New testcase.
16272
e5b25496
MC
162732004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16274
16275 Fix PR testsuite/1735.
16276 * gdb.threads/schedlock.c (thread_function): Add a cast
16277 to suppress a gcc warning.
16278 * gdb.threads/thread-specific.c (thread_function): Likewise.
16279
934353d6
MC
162802004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16281
16282 * gdb.base/unload.c: Include <stdlib.h>.
16283
f98a0aef 162842004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 16285
f98a0aef 16286 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
16287 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
16288 synchronized after the "return".
16289
5a2e8882
MC
162902004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16291
16292 * gdb.mi/basics.c: Include <stdio.h>.
16293 * gdb.mi/pthreads.c: Include <stdlib.h>.
16294 * gdb.mi/var-cmd.c: Include <stdlib.h>.
16295
a9640423
MC
162962004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16297
16298 * gdb.threads/schedlock.c: Add copyright notice.
16299
b04e311d
AC
163002004-08-25 Andrew Cagney <cagney@gnu.org>
16301
16302 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
16303 (skip_over_handler, breakpoint_over_hander): New test procedures.
16304 (advance, advancei): Add a proper prefix, do not use
16305 rerun_to_main.
16306 * gdb.base/sigstep.c (main): Change to use an infinite loop.
16307
7c27f15b
MC
163082004-08-24 Michael Chastain <mec.gnu@mindspring.com>
16309
16310 * gdb.mi/basics.c: Add copyright notice.
16311 * gdb.mi/var-cmd.c: Add copyright notice.
16312
fffc87ae
MC
163132004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16314
16315 * lib/gdb.exp: Remove signed_keyword_not_used.
16316 * lib/compiler.c: Likewise.
16317 * lib/compiler.cc: Likewise.
16318
d782e0bf
MC
163192004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16320
16321 * gdb.base/whatis.c: Remove conditional disabling of "signed".
16322 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
16323
96033e83
MC
163242004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16325
16326 * gdb.base/whatis.c: Add copyright notice.
16327
cf38c229
MK
163282004-08-20 Mark Kettenis <kettenis@gnu.org>
16329
16330 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
16331 it to skip the breakpoints encoded in the inline assembly.
16332
f4b49756
MC
163332004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16334
16335 * Makefile.in: Add gdb.fortran.
16336
2f193b69
MC
163372004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16338
16339 * gdb.base/call-sc.exp (test_scalar_returns):
16340 Fix cut-and-paste glitch in "Make fun return now".
16341
89a237cb
MC
163422004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16343
16344 * configure.in: Add gdb.fortran.
16345 * configure: Regenerate.
16346 * gdb.fortran/Makefile.in: New file.
16347 * lib/gdb.exp (skip_fortran_tests): New procedure.
16348
469aff8e
MC
163492004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16350
16351 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
16352 reference to bug-gnu@prep.ai.mit.edu.
16353 * gdb.mi/mi-var-child.exp: Likewise.
16354 * gdb.mi/mi-var-cmd.exp: Likewise.
16355 * gdb.mi/mi-var-display.exp: Likewise.
16356 * gdb.mi/mi2-var-block.exp: Likewise.
16357 * gdb.mi/mi2-var-child.exp: Likewise.
16358 * gdb.mi/mi2-var-cmd.exp: Likewise.
16359 * gdb.mi/mi2-var-display.exp: Likewise.
16360
00b51b9f
MK
163612004-08-15 Mark Kettenis <kettenis@gnu.org>
16362
16363 * gdb.base/unload.c (main): Make local variable msg const.
16364
45f07fef
MC
163652004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16366
16367 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
16368 to bug-gnu@prep.ai.mit.edu.
16369 * gdb.mi/mi-disassemble.exp: Likewise.
16370 * gdb.mi/mi-eval.exp: Likewise.
16371 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
16372 default line number.
16373 * gdb.mi/mi-return.exp: Likewise.
16374 * gdb.mi/mi-simplerun.exp: Likewise.
16375 * gdb.mi/mi-stack.exp: Likewise.
16376 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
16377 number with explicit range test.
16378 * gdb.mi/mi-watch.exp: Likewise.
16379 * gdb.mi/mi2-break.exp: Likewise.
16380 * gdb.mi/mi2-cli.exp: Likewise.
16381 * gdb.mi/mi2-disassemble.exp: Likewise.
16382 * gdb.mi/mi2-eval.exp: Likewise.
16383 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
16384 default line number.
16385 * gdb.mi/mi2-return.exp: Likewise.
16386 * gdb.mi/mi2-simplerun.exp: Likewise.
16387 * gdb.mi/mi2-stack.exp: Likewise.
16388 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
16389 number with explicit range test.
16390 * gdb.mi/mi2-watch.exp: Likewise.
16391
dd8c8ee7
MC
163922004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16393
16394 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
16395 * gdb.cp/m-static.exp: Likewise.
16396 * gdb.cp/rtti.exp: Likewise.
16397
4e838464
MK
163982004-08-14 Mark Kettenis <kettenis@gnu.org>
16399
16400 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
16401
8d8cb839
EZ
164022004-08-14 Eli Zaretskii <eliz@gnu.org>
16403
16404 * ChangeLog: Prefix Local Variables with semi-colons and indent
16405 the reference to older ChangeLog files, to fix fontification in
16406 Emacs.
16407
deea8bb0
MC
164082004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16409
16410 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
16411 * gdb.mi/mi2-break.exp: Likewise.
16412
c3297504
MC
164132004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16414
16415 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
16416
25808999
MC
164172004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16418
16419 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
16420
226a8d71
MC
164212004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16422
16423 * gdb.cp/classes.exp: Remove unused declarations. Just let
16424 test names default instead of providing special names. Remove
16425 extraneous demangler test.
16426
37fdf854
JJ
164272004-08-12 Jeff Johnston <jjohnstn@redhat.com>
16428
16429 * gdb.base/unload.exp: New test for breakpoints in dynamically
16430 loaded libraries.
16431 * gdb.base/unload.c: Ditto.
16432 * gdb.base/unloadshr.c: Ditto.
16433
2d3a7986
MC
164342004-08-12 Michael Chastain <mec.gnu@mindspring.com>
16435
16436 * gdb.cp/classes.exp (test_ptype_class_objects): Call
16437 cp_test_ptype_class.
16438 (test_enums): Likewise.
16439
c72b934c
AC
164402004-08-10 Andrew Cagney <cagney@gnu.org>
16441
16442 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16443 files.
16444
cc503c8a
AC
164452004-08-10 Andrew Cagney <cagney@gnu.org>
16446
16447 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
16448 init_malloc call.
16449
902f2ccb
MC
164502004-08-10 Michael Chastain <mec.gnu@mindspring.com>
16451
16452 * ChangeLog: Add copyright notice. The notice is copied
16453 from emacs 21.3 top level ChangeLog.
16454
78c90502
MC
164552004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16456
16457 * lib/cp-support.exp: New file.
16458 * lib/cp-support.exp (cp_test_type_class): New function.
16459 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
16460 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
16461 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
16462 cp_test_ptype_class.
16463
88e5ea78
MC
164642004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16465
16466 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
16467 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16468 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
16469 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
16470 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16471 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
16472 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
16473 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
16474 gdb.mi/mi2-watch.exp: Update copyright years.
16475
6a89fc9c
MK
164762004-08-09 Mark Kettenis <kettenis@gnu.org>
16477
16478 * gdb.base/sigaltstack.exp: Provide proper anchoring.
16479
1482e0de
MC
164802004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16481
16482 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
16483 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
16484 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
16485 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16486 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
16487 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
16488 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
16489 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16490 gdb.mi/mi-watch.exp: Update copyright years.
16491
1a5ce3f3
DJ
164922004-08-08 Daniel Jacobowitz <dan@debian.org>
16493
16494 PR gdb/1738
16495 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
16496 from a breakpoint with a pending signal.
16497
04f6ecf2
DJ
164982004-08-08 Daniel Jacobowitz <dan@debian.org>
16499
16500 PR gdb/1736
16501 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
16502 * gdb.base/sigaltstack.exp (finish_test): Consume output until
16503 the prompt.
16504 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
16505
54d90d35
DJ
165062004-08-08 Daniel Jacobowitz <dan@debian.org>
16507
16508 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
16509
d2f6abb0
DJ
165102004-08-08 Daniel Jacobowitz <dan@debian.org>
16511
16512 PR gdb/1736
16513 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
16514 for i?86-*-linux*.
16515
5598c03d
DJ
165162004-08-08 Daniel Jacobowitz <dan@debian.org>
16517
16518 * gdb.arch/i386-prologue.exp: Compile without debug information.
16519
c6fee705
MC
165202004-08-08 Michael Chastain <mec.gnu@mindspring.com>
16521
16522 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
16523 rather than asking gdb to search.
16524
dd90efdb
MC
165252004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16526
16527 * gdb.base/gcore.c: Include <string.h>.
16528
1e84bec1
MC
165292004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16530
16531 * gdb.base/gcore.c: Add copyright notice.
16532
e425eb2b
MC
165332004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16534
16535 * gdb.base/freebpcmd.c: Include <stdio.h>.
16536 * gdb.base/long_long.c: Include <string.h>.
16537 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
16538 * gdb.base/siginfo.c: Include <string.h>.
16539 * gdb.base/sigstep.c: Include <string.h>.
16540
cb9aaed5
MC
165412004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16542
16543 * gdb.base/complex.c: Include <stdlib.h>.
16544
55944f3d
MC
165452004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16546
16547 * gdb.base/complex.c: Add copyright notice.
16548
7b2953d9
MC
165492004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16550
16551 * gdb.base/charset.c: Include <stdlib.h>.
16552
c9133d23
MC
165532004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16554
16555 * gdb.base/auxv.c: Include <stdlib.h>.
16556
0a8490ad
MC
165572004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16558
16559 * gdb.base/auxv.c: Add copyright notice.
16560
3426d5ec
MC
165612004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16562
16563 * gdb.base/coremaker.c: Add copyright notice.
16564 * gdb.base/coremaker2.c: Add copyright notice.
16565
8da195dd
AC
165662004-08-04 Andrew Cagney <cagney@gnu.org>
16567
16568 * gdb.base/store.exp: Update copyright.
16569 (check_set, up_set, check_struct, up_struct): Add a prefix to test
16570 names, do not import gdb_prompt.
16571
8d394f98
AC
165722004-08-01 Andrew Cagney <cagney@gnu.org>
16573
16574 Fix PR testsuite/1729.
16575 * gdb.base/dump.exp: Add test name to callers of capture_value, do
16576 not use capture_value with value 4.
16577 (capture_value): Add optional test name parameter.
16578 (test_reload_saved_value, test_restore_saved_value): Use $msg as
16579 the prefix, pass to capture_value.
16580
b6702b23
MK
165812004-08-01 Mark Kettenis <kettenis@gnu.org>
16582
16583 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
16584 * gdb.arch/i386-prologue.c (standard): New prototype and function.
16585 (main): Call new function.
16586
c203e0ca
MC
165872004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16588
16589 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
16590
a7995a30
MC
165912004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16592
16593 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
16594
9366563b
MC
165952004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16596
b6eeaf26 16597 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
16598 Accept more values of vtbl pointer. Remove some messages
16599 about "obsolete gcc or gdb".
16600
2fc1f950
MC
166012004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16602
16603 * gdb.cp/classes.exp: Accept more varieties of ptype output.
16604
c724d49b
MC
166052004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16606
16607 * gdb.base/asm-source.exp: Properly convert target board
16608 debug flags from gcc format to binutils format.
16609
736b0fce
MK
166102004-07-28 Mark Kettenis <kettenis@gnu.org>
16611
16612 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
16613 gdb1718". PR backtrace/1718 partially fixed.
16614
5633ea5c
JJ
166152004-07-27 Jeff Johnston <jjohnstn@redhat.com>
16616
16617 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
16618
575eebb1
NC
166192004-07-26 Nick Clifton <nickc@redhat.com>
16620
16621 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
16622 good default value for a specific architecture is available then
16623 set it to that value. Otherwise default to the -gstabs switch.
16624 Remove the -g... switches from the asm-flags variable. Allow the
16625 target board info to override the value if it wants to. Pass the
16626 switch on the assembler command line.
16627
62104619
MK
166282004-07-23 Mark Kettenis <kettenis@gnu.org>
16629
16630 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
16631 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
16632 (main): Call new function.
16633
4a1135b8
MC
166342004-07-22 Michael Chastain <mec.gnu@mindspring.com>
16635
16636 Test for PR exp/1715.
16637 * gdb.base/radix.exp: Refactor common procedures. Make all
16638 test names unique. Change XFAIL to KFAIL.
16639
8a12c1f0
MC
166402004-07-20 Michael Chastain <mec.gnu@mindspring.com>
16641
16642 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
16643 * gdb.ada/gnat_ada.gin: ... to here.
16644 * configure.in: Use gnat_ada.gin.
16645 * configure: Regenerate.
16646
23b451cf
AC
166472004-07-20 Andrew Cagney <cagney@gnu.org>
16648
16649 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
16650 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
16651 XFAILs. Clean up test messages and comments. Check backtraces.
16652 Delete re-sync code.
16653
ab618a02
MC
166542004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16655
16656 Fix PR cli/740.
16657 * gdb.base/annota1.exp: Honor gdb,nosignals.
16658 * gdb.base/annota3.exp: Likewise.
16659
46dad340
MC
166602004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16661
16662 * lib/java.exp: Update copyright notice.
16663
756d8c70
AC
166642004-07-19 Andrew Cagney <cagney@gnu.org>
16665
16666 * gdb.base/selftest.exp: Copy file from here ...
16667 * gdb.gdb/selftest.exp: ... to here.
16668
586027e6
AC
166692004-07-16 Andrew Cagney <cagney@redhat.com>
16670
16671 * lib/insight-support.exp: Delete file.
16672 * lib/java.exp (java_init): Fix copyright.
16673
029d2200
AC
166742004-07-16 Andrew Cagney <cagney@gnu.org>
16675
16676 * gdb.base/restore.c: Append "prologue" to comments marking the a
16677 function's prologue.
16678 * gdb.base/restore.exp: Update copyright, re-indent.
16679 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
16680 callerN" prefix where needed. Update patterns that match a
16681 function's prologue.
16682
653b62c5
MC
166832004-07-16 Michael Chastain <mec.gnu@mindspring.com>
16684
16685 * gdb.base/restore.c: Add copyright notice.
16686
f7d690e5
AC
166872004-07-16 Andrew Cagney <cagney@gnu.org>
16688
16689 * gdb.base/logical.exp: Update copyright.
16690 (evaluate): New procedure. Use to re-implement tests using
16691 several tables.
16692
d629a7cb
MH
166932004-07-14 Martin Hunt <hunt@redhat.com>
16694
16695 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
16696 which fixes some problems where init.tcl was not found.
16697
9c7bb332
AC
166982004-07-13 Andrew Cagney <cagney@gnu.org>
16699
6bf46641
AC
16700 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
16701 (check_sizeof, check_valueof): Do not include the output in the
16702 test name. Use gdb_test.
16703 (get_valueof): Use gdb_test_multiple.
16704
c4ffd4c0
AC
16705 * gdb.base/step-test.exp: Update copyright. Use
16706 gdb_test_multiple. Ensure that test names do not include
16707 architecture dependent output.
16708
ab89363a
AC
16709 * gdb.gdb/observer.exp: Update copyright.
16710 (setup_test): Use gdb_test_multiple.
16711 (attach_first_observer, attach_second_observer)
16712 (attach_third_observer, detach_first_observer)
16713 (detach_second_observer, detach_third_observer)
16714 (reset_counters, check_counters): Make $message a prefix.
16715 (test_normal_stop_notifications): Add "args" parameter - a list of
16716 init functions to be called. Make $message a prefix,
16717 (test_observer_normal_stop): Change the message prefixes so that
16718 they are unique, pass the attach / detach procedures to
16719 test_normal_stop_notifications.
16720
ec58997a
AC
16721 * gdb.base/signull.exp (test_segv): Prefix all tests with
16722 "${name}". Clean up test messages.
16723
b475183b
AC
16724 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
16725
9c7bb332
AC
16726 * gdb.base/ena-dis-br.exp: Update copyright.
16727 (break_at): New function. Replace send_gdb with gdb_test,
16728 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
16729 ignore count, not stopped at bpt", with KFAIL.
16730
2dd95497
CV
167312004-07-13 Corinna Vinschen <vinschen@redhat.com>
16732
16733 * gdb.base/attach.exp: Remove cleanupfile handling.
16734
419e626b
AC
167352004-07-12 Andrew Cagney <cagney@gnu.org>
16736
16737 * gdb.base/annota1.exp: Cleanup corefile test name.
16738 * gdb.base/annota3.exp: Ditto.
16739
8b1b3228
AC
167402004-07-12 Andrew Cagney <cagney@gnu.org>
16741
78650829
AC
16742 * gdb.base/signals.exp: Clean up copyright, re-indent.
16743
8b1b3228
AC
16744 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
16745 gdb_test and gdb_test_multiple.
16746
935c2760
JJ
167472004-07-08 Jeff Johnston <jjohnstn@redhat.com>
16748
16749 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 16750 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
16751 provide line number info for first statement in main.
16752
1544280f
AC
167532004-07-08 Andrew Cagney <cagney@gnu.org>
16754
1279f4ff
AC
16755 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
16756
1544280f
AC
16757 * gdb.base/sigbpt.exp: Make the common part of each test name a
16758 prefix instead of suffix.
16759
bcc82369
BR
167602004-07-07 Bob Rossi <bob_rossi@cox.net>
16761
16762 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
16763 test from test_tbreak_creation_and_listing to
16764 test_file_list_exec_source_file
16765 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
16766 Changed name of test from test_tbreak_creation_and_listing to
16767 test_file_list_exec_source_file
16768
23f4b0aa
JJ
167692004-07-07 Jeff Johnston <jjohnstn@redhat.com>
16770
16771 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
16772 the jmisc() constructor instead of <init>.
16773 * gdb.java/jmisc1.exp: Ditto.
16774
56401cd5
AC
167752004-07-07 Andrew Cagney <cagney@gnu.org>
16776
16777 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
16778 corrupting the PC.
16779
44ae2f6a
MC
167802004-07-06 Michael Chastain <mec.gnu@mindspring.com>
16781
16782 * gdb.cp/templates.exp: Accept whitespace change in demangler
16783 output.
16784
45a83408
AC
167852004-07-06 Andrew Cagney <cagney@gnu.org>
16786
16787 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
16788
d205ad70
MC
167892004-07-02 Michael Chastain <mec.gnu@mindspring.com>
16790
16791 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
16792 * lib/compiler.cc: Likewise.
16793
06ea1a61
MC
167942004-06-30 Michael Chastain <mec.gnu@mindspring.com>
16795
16796 * lib/compiler.cc: Work around string preprocessing problem
16797 with old hp c++ compiler.
16798 * lib/compiler.c: Likewise.
16799
daab1251
CV
168002004-06-29 Corinna Vinschen <vinschen@redhat.com>
16801
16802 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
16803 directives to conditionalize symbol prefixing.
16804 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
16805 additional_flags handling. Add underscore prefix for Cygwin.
16806 * gdb.arch/i386-unwind.c: Use preprocessor directives to
16807 conditionalize symbol prefixing.
16808 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
16809 additional_flags handling. Add underscore prefix for Cygwin.
16810
cc984116
CV
168112004-06-29 Corinna Vinschen <vinschen@redhat.com>
16812
16813 * gdb.base/bigcore.exp: Skip test on Cygwin.
16814
c279b077
MC
168152004-06-28 Michael Chastain <mec.gnu@mindspring.com>
16816
16817 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
16818 formats for "info register". Use gdb_test_multiple. Fix
16819 the "invalid register" test.
16820
0e915747
CV
168212004-06-28 Corinna Vinschen <vinschen@redhat.com>
16822
16823 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
16824 PID for Cygwin. Add Cygwin specific strings to check for in some
16825 tests.
16826 (do_attach_tests): Add a test for user interaction when attaching
16827 to a process with no matching symbol table already loaded.
16828
11422c86
AC
168292004-06-26 Andrew Cagney <cagney@gnu.org>
16830
16831 Test PR java/1567 and PR java/1565.
16832 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
16833 * gdb.java/jmisc2.exp: Delete file.
16834
cefbce26
MC
168352004-06-26 Michael Chastain <mec.gnu@mindspring.com>
16836
16837 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
16838
e19f872c
CV
168392004-06-25 Corinna Vinschen <vinschen@redhat.com>
16840
16841 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
16842 attach process.
16843
d931ba3b
MC
168442004-06-23 Michael Chastain <mec.gnu@mindspring.com>
16845
16846 * gdb.cp/pr-1553.exp: Remove.
16847
aef68c48
MC
168482004-06-22 Michael Chastain <mec.gnu@mindspring.com>
16849
16850 * gdb.cp/pr-1553.cc: Remove.
16851 * gdb.cp/pr-1553.exp: Disable this test.
16852
8d5df71a
JB
168532004-06-20 Jim Blandy <jimb@redhat.com>
16854
a9c64011 16855 Fix PR testsuite/1680.
8d5df71a
JB
16856 * gdb.arch/i386-sse.exp: Properly quote curly braces in
16857 regular expressions.
16858
4ac6f39d
MC
168592004-06-19 Michael Chastain <mec.gnu@mindspring.com>
16860
16861 Fix PR testsuite/1679.
16862 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
16863 Issue an UNSUPPORTED result instead.
16864
1b413552
JB
168652004-06-18 Jim Blandy <jimb@redhat.com>
16866
16867 * gdb.base/charset.exp: Only send a control-C if we see a new
16868 prompt and incomplete command.
16869
6daa6ebd
MC
168702004-06-18 Michael Chastain <mec.gnu@mindspring.com>
16871
16872 * gdb.cp/pr-574.cc: Add copyright notice.
16873
51fa4ae0
JB
168742004-06-17 Jim Blandy <jimb@redhat.com>
16875
16876 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
16877 cases where the regexp has no groups; this grabs random text from
16878 the previous test suite, whatever that was.
16879
8fea26c5
MC
168802004-06-17 Michael Chastain <mec.gnu@mindspring.com>
16881
16882 * gdb.cp/printmethod.cc: Add copyright notice.
16883
1e3aeb41
MC
168842004-06-16 Michael Chastain <mec.gnu@mindspring.com>
16885
16886 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
16887
9d9030bc
AC
168882004-06-16 Andrew Cagney <cagney@gnu.org>
16889
16890 * gdb.base/signull.c: Update copyright. Include <string.h>.
16891 (bowler): Replace data_pointer with data_read
16892 and data_write cases. Add code_descriptor case.
16893 (zero, desc): New array and pointer.
16894 (data, code): Change to simple pointers.
16895 * gdb.base/signull.exp: Fix probe pattern matching a function
16896 descriptor SIGSEGV. Replace data_pointer with data_read and
16897 data_write tests.
16898
acd4ad44
AC
168992004-06-16 Andrew Cagney <cagney@gnu.org>
16900
16901 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
16902
08fd625c
MC
169032004-06-15 Michael Chastain <mec.gnu@mindspring.com>
16904
16905 * gdb.base/long_long.c: Add copyright notice.
16906
1903502c
MC
169072004-06-15 Michael Chastain <mec.gnu@mindspring.com>
16908
16909 * gdb.base/long_long.exp: Remove reference to
16910 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
16911 to gdb_breakpoint and gdb_continue_to_breakpoint.
16912
83313cb1
JB
169132004-06-14 Jim Blandy <jimb@redhat.com>
16914
16915 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
16916 endian case.
16917
1bf404ef
AC
169182004-06-14 Andrew Cagney <cagney@gnu.org>
16919
16920 * gdb.base/gcore.exp (capture_command_output): Delete the always
16921 passing tests containing inferior values.
16922 * gdb.base/ending-run.exp: Do not include the breakpoint address
16923 in the test message. Update copyright.
16924 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
16925 size in the test name, use gdb_test_multiple. Update copyright.
16926
ef220b33
MC
169272004-06-14 Michael Chastain <mec.gnu@mindspring.com>
16928
16929 * gdb.cp/ref-types.cc: Add copyright notice.
16930
4f70a4c9
MC
169312004-06-14 Michael Chastain <mec.gnu@mindspring.com>
16932
16933 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
16934 hp_aCC_compiler.
16935 * lib/compiler.cc: Likewise.
16936 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
16937 'set' commands. Log diagnostics for other lines. Set
16938 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
16939
335928ac
MC
169402004-06-13 Michael Chastain <mec.gnu@mindspring.com>
16941
16942 * gdb.cp/try_catch.cc: Add copyright notice.
16943
2efb12e8
MC
169442004-06-12 Michael Chastain <mec.gnu@mindspring.com>
16945
16946 * gdb.cp/userdef.cc: Add copyright notice.
16947
0bbed51a
MC
169482004-06-11 Michael Chastain <mec.gnu@mindspring.com>
16949
16950 * gdb.cp/virtfunc.cc: Add copyright notice.
16951
e12a46c9
RC
169522004-06-11 Randolph Chung <tausq@debian.org>
16953
16954 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
16955 problem.
16956
338e05af
AC
169572004-06-10 Andrew Cagney <cagney@gnu.org>
16958
16959 * lib/compiler.cc, lib/compiler.c: Append either
16960 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
16961 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
16962 instead of gcc-3-3.
16963
dc3f10cb
AC
169642004-06-09 Andrew Cagney <cagney@gnu.org>
16965
b4d946af
AC
16966 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
16967 gdb/1455, bug is specific to "long long" and "double".
a9c64011 16968
dc3f10cb
AC
16969 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
16970 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
16971 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
16972 fixed.
16973
b5c0bfa2
AC
169742004-06-09 Andrew Cagney <cagney@gnu.org>
16975
16976 * gdb.base/structs.exp (test_struct_returns): Replace
16977 "return_value_unknown" and "finish_value_unknown" by
16978 "return_value_known" and "finish_value_known". Instead of
16979 "return_value_unknown" iff "finish_value_unknown", check
16980 "return_value_known" implies "finish_value_known".
16981
caeb605f
MH
169822004-06-08 Martin Hunt <hunt@redhat.com>
16983
16984 * gdb.base/float.exp: Add pattern for mips targets.
16985
c892bb64
RC
169862004-06-08 Randolph Chung <tausq@debian.org>
16987
16988 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
16989 message for unknown architectures more clear.
16990
48306d3e
JB
169912004-06-08 Joel Brobecker <brobecker@gnat.com>
16992
16993 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
16994 start the execution of the program.
16995
83ecb59f
JB
169962004-06-07 Jim Blandy <jimb@redhat.com>
16997
16998 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
16999 * gdb.arch/i386-cpuid.h: New helper file.
17000
55264cb4
RC
170012004-06-07 Randolph Chung <tausq@debian.org>
17002
17003 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
17004 has started.
17005
23cadb28
RM
170062004-06-04 Roland McGrath <roland@redhat.com>
17007
17008 Fix PR gdb/1647.
17009 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
17010 differently to be robust to output buffering differences.
17011
51d01eda
MC
170122004-06-04 Michael Chastain <mec.gnu@mindspring.com>
17013
17014 * gdb.threads/pthreads.exp: Update copyright years.
17015 (check_control_c): Change asynchronous 'after' to synchronous.
17016
f4fc3b93
RM
170172004-06-04 Roland McGrath <roland@redhat.com>
17018
17019 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
17020 next gdb prompt.
17021
4013522b
MC
170222004-06-02 Michael Chastain <mec.gnu@mindspring.com>
17023
17024 Fix PR gdb/1636.
17025 * gdb.threads/manythreads.exp: Change asynchronous 'after'
17026 calls to synchronous.
17027
7a8f1e6b
JB
170282004-05-26 Jim Blandy <jimb@redhat.com>
17029
17030 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
17031
81bb3443
RC
170322004-05-24 Randolph Chung <tausq@debian.org>
17033
17034 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
17035 * gdb.asm/pa.inc: New file.
17036
8f5a3103
MK
170372004-05-22 Mark Kettenis <kettenis@gnu.org>
17038
17039 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
17040
734b8fe8 170412004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 17042 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
17043
17044 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
17045 GDB prompt.
17046
725603e1
UW
170472004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17048
f4fc3b93 17049 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
17050 setjmp/longjmp. Use sigaction instead of signal.
17051
8b923272 170522004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 17053 Michael Snyder <msnyder@redhat.com>
8b923272
JB
17054
17055 * gdb.threads/pthread_cond_wait.c: New file.
17056 * gdb.threads/pthread_cond_wait.exp: New testcase.
17057
8bfabb04
AC
170582004-05-13 Andrew Cagney <cagney@redhat.com>
17059
17060 * gdb.base/signull.exp, gdb.base/signull.c: New files.
17061 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
17062
42edda50
AC
170632004-05-11 Andrew Cagney <cagney@redhat.com>
17064
17065 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
17066 fixed but revealed gdb/1639.
17067
d303a6c7
AC
170682004-05-10 Andrew Cagney <cagney@redhat.com>
17069
17070 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
17071 func1" and "next to 2nd alarm", kernel bug avoided.
17072
bf08c2a1
DJ
170732004-05-10 Daniel Jacobowitz <dan@debian.org>
17074
17075 PR external/1568
17076 * gdb.base/bigcore.exp: Check the size of the dumped core file.
17077 XFAIL if it is smaller than bytes_allocated.
17078 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
17079 (main): Make chunks_allocated unsigned. Correct comment.
17080
c0586a34
JB
170812004-05-07 Joel Brobecker <brobecker@gnat.com>
17082
17083 * gdb.arch/powerpc-aix-prologue.c: New file.
17084 * gdb.arch/powerpc-aix-prologue.exp: New file.
17085
f2785d12
JB
170862004-05-07 Jim Blandy <jimb@redhat.com>
17087
17088 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
17089 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
17090
bd7f6e30
JB
170912004-05-06 Joel Brobecker <brobecker@gnat.com>
17092
17093 * gdb.base/sep.exp: No longer setup_kfail when the program was
17094 built with dwarf2.
17095
0a5e7efe
JI
170962004-05-05 Jim Ingham <jingham@apple.com>
17097
17098 * gdb.base/pending.exp: Make sure pending breakpoints
17099 preserve the ignore count.
f4fc3b93 17100
a8958849
MK
171012004-04-27 Jerome Guitton <guitton@gnat.com>
17102
17103 * i386-prologue.exp: Add testcase for jump instruction as first
17104 instruction of the real code.
17105 * i386-prologue.c (jump_at_beginning): New function.
17106
7e103f5b
MK
171072004-04-28 Mark Kettenis <kettenis@gnu.org>
17108
17109 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
17110 x86_64-*-*.
17111
5d38b224
MK
171122004-04-28 Mark Kettenis <kettenis@gnu.org>
17113
17114 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
17115 i*86-*-*.
17116
0ef32fd9
MK
171172004-04-25 Mark Kettenis <kettenis@gnu.org>
17118
17119 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
17120 expression that checks the return type.
17121
71d7dd7c
AC
171222004-04-23 Andrew Cagney <cagney@redhat.com>
17123
17124 * gdb.base/call-sc.exp: New test of scalar call/return values.
17125 * gdb.base/call-sc.c: Ditto.
17126
1e9f977e
JJ
171272004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17128
17129 * gdb.threads/manythreads.c: Reduce thread stack size.
17130
899d9e3a
JJ
171312004-04-23 Jeff Johnston <jjohnstn@redhat.com>
17132
17133 * gdb.threads/manythreads.c: Add copyright notice.
17134
61bcae62
AC
171352004-04-23 Andrew Cagney <cagney@redhat.com>
17136
17137 * gdb.base/siginfo.exp: Better handle step out of signal.
17138 * gdb.base/sigstep.exp: Ditto.
17139
7339a42e 171402004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 17141 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
17142
17143 * gdb.threads/manythreads.c: New testcase.
17144 * gdb.threads/manythreads.exp: Ditto.
17145
5c98409b
JB
171462004-04-22 Jim Blandy <jimb@redhat.com>
17147
17148 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
17149 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
17150
3b611f1a
MC
171512004-04-21 Michael Chastain <mec.gnu@mindspring.com>
17152
17153 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
17154
f0fd9238
AC
171552004-04-21 Andrew Cagney <cagney@redhat.com>
17156
17157 * gdb.base/sigstep.c: New file.
17158 * gdb.base/sigstep.exp: New file.
17159
90990674
JB
171602004-04-16 Joel Brobecker <brobecker@gnat.com>
17161
17162 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
17163 call to observer_notify_normal_stop.
17164
78cef34b
AC
171652004-04-15 Andrew Cagney <cagney@redhat.com>
17166
17167 * gdb.base/siginfo.c: New file.
17168 * gdb.base/siginfo.exp: New file.
17169
d2343407
JB
171702004-04-12 J. Brobecker <brobecker@gnat.com>
17171
17172 * gdb.base/sep.exp: Fix typo in comment.
17173
a2dba3c8
JB
171742004-04-12 J. Brobecker <brobecker@gnat.com>
17175
17176 * gdb.base/sep.c: New file.
17177 * gdb.base/sep-proc.c: New file.
17178 * gdb.base/sep.exp: New testcase.
17179
15f7b60e
MK
171802004-04-09 Mark Kettenis <kettenis@gnu.org>
17181
17182 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
17183 support.
17184
44f4de1a
AC
171852004-04-05 Andrew Cagney <cagney@redhat.com>
17186
17187 * gdb.base/sigaltstack.c: New file.
17188 * gdb.base/sigaltstack.exp: New file.
17189
ef04f396
JB
171902004-04-04 Joel Brobecker <brobecker@gnat.com>
17191
17192 * gdb.base/foll-fork.exp: Update the expected output for
17193 "help set follow-fork-mode", to match a change that was made
17194 to the help of this variable on 2004-01-13.
17195
d40d2c92
JB
171962004-04-01 Joel Brobecker <brobecker@gnat.com>
17197
17198 * lib/ada.exp: Add copyright notice.
17199 * bar.ads: Likewise.
17200 * bar.adb: Likewise.
17201 * null_record.adb: Likewise.
17202 * null_record.exp: Likewise.
17203 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
17204
f86ef5a3
JB
172052004-04-01 Joel Brobecker <brobecker@gnat.com>
17206
17207 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
17208 * configure: Regenerate.
17209
414e70e3
JB
172102004-04-01 Joel Brobecker <brobecker@gnat.com>
17211
17212 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
17213 to build the application. Remove the message printed when in
17214 verbose mode, redundant with the UNSUPPORTED message above.
17215
f0aaee49
JB
172162004-03-31 Joel Brobecker <brobecker@gnat.com>
17217
17218 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
17219 * gdb.ada (null_record.exp): New testcase.
17220
ac81cb54
JB
172212004-03-31 Joel Brobecker <brobecker@gnat.com>
17222
17223 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
17224
854af2f7
JB
172252004-03-31 Joel Brobecker <brobecker@gnat.com>
17226
17227 * gdb.ada: New subdirectory.
17228 * gdb.ada/Makefile.in: New file.
17229 * gdb.ada/gnat_ada.gpr.in: New file.
17230
034cb681
JB
172312004-03-31 Joel Brobecker <brobecker@gnat.com>
17232
17233 * lib/ada.exp: New file.
17234
78a1a894
DJ
172352004-03-24 Daniel Jacobowitz <drow@mvista.com>
17236
17237 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
17238 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
17239
4b2b3b3e
AC
172402004-03-22 Andrew Cagney <cagney@redhat.com>
17241
17242 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
17243 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
17244 Problem identified by Ulrich Weigand.
17245
23c73aa3
DC
172462004-03-17 David Carlton <carlton@kealia.com>
17247
17248 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
17249 PR c++/826.
17250
d63a86f8
RM
172512004-03-16 Roland McGrath <roland@redhat.com>
17252
17253 * gdb.base/auxv.exp: New file.
17254 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
17255
0e02aa50
DC
172562004-03-12 David Carlton <carlton@kealia.com>
17257
17258 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
17259 * gdb.cp/pr-1553.cc: Ditto.
17260 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
17261 pass branch.
17262
c20b71be
MC
172632004-03-12 Michael Chastain <mec.gnu@mindspring.com>
17264
17265 * gdb.cp/templates.exp: Accept more template types.
17266
c7414a01
MC
172672004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17268
17269 From Corinna Vinschen with modifications.
17270 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
17271 local variable obj_with_enum.
17272 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
17273 results with obj_with_enum.
17274
ed69573c
MC
172752004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17276
17277 * gdb.cp/classes.cc: New file, copied from misc.cc.
17278 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
17279
28301461
MC
172802004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17281
17282 * gdb.cp/misc.cc: Add copyright notice.
17283
1198ecbe
DC
172842004-03-05 David Carlton <carlton@kealia.com>
17285
17286 * gdb.cp/rtti.exp: Add 'print *obj3' test.
17287 * gdb.cp/rtti.h: Update copyright.
17288 (namespace n2::n3): New.
17289 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
17290 (n2::n3::func3): New.
17291 (main): Call n2::n3::func3.
17292 * gdb.cp/rtti2.cc: Update copyright.
17293 (n2::create3): New.
17294
9e08c470
MK
172952004-03-04 Mark Kettenis <kettenis@gnu.org>
17296
17297 * gdb.asm/openbsd.inc: Fix typo.
17298
4bebc3aa
FF
172992004-03-03 Fred Fish <fnf@redhat.com>
17300
17301 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
17302 "val" instead of unused "size". Update copyright year.
17303
6ea9fb37
DJ
173042004-02-29 Daniel Jacobowitz <drow@mvista.com>
17305
17306 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
17307 to use unsigned char.
17308 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
17309 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
17310
23b23974
DJ
173112004-02-29 Daniel Jacobowitz <drow@mvista.com>
17312
17313 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
17314 line of output.
17315
7574fd53
DJ
173162004-02-28 Daniel Jacobowitz <drow@mvista.com>
17317
17318 * gdb.base/relocate.c (dummy): Initialize.
17319
a195357f
DJ
173202004-02-28 Daniel Jacobowitz <drow@mvista.com>
17321
17322 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
17323 a breakpoint at exit.
17324
72fd54a9
FF
173252004-02-27 Fred Fish <fnf@redhat.com>
17326
17327 * gdb.base/chng-syms.exp: Add expect condition to match failing
17328 case that isn't a timeout.
17329
b9d23137
AC
173302004-02-27 Andrew Cagney <cagney@redhat.com>
17331
17332 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
17333 support.
17334
15d208f6 173352004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 17336
15d208f6
FF
17337 * gdb.arch/gdb1431.c: Remove.
17338 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
17339 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
17340 of "until" incorrectly.
17341
98f9cd2d
JB
173422004-02-26 J. Brobecker <brobecker@gnat.com>
17343
17344 * gdb.cp/class2.cc (empty): New class.
17345 (refer): New function.
17346 (main): Declare an object of type empty and use it.
17347 * gdb.cp/class2.exp: Print the value of an object of type empty.
17348
9b50c11b
JJ
173492004-02-26 Jeff Johnston <jjohnstn@redhat.com>
17350
17351 * gdb.base/langs.exp: Update query string to match the
17352 new nquery format used for pending breakpoints.
17353
0dcd613f
AC
173542004-02-26 Andrew Cagney <cagney@redhat.com>
17355
17356 Fix PR i18n/1570.
17357 * gdb.base/charset.c: Update copyright notice.
17358 (main, init_string): Remove the escape character '\e' tests.
17359 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
17360 * gdb.base/charset.exp (valid_host_charset): Ditto.
17361 * gdb.base/setvar.exp: Ditto.
17362
b8a56647
AC
173632004-02-24 Andrew Cagney <cagney@redhat.com>
17364
90d59e34
AC
17365 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
17366 mmapped data in core file" PASS and FAIL messages consistent.
17367
b8a56647
AC
17368 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
17369 setting a breakpoint. Work around PR java/1565.
17370
9f27c604
JJ
173712004-02-23 Jeff Johnston <jjohnstn@redhat.com>
17372
17373 * lib/gdb.exp (gdb_breakpoint): Update query string to match
17374 new nquery format.
17375 * gdb.base/pending.exp: Ditto.
17376
3224a706
MK
173772004-02-22 Mark Kettenis <kettenis@gnu.org>
17378
17379 * configure.in: Run stabs tests on *BSD.
17380 * configure: Regenerated.
17381
41e0a9ca
MK
173822004-02-21 Mark Kettenis <kettenis@gnu.org>
17383
17384 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
17385
1e1b3428
FF
173862004-02-20 Fred Fish <fnf@redhat.com>
17387
17388 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
17389 blank in test for "returns short", for consistency with other
17390 "returns xxx" tests. Update copyright year.
17391
f9a7572a
FF
173922004-02-19 Fred Fish <fnf@redhat.com>
17393
17394 New testcase for PR breakpoint/1558.
17395 * gdb.arch/gdb1558.exp: New file.
17396 * gdb.arch/gdb1558.c: New file.
17397
b2ce2854
EZ
173982004-02-19 Elena Zannoni <ezannoni@redhat.com>
17399
17400 * gdb.base/nodebug.exp: Fix typo.
17401
e7c9ff01
JB
174022004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17403
17404 Committed by Jim Blandy <jimb@redhat.com>.
17405
62f4b920
JB
17406 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
17407
2db536a1
JB
17408 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
17409
e7c9ff01
JB
17410 * gdb.base/float.exp: Support s390*-*-* targets.
17411
f3205b34
AF
174122004-02-17 Adam Fedor <fedor@gnu.org>
17413
17414 * gdb.base/gdb1555.exp: New file.
17415 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
17416
9d62932d
EZ
174172004-02-17 Elena Zannoni <ezannoni@redhat.com>
17418
17419 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
17420
344c9711
FF
174212004-02-16 Fred Fish <fnf@redhat.com>
17422
17423 * gdb.arch/gdb1291.c: Remove
17424 * gdb.arch/gdb1291.s: New test input file.
17425 * gdb.arch/gdb1291.exp: Expand test to check case that should not
17426 fail. Test for correct result, known incorrect result, other
17427 failures and timeouts.
17428
2d822687
AC
174292004-02-16 Andrew Cagney <cagney@redhat.com>
17430
17431 * gdb.base/bigcore.exp: New file.
17432 * gdb.base/bigcore.c: New file.
17433
dac15b66
AC
174342004-02-13 Andrew Cagney <cagney@redhat.com>
17435
17436 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
17437 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
17438 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
17439 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
17440 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
17441 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
17442 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
17443 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
17444 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
17445 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
17446
6bdfc2c4
JJ
174472004-02-11 Jeff Johnston <jjohnstn@redhat.com>
17448
17449 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
17450 executed is an alloc instruction.
17451
87b3ede8
DC
174522004-02-11 David Carlton <carlton@kealia.com>
17453
17454 * gdb.cp/breakpoint.exp: New.
17455 * gdb.cp/breakpoint.cc: New.
17456
6e19e2bf
MC
174572004-02-11 Michael Chastain <mec.gnu@mindspring.com>
17458
17459 Partial fix for PR gdb/1543.
17460 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
17461 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
17462 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
17463 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
17464 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
17465 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
17466 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
17467 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
17468 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
17469 to bug-gdb@prep.ai.mit.edu .
17470 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
17471 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
17472 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
17473 Likewise.
17474
5c5455dc
AC
174752004-02-10 Andrew Cagney <cagney@redhat.com>
17476
17477 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
17478 using gdb_internal_error_resync.
17479
9cf689d7
DJ
174802004-02-09 Daniel Jacobowitz <drow@mvista.com>
17481
17482 * gdb.threads/thread-specific.exp: Stop early if no threads are
17483 found.
17484
d2dc51db
MC
174852004-02-09 Michael Chastain <mec.gnu@mindspring.com>
17486
17487 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
17488
14b1a056
DJ
174892004-02-08 Daniel Jacobowitz <drow@mvista.com>
17490
17491 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
17492 breakpoints.
17493
83f66e8f
DJ
174942004-02-07 Daniel Jacobowitz <drow@mvista.com>
17495
17496 * config/sim.exp (gdb_load): Handle $arg == "".
17497 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
17498 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
17499
30fc0091
EZ
175002004-02-07 Elena Zannoni <ezannoni@redhat.com>
17501
a9c64011
AS
17502 * gdb.base/maint.exp: Update test to reflect
17503 obstack changes.
30fc0091 17504
4d806929
JJ
175052004-02-04 Jeff Johnston <jjohnstn@redhat.com>
17506
17507 * gdb.base/pendshr.c (pendfunc): New function that calls
17508 pendfunc1.
17509 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
17510
7bfdd688
FF
175112004-02-04 Fred Fish <fnf@redhat.com>
17512
17513 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
17514 function symbols and update copyright years.
17515 * gdb.arch/gdb1291.c: Ditto.
17516
aaa08ee4
MC
175172004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17518
17519 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
17520
dbad7755
MC
175212004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17522
17523 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
17524
ec4646ef
MC
175252004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17526
17527 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
17528
1b802196
FF
175292004-02-02 Fred Fish <fnf@redhat.com>
17530
17531 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
17532 remote targets. Update copyright years.
17533
18fe2033
JJ
175342004-02-02 Jeff Johnston <jjohnstn@redhat.com>
17535
17536 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
17537 support.
17538 * gdb.base/langs.exp: Fix test which attempts to create
17539 breakpoint on non-existent function to handle new pending
17540 support.
17541 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
17542 a breakpoint.
17543 * gdb.base/pending.exp: New test.
17544 * gdb.base/pending.c: New file.
17545 * gdb.base/pendshr.c: Ditto.
17546
8d577d32
DC
175472004-02-02 David Carlton <carlton@kealia.com>
17548
17549 * gdb.cp/overload.exp: Add overloadNamespace tests.
17550 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
17551 (overloadNamespace, XXX): New.
17552 (main): Call XXX::marker2.
17553
3ad13771
FF
175542004-02-01 Fred Fish <fnf@redhat.com>
17555
17556 * gdb.base/dump.exp: Use runto_main instead of "runto main".
17557 * gdb.base/finish.exp: Ditto.
17558 * gdb.base/gcore.exp: Ditto.
17559 * gdb.base/huge.exp: Ditto.
17560 * gdb.base/info-proc.exp: Ditto.
17561 * gdb.base/return2.exp: Ditto.
17562 * gdb.threads/gcore-thread.exp: Ditto.
17563
44c75849
DJ
175642004-02-01 Daniel Jacobowitz <drow@mvista.com>
17565
17566 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
17567
005bc093
MK
175682004-02-01 Mark Kettenis <kettenis@gnu.org>
17569
17570 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
17571 that opening the file succeeds on OpenBSD.
17572
c47cebdb
DJ
175732004-02-01 Daniel Jacobowitz <drow@mvista.com>
17574
17575 * gdb.threads/thread-specific.c: New file.
17576 * gdb.threads/threads-specific.exp: New test script.
17577 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
17578 to expect_out.
17579
5a01311c
MK
175802004-02-01 Mark Kettenis <kettenis@gnu.org>
17581
17582 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
17583 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
17584 only on the "print_small_structs from print_long_arg_list" test.
17585
ce22a4f1
DJ
175862004-02-01 Daniel Jacobowitz <drow@mvista.com>
17587
17588 * gdb.base/completion.exp: Kill a stray backslash.
17589
17590 From Jim Ingham <jingham@apple.com>:
17591 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
17592 agrees with the result from sending a tab.
17593
abbab9d3
DJ
175942004-01-31 Daniel Jacobowitz <drow@mvista.com>
17595
17596 * gdb.base/chng-syms.exp: Remove stray newline.
17597
53904d1e
MK
175982004-01-31 Mark Kettenis <kettenis@gnu.org>
17599
17600 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
17601 *-*-openbsd*.
17602 * gdb.asm/openbsd.inc: New file.
17603
3a4b3aac
MK
176042004-01-30 Mark Kettenis <kettenis@gnu.org>
17605
17606 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
17607 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
17608 *-*solaris2*. Remove commented out default settings for
17609 asm-flags. Replace gdb_compile with target_link.
17610
ebac27b4
MC
176112004-01-29 Michael Chastain <mec.gnu@mindspring.com>
17612
17613 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
17614 for all tests. Remove old hp-ux and cygnus xfail cases.
17615
d8679d84
PH
176162004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
17617
17618 * gdb.base/chng-syms.exp: New file.
17619 * gdb.base/chng-syms.c: New file.
17620
0a55bc22
MC
176212004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17622
17623 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
17624 Provide arms for current output in all my configurations.
17625
94b8e876
MC
176262004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17627
17628 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
17629 * lib/compiler.cc: Likewise.
17630 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
17631 get the right preprocessor. Eval the output directly. Remove
17632 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
17633 hp_f77_compiler and hp_f90_compiler completely.
17634 (gdb_preprocess): Delete.
17635 (get_compiler): Delete.
17636
7cf03d44
MK
176372004-01-24 Mark Kettenis <kettenis@gnu.org>
17638
17639 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
17640 <string.h>.
17641
68b6dce9
NR
176422004-01-24 Nick Roberts <nick@nick.uklinux.net>
17643
17644 * gdb.mi/mi-stack.exp: Update copyright.
17645
b368761e
DC
176462004-01-23 David Carlton <carlton@kealia.com>
17647
17648 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
17649 test for cp_lookup_transparent_type.
17650 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
17651 call them.
17652
f2061b53
DJ
176532004-01-23 Daniel Jacobowitz <drow@mvista.com>
17654
17655 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
17656 after -var-update.
17657
37fc574a
DC
176582004-01-23 David Carlton <carlton@kealia.com>
17659
17660 * gdb.cp/namespace.cc (C::ensureRefs): New.
17661 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
17662
8e94b928
NR
176632004-01-20 Nick Roberts <nick@nick.uklinux.net>
17664
17665 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
17666 case "-stack-list-locals 2".
17667 * gdb.mi/mi-var-child.exp: Test for case
17668 "-var-list-children --all-values NAME".
17669
997b0952
MC
176702004-01-18 Michael Chastain <mec.gnu@mindspring.com>
17671
17672 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
17673
52470da3
MK
176742004-01-18 Mark Kettenis <kettenis@gnu.org>
17675
7049b4b8
MK
17676 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
17677 used with gdb_test_multiple.
17678
52470da3
MK
17679 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
17680 read at address 0. This fixes PR testsuite/1504.
17681
da6012e5
DJ
176822004-01-18 Daniel Jacobowitz <drow@mvista.com>
17683
17684 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
17685 Remove downloading, guessing the host executable, the calls to
17686 gdb_file_cmd and gdb_target_cmd, and "load" support.
17687 (infer_host_exec): New function broken out from gdb_load.
17688 (gdb_load): New wrapper for gdbserver_gdb_load.
17689 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
17690 gdb_target_cmd. Use -target-select.
17691 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
17692 Download binaries to the host. Clear last_mi_remote_file when
17693 we load a new binary.
17694 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
17695 call gdbserver_gdb_load and mi_gdb_target_cmd.
17696
32c70722
MC
176972004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17698
17699 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
17700 type patterns.
17701
b0cecf36
MC
177022004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17703
17704 * gdb.cp/templates.exp: Fix typo in test name of
17705 "print Foo<volatile char*>::foo".
17706
4120d7e6
MC
177072004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17708
17709 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
17710
f679e530
BE
177112004-01-16 Ben Elliston <bje@wasabisystems.com>
17712
17713 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
17714 (clean mostlyclean): Remove empty rm.
17715
091c48f6
MC
177162004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17717
17718 * gdb.base/setvar.exp: Add copyright years.
17719
3e5fc8d2
DC
177202004-01-14 David Carlton <carlton@bactrian.org>
17721
17722 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
17723 PR c++/1511 and update coment.
17724 * gdb.cp/templates.exp: Update patterns to match current output.
17725 If changes involve something other than whitespace, KFAIL
17726 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
17727
63d06c5c
DC
177282004-01-14 David Carlton <carlton@kealia.com>
17729
17730 * gdb.cp/namespace.exp: Add tests involving classes defined within
17731 namespaces.
17732 * gdb.cp/namespace.cc (C::CClass): New.
17733 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
17734
a51dab88
EZ
177352004-01-14 Elena Zannoni <ezannoni@redhat.com>
17736
17737 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
17738 what debug info we have. Print a better message if something goes
17739 wrong while producing the separate debug info file.
17740
a476ccc9
MC
177412004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17742
17743 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
17744
f453692c
MC
177452004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17746
17747 * gdb.base/callfuncs.c: Add copyright notice.
17748
f40063a5
MC
177492004-01-13 Michael Chastain <mec.gnu@mindspring.com>
17750
17751 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
17752 inheritance. PR gdb/1498, PR gcc/13539.
17753
19ac3974
EZ
177542004-01-13 Elena Zannoni <ezannoni@redhat.com>
17755
a9c64011
AS
17756 * gdb.threads/gcore-thread.exp: Prefix name of binary with
17757 test specific name.
17758 * gdb.mi/gdb669.exp: Ditto.
17759 * gdb.mi/mi-pthreads.exp: Ditto.
17760 * gdb.mi/mi1-pthreads.exp: Ditto.
17761 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 17762
56c97c6e
MC
177632004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17764
17765 * gdb.cp/member-ptr.cc: Add copyright notice.
17766
a0644324
MC
177672004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17768
17769 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
17770 some patterns for recent versions of gcc and hpacc. Delete
17771 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
17772 Delete tests that access a NULL pointer-to-member-data. This
17773 script is still disabled for gcc.
17774
32fabe09
EZ
177752004-01-12 Elena Zannoni <ezannoni@redhat.com>
17776
17777 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 17778 escaped correctly.
32fabe09 17779
1f8a6abb
EZ
177802004-01-12 Elena Zannoni <ezannoni@redhat.com>
17781
17782 * gdb.base/sepdebug.exp: New file.
17783 * gdb.base/sepdebug.c: New file.
17784 * lib/gdb.exp (separate_debug_filename): New procedure.
17785 (gdb_gnu_strip_debug): New procedure.
17786
48efe704
AC
177872004-01-12 Andrew Cagney <cagney@redhat.com>
17788
17789 * gdb.mi/ChangeLog: Delete file. Renamed to ...
17790 * gdb.mi/ChangeLog-1999-2003: New file.
17791
a9415475
AC
177922004-01-12 Andrew Cagney <cagney@redhat.com>
17793
17794 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
17795 "Renaming a directory to a non-empty directory returns ENOTEMPTY
17796 or EEXIST", treat EBUSY as an XFAIL.
17797
83b8cf9d
MC
177982004-01-11 Michael Chastain <mec.gnu@mindspring.com>
17799
17800 * gdb.base/scope.exp: Remove obsolete setup_xfail for
17801 hp_cc_compiler.
17802
9939d2a8
MC
178032004-01-10 Michael Chastain <mec.gnu@mindspring.com>
17804
17805 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
17806 decorations.
17807
1ff8cadf
MC
178082004-01-10 Michael Chastain <mec.gnu@mindspring.com>
17809
17810 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
17811 and "(aCC)" decorations. Remove obsolete doco about old
17812 test results.
17813
6fa9022e
MC
178142004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17815
17816 * gdb.cp/exception.exp: Fix typo in doco.
17817
209721fe
MK
178182004-01-09 Mark Kettenis <kettenis@gnu.org>
17819
17820 * gdb.base/gdb1476.exp: Fix typo.
17821
ef11303e
MC
178222004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17823
17824 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
17825 file.
17826
041ab88c
MC
178272004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17828
17829 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
17830 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
17831 Use gdb_compile. Remove restriction on gcc. Add some patterns
17832 for recent version of gdb. Delete second half, which was a copy
17833 of the first half with different build flags. This test is
17834 still disabled because it is still not ready for production.
17835
e36d075a
MC
178362004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17837
17838 * gdb.cp/exception.cc: Add copyright notice.
17839 * gdb.cp/exception.exp: Add a notice that this file is broken
17840 because of line number changes caused by addition of copyright
17841 notice.
17842
42b190ad
MC
178432004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17844
17845 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
17846 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
17847
8f25f06b
MC
178482004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17849
17850 * gdb.cp/classes.exp: Accept gnu abi 2.
17851 * gdb.cp/derivation.exp: Likewise.
17852 * gdb.cp/overload.exp: Likewise.
17853 * gdb.cp/virtfunc.exp: Likewise.
17854
06ded8b8
MC
178552004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17856
17857 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
17858 semicolon after end of function.
17859
77c26ae3
MC
178602004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17861
17862 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
17863 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
17864 boilerplate code for compiling and running the program under
17865 test. Add some string method tests.
17866
20757486
MC
178672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17868
17869 * gdb.cp/bs15503.cc: Add copyright notice.
17870 * gdb.cp/bs15503.exp: Adjust line number.
17871
0fd3b503
MC
178722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17873
17874 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
17875 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
17876
10d1bea8
MC
178772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17878
17879 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
17880 hp_cc_compiler.
17881
2789202a
MC
178822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17883
17884 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
17885 * gdb.cp/ctti.exp: Use the marker instead of "next".
17886 With gcc, run further before bailing.
17887
b862f14c
MC
178882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17889
17890 * gdb.cp/cttiadd.cc: Add copyright notice.
17891 * gdb.cp/cttiadd1.cc: Likewise.
17892 * gdb.cp/cttiadd2.cc: Likewise.
17893 * gdb.cp/cttiadd3.cc: Likewise.
17894
96da2469
MC
178952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17896
17897 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
17898 Use gdb_test, gdb_test_multiple. Use floating-point values that
17899 have exact representations in IEEE-ish formats.
17900
053248ff
MC
179012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17902
17903 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
17904 compilers. Delete duplicate call to get_compiler_info.
17905 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
17906 * gdb.base/volatile.exp: Likewise.
17907
84acecdd
MK
179082004-01-07 Mark Kettenis <kettenis@gnu.org>
17909
17910 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
17911 memory at address 0.
17912
fe11a27f
MC
179132004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17914
17915 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
17916 to test for hp-ux assembler. Fix copyright years.
17917
60ad077b
AC
179182004-01-07 Andrew Cagney <cagney@redhat.com>
17919
17920 * gdb.base/fileio.c (strerrno): Add "EBUSY".
17921
1c9b8f33
AC
179222004-01-07 Andrew Cagney <cagney@redhat.com>
17923
17924 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
17925 when creating the read-only file. From analysis by Roland McGrath
17926 and Elena Zannoni.
17927
753ccc7a
MC
179282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
17929
17930 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
17931
eca3e36b
MC
179322004-01-06 Michael Chastain <mec.gnu@mindspring.com>
17933
17934 * gdb.base/cvexpr.c: Be type-safe with function pointers and
17935 data pointers.
17936
f8d4bac4
MC
179372004-01-06 Michael Chastain <mec.gnu@mindspring.com>
17938
17939 * gdb.cp/m-static.exp: Compile one source file at a time.
17940 Delete unused call to get_compiler_info.
17941
9b4e0f94
MC
179422004-01-06 Michael Chastain <mec.gnu@mindspring.com>
17943
17944 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
17945 * gdb.base/call-rt-st.exp: Likewise.
17946 * gdb.base/nodebug.exp: Likewise.
17947 * gdb.base/volatile.exp: Likewise.
17948 * gdb.cp/ref-types.exp: Likewise.
17949 * gdb.cp/templates.exp: Likewise.
17950
023c1024
MK
179512004-01-05 Mark Kettenis <kettenis@gnu.org>
17952
17953 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
17954
19703c4a
MC
179552004-01-05 Michael Chastain <mec.gnu@mindspring.com>
17956
17957 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
17958 hppa*-hp-hpux*.
17959
18b67037
MK
179602004-01-04 Mark Kettenis <kettenis@gnu.org>
17961
ba6219c8
MK
17962 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
17963 x86_64-*-*.
17964
18b67037
MK
17965 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
17966 sparc64-*-* and sparc*-solaris2*.
17967
1bfbbb9d
MK
179682004-01-04 Mark Kettenis <kettenis@gnu.org>
17969
17970 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
17971 return ${tests}" test. The ${tests} already mentions the
17972 filename.
17973
06846494
MC
179742004-01-02 Michael Chastain <mec.gnu@mindspring.com>
17975
17976 * gdb.cp/local.exp: Accept gcc abi 2.
17977
3b0cb202
MC
179782004-01-02 Michael Chastain <mec.gnu@mindspring.com>
17979
17980 * gdb.cp/templates.exp: Accept gcc abi 2.
17981
0643ec3f
MC
179822004-01-02 Michael Chastain <mec.gnu@mindspring.com>
17983
17984 * lib/compiler.cc: Remove supports_template_debugging.
17985 * gdb.cp/templates.exp: Do not test supports_template_debugging.
17986
d231d0b1
MC
179872004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17988
17989 * gdb.cp/namespace.exp: Accept gcc abi 2.
17990
44ffb27c
MC
179912004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17992
17993 * gdb.cp/method.exp: Accept gcc abi 2.
17994
184ad485
MC
179952004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17996
17997 * gdb.cp/classes.exp: Generate identical results as old version.
17998 * gdb.cp/derivation.exp: Likewise.
17999 * gdb.cp/overload.exp: Likewise.
18000 * gdb.cp/virtfunc.exp: Likewise.
18001
116f09e7
MC
180022004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18003
18004 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
18005 mysterious bug with sourceware version of expect.
18006
b1379776
MC
180072004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18008
18009 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
18010 current versions of gcc, including gcc abi 2. Remove gratuitous
18011 restart of test program. Use gdb_test_multiple and gdb_test for
18012 all tests. Add patterns to xfail missing "const" in "const char *"
18013 and kfail PR gdb/1155.
18014
6b7a4c0e
MC
180152004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18016
18017 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
18018 current versions of gcc, including gcc abi 2. Remove gratuitous
18019 restart of test program. Use gdb_test_multiple and gdb_test for
18020 all tests. Add patterns to kfail PR gdb/1498.
18021
51615d72
MC
180222003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18023
18024 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
18025 current versions of gcc, including gcc abi 2. Use "breakpoint"
18026 and "continue" instead of restarting the target program. Use
18027 gdb_test_multiple and gdb_test for all tests.
18028
7b79a9d7
MK
180292004-01-01 Mark Kettenis <kettenis@gnu.org>
18030
18031 * gdb.asm/asm-source.exp: Update copyright year. Link statically
18032 for *-*-solaris2*.
18033
1cd3489f
MC
180342003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18035
18036 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
18037 current versions of gcc, including gcc abi 2. Use "breakpoint"
18038 and "continue" instead of restarting the target program several
18039 times. Use gdb_test_multiple and gdb_test for all tests.
18040
850742db
MC
180412003-12-18 Michael Chastain <mec.gnu@mindspring.com>
18042
18043 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
18044 source files.
18045
eb4bbda8
MC
180462003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18047
18048 * gdb.base/environ.exp: Handle compiling test case from multiple
18049 source files.
18050
e42c7771
MC
180512003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18052
18053 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
18054
80e4b428
JB
180552003-12-17 Jim Blandy <jimb@redhat.com>
18056
5f06973a
JB
18057 * gdb.base/freebpcmd.c: Add copyright notice.
18058
80e4b428
JB
18059 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
18060
0ab84fb7
MC
180612003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18062
18063 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
18064
1b3bb3d0
JB
180652003-12-13 Jim Blandy <jimb@redhat.com>
18066
18067 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
18068
3a4c9371
KB
180692003-12-12 Kevin Buettner <kevinb@redhat.com>
18070
18071 * gdb.asm/frv.inc: New file.
18072 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
18073
a1dea79a
FF
180742003-12-09 Fred Fish <fnf@redhat.com>
18075
18076 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
18077 functions to break1.c and leave prototypes behind. Add more
18078 "set breakpoint NN here" comments.
18079 * gdb.base/break1.c: New file.
18080
18081 * gdb.base/break.exp: Handle compiling test case from multiple
18082 source files and change source file references as needed.
18083 * gdb.base/completion.exp: Ditto.
18084 * gdb.base/condbreak.exp: Ditto.
18085 * gdb.base/define.exp: Ditto.
18086 * gdb.base/ena-dis-br.exp: Ditto.
18087 * gdb.base/info-proc.exp: Ditto.
18088 * gdb.base/maint.exp: Ditto.
18089 * gdb.base/until.exp: Ditto.
18090
18091 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
18092 hardcoded line numbers.
18093 * gdb.base/define.exp: Ditto.
18094 * gdb.base/ena-dis-br.exp: Ditto.
18095 * gdb.base/maint.exp: Ditto.
18096 * gdb.base/until.exp: Ditto.
18097
18098 * gdb.base/completion.exp: Use "break1" for completion tests since
18099 "break" is no longer a unique prefix.
18100
5266b69c
AC
181012003-12-06 Andrew Cagney <cagney@redhat.com>
18102
18103 * gdb.base/structs.exp (test_struct_returns): When applicable, set
18104 "return_value_unimplemented". When an unimplemented struct return
18105 architecture, report incorrect values as a KFAIL
18106
374451f0
MC
181072003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18108
18109 * gdb.cp/rtti.exp: Accept new wording of warning from
18110 cp_lookup_rtti_type.
18111
ba9b20a7
MC
181122003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18113
18114 Partial fix for PR testsuite/1456.
18115 * gdb.base/scope.exp (test_at_main): Replace references to
18116 gcc_compiled with calls to test_compiler_info.
18117 (test_at_foo): Likewise.
18118 (test_at_bar): Likewise.
18119
b74b6d0b
MC
181202003-12-04 Michael Chastain <mec.gnu@mindspring.com>
18121
18122 Partial fix for PR testsuite/1456.
18123 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
18124 to test_compiler_info.
18125
ccfa3402
MC
181262003-12-03 Michael Chastain <mec.gnu@mindspring.com>
18127
18128 * gdb.base/so-impl-ld.exp: Update copyright notice.
18129
f6246aba
MC
181302003-12-02 Michael Chastain <mec.gnu@mindspring.com>
18131
18132 Partial fix for PR testsuite/1456.
18133 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
18134 to test_compiler_info.
18135
13ae734a
MC
181362003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18137
18138 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
18139 from current versions of gdb. Clean up regular expressions.
18140 Delete redundant timeout case.
18141
d8e1cdee
MC
181422003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18143
18144 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
18145 from current versions of gdb. Clean up regular expressions.
18146 Delete redundant timeout case.
18147
96457b64
MC
181482003-12-01 Michael Chastain <mec.gnu@mindspring.com>
18149
18150 Partial fix for PR testsuite/1456.
18151 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
18152 gcc_compiled with call to test_compiler_info.
18153
f35309fc
MC
181542003-11-30 Michael Chastain <mec.gnu@mindspring.com>
18155
18156 Partial fix for PR testsuite/1456.
18157 * gdb.base/list.exp (test_list_function): Delete unused declaration
18158 of gcc_compiled.
18159
d7afdf9b
MC
181602003-11-29 Michael Chastain <mec.gnu@mindspring.com>
18161
18162 Partial fix for PR testsuite/1456.
18163 * gdb.base/complex.exp: Replace reference to gcc_compiled with
18164 call to test_compiler_info.
18165
71507b56
MK
181662003-11-29 Mark Kettenis <kettenis@gnu.org>
18167
18168 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
18169 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
18170 it to create the appropriate note.inc.
18171 * gdb.asm/asmsrc1.s: Include "note.inc".
18172 * gdb.asm/netbsd.inc: New file.
18173 * gdb.asm/empty.inc: New file.
18174
f81f93f7
MC
181752003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18176
18177 Partial fix for PR testsuite/1456.
18178 * gdb.base/constvars.exp: Replace references to gcc_compiled with
18179 calls to test_compiler_info.
18180
9a77938e
MC
181812003-11-27 Michael Chastain <mec.gnu@mindspring.com>
18182
18183 Partial fix for PR testsuite/1456.
18184 * gdb.base/volatile.exp: Replace references to gcc_compiled with
18185 calls to test_compiler_info.
18186
e8367dc7
MK
181872003-11-27 Mark Kettenis <kettenis@gnu.org>
18188
18189 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
18190 pattern for the KFAILs.
18191
526c61ee
AF
181922003-11-25 Adam Fedor <fedor@gnu.org>
18193
18194 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
18195 * gdb.objc/objcdecode.m: New file.
18196
28f2d600
AF
181972003-11-25 Adam Fedor <fedor@gnu.org>
18198
18199 * gdb.objc/nondebug.exp: Test for PR objc/1236.
18200 * gdb.objc/nondebug.m: New file.
18201
a3895cee
BE
182022003-11-26 Ben Elliston <bje@wasabisystems.com>
18203
18204 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
18205 NetBSD as it does on FreeBSD. Modelled on a similar change by
18206 Mark Kettenis on 2003-05-30.
18207 (link-flags): Set to "--entry _start" regardless of target.
18208 Special linker flags are to be appended to $link-flags.
18209 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
18210
c9f2c8a3
MC
182112003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18212
18213 * gdb.cp/method.exp: Accept output of new demangler.
18214
15a0587a 182152003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
18216
18217 * gdb/class2.exp: New file.
18218 * gdb/class2.cc: New file.
18219
3c00b570
MC
182202003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18221
18222 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
18223 of new demangler.
18224
7027acc7
MK
182252003-11-23 Mark Kettenis <kettenis@gnu.org>
18226
18227 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
18228 of gdb_test "run".
18229
b0e1598a
MK
182302003-11-23 Mark Kettenis <kettenis@gnu.org>
18231
18232 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
18233 "continue" into "run".
18234
4d9eda44
MC
182352003-11-23 Michael Chastain <mec.gnu@mindspring.com>
18236
18237 Partial fix for PR testsuite/1456.
18238 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
18239 call to test_compiler_info.
18240 * gdb.cp/ctti.exp: Likewise.
18241 * gdb.cp/derivation.exp: Likewise.
18242 * gdb.cp/member-ptr.exp: Likewise.
18243 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
18244 reference to gcc_compiled.
18245
182462003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
18247
18248 Fix PR testsuite/1463.
18249 * gdb.base/structs.exp (start_structs_test): Call
18250 get_debug_format before using the debug format.
18251
d422fe19
AC
182522003-11-22 Andrew Cagney <cagney@redhat.com>
18253
18254 * lib/gdb.exp (gdb_test_multiple): Add simple example.
18255 * gdb.base/structs.exp: Use gdb_test_multiple.
18256
039cf96d
AC
182572003-11-20 Andrew Cagney <cagney@redhat.com>
18258
6882279b
AC
18259 * gdb.base/structs.exp: Handle and recover from internal errors.
18260 Replace "foo${n}" with "foo<n>" in test messages.
18261
e53890ae
AC
18262 * gdb.base/structs.exp: Update copyright. Rewrite.
18263 * gdb.base/structs.c: Update copyright. Rewrite.
18264
2b211c59
AC
18265 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
18266 resync count exceeded.
d63a86f8 18267
039cf96d
AC
18268 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
18269 from the internal error.
18270 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
18271 Original from Jim Blandy.
18272 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 18273
eac98b22
AC
182742003-11-19 Andrew Cagney <cagney@redhat.com>
18275
18276 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
18277 KFAIL.
18278
67455b2a
MK
182792003-11-17 Mark Kettenis <kettenis@gnu.org>
18280
18281 New testcase for PR backtrace/1435.
18282 * gdb.arch/i386-unwind.exp: New file.
18283 * gdb.arch/i386-unwind.c: New file.
18284
853d6e5b
AC
182852003-11-17 Andrew Cagney <cagney@redhat.com>
18286
18287 * lib/gdb.exp (compiler_info): New global.
18288 (test_compiler_info): New function.
18289 (get_compiler_info): Set compiler_info.
18290 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
18291 "compiler_info" to gcc-<major>-<minor>.
18292
38cf6e11
MC
182932003-11-15 Michael Chastain <mec.gnu@mindspring.com>
18294
18295 * gdb.trace/configure: Remove.
18296
a50d3602
EZ
182972003-11-13 Elena Zannoni <ezannoni@redhat.com>
18298
18299 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 18300 breakpoints.
a50d3602
EZ
18301 * gdb.base/break.exp: Remove all references to explicit line
18302 numbers.
18303
d9407aaa
NC
183042003-11-11 Nick Clifton <nickc@redhat.com>
18305
18306 * gdb.base/shreloc.exp: Do not run for targets which do not
18307 support shared objects.
18308
db488fc1
CV
183092003-11-10 Corinna Vinschen <vinschen@redhat.com>
18310
18311 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
18312 Don't run tests if nofileio flag is given.
18313
6a90a18e
EZ
183142003-11-07 Elena Zannoni <ezannoni@redhat.com>
18315
18316 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 18317 as well as 'Watchpoint'.
6a90a18e 18318
0b915e9c
EZ
183192003-11-06 Elena Zannoni <ezannoni@redhat.com>
18320
18321 Reported by Jim Ingham <jingham@apple.com>:
18322 * gdb.base/annota1.exp: Match at least one occurrence of the
18323 signal handler annotation.
18324
d7e4b55f
EZ
183252003-11-06 Elena Zannoni <ezannoni@redhat.com>
18326
a9c64011
AS
18327 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
18328 as well as 'Watchpoint'.
d7e4b55f 18329
2fe4e8d0
MC
183302003-11-05 Michael Chastain <mec@shout.net>
18331
18332 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
18333
6ef88553
KW
183342003-11-03 Kris Warkentin <kewarken@qnx.com>
18335
18336 * gdb.arch/gdb1291.c: New test file.
18337 * gdb.arch/gdb1291.exp: New test script.
18338 * gdb.arch/gdb1431.c: New test file.
18339 * gdb.arch/gdb1431.exp: New test script.
18340
ae7dc4d8
MC
183412003-10-22 Michael Chastain <mec@shout.net>
18342
18343 * gdb.mi/pthreads.c: Add copyright notice.
18344
c39d7427
MC
183452003-10-22 Michael Chastain <mec@shout.net>
18346
18347 * gdb.threads/pthreads.c: Add copyright notice.
18348
8b7d96c1
MC
183492003-10-20 Michael Chastain <mec@shout.net>
18350
18351 * gdb.base/gdb1056.exp: New test script.
18352
d1d69fdd
DJ
183532003-10-13 Daniel Jacobowitz <drow@mvista.com>
18354
18355 * gdb.threads/killed.exp: Use gdb_run_cmd.
18356
7d605576
DJ
183572003-10-13 Daniel Jacobowitz <drow@mvista.com>
18358
18359 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
18360 create a core file.
18361 * gdb.threads/gcore-thread.exp: Likewise.
18362
618ec112
CV
183632003-10-13 Corinna Vinschen <vinschen@redhat.com>
18364
18365 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
18366 type, based on char type.
18367 (struct bit_flags_short_t): New bitfield type, based on short type.
18368 (init_bit_flags_char): New fuction.
18369 (init_bit_flags_short): Ditto.
18370 (print_bit_flags_char): Ditto.
18371 (print_bit_flags_short): Ditto.
18372 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
18373
9367a73c
MC
183742003-10-11 Michael Chastain <mec@shout.net>
18375
18376 * gdb.base/call-rt-st.exp: Update copyright year.
18377
1decf120
KI
183782003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
18379
18380 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
18381 * gdb.disasm/sh3.s: Ditto.
18382
5445b2ae
DJ
183832003-10-07 Daniel Jacobowitz <drow@mvista.com>
18384
18385 * gdb.threads/switch-threads.exp: New test.
18386 * gdb.threads/switch-threads.c: New source file.
18387
aec24853
CV
183882003-10-07 Corinna Vinschen <vinschen@redhat.com>
18389
18390 * gdb.base/ending-run.exp: Add sh specific case.
18391
adc7428d
AC
183922003-10-06 Andrew Cagney <cagney@redhat.com>
18393
18394 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
18395 * gdb.disasm/mn10200.exp: Delete obsolete file.
18396
c9d37158
DJ
183972003-09-29 Daniel Jacobowitz <drow@mvista.com>
18398
18399 * ChangeLog: Correct an entry command.exp -> commands.exp.
18400 * gdb.base/commands.exp (bp_deleted_in_command_test)
18401 (temporary_breakpoint_commands): Check noargs.
18402
79c2c32d
DC
184032003-09-25 David Carlton <carlton@kealia.com>
18404
18405 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
18406 of some print tests, where appropriate. Add tests for C::D::cd,
18407 E::ce, F::cXfX, G::XgX.
18408 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
18409
594e6d67
RE
184102003-09-25 Richard Earnshaw <rearnsha@arm.com>
18411
18412 * lib/java.exp (java_init): Import target_alias before using it.
18413
10f0d451
DC
184142003-09-25 David Carlton <carlton@kealia.com>
18415
18416 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
18417
274bcba0
EZ
184182003-09-23 Elena Zannoni <ezannoni@redhat.com>
18419
d63a86f8 18420 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 18421 weirdness.
274bcba0 18422
cdbf20f7
MC
184232003-09-17 Michael Chastain <mec@shout.net>
18424
18425 * gdb.cp/gdb1355.exp: New file.
18426 * gdb.cp/gdb1355.c: New file.
18427
71e06f80
CV
184282003-09-15 Corinna Vinschen <vinschen@redhat.com>
18429
18430 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
18431 * gdb.asm/sh.inc: New file.
18432
5c4e30ca
DC
184332003-09-11 David Carlton <carlton@kealia.com>
18434
bd45b7af
DC
18435 * gdb.cp/namespace.exp: Add tests for namespace types.
18436 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
18437 (test_namespace): New.
18438
1c199746
EZ
184392003-09-11 Elena Zannoni <ezannoni@redhat.com>
18440
a9c64011 18441 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 18442 * gdb.stabs/weird.exp: Ditto.
1c199746 18443
04ed252f
MC
184442003-09-08 Michael Chastain <mec@shout.net>
18445
18446 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
18447
d8a2d9e7
MC
184482003-09-07 Michael Chastain <mec@shout.net>
18449
18450 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
18451 'parse error'.
18452
161afb24
MK
184532003-09-07 Mark Kettenis <m.kettenis@osp.nl>
18454
18455 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
18456
49f2741a
MC
184572003-08-30 Michael Chastain <mec@shout.net>
18458
18459 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
18460 * gdb.gdb/observer.exp: Ditto.
18461 * gdb.gdb/xfullpath.exp: Ditto.
18462
8afa723e
MK
184632003-08-29 Mark Kettenis <kettenis@gnu.org>
18464
18465 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
18466 *-*-*bsd*.
18467
f31dfe3b
JJ
184682003-08-28 Jeff Johnston <jjohnstn@redhat.com>
18469
18470 * gdb.base/dump.exp: Skip for ia64.
18471
4630e498
JJ
184722003-08-25 Jeff Johnston <jjohnstn@redhat.com>
18473
18474 * gdb.asm/asm-source.exp: Add ia64 support.
18475 * gdb.asm/ia64.inc: New file.
18476
1105b7ef
MC
184772003-08-22 Michael Chastain <mec@shout.net>
18478
18479 * gdb.cp: New directory.
18480 * gdb.cp/*: Copy from gdb.c++/*.
18481 * gdb.c++/*: Remove.
18482 * Makefile.in: Change gdb.c++ to gdb.cp.
18483 * configure.in: Ditto.
18484 * configure: Regnerate.
18485
c945b932
MK
184862003-08-18 Mark Kettenis <kettenis@gnu.org>
18487
18488 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
18489 * gdb.arch/i386-prologue.c (gdb1338): Add function.
18490
2b66634b
DJ
184912003-08-17 Daniel Jacobowitz <drow@mvista.com>
18492
18493 * mi-var-display.exp (-var-list-children weird): Accept function
18494 pointers with argument types.
18495 * mi1-var-display.exp (-var-list-children weird): Likewise.
18496 * mi2-var-display.exp (-var-list-children weird): Likewise.
18497
a356f73b
DJ
184982003-08-17 Daniel Jacobowitz <drow@mvista.com>
18499
18500 * gdb.base/annota3.exp: Add missing newline.
18501
483417b8
MC
185022003-08-06 Michael Chastain <mec@shout.net>
18503
18504 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
18505
c99c59c3
MS
185062003-08-12 Michael Snyder <msnyder@redhat.com>
18507
18508 * gdb.base/float.exp: Add test for SH.
18509
55ed7501
MK
185102003-08-10 Mark Kettenis <kettenis@gnu.org>
18511
18512 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
18513
1a371f2e
EZ
185142003-08-07 Elena Zannoni <ezannoni@redhat.com>
18515
18516 * gdb.base/completion.exp: Remove reduntant completion test
18517 on filename.
18518
e0f353ce
EZ
185192003-08-07 Elena Zannoni <ezannoni@redhat.com>
18520
a9c64011
AS
18521 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
18522 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
18523 gdb.trace/save-trace.exp: Make sure that full pathnames are
18524 escaped correctly.
e0f353ce 18525
5710a1af 185262003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 18527
a9c64011
AS
18528 * configure.in: Don't generate config.h from config.hin.
18529 * configure: Regenerate.
18530 * config.hin: Remove file.
18531 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
18532 * gdb.threads/pthreads.c: Ditto.
5710a1af 18533
dcd81ce9
DJ
185342003-08-07 Daniel Jacobowitz <drow@mvista.com>
18535
18536 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18537 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
18538 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
18539 Replace ld24 with seth/add3.
18540
6009d884
AC
185412003-08-02 Andrew Cagney <cagney@redhat.com>
18542
18543 * gdb.base/annota3.exp: New file.
18544 * gdb.base/annota3.c: New file.
18545 * gdb.c++/annota3.exp: New file.
18546 * gdb.c++/annota3.cc: New file.
18547
51514e06
MC
185482003-07-29 Michael Chastain <mec@shout.net>
18549
18550 * gdb.threads/tls.c (spin): Check errno only if sem_wait
18551 actually failed.
18552 (do_pass): Likewise.
18553 * gdb.threads/tls.exp: Always initialize no_of_threads.
18554
4ee6625b
DJ
185552003-07-27 Daniel Jacobowitz <drow@mvista.com>
18556
18557 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
18558 pattern.
18559 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
18560 * gdb.threads/tls.exp: Recognize one case of the host library not
18561 supporting TLS.
18562
225f2bf6
AC
185632003-07-27 Andrew Cagney <cagney@redhat.com>
18564
18565 * gdb.base/fileio.exp: Use SH when running commands using
18566 remote_exec.
18567
bcb27c9f
DJ
185682003-07-24 Daniel Jacobowitz <drow@mvista.com>
18569
18570 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18571 * gdb.base/relocate.c (dummy): New padding array.
18572
3d67be83
MS
185732003-07-22 Michael Snyder <msnyder@redhat.com>
18574
d63a86f8 18575 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
18576
18577 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
18578 patterns to be more general, accepting old and new output.
18579 Some output chars (such as '+') also must be quoted.
d63a86f8 18580 Some addresses are displayed numerically instead of
3d67be83
MS
18581 symbolically.
18582
57ba3b85
MS
185832003-07-23 Michael Snyder <msnyder@redhat.com>
18584
686d097c
MS
18585 * gdb.base/return2.exp: Don't test long-long return.
18586
57ba3b85
MS
18587 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
18588 * gdb.disasm/t01_mov.exp: Ditto.
18589 * gdb.disasm/t02_mova.s: Ditto.
18590 * gdb.disasm/t02_mova.exp: Ditto.
18591 * gdb.disasm/t03_add.s: Ditto.
18592 * gdb.disasm/t03_add.exp: Ditto.
18593 * gdb.disasm/t04_sub.s: Ditto.
18594 * gdb.disasm/t04_sub.exp: Ditto.
18595 * gdb.disasm/t05_cmp.s: Ditto.
18596 * gdb.disasm/t05_cmp.exp: Ditto.
18597 * gdb.disasm/t06_ari2.s: Ditto.
18598 * gdb.disasm/t06_ari2.exp: Ditto.
18599 * gdb.disasm/t07_ari3.s: Ditto.
18600 * gdb.disasm/t07_ari3.exp: Ditto.
18601 * gdb.disasm/t08_or.s: Ditto.
18602 * gdb.disasm/t08_or.exp: Ditto.
18603 * gdb.disasm/t09_xor.s: Ditto.
18604 * gdb.disasm/t09_xor.exp: Ditto.
18605 * gdb.disasm/t10_and.s: Ditto.
18606 * gdb.disasm/t10_and.exp: Ditto.
18607 * gdb.disasm/t11_logs.s: Ditto.
18608 * gdb.disasm/t11_logs.exp: Ditto.
18609 * gdb.disasm/t12_bit.s: Ditto.
18610 * gdb.disasm/t12_bit.exp: Ditto.
18611 * gdb.disasm/t13_otr.s: Ditto.
18612 * gdb.disasm/t13_otr.exp: Ditto.
18613
e00759ef
EZ
186142003-07-22 Elena Zannoni <ezannoni@redhat.com>
18615
18616 * gdb.threads/tls.exp :Add kfail for 'info address' case.
18617
8bc2021f
EZ
186182003-07-22 Elena Zannoni <ezannoni@redhat.com>
18619
a9c64011
AS
18620 * gdb.threads/tls.c : New file.
18621 * gdb.threads/tls.exp : New file.
18622 * gdb.threads/tls-main.c : New file.
18623 * gdb.threads/tls-shared.c : New file.
18624 * gdb.threads/tls-shared.exp : New file.
8bc2021f 18625
89320c4c
AS
186262003-07-22 Andreas Schwab <schwab@suse.de>
18627
18628 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
18629
180dea7c
AS
186302003-07-20 Andreas Schwab <schwab@suse.de>
18631
18632 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
18633 due to insn reordering.
18634
0714963c
AC
186352003-07-15 Andrew Cagney <cagney@redhat.com>
18636
18637 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
18638
98a23b3f
MC
186392003-07-15 Michael Chastain <mec@shout.net>
18640
18641 * gdb.base/gdb1250.exp: New file.
18642 * gdb.base/gdb1250.c: New file.
18643
27e417a2
ML
186442003-07-09 Michal Ludvig <mludvig@suse.cz>
18645
18646 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
18647 expansion of size_t to 'unsigned long', not only to 'unsigned'.
18648
8bc2021f
EZ
186492003-07-09 Elena Zannoni <ezannoni@redhat.com>
18650
a9c64011
AS
18651 * gdb.threads/tls.c: New file.
18652 * gdb.threads/tls.exp: New file.
18653 * gdb.threads/tls-main.c: New file.
18654 * gdb.threads/tls-shared.c: New file.
18655 * gdb.threads/tls-shared.exp: New file.
8bc2021f 18656
d99968dc
EZ
186572003-07-09 Elena Zannoni <ezannoni@redhat.com>
18658
18659 * gdb.base/annota1.exp: Make sure that we properly escape the
18660 full path of the source file. Xfail more permissive patterns,
d63a86f8 18661 due to a compiler debug info problem.
d99968dc 18662
83876b3b
AS
186632003-07-07 Andreas Schwab <schwab@suse.de>
18664
2705e972
AS
18665 * gdb.asm/m68k.inc: New file.
18666 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
18667
83876b3b
AS
18668 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
18669 arguments"): Also match negative number.
18670
18671 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
18672
3a871b37
DJ
186732003-07-03 Daniel Jacobowitz <drow@mvista.com>
18674
18675 * gdb.base/store.c (charest): New typedef.
18676 (add_char): Rename to add_charest, update.
18677 (wack_char): Rename to wack_charest, update types. Return l + r
18678 to keep r live across the call.
18679 (wack_short, wack_int, wack_long, wack_longest, wack_float)
18680 (wack_double, wack_doublest): Return l + r to keep r live across
18681 the call.
18682 * gdb.base/store.exp: Accomodate store.c changes.
18683
b2a7f303
DC
186842003-06-30 David Carlton <carlton@kealia.com>
18685
18686 * gdb.c++/maint.exp (test_invalid_name): New.
18687 (test_first_component): Add tests for invalid names.
18688
3c6cb4a1
MC
186892003-06-29 Michael Chastain <mec@shout.net>
18690
18691 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
18692 output of '<VTT for class>' for virtual base classes.
18693
f1c2644b
DJ
186942003-06-29 Daniel Jacobowitz <drow@mvista.com>
18695
18696 * gdb.base/completion.exp: Tab-complete "complet" instead of
18697 "compl".
18698 * gdb.base/complex.exp, gdb.base/complex.c: New files.
18699
18080350
DJ
187002003-06-29 Daniel Jacobowitz <drow@mvista.com>
18701
18702 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
18703 * gdb.base/volatile.exp: Likewise.
18704
f56973f8
DJ
187052003-06-29 Daniel Jacobowitz <drow@mvista.com>
18706
18707 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
18708 gdb/1265.
18709
187102003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
18711 Daniel Jacobowitz <drow@mvista.com>
18712
18713 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
18714 initial line count of 'captured_main' from 26 to 32.
18715 (test_with_self): Allow xmalloc call to be interleaved with the
18716 preceding two lines.
18717
e766d4d6
JB
187182003-06-24 Joel Brobecker <brobecker@gnat.com>
18719
18720 * gdb.base/bang.exp: New testcase.
18721
f125c9a4
JB
187222003-06-23 Joel Brobecker <brobecker@gnat.com>
18723
18724 * gdb.base/langs.exp: Add some tests for the "minimal" language
18725 support.
18726
6e25beaf
EZ
187272003-06-23 Elena Zannoni <ezannoni@redhat.com>
18728
18729 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
18730 the testcase.
18731
2f816dda
DJ
187322003-06-22 Daniel Jacobowitz <drow@mvista.com>
18733
18734 * gdb.base/relocate.exp: Test add-symbol-file with a variable
18735 offset.
18736
db5a5748
DJ
187372003-06-22 Daniel Jacobowitz <drow@mvista.com>
18738
18739 * gdb.c++/pr-1210.cc: New file.
18740 * gdb.c++/pr-1210.exp: New file.
18741
1df0c130
DJ
187422003-06-21 Daniel Jacobowitz <drow@mvista.com>
18743
18744 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
18745 000-exec-continue.
18746
a92feac0
MK
187472003-06-15 Mark Kettenis <kettenis@gnu.org>
18748
18749 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
18750 on *-*-*bsd* instead of *-*-freebsd*.
18751
81a58f5b
AC
187522003-06-14 Andrew Cagney <cagney@redhat.com>
18753
18754 * gdb.base/store.exp: Test longest and doublest. Test all
18755 parameters. Weaken return statement match.
18756 * gdb.base/store.c: Add longest and doublest - aka long long and
18757 long double functions. Put all parameters into local register
18758 variables. Use negative values.
18759
b257a0d3
AC
187602003-06-14 Andrew Cagney <cagney@redhat.com>
18761
18762 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
18763 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
18764 exit status.
18765 * gdb.base/fileio.exp: Disable target when nointerrupts and
18766 noinferiorio, instead of limiting it to remote. Use remote_exec
18767 instead of system.
d63a86f8 18768
21c38304
JJ
187692003-06-12 Jeff Johnston <jjohnstn@redhat.com>
18770
18771 * gdb.base/float.exp: Add ia64 support.
18772
1bcdb424
CV
187732003-06-12 Corinna Vinschen <vinschen@redhat.com>
18774
18775 * gdb.base/fileio.exp: Run only on remote targets.
18776
6aeb981f
CV
187772003-06-10 Corinna Vinschen <vinschen@redhat.com>
18778
18779 * gdb.base/fileio.c: New file, testing File-I/O.
18780 * gdb.base/fileio.exp: Ditto.
18781
53df362e
RG
187822003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
18783
18784 * gdb.base/shreloc.exp: New file, check symbol values obtained from
18785 shared objects after relocation at load time (gdb PR/1132).
18786 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 18787 as above, part of the shared object relocation test.
53df362e 18788
ffee1b46
MK
187892003-06-08 Mark Kettenis <kettenis@gnu.org>
18790
b5ca3722
MK
18791 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
18792 fully filled history list.
18793 * gdb.base/gdb_history: New file.
18794
03ed860d
MK
18795 * gdb.base/signals.exp: XFAIL "continue to func1" on
18796 i*86-*-freebsd*.
18797
ffee1b46
MK
18798 * gdb.base/attach.exp: When trying to attach to a nonexistent
18799 process, make it possible to specify the PID based on the target,
18800 and do so for *-*-freebsd*.
18801
d80dbb52
RH
188022003-06-02 Richard Henderson <rth@redhat.com>
18803
18804 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
18805
6dd77b81
RH
188062003-06-02 Richard Henderson <rth@redhat.com>
18807
18808 * gdb.base/selftest.exp: Next over lim_at_start initialization.
18809
f6347e16
RH
188102003-06-02 Richard Henderson <rth@redhat.com>
18811
18812 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
18813
2c161407
DJ
188142003-06-01 Daniel Jacobowitz <drow@mvista.com>
18815
18816 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
18817 of globalvar.
18818
572eb746
MK
188192003-06-01 Mark Kettenis <kettenis@gnu.org>
18820
18821 * gdb.asm/asm-source.exp: Check for memory read errors in
18822 disassembler test on *BSD too.
18823
9e9617a5
RH
188242003-06-01 Richard Henderson <rth@redhat.com>
18825
18826 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
18827 for .frame.
18828 (gdbasm_call): Lose ldgp.
18829 (gdbasm_startup): Add frame information.
18830 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
18831
7b34ad4e
MK
188322003-05-31 Mark Kettenis <kettenis@gnu.org>
18833
18834 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
18835 i?86-*-*.
18836
10059fdf
MK
188372003-05-30 Mark Kettenis <kettenis@gnu.org>
18838
18839 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
18840 FreeBSD.
18841
acf4b816
RH
188422003-05-29 Richard Henderson <rth@redhat.com>
18843
18844 * gdb.asm/alpha.inc: New file.
18845 * gdb.asm/asm-source.exp: Use it.
18846
e9ecd949
JB
188472003-05-29 Jim Blandy <jimb@redhat.com>
18848
18849 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
18850 'core.PID'.
18851
e3e5a4f3
JB
188522003-05-22 Jim Blandy <jimb@redhat.com>
18853
18854 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
18855 backtrace.
d63a86f8 18856
72fe3d25
DC
188572003-05-20 David Carlton <carlton@math.stanford.edu>
18858
18859 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
18860 this time.
18861
58da2eb2
DC
188622003-05-19 David Carlton <carlton@bactrian.org>
18863
18864 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
18865 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
18866
1fcb5155
DC
188672003-05-19 David Carlton <carlton@bactrian.org>
18868
18869 * gdb.c++/namespace.exp: Add namespace scope and anonymous
18870 namespace tests.
18871 Bump copyright date.
18872 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
18873 (main): Call C::D::marker2.
18874 * gdb.c++/namespace1.cc: New file.
18875
85e85163
JJ
188762003-05-14 Jeff Johnston <jjohnstn@redhat.com>
18877
18878 Roland McGrath <roland@redhat.com>
d63a86f8 18879 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
18880 there is no manager thread.
18881
a25fbfec
JJ
188822003-05-08 Jeff Johnston <jjohnstn@redhat.com>
18883
d63a86f8
RM
18884 * gdb.threads/schedlock.exp: Remove assumption that all threads
18885 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
18886 in one of the child threads rather than the main thread.
18887
be375bae
JB
188882003-05-07 Jim Blandy <jimb@redhat.com>
18889
09bf6082
JB
18890 Add support for assembly source testing on the s390x.
18891 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
18892 architecture.
18893 * gdb.asm/s390x.inc: New file.
18894
be375bae
JB
18895 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
18896 succession of 'if' statements.
18897
00905d52
AC
188982003-05-05 Andrew Cagney <cagney@redhat.com>
18899
18900 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
18901
b1e29e33
AC
189022003-05-05 Andrew Cagney <cagney@redhat.com>
18903
18904 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
18905 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
18906
e33d66ec
EZ
189072003-05-02 Elena Zannoni <ezannoni@redhat.com>
18908
18909 * gdb.base/charset.exp: Update based on new behavior of set/show
18910 charset commands.
18911
2b6fd0d8
AC
189122003-05-01 Andrew Cagney <cagney@redhat.com>
18913
18914 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
18915 variable do not give memory errors.
18916
130cacce
AF
189172003-04-30 Adam Fedor <fedor@gnu.org>
18918
18919 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
18920 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
18921 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
18922 gdb.objc/basicclass.m: : New files
18923
18924 * lib/gdb.exp (gdb_compile_objc): New procedure.
18925
bea71854
DJ
189262003-04-27 Daniel Jacobowitz <drow@mvista.com>
18927
18928 * gdb.base/signals.exp: Make backtrace tests more specific.
18929
0f20eeea
DC
189302003-04-23 David Carlton <carlton@bactrian.org>
18931
18932 * gdb.c++/maint.exp (test_first_component): Add tests for
18933 'operator' in more locations.
18934
c8c4d8dc
KB
189352003-04-16 Kevin Buettner <kevinb@redhat.com>
18936
18937 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
18938
3fe60e3c
EZ
189392003-04-16 Elena Zannoni <ezannoni@redhat.com>
18940
18941 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 18942 func marke' instead. Update test name.
3fe60e3c 18943
9219021c
DC
189442003-04-15 David Carlton <carlton@math.stanford.edu>
18945
18946 * gdb.c++/maint.exp: New file.
18947
5dd55bdd
EZ
189482003-04-14 Elena Zannoni <ezannoni@redhat.com>
18949
18950 * gdb.threads/schedlock.c: Change type of thread function argument
18951 to long, to avoid warnings on 64-bit platforms.
18952
00890572
EZ
189532003-04-14 Elena Zannoni <ezannoni@redhat.com>
18954
a9c64011
AS
18955 * gdb.base/attach.exp: Add new message from ptrace in case of
18956 attaching to nonexistent process.
d63a86f8 18957
93201743
JB
189582003-04-11 Jim Blandy <jimb@redhat.com>
18959
18960 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
18961 gdb.c++/userdef.cc: Place comments on the lines to which the
18962 marker function might return.
18963 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
18964 gdb.c++/userdef.exp: Look for those comments to check that we've
18965 returned to the right place, instead of checking line numbers.
18966
2a11c64d
EZ
189672003-04-11 Elena Zannoni <ezannoni@redhat.com>
18968
a9c64011
AS
18969 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
18970 match on sourcefile name, instead of directory name.
2a11c64d 18971
68ab8fc5
EZ
189722003-04-10 Elena Zannoni <ezannoni@redhat.com>
18973
d63a86f8 18974 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
18975 working directory name.
18976
5624293a
JB
189772003-04-09 Jim Blandy <jimb@redhat.com>
18978
18979 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
18980 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
18981 after an inferior function call, report the failure, but allow the
18982 test to continue.
18983
f1f02ee4
SC
189842003-04-05 Stephane Carrez <stcarrez@nerim.fr>
18985
18986 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
18987 with -DPROTOTYPES.
18988
6eb79af0
SC
189892003-04-05 Stephane Carrez <stcarrez@nerim.fr>
18990
18991 * gdb.base/break.exp: Revert last patch.
18992
8dfb4cf0
SC
189932003-04-04 Stephane Carrez <stcarrez@nerim.fr>
18994
18995 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
18996 with -DPROTOTYPES.
18997
ed4c619a
AC
189982003-04-02 Andrew Cagney <cagney@redhat.com>
18999
19000 * gdb.base/callfuncs.exp: Make "print add" messages unique.
19001 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
19002 matching directories by the name breakpoint.
19003 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
19004 Make "continue to marker1" consistent.
19005 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
19006 message consistent.
19007 * lib/gdb.exp: Put "the program is no longer running", and "the
19008 program exited" in parenthesis.
19009 * lib/mi-support.exp: Ditto.
d63a86f8 19010
4e35d5f0 190112003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 19012
4e35d5f0
BR
19013 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
19014
71900fe8
AC
190152003-03-29 Andrew Cagney <cagney@redhat.com>
19016
19017 * gdb.base/sizeof.c (main): Print the value of '\377'.
19018 * gdb.base/sizeof.exp: Check the sign of '\377'.
19019
c0655a16
MC
190202003-03-27 Michael Chastain <mec@shout.net>
19021
19022 * gdb.base/gdb1090.exp: New file.
19023 * gdb.base/gdb1090.cc: New file.
19024
5b2a3989
JB
190252003-03-27 J. Brobecker <brobecker@gnat.com>
19026
19027 * gdb.gdb/observer.exp: New regression test.
19028
79876890
MC
190292003-03-27 Michael Chastain <mec@shout.net>
19030
19031 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
19032 * gdb.base/ptype.exp: Likewise.
19033
6eac95e3
CV
190342003-03-27 Corinna Vinschen <vinschen@redhat.com>
19035
19036 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
19037
e8c71839
MC
190382003-03-26 Michael Chastain <mec@shout.net>
19039
19040 * gdb.base/ptype.exp: Actually use some typedef'd types.
19041
71b10041
SC
190422003-03-21 Stephane Carrez <stcarrez@nerim.fr>
19043
19044 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
19045 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
19046
2512cf80
CV
190472003-03-20 Corinna Vinschen <vinschen@redhat.com>
19048
19049 * gdb.base/default.exp: Fix regular expression.
19050
0d195a4f
CV
190512003-03-20 Corinna Vinschen <vinschen@redhat.com>
19052
19053 * gdb.base/args.exp: Fix regular expression.
19054
8a2dbca8
CV
190552003-03-20 Corinna Vinschen <vinschen@redhat.com>
19056
19057 * gdb.base/help.exp: Allow Win32 child process.
19058
bf028682
CV
190592003-03-20 Corinna Vinschen <vinschen@redhat.com>
19060
19061 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
19062 when stepping out of main().
19063
182dbe85
CV
190642003-03-20 Corinna Vinschen <vinschen@redhat.com>
19065
19066 * gdb.base/default.exp: Check for win32 specific message when calling
19067 "run" without executable.
19068
d67a6ba5
CV
190692003-03-20 Corinna Vinschen <vinschen@redhat.com>
19070
19071 * gdb.base/args.exp: Expect .exe in output.
19072
a955b5bb
CV
190732003-03-20 Corinna Vinschen <vinschen@redhat.com>
19074
19075 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
19076 Cygwin native.
19077
bf6bad4b
AC
190782003-03-17 Andrew Cagney <cagney@redhat.com>
19079
19080 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
19081 vector registes.
19082 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
19083 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
19084
293e9a31
DC
190852003-03-17 David Carlton <carlton@math.stanford.edu>
19086
19087 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
19088 test, for PR breakpoints/38.
19089 Call test_watchpoint_and_breakpoint.
19090 * gdb.base/watchpoint.c (func3): New function.
19091 (main): Call func3.
19092
5330f2db
DC
190932003-03-04 David Carlton <carlton@math.stanford.edu>
19094
19095 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
19096 Garply<Garply<char> >:: garply".
19097 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
19098 with respect to PR c++/1111; note also PR c++/1113.
19099 (test_template_breakpoints): KFAIL "constructor breakpoint" with
19100 respect to PR c++/1062.
19101 KFAIL "destructor breakpoint" with respect to PR c++/1112.
19102
6ece72da
DC
191032003-03-03 David Carlton <carlton@math.stanford.edu>
19104
19105 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
19106 with respect to PR c++/57.
19107 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
19108 c++/826.
19109 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
19110 respect to PR c++/57.
19111
85ca1584
DC
191122003-03-03 David Carlton <carlton@math.stanford.edu>
19113
19114 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
19115 respect to PR c++/33 into FAILs.
19116
98e9c5b8
MC
191172003-03-03 Michael Chastain <mec@shout.net>
19118
7bedbf27
MC
19119 * configure.in: Update copyright years.
19120
191212003-03-03 Michael Chastain <mec@shout.net>
19122
19123 * Makefile.in: Update copyright years.
98e9c5b8 19124
f683e100
DC
191252003-02-28 David Carlton <carlton@math.stanford.edu>
19126
19127 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
19128 print class instead of struct and/or superfluous protection
19129 specifiers, as long as the resulting output is equivalent to the
19130 source code.
19131 Delete FIXME from end of messages on tests that don't need
19132 fixing.
19133
a9e0cf2c
DC
191342003-02-28 David Carlton <carlton@math.stanford.edu>
19135
19136 * gdb.c++/templates.exp (do_tests): Allow const in the two
19137 Foo<volatile char *>::foo tests.
19138
e8d359df
MS
191392003-02-27 Michael Snyder <msnyder@redhat.com>
19140
d63a86f8 19141 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
19142 will be consistant.
19143
0b71dc91
DC
191442003-02-26 David Carlton <carlton@math.stanford.edu>
19145
19146 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
19147 char *>::foo" test with respect to PR c++/33. Create a new test
19148 which is identical to that one except that it doesn't put the
19149 space between the "char" and the "*"; KFAIL it, too.
19150
dd14ab43
DC
191512003-02-26 David Carlton <carlton@math.stanford.edu>
19152
19153 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
19154 template types into either PASSes or KFAILs (corresponding to PR
19155 c++/57). Tweak indentation. Update copyright.
19156
1146c7f1
SC
191572003-02-23 Stephane Carrez <stcarrez@nerim.fr>
19158
19159 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
19160
74641dfb
MC
191612003-02-13 Michael Chastain <mec@shout.net>
19162
19163 * gdb.base/exprs.exp: Remove i960 remnants.
19164 * gdb.base/funcargs.exp: Likewise.
19165 * gdb.base/list.exp: Likewise.
19166 * gdb.base/ptype.exp: Likewise.
19167
559cd2d0
DC
191682003-02-14 David Carlton <carlton@math.stanford.edu>
19169
19170 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
19171 pEe->D::vg()" from XFAIL to KFAIL.
19172
c4f90d87
JM
191732003-02-13 Jason Molenda (jmolenda@apple.com)
19174
19175 * gdb.base/maint.exp: Update maint print statistics regexp to include
19176 new entries.
19177
cbc4d97c
MC
191782003-02-13 Michael Chastain <mec@shout.net>
19179
19180 * gdb.c++/inherit.exp: Remove call to get_debug_format.
19181
40f235b7
MC
191822003-02-12 Michael Chastain <mec@shout.net>
19183
19184 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
19185 * gdb.c++/inherit.exp: Likewise.
19186 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
19187 * gdb.c++/templates.exp: Likewise.
19188 * gdb.c++/virtfunc.exp: Likewise.
19189
c56716b0
JM
191902003-02-06 Jason Molenda (jason-cl@molenda.com)
19191
19192 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
19193 why the code is written that way.
19194
070afcf8
MC
191952003-02-05 Michael Chastain <mec@shout.net>
19196
19197 * gdb.base/dump.exp: Add missing copyright line.
19198
5d0331e5
JM
191992003-02-05 Jason Molenda (jason-cl@molenda.com)
19200
f7ae6d3e 19201 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
19202 at the beginning so the breakpoint doesn't get set on the loop.
19203
92851186
MC
192042003-02-05 Michael Chastain <mec@shout.net>
19205
19206 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
19207 output for configurations with gcc 2.95.3.
19208
cbf1e085
AC
192092003-02-05 Keith Seitz <keiths@redhat.com>
19210 Andrew Cagney <ac131313@redhat.com>
19211
19212 * gdb.mi/mi-cli.exp: New file.
d63a86f8 19213
29518e1e
MC
192142003-02-04 Michael Chastain <mec@shout.net>
19215
19216 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
19217 Call perror and then continue.
19218
5af1d5f3
MC
192192003-02-03 Michael Chastain <mec@shout.net>
19220
19221 * gdb.c++/pr-1023.cc: New file.
19222 * gdb.c++/pr-1023.exp: New file.
19223
6b549786
JB
192242003-02-05 Jim Blandy <jimb@redhat.com>
19225
19226 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
19227 it's local to foobar. Check for it there, and check that it's not
19228 present in main.
19229 * gdb.c++/local.cc (marker2): New function.
19230 (foobar): Call marker1.
19231 (main): Call marker2 instead of marker1.
19232
67f16606
AC
192332003-02-04 Andrew Cagney <ac131313@redhat.com>
19234
19235 * gdb.disasm/mn10200.exp: Obsolete file.
19236 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
19237 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
19238 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
19239
1c5cb38e
DC
192402003-02-04 David Carlton <carlton@math.stanford.edu>
19241
19242 * gdb.c++/overload.exp: Test intToChar(1).
19243 * gdb.c++/overload.cc (intToChar): New.
19244 (main): Call intToChar.
19245
d1fe6965
DC
192462003-02-03 David Carlton <carlton@math.stanford.edu>
19247
19248 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
19249 'might_kfail' arg.
19250 KFAIL some of the continue_to_bp_overloaded calls, according to
19251 PR c++/1025.
19252
9ba61c5d
MC
192532003-02-01 Michael Chastain <mec@shout.net>
19254
19255 * gdb.base/advance.c (marker1): New marker function.
19256 * gdb.base/advance.exp: When the 'advance' command lands on the
19257 return breakpoint, it can legitimately stop on either the
19258 current line or the next line. Accommodate both outcomes.
19259 * gdb.base/until.exp: Likewise.
19260
e7494ffb
AC
192612003-02-02 Andrew Cagney <ac131313@redhat.com>
19262
19263 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19264 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
19265 now a list, not a tuple.
19266 * gdb.mi/mi-var-display.exp: Ditto.
19267 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 19268
075559bc
AC
192692003-02-01 Andrew Cagney <ac131313@redhat.com>
19270
19271 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19272 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
19273 stack backtraces.
19274 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 19275
2bd4c7b1
MK
192762003-02-01 Mark Kettenis <kettenis@gnu.org>
19277
19278 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19279 gdb.mi/mi1-pthreads.exp: Return instead of calling
19280 gdb_suppress_entire_file.
19281
eabd8992
MS
192822003-02-01 Mark Salter <msalter@redhat.com>
19283
19284 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
19285
71469e2f
MS
192862003-01-31 Mark Salter <msalter@redhat.com>
19287
19288 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
19289 Support empty arg.
19290
38a94d44
MC
192912003-01-30 Michael Chastain <mec@shout.net>
19292
19293 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
19294 This was a workaround for a UTF-8 bug in readline 4.3. The bug
19295 has been fixed in gdb/readline on 2003-01-09.
19296
19ea9e73
MS
192972003-01-29 Michael Snyder <msnyder@redhat.com>
19298
e8d359df
MS
19299 * gdb.base/maint.exp: Allow for leading underscore in symbol.
19300 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
19301 * gdb.base/args.exp: Skip if target does not support args passing.
19302
2307bd6a
DJ
193032003-01-22 Daniel Jacobowitz <drow@mvista.com>
19304
19ea9e73 19305 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
19306 gdb_test. Accept a list of expect arguments as the third
19307 parameter.
19308 (gdb_test): Use it.
19309
f2dd3617
EZ
193102003-01-20 Elena Zannoni <ezannoni@redhat.com>
19311
19312 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
19313 allow for different test tree configurations. Update some
19314 tescases accordingly.
19315 * gdb.arch/altivec-regs.exp: Ditto.
19316 * gdb.asm/asm-source.exp: Ditto.
19317 * gdb.base/advance.exp: Ditto.
19318 * gdb.base/display.exp: Ditto.
d63a86f8 19319 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
19320 * gdb.base/mips_pro.exp: Ditto.
19321 * gdb.base/overlays.exp: Ditto.
19322 * gdb.base/relocate.exp: Ditto.
19323 * gdb.base/setshow.exp: Ditto.
19324 * gdb.base/step-line.exp: Ditto.
19325 * gdb.base/step-test.exp: Ditto.
19326 * gdb.base/until.exp: Ditto.
19327 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
19328
c71cdefd
DC
193292003-01-17 David Carlton <carlton@math.stanford.edu>
19330
19331 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
19332 corresponding to PR c++/945.
19333 Update copyright.
19334
fdba05d7
DC
193352003-01-17 David Carlton <carlton@math.stanford.edu>
19336
19337 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
19338 corresponding to PR c++/68.
19339
193402003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
19341
19342 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
19343 (test_paddr_hairy_functions): Call print_addr_2_kfail for
19344 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
19345
c362c33a
EZ
193462003-01-15 Elena Zannoni <ezannoni@redhat.com>
19347
0fbc361c
EZ
19348 * gdb.base/break.exp: Fix change of default location, because of
19349 removal of until tests.
19350 * gdb.base/help.exp: Update test for new 'until' help message.
19351 Add test for help on 'advance'.
a9c64011 19352 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 19353
dabf8a35
MK
193542003-01-15 Mark Kettenis <kettenis@gnu.org>
19355
19356 * gdb.base/default.exp: Adapt "info float" test for recent changes
19357 to that command. Add test for "info vector".
19358 * gdb.base/float.exp: New file. Add test for "info float" that
19359 resembles the old test in gdb.base/default.exp.
19360
a1769aca
DC
193612003-01-15 David Carlton <carlton@math.stanford.edu>
19362
19363 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
19364
82025e13
EZ
193652003-01-15 Elena Zannoni <ezannoni@redhat.com>
19366
19367 * gdb.base/break.exp: Move the tests of until command from here...
19368 * gdb.base/until.exp: ... to here. New file. Add other tests.
19369 * gdb.base/advance.c: New file.
19370 * gdb.base/advance.exp: New file.
19371
8f9ab801
EZ
193722003-01-14 Elena Zannoni <ezannoni@redhat.com>
19373
a9c64011
AS
19374 * gdb.base/args.c: New file.
19375 * gdb.base/args.exp: New file.
8f9ab801 19376
9ae66589
DJ
193772003-01-14 Daniel Jacobowitz <drow@mvista.com>
19378
19379 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
19380
8d77e5c3
DJ
193812003-01-14 Daniel Jacobowitz <drow@mvista.com>
19382
19383 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
19384
12d2f0a1
DJ
193852003-01-14 Daniel Jacobowitz <drow@mvista.com>
19386
19387 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
19388 dates.
19389
6ca37014
DJ
193902003-01-13 Daniel Jacobowitz <drow@mvista.com>
19391
19392 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
19393
b0023472
DJ
193942003-01-13 Daniel Jacobowitz <drow@mvista.com>
19395
19396 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
19397 (ptype &*"foo").
19398 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
19399
607fbc54 194002003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
19401
19402 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
19403 * gdb.mi/mi1-console.exp: Likewise.
19404
607fbc54 194052003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
19406
19407 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
19408 * gdb.mi/mi1-console.exp: Likewise.
19409
a1fb14a2
DJ
194102003-01-13 Daniel Jacobowitz <drow@mvista.com>
19411
19412 * gdb.c++/overload.exp: Remove some fixed XFAILs.
19413
c4cf40b7
DJ
194142003-01-09 Daniel Jacobowitz <drow@mvista.com>
19415
19416 * gdb.base/detach.exp: New test.
19417
696d5a5b
DJ
194182003-01-09 Daniel Jacobowitz <drow@mvista.com>
19419
19420 * Makefile.in (ALL_SUBDIRS): New variable.
19421 (subdirs, clean, distclean): Use it.
19422 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
19423 regenerating Makefile, since it is generated from the top level.
19424 * gdb.asm/Makefile.in: Likewise.
19425 * gdb.base/Makefile.in: Likewise.
19426 * gdb.c++/Makefile.in: Likewise.
19427 * gdb.disasm/Makefile.in: Likewise.
19428 * gdb.java/Makefile.in: Likewise.
19429 * gdb.mi/Makefile.in: Likewise.
19430 * gdb.threads/Makefile.in: Likewise.
19431 * gdb.trace/Makefile.in: Likewise.
19432
754533e4
DC
194332003-01-09 David Carlton <carlton@math.stanford.edu>
19434
19435 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
19436 Add copyright year 2003.
19437
d8b3e9ee
MC
194382003-01-06 Michael Chastain <mec@shout.net>
19439
19440 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
19441 When selecting a thread, 'line' and 'file' are optional.
19442 * gdb.mi/mi1-pthreads.exp: Likewise.
19443
8e9e0fe6
AS
194442003-01-06 Andreas Schwab <schwab@suse.de>
19445
19446 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
19447 failures.
19448
b5ab8ff3
DJ
194492003-01-04 Daniel Jacobowitz <drow@mvista.com>
19450
19451 Fix PR gdb/844
19452 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
19453 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
19454
19455 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
19456 instead of calling gdb_suppress_entire_file.
19457 * gdb.threads/print-threads.exp: Likewise.
19458 * gdb.threads/schedlock.exp: Likewise.
19459
19460 * gdb.threads/killed.exp: Return instead of calling
19461 gdb_suppress_entire_file.
19462 * gdb.threads/linux-dp.exp: Likewise.
19463 * gdb.threads/pthreads.exp: Likewise.
19464
1e698235
DJ
194652003-01-04 Daniel Jacobowitz <drow@mvista.com>
19466
19467 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
19468 stabs.
19469 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
19470 * gdb.base/whatis.exp: Always allow (void) after function names.
19471
147ff08c
DJ
194722003-01-04 Daniel Jacobowitz <drow@mvista.com>
19473
19474 * gdb.c++/casts.exp: Correct regexp.
19475
dc62bfc2
MK
194762003-01-04 Mark Kettenis <kettenis@gnu.org>
19477
19478 * configure.in: Call AC_CONFIG_HEADER. Don't call
19479 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
19480 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
19481 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
19482 aforementioned directories in the AC_OUPUT call.
19483 * config.hin: New file.
19484 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19485 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
19486 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
19487 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
19488 pass -I$objdir instead of -I$objdir/$subdir in compilation.
19489 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
19490 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
19491 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
19492 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
19493 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
19494 gdb.threads/configure.in, gdb.threads/configure,
19495 gdb.threads/config.in, gdb.trace/configure.in,
19496 gdb.trace/configure: Removed.
19497
77afa639
MC
194982003-01-03 Michael Chastain <mec@shout.net>
19499
19500 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
19501 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
19502
7634bb6e
DJ
195032003-01-03 Daniel Jacobowitz <drow@mvista.com>
19504
19505 * gdb.base/store.exp: Fix regular expressions.
19506
b39c905e
MK
195072002-12-28 Mark Kettenis <kettenis@gnu.org>
19508
19509 * configure.in: Rewrite.
19510 * configure: Regenerated.
19511
0a8551dd
DC
195122003-01-03 David Carlton <carlton@math.stanford.edu>
19513
19514 * gdb.base/psymtab.exp: New file.
19515 * gdb.base/psymtab1.c: Ditto.
19516 * gdb.base/psymtab2.c: Ditto.
19517
c60b7188
AF
195182002-12-23 Adam Fedor <fedor@gnu.org>
19519
19520 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
19521
ee73db83
DC
195222002-12-23 David Carlton <carlton@math.stanford.edu>
19523
19524 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
19525 and current_directory initialization.
19526
d6c1774e
JB
195272002-12-22 Jim Blandy <jimb@redhat.com>
19528
f0a847b8
JB
19529 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
19530 rather than as part of the output file name.
19531
d6c1774e
JB
19532 * gdb.base/attach.exp: There's no need to copy the test program to
19533 /tmp; that was only ever necessary on HP/UX, and this test is
19534 entirely disabled there anyway.
19535
f0708dbb
JB
195362002-12-21 Jim Blandy <jimb@redhat.com>
19537
4c2acfea
JB
19538 * gdb.c++/psmang.exp: Doc fix.
19539
f0708dbb
JB
19540 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
19541 test.
19542
9579e000
DC
195432002-12-20 David Carlton <carlton@math.stanford.edu>
19544
19545 * gdb.c++/annota2.exp: KFAIL annotate-quit.
19546
d1810171
MC
195472002-12-18 Michael Chastain <mec@shout.net>
19548
19549 * gdb.c++/annota2.exp: Add copyright year 2002.
19550
76565097
DC
195512002-12-17 David Carlton <carlton@math.stanford.edu>
19552
19553 * gdb.c++/try_catch.cc: Add marker comments.
19554 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
19555 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
19556 * gdb.c++/m-static.cc: Ditto.
19557 * gdb.c++/m-static1.cc: Ditto.
19558 * gdb.c++/try_catch.cc: Ditto.
19559
da81390b
JJ
195602002-12-16 Jeff Johnston <jjohnstn@redhat.com>
19561
19562 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
19563 to see whether we are using the new -environment-directory
19564 command which resets via -r or the old version of the command
19565 which may prompt the user. Part of fix for gdb/741.
19566
b304d130
AC
195672002-12-13 Andrew Cagney <ac131313@redhat.com>
19568
19569 * gdb.fortran/types.exp: Update obsolete comment.
19570 * gdb.fortran/exprs.exp: Ditto.
19571 * lib/gdb.exp: Delete obsolete code.
19572 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
19573 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
19574 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
19575 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
19576 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
19577 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
19578 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
19579 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
19580 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
19581 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
19582 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
19583 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
19584 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
19585 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
19586 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
19587 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
19588 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
19589 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
19590 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
19591 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
19592 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
19593 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
19594 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
19595 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
19596 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
19597 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
19598 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
19599 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
19600 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
19601 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
19602 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
19603 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
19604 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
19605 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
19606 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
19607 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
19608 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
19609
a23b6e6a
DC
196102002-12-11 David Carlton <carlton@math.stanford.edu>
19611
19612 * gdb.c++/m-data.exp: Add test for members that shadow global
19613 variables: see PR gdb/804.
19614 * gdb.c++/m-data.cc: Ditto.
19615
6604731b
DJ
196162002-12-10 Daniel Jacobowitz <drow@mvista.com>
19617
19618 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
19619
de46ecd7
DC
196202002-12-06 David Carlton <carlton@math.stanford.edu>
19621
19622 * gdb.base/store.c: Don't declare functions static.
19623
27e829d0
AC
196242002-12-04 Andrew Cagney <ac131313@redhat.com>
19625
19626 * gdb.base/store.exp, gdb.base/store.c: New files.
19627
92806416
DJ
196282002-12-03 Daniel Jacobowitz <drow@mvista.com>
19629
19630 * gdb.base/selftest.exp: Update for current gdb.
19631
3bcbaac5
DJ
196322002-12-03 Daniel Jacobowitz <drow@mvista.com>
19633
19634 * gdb.base/maint.exp: Only dump symbols from one source file
19635 or objfile.
19636
f4f00b1f
DJ
196372002-12-03 Daniel Jacobowitz <drow@mvista.com>
19638
19639 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
19640 function call.
19641
f1c8a949
JB
196422002-11-25 Jim Blandy <jimb@redhat.com>
19643
19644 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
19645 function appearing in error message.
19646
9e297a97
DJ
196472002-11-21 Daniel Jacobowitz <drow@mvista.com>
19648
19649 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
19650
1f312e79
JJ
196512002-11-08 Jeff Johnston <jjohnstn@redhat.com>
19652
d63a86f8
RM
19653 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
19654 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
19655 should be in mi console format. This is part of fix for PR gdb/604.
19656
83c31e7d
FN
196572002-09-18 Fernando Nasser <fnasser@redhat.com>
19658
19659 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
19660 which explicitly prints the zero offset as "+0".
19661
322b3f65
DJ
196622002-10-22 Daniel Jacobowitz <drow@mvista.com>
19663
19664 * gdb.threads/schedlock.c (args): Make unsigned.
19665
196662002-10-21 Daniel Jacobowitz <drow@mvista.com>
19667
19668 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
19669 numbers. Allow "foo2|selected stack frame".
19670 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
19671 * gdb.asm/asmsrc2.s: Likewise.
19672 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
19673 comments.
19674 * gdb.asm/mips.inc: New file.
19675
5e2fe5b8
AF
196762002-10-18 Adam Fedor <fedor@gnu.org>
19677
19678 * gdb.base/default.exp: Update expected output to include 'ObjC'.
19679 * gdb.base/help.exp: Likewise.
19680
abe1a5d0
KB
196812002-10-17 Kevin Buettner <kevinb@redhat.com>
19682
19683 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
19684 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
19685
10abb1d4
JB
196862002-10-02 Jim Blandy <jimb@redhat.com>
19687
19688 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
19689
1f609b42
AC
196902002-10-01 Andrew Cagney <ac131313@redhat.com>
19691
19692 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
19693 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
19694 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
19695 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
19696 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
19697 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
19698 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
19699
0aee02e4
AC
197002002-09-29 Andrew Cagney <ac131313@redhat.com>
19701
19702 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
19703 * mi0-disassemble.exp, mi0-eval.exp: Delete.
19704 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
19705 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
19706 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
19707 * mi0-var-block.exp, mi0-var-child.exp: Delete.
19708 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 19709
6fde09ad
KB
197102002-09-27 Kevin Buettner <kevinb@redhat.com>
19711
19712 * gdb.base/annota1.exp (info break): Make directory components of
19713 path optional since not all compilers emit this debug information.
19714
889bf7c5
PA
19715 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
19716 step ends up stepping out of the function instead of stopping on
19717 the epilogue.
6fde09ad 19718
9e8aab75
KS
197192002-09-26 Keith Seitz <keiths@redhat.com>
19720
19721 * lib/insight-support.exp (gdbtk_start): Figure out where
19722 the insight executable is based on where gdb is. Use this
19723 executable to start insight instead of gdb.
19724
e36180d7
AC
197252002-09-25 Andrew Cagney <cagney@redhat.com>
19726
19727 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
19728
9dd34b2b
AC
197292002-09-24 Andrew Cagney <ac131313@redhat.com>
19730
19731 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
19732 test_isolated_complaints.
19733 (test_empty_complaint): New function.
19734 (test_empty_complaints): New function. Check no output when no
19735 complaints.
d63a86f8 19736
dea97812
KB
197372002-09-19 Jim Blandy <jimb@redhat.com>
19738
a9c64011 19739 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 19740
54951bd7
AC
197412002-09-19 Andrew Cagney <ac131313@redhat.com>
19742
19743 * gdb.gdb/complaints.exp: New file.
19744
dec43320
AC
197452002-09-18 Andrew Cagney <ac131313@redhat.com>
19746
19747 * gdb.base/maint.exp: Check `help maint internal-warning'.
19748
e70d6e3f
DC
197492002-09-18 David Carlton <carlton@math.stanford.edu>
19750
19751 * gdb.c++/m-static.exp: Remove breakpoints depending on line
19752 numbers, and replace them by a single breakpoint after the
19753 constructors are all finished.
19754 Add test 4.
19755 * gdb.c++/m-static.cc: Add test 4.
19756 * gdb.c++/m-static.h: New file.
19757 * gdb.c++/m-static1.cc: New file.
19758
19759 * gdb.c++/printmethod.exp: New file.
19760 * gdb.c++/printmethod.cc: New file.
19761
19762 * gdb.c++/pr-574.exp: New file.
19763 * gdb.c++/pr-574.cc: New file.
19764
afb5c968
CV
197652002-09-18 Corinna Vinschen <vinschen@redhat.com>
19766
19767 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
19768 embedded targets which never actually exit.
19769
31e45dee
FN
197702002-09-18 Fernando Nasser <fnasser@redhat.com>
19771
19772 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
19773 "don't step after run" as unresolved or unsupported, instead of xfail.
19774
a283c5a1
CV
197752002-09-18 Corinna Vinschen <vinschen@redhat.com>
19776
19777 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
19778 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
19779 Add newline to expected string in "step out of main (status wrapper)"
19780 case.
19781
11350d2a
CV
197822002-09-18 Corinna Vinschen <vinschen@redhat.com>
19783
19784 * lib/gdb.exp (rerun_to_main): Allow restarting application.
19785 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
19786
0deec7d6
TT
197872002-09-17 Tom Tromey <tromey@redhat.com>
19788
19789 * gdb.base/printcmds.exp (test_print_string_constants): Expect
19790 \000, not \0, in double-quoted string.
19791
b2b4a1b5
CV
197922002-09-14 Corinna Vinschen <vinschen@redhat.com>
19793
c9d37158 19794 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
19795 string after running the commands execution on breakpoint tests.
19796
1c56143a
CV
197972002-09-13 Corinna Vinschen <vinschen@redhat.com>
19798
19799 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
19800
37f8da45
JB
198012002-09-12 Joel Brobecker <brobecker@gnat.com>
19802
19803 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
19804
08b468e0
KS
198052002-09-10 Keith Seitz <keiths@redhat.com>
19806
19807 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
19808 runto proc.
19809 (mi_run_to_main): Use mi_runto.
19810 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
19811
dc360f58
KS
198122002-09-10 Keith Seitz <keiths@redhat.com>
19813
19814 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
19815 regexp for stopping at main. Could have multiple event notifications.
19816 Don't assume that main was declared with no parameters.
19817 (mi_next): Use mi_step_to.
19818 (mi_step): Use mi_next_to.
19819
ce3abcfb
CV
198202002-09-09 Corinna Vinschen <vinschen@redhat.com>
19821
19822 * gdb.base/default.exp: Fix expected string in `info float' test.
19823
d1f5b980
BE
198242002-09-09 Ben Elliston <bje@redhat.com>
19825
19826 * config/mips.exp: Update comments.
19827 * config/mips-idt.exp: Likewise.
19828 * config/nind.exp: Likewise.
19829 * config/slite.exp: Likewise.
19830 * config/sparclet.exp: Likewise.
19831 * config/udi.exp: Likewise.
19832 * config/vx.exp: Likewise.
19833 * config/vxworks29k.exp: Likewise.
19834
2f71430b
JB
198352002-09-05 Jim Blandy <jimb@redhat.com>
19836
19837 * gdb.threads/killed.exp: Fix test failure message.
19838
7ddebc7e
KS
198392002-09-04 Keith Seitz <keiths@redhat.com>
19840
19841 * lib/mi-support.exp: Update copyright.
19842 (mi_gdb_test): Increase the priority of the expected pattern
19843 so that it matches gdb_test.
19844
0ae67eb3
KS
198452002-09-03 Keith Seitz <keiths@redhat.com>
19846
19847 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
19848 Use integer comparison instead of string comparison for testing
19849 whether binary was built.
19850
38fc42c8
JB
198512002-09-03 Jim Blandy <jimb@redhat.com>
19852
19853 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
19854
b6ff0e81
JB
198552002-08-29 Jim Blandy <jimb@redhat.com>
19856
19857 * gdb.threads/pthreads.exp: Move the portable thread compilation
19858 code into a function in lib/gdb.exp, and call that from here.
19859 * lib/gdb.exp (gdb_compile_pthreads): New function.
19860
07c98896
KS
198612002-08-29 Keith Seitz <keiths@redhat.com>
19862
19863 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
19864 expect_out so that callers can get at it.
19865
0312286c
DJ
198662002-08-23 Daniel Jacobowitz <drow@mvista.com>
19867
19868 * gdb.threads/print-threads.c: New file.
19869 * gdb.threads/print-threads.exp: New file.
19870 * gdb.threads/schedlock.c: New file.
19871 * gdb.threads/schedlock.exp: New file.
19872
dd039bc4
EZ
198732002-08-22 Elena Zannoni <ezannoni@redhat.com>
19874
a9c64011
AS
19875 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
19876 not altivec.c.
dd039bc4 19877
1f36144c
MK
198782002-08-17 Mark Kettenis <kettenis@gnu.org>
19879
19880 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
19881 targets. The problem should be fixed now.
19882
16057ec7 198832002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
19884
19885 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
19886 2002-07-24 change that removes final dots from error messages.
19887
3c1499ad
TT
198882002-08-13 Tom Tromey <tromey@redhat.com>
19889
19890 * gdb.base/readline.exp: New file.
19891
a20ce2c3
AC
198922002-08-01 Andrew Cagney <ac131313@redhat.com>
19893
19894 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
19895 supress message.
19896
db034ac5
AC
198972002-08-01 Andrew Cagney <cagney@redhat.com>
19898
19899 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
19900 CHILL_FOR_TARGET and CHILL_LIB.
19901 * configure.in (configdirs): Remove gdb.chill.
19902 * configure: Regenerate.
19903 * lib/gdb.exp: Obsolete references to chill.
19904 * gdb.fortran/types.exp: Ditto.
19905 * gdb.fortran/exprs.exp: Ditto.
19906
3e000b18
KB
199072002-07-30 Kevin Buettner <kevinb@redhat.com>
19908
19909 * gdb.base/shlib-call.exp (additional_flags): Conditionally
19910 set Irix-specific compile and link flags.
19911
28f4966b
KB
199122002-07-29 Kevin Buettner <kevinb@redhat.com>
19913
19914 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
19915 source files. The ``-o'' option doesn't work with the ``-E'' option
19916 when using the Irix compiler.
19917
46c0d5a6
DJ
199182002-07-19 Daniel Jacobowitz <drow@mvista.com>
19919
19920 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
19921 Improve support for reusing an exec file. Copy exec file
19922 to target, and run gdbserver on the target instead of on the host.
19923
eecf4bed
JB
199242002-07-18 Jim Blandy <jimb@redhat.com>
19925
0f815cdf
JB
19926 * gdb.base/ending-run.exp: Don't expect to see the program end in
19927 some orderly fashion when we're running on a real stand-alone
19928 board.
19929
eecf4bed
JB
19930 * gdb.base/interrupt.exp: Correct logic for skipping tests on
19931 targets that don't support interrupts.
19932
52d309e4
JB
199332002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
19934
19935 * gdb.base/attach.exp: Add patterns to match output from /proc-based
19936 systems.
19937 Move comments in expect statements to inside the actions, so that they
19938 don't get matched against.
19939
ff683d9e
MK
199402002-07-10 Mark Kettenis <kettenis@gnu.org>
19941
19942 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
19943 function when asleep" test.
19944
b5356753
AC
199452002-07-10 Andrew Cagney <ac131313@redhat.com>
19946
19947 * gdb.base/page.exp: Rewrite to handle problems with very long
19948 `info set' output. Update copyright.
19949
6aa4d13a
AC
199502002-06-26 Andrew Cagney <ac131313@redhat.com>
19951
19952 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
19953 gdb.threads-hp.
19954 * gdb.hp/configure: Regenerate.
19955 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
19956 * gdb.hp/gdb.threads-hp/configure: Delete file.
19957 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
19958
8cf8c2b8
AC
199592002-06-22 Andrew Cagney <ac131313@redhat.com>
19960
19961 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
19962 setlocale, bindtextdomain and textdomain.
19963
6827a8f8
JB
199642002-06-11 Jim Blandy <jimb@redhat.com>
19965
919d772c
JB
19966 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
19967 preprocessor macro information is present.
19968
6827a8f8
JB
19969 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
19970 tests.
19971
c15b0d21
MS
199722002-06-06 Michael Snyder <msnyder@redhat.com>
19973
c5984d70
MS
19974 * gdb.base/overlays.exp: Record addresses of overlay
19975 functions in TCL variables rather than in GDB variables,
19976 to avoid having GDB convert them to pointers (with loss
19977 of information).
19978
d63a86f8 19979 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 19980 default linker script changes.
c15b0d21
MS
19981 * gdb.base/long_long.exp: Add check for sizeof (long double).
19982
be26fe0d
ML
199832002-06-06 Michal Ludvig <mludvig@suse.cz>
19984
19985 * gdb.asm/asm-source.exp: Add x86-64 target.
19986 * gdb.asm/x86_64.inc: New.
d63a86f8 19987
258093ca 199882002-05-30 Michael Chastain <mec@shout.net>
258093ca 19989
4b3153f1 19990 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
19991 * gdb.c++/m-static.cc: New file.
19992 * gdb.c++/m-static.exp: New file.
19993
241264c6
MS
199942002-05-28 Michael Snyder <msnyder@redhat.com>
19995
19996 * gdb.base/call-ar-st.exp: Allow for reduced floating point
19997 precision.
19998
9bba8c8f 199992002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 20000
4b3153f1 20001 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
20002 * gdb.c++/m-data.cc: New file.
20003 * gdb.c++/m-data.exp: New file.
20004
200052002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 20006
4b3153f1 20007 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 20008 * gdb.c++/try_catch.cc: New file.
d63a86f8 20009 * gdb.c++/try_catch.exp: New file.
9bba8c8f 20010
def1b996
MC
200112002-05-27 Michael Chastain <mec@shout.net>
20012
20013 * gdb.c++/local.exp: Accept more nested types in output.
20014
522ba268
MC
200152002-05-26 Michael Chastain <mec@shout.net>
20016
20017 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
20018
277254ba
MS
200192002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
20020
20021 * lib/gdb.exp (gdb_wrapper_init): Just because
20022 gdb_wrapper_file exists, this does not mean that the file
20023 should not be rebuilt. That is what gdb_wrapper_initialized
20024 is for.
20025 (default_gdb_init): Reset gdb_wrapper_initialized.
20026
b61a8733
MS
200272002-05-23 Michael Snyder <msnyder@redhat.com>
20028
d63a86f8 20029 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
20030 the precision of the floating point test results.
20031 * gdb.base/call-rt-st.exp: Ditto.
20032
b61a8733
MS
20033 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
20034 * gdb.base/call-rt-st.exp: Ditto.
20035
56f6e910
MC
200362002-05-19 Michael Chastain <mec@shout.net>
20037
20038 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
20039
ad0b0016
EZ
200402002-05-19 Elena Zannoni <ezannoni@redhat.com>
20041
a9c64011
AS
20042 * configure.in (configdirs): Add gdb.arch.
20043 * configure: Regenerate.
ad0b0016 20044
f617d2b6
JB
200452002-05-17 Jim Blandy <jimb@redhat.com>
20046
20047 * gdb.base/completion.exp: Recognize the more detailed error
20048 messages produced by the macro expander's lexical analyzer.
20049
eac2a696
EZ
200502002-05-14 Elena Zannoni <ezannoni@redhat.com>
20051
a9c64011
AS
20052 * gdb.arch/altivec-abi.c: New file.
20053 * gdb.arch/altivec-abi.exp: New file.
20054 * gdb.arch/altivec-regs.c: New file.
20055 * gdb.arch/altivec-regs.exp: New file.
eac2a696 20056
2fdde8f8
DJ
200572002-05-14 Daniel Jacobowitz <drow@mvista.com>
20058
20059 * gdb.base/maint.exp (maint print type): Update for new type
20060 structure.
d63a86f8 20061
e31f1a7c
EZ
200622002-05-14 Elena Zannoni <ezannoni@redhat.com>
20063
20064 * gdb.arch: New directory.
20065 * gdb.arch/configure.in: New file.
20066 * gdb.arch/configure: New file.
20067 * gdb.arch/Makefile.in: New file.
20068
db589741
CV
200692002-05-13 Corinna Vinschen <vinschen@redhat.com>
20070
20071 * gdb.asm/asm-source.exp: Add v850 as supported target.
20072 * gdb.asm/v850.inc: New file.
20073
8ce2a7dc
DJ
200742002-05-13 Daniel Jacobowitz <drow@mvista.com>
20075
20076 * gdb.c++/annota2.exp (annotate-quit): Add comment.
20077
df763c7f
DJ
200782002-05-12 Daniel Jacobowitz <drow@mvista.com>
20079
20080 * gdb.base/break.exp: Check 'break "marker2"'.
20081
377daeed
MS
200822002-05-10 Michael Snyder <msnyder@redhat.com>
20083
20084 * gdb.base/long_long.exp: Fix typo.
20085
c4b7bc2b
JB
200862002-05-10 Jim Blandy <jimb@redhat.com>
20087
ecac9a4e
JB
20088 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
20089 a bug.
20090
c4b7bc2b
JB
20091 * gdb.base/printcmds.exp (test_integer_literals_rejected):
20092 Recognize more detailed error message produced by the macro
20093 expander's lexical analyzer.
20094 * lib/gdb.exp (test_print_reject): Same.
20095
e71019a1
MK
200962002-05-09 Mark Kettenis <kettenis@gnu.org>
20097
20098 * gdb.c++/method.exp: Fix typo.
20099
fedfc8e6
MS
201002002-05-08 Michael Snyder <msnyder@redhat.com>
20101
166a1957
MS
20102 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
20103 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 20104 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
20105 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
20106 Add iftarget clause for strongarm.
d63a86f8 20107
f1c47eb2
MS
201082002-05-06 Michael Snyder <msnyder@redhat.com>
20109
cb9a9d3e
MS
20110 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
20111 (gdb_continue_to_end): Accept output from status wrapper.
20112 * gdb.base/ending-run.exp: Add case for output from status wrapper.
20113 Clean up fail messages to match pass messages.
20114
f1c47eb2
MS
20115 Enable the "needs_status_wrapper" testsuite feature.
20116 * lib/gdb.exp (gdb_wrapper_init): New procedure.
20117 (gdb_compile): Conditionally call gdb_wrapper_init.
20118 * gdb.base/a2-run.exp: Recognize output from status wrapper.
20119 * gdb.c++/method.exp: Recognize output from status wrapper.
20120
6079c749
BE
201212002-05-06 Ben Elliston <bje@redhat.com>
20122From Graydon Hoare <graydon@redhat.com>
20123
20124 * config/sid.exp: Include support for "rawsid" protocol.
20125
188baff3
JB
201262002-05-03 Jim Blandy <jimb@redhat.com>
20127
20128 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
20129 * gdb.c++/hang3.C: New file.
20130
b9c07f0f
AC
201312002-05-04 Andrew Cagney <ac131313@redhat.com>
20132
20133 * gdb.base/default.exp: Remove obsolete code.
20134 * gdb.c++/misc.exp: Ditto. Update copyright.
20135 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
20136 * gdb.base/whatis.exp: Ditto. Update copyright.
20137 * gdb.base/scope.exp: Ditto. Update copyright.
20138 * gdb.base/ptype.exp: Ditto. Update copyright.
20139 * gdb.base/printcmds.exp: Ditto. Update copyright.
20140 * gdb.base/opaque.exp: Ditto. Update copyright.
20141 * gdb.base/list.exp: Ditto.
20142 * gdb.base/funcargs.exp: Ditto. Update copyright.
20143 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
20144 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
20145 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
20146 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
20147 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
20148 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
20149
5c7a0397
MS
201502002-05-02 Michael Snyder <msnyder@redhat.com>
20151
d6dcc264 20152 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
20153 * gdb.base/long_long.exp: Add xscale target.
20154 * gdb.base/default.exp: Add xscale target.
20155
eb7f1c48
JB
201562002-05-01 Jim Blandy <jimb@redhat.com>
20157
20158 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
20159 gdb.c++/hang.exp: New test.
20160
a6befae8
FF
201612002-05-01 Fred Fish <fnf@redhat.com>
20162
20163 * gdb.base/completion.exp: Handle completions of "./Make" for
20164 more than one completion possibility, as is the case when we
20165 build and test in the source tree.
20166
0a310277
AG
201672002-04-29 Anthony Green <green@redhat.com>
20168
20169 * gdb.java/jmisc1.exp: New file.
20170 * gdb.java/jmisc2.exp: New file.
20171
6ff9af88
DJ
201722002-04-24 Daniel Jacobowitz <drow@mvista.com>
20173
20174 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
20175
96b3d632
EZ
201762002-04-23 Elena Zannoni <ezannoni@redhat.com>
20177
20178 * gdb.base/help.exp: Change 'help status' to allow for target
20179 dependent output differences.
20180
5019bb54
MC
201812002-04-22 Michael Chastain <mec@shout.net>
20182
20183 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
20184
a805a116
MC
201852002-04-22 Michael Chastain <mec@shout.net>
20186
20187 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
20188
a1706bfd
DM
201892002-04-17 David S. Miller <davem@redhat.com>
20190
20191 * gdb.asm/sparc64.inc: New file.
20192 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
20193
a73a20a2
EZ
201942002-04-19 Elena Zannoni <ezannoni@redhat.com>
20195
20196 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
20197 instruction file directly into the build tree. Clean up at end of
20198 test.
20199
ba678339
DM
202002002-04-18 David S. Miller <davem@redhat.com>
20201
20202 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
20203 handle 64-bit platforms correctly.
20204 * gdb.base/maint.exp: Likewise.
20205
b03399da
KB
202062002-04-18 Kevin Buettner <kevinb@redhat.com>
20207
20208 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
20209 ``-fpic'' when compiling files comprising a shared library, but
20210 it does need additional linker flags in order to find shared
20211 libraries at run time.
20212
e2004992
KB
202132002-04-18 Kevin Buettner <kevinb@redhat.com>
20214
20215 * gdb.base/cvexpr.c (use): New function.
20216 (main): Invoke use() on all global variables to prevent
20217 some linkers from deleting these otherwise unused symbols.
20218
d8937120
MC
202192002-04-17 Michael Chastain <mec@shout.net>
20220From David S. Miller <davem@redhat.com>
20221
20222 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
20223 handle 64-bit platforms correctly.
20224
ffd61a58
MS
202252002-04-12 Michael Snyder <msnyder@redhat.com>
20226From Jim Blandy <jimb@redhat.com>
a9c64011 20227 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
20228 script can handle this instead.
20229 * gdb.base/bar.c (barx): Same.
20230 * gdb.base/baz.c (bazx): Same.
20231 * gdb.base/grbx.c (grbxx): Same.
20232
20233 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
20234 manager doesn't automatically unmap overlays unnecessarily.
20235
6b8426a6
MH
202362002-04-10 Martin M. Hunt <hunt@redhat.com>
20237
20238 * gdb.base/ending-run.exp: Fix pattern for Mips targets
20239 stepping out of main.
20240
34af4875
MC
202412002-04-09 Michael Chastain <mec@shout.net>
20242
20243 * gdb.c++/local.cc (main): Move call to marker1() inside nested
20244 scope so that the nested scope tests will make sense.
20245 * gdb.c++/local.exp: Write patterns that actually work with gcc
20246 (the HP patterns "were never known to work with gcc").
20247 Keep the old aCC patterns too.
20248
2d1676a0
DJ
202492002-04-09 Daniel Jacobowitz <drow@mvista.com>
20250
20251 * gdb.base/attach.exp: Correct target board test.
20252
3a63e3f9
MC
202532002-04-08 Michael Chastain <mec@shout.net>
20254
20255 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
20256 in a const method. Add some xfail and fail cases for configurations
20257 that do not emit the "const ...".
20258
f18dabd2
MC
202592002-04-07 Michael Chastain <mec@shout.net>
20260
20261 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
20262 Accept "A * const" and "const A * const" as type of "this".
20263 Fix spelling of getFunky throughout. Make messages uniform.
20264
0fcddd82
EZ
202652002-04-07 Elena Zannoni <ezannoni@redhat.com>
20266
a9c64011 20267 Work around for PR gdb/285:
0fcddd82
EZ
20268 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
20269
16a8534a
EZ
202702002-04-07 Elena Zannoni <ezannoni@redhat.com>
20271
20272 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
20273 instructions file at run time instead of configure time.
20274 Sometimes we run the test in a directory that is not the one we
20275 configured in.
20276 * gdb.asm/configure.in: Delete creation of symlink.
20277 * gdb.asm/configure: Regenerate.
20278
24181d81
JB
202792002-04-05 J. Brobecker <brobecker@gnat.com>
20280
20281 * gdb.gdb/xfullpath.exp: New test, to exercise the new
20282 xfullpath () function.
20283
7cdb7107
DJ
202842002-04-04 Daniel Jacobowitz <drow@mvista.com>
20285
20286 * gdb.asm/Makefile.in: Correct dependencies.
20287
20288 * gdb.asm/powerpc.inc: New file.
20289 * gdb.asm/asm-source.exp: Add PowerPC.
20290 * gdb.asm/configure.in: Likewise.
20291 * gdb.asm/configure: Regenerated.
20292
a7d17088
DJ
202932002-04-04 Daniel Jacobowitz <drow@mvista.com>
20294
20295 * gdb.base/relocate.exp: New file.
20296 * gdb.base/relocate.c: New file.
20297
cd721503
FF
202982002-04-04 Fred Fish <fnf@redhat.com>
20299
20300 * gdb.base/step-test.exp: Update comment regarding stopping in
20301 memcpy/bcopy calls inserted as part of the compiler runtime.
20302
b22ad7a7
MS
203032002-04-04 Michael Snyder <msnyder@redhat.com>
20304
20305 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
20306
5f279fa6
DJ
203072002-04-03 Daniel Jacobowitz <drow@mvista.com>
20308
20309 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
20310 (gdb_expect): Remove $notransfer hack.
20311
dd0fd3ce
DJ
203122002-04-02 Daniel Jacobowitz <drow@mvista.com>
20313
20314 * gdb.c++/classes.exp ("calling method for small class"): Match
20315 updated register output.
20316
1e50cda1
DJ
203172002-03-30 Daniel Jacobowitz <drow@mvista.com>
20318
20319 Fix PR gdb/452
20320 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
20321 when finished. Make gdb_file_cmd send "exec-file" when
20322 appropriate.
20323
24015922
DJ
203242002-03-30 Daniel Jacobowitz <drow@mvista.com>
20325
20326 * gdb.base/attach.exp: Remove extra setup_xfail.
20327
dd7dfd64
MS
203282002-03-26 Michael Snyder <msnyder@redhat.com>
20329
20330 * gdb.base/default.exp: Add tests for dump, append, and restore.
20331 * gdb.base/help.exp: Add tests for dump, append, and restore.
20332 * gdb.base/dump.exp: New file, test dump, append and restore.
20333 * gdb.base/dump.c: New file.
20334
48b2f8d7
MS
203352002-03-27 Michael Snyder <msnyder@redhat.com>
20336
d63a86f8 20337 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
20338 clean-ups in help messages.
20339
05b4d525
FF
203402002-03-26 Fred Fish <fnf@redhat.com>
20341
20342 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
20343 have debugging info for those functions and the compiler uses them
20344 internally to copy structs around.
20345
d7679631
FF
203462002-03-26 Fred Fish <fnf@redhat.com>
20347
20348 * gdb.base/list.exp: Revert the change made yesterday and add note
20349 about why we don't list the default lines for remote targets.
20350
523ac3f9
MS
203512002-03-25 Michael Snyder <msnyder@redhat.com>
20352
20353 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
20354
754b2b8d
FF
203552002-03-25 Fred Fish <fnf@redhat.com>
20356
20357 * gdb.base/list.exp: This test works on remote targets so remove
20358 the short circuit for remote targets. Update copyright.
20359
33c3e192
FF
203602002-03-25 Fred Fish <fnf@redhat.com>
20361
20362 * gdb.base/attach.exp: Fix logic error that was suppressing this
20363 test for all non hppa*-*-hpux* targets, instead of the hp target.
20364 Move comments closer to the suppression point. Also now need to
20365 check that we are running natively.
20366
d43e73ee
MS
203672002-03-22 Michael Snyder <msnyder@redhat.com>
20368
882c8f02
MS
20369 * gdb.base/default.exp: Add test for gcore. Update copyright.
20370 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 20371
04c12f60
FF
203722002-03-06 Fred Fish <fnf@redhat.com>
20373
20374 * gdb.base/funcargs.c: Remove extraneous ';' character.
20375 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
20376
b43df995
MC
203772002-03-04 Michael Chastain <mec@shout.net>
20378
20379 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
20380 accommodate gcc v3 function signature.
20381 * gdb.mi/mi0-var-cmd-exp: Ditto.
20382
92362027
AC
203832002-02-24 Andrew Cagney <ac131313@redhat.com>
20384
20385 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
20386 ``GNU/Linux'' or ``Linux kernel''
20387 * testsuite/gdb.threads/pthreads.c: Ditto.
20388
258ad32d
MC
203892002-02-24 Michael Chastain <mec@shout.net>
20390
20391 * gdb.threads/pthreads.c (thread1): Add a return statement.
20392 (thread2): Likewise.
20393 (foo): Likewise.
20394
04c3b3d4
MC
203952002-02-23 Michael Chastain <mec@shout.net>
20396
20397 * gdb.threads/linux-dp.c (philosopher): Add a return statement
20398 to placate gcc.
20399
5a2a0a20
MC
204002002-02-23 Michael Chastain <mec@shout.net>
20401
20402 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
20403 test "ptype bint". The test passes on all my stabs configurations.
20404
a640f7fc
JB
204052002-02-21 Jim Blandy <jimb@redhat.com>
20406
27924826
JB
20407 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
20408 filename at a time, and watch for the ones we want to see.
20409
a640f7fc
JB
20410 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
20411 types of pointers to prototyped functions.
20412
edcc8c75
AC
204132002-02-20 Andrew Cagney <ac131313@redhat.com>
20414
20415 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
20416 signed, unsigned and straight char.
20417 (padding_char, padding_short, padding_int, padding_long,
20418 padding_long_long, padding_float, padding_double,
20419 padding_long_double): New global variables.
20420 (fill, fill_structs): New functions.
20421
20422 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
20423 for correctly sized writes. Update copyright.
20424 (get_valueof): New procedure.
20425 (get_sizeof): Call get_valueof.
20426 (check_valueof): New procedure.
20427 (check_padding): New procedure.
20428
ac57ea44
MC
204292002-02-20 Michael Chastain <mec@shout.net>
20430
20431 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
20432 to setup_xfail. Document some of the remaining calls.
20433
7a10c941
MC
204342002-02-18 Michael Chastain <mec@shout.net>
20435
20436 * gdb.c++/userdef.exp: Update copyright year.
20437
fb8acdcc
DJ
204382002-02-18 Daniel Jacobowitz <drow@mvista.com>
20439
20440 * gdb.c++/userdef.exp: Test overloaded operators properly.
20441 Remove xfails.
20442
fda6ae12
MS
204432002-02-14 Michael Snyder <msnyder@redhat.com>
20444
20445 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
20446
676a0442
DJ
204472002-02-14 Daniel Jacobowitz <drow@mvista.com>
20448
20449 * gdb.base/a2-run.exp: Check for a remote target properly.
20450 * gdb.base/annota1.exp: Likewise.
20451 * gdb.base/list.exp: Likewise.
20452 * gdb.base/reread.exp: Likewise.
20453 * gdb.base/scope.exp: Likewise.
20454 * gdb.base/shlib-call.exp: Likewise.
20455 * gdb.base/term.exp: Likewise.
20456 * gdb.c++/annota2.exp: Likewise.
20457
78b4f468
RE
204582002-02-13 Richard Earnshaw <rearnsha@arm.com>
20459
20460 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
20461
9a81ba51
MC
204622002-02-10 Michael Chastain <mec@shout.net>
20463
20464 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
20465 (call_after_alloca): Ditto.
20466
004af6c7
DJ
204672002-02-10 Daniel Jacobowitz <drow@mvista.com>
20468
20469 * gdb.base/ending-run.exp: Guard "cont" test with
20470 gdb_skip_stdio_test.
20471
37225f62
JB
204722002-02-06 Jim Blandy <jimb@redhat.com>
20473
20474 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
20475 from here...
20476 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
20477 To here. Disable this test on non-HP platforms. Add big comment.
20478
fe6fdd96
MS
204792002-02-04 Michael Snyder <msnyder@redhat.com>
20480
20481 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
20482 other than d10v and m32r.
20483
036fad3f
RE
204842002-02-02 Richard Earnshaw <rearnsha@arm.com>
20485
20486 * gdb.base/default.exp: Rewrite test patterns to reduce time
20487 taken to match them.
20488
7148ab62
DJ
204892002-01-30 Daniel Jacobowitz <drow@mvista.com>
20490
20491 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
20492 Allow a start function above main.
20493 * gdb.threads/linux-dp.exp: Fix copyright date.
20494
396cc255
DJ
204952002-01-30 Daniel Jacobowitz <drow@mvista.com>
20496
a9c64011
AS
20497 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
20498 (check_philosopher_stack): Check for manager thread before checking
20499 for a just-starting thread.
396cc255 20500
f038d31b
DJ
205012002-01-30 Daniel Jacobowitz <drow@mvista.com>
20502
20503 From Neil Booth <neil@daikokuya.demon.co.uk>:
20504 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
20505 warnings.
20506
b3ff9d9a
FF
205072002-01-21 Fred Fish <fnf@redhat.com>
20508
20509 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
20510 not caller.
20511
39ad761d
JB
205122002-01-21 Jim Blandy <jimb@redhat.com>
20513
20514 * gdb.base/reread.exp: Check that GDB properly re-reads the
20515 executable file when it changes while no inferior is running.
20516
aaf320fa
FF
205172002-01-21 Fred Fish <fnf@redhat.com>
20518
a9c64011
AS
20519 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
20520 optionally accept the "shlib events" variation.
aaf320fa 20521
808a31f5
JB
205222002-01-21 Jim Blandy <jimb@redhat.com>
20523
20524 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
20525 call `fflush' after every `printf', so that the output is produced
20526 at predictable points, regardless of whatever buffering does (or
20527 doesn't) take place.
20528 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
20529 at different points.
20530
4420d5e2
DJ
205312002-01-20 Daniel Jacobowitz <drow@mvista.com>
20532
20533 * gdb.c++/inherit.exp: Update copyright years.
20534 * gdb.c++/method.exp: Likewise.
20535
3e36a0f4
DJ
205362002-01-20 Daniel Jacobowitz <drow@mvista.com>
20537
20538 * gdb.c++/classes.exp: Update for improved v3 support and skipping
20539 artificial methods/arguments.
20540 * gdb.c++/derivation.exp: Likewise.
20541 * gdb.c++/inherit.exp: Likewise.
20542 * gdb.c++/method.exp: Likewise.
20543 * gdb.c++/virtfunc.exp: Likewise.
20544
b4ceaee6
AC
205452002-01-18 Andrew Cagney <ac131313@redhat.com>
20546
20547 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
20548 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
20549 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
20550 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
20551 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
20552 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
20553
ecace851
JB
205542002-01-17 Jim Blandy <jimb@redhat.com>
20555
20556 * gdb.asm/asm-source.exp (info symbol): Take another shot at
20557 anchoring the pattern matching the entry point symbol's name.
20558
375fc983
AC
205592002-01-17 Andrew Cagney <ac131313@redhat.com>
20560
20561 * gdb.base/maint.exp: Update ``maint internal-error'' to match
20562 continue/quit query. Update copyright.
20563
fe6fdd96
MS
205642002-01-14 Michael Snyder <msnyder@redhat.com>
20565
20566 * gdb.base/gcore.exp: Remove extra debugging output.
20567
e017c81f
DJ
205682002-01-13 Daniel Jacobowitz <drow@mvista.com>
20569
20570 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
20571 for slightly dubious v2 mangled string.
20572
37ab3bf8
DJ
205732002-01-13 Daniel Jacobowitz <drow@mvista.com>
20574
20575 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
20576
1bc05c3a 205772002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 20578
1bc05c3a 20579 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 20580
1bc05c3a
JM
20581 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
20582 constructors.
20583 * gdb.c++/derivation.exp: Likewise.
20584 * gdb.c++/templates.exp: Likewise.
20585 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 20586
1bc05c3a
JM
205872002-01-10 Michael Snyder <msnyder@redhat.com>
20588
20589 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 20590
a911c360
MS
205912002-01-08 Michael Snyder <msnyder@redhat.com>
20592
20593 * gdb.base/gcore.exp: New test for generate-core-file command.
20594 * gdb.base/gcore.c: Testcase for above.
20595 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
20596
ea2119ec
JM
205972002-01-08 Jason Merrill <jason@redhat.com>
20598
20599 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
20600
68203136
FF
206012002-01-07 Fred Fish <fnf@redhat.com>
20602
20603 * gdb.c++/overload.exp: Remove unconditional xfails for:
20604 print foo_instance1.overloadargs(1)
20605 print foo_instance1.overloadargs(1, 2)
20606 print foo_instance1.overloadargs(1, 2, 3)
20607 print foo_instance1.overloadargs(1, 2, 3, 4)
20608 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
20609 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
20610 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
20611 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
20612 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
20613 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
20614 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
20615 print foo_instance1.overload1arg()
20616 print foo_instance1.overload1arg((char)arg2)
20617 print foo_instance1.overload1arg((signed char)arg3)
20618 print foo_instance1.overload1arg((unsigned char)arg4)
20619 print foo_instance1.overload1arg((int)arg7)
20620 print foo_instance1.overload1arg((unsigned int)arg8)
20621 print foo_instance1.overload1arg((float)arg11)
20622 print foo_instance1.overload1arg((double)arg12)
d63a86f8 20623
21b9b5b1
MS
206242002-01-07 Michael Snyder <msnyder@redhat.com>
20625
20626 * gdb.base/huge.exp: New test. Print a very large target data object.
20627 (skip_huge_test): New test variable. Define if you want to skip this
20628 test. The test reads an 8 megabyte data object from the target, so it
20629 might be very time consuming on remote targets with a slow connection.
20630 * gdb.base/huge.c: New file. Test case for above.
20631
725f922e
FF
206322002-01-07 Fred Fish <fnf@redhat.com>
20633
20634 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
20635 g_instance.bfoo, and g_instance.cfoo.
20636
889bf7c5 206372002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 20638
889bf7c5
PA
20639 * gdb.base/break.c (multi_line_if_conditional): New function.
20640 (multi_ilne_while_conditional): Likewise.
20641 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
20642 IF or WHILE condition puts the breakpoint at the start of
20643 the condition.
f286b2c3 20644
634d57ec
JL
20645 * gdb.base/selftest.exp (backtrace through signal handler): Remove
20646 hppa*-*-hpux* expected failure.
20647 * gdb.base/structs.exp (do_function_calls): Similarly.
20648
20649 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
20650 watchpoints.
20651
9fbfe2dc
AC
206522002-01-06 Andrew Cagney <ac131313@redhat.com>
20653
20654 Fix PR gdb/66.
20655 * gdb.base/structs.exp: Replace skip for a29k with skip for
20656 gdb,cannot_call_functions.
20657 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
20658 * gdb.base/callfuncs.exp: Ditto.
20659 * gdb.base/call-rt-st.exp: Ditto.
20660 * gdb.base/call-strs.exp: Ditto.
20661 * gdb.base/callfwmall.exp: Ditto.
20662 * gdb.base/scope.exp: Obsolete xfail a29k.
20663 * gdb.c++/misc.exp: Ditto.
20664 * gdb.c++/cplusfuncs.exp: Ditto.
20665 * gdb.base/ptype.exp: Ditto.
20666 * gdb.base/printcmds.exp: Ditto.
20667 * gdb.base/opaque.exp: Ditto.
20668 * gdb.base/list.exp: Ditto.
20669 * gdb.base/funcargs.exp: Ditto.
20670 * gdb.base/default.exp: Ditto.
20671
8ddad156
MS
206722002-01-04 Michael Snyder <msnyder@redhat.com>
20673
ca4976a6 20674 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
20675 * gdb.base/maint.exp: Add tests for maint info sections options.
20676
1b074332
JL
20677Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
20678
20679 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
20680
7d159115
CV
206812001-12-20 Corinna Vinschen <vinschen@redhat.com>
20682
20683 * gdb.asm/arm.inc: New file.
20684 * gdb.asm/asm-source.exp: Add arm targets.
20685 * gdb.asm/configure.in: Ditto.
20686 * gdb.asm/configure: Recreated from configure.in.
20687
8fb87725
JL
20688Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
20689
afabe08c
JL
20690 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
20691 with HP's compiler.
20692 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
20693 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
20694 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
20695 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
20696
20697 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
20698 either HP's compilers or GCC.
20699
db521deb
JL
20700 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
20701 a SIGBUS or SIGSEGV.
20702
20703 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
20704
20705 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
20706 can be compiled with either HP's compiler or GCC.
20707
cfa88ab7
JL
20708 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
20709 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
20710 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
20711
ca344dff
JL
20712 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
20713 to match current gdb output. Update due to using auto-solib-limit
20714 for limiting instead of overloading auto-solib-add.
20715 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
20716 test program.
20717
3f3c6e55 20718 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
20719 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
20720 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
20721 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
20722 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
20723 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
20724 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
20725 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
20726 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
20727 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
20728 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
20729 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
20730 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 20731
8fb87725
JL
20732 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
20733 a SIGTRAP to the inferior.
20734
cf599fa7
CV
207352001-12-19 Corinna Vinschen <vinschen@redhat.com>
20736
20737 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
20738 Substitute call to target_link by call to gdb_compile.
20739
2cd045cd
JL
20740Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
20741
a9c64011
AS
20742 * gdb.base/break.exp: Fix HP specific search string when testing
20743 backtracing in a called function.
2cd045cd 20744
a9c64011
AS
20745 * gdb.base/constvars.exp: Only set lang to C++ if we're
20746 compiling the test with HP's compilers.
20747 * gdb.base/volatile.exp: Similarly.
2cd045cd 20748
99ebe9ac
JB
207492001-12-19 Jim Blandy <jimb@redhat.com>
20750
20751 * gdb.base/printcmds.exp: Expect the null character to be printed
20752 as '\0', and the '\013' to be printed as '\v'.
20753 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
20754 * gdb.base/setvar.exp: Same.
20755
b9891b29
JB
207562001-12-17 Jim Blandy <jimb@redhat.com>
20757
0eba65ab
JB
20758 * gdb.base/completion.exp: Rather than completing very long
20759 filenames, which can make the readline library produce output we
20760 don't recognize, cd to the directory first, and then complete
20761 using nice, short relative paths.
20762
6970b5b1
JB
20763 * gdb.base/completion.exp: On some systems, there is, in fact, a
20764 variable named `b' in scope, since GDB treats all static
a9c64011
AS
20765 variables as being in scope. So use `no_var_named_this'
20766 instead of `b'.
6970b5b1 20767
b9891b29 20768 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 20769 can't find the core file's registers as a failure.
b9891b29 20770
e6ccd35f
JSC
207712001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
20772
a9c64011
AS
20773 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
20774 test expect string more specific.
e6ccd35f 20775
105ba819
CV
207762001-12-13 Corinna Vinschen <vinschen@redhat.com>
20777
20778 * gdb.asm/asm-source.exp: Add support for xstormy16.
20779 * gdb.asm/configure.in: Ditto.
20780 * gdb.asm/configure: Rebuild.
20781 * gdb.asm/xstormy16.inc: New file.
20782
e9e79dd9
FF
207832001-12-10 Fred Fish <fnf@redhat.com>
20784
20785 * gdb.base/maint.exp: Update to match changes in type dumping code.
20786
347dc97d
JB
207872001-12-10 Jim Blandy <jimb@redhat.com>
20788
20789 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
20790 matching the entry point symbol's name at the beginning of the
20791 line.
347dc97d 20792
5178b9d6
DJ
207932001-12-07 Daniel Jacobowitz <drow@mvista.com>
20794
20795 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
20796 gdb.c++/inherit.exp, gdb.c++/method.exp,
20797 gdb.c++/namespace.exp, gdb.c++/templates.exp,
20798 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
20799 and class layout support.
20800
af890c52
DJ
208012001-12-07 Daniel Jacobowitz <drow@mvista.com>
20802
20803 * gdb.c++/classes.exp: Add test for static member function.
20804 * gdb.c++/misc.cc: Add class with static member function.
20805
7a345fb3
JB
208062001-12-07 Jim Blandy <jimb@redhat.com>
20807
f2e54a80 20808 If GDB says it can't find the struct the function returned, report
8032bf31
JB
20809 those tests as `unsupported'.
20810 * gdb.base/call-rt-st.exp (print_struct_call): New function.
20811 Rewrite subsequent tests to use it.
20812
20813 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
20814 those tests as `unsupported'.
20815 * gdb.base/structs.exp (call_struct_func): New function.
20816 (do_function_calls): Use call_struct_func to call the functions
20817 returning structs.
20818
0bc69509
JB
20819 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
20820 whether functions are prototyped or not, so we can't possibly pass
20821 arguments to t_float_values2 properly.
20822
7a345fb3
JB
20823 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
20824 value of `timeout' for targets other than the mips*tx39-*.
20825
edb6ede1
MS
208262001-12-06 Michael Snyder <msnyder@redhat.com>
20827
d63a86f8 20828 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
20829 and detect whether the start symbol has a leading underscore.
20830
2d842f13
JB
208312001-12-04 Jim Blandy <jimb@redhat.com>
20832
20833 * gdb.base/completion.exp: Clarify indentation.
20834
68550daf
JB
208352001-12-03 Jim Blandy <jimb@redhat.com>
20836
20837 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
20838 variables on the S/390, not `.word'.
20839
cd5195a8
JB
208402001-11-30 Jim Blandy <jimb@redhat.com>
20841
20842 Add assembly-source tests for s390-ibm-linux.
20843 * gdb.asm/s390.inc: New file.
20844 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
20845 the S/390 architecture.
a9c64011 20846 * gdb.asm/configure: Regenerated.
cd5195a8 20847
ca9efc90
MS
208482001-11-30 Michael Snyder <msnyder@redhat.com>
20849
20850 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
20851 next, info source, info sources, info line, global and static
20852 variables, and static functions.
20853 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
20854 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
20855 * gdb.asm/asmsrc1.s: Add a static function and some variables.
20856 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
20857 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
20858 (gdbasm_leave): Restore frame pointer.
20859 (gdbasm_startup): Copy stack set-up from crt0.S.
20860
d0e66976
FN
208612001-11-26 Fernando Nasser <fnasser@redhat.com>
20862
20863 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
20864 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
20865 to a local (non-static) variable. Copy tstruct.a to a static buffer
20866 and return a pointer to that buffer.
20867 * gdb.base/callfwmall.c (t_structs_a): Ditto.
20868
e2334072
MK
208692001-11-24 Mark Kettenis <kettenis@gnu.org>
20870
20871 * gdb.asm/configure.in: Fix recognition of ix86 target.
20872 * gdb.asm/configure: Regenerate.
20873
756caa3d
MS
208742001-11-21 Michael Snyder <msnyder@redhat.com>
20875
20876 * gdb.asm/sparc.inc: New file.
20877 * gdb.asm/asm-source.exp: Recognize sparc target.
20878 * gdb.asm/configure.in: Recognize sparc target.
20879 * gdb.asm/configure: Regenerate.
d63a86f8 20880
9a4d72d5
MS
208812001-11-21 Michael Snyder <msnyder@redhat.com>
20882
20883 * gdb.asm/m32r.inc: New file.
20884 * gdb.asm/asm-source.exp: Recognize m32r target.
20885 * gdb.asm/configure.in: Recognize m32r target.
20886 * gdb.asm/configure: Regenerate.
20887
a773d1cd
MS
208882001-11-20 Michael Snyder <msnyder@redhat.com>
20889
017ac23d
MS
20890 * gdb.asm/i386.inc: New file.
20891 * gdb.asm/asm-source.exp: Recognize ix86 target.
20892 * gdb.asm/configure.in: Recognize ix86 target.
20893 * gdb.asm/configure: Regenerate.
20894
a773d1cd
MS
20895 * gdb.c++/namespace.exp: Fix quotes in output messages.
20896
bb632afb
MS
208972001-11-14 Michael Snyder <msnyder@redhat.com>
20898
25d559ca 20899 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
20900 qualifier in a type cast expression, to designate an address
20901 in the instruction space (Harvard architecture).
20902
4749e309
MS
209032001-11-13 Michael Snyder <msnyder@redhat.com>
20904
20905 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
20906 Tests for expressions using 'const' and 'volatile'.
20907
25050984
CV
209082001-11-13 Corinna Vinschen <vinschen@redhat.com>
20909
20910 * gdb.asm/asm-sources.exp: Allow defining linker flags.
20911
1902c51f
DJ
209122001-11-12 Daniel Jacobowitz <drow@mvista.com>
20913
20914 * lib/mi-support.exp (mi_run_to_helper): Move comments
20915 outside of gdb_expect.
20916
dcf95b47
DJ
209172001-11-11 Daniel Jacobowitz <drow@mvista.com>
20918
20919 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
20920 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
20921 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
20922 mi0_run_to): New functions.
20923 * gdb.mi/mi-simplerun.exp: Use them.
20924 * gdb.mi/mi0-simplerun.exp: Likewise.
20925 * gdb.mi/mi-var-cmd.exp: Likewise.
20926 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 20927
45b074e1
AC
209282001-11-10 Andrew Cagney <ac131313@redhat.com>
20929
20930 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
20931 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
20932
bf50d346
AC
209332001-11-09 Andrew Cagney <ac131313@redhat.com>
20934
20935 * gdb.base/restore.exp: Include $expected value in restored test
20936 message.
20937
9383332c
AC
209382001-11-09 Andrew Cagney <ac131313@redhat.com>
20939
20940 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
20941 implemented.
20942
db62520a
MS
209432001-11-08 Michael Snyder <msnyder@redhat.com>
20944
20945 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
20946 Add pass/fail message for stop at breakpoint in call dummy function.
20947
b5703437
MS
209482001-11-07 Michael Snyder <msnyder@redhat.com>
20949
d63a86f8
RM
20950 * gdb.c++/templates.exp (test_template_breakpoints):
20951 If we get an overload menu, but it does not match what
760f6330 20952 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
20953 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
20954 making the whitespace optional. Argument for "new" may be
20955 "unsigned" as well as "unsigned int/long".
d63a86f8 20956 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
20957 making the whitespace optional. Also replace "(void) with
20958 "((void|)), making the keyword "void" optional.
d63a86f8 20959 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
20960 making the whitespace optional. Also replace "(void) with
20961 "((void|)), making the keyword "void" optional.
3bf40917
MS
20962 * gdb.base/callfuncs.c (t_float_values): This function must
20963 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 20964 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
20965 can be tested against both cases. Usually one case involves
20966 promotion of float to double, while the other does not.
20967 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
20968 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
20969 includes a stack frame for "start".
20970
c8ab4e6d
JB
209712001-11-05 Jim Blandy <jimb@redhat.com>
20972
20973 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
20974 pointers are 32 bits long, and that offsets of relocs are always
20975 stored in the data (REL-style), and not in the reloc entry itself
20976 (RELA-style).
20977 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
20978 stabs.
20979
3f08ced9
MS
209802001-11-01 Michael Snyder <msnyder@redhat.com>
20981
20982 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
20983 and regular expression operators by using quoting.
20984
cbfa24cd
MS
209852001-10-31 Michael Snyder <msnyder@redhat.com>
20986
20987 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
20988 depending on what the symbol table contains.
20989 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
20990 the output of the ptype command. Similarly, accept both "const &"
20991 and "const&".
20992
aaa68313
CV
209932001-10-31 Corinna Vinschen <vinschen@redhat.com>
20994
20995 * gdb.base/miscexprs.c (main): Add usage of preprocessor
20996 symbol `STORAGE' to allow to choose the storage class of
20997 the local datastructures.
20998 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
20999 compiler directive.
21000
91740388
MS
210012001-10-30 Michael Snyder <msnyder@redhat.com>
21002
21003 * gdb.base/jump.exp: Allow it to run for all targets.
21004
1b7c05e7
CV
210052001-10-29 Corinna Vinschen <vinschen@redhat.com>
21006
21007 * gdb.base/call-ar-st.c (print_double_array): Match for loop
21008 with new double_array size.
21009 (main): Change storage class of all local variables to static.
21010 Reduce size of double_array to 9.
21011 * gdb.base/call-ar-st.exp: Increase timeout value.
21012 Change expected output for double array to match new size in
21013 call-ar-st.c.
21014
36a22261
CV
210152001-10-29 Corinna Vinschen <vinschen@redhat.com>
21016
21017 * gdb.base/ending-run.exp: Create identical output when passing
21018 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 21019 Stormy16 target.
36a22261 21020
92b8ae91
MK
210212001-10-28 Mark Kettenis <kettenis@gnu.org>
21022
21023 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
21024 that we catch the expected failure under Linux/x86.
21025
cb135b83
OF
210262001-10-29 Orjan Friberg <orjanf@axis.com>
21027
21028 * gdb.base/setvar.exp: Escape curly braces.
21029 * gdb.stabs/weird.exp: Ditto.
21030
6884aa54
DJ
210312001-10-27 Daniel Jacobowitz <drow@mvista.com>
21032
21033 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
21034 * gdm.mi/mi0-hack-cli.exp: Likewise.
21035
0398c9aa
AC
210362001-10-25 Andrew Cagney <ac131313@redhat.com>
21037
21038 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
21039 messages.
21040
d20bf2e8
AC
210412001-10-21 Andrew Cagney <ac131313@redhat.com>
21042
21043 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
21044 checking MI enabled.
21045
03dd63aa
CV
210462001-10-09 Corinna Vinschen <vinschen@redhat.com>
21047
21048 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
21049
1d9d99f3
FCE
210502001-10-04 Frank Ch. Eigler <fche@redhat.com>
21051
21052 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
21053 if gdb child process crashes, just signal an error.
21054
838ae6c4
JB
210552001-10-02 Jim Blandy <jimb@redhat.com>
21056
21057 * lib/gdb.exp (test_xfail_format): Simplify.
21058
21059 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
21060 front of the variable name `format'. Simplify `if'.
21061
8f0cbc1c
DJ
210622001-10-01 Daniel Jacobowitz <drow@mvista.com>
21063
21064 * gdb.threads/pthreads.exp: Wait for output and delay
21065 before sending ^C.
21066
1f08dafd
DJ
210672001-10-01 Daniel Jacobowitz <drow@mvista.com>
21068
21069 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
21070 some incorrect output instead of timing out.
21071 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
21072
674f90ff
CV
210732001-09-28 Corinna Vinschen <vinschen@redhat.com>
21074
21075 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
21076 check to allow additional `int'.
21077
9b284272
DJ
210782001-09-27 Daniel Jacobowitz <drow@mvista.com>
21079
21080 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
21081 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
21082
b55a4771
MS
210832001-09-27 Michael Snyder <msnyder@redhat.com>
21084
21085 * lib/gdb.exp (test_debug_format): New proc.
21086 (setup_xfail_format): Use new proc test_debug_format.
21087 * gdb.base/constvars.exp (local_compiler_xfail_check): New
21088 proc; use new service proc test_debug_format.
21089 Replace all other "gcc_compiled" tests with this test.
21090 * gdb.base/volatile.exp (local_compiler_xfail_check): New
21091 proc; use new service proc test_debug_format.
21092 Replace all other "gcc_compiled" tests with this test.
21093
210942001-09-27 Michael Snyder <msnyder@redhat.com>
21095
21096 * gdb.base/cvexpr.exp: New file.
21097 * gdb.base/cvexpr.c: New file
21098 Test for expressions using const and volatile keywords.
21099
4e6667ac
CV
211002001-09-26 Corinna Vinschen <vinschen@redhat.com>
21101
21102 * gdb.base/constvars.exp: Check for different orders of keywords
21103 and additional "int" strings in output.
21104
4f337972
AC
211052001-09-22 Andrew Cagney <ac131313@redhat.com>
21106
21107 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
21108 responses from "help maint".
21109
2015650d
FCE
211102001-09-19 Frank Ch. Eigler <fche@redhat.com>
21111
21112 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
21113 to localhost:NNN instead of :NNN, in case Xvfb is listening
21114 only on TCP.
21115
f3bcedc1
CV
211162001-09-19 Corinna Vinschen <vinschen@redhat.com>
21117
21118 * gdb.base/recurse.exp: When checking leaving the watchpoint
21119 scope, recognize when gdb is in function's epilogue and pass.
21120
6b819c92
KS
211212001-09-18 Keith Seitz <keiths@redhat.com>
21122
21123 * lib/insight-support.exp (_gdbtk_export_target_info): Add
21124 support for running tests against sid targets.
21125 (gdbtk_done): Ditto.
21126
a10c9419
CV
211272001-09-18 Corinna Vinschen <vinschen@redhat.com>
21128
21129 * gdb.base/ending-run.c (main): Set stdout buffersize
21130 to the same reasonable value for any target.
21131 * gdb.base/ending-run.exp: Add a regular expression
21132 to make testsuite happy on Sanyo Stormy16 target.
21133
739d0d99
CV
211342001-09-17 Corinna Vinschen <vinschen@redhat.com>
21135
21136 * gdb.base/display.c (do_loops): Add float variable `f'.
21137 Increment f in loop.
21138 * gdb.base/display.exp: Increment timeout by 60 seconds.
21139 Change float display test to use variable `f'.
21140
1b8947f0
JB
211412001-09-17 Jim Blandy <jimb@redhat.com>
21142
21143 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
21144 overflowing the limited breakpoint tables on some ROM monitors
21145 (like the ROM68K).
21146
9890ac81
FCE
211472001-09-15 Frank Ch. Eigler <fche@redhat.com>
21148
21149 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
21150 the "-ac" (disable access control) flag.
21151
6db765ea
JH
211522001-08-30 Jeff Holcomb <jeffh@redhat.com>
21153
21154 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
21155 ints.
21156
4c32cc04
KS
211572001-08-30 Keith Seitz <keiths@redhat.com>
21158
21159 * lib/gdb.exp: Move all insight-related functionality into
21160 separate file.
21161 * lib/insight-support.exp: New file.
21162
8d6e6f81
FCE
211632001-08-29 Frank Ch. Eigler <fche@redhat.com>
21164
21165 * config/sid.exp (sid_start): Never set sid verbosity; disable
21166 expect_background {} that consumed its stdout; tolerate </dev/null.
21167 Attempt to set endianness override in "sid" protocol mode. Cleanup.
21168
6a90e1d0
AC
211692001-08-18 Andrew Cagney <ac131313@redhat.com>
21170
21171 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
21172 CLI jump command to start it.
21173 (mi_run_to_main): Fail immediatly when unexpected output.
21174
1759b3c3
AC
211752001-08-18 Andrew Cagney <ac131313@redhat.com>
21176
21177 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
21178 beginning of function. Fix PR gdb/191.
21179
61d11d80
FCE
211802001-08-16 Frank Ch. Eigler <fche@redhat.com>
21181
21182 * config/sid.exp (sid_start): Don't warn if we cannot figure out
21183 what to force sid endianness to.
21184
942a4df2
KS
211852001-08-15 Keith Seitz <keiths@redhat.com>
21186
21187 * lib/gdb.exp (gdbtk_start): Don't set environment
21188 variables for TCL_LIBRARY and friends. Insight will
21189 now figure these out for itself.
21190
0521c418
MS
211912001-08-02 Michael Snyder <msnyder@redhat.com>
21192
21193 * gdb.base/completion.exp: Remove the symbol "a64l" from
21194 the expect string; this is target-specific, and not related
21195 to what is being tested.
21196
74a9a58a
DB
211972001-08-02 Dave Brolley <brolley@redhat.com>
21198
21199 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
21200
c70819fa
MS
212012001-07-25 Michael Snyder <msnyder@redhat.com>
21202
c2b8fa57
MS
21203 * gdb.base/consecutive.exp: New file. Test stepping over
21204 breakpoints on consecutive instructions.
21205 * gdb.base/consecutive.c: New file.
21206
c70819fa
MS
21207 * gdb.base/call-rt-st.exp: Use double-backslash to quote
21208 curly braces in regular expressions.
21209
2b1a1355
MS
212102001-07-25 Michael Snyder <msnyder@redhat.com>
21211
21212 * gdb.base/ending-run.exp: Accept "Program exited normally" as
21213 legitimate output from stepping out of main.
21214
413eca6f
KS
212152001-07-22 Keith Seitz <keiths@redhat.com>
21216
21217 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
21218 the empty string, do not run the tests.
21219
7e5a9322
SC
212202001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21221
21222 * gdb.base/long_long.exp: Detect size of pointer. Take into
21223 account 2-byte pointers when testing for p/a results.
21224
de58f10f
SC
212252001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21226
d63a86f8 21227 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
21228 and defined to 1K for m68hc11.
21229 (random_data): Reduce table to 1K for embedded platforms (68hc11).
21230 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
21231 (sizeof_random_data): New variable to tell the size of the data table;
21232 don't test past this size; always run to main.
21233
d6f5fea1
SC
212342001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21235
21236 * gdb.base/return2.exp: return of long long and double fails for
21237 68HC11; don't execute these tests on that platform.
21238 * gdb.base/return.exp: Return of a double fails for 68hc11.
21239
c477543d
SC
212402001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21241
21242 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
21243 tests that print a float.
21244 * call-rt-st.exp: Likewise.
21245
63cf1c79
MK
212462001-07-12 Mark Kettenis <kettenis@gnu.org>
21247
21248 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
21249 running this test on Linux.
21250
112f9ab5
MC
212512001-06-24 Michael Chastain <chastain@redhat.com>
21252
21253 * gdb.base/arithmet.exp: Remove some tests to make all test names
21254 unique.
21255
4970cb0f
MS
212562001-07-03 Michael Snyder <msnyder@redhat.com>
21257
21258 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
21259 the output of the ptype command.
21260
d85da69f
MS
212612001-07-02 Michael Snyder <msnyder@redhat.com>
21262
4c8a82de
MS
21263 * gdb.base/completion.exp: Don't assume that break.c is the only
21264 source file that may contain functions named "marker".
d85da69f
MS
21265 * gdb.base/corefile.exp: Quote the curly braces in regexp.
21266
8afc772b
AC
212672001-06-28 Andrew Cagney <ac131313@redhat.com>
21268
21269 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
21270 of files to delete.
21271
21272 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
21273 * gdb.disasm/h8300s.exp: New file.
21274 gdb.disasm/h8300s.s: Likewise.
21275
cff22675
AC
212762001-06-27 Andrew Cagney <ac131313@redhat.com>
21277
21278 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
21279 empty breakpoint tables.
21280
68c81b54
AC
212812001-06-25 Andrew Cagney <ac131313@redhat.com>
21282
21283 * lib/mi-support.exp: Update args=... part of stop-reason
21284 patterns. Accept either a list or a tuple.
21285
2dd62704
AC
212862001-06-23 Andrew Cagney <ac131313@redhat.com>
21287
21288 * lib/mi-support.exp: Remove local emacs variable defining
21289 change-log-default-name.
21290
b4127474
MC
212912001-06-22 Michael Chastain <chastain@redhat.com>
21292
21293 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
21294 This is operationally compatible with the previous version.
21295
8dbfb380
JB
212962001-06-13 Jim Blandy <jimb@redhat.com>
21297
21298 * lib/gdb.exp (gdb_test): Doc fix.
21299
f2d8c86d
MC
213002001-06-10 Michael Chastain <chastain@redhat.com>
21301
21302 * gdb.base/exprs.exp: Remove a duplicate test.
21303
81564d34
JB
213042001-06-06 Jim Blandy <jimb@redhat.com>
21305
21306 * gdb.base/return2.exp (main): Use values to test float and double
21307 returns that are not NaN's, to avoid being confused by IEEE
21308 comparison rules.
21309
da55addb
MS
213102001-06-04 Michael Snyder <msnyder@redhat.com>
21311
21312 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 21313 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
21314 rather than wait for 12 more tests to time out.
21315
42c65987
JB
213162001-06-06 Jim Blandy <jimb@redhat.com>
21317
b18bced9 21318 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 21319 Don't forget to match the GDB prompt.
b18bced9 21320
42c65987
JB
21321 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
21322
5b41e5f0
JB
213232001-06-04 Jim Blandy <jimb@redhat.com>
21324
21325 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
21326 command.
21327
015e046f
KB
213282001-05-31 Kevin Buettner <kevinb@redhat.com>
21329
21330 * gdb.base/annota1.exp (info break): Match four or more spaces
21331 after "Address".
21332
fb1ffbbe
MC
213332001-05-31 Michael Chastain <chastain@redhat.com>
21334
21335 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
21336 (dm_type_int_star): Likewise.
21337 (dm_type_long_star): Likewise.
21338 (dm_type_void_star): Likewise.
21339
5ea2a32c
KB
213402001-05-29 Kevin Buettner <kevinb@redhat.com>
21341
21342 * gdb.base/completion.exp (INPUTRC): Set this environment variable
21343 to a known value in order to get consistent results regardless
21344 of the setting of INPUTRC or the presence or contents of .inputrc.
21345
ae23c492
MS
213462001-05-24 Michael Snyder <msnyder@redhat.com>
21347
ac55707e
MS
21348 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
21349 Don't require that the main thread and the manager thread are the
21350 first in the list.
21351
ae23c492
MS
21352 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
21353 debugging. If test fails, issue an "unsupported" not a "fail".
21354
400071f1
JB
213552001-05-24 Jim Blandy <jimb@redhat.com>
21356
21357 Don't assume that short is shorter than int.
21358 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
21359 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 21360 this isn't true.
400071f1
JB
21361 ("print unsigned char == (~0)"): Add test that verifies that ~0,
21362 an int, is not equal to ~0 stored in an unsigned char. This tests
21363 the same thing that the previous test meant to, but works on
21364 16-bit machines, too.
21365 ("print unsigned char != (~0)"): Same test, complemented.
21366
0816a3e5
MS
213672001-05-24 Michael Snyder <msnyder@redhat.com>
21368
21369 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 21370 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
21371 and prevents dejagnu getting out of step.
21372
f6dc23a9
KB
213732001-05-23 Kevin Buettner <kevinb@redhat.com>
21374
21375 * gdb.base/finish.exp (finish_void): Revise pattern for
21376 stopping on the call statement to not permit stopping at
21377 the start of the instructions comprising the call sequence.
21378
7dbd117d
MC
213792001-05-19 Michael Chastain <chastain@redhat.com>
21380
21381 * gdb.base/callfuncs.exp: Make all test names unique.
21382 * gdb.base/commands.exp: Make all test names unique.
21383 * gdb.base/condbreak.exp: Make all test names unique.
21384 * gdb.base/dbx.exp: Make all test names unique.
21385 * gdb.base/default.exp: Make all test names unique.
21386 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
21387 and TIMEOUT messages to their corresponding PASS message.
21388 * gdb.base/ending-run.exp: Make all test names unique.
21389 * gdb.base/long_long.exp: Remove duplicate test.
21390
6b0b0a9e
KB
213912001-05-21 Kevin Buettner <kevinb@redhat.com>
21392
21393 * gdb.base/finish.exp (finish_void): Allow "finish" command to
21394 stop on the call statement as well as the statement after the
21395 call.
21396
2caa35cb
MS
213972001-05-21 Michael Snyder <msnyder@redhat.com>
21398
21399 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
21400
40713331
EZ
214012001-05-10 Elena Zannoni <ezannoni@redhat.com>
21402
a9c64011
AS
21403 * gdb.base/completion.exp: Revamp test. Make it execute on all
21404 platforms.
40713331 21405
c2c1be8d
EZ
214062001-05-10 Elena Zannoni <ezannoni@redhat.com>
21407
a9c64011
AS
21408 * config/gdbserver.exp (gdb_load): Handle the case
21409 in which the arguments to gdbserver are given in the
21410 baseboard configuration file.
21411 Also handle the case in which the server needs to do a
21412 load.
2c9cd303 21413
9671de48
KS
214142001-05-07 Keith Seitz <keiths@cygnus.com>
21415
a9c64011
AS
21416 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
21417 set up the display for testing.
21418 (gdbtk_start): Convert all paths to paths that tcl will like.
21419 Export target information to environment.
21420 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
21421 necessary.
21422 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
21423 (to_tcl_path): New proc to convert a given pathname into
21424 a path acceptible as an argument to a tcl command.
21425 (_gdbtk_export_target_info): New proc to export target info
21426 into the environment for gdbtk testing.
21427 (gdbtk_done): New proc to signal end-of-test.
9671de48 21428
5a360f47
JB
214292001-05-06 Jim Blandy <jimb@redhat.com>
21430
21431 * restore.c: Make the code of caller0 correspond to its comment.
21432
66c756c6
MS
214332001-05-03 Michael Snyder <msnyder@redhat.com>
21434
21435 * config/sid.exp (gdb_target_sid): Check for error messages.
21436 On error or timeout, don't make expect exit (which will terminate
21437 all subsequent tests); instead just make gdb exit.
d63a86f8 21438 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
21439 return a negative value.
21440
a966fde5
JB
214412001-04-24 Jim Blandy <jimb@redhat.com>
21442
851c18e0
JB
21443 * gdb.c++/templates.exp: If we see the prompt for the overload
21444 list, but we haven't recognized any of the longer patterns,
21445 arrange for this test to fail, not hang.
21446
a966fde5
JB
21447 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
21448 variations.
21449
db144853
MC
214502001-04-22 Michael Chastain <chastain@redhat.com>
21451
21452 * gdb.c++/local.exp: Use the 'runto' library function.
21453 * gdb.c++/namespace.exp: Likewise.
21454 * gdb.c++/overload.exp: Likewise.
21455
3207ec21
KB
214562001-03-26 Kevin Buettner <kevinb@redhat.com>
21457
21458 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
21459 * gdb.base/step-line.exp: New file. Test step/next in presence of
21460 #line directives.
21461 * gdb.base/step-line.c: New file. Test program for the above.
21462 * gdb.base/step-line.inp: New file. We pretend that this file has
21463 been transformed by some other tool into step-line.c.
21464
13b57657
JB
214652001-03-21 Jim Blandy <jimb@redhat.com>
21466
21467 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
21468 unmangled operator names.
21469
754cbe1c
JB
214702001-03-20 Jim Blandy <jimb@redhat.com>
21471
21472 * gdb.threads/linux-dp.exp: Recognize an additional message
21473 generated by GDB when it doesn't understand how to debug threads
21474 on the target system.
21475
177495c9
AC
214762001-03-19 Andrew Cagney <ac131313@redhat.com>
21477
21478 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
21479
f266096b
MC
214802001-03-12 Michael Chastain <chastain@redhat.com>
21481
21482 * gdb.c++/derivation.exp: Use the 'runto' library function.
21483
cac3c2ff
MC
214842001-03-12 Michael Chastain <chastain@redhat.com>
21485
21486 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
21487
b6c11a24
MC
214882001-02-24 Michael Chastain <chastain@redhat.com>
21489
21490 * gdb.c++/ref-types.exp: Change handwritten code to library
21491 function 'runto'.
21492
6bae5bce
OF
214932001-03-16 Orjan Friberg <orjanf@axis.com>
21494
21495 * gdb.base/signals.exp: Set count to 0 explicitly.
21496
0015fd9a
MS
214972001-03-15 Mark Salter <msalter@redhat.com>
21498
21499 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
21500 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
21501 (gdb_load): Add support for additional target_info: gdb_download_size
21502 and gdb_load_timeout.
0015fd9a 21503
fc33412a
DT
21504Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
21505
21506 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
21507 file -- to prevent failing when the compile fails but we have no
21508 intention of running the tests anyway.
fc33412a
DT
21509
21510 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
21511 tests if set.
21512
21513 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 21514 integers.
fc33412a
DT
21515
21516 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
21517 * gdb.c++/namespace.exp: Ditto.
21518
115f06de
OF
215192001-03-07 Orjan Friberg <orjanf@axis.com>
21520
21521 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
21522 * gdb.base/pointers.exp: Relax pattern match of decimals.
21523
b6ba6518
KB
215242001-03-06 Kevin Buettner <kevinb@redhat.com>
21525
21526 * Makefile.in, config/abug.exp, config/cfdbug.exp,
21527 config/cpu32bug.exp, config/dve.exp, config/est.exp,
21528 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
21529 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
21530 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
21531 config/sh.exp, config/sid.exp, config/slite.exp,
21532 config/sparclet.exp, config/udi.exp, config/unknown.exp,
21533 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
21534 config/vxworks.exp, config/vxworks29k.exp,
21535 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
21536 gdb.base/all-bin.exp, gdb.base/annota1.exp,
21537 gdb.base/arithmet.exp, gdb.base/assign.exp,
21538 gdb.base/async.exp, gdb.base/attach.exp,
21539 gdb.base/bitfields.exp, gdb.base/bitops.exp,
21540 gdb.base/break.exp, gdb.base/call-ar-st.exp,
21541 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
21542 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
21543 gdb.base/commands.exp, gdb.base/completion.exp,
21544 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
21545 gdb.base/constvars.exp, gdb.base/corefile.exp,
21546 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
21547 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
21548 gdb.base/ending-run.exp, gdb.base/environ.exp,
21549 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
21550 gdb.base/finish.exp, gdb.base/foll-exec.exp,
21551 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
21552 gdb.base/funcargs.exp, gdb.base/help.exp,
21553 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
21554 gdb.base/logical.exp, gdb.base/long_long.exp,
21555 gdb.base/maint.exp, gdb.base/mips_pro.exp,
21556 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
21557 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
21558 gdb.base/pointers.exp, gdb.base/printcmds.exp,
21559 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
21560 gdb.base/regs.exp, gdb.base/relational.exp,
21561 gdb.base/remote.exp, gdb.base/reread.exp,
21562 gdb.base/restore.exp, gdb.base/return2.exp,
21563 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
21564 gdb.base/selftest.exp, gdb.base/setshow.exp,
21565 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
21566 gdb.base/sigall.exp, gdb.base/signals.exp,
21567 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
21568 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
21569 gdb.base/step-test.exp, gdb.base/structs.c,
21570 gdb.base/structs.exp, gdb.base/structs2.exp,
21571 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
21572 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
21573 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
21574 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
21575 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
21576 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
21577 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
21578 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
21579 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
21580 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
21581 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
21582 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
21583 gdb.fortran/types.exp, gdb.java/jmisc.exp,
21584 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
21585 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
21586 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
21587 gdb.trace/circ.exp, gdb.trace/collection.exp,
21588 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
21589 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
21590 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
21591 gdb.trace/report.exp, gdb.trace/save-trace.exp,
21592 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
21593 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
21594 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
21595 notices.
21596
dc96c6c7 215972001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
21598
21599 * gdb.base/varargs.c (find_max_double): Fix printf format string:
21600 first arg is int not float.
21601
dc96c6c7 216022001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
21603
21604 * gdb.base/reread.exp: Unsupported for non-native targets;
21605 doesn't work for remote debugging.
21606
9b0c4aeb
FN
216072001-02-19 Fernando Nasser <fnasser@redhat.com>
21608
21609 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
21610 * gdb.base/ending-run.exp: Properly handle the BSP state when
21611 stepping past the end of main.
9b0c4aeb 21612
02aa71d5
MC
216132001-02-19 John Moore <jmoore@redhat.com>
21614
21615 * gdb.base/commands.exp (infrun_breakpoint_command_test):
21616 Converted HPUX fix for non-expected items following multiple
21617 step commands into general solution for all platforms.
21618
1fa449a4
MC
216192001-02-18 Michael Chastain <chastain@redhat.com>
21620
21621 * gdb.c++/classes.exp (do_tests): Change runto statements
21622 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21623 statements demangler agnostic.
21624 * gdb.c++/virtfunc.exp (do_tests): Likewise.
21625 (gdb_virtfunc_restart): Likewise.
21626
b2f9ec70
MC
216272001-02-14 Michael Chastain <chastain@redhat.com>
21628
21629 * gdb.c++/inherit.exp (do_tests): Change runto statements
21630 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21631 statements demangler agnostic.
21632
cf74b8ca
AC
21633Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
21634
21635 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
21636 ``continue to bkpt at common_routine in thread 2'' and ``stopped
21637 before calling common_routine 15 times'' tests.
cf74b8ca 21638
99f78f56
MC
216392001-02-11 Michael Chastain <chastain@redhat.com>
21640
21641 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
21642 Helps the test script figure out which demangler is in use.
21643 (dm_type_foo_ref): Ditto.
21644 (dm_type_int_star): Ditto.
21645 (dm_type_long_star): Ditto.
21646 (dm_type_unsigned_int): Ditto.
21647 (dm_type_void): Ditto.
21648 (dm_type_void_star): Ditto.
99707966 21649 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
21650 Probe the gdb demangler and set variables to accommodate
21651 formatting differences.
21652 (info_func_regexp): New function. Same as info_func, but
21653 matches against a regexp.
21654 (info_func): Match against a literal string.
21655 (print_addr_2): New function. Match against a literal string,
21656 which can be different from the input to gdb.
21657 (print_addr): Simply call print_addr_2 with the same argument twice.
21658 (test_lookup_operator_functions): Use demangler formatting variables.
21659 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
21660 the tests in the same order as the C++ class declaration.
21661 (test_paddr_operator_functions): Ditto.
21662 (test_paddr_overloaded_functions): Ditto.
21663 (test_paddr_hairy_functions): Use demangler formatting variables.
21664 Add reference to gdb/19 for related tests.
21665 (do_tests): Call probe_demangler.
21666
1de8f023
KB
216672001-01-30 Kevin Buettner <kevinb@redhat.com>
21668
21669 * gdb.c++/templates.cc (printf): Remove unused function definition.
21670
ca3f91ed
MS
216712001-01-26 Felix Lee <flee@redhat.com>
21672
21673 * sid.exp (sid_exit): Pass host, not target, to remote_close.
21674
216752001-01-25 matthew green <mrg@redhat.com>
21676
21677 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
21678 up sid.
21679 (sid_exit): Call `remote_pop_conn' after GDB is gone.
21680
216812001-01-25 matthew green <mrg@redhat.com>
21682
21683 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 21684 Deprecate $sid_spawn_id.
ca3f91ed
MS
21685 (sid_exit): Remove code necessary only for `spawn.'
21686
216872001-01-25 matthew green <mrg@redhat.com>
21688
21689 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
21690
fb18ec4a
MC
216912001-01-28 Michael Chastain <chastain@redhat.com>
21692
21693 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
21694 to call when tests fail. It takes gdb out of the overloaded
21695 function choice menu back to the main prompt, so that the test
21696 program stays synchronized.
21697 (set_bp_overloaded): New proc to collect all the common
21698 code for setting a breakpoint on an overloaded name. Calls
21699 take_gdb_out_of_choice_menu when needed.
21700 (menu_overload1arg): New variable to collect the repeated
21701 instances of the expected menu for an overloaded name. Change
21702 the regular expression to handle changes in g++ type encoding:
21703 "void" can be either "void" or "", and "unsigned int" can be
21704 either "unsigned int" or "unsigned".
21705 (continue_to_bp_overloaded): Change regular expressions to handle
21706 changes in g++ type encoding.
21707 (no proc): Call take_gdb_out_of_choice_menu when needed.
21708 Remove redundant calls to "info break". Accept either "canceled"
21709 or "cancelled". Change regular expressions in "info break"
21710 calls to handle changes in g++ type encoding. Give all tests
21711 unique strings.
21712
9c646a6e
BE
217132001-01-17 Ben Elliston <bje@redhat.com>
21714
21715 * config/sid.exp: New file.
21716
9549d9c1
AC
21717Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
21718
21719 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
21720
dc96c6c7 217212000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
21722
21723 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
21724 Add a RE to accept a non-ascii char if one is ever presented.
21725
b4df4f68
FN
217262000-12-20 Fernando Nasser <fnasser@redhat.com>
21727
297dd0fd 21728 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 21729
dc96c6c7 217302000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 21731
d63a86f8 21732 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
21733 in regexp. One '\' does not suffice on Linux.
21734
4a7bddb6
MC
217352000-12-09 Michael Chastain <chastain@redhat.com>
21736
21737 * gdb.base/break.exp (test_clear_command): Use a marker function
21738 rather than 'main' for the test function. Also move this
21739 test to an execution point where the marker function names are
21740 guaranteed to be bound to functions. (Executing tests after a
21741 'finish' from main runs into name conflicts with local names
21742 in __libc_start_main).
21743
dc96c6c7 217442000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
21745
21746 * gdb.base/finish.exp: New test for gdb's "finish" command.
21747 * gdb.base/return2.exp: New test for gdb's "return" command.
21748 * gdb.base/return2.c: New source file for above.
21749
dc96c6c7 217502000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
21751
21752 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
21753 * gdb.base/miscexprs.exp: Ditto.
21754 * gdb.base/pointers.exp: Ditto.
21755 * gdb.c++/derivation.exp: Ditto.
21756 * gdb.c++/local.exp: Ditto.
21757 * gdb.c++/namespace.exp: Ditto.
21758 * gdb.c++/overload.exp: Ditto.
21759 * gdb.c++/ref-types.exp: Ditto.
21760
dc96c6c7 217612000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
21762
21763 * gdb.base/constvars.exp: Test result of "up" command.
21764 * gdb.base/miscexprs.exp: Ditto.
21765 * gdb.base/pointers.exp: Ditto.
21766 * gdb.base/scope.exp: Ditto.
21767 * gdb.c++/derivation.exp: Ditto.
21768 * gdb.c++/local.exp: Ditto.
21769 * gdb.c++/namespace.exp: Ditto.
21770 * gdb.c++/overload.exp: Ditto.
21771 * gdb.c++/ref-types.exp: Ditto.
21772
44097287
FN
217732000-11-22 Michael Chastain <chastain@redhat.com>
21774
21775 * mips_pro.exp: Accept either "middle -> top -> main" or
21776 "middle -> main" in the backtrace, because gcc can optimize
21777 tail calls to jumps. Remove setup_xfail for the hppa case.
21778 Add a comment with the original warning messages from PR 3016,
21779 which was filed in 1993, to preserve them for posterity.
21780
9d2e1bab
ND
217812000-11-17 Nick Duffek <nsd@redhat.com>
21782
21783 * lib/gdb.exp (gdb_test): Override timeout with board info.
21784
1aca8eb7
ND
217852000-11-17 Nick Duffek <nsd@redhat.com>
21786
21787 * gdb.base/display.exp: Don't kill running stub. Add "again" to
21788 the second kill and detach messages.
21789
93076499
ND
217902000-11-17 Nick Duffek <nsd@redhat.com>
21791
21792 * configure.in: Add AC_EXEEXT.
21793 * configure: Regenerate.
21794 * Makefile.in (just-check): Export EXEEXT.
21795 * lib/gdb.exp ($EXEEXT): Import from environment.
21796 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
21797 expect "maint dump-me" on Cygwin.
21798 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
21799 $EXEEXT.
21800
30e87cd3
ND
218012000-11-17 Nick Duffek <nsd@redhat.com>
21802
21803 * gdb.base/break.exp: Test backtrace and finish from called
21804 function on all platforms, not just HP-UX.
21805
dc96c6c7 218062000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
21807
21808 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
21809 code from gdb_target_monitor, so it can be used independantly
21810 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 21811
dc96c6c7 218122000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
21813
21814 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
21815 * gdb.base/corefile.exp: Expect the message "Program is being
21816 debugged already" when we send the "corefile" command, since
21817 the preceeding gdb_load may have connected gdb to a remote target.
21818 * gdb.base/display.exp: Disable hardware watchpoints if new
21819 board info variable "no_hardware_watchpoints" is true.
21820 Replace single-letter commands with more readable ones.
21821 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
21822 if new board info variable "no_hardware_watchpoints" is true.
21823 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
21824 to see if stdio (printf) testing is possible.
21825 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
21826 board info variable "no_hardware_watchpoints" is true. Use new
21827 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
21828
39124dea
FN
218292000-11-13 Fernando Nasser <fnasser@redhat.com>
21830
21831 From Orjan Friberg <orjanf@axis.com>:
21832 * gdb.base/printcmds.exp: Escape curly braces followed by a number
21833 in array print pattern match.
21834
a9e2e984
FN
218352000-11-09 Fernando Nasser <fnasser@redhat.com>
21836
21837 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
21838 spelling "cancelled" to U.S. spelling "canceled" to match changes
21839 made to gdb.
21840 * gdb.c++/ovldbreak.exp: Ditto.
21841
c7db355b
PS
218422000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21843
21844 * gdb.base/callfuncs.c (main): Moved to end of file, call
21845 t_double_values to initialize the FPU before inferior calls are made.
21846 * gdb.base/callfuncs.exp: Test for register preservation after calling
21847 inferior functions. Add tests for continuining, finishing and
21848 returning from a stop in a call dummy.
21849
dc96c6c7 218502000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
21851
21852 * gdb.base/commands.exp: Break up long lines, and re-indent.
21853
dc96c6c7 218542000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
21855
21856 * config/gdbserver.exp: Rewritten from the ground up, to make it
21857 compatible with the current dejagnu tree, and to make it work with
21858 the new "gdbserver" in libremote.
21859
dc96c6c7 218602000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
21861
21862 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
21863 * gdb.base/varargs.exp: Skip entire test if no printf support.
21864 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
21865 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
21866
dc96c6c7 218672000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
21868
21869 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
21870 no floating point support.
21871 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
21872 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
21873 * gdb.base/call-rt-st.exp: Ditto.
21874 * gdb.base/call-strs.exp: Ditto.
21875
bac5fc66
JG
218762000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
21877
21878 * gdb.base/sizeof.c: include <stdio.h>.
21879
21880 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
21881 'finish', otherwise uncaptured gdb_prompt would potentially
21882 throw remaining test points out of sync.
bac5fc66 21883
b22a6027
SB
218842000-07-26 Scott Bambrough <scottb@netwinder.org>
21885
21886 * gdb.base/recurse.exp: Run tests for all targets.
21887 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
21888 gnu-oldld case on ARM.
21889 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
21890 for ARM targets.
d63a86f8 21891
d8231941
AG
21892Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
21893
21894 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
21895 * gdb.java/configure: Rebuild.
21896
8caabe69
AG
21897Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
21898
21899 * gdb.java/jv-exp.exp: New file.
21900
9d273ca3
AG
21901Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
21902
21903 * configure: Rebuilt.
21904 * configure.in (configdirs): Add gdb.java.
21905 * gdb.java/jmisc.java: New file.
21906 * gdb.java/jmisc.exp: New file.
21907 * gdb.java/Makefile.in: New file.
21908 * gdb.java/configure: Rebuilt.
21909 * gdb.java/configure.in: New file.
21910 * lib/java.exp: New file.
21911
4f823a66
AC
21912Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
21913
21914 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 21915 underflow.
4f823a66 21916
2391e11d
AC
21917Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
21918
21919 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 21920 and the compilers sizes.
2391e11d 21921
54602222
ND
219222000-07-09 Nick Duffek <nsd@redhat.com>
21923
21924 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
21925 (use_methods): New function.
21926 (main): Call use_methods().
21927 * gdb.c++/classes.exp (test_method_param_class): New procedure.
21928 (do_tests): Call test_method_param_class.
21929
2bec0572
ND
219302000-07-09 Nick Duffek <nsd@redhat.com>
21931
21932 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
21933 spelling.
21934 (test_enums): New procedure. Move enum tests from end of script
21935 to here. Set breakpoint on function name instead of line number.
21936 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
21937 (enums2): New marker function.
21938 (enums1): New function.
21939 (main): Call enums1(). Move enum tests to enums1().
21940
78492fde
AC
21941Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
21942
21943 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 21944 compile/link program. Update line numbers.
78492fde
AC
21945 * gdb.asm/d10v.inc: Define ``startup''.
21946 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 21947
49a2cef8
AC
21948Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
21949
21950 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
21951
3e6c8688
EZ
219522000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21953
21954 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 21955 of 'help maint print' command.
3e6c8688 21956
9ff5cbe9
AC
21957Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
21958
21959 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 21960 they use gdb_expect_list.
9ff5cbe9 21961
17c579bd
AC
21962Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
21963
21964 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
21965 memory-read-packet-size'' instead of ``set endian big'' to test
21966 long commands.
17c579bd 21967
e6d71bf3
DB
219682000-06-03 Daniel Berlin <dan@cgsoftware.com>
21969
21970 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 21971 g++, and stop skipping them.
e6d71bf3
DB
21972
21973 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
21974 work under g++.
21975
d63a86f8 21976 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
21977 initialization.
21978
dc96c6c7 219792000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
21980
21981 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
21982 the regular expression: accept an (almost) arbitrary sequence of
21983 "frames-invalid" and "breakpoints-invalid" messages both before
21984 and after the "starting" message.
21985
dc96c6c7 219862000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
21987
21988 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 21989
dc96c6c7 219902000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
21991
21992 * gdb.base/annota1.exp (annotate-signal-handler-caller):
21993 Relax the regular expression a little, make it pass on Solaris 8.
21994
8216cda9
KB
219952000-05-12 Kevin Buettner <kevinb@redhat.com>
21996
21997 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 21998 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
21999 Instead, it is permissible for gdb to stop on the line of the
22000 call itself.
22001
1a570b2f
MS
220022000-05-12 Michael Snyder <msnyder@.cygnus.com>
22003
22004 * gdb.base/break.exp (bp on small function, optimized file):
22005 Add a second pass pattern. The behavior differs here between stabs
22006 and dwarf for one-line functions. Stabs preserves two line symbols
22007 (one before the prologue and one after) with the same line number,
22008 but dwarf regards these as duplicates and discards one of them.
22009 Therefore the address after the prologue (where the breakpoint is)
22010 has no exactly matching line symbol, and GDB reports the breakpoint
22011 as if it were in the middle of a line rather than at the beginning.
22012
dc96c6c7 220132000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 22014
d63a86f8 22015 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
22016 rather than "send_gdb" (for consistancy).
22017
7d418785
AC
22018Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
22019
22020 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
22021 * gdb.c++/templates.cc: Properly check for GCC version number.
22022 * lib/compiler.cc: Likewise
22023
dc96c6c7 220242000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 22025
d63a86f8 22026 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
22027 gdb may not stop at the first line of main, due to code motion.
22028
dc96c6c7 220292000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
22030
22031 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
22032 This test depends on parsing the printf output from the target.
22033 Since the sparclet stub doesn't do stdio, this will never work.
22034 * gdb.base/call-rt-st.exp: ditto.
22035 * gdb.base/call-strs: ditto.
22036
dc96c6c7 220372000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
22038
22039 * gdb.base/miscexprs.exp: make sizeof long array test portable.
22040
22041 * gdb.base/ending-run.exp: After connecting to a remote target,
22042 but before running, the target will appear to be in a random
22043 location. Specify both a file and a line for breakpoints.
22044 Also, the function that calls main may be called 'init'
22045 rather than 'start'.
22046
a5a51225
EZ
220472000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22048
22049 * gdb.base/help.exp: Update output for add-symbol-file command.
22050
7930cc7c
FN
220512000-04-10 Fernando Nasser <fnasser@cygnus.com>
22052
22053 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22054 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
22055
23e37ab1
C
220562000-04-07 J.T. Conklin <jtc@redback.com>
22057
e93c542c
C
22058 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
22059
23e37ab1
C
22060 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
22061
591b8fa3
PDM
22062Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
22063
22064 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 22065 values that can be represented exactly.
591b8fa3
PDM
22066 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
22067 above change, and to not check against the directory part of the source
22068 file name.
22069 (step into print_long_arg_list): Likewise.
22070 (print print_small_structs from print_long_arg_list): Likewise.
22071 (print print_long_arg_list): Likewise.
22072
7a495180
EZ
220732000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22074
30b53638 22075 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 22076
beb998c6
AC
22077Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
22078
22079 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
22080
1c689132
DB
220812000-03-25 Daniel Berlin <dan@cgsoftware.com>
22082
22083 * gdb.base/commands.exp (deprecated_command_test): Add test for
22084 deprecate with no arguments.
22085
c1790a9d
JL
220862000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
22087
22088 * gdb.base/break.exp: Add new test for setting breakpoints on
22089 optimized code so we can test breakpoints work even when function
22090 prologues may be optimized away
22091
003ba290
FN
220922000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
22093
22094 From David Whedon <dwhedon@gordian.com>
a9c64011 22095 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 22096
6837a0a2
DB
220972000-03-22 Daniel Berlin <dan@cgsoftware.com>
22098
22099 * gdb.base/help.exp: Added test for new apropos command.
22100
b9593231
KB
221012000-03-21 Kevin Buettner <kevinb@redhat.com>
22102
22103 * gdb.base/pointers.c (usevar): New function.
22104 (main): Make sure that global variables v_int_pointer2, rptr,
22105 and y are all referenced someplace in the program by calling
22106 usevar() on them. [Some linkers delete symbols which are
22107 never referenced. The space remains, but there's no way to
22108 get a (symbolic) handle on the variable from the debugger.]
22109
751a959b
EZ
221102000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22111
22112 * gdb.base/printcmds.c: Add typedeffed arrays.
22113
22114 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 22115 procedure to test arrays that are typedef'd.
751a959b 22116
73a93a32
JI
221172000-03-13 James Ingham <jingham@leda.cygnus.com>
22118
22119 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 22120 the library directories.
73a93a32 22121
fb40c209
AC
22122Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
22123
22124 * configure.in (configdirs): Add sub directory gdb.mi.
22125 * configure: Re-generate.
22126
22127 * gdb.mi: New directory.
d63a86f8 22128
ee4dd2c9
AC
221292000-02-25 Scott Bambrough <scottb@netwinder.org>
22130
22131 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 22132 a long long value as a double on ARM platforms.
ee4dd2c9 22133
70f0cc22
JB
221342000-02-16 Jim Blandy <jimb@redhat.com>
22135
22136 * gdb.base/break.exp ("breakpoint line number"): Make sure the
22137 default source file is set properly before running this test.
22138
853819b8
EZ
221392000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22140
22141 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 22142 gdbtk/library directory, not in gdbtcl2.
853819b8 22143
dfcd3bfb
JM
221442000-02-04 Jim Blandy <jimb@redhat.com>
22145
22146 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
22147 backslash from regexp pattern.
22148
22149 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
22150 procedure. Use it to run all the "continue to bp overloaded"
22151 tests. Note that this changes the names of the tests slightly.
22152 If the breakpoint hit message includes a hex PC value, because
22153 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
22154 from the real source code, still consider that a pass.
22155
22156 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
22157 XFAIL here if the breakpoint message contains a hex address. Note
22158 similar change on 1999-11-02.
22159
22160 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
22161
22162 * gdb.base/ptype.exp: Establish a default source file before
22163 calling get_debug_format.
22164
221652000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
22166
22167 * gdb.base/watchpoint.exp: Remove duplication of test messages.
22168
8b93c638
JM
221692000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22170
22171 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
22172 of successive stepi commands -- while in the prologue we should see
22173 the function entry bracket.
22174
221752000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22176
22177 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
22178 reach __change_mode() when stepping through the end of main().
22179
c5394b80
JM
221802000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
22181
22182 * gdb.base/default.exp: Fix expected pattern.
22183 * gdb.base/help.exp: Same.
22184
0d06e24b
JM
221852000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22186
22187 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 22188 Don't use xfail's because that affects only the following test.
d63a86f8 22189
0d06e24b 22190 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 22191 solaris or linux.
0d06e24b
JM
22192
22193 * gdb.base/selftest.exp: Update to reflect changes to main.c.
22194
dc96c6c7 221952000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 22196
d63a86f8 22197 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
22198 "A syntax error" rather than "A parse error". Accept both.
22199
222002000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
22201
22202 * gdb.base/default.exp: Remove OS dependent string from "target
22203 remote" test.
22204 * gdb.base/help.exp: Same for "help target remote" test.
22205
c3f6f71d
JM
222062000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22207
22208 From Jim Kingdon <kingdon@redhat.com>:
22209
22210 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
22211 prompt (cleanup rather than necessity, but still might keep output
22212 from spilling to next test).
c3f6f71d
JM
22213
222142000-01-02 Fred Fish <fnf@cygnus.com>
22215
22216 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
22217 AIX, which defines them in <sys/types.h>.
22218
ed9a39eb 222191999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 22220
ed9a39eb 22221 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 22222 float" test.
ed9a39eb
JM
22223
222241999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 22225
ed9a39eb 22226 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
22227
22228 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
22229 outermost frame disallowed".
22230
222311999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
22232
22233 * gdb.base/setvar.exp: New tests for setting the value of a struct
22234 with a constant list.
22235
222361999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
22237
22238 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
22239 require the user to type a cast before setting the value of a struct.
22240
de57eccd
JM
222411999-12-06 Jim Blandy <jimb@cygnus.com>
22242
22243 * gdb.base/default.exp: Expect the new 'info float' command on
22244 all i386 platforms.
22245
22246 * gdb.threads/linux-dp.exp: Expand our ability to recognize
22247 LinuxThreads libraries that don't support debugging.
22248
c2d11a7d
JM
22249Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22250
22251 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
22252 Change the buffer type to ``unsigned char'' to simplify size
22253 arithmetic.
c2d11a7d
JM
22254
22255 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
22256 stub only handles 400-1 byte packets. Verify that the download
22257 worked.
c2d11a7d
JM
22258
222591999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
22260
22261 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
22262 tests, using UNRESOLVED for the untested cases. Also, does not wait
22263 for a timeout if the prompt was received before a recognizable pattern.
22264
222651999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
22266
22267 * lib/gdb.exp (gdb_expect_list): Fix spelling.
22268
222691999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22270
22271 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 22272 watchpoints.
c2d11a7d
JM
22273
222741999-11-24 Jason Merrill <jason@casey.cygnus.com>
22275
22276 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
22277
22278 * gdb.c++/local.exp: Be more flexible in recognizing local class
22279 name mangling. Don't allow horribly truncated method names.
22280 * gdb.c++/derivation.exp: Expect protected inheritance.
22281 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
22282 * gdb.c++/virtfunc.exp: Likewise.
22283 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
22284 when printing a nested enum.
22285
222861999-11-22 Jim Blandy <jimb@cygnus.com>
22287
22288 * gdb.base/step-test.exp: Properly await GDB's response to setting
22289 a breakpoint on the call to large_struct_by_value.
22290
22291 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
22292 just because we have debug info for the `start' function.
22293
222941999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
22295
22296 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
22297 "Unknown signal" messages, which indicate (on LinuxThreads) that
22298 GDB doesn't know how to debug threads on this system. This is
22299 better than hanging while philosopher 0 dumps chatter into gdb.log.
22300
223011999-11-18 Tom Tromey <tromey@cygnus.com>
22302
22303 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
22304
223051999-11-18 Fred Fish <fnf@cygnus.com>
22306
22307 * gdb.base/coremaker2.c: Add sample program for generating
22308 cores that is more self contained than coremaker.c. Eventually
22309 I'll add more code to this and tie it into the testsuite.
22310
4ce44c66
JM
223111999-11-12 Stan Shebs <shebs@andros.cygnus.com>
22312
22313 * gdb.base/dollar.exp: Remove, now in gdb.hp.
22314
223151999-11-10 Jimmy Guo <guo@cup.hp.com>
22316
22317 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 22318 from $srcdir/lib/.
4ce44c66 22319 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 22320 and gdb.c++/.
4ce44c66
JM
22321
22322 * gdb.c++/derivation.exp: remove redundant get compiler info code.
22323
d63a86f8 22324 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
22325 'continue with watch' test point.
22326
223271999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
22328
22329 Merged from p2linux-990323-branch:
d63a86f8 22330
4ce44c66
JM
22331 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
22332
11cf8741
JM
22333Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
22334
22335 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 22336 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
22337
22338Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
22339
22340 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 22341 gdb_expect_list.
11cf8741
JM
22342
22343Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
22344
22345 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
22346
223471999-11-03 Mark Salter <msalter@cygnus.com>
22348
22349 * gdb.base/break.exp: Fix "stub continue" pattern.
22350
223511999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
22352
22353 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
22354
223551999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
22356
22357 * gdb.base/display.exp ("finish"): Add timeout clause.
22358
22359 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
22360 plain prompt clause, so this doesn't have to time out in order to
22361 fail.
22362
22363 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 22364 breakpoint hit messages include an address.
11cf8741
JM
22365
22366 * gdb.base/display.exp: Don't forget to escape parens in regular
22367 expressions. Unix regexp notatation sucks.
22368
223691999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22370
22371 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 22372 order for 'signalled' message.
11cf8741 22373
5c44784c
JM
223741999-11-01 Stan Shebs <shebs@andros.cygnus.com>
22375
22376 From Jimmy Guo <guo@cup.hp.com>:
22377 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
22378 * gdb.base/annota1.c: Add code for tests to work with.
22379
223801999-10-26 Frank Ch. Eigler <fche@cygnus.com>
22381
22382 * gdb.base/remote.exp: New test for remote downloading settings.
22383 * gdb.base/remote.c: New file with large .data.
22384
917317f4
JM
223851999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
22386
22387 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
22388 for LinuxThreads support, merged from the Code Fusion branch.
22389
22390Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
22391
22392 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
22393 containing exp_continue into a while within an expect. Don't
22394 attempt a start more than three times. Check return value from
22395 gdb_load.
d63a86f8 22396
2df3850c
JM
22397Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
22398
22399 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 22400 a pass case.
2df3850c 22401
2acceee2
JM
224021999-10-01 Kevin Buettner <kevinb@cygnus.com>
22403
22404 * gdb.base/break.c (main): Added a statement that we can step
22405 off of.
22406 * gdb.base/break.exp: Added tests for setting a breakpoint
22407 at an offset and stepping onto a breakpoint.
22408
224091999-10-01 Fred Fish <fnf@cygnus.com>
22410
d63a86f8 22411 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
22412 gdb output.
22413
c2c6d25f
JM
224141999-09-18 Jim Blandy <jimb@cris.red-bean.com>
22415
22416 * gdb.base/break.exp: Code locations are in hex, don't forget!
22417 (For HP-UX.)
22418
224191999-09-17 Stan Shebs <shebs@andros.cygnus.com>
22420
22421 * condbreak.exp: Use break.c as test program.
22422 * condbreak.c: Remove, redundant with break.c.
22423
224241999-09-15 Stan Shebs <shebs@andros.cygnus.com>
22425
22426 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 22427 Z-packets if the target needs it.
c2c6d25f
JM
22428
224291999-09-13 James Ingham <jingham@leda.cygnus.com>
22430
22431 * gdb.c++/overload.exp: Added tests for listing overloaded
22432 functions with function pointers in the arg, explicitly calling
22433 out the version you want.
22434
cff3e48b
JM
224351999-09-09 Stan Shebs <shebs@andros.cygnus.com>
22436
22437 * long_long.exp: Add variations of test cases that work for
22438 targets with 16-bit ints and 32-bit doubles.
22439
d4f3574e
SS
224401999-09-08 Stan Shebs <shebs@andros.cygnus.com>
22441
22442 * break.c (main): Compare a possibly-uninitialized argc with an
22443 unlikely value that fits in 16 bits.
22444
224451999-09-07 Stan Shebs <shebs@andros.cygnus.com>
22446
22447 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
22448 0xfeeb, don't want negative numbers if ints are 16 bits.
22449
22450 * lib/gdb.exp (skip_cplus_tests): New proc.
22451 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
22452 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
22453 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
22454 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
22455 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
22456 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
22457 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
22458 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
22459
22460 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
22461
22462Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
22463
22464 * gdb.base/corefile.exp (up): Allow a parameter to appear
22465 in the frame that we're going up to.
22466
22467 From Jim Blandy <jimb@cygnus.com>:
22468
22469 * gdb.base/default.exp (info float): Expect some output now.
22470
22471 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
22472 returning floating-point values to fail on the x86.
22473 * gdb.base/callfwmall.exp (do_function_calls): Same.
22474
22475 * gdb.base/list.exp (test_listsize): Correct expectations for
22476 listing line 1 with listsize 2. Also, listing a single line
22477 works now, as does listing three lines. [Kevin's note: There
22478 were a number of other cases fixed too where the expectations
22479 differed...]
22480
224811999-09-02 Stan Shebs <shebs@andros.cygnus.com>
22482
22483 * gdb.base/selftest.exp: Add case for when version prints as
22484 constant string instead of char pointer.
22485
104c1213
JM
224861999-08-25 Stan Shebs <shebs@andros.cygnus.com>
22487
22488 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 22489 stepping out of main.
104c1213
JM
22490
22491 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
22492 G++ used.
22493
22494 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 22495 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
22496
22497 * gdb.c++/ovldbreak.exp: Update match string in test that
22498 includes a warning of multiple breakpoints.
22499
225001999-08-24 Stan Shebs <shebs@andros.cygnus.com>
22501
22502 * gdb.base/display.exp: Improve precision of step-after-finish
22503 added yesterday.
22504
22505 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 22506 test.
104c1213
JM
22507
22508 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
22509 configs when using G++, not just hppa*.
22510
225111999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22512
22513 * gdb.base/async.c: New file.
22514 * gdb.base/async.exp: New file.
22515
22516Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
22517
22518 * gdb.base/break.exp: Tweak PA specific tests to properly handle
22519 PA64.
22520
53a5351d
JM
22521Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
22522
104c1213
JM
22523 * gdb.base/display.exp: "finish" can leave us mid-line on many
22524 targets, deal with it. Add a small constant to main, instead of
22525 1000 since main+1000 may not be a valid address in the target.
22526
53a5351d
JM
22527 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
22528 on hpux11.
22529
22530 * gdb.base/attach.exp: Handle another hpux11 error message variant
22531 when attaching to a process that does not exist.
22532
225331999-08-19 J.T. Conklin <jtc@redback.com>
22534
22535 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 22536 characters in 'continue to 1241' test.
53a5351d
JM
22537
225381999-08-17 Stan Shebs <shebs@andros.cygnus.com>
22539
22540 * gdb.base/call-ar-st.exp: Add a shorter match case for the
22541 stop in print_long_arg_list, define and use a whitespace
22542 variable in print_small_structs test, add an XFAIL for Solaris.
22543 * gdb.base/dbx.exp: XFAIL func commands until somebody is
22544 interested enough to fix.
22545
7be570e7
JM
225461999-08-13 Keith Seitz <keiths@cygnus.com>
22547
22548 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
22549 (dbx_gdb_load): Remove. Use gdb_load instead, since that
22550 proc knows about targets other than the natives.
22551 (test_assign): Use "gdb_run_cmd" to "run" the target.
22552 Check that we've actually hit the breakpoint at main.
22553 When we attempt to assign a value to a local variable, check
22554 that the variable is in the current scope, i.e., don't use
22555 a test with an empty result.
22556
22557Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
22558
22559 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 22560 command.
7be570e7
JM
22561
225621999-08-09 Stan Shebs <shebs@andros.cygnus.com>
22563
22564 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22565 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
22566 gdb.compat, gdb.threads-hp.
22567 gdb.hp/configure, gdb.hp/configure.in: New files.
22568 gdb.hp/Makefile.in: Recurse into new subdirs.
22569 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
22570 gdb.hp/gdb.objdbg: New directory, tests for debugging info
22571 in object files.
22572 gdb.hp/tools: New directory, aux tools for HP-specific tests.
22573
96baa820
JM
225741999-08-05 Stan Shebs <shebs@andros.cygnus.com>
22575
22576 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 22577 funky printf, remove a bogus p/a test.
96baa820
JM
22578
225791999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22580
22581 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
22582 connected to the target. This is necessary when running not
22583 natively.
96baa820
JM
22584
225851999-08-03 Stan Shebs <shebs@andros.cygnus.com>
22586
22587 * gdb.base/step-test.exp: Removed some extraneous messages.
22588
22589 * gdb.base/long_long.exp: Don't run memory examination tests
22590 on little-endian targets (they will need a different set of
22591 results to match).
22592
225931999-08-02 Stan Shebs <shebs@andros.cygnus.com>
22594
22595 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
22596 until somebody decides to fix GDB.
22597
22598 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 22599 constant as "ULL".
96baa820
JM
22600 * gdb.base/long_long.exp: Loosen x/c test, add partial result
22601 matches for a couple x/2 commands.
22602
a0b3c4fd
JM
226031999-07-30 Stan Shebs <shebs@andros.cygnus.com>
22604
22605 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
22606 by merging in ref-types2 tests.
22607 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
22608
22609 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22610 * gdb.c++/Makefile.in: Add standard actions.
22611 (EXECUTABLES): Rename from PROGS, update list.
22612 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
22613 from gdb.hp.
22614 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
22615 foo and bar locals.
22616 * gdb.c++/anon-union.exp: Fix tests to match.
22617 * gdb.c++/classes.exp: Run if HP compiler used, add extra
22618 expect matches to handle output variations.
22619 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
22620 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 22621 output, add HP alternatives for new and delete prints.
a0b3c4fd 22622 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 22623 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
22624 * gdb.c++/demangle.exp: Use $style when reporting failure.
22625 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
22626 * gdb.c++/inherit.exp: Run if HP compiler used, add some
22627 match alternatives.
22628 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 22629 compilers.
a0b3c4fd
JM
22630 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
22631 * gdb.c++/method.exp: Add match alternatives.
22632 * gdb.c++/misc.cc: Add bool types.
22633 * gdb.c++/misc.exp: Add tests for bool types.
22634 * gdb.c++/overload.exp: Add xfails.
22635 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
22636 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
22637 add some more template parameter tests (only for HP currently).
22638 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
22639 * gdb.c++/virtfunc.cc: Add return type and value for main.
22640 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
22641 match alternatives.
d63a86f8 22642
a0b3c4fd
JM
226431999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22644
22645 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
22646
226471999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
22648
22649 * gdb.base/signals.exp: Don't expect getting a backtrace from
22650 within a signal handler to fail on Linux.
22651
226521999-07-29 Stan Shebs <shebs@andros.cygnus.com>
22653
22654 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22655 * lib/gdb.exp: Remove some gratuitious semicolons.
22656 (delete_breakpoints): Increase timeout.
22657 (gdb_expect): Add -notransfer option.
22658 (gdb_test): Use -notransfer option.
22659 (get_compiler_info): Add f77 case.
22660 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 22661 case.
a0b3c4fd
JM
22662 (gdb_preprocess): Call get_compiler.
22663
22664 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
22665 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
22666 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
22667 gdb.base/long_long.exp, gdb.base/printcmds.exp,
22668 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
22669 third arg to gdb_test.
a0b3c4fd
JM
22670 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
22671 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 22672 HP-UX xfails, add others.
a0b3c4fd
JM
22673 * gdb.base/completion.exp: Reflect name change of self-test.
22674 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
22675 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
22676 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
22677 HP failure number.
a0b3c4fd
JM
22678 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
22679 useless HP-UX 10.30 references.
22680 * gdb.base/maint.exp: Loosen matches.
22681 * gdb.base/pointers.c (main): Declare more_code.
22682 * gdb.base/pointers.exp: Match on output of a `next'.
22683 * gdb.base/structs.c: Add prototypes.
22684 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
22685 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
22686
226871999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22688
22689 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 22690 command.
a0b3c4fd
JM
22691
226921999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22693
22694 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
22695 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
22696
22697 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
22698 debug info. Deal with lack of signal hanlder info in stack.
22699
a9c64011 22700 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
22701 * gdb.base/annota1.exp: If printf has debug info, deal with it.
22702
5a2468f5
JM
227031999-07-19 Stan Shebs <shebs@andros.cygnus.com>
22704
22705 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 22706 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 22707
adf40b2e
JM
22708Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22709
22710 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 22711 a1-selftest.exp.
adf40b2e
JM
22712 * gdb.base/configure: Re-generate.
22713
227141999-07-12 Stan Shebs <shebs@andros.cygnus.com>
22715
22716 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
22717 in trying to run first and name is too long.
22718
22719 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
22720 pointers2.c and pointers2.exp, respectively.
22721 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
22722 doschk happier.
22723
43e526b9
JM
227241999-07-08 Stan Shebs <shebs@andros.cygnus.com>
22725
22726 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
22727 callfuncs2.c and callfuncs2.exp.
22728
22729 * gdb.base/list.exp: Remove mistaken xfails.
22730 * gdb.base/list0.h: Add optional prototypes.
22731
9846de1b
JM
22732Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
22733
a9c64011 22734 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 22735 calling malloc.
a9c64011
AS
22736 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
22737 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 22738 use.
9846de1b
JM
22739
227401999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22741
22742 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
22743 * gdb.base/annota2.cc, annota2.exp: Move from here.
22744 * gdb.c++/annota2.cc, annota2.exp: To here.
22745 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
22746
43ff13b4
JM
22747Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
22748
22749 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 22750 a consistent format.
43ff13b4 22751
085dd6e6
JM
227521999-06-25 Stan Shebs <shebs@andros.cygnus.com>
22753
22754 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22755 * lib/gdb.exp (get_compiler_info): Add detection for assorted
22756 HP compilers, also set the globals $true and $false.
22757
22758 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
22759 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
22760 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
22761 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
22762 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
22763 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
22764 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
22765 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
22766 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
22767 whatis.c} Add C++ compatible function definitions and return
22768 types, add includes for library functions.
085dd6e6
JM
22769 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
22770 * gdb.base/step-test.c (myglob): Rename from glob.
22771 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
22772 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
22773 files, move here from gdb.hp.
085dd6e6 22774 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
22775 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
22776 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
22777 Adjust line numbers in regexps.
085dd6e6
JM
22778
22779 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
22780 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
22781 instead of 0/1.
22782
22783 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
22784 foll-vfork.exp: New files, move here from gdb.hp.
22785 * gdb.base/page.exp: New file, test of pagination command.
22786
22787 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
22788 recursion test.
22789 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
22790
22791 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 22792 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
22793
22794 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 22795 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 22796 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 22797 watchpoint test.
085dd6e6
JM
22798 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
22799 them work.
22800 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
22801 expressions properly.
22802 * gdb.base/corefile.exp: Loosen the match slightly.
22803 * gdb.base/default.exp: Allow "Error accessing memory" message
22804 also.
22805 * gdb.base/display.exp: Skip over x/0 j if PA64.
22806 * gdb.base/funcargs.exp: Add xfails for HP-UX.
22807 * gdb.base/interrupt.exp: Ditto.
22808 * gdb.base/langs.exp: Add symbolic matches governed by compiler
22809 in use.
22810 * gdb.base/list.exp: Add xfails for HP-UX.
22811 * gdb.base/long_long.exp: Refine some of the numeric matches.
22812 * gdb.base/mips_pro.exp: Xfail on HP-UX.
22813 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
22814 * gdb.base/nodebug.exp: Succeed on more varieties of output.
22815 * gdb.base/opaque.exp: Remove some HP-UX xfails.
22816 * gdb.base/ptype.exp: Succeed on more varieties of output.
22817 * gdb.base/scope.exp: Add xfails for HP-UX.
22818 * gdb.base/sect-cmd.exp: Add more cases.
22819 * gdb.base/setvar.exp: Add xfails for HP-UX.
22820 * gdb.base/shlib-call.exp: Loosen some matches slightly.
22821 * gdb.base/signals.exp: Match on void symbolically.
22822 * gdb.base/step-test.exp: Add case for PA64.
22823 * gdb.base/term.exp: Add exit and restart.
22824 * gdb.base/twice.exp: Clean up after self.
22825 * gdb.base/varargs.exp: Disable overload resolution explicitly.
22826 * gdb.base/whatis.exp: Allow more ways to pass tests.
22827
22828 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 22829 no longer useful.
085dd6e6
JM
22830
22831Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
22832
22833 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 22834 list of patterns.
085dd6e6 22835 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
22836 print_double_array(double_array)", "continuing to breakpoint
22837 1018", "print print_double_array(array_d)" and "continuing to
22838 1034" tests.
d63a86f8 22839
085dd6e6
JM
228401999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
22841
a9c64011 22842 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
22843
228441999-06-24 Stan Shebs <shebs@andros.cygnus.com>
22845
22846 * config/mt-*: Remove, these haven't been used since 1996.
22847
228481999-06-22 Stan Shebs <shebs@andros.cygnus.com>
22849
22850 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 22851 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
22852 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
22853
9e0b60a8
JM
228541999-06-18 Stan Shebs <shebs@andros.cygnus.com>
22855
22856 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
22857 simpler match case for the ptype of the big class.
22858
228591999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22860
22861 * gdb.exp: Fix test for gdb_prompt existence.
22862
228631999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22864
22865 * gdb.exp (gdb_test): Add fail after calls to perror.
22866
228671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22868
22869 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
22870
228711999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22872
22873 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
22874
0f71a2f6
JM
22875Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
22876
22877 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 22878 malloc() is linked in.
0f71a2f6
JM
22879
228801999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
22881
22882 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
22883 step at end.
22884
22885 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
22886
228871999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
22888
22889 * gdb.java/jv-print.exp: New file. (Our first Java test!)
22890
cce74817
JM
22891Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
22892
22893 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
22894 * gdb.base/mips_pro.exp: Likewise.
22895
228961999-06-02 Keith Seitz <keiths@cygnus.com>
22897
22898 * gdb.c++/templates.cc: Change all "new" operators to throw
22899 an exception.
22900 * gdb.c++/cplusfuncs.cc: Likewise.
22901
22902 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
22903
22904Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
22905
22906 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
22907 * gdb.base/ending-run.exp: When stepping out of main, accept a
22908 step into an arbitrary assembler file.
cce74817 22909
392a587b
JM
229101999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22911
d63a86f8 22912 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 22913 "breakpoint-invalid" to be printed.
d63a86f8 22914 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
22915 number of "frames-invalid" and "breakpoint-invalid" to be printed.
22916 * gdb.base/annota2.cc: Initialize a.x to 0.
22917
9e086581
JM
229181999-05-17 Keith Seitz <keiths@cygnus.com>
22919
22920 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
22921 when "skip_float_tests" set.
22922 Ditto for "print print_double_array(array_d)", "print print_small_structs",
22923 "print print_ten_doubles", and "step into print_long_arg_list".
22924 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
22925 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
22926 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
22927 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
22928 "skip_float_tests" is set.
22929 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
22930 when "skip_float_tests" set.
d63a86f8 22931
cd0fc7c3
SS
229321999-05-06 Keith Seitz <keiths@cygnus.com>
22933
22934 * gdb.base/annota2.cc: Include stdio.h.
22935
22936Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
22937
22938 * gdb.base/crossload.exp: Remove, this has been disabled ever
22939 since BFD stopped including all targets, and cross-GDB gets
22940 plenty of testing anyway.
22941 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
22942 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
22943 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
22944 * gdb.base/README: Remove, was doc for this.
22945 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 22946 needed.
cd0fc7c3 22947
b83266a0
SS
229481999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22949
22950 * gdb.base/call-ar-st.exp: Fix one regular expression in test
22951 output.
22952
22953 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
22954 * gdb.base/annota2.exp: New file. More annotation tests.
22955 * gdb.base/annota1.c: New file. Source file for annota1.exp.
22956 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
22957
229581999-04-23 Angela Marie Thomas <angela@cygnus.com>
22959
22960 * config/cfdbug.exp: New file.
22961
7a292a7a
SS
229621999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
22963
22964 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
22965 Marcus Daniel's and Dale Hawkins's demangler crashes.
22966
22967 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
22968 test_lucid_style_demangling, test_arm_style_demangling,
22969 test_hp_style_demangling): Try Tom Tromey's core-dumping
22970 identifier under each demangling style.
7a292a7a
SS
22971
229721999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
22973
22974 * gdb.c++/demangle.exp: Include the current demangling style
22975 in all test names.
22976 (current_demangling_style): New global variable.
22977 (set_demangling_style, test_demangling_core, test_demangling,
22978 test_demangling_exact): New functions.
22979 (test_gnu_style_demangling, test_lucid_style_demangling,
22980 test_arm_style_demangling, test_hp_style_demangling): Use those,
22981 instead of calling gdb_test and gdb_test_exact directly.
22982 (catch_demangling_errors): New function, which reports errors
22983 signalled by the demangling test functions in an orderly way.
22984 (do_tests): Use catch_demangling_errors.
22985
229861999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
22987
22988 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 22989 grouping in expressions, not {}.
7a292a7a
SS
22990
22991 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 22992 initialized yet.
7a292a7a
SS
22993
229941999-04-01 Stan Shebs <shebs@andros.cygnus.com>
22995
22996 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
22997 are listed.
22998
229991999-03-26 Stan Shebs <shebs@andros.cygnus.com>
23000
23001 * gdb.stabs/weird.exp: Test for CC being defined before
23002 looking at its value.
23003
230041999-03-25 Stan Shebs <shebs@andros.cygnus.com>
23005
23006 * gdb.base/call-ar-st.exp: Remove stray '#'.
23007 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
23008 "short int" and "long int".
23009 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 23010 change, to mollify finicky HP compiler.
7a292a7a
SS
23011 * gdb.hp/reg-test.exp (testfile): Fix file name.
23012 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 23013
7a292a7a
SS
23014 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
23015 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
23016 alternate form of enum ptype.
23017
c906108c
SS
230181999-03-23 Stan Shebs <shebs@andros.cygnus.com>
23019
7a292a7a
SS
23020 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
23021 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
23022 passing skip_hp_tests, so as not to waste time on guaranteed
23023 failure.
7a292a7a 23024
c906108c
SS
23025 * gdb.c++/overload.cc: Pass string instead of char addr, always
23026 init ccpfoo.
23027 * gdb.c++/templates.cc: Fix syntax error.
23028
7a292a7a
SS
23029Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23030
23031 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 23032 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
23033 command.
23034
230351999-03-18 James Ingham <jingham@cygnus.com>
23036
23037 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
23038
23039 * gdb.c++/method.exp: It was testing an uninitialized int on the
23040 stack and assuming it was positive.
23041
23042 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
23043
23044 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 23045 keep it from killing the rest of the tests.
7a292a7a
SS
23046 Use gdb_continue_to_end.
23047
23048 * gdb.base/sigall.exp: use gdb_continue_to_end.
23049
23050 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
23051
23052 * gdb.base/display.exp: use runto_main, not run.
23053
d63a86f8
RM
23054 * gdb.base/default.exp: Check for the current error message in the
23055 r abbreviation test.
7a292a7a
SS
23056 Add strongarm to the targets that know info float.
23057
d63a86f8 23058 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
23059 run which doesn't work with monitors.
23060
23061 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
23062
23063 * gdb.base/break.exp: use the gdb_continue_to_end proc.
23064
23065 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
23066 program. Traps the case (in Cygmon) when the program never really
23067 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
23068 more places, so I used my name. Sorry Mark...
23069
23070 * config/monitor.exp (gdb_target_monitor): added another
23071 target_info parameter: remotebinarydownload. This will set the
23072 remotebinarydownload flag if this is causing some boards trouble.
23073
230741999-03-18 Mark Salter <msalter@cygnus.com>
23075
23076 * lib/gdb.exp (continue_to_exit): New function.
23077
23078 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
23079 * gdb.base/ending-run.exp: Ditto.
23080 * gdb.base/step-test.exp: Ditto.
23081
230821999-03-16 Stan Shebs <shebs@andros.cygnus.com>
23083
23084 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
23085 (suggested by Art Haas <ahaas@neosoft.com>).
23086
230871999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
23088
889bf7c5 23089 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
23090
23091Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
23092
23093 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 23094 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
23095
230961999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
23097
23098 * gdb.base/call-strs.exp: Don't assume that `step' will step over
23099 a call to strlen; sometimes we do have sources.
23100
231011999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
23102
23103 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 23104 character, so GDB won't print garbage after its end.
d63a86f8 23105
c906108c
SS
23106 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
23107 breakpoint there instead. Sometimes GCC emits memcpy to handle
23108 the large structures being passed by value, so we step into that
23109 instead of sum_array_print, which obscures what we're really testing.
23110 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
23111 the bizarre steps into memcpy, so do that here. Add check for
23112 stepping into function calls that pass large structures by value.
23113 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
23114 Remove all references to specific line numbers.
23115 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
23116 New type and function.
23117 (main): Call large_struct_by_value, passing it a large struct by value.
23118 * lib/gdb.exp (gdb_get_line_number): New function.
23119
23120 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
23121 more portable.
23122
7a292a7a
SS
231231999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
23124
c906108c
SS
23125 * lib/gdb.exp: Doc fixes.
23126
7a292a7a
SS
231271999-03-05 Nick Clifton <nickc@cygnus.com>
23128
d63a86f8 23129 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
23130
231311999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
23132
c906108c 23133 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
23134 commands. They're not germane to this test, and they don't work
23135 that way on remote targets.
c906108c 23136
3fc11d3e
JM
231371999-03-01 James Ingham <jingham@cygnus.com>
23138
23139 * Changelog entries merged over from gdb development branch.
23140
3fc11d3e
JM
23141 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
23142
23143 * lib/gdb.exp (gdbtk_analyze_results): Generic function
23144 for outputting results of test run.
23145
2d4a1622 23146 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
23147
23148 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 23149
7a292a7a
SS
231501999-02-25 Felix Lee <flee@cygnus.com>
23151
23152 * lib/gdb.exp (debug_format): initialize
23153
c906108c
SS
231541999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
23155
23156 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
23157 * gdb.base/call-rt-st.c: Ditto.
23158
c906108c
SS
231591999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
23160
23161 * gdb.threads/pthreads.exp (horiz): New variable.
23162 (test_startup): Fix regexps that capture thread numbers.
23163
231641999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
23165
23166 * gdb.base/smoke.exp: Disambiguate two test case names (both
23167 called ``print'').
23168
23169Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23170
23171 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 23172 compilation.
c906108c
SS
23173
231741999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23175
23176 * gdb.base/miscexprs.exp: Change patterns to match GDB's
23177 actual output formatting.
23178 * gdb.base/smoke.exp: GDB removes leading 0's.
23179 * gdb.base/volatile.exp: Don't check type of remuneration;
23180 that variable is no longer defined in constvars.c.
23181 * gdb.base/step-test.c (main): Exit with explicit exit code.
23182 * gdb.base/step-test.exp: Remove two nexti checks--they are
23183 not portable.
23184
231851999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23186
23187 * gdb.base/help.exp ("help delete display"): Fix test to match
23188 gdb's output.
23189
23190 * gdb.base/long_long.c (known_types): Initialize values to zero.
23191 * gdb.base/long_long.exp: Step one more line
23192 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
23193 leading zeros. Explicitly ask for hex formatting. Use
23194 unique test case names.
c906108c
SS
23195
23196Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23197
d63a86f8 23198 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
23199
23200 * gdb.c++/method.exp: Add missing close brace.
23201
232021999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
23203
23204 * gdb.base/maint.exp: Use 'set height 0' to disable page
23205 prompting, not 'set height 400'.
23206
23207 Fix a bunch of timeouts.
23208 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
23209 four separate tests, so expect doesn't take forever to match a ton
23210 of text against a regexp with lots of .* forms.
23211 ("maint print psymbols", "maint print symbols"): Make some of
23212 these greps more selective, so that expect doesn't try to wade
23213 through huge piles of output and time out.
23214
23215 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
23216
23217 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
23218 tests: one which doesn't expect shlib events to be reported, and
23219 another which does, but is XFAIL for all platforms other than
23220 HP/UX.
c906108c
SS
23221
23222 * gdb.base/break.exp: Teach the test suite that the `catch
23223 fork', `catch vfork', and `catch exec' commands produce error
23224 messages on platforms that don't provide these features.
23225
23226Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23227
23228 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
23229 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
23230 (shortening names from solib_threshold.exp etc), won't run on
23231 anything but HP-UX for the foreseeable future.
c906108c 23232 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 23233 reflect move.
c906108c
SS
23234
23235Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
23236
23237 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 23238 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
23239
23240Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
23241
23242 * gdb.base/shlib-call.exp: add test cases to verify that gdb
23243 successfully re-sets breakpoints in shared libraries.
23244 * gdb.base/shmain.c (main): return 0, don't fall off the end.
23245
23246Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23247
d63a86f8
RM
23248 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
23249 and compiled w/o GCC.
c906108c
SS
23250
23251 * gdb.hp/watch-cmd.exp: ditto.
23252
23253 * gdb.hp/watch-hp.exp: ditto.
23254
23255 * gdb.hp/xdb1.exp: ditto.
23256
23257 * gdb.hp/xdb2.exp: ditto.
23258
23259 * gdb.hp/dbx.exp: ditto.
23260
23261Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
23262
23263 * constvars.c: Remove C++-isms.
23264 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 23265 with GCC.
c906108c
SS
23266
23267Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
23268
23269 The following changes are part of the HP merge.
23270
23271 * gdb.base/break.exp: new tests to verify that catchpoints for
23272 fork, vfork, and exec don't trigger inappropriately.
23273
23274 * gdb.base/opaque.exp: compile one file at a time, then link.
23275
23276 * gdb.base/signals.exp: be more restrictive about which hppa
23277 systems receive a setup_xfail. new tests.
23278
23279 * gdb.base/solib_threshold.build: new file.
23280 * gdb.base/solib_threshold.exp: new file.
23281 * gdb.base/solib_threshold.link_opts: new file.
23282 * gdb.base/solib_threshold.mk: new file.
23283 * gdb.base/gen_solib_threshold.c: new file.
23284
23285 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
23286 tests. New tests for enums inside classes.
23287
23288 * gdb.c++/compiler.cc: indicate support of template debugging.
23289
23290 * gdb.c++/demangle.exp: run hp style demangling tests.
23291
23292 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
23293 tests.
23294
23295 * gdb.c++/misc.cc: changes to support new tests.
23296
23297 * gdb.c++/templates.cc: changes to support HP's compiler; changes
23298 to support new tests.
23299
23300 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
23301 gcc, then skip these tests.
23302
23303Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
23304
23305 The following files are part of the HP merge; some had longer
23306 names at HP, but have been renamed to be no more than 14
23307 characters in length.
23308
23309 * gdb.hp/ambiguous.cc: new file.
23310 * gdb.hp/ambiguous.exp: new file.
23311 * gdb.hp/attach.exp: new file.
23312 * gdb.hp/attach2.exp: new file.
23313 * gdb.hp/classes-hp.exp: new file.
23314 * gdb.hp/ctti.exp: new file.
23315 * gdb.hp/ctti-add.cc: new file.
23316 * gdb.hp/ctti-add1.cc: new file.
23317 * gdb.hp/ctti-add2.cc: new file.
23318 * gdb.hp/ctti-add3.cc: new file.
23319 * gdb.hp/dbx.exp: new file.
23320 * gdb.hp/exception.cc: new file.
23321 * gdb.hp/exception.exp: new file.
23322 * gdb.hp/foll-exec.c: new file.
23323 * gdb.hp/foll-exec.exp: new file.
23324 * gdb.hp/foll-fork.c: new file.
23325 * gdb.hp/foll-fork.exp: new file.
23326 * gdb.hp/foll-vfork.c: new file.
23327 * gdb.hp/foll-vfork.exp: new file.
23328 * gdb.hp/inherit-hp.exp: new file.
23329 * gdb.hp/more-steps.exp: new file.
23330 * gdb.hp/namespace.cc: new file.
23331 * gdb.hp/namespace.exp: new file.
23332 * gdb.hp/optimize.exp: new file.
23333 * gdb.hp/pxdb.c: new file.
23334 * gdb.hp/pxdb.exp: new file.
23335 * gdb.hp/quicksort.exp: new file.
23336 * gdb.hp/reg-test.exp: new file.
23337 * gdb.hp/reg-test.s: new file.
23338 * gdb.hp/sized-enum.c: new file.
23339 * gdb.hp/sized-enum.exp: new file.
23340 * gdb.hp/start-stop.exp: new file.
23341 * gdb.hp/templ-hp.cc: new file.
23342 * gdb.hp/templ-hp.exp: new file.
23343 * gdb.hp/thr-lib.c: new file.
23344 * gdb.hp/thr-lib.exp: new file.
23345 * gdb.hp/thr-lib.h: new file.
23346 * gdb.hp/thr-liblib.c: new file.
23347 * gdb.hp/virtfun-hp.c: new file.
23348 * gdb.hp/virtfun-hp.exp: new file.
23349 * gdb.hp/watch-cmd.exp: new file.
23350 * gdb.hp/watch-hp.exp: new file.
23351 * gdb.hp/xdb1.exp: new file.
23352 * gdb.hp/xdb2.exp: new file.
23353 * gdb.hp/xdb3.exp: new file.
23354
23355Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
23356
23357 The following files are part of the HP merge; some had longer
23358 names at HP, but have been renamed to be no more than 14
23359 characters in length.
23360
23361 * gdb.base/ss.h: new file.
23362 * gdb.base/call-ar-st.c: new file.
23363 * gdb.base/call-ar-st.exp: new file.
23364 * gdb.base/call-rt-st.c: new file.
23365 * gdb.base/call-rt-st-exp: new file.
23366 * gdb.base/call-strs.exp: new file.
23367 * gdb.base/ena-dis-br.exp: new file.
23368 * gdb.base/environ.exp: new file.
23369 * gdb.base/long_long.exp: new file.
23370 * gdb.base/sect-cmd.exp: new file.
23371 * gdb.base/shlib-cl2.exp: new file.
23372 * gdb.base/smoke.exp: new file.
23373 * gdb.base/so-impl-ld.c: new file.
23374 * gdb.base/so-impl-ld.exp: new file.
23375 * gdb.base/so-indr-cl.c: new file.
23376 * gdb.base/so-indr-cl.exp: new file.
23377 * gdb.base/varargs.exp: new file.
23378 * gdb.base/volatile.exp: new file.
23379 * gdb.base/whatis-exp.exp: new file.
7a292a7a 23380 * gdb.base/display.exp: new file.
c906108c
SS
23381 * gdb.c++/derivation.exp: new file.
23382 * gdb.c++/local.exp: new file.
23383 * gdb.c++/member-ptr.exp: new file.
23384 * gdb.c++/overload.exp: new file.
23385 * gdb.c++/ovldbreak.exp: new file.
23386 * gdb.c++/ref-types.exp: new file.
23387 * gdb.c++/ref-types2.exp: new file.
23388 * gdb.c++/userdef.exp: new file.
d63a86f8 23389
c906108c
SS
23390Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
23391
23392 * gdb.base/default.exp: Reflect wording change in remote.c.
23393
dc96c6c7 23394Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23395
23396 * gdb.base/help.exp: Update to reflect current text.
23397
23398Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
23399
23400 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
23401 they're stack variables and contain garbage.
23402 * gdb.c++/anon-union.exp: new file.
23403
23404 The following changes were made by David Taylor
889bf7c5
PA
23405 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23406 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23407 in changes by HP.
c906108c
SS
23408
23409 * gdb.base/bitops.exp: new file.
23410 * gdb.base/default.exp: change expected messages for catch and
23411 info catch tests to reflect HP merge changes.
23412 * gdb.base/enable-disable-break.exp
23413 * gdb.base/ending-run.c: new file.
23414 * gdb.base/long_long.c: new file.
23415 * gdb.base/maint.exp: new file.
23416 * gdb.base/pointers2.exp: new file.
23417 * gdb.base/shlib-call2.exp: new file.
23418 * gdb.base/solib.exp: new file.
23419 * gdb.base/step-test.c: new file.
23420 * gdb.c++/anon-union.cc: new file.
23421 * gdb.c++/local.cc: new file.
23422 * gdb.c++/member-pointer.cc: new file.
23423 * gdb.c++/method.cc: new file.
23424 * gdb.c++/ref-types.cc: new file.
23425 * gdb.c++/ref-types2.cc: new file.
23426 * gdb.c++/userdef.cc: new file.
d63a86f8 23427
c906108c
SS
23428 * gdb.base/scope.exp: compile one file at a time, then link.
23429 * gdb.base/langs.exp: ditto.
23430 * gdb.base/list.exp: ditto.
d63a86f8 23431
c906108c
SS
23432Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
23433
23434 The following changes were made by David Taylor
889bf7c5
PA
23435 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23436 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23437 in changes by HP.
d63a86f8 23438
c906108c
SS
23439 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
23440 skip tests. When compiling pass c++ flag to gdb_compile.
23441 * gdb.c++/
d63a86f8 23442
c906108c
SS
23443 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
23444 test for on hppa*-*-hpux*; use args to see if c++ was specified.
23445 (skip_hp_tests): new function.
23446 (gdb_preprocess): new function.
23447
23448 * configure.in (hpdir): decide whether to configure gdb.hp.
23449 * configure: regenerated.
23450
23451 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
23452 to delete on clean.
23453 (EXECUTABLES): update to reflect new additions.
23454 * gdb.base/commands.exp: update message expected.
23455 * gdb.base/default.exp: add copyright notice.
23456 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
23457 * gdb.base/help.exp: update messages to reflect current text.
23458 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
23459 targets for recurse tests.
23460 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
23461 skip this file.
23462
23463 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
23464 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
23465 compilation.
23466 * gdb.c++/misc.exp: ditto.
23467 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
23468 run the tests. tell gdb_compile that it's a c++ compilation.
23469
23470 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 23471
c906108c
SS
23472 * gdb.base/all-bin.exp: new file.
23473 * gdb.base/arithmet.exp: new file.
23474 * gdb.base/assign.exp: new file.
23475 * gdb.base/completion.exp: new file.
23476 * gdb.base/cond-expr.exp: new file.
23477 * gdb.base/condbreak.exp: new file.
23478 * gdb.base/define.exp: new file.
23479 * gdb.base/dollar.exp: new file.
23480 * gdb.base/environment.exp: new file.
23481 * gdb.base/eval-skip.exp: new file.
23482 * gdb.base/jump.exp: new file.
23483 * gdb.base/logical.exp: new file.
23484 * gdb.base/pointers.exp: new file.
23485 * gdb.base/relational.exp: new file.
23486 * gdb.base/section_command.exp: new file.
23487 * gdb.base/whatis-expr.exp: new file.
23488
23489 * gdb.base/all-types.c: new file.
23490 * gdb.base/call-array-struct.c: new file.
23491 * gdb.base/call-return-struct.c: new file.
23492 * gdb.base/call-strings.c: new file.
23493 * gdb.base/callfuncs2.c: new file.
23494 * gdb.base/condbreak.c: new file.
23495 * gdb.base/constvars.c: new file.
23496 * gdb.base/display.c: new file.
23497 * gdb.base/int-type.c: new file.
23498 * gdb.base/jump.c: new file.
23499 * gdb.base/miscexprs.c: new file.
23500 * gdb.base/pointers.c: new file.
23501 * gdb.base/pointers2.c: new file.
23502 * gdb.base/shmain.c: new file.
23503 * gdb.base/shr1.c: new file.
23504 * gdb.base/shr2.c: new file.
23505 * gdb.base/solib.c: new file.
23506 * gdb.base/solib1.c: new file.
23507 * gdb.base/solib2.c: new file.
23508 * gdb.base/varargs.c: new file.
23509 * gdb.c++/derivation.cc: new file.
23510 * gdb.c++/overload.cc: new file.
23511 * gdb.c++/ovldbreak.cc: new file.
23512 * gdb.hp/attach.c: new file.
23513 * gdb.hp/attach2.c: new file.
23514 * gdb.hp/average.c: new file.
23515 * gdb.hp/compiler.c: new file.
23516 * gdb.hp/compiler.cc: new file.
23517 * gdb.hp/execd-program.c: new file.
23518 * gdb.hp/follow-exec.c: new file.
23519 * gdb.hp/follow-fork.c: new file.
23520 * gdb.hp/follow-vfork-and-exec.c: new file.
23521 * gdb.hp/misc-hp.cc: new file.
23522 * gdb.hp/more-steps.c: new file.
23523 * gdb.hp/optimize.c: new file.
23524 * gdb.hp/quicksort.c: new file.
23525 * gdb.hp/run-hp.c: new file.
23526 * gdb.hp/start-stop.c: new file.
23527 * gdb.hp/sum.c: new file.
23528 * gdb.hp/templates-hp.cc: new file.
23529 * gdb.hp/thread-local-in-lib.c: new file.
23530 * gdb.hp/thread-local-in-lib.h: new file.
23531 * gdb.hp/thread-local-in-lib.lib.c: new file.
23532 * gdb.hp/vforked-program.c: new file.
23533 * gdb.hp/virtfunc-hp.cc: new file.
23534 * gdb.hp/watchpoint-hp.c: new file.
23535 * gdb.hp/xdb.c: new file.
23536 * gdb.hp/xdb0.c: new file.
23537 * gdb.hp/xdb0.h: new file.
23538 * gdb.hp/xdb1.c: new file.
23539
23540Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
23541
23542 The following change was made by Edith Epstein
889bf7c5
PA
23543 <eepstein@cygnus.com> as part of a project to merge in changes
23544 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
23545
23546 * gdb.c++/demangle.exp: changed the expected output for some
23547 ARM-style mangling -- removed second reference to datatype.
889bf7c5 23548 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 23549 T1<char>::~T1<char>(void)
c906108c 23550 becomes,
a9c64011
AS
23551 maint demangle __dt__11T1__pt__2_cFv
23552 T1<char>::~T1(void)
c906108c 23553
889bf7c5 23554 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 23555
c906108c
SS
23556Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
23557
23558 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
23559 * gdb.trace/backtrace.exp: Likewise.
23560 * gdb.trace/circ.exp: Likewise.
23561 * gdb.trace/collection.exp: Likewise.
23562 * gdb.trace/deltrace.exp: Likewise.
23563 * gdb.trace/infotrace.exp: Likewise.
23564 * gdb.trace/limits.exp: Likewise.
23565 * gdb.trace/packetlen.exp: Likewise.
23566 * gdb.trace/passc-dyn.exp: Likewise.
23567 * gdb.trace/passcount.exp: Likewise.
23568 * gdb.trace/report.exp: Likewise.
23569 * gdb.trace/save-trace.exp: Likewise.
23570 * gdb.trace/tfind.exp: Likewise.
23571 * gdb.trace/tracecmd.exp: Likewise.
23572 * gdb.trace/while-dyn.exp: Likewise.
23573 * gdb.trace/while-stepping.exp: Likewise.
23574
235751998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
23576
23577 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
23578
23579Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
23580
23581 From Brendan Kehoe:
23582 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
23583 int return types.
23584
23585Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
23586
23587 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 23588 remote dos host testing right.
c906108c
SS
23589
23590Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
23591
23592 * gdb.base/corefile.exp: remove some xfails.
23593
23594Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
23595
23596 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 23597 have different timestamps.
c906108c
SS
23598
23599Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
23600
23601 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 23602 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
23603
23604Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
23605
23606 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 23607 delta.
c906108c
SS
23608
23609Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
23610
23611 * gdb.base/default.exp: Add brace missing from previous delta.
23612
23613Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
23614
23615 * gdb.base/default.exp: Support test for info float for all
23616 varieties of arm toolchain.
23617
dc96c6c7 23618Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23619
23620 * gdb.trace/*.exp: remove "remote_download" command.
23621
dc96c6c7 23622Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23623
23624 * gdb.trace/*.exp: remove -gdwarf from compile.
23625
23626Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
23627
23628 * gdb.trace/configure.in(AC_INIT): typo
23629 * gdb.trace/configure: regenerated
23630
dc96c6c7 23631Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23632
23633 * config/m68k-emc.exp: New file.
23634 * lib/<emc-support.exp trace-support.exp}: New files.
23635 * configure.in: add new test directory gdb.trace.
23636 * gdb.trace/{configure configure.in Makefile.in}: New files.
23637 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
23638 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
23639 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
23640 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
23641 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
23642 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
23643 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 23644
dc96c6c7 23645Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23646
23647 * gdb.c++/classes.exp: Change all regular expressions to match
23648 arbitrary combinations of newline/carriage-return, so that they
23649 will work equally well on Unix and Windows.
23650 * gdb.c++/inherit.exp: ditto.
23651 * gdb.c++/virtfunc.exp: ditto.
23652
236531998-08-11 Dawn Perchik <dawn@cygnus.com>
23654
23655 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
23656
c2d11a7d
JM
23657Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
23658
23659 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
23660 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
23661 to use a0-a3/d0-d3 as needed.
23662
23663Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
23664
23665 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
23666 * gdb.disasm/am33.exp: Corresponding changes.
23667
c906108c
SS
236681998-07-11 Felix Lee <flee@cygnus.com>
23669
23670 * gdb.base/callfuncs.exp: add cmp10 test.
23671 * gdb.base/callfuncs.c (cmp10): new function.
23672
23673Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
23674
d63a86f8 23675 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
23676 into two parts to get around a synchronization problem in expect.
23677
3fc11d3e
JM
23678Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
23679
23680 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
23681
23682 * configure.in: Add options for gdbtk testsuite.
23683
23684 * configure: Regenerate.
23685
23686 * gdb.gdbtk: New directory to hold gdbtk tests.
23687
c906108c
SS
23688Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23689
23690 * gdb.fortran/types.exp: Escape brackets in expect patterns
23691 for test_float_literal_types_accepted tests.
23692 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
23693 before run test.
23694
c2d11a7d
JM
23695Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
23696
23697 * am33.exp: Just compile, do not link the testcase.
23698 * am33.s: Add ".am33" pseudoop to force am33 mode.
23699
c906108c
SS
237001998-06-25 Felix Lee <flee@cygnus.com>
23701
23702 * gdb.base/setshow.exp: make sure $pc is sane.
23703
23704 * gdb.stabs/weird.exp: split expect patterns properly.
23705
c2d11a7d
JM
23706Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
23707
23708 * gdb.disasm/am33.s: New disassembler testfile for the am33.
23709 * gdb.disasm/am33.exp: Run it.
23710
dc96c6c7 23711Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23712
23713 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
23714 match processing (and eliminate spurious timeouts when running).
23715
dc96c6c7 23716Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23717
23718 * gdb.base/signals.exp (test_handle_all_print): put back Mach
23719 exception test, but conditionalize it on target [mach | gnu].
23720
dc96c6c7 23721Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23722
23723 * gdb.base/overlays.exp: fixup compile line for linker script.
23724
23725Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
23726
23727 * gdb.fortran/types.exp: don't guess at float size.
23728
23729Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
23730
23731 * gdb.base/exprs.exp: delete test that depends on int size.
23732
23733Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
23734
23735 * config/sim.exp: Removed checks for target triplets.
23736 (gdb_target_sim): Use gdb,target_sim_options.
23737
23738Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
23739
23740 * gdb.base/reread.exp: New file.
23741 * gdb.base/reread1.c: New file.
23742 * gdb.base/reread2.c: New file.
23743
23744Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
23745
23746 * config/sim.exp: Use 'target sim -sparclite' when running
23747 SPARClite programs.
23748
23749Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
23750
23751 * gdb.base/structs2.exp: New file.
23752 * gdb.base/structs2.c: New file.
23753
23754Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
23755
23756 * gdb.asm/common.inc: New file.
23757 * gdb.asm/d10v.inc: New file.
23758 * asm-source.exp: Pass -I's to gas to find .inc files.
23759 Update line numbers in expected output.
23760 * asmsrc1.s: Rewrite.
23761 * asmsrc2.s: Rewrite.
23762 * configure.in: Create arch.inc symlink.
23763 * configure: Regenerate.
23764 * Makefile.in (distclean): Delete arch.inc.
23765
23766Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
23767
23768 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
23769 (t_enum_value2): ditto
23770 (t_enum_value3): ditto
23771 (main): ditto
c906108c
SS
23772Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23773
23774 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
23775 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
23776 change.
23777 Use gdb_test instead of send_gdb/gdb_expect sequences.
23778
23779Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
23780
23781 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
23782 not void.
23783
23784Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
23785
23786 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
23787 subroutines. Used to test gdbs ability to single step through PC
23788 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
23789
23790Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
23791
23792 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
23793 more rigorous EGCS C++ error checking.
23794
23795Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23796
a9c64011
AS
23797 * gdb.base/help.exp: Clean up `help set args' and `help show args'
23798 tests.
23799 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
23800 function when asleep.
23801 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
23802 for i*86 Linux and SVR4 signal handling problems.
23803 Remove linux xfail for `next to handler in signals_tests_1', fixed
23804 by recent infrun.c change.
23805 Limit backtrace to 10 frames to avoid timeout problems with infinite
23806 stack backtraces.
23807 Adjust expect pattern in `handle all print' test to match Apr 28 1997
23808 target.[ch] change.
c906108c
SS
23809
23810Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
23811
23812 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
23813 for a newline from gdb before continuing.
23814 (default_gdb_exit): Just look for y or n.
23815 (gdb_test): Detect abnormal exit from GDB running on DOS; if
23816 it does, fail the rests of the tests in the file.
23817
23818Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
23819
23820 * config/cygmon.exp: New file.
23821
23822Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
23823
23824 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 23825 main" test on remote targets.
c906108c
SS
23826
23827 * gdb.base/scope.exp: Fix problem with filelocal_bss before
23828 run test on remote targets.
23829
23830Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
23831
23832 * gdb.asm: New directory.
23833 * configure.in: Configure it.
23834 * configure: Regenerate.
23835 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
23836 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
23837
23838Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
23839
23840 * config/mn10300-eval.exp: New file to support MN10300 eval board.
23841
dc96c6c7 23842Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 23843
a9c64011
AS
23844 * gdb.base/overlays (several files): Merge the two overlay
23845 managers into one. Change variables (foox, barx, bazx, grbxx)
23846 back into ints but force them to load in their proper sections.
c906108c
SS
23847
23848Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
23849
23850 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 23851 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
23852 (D10VCopy): Handle memory regions crossing 16k boundaries.
23853 (D10VCopy): Transfer data in 32 bit chunks.
23854
23855Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
23856
23857 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 23858 correct.
c906108c
SS
23859
23860 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 23861 map. Include space for printf in .text segment.
c906108c
SS
23862
23863 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 23864 updated d10v memory VMA/LMA map.
c906108c 23865 (D10VCopy): Call D10VTranslate.
d63a86f8 23866
c906108c
SS
23867Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
23868
23869 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
23870
23871 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
23872 that it won't be put into the .sdata - small data -
23873 section. Update reference.
c906108c
SS
23874 * gdb.base/baz.c (bazx, baz): Ditto.
23875 * gdb.base/foo.c (foox, foo): Ditto.
23876 * gdb.base/grbx.c (grbxx, grbx): Ditto.
23877
23878 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 23879 to be arrays.
d63a86f8 23880
dc96c6c7 23881Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 23882
a9c64011
AS
23883 * gdb.base/overlays.exp: fix up and get working again.
23884 Add tests for backtraces from an overlay function.
d63a86f8 23885
c906108c
SS
23886Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
23887
23888 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
23889 "calling function with watchpoint enabled".
23890
23891Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
23892
23893 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 23894 gdb_suppress_tests for d10v-*-*.
c906108c
SS
23895 * lib/gdb.exp (gdb_suppress_tests): Disable this function
23896 pending review of whether it is useful or not.
23897
23898Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
23899
23900 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
23901
23902Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
23903
23904 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
23905 * config/dve.exp: New file to support Densan boards.
23906
23907Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
23908
23909 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 23910 reads and BSD.
c906108c
SS
23911
23912Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
23913
23914 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
23915 response.
23916
23917 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
23918
23919Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
23920
23921 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 23922 test.
c906108c
SS
23923
23924 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 23925 target_sizeof_long and target_bigendian_p.
c906108c 23926 (structs_by_value, structs_by_reference): Check values according
889bf7c5 23927 to targets word size and endianess.
d63a86f8 23928
c906108c
SS
23929Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
23930
23931 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 23932 output.
c906108c
SS
23933
23934Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
23935
23936 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 23937 Update test of set args help to match source change.
c906108c
SS
23938
23939Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
23940
23941 * gdb.base/default.exp: Expect help system output to be in
23942 alphabetical order.
23943 * gdb.base/help.exp: Ditto.
23944
23945Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
23946
23947 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
23948 "i*86-pc-linux-gnu*".
23949 * gdb.base/interrupt.exp: Ditto.
23950 * gdb.base/corefile.exp: Ditto.
23951
23952 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 23953 define vxworks when building the testcase.
c906108c
SS
23954
23955 * gdb.base/ptype.exp: Fix testnames to be unique.
23956 * gdb.base/radix.exp: Ditto.
23957 * gdb.base/term.exp: Ditto.
23958 * gdb.base/whatis.exp: Ditto.
23959 * gdb.c++/classes.exp: Ditto.
23960
23961Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
23962
23963 * gdb.base/callfuncs.exp: Fix indentation.
23964
23965 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
23966 suppress_flag has been set.
23967 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
23968 target feature.
23969
23970Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
23971
23972 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
23973 the testcase.
23974
23975 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 23976 set_debug_traps() and breakpoint().
c906108c
SS
23977 * gdb.c++/misc.cc (main): Ditto.
23978 * gdb.c++/templates.cc (main): Ditto.
23979 * gdb.c++/virtfunc.cc (main): Ditto.
23980
23981Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
23982
23983 * lib/gdb.exp(gdb_step_for_stub): New function.
23984 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
23985 exists, reload the executable and do a "continue" instead of
23986 doing a jump.
23987 (runto_main): Use gdb_step_for_stub.
d63a86f8 23988
c906108c 23989 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 23990 tests to have unique names.
c906108c
SS
23991 * gdb.base/callfuncs.exp: Ditto.
23992 * gdb.base/commands.exp: Ditto.
23993 * gdb.base/default.exp: Ditto.
23994 * gdb.base/help.exp: Ditto.
23995 * gdb.base/list.exp: Ditto.
23996 * gdb.base/opaque.exp: Ditto.
23997 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
23998 similar tests.
d63a86f8 23999
c906108c
SS
24000 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
24001 * gdb.c++/cplusfuncs.cc: Ditto.
24002 * gdb.c++/virtfunc.cc: Ditto.
24003
24004 * config/monitor.exp: Keep track of the last file we saw, rather
24005 than trying to get the info from gdb.
24006
24007 * gdb.fortran/types.exp: Move comment to previous line.
24008
24009Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
24010
24011 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 24012 target mode.
c906108c
SS
24013
24014Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
24015
24016 From Bob Manson:
24017 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 24018 string from GDB when it connects.
c906108c
SS
24019
24020 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
24021
24022Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
24023
24024 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
24025 if we can't get a debug format from GDB (we may be testing an
24026 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
24027
24028 * gdb.stabs/weird.exp: Fix quoting.
24029
24030 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
24031
24032Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
24033
24034 * config/arm-ice.exp: New file.
24035
24036Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
24037
24038 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 24039 until it has been modified to work with the new testsuite.
c906108c 24040
99707966 24041 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
24042 testcase won't compile, cause all of the testcases in the file to
24043 fail instead.
c906108c
SS
24044
24045 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
24046 (gdb_clear_suppressed): New procedure.
24047 (gdb_stop_suppressing_tests): Only clear suppress_flag if
24048 it contains a positive value.
24049
24050Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
24051
24052 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
24053
24054 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
24055
24056Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
24057
24058 * lib/gdb.exp (setup_xfail_format): New function.
24059 (get_debug_format): New function to get debug format.
24060 (debug_format): New global variable to hold last value set
24061 by get_debug_format.
24062 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 24063 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
24064 * gdb.c++/ptype.exp: Ditto.
24065 * gdb.c++/classes.exp: Ditto.
24066 * gdb.c++/cplusfuncs.exp: Ditto.
24067 * gdb.c++/inherit.exp: Ditto.
24068 * gdb.c++/templates.exp: Ditto.
24069 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 24070
c906108c
SS
24071Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
24072
24073 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
24074 host doesn't have a currently-open connection.
24075
24076 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
24077 any gdb stub target. Handle cases where gdb doesn't respond when
24078 interrupted in a sane fashion.
c906108c
SS
24079
24080 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 24081 same thing in a totally different way.
c906108c
SS
24082
24083 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 24084 setting "timeout".
c906108c 24085 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 24086 default_gdb_init now.
c906108c
SS
24087
24088Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
24089
24090 * gdb.base/printcmds.exp: Fix "check for floating addition"
24091 regexp to accept results within approx +/- .01 of exact value.
24092 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
24093
24094Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
24095
24096 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 24097 properly.
c906108c
SS
24098 (gdb_expect): Add optional timeout parameter, and add timeout
24099 value to various calls.
24100 (gdb_suppress_tests): Only give one warning message per group.
24101
24102Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
24103
24104 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
24105 global variables. Handle getting a value for $timeout more
24106 gracefully.
c906108c
SS
24107
24108Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24109
24110 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 24111 initialize.
c906108c 24112 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 24113 by a target configuration file.
c906108c
SS
24114 (gdb_expect): Pass the timeout to remote_expect.
24115
24116 * config/monitor.exp(gdb_load): Fix typo in regexp.
24117
24118Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
24119
24120 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
24121
24122Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
24123
24124 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
24125 here. Call gdb_target_exec before rebooting the target, to make
24126 sure the connection to the target is closed.
c906108c
SS
24127 (gdb_load): Pass the name of the executable to gdb_target_monitor.
24128 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
24129 Also detect "Timeout reading from remote" error.
24130
24131 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
24132 gdb_target_monitor. Don't call gdb_file_cmd here; let
24133 gdb_target_monitor do it.
c906108c
SS
24134
24135 * gdb.disasm/hppa.exp: Don't use exec_output.
24136
24137Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
24138
24139 * gdb.base/list.exp: If we're debugging a non-native target,
24140 try to set the pc register to point to the start of the
24141 program before doing the first list command.
24142
24143 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 24144 test_calls after restarting.
c906108c
SS
24145
24146 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 24147 reloading.
c906108c
SS
24148
24149 * gdb.base/watchpoint.exp: Fix typo.
24150
24151 * gdb.base/setshow.exp: Check for use_gdb_stub.
24152
24153 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 24154 stub case.
c906108c
SS
24155 * gdb.base/langs.exp: Ditto.
24156
24157 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
24158 gdb_load_offset. If we weren't given a file to load, figure out
24159 what the current file is and use it.
c906108c
SS
24160
24161 * config/i386-bozo.exp: New file.
24162
24163Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
24164
24165 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
24166 feature.
24167
24168 * config/proelf.exp: New entry.
24169
24170Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
24171
24172 * lib/gdb.exp: Remove spurious .* patterns at the beginning
24173 of regexps.
24174
24175 * gdb.base/watchpoint.exp: Don't run the test_stepping
24176 tests if gdb can't call functions on the target.
24177
24178 * gdb.base/setshow.exp: Don't run the set prompt tests if
24179 the board has gdb_prompt set.
24180
24181Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
24182
24183 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
24184 * gdb.base/commands.exp: Likewise.
24185 * gdb.base/setshow.exp: Likewise.
24186
24187Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
24188
24189 * config/monitor.exp(gdb_start): Look for gdb_prompt target
24190 feature.
24191
24192 * config/i960.exp: New file.
24193
24194Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
24195
24196 * gdb.base/funcargs.exp: Check for gdb,short_int target
24197 feature instead of looking for explicit target triplets.
24198
dc96c6c7 24199Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 24200
d63a86f8 24201 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
24202 "p 123DEADBEEF", to check parse_number.
24203 * top.c: change "to enable to enable" to "to enable" in a couple
24204 of help strings.
24205
24206Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
24207
24208 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
24209 on the mn10300.
d63a86f8 24210
c906108c
SS
24211Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
24212
24213 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
24214 where the test executable is run with explicit args.
24215 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
24216
24217Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
24218
24219 * gdb.base/run.c: Use FAKEARGV to build test executable that
24220 does not require a command line arg, since most simulators
24221 don't currently support passing such an arg into the simulated
24222 program.
24223 * gdb.base/commands.exp: Change tests to insert the proper
24224 value as the arg to the first recursive factorial call. Change
24225 compilation line to define FAKEARGV at compile time.
24226
24227Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
24228
24229 * gdb.base/recurse.exp: Enable these tests for the mn10300.
24230 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
24231 function with watchpoint enabled" test.
24232
24233Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
24234
24235 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 24236 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
24237
24238 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 24239 "Tests restarted" messages.
c906108c
SS
24240
24241Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
24242
24243 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
24244
dc96c6c7 24245Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24246
24247 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
24248 for INFO SYMBOL; add help tests for OVERLAY commands.
24249 * gdb.base/default.exp: add tests for INFO SYMBOL command;
24250 add tests for OVERLAY commands
24251 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
24252 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
24253 * gdb.base/sigall.c: add usestubs code frag
24254 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 24255
c906108c
SS
24256Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
24257
24258 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
24259 failures.
24260 (gdb_stop_suppressing_tests): Note that tests have restarted.
24261
24262Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
24263
24264 * config/h8300.exp: New file.
24265
24266Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
24267
24268 * gdb.base/setshow.exp: Check for the existence of a
24269 feature, not its value.
24270
24271Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
24272
24273 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
24274
24275 * gdb.base/scope.exp: It's now init0(), not init().
24276
24277 * gdb.base/scope0.c: For now, change init() to be init0().
24278
24279 * config/monitor.exp: Use gdb_serial in preference to serial
24280 or netport.
24281
24282 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 24283 and it's not already set.
c906108c
SS
24284
24285Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
24286
24287 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 24288 isn't using a stub and if it supports argument passing.
c906108c
SS
24289
24290Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
24291
24292 * config/udi.exp(gdb_start): Make sure UDICONF is set
24293 properly before starting gdb.
24294
24295Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
24296
24297 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
24298 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
24299 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
24300
24301Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
24302
24303 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 24304 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
24305
24306 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
24307
24308 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
24309
24310 * config/monitor.exp: Make sure we disconnect from the target.
24311 Also, try a reboot/reload cycle instead of failing if the
24312 load fails.
24313
24314Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
24315
24316 * gdb.base/default.exp: Don't set match_max.
24317 * gdb.base/help.exp: Ditto.
24318 * gdb.base/list.exp: Ditto.
24319 * gdb.base/signals.exp: Ditto.
24320
24321 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
24322 set, use remote_ld to download the testcase instead of
24323 the GDB loader.
24324
24325Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
24326
24327 * config/vr5000.exp: New file.
24328
24329 * config/monitor.exp(gdb_target_monitor): Add pattern for
24330 "Ending remote" to detect errors in connecting.
24331
24332 * gdb.base/setshow.exp: Add .* within auto language test.
24333
24334 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
24335 target feature.
24336
24337 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 24338 and reboot the board if necessary.
c906108c
SS
24339
24340 * gdb.base/setvar.exp(test_set): Handle multiple prints within
24341 a set of tests. Remove print.* from the patterns being checked.
24342
24343Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
24344
24345 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
24346 refer to gdb_spawn_id.
24347
24348 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
24349 longer used.
24350 * config/sparclet.exp: Ditto.
24351 * config/sparclet-old.exp: Ditto.
24352 * config/slite.exp: Ditto.
24353 * config/sim.exp: Ditto.
24354 * gdb.base/funcargs.exp: Ditto.
24355
24356 * lib/gdb.exp:Remove references to gdb_spawn_id.
24357 (gdb_expect): Move to remote.exp.
24358
24359Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
24360
24361 * config/monitor.exp: Detect the "Couldn't establish connection"
24362 message from GDB.
24363
24364Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
24365
24366 * gdb.base/bitfields.exp: Use runto instead of explicit
24367 gdb_run_cmd/gdb_expect sequences.
24368
24369 * gdb.base/break.exp(text_next_with_recursion): Add match for
24370 gdb_expect call.
24371
24372 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
24373 We also need to handle the "A program is being debugged already"
24374 prompt from gdb. Use gdb_test to set the baud rate.
24375
24376 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
24377 to 20000. Really. I mean it.
24378
24379Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24380
24381 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
24382 fails. If suppress_flag is set, skip perror message about not
24383 being able to send to GDB.
c906108c 24384 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 24385 GDB.
c906108c
SS
24386 (gdb_expect): If suppress_flag is set, always fail immediately.
24387 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
24388 (gdb_init): Call gdb_stop_suppressing_tests.
24389 (default_gdb_exit): Ditto.
24390 (default_gdb_start): Ditto.
24391
24392 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 24393 gdb_stop_suppressing_tests as appropriate.
c906108c 24394 * gdb.base/break.exp: Ditto.
889bf7c5 24395 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
24396 * gdb.base/commands.exp: Ditto.
24397 * gdb.base/exprs.exp: Ditto.
889bf7c5 24398 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
24399 * gdb.base/list.exp: Ditto.
24400 * gdb.base/recurse.exp: Ditto.
889bf7c5 24401 * gdb.base/scope.exp: Ditto.
c906108c
SS
24402 * gdb.base/structs.exp: Ditto.
24403 * gdb.c++/inherit.exp: Ditto.
24404
24405Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
24406
24407 * config/vr4300.exp: New file.
24408
99707966 24409 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 24410
99707966 24411 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
24412
24413Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
24414
24415 * lib/gdb.exp(gdb_init): New function.
24416
24417 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 24418 for each individual variable set.
c906108c
SS
24419
24420 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
24421 name.
24422
24423 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
24424
24425 * gdb.base/scope.exp: Use gdb_test.
24426
24427 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
24428 aborting; the testsuite driver will do that for us (see
24429 gdb_finish). Also, use gdb_test in a few more places.
24430
24431Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
24432
24433 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
24434
24435Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
24436
24437 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
24438 and "add_tests" are not at the same address.
24439
24440Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
24441
24442 * gdb.base/ptype.exp: Use gdb_test.
24443
24444Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
24445
24446 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
24447 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
24448 left in. No longer expect them to fail.
24449
24450 * gdb.stabs/*.mt; Deleted, no longer used.
24451 * gdb.stabs/configure.in: Remove references to target makefile
24452 frags.
24453 * gdb.stabs/configure: Rebuilt.
24454
24455 * gdb.disasm/*.mt: Deleted, no longer used.
24456 * gdb.disasm/configure.in: Remove references to target makefile
24457 frags. Use "sh3.s" as the unique filename for this directory.
24458 * gdb.disasm/configure: Rebuilt.
24459
24460 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
24461 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
24462 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
24463
24464Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
24465
24466 * config/udi.exp: Use mondfe,name instead of remote_host.
24467
24468Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
24469
24470 * gdb.base/watchpoint.exp: Don't expect a failure when calling
24471 a function with a watchpoint enabled on the mn10200.
24472
24473 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
24474 before trying to create it!
24475
24476Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
24477
24478 * config/vx.exp: Use hostname instead of netport.
24479
24480 * config/vxworks.exp: New file.
24481
24482 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
24483
24484 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 24485 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
24486 occurs.
24487
24488 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
24489 $gdb_spawn_id directly.
24490 (gdb_run_cmd): Try _start as well as start. Use the target feature
24491 gdb,start_symbol as the symbol to start from when jumping.
24492
24493Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
24494
24495 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
24496 redundant) test.
24497
24498 * gdb.base/recurse.exp: Relax final value test for 'b' so that
24499 it doesn't lose for 16bit integer systems.
24500
24501Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
24502
24503 * gdb.fortran/types.exp: If the target doesn't support "double"
24504 data types, then expect "real" types to only be 4 bytes.
24505
24506 * gdb.c++/virtfunc.exp: Expect failure for virtual function
24507 call tests if the target doesn't support inferior function calls.
24508
24509 * gdb.base/printcmds.exp: Allow minor deviation in FP values
24510 in printf tests.
24511
24512Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
24513
24514 * gdb.base/help.exp: Disable "help set", "help show", and
24515 "help support". Simplify regexp for "help stack".
24516
24517 * gdb.base/default.exp: Set match_max to 5000 and the timeout
24518 to 60 seconds. Temporarily set match_max to 15000 around the
24519 "info copying" test.
24520
24521 * gdb.base/nodebug.exp: Don't try to do an inferior function
24522 call if the target doesn't support them.
24523 * gdb.base/printcmds.exp: Likewise.
24524 * gdb.base/setvar.exp: Likewise.
24525 * gdb.base/structs.exp: Likewise.
24526 * gdb.c++/templates.exp: Likewise.
24527 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
24528
24529 * gdb.base/recurse.exp: Enable for the mn10200.
24530
24531 * configure.in: Do configure gdb.stabs directory for *-*-elf
24532 targets.
24533 * configure: Rebuilt.
24534
24535 * gdb.base/break.exp: Check for gdb,noresults before testing
24536 exit status and/or results from the target.
24537 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
24538 * lib/gdb.exp: Remove old (now bogus) initialization of
24539 noinferior, noargs, noresults and nosignals.
24540
24541Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
24542
24543 * config/sh.exp: New file.
24544
24545 * config/slite.exp: Try to connect multiple times to the board
24546 before rebooting. Only send a "monitor run" if need_monitor_run
24547 is set.
24548
24549 * gdb.base/break.exp: Don't do the "stub continue" test if
24550 the target has gdb_stub set.
24551
24552 * gdb.base/callfuncs.exp: Increase the timeout.
24553
24554 * gdb.base/interrupt.exp: Don't even try to compile the testcase
24555 if the target has gdb,noinferiorio set.
24556
24557 * gdb.base/list.exp: Increase match_max to 10000 characters.
24558
24559 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
24560
24561 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
24562 target.
24563
24564 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
24565
24566Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
24567
24568 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
24569 trying to delete the copy of gdb. Catch the file delete so we
24570 don't die if the delete fails; also, the file should be copied to
24571 the host, not to the build.
c906108c
SS
24572
24573Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
24574
24575 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 24576 parenthesis in case it contains multiple regexps separated
c906108c
SS
24577 with |.
24578
24579 * gdb.base/watchpoint.exp: Use gdb_test.
24580 * gdb.base/default.exp: Ditto.
24581
24582Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
24583
99707966 24584 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 24585
c906108c
SS
24586 * gdb.base/scope.exp: Use gdb_test.
24587 * gdb.c++/classes.exp: Ditto.
24588 * gdb.c++/inherit.exp: Ditto.
24589
24590Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
24591
24592 * gdb.base/crossload.exp: Don't use execute_anywhere, use
24593 remote_exec instead.
24594 * gdb.base/corefile.exp: Don't be ridiculous.
24595 * gdb.base/*.c: Add missing stub invocations.
24596
24597Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
24598
24599 * config/slite.exp: Miscellaneous fixes.
24600
24601 * lib/gdb.exp: Fix runto.
24602
24603 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
24604 the target.
24605
24606 * gdb.base/watchpoint.exp: Fix regexp.
24607
24608 * lib/gdb.exp(default_gdb_exit): Add a catch to the
24609 close and wait commands, as the descriptor may now be
24610 invalid. Always call "remote_close host".
24611
24612Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
24613
24614 Major rewrite for testsuite revision.
d63a86f8 24615
c906108c
SS
24616 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
24617 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
24618 instead of relying on spawn_id to always contain a valid
24619 spawn id.
24620 (get_compiler_info): New procedure to build the ${binfile}.ci
24621 file, instead of replicating this in N different places.
24622 (gdb_compile): New procedure.
d63a86f8 24623
c906108c 24624 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
24625 appropriate arguments) instead of compile. Use gdb_test in a lot
24626 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
24627 at the start of a testcase, as this is no longer done magically.
24628
24629 config/*-gdb.exp: Rename without the -gdb suffix.
24630
24631 config/mips.exp: Use remote_close instead of exit_remote_shell.
24632 config/monitor.exp: Use target_info instead of looking at
24633 baud, timeout, etc.
24634 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
24635
24636Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24637
24638 * gdb.c++/templates.exp (test_ptype_of_templates),
24639 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
24640 Update expect patterns for destructors and assignment operators
24641 to match corresponding c-typeprint.c changes.
24642 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
24643 to destructor breakpoint test, GDB should be able to set the
24644 destructor breakpoint without specifying arguments.
24645
24646Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
24647
24648 * gdb.threads/pthreads.exp: Change result for failure to compile due
24649 to lack of pthreads runtime support from an error to simply an
24650 unsupported test, per dejagnu standards.
24651
24652Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24653
24654 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
24655 where GDB exits to reduce pattern match time.
24656 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
24657
24658 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
24659
dc96c6c7 24660Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24661
24662 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
24663 * gdb.base/default.exp: ditto.
24664 * gdb.base/nodebug.exp: ditto.
24665 * gdb.base/printcmds.exp: ditto.
24666 * gdb.base/ptype.exp: ditto.
24667 * gdb.base/setvar.exp: ditto.
24668 * gdb.base/structs.exp: ditto.
24669 * gdb.base/setshow.c: Guard against uninitialized values of argc.
24670
24671Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
24672
24673 * configure, */configure: Rebuild with autoconf 2.12.
24674
24675Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
24676
24677 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
24678 use new i*86-pc-linux*-gnu quads.
24679 * gdb.base/corefile.exp: Ditto.
24680 * gdb.base/signals.exp: Ditto.
24681 * gdb.base/sigall.exp: Ditto.
24682 * gdb.base/interrupt.exp: Ditto.
24683
24684 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
24685 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
24686 RedHat 4.0.
d63a86f8 24687
c906108c 24688 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
24689 linux. This allows the test case to at least compile on latest
24690 linux, but still not run due to missing the threads runtime library.
c906108c
SS
24691
24692Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24693
24694 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
24695 directory to search gdb directory. Accept and step over conditional
24696 stack alignment code. Consume $prompt in failure cases.
24697 Reset timeout to $oldtimeout instead of some arbitrary value.
24698 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
24699 timeout problems with infinite stack backtraces.
24700 * gdb.base/ptype.exp (ptype struct link, union tu_link):
24701 Accept function parameters for linkfunc member.
24702
24703Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
24704
24705 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
24706 (CXXFLAGS): Remove, unreferenced.
24707 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
24708 previous -B options and also add -B option to pick up cross compiled
24709 runtime.
c906108c
SS
24710 (TARGET_INCLUDES): Add for -I options and add code to initialize when
24711 doing cross compiles.
24712 (target_alias): Declare global.
24713 (xgcc): Set variable to full path of gcc in build tree. Use findfile
24714 to verify that gcc exists in build tree, and if so set CC to that
24715 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 24716
c906108c
SS
24717Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
24718
24719 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
24720 ptype test for anonymous union. Fixup testcase to match
24721 current gcc debug output.
24722
24723Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
24724
24725 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
24726 force argument to an unsigned long type.
24727
24728Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
24729
24730 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 24731 tests and anonymous union print/ptype tests.
c906108c
SS
24732 * gdb.base/list.exp (test_forward-search): Increase timeout by
24733 5 minutes for the "search extremely long line" case.
24734 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
24735 completely optional and that the pass/fail messages use the command as
24736 the message if that third arg is a null string.
24737 (gdb_test_exact): Arrange that a null string pattern means match a
24738 null string output rather than any output, which might include random
889bf7c5 24739 errors.
c906108c
SS
24740 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
24741 backtrace test.
24742 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
24743 always failing and failure is now exposed by gdb.exp changes.
24744
24745Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
24746
24747 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
24748 weren't being noted.
24749
24750Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24751
24752 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
24753 * gdb.stabs/weird.exp: Remove v_comb xfails.
24754
dc96c6c7 24755Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24756
24757 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 24758 list.exp scope.exp watchpoint.exp]
c906108c 24759 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 24760
dc96c6c7 24761Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24762
24763 * config/monitor.exp: Increase download timeout to 1000 seconds.
24764
dc96c6c7 24765Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24766
24767 * config/m32r.exp: Increase timeout to 120 seconds.
24768
24769Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
24770
24771 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
24772 and accept older ordering as obsolescent gcc or gdb.
24773 * gdb.c++/templates.exp: Ditto.
24774 * gdb.c++/virtfunc.exp: Ditto.
24775
24776Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
24777
24778 * gdb.base/coremaker.c: Add code to mmap some data so we
24779 can check that it ends up in the core file.
24780 * gdb.base/corefile.exp: Add test to read mmapped data
24781 from core file.
24782
dc96c6c7 24783Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24784
24785 * config/m32r.exp: New file.
24786
24787Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
24788
24789 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
24790 that cflags can contains -gstabs, and work correctly for other tests.
24791
dc96c6c7 24792Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24793
24794 * gdb.base/setshow.exp: New file, tests show and set.
24795 * gdb.base/setshow.c: New file, tests show and set.
24796 * gdb.base/help.exp: Add test for help set|show annotate.
24797 * gdb.base/default.exp: Add test for set|show annotate.
24798
24799Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
24800
24801 * testsuite/gdb.base/break.exp: Make backtrace from factorial
24802 errors unique.
24803 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
24804 explicitly.
24805
24806Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
24807
24808 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
24809 and width commands. This is done elsewhere.
24810 * (gdb_start): Don't call gdb_start_sim here. That's already
24811 done in gdb_load. This fixes lots of failures in default.exp.
24812
24813Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
24814
24815 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
24816 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
24817 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
24818 in the same we we treat other failures (since it may be an expected
889bf7c5 24819 condition), rather than as an error.
c906108c
SS
24820 * gdb.base/signals.exp (test_handle_all_print): Revert back to
24821 old test format.
24822
24823Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
24824
24825 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
24826 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 24827 twice. Nuke the duplicates.
c906108c 24828 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 24829 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
24830 Remove config.h along with other config files.
24831
24832Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
24833
24834 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
24835 "p func1 ()" and note that rests of tests are skipped.
24836 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 24837 setup_xfails for "print func2::coremaker_local".
c906108c
SS
24838 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
24839 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
24840 affected by the previous run test.
24841 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
24842 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
24843 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
24844 "pass int powerset tuple" and "pass modeless int powerset tuple".
24845 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
24846 "real write 4" and "real write 8".
24847 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 24848 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
24849 "print \$i after tuple assign 2", and
24850 "print vs2 after tuple assign 2".
24851 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
24852 meaningful error message and return -1 so the caller can
24853 suppress further tests and avoid a cascade of errors.
d63a86f8 24854
c906108c
SS
24855Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
24856
24857 * gdb.base/a1-selftest.exp: Tweak tests to account for new
24858 format for printing version.
24859 * gdb.base/default.exp: Ditto.
24860 * gdb.base/interrupt.exp: Fix problem with cascade of
24861 errors if child process dies while calling a function.
d63a86f8 24862
c906108c
SS
24863Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
24864
24865 * Makefile.in (VPATH): Add
24866 * Makefile.in (Makefile, config.status): Fix rules so things get
24867 remade when necessary.
24868
24869Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
24870
24871 * Makefile.in (just-check): Add path to sibling expect dir
24872 to environment variable specified by RPATH_ENVVAR.
24873
24874Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
24875
24876 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
24877 (just-check): Add shared library paths for libstdc++, tk,
24878 tcl, bfd, and opcodes to the environment variable specified
24879 in RPATH_ENVVAR.
24880 * configure.in: Add support to recognize --enable-shared flag
24881 and generate correct value for RPATH_ENVVAR.
24882 * configure: Regenerated with autoconf.
24883
24884Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
24885
24886 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 24887 include all osf versions.
c906108c
SS
24888 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
24889 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
24890 when target is linux. When failing to build pthreads test
24891 executable, give more meaningful message.
24892 * gdb.threads/pthreads.c: Hpux also uses old definition of second
24893 arg for pthread_create.
d63a86f8 24894
c906108c
SS
24895Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
24896
24897 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 24898 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 24899 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 24900 and -lpthreads (everybody else).
c906108c
SS
24901 (test_startup): Fail gracefully if threads are not supported.
24902 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
24903 "p/c array_index("abcdef",2)" when not gcc compiled.
24904 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
24905 "print func2::coremaker_local" when not gcc compiled.
24906 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
24907 "ptype on opaque struct tagname (statically)",
24908 "ptype on opaque struct tagname (dynamically) 1", and
24909 "ptype on opaque struct tagname (dynamically) 2"
24910 for not compiled with gcc.
24911 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
24912 backtrace when compiled with gcc.
d63a86f8 24913 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
24914 than always return success.
24915
24916Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
24917
24918 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
24919
24920Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
24921
24922 * gdb.base/structs.exp: Undo last change.
24923
24924Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
24925
24926 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
24927 encapsulate all the steps/nexts done during self test, starting
24928 at main, and makes them less sensitive to optimization issues.
24929 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
24930 signal handler" test.
24931 * gdb.threads/pthreads.exp: Only run this for native configs.
24932 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
24933 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
24934 tests.
24935 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
24936 for "runto test_calls(void)" test.
d63a86f8 24937
c906108c
SS
24938Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
24939
24940 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
24941 and don't expect address info in breakpoint confirmations.
24942
24943Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
24944
24945 * gdb.base/list.exp (test_forward_search): Increase timeout
24946 temporarily by 60 seconds for searching extremely long line,
889bf7c5 24947 and then reset to old value when done. Increase expect input
c906108c
SS
24948 buffer to 10000.
24949
24950Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
24951
24952 * gdb.base/list.exp (test_forward_search): Fix to handle very
24953 long source line without overflowing expect's input buffer.
24954
24955Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
24956
24957 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
24958 "buffer_full".
24959
24960 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
24961 "buffer_full".
24962
24963 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
24964 "buffer_full".
24965
24966 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
24967 "buffer_full".
24968
24969Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
24970
24971 * configure.in (configdirs): Add gdb.threads.
24972 * configure: Regenerated with autoconf.
24973 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
24974 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
24975 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 24976
c906108c
SS
24977Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
24978
24979 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
24980
24981Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
24982
24983 * gdb.base/signals.exp (test_handle_all_print): Test separately for
24984 each signal's status in the output of "handle all print".
24985 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
24986 the \r\n sequence that immediately precedes the gdb prompt.
24987 * gdb.base/a1-selftest.exp: Save original timeout and restore
24988 after test.
24989
24990Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
24991
24992 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
24993 symbol.
24994
24995Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
24996
24997 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
24998
24999Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
25000
25001 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
25002 timeout by 60 seconds.
25003
25004Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
25005
25006 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
25007 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
25008 error return.
25009
25010Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
25011
25012 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
25013 gdb initialization, also report how long dejagnu waited. Restore
25014 old timeout before doing error return. Temporarily increase timeout
889bf7c5 25015 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
25016
25017Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
25018
25019 * lib/gdb.exp: Report timeout value for verbosity level 2.
25020 * config/gdbserver.exp: Ditto.
25021 * config/hppro.exp: Ditto.
25022 * config/mips-gdb.exp: Ditto.
25023 * config/monitor.exp: Ditto.
25024 * config/netware.exp: Ditto.
25025 * config/sim-gdb.exp: Ditto.
25026 * config/slite-gdb.exp: Ditto.
25027 * config/udi-gdb.exp: Ditto.
25028 * config/unix-gdb.exp: Ditto.
25029 * config/vx-gdb.exp: Ditto.
25030 * gdb.base/a1-selftest.exp: Ditto.
25031 * gdb.base/a2-run.exp: Ditto.
25032 * gdb.base/break.exp: Ditto.
25033 * gdb.base/corefile.exp: Ditto.
25034 * gdb.base/list.exp: Ditto.
25035 * gdb.base/recurse.exp: Ditto.
25036 * gdb.base/scope.exp: Ditto.
25037 * gdb.base/signals.exp: Ditto.
25038
25039Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25040
25041 * gdb.threads/Makefile.in (docdir): Removed.
25042
25043Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25044
25045 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 25046 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 25047 @srcdir@.
d63a86f8 25048 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
25049 autoconf 2.5 or higher.
25050 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
25051
25052Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
25053
25054 * configure: Regenerated.
25055 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
25056 avoid name clashes with SunOS headers.
25057
25058Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
25059
25060 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
25061
25062Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
25063
25064 * gdb.base/callfuncs.exp: Finish last change -- make sure the
25065 prototype information ends up in the compiler info file.
25066
25067Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
25068
25069 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
25070 attempting to regenerate it. Eliminate use of a temporary file
25071 and just generate the info file directly. Source it immediately,
25072 for consistency of use.
25073 * gdb.base/corefile.exp: Ditto
25074 * gdb.base/exprs.exp: Ditto.
25075 * gdb.base/funcargs.exp: Ditto.
25076 * gdb.base/langs.exp: Ditto.
25077 * gdb.base/list.exp: Ditto.
25078 * gdb.base/mips_pro.exp: Ditto.
25079 * gdb.base/nodebug.exp: Ditto.
25080 * gdb.base/opaque.exp: Ditto.
25081 * gdb.base/ptype.exp: Ditto.
25082 * gdb.base/scope.exp: Ditto.
25083 * gdb.base/setvar.exp: Ditto.
25084 * gdb.base/signals.exp: Ditto.
25085 * gdb.base/whatis.exp: Ditto.
25086 * gdb.c++/templates.exp: Ditto.
25087 * gdb.c++/virtfunc.exp: Ditto.
25088 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 25089 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
25090
25091Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25092
25093 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
25094 it got fixed by the recent lookup_minimal_symbol_by_pc change.
25095 Increase timeout, a lot of single stepping might be needed if the
25096 target has no hardware watchpoints.
25097
25098Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
25099
25100 * gdb.base/break.exp: Ignore compiler warnings when compiling
25101 break.c.
25102 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
25103 * gdb.base/default.exp: Add h8300 xfails. Handle messages
25104 from remote-sim.
25105 * gdb.base/exprs.exp: Add h8300 xfails.
25106 * gdb.base/funcargs.exp: Likewise.
25107 * gdb.base/nodebug.exp: Likewise.
25108 * gdb.base/printcmds.exp: Likewise.
25109 * gdb.base/ptype.exp: Likewise.
25110 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
25111 h8300 xfails.
d63a86f8 25112 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
25113 on the h8300.
25114 * gdb.base/funcargs.c: Explicitly make last constant argument to
25115 call_after_alloca_subr an unsigned long type.
25116 * gdb.base/return.c: Include stdio.h.
25117
25118Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
25119
25120 * config/abug.exp: New file for the older Motorola Bug monitor
25121 that runs on the mvme13x series VME boards.
25122 * config/monitor.exp: Use the new config array for target settings
25123 if they exist.
25124
25125Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
25126
25127 * sim-gdb.exp: Make the SH simulator allocate less space when
25128 it is targeted.
25129
25130Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
25131
25132 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
25133 test.
25134
25135Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
25136
25137 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
25138 "rs6000-*-*" for "list function in include file" when gcc compiled.
25139 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
25140 for "p ctable1[120]".
25141 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
25142 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
25143 Remove setup_xfail for "rs6000-*-*" for
25144 "print 'scope0.c'::filelocal before run".
25145 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
25146 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
25147 since some compilers don't allow both options to be given
25148 on the same command line. Create object file and move it.
d63a86f8 25149
c906108c
SS
25150Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
25151
25152 * gdb.base/corefile.exp: Always regenerate the core file, since
25153 we always regenerate the coremaker program. Detect special case
25154 where registers cannot be read from core file.
d63a86f8 25155
c906108c
SS
25156Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
25157
25158 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
25159 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
25160 * gdb.c++/templates.exp: Only match on basename of file since
25161 some formats like xcoff don't encode directory information.
25162 * gdb.stabs/weird.exp: Use the right sed script for powerpc
25163 and rs6000 AIX xcoff targets.
25164 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
25165 * configure: Regenerate.
25166 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
25167 here, rather than in distclean.
d63a86f8 25168
c906108c
SS
25169Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
25170
25171 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
25172 defined, and use it to compile the test case with -O2. The
25173 native compilation still uses no optimization.
25174 * gdb.base/mips_pro.c: Remove inline assembly code since
25175 it is compiled PIC by default, which results in assembler
25176 warnings that make the testsuite think the compilation
25177 was unsuccessful.
25178
25179Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
25180
25181 * gdb.c++/misc.exp: Add note to message for
25182 "print s.a for foo struct" that this is a known gcc 2.7.2
25183 and earlier bug.
25184
25185Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
25186
25187 * gdb.base/break.exp: Fix pattern for matching "Delete all
25188 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
25189 setup_xfail for deleting all breakpoints test. Fix various
25190 timeout messages to include "(timeout)".
25191 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
25192 for "p t_float_values2(3.14159,float_val2)".
25193 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
25194 for "continue to call2g" when gcc compiled.
25195 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
25196 "up to foo in langs.exp", "show language at foo in langs.exp",
25197 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
25198 and "show language at fsub in langs.exp".
25199 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
25200 "list line 1 in include file", "list message for lines past EOF",
25201 "list function in include file", "list list0.h:foo", and
25202 "list filename:function; nonexistant function".
25203 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
25204 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
25205 and "ptype t_char_array" to be for native cc only.
d63a86f8 25206
c906108c
SS
25207Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
25208
d63a86f8 25209 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 25210 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 25211 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
25212
25213Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
25214
25215 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
25216 "bt in signals.exp". This problem only appears when running
25217 the testsuite, and then only intermittently.
25218
25219Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
25220
25221 * gdb.base/return.exp (return_tests): Differentiate between
25222 two tests of continuing.
25223
25224Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
25225
25226 * */Makefile.in (maintainer-clean): Remove config.log.
25227 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
25228 * gdb.c++/Makefile.in (PROGS): Add inherit.
25229 (clean): Remove *.ci.
25230
25231Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
25232
25233 * gdb.c++/misc.cc: Add test code from Mike Stump.
25234 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
25235
25236Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
25237
25238 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
25239 to "alpha-*-osf2*" and add comment.
25240 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
25241 setup_xfail for "step over execarg initialization" and
25242 "step over corearg initialization".
c906108c
SS
25243 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
25244 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
25245 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 25246 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
25247 "print func2::coremaker_local", and "backtrace in corefile.exp".
25248 * gdb.base/signals.exp: Build and source signals.ci.
25249 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
25250 to be for gcc only.
25251 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 25252
c906108c
SS
25253Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25254
25255 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
25256 Feb 3 procfs.c change.
25257
25258Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
25259
25260 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
25261
25262Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
25263
25264 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
25265 from dejagnu's apparent default of 10 seconds, which gives random
25266 results when running the tests over NFS on moderately loaded systems.
25267 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
25268
25269Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
25270
25271 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
25272 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 25273 result reports.
c906108c
SS
25274
25275Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
25276
25277 * configure.in (CY_AC_PATH_TCLH): Remove.
25278 * configure: Regenerate.
25279
25280Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
25281
25282 * gdb.c++/Makefile.in (clean): Add missing '{'.
25283
25284Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
25285
25286 * lib/gdb.exp: Provide a default value for noinferior.
25287
25288 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
25289 Load libgloss.exp.
25290
25291Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
25292
25293 * gdb.disasm/hppa.exp: Compile directly into an executable, use
25294 the executable, not the .o to run the tests from.
25295
25296Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
25297
25298 * gdb.base/break.exp: Don't test for program exit or exit status
25299 if $noresults if nonzero.
25300 * gdb.base/langs.exp: Likewise.
25301 * gdb.base/watchpoint.exp: Likewise.
25302
25303 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
25304 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
25305 trying to compile the testcase.
25306
25307Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
25308
25309 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
25310 * gdb.base/signals.exp (continue to handler): Likewise.
25311
25312Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
25313
25314 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
25315
25316 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
25317
25318Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
25319
25320 * gdb.base/corefile.exp: Recognize "not found" as failure
25321 when trying to determine if a core file was generated.
25322 If no core file was generate the first time, try again without
25323 the ulimit -c to work around braindamaged shells.
25324
25325Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
25326
25327 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
25328 [] tests with "test" and enclose string in quotes.
25329 * gdb.stabs/configure: Rebuild
d63a86f8 25330
c906108c
SS
25331Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
25332
25333 Changes in sync with expect:
25334 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
25335 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
25336 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
25337 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
25338 argument to AC_REQUIRE.
25339 * configure: Regenerated.
25340
25341Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
25342
25343 * gdb.base/corefile.exp: When generating a core, discard any
25344 error messages about ulimit not found and the "core dumped"
25345 message from the shell that runs the coredumper.
25346
25347Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
25348
25349 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
25350
25351 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
25352 which sed script to run. Expect failure for v_comb test
25353 on PA targets too.
d63a86f8 25354
c906108c
SS
25355Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
25356
25357 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 25358 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
25359
25360Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
25361
25362 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
25363 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 25364 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
25365 * lib/gdb.exp (default_gdb_start): Fix typo.
25366 * gdb.base/corefile.exp: Allow "Core was generated by ..."
25367 messages to not include the full program name that caused
25368 the core dump since some systems (such as solaris) apparently
25369 truncate this path to about 80 characters.
25370 When generating a core file first try increasing the core file
25371 size limit to unlimited since some systems may default it to
25372 zero, and it is harmless to try it. Move the test for failing
25373 to generate a core file to where it will actually get executed.
25374 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
25375 new gdb result from g++ debug info improvements and make old
25376 pattern obsolescent. Also account for size_t differences
25377 (may be int or long).
25378 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
25379 initialization before function call is placed in the delay slot
25380 and thus appears to be skipped over by commands such as "next".
25381
25382Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
25383
25384 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
25385
25386Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
25387
25388 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
25389 input source file; fix code to compile test to deal with this
25390 convention.
25391 * gdb.c++/*.exp: Likewise.
25392
25393Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
25394
25395 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
25396 "bt in signals.exp".
25397
25398Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
25399
25400 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
25401 "step over execarg initialization" and
889bf7c5 25402 "step over corearg initialization".
c906108c
SS
25403
25404Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
25405
25406 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
25407 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
25408
25409Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
25410
25411 From Rob Savoye (rob@poseidon.cygnus.com)
25412 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
25413 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
25414 configure.in}, gdb.disasm/{Makefile.in, configure.in},
25415 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
25416 configure.in}: Major reworking for autoconfig.
c906108c
SS
25417 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
25418 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 25419 New files.
c906108c
SS
25420 * config/unix-gdb.exp: Make GDB global.
25421 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
25422 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
25423 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
25424 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
25425 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
25426 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 25427 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
25428 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
25429 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
25430 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
25431 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 25432 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
25433 to returns as necessary, arrange for test to compile own testcase
25434 executable.
c906108c 25435 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 25436
c906108c
SS
25437Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
25438
25439 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 25440 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
25441 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
25442 "backtrace through signal handler".
25443
25444Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25445
25446 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
25447 continuing from a job control stop signal.
25448 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
25449
25450Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
25451
25452 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
25453 * gdb.base/corefile.exp: Likewise.
25454 * gdb.base/funcargs.exp: Likewise.
25455
25456Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
25457
25458 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
25459 * config/monitor.exp: Add support for setting baud rate.
25460
25461Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
25462
25463 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
25464 i*86-*-linux* xfails for "backtrace through signal handler".
25465 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
25466 "print func2::coremaker_local".
25467 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 25468 alpha-dec-osf2* xfail for
c906108c
SS
25469 "delete all breakpoints when none".
25470
25471Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
25472
25473 * gdb.base/break.exp: Change test that deletes all breakpoints
25474 when no user breakpoints are installed. A post 4.15 change
25475 causes gdb to no longer prompt in this case.
25476
25477Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
25478
25479 * gdb.base/return.exp (return_tests): Change xfail for test
25480 "correct value returned double test" to stop xfailing at
25481 Solaris 2.5. Apparently the bug has been fixed.
25482
25483Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
25484
25485 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
25486 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
25487
25488Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
25489
25490 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
25491 * gdb.disasm/hppa.s: Corresponding changes.
25492
25493Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
25494
25495 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
25496 makefile fragment.
25497 * config/mt-hpux: Deleted.
25498
25499Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
25500
d63a86f8 25501 * Many files: When warning about suppressed tests due to a
c906108c
SS
25502 nonexistant test binary, avoid incrementing the warning count.
25503
25504Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
25505
25506 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 25507
c906108c
SS
25508Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25509
25510 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
25511 "sparc-*-solaris2*".
25512
25513Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25514
25515 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
25516 Add global and local variables and initialize them.
25517 * gdb.base/corefile.exp: Test correct mapping of corefile sections
25518 by printing variables. Remove rs6000 and powerpc xfails, BFD now
25519 extracts the file name and terminating signal from the core file.
25520 * TODO: Remove note about tests for correct mapping of corefile.
25521 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
25522 from optimizing it away.
25523 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
25524 handles common blocks.
25525
25526Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
25527
25528 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
25529 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
25530
25531Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
25532
25533 * Makefile.in (maintainer-clean): New target, synonym for
25534 realclean.
25535 * gdb.base/Makefile.in (maintainer-clean): Likewise.
25536 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
25537 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
25538 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
25539 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
25540 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
25541
25542Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
25543
25544 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
25545 xfails when not gcc compiled for "print foo::funclocal".
25546 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
25547 "print foo::funclocal at foo",
25548 "print 'scope1.c'::foo::funclocal at foo",
25549 "print foo::funclocal_bss at foo",
25550 "print 'scope1.c'::foo::funclocal_bss at foo",
25551 "print foo::funclocal_ro at foo",
25552 "print 'scope1.c'::foo::funclocal_ro at foo",
25553 "print bar::funclocal at foo" and
25554 "print 'scope1.c'::bar::funclocal at foo".
25555 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
25556 gcc compiled for "print foo::funclocal at bar".
25557 Expand all messages to ensure that they identify that
25558 the test is at bar().
25559 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
25560 gcc compiled for:
25561 "ptype on opaque struct pointer (statically)",
25562 "ptype on opaque struct tagname (statically)",
25563 "ptype on opaque struct pointer (dynamically) 1",
25564 "ptype on opaque struct tagname (dynamically) 1",
25565 "ptype on opaque struct pointer (dynamically) 2" and
25566 "ptype on opaque struct tagname (dynamically) 2
25567 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
25568 gcc compiled for:
25569 "p datalocal"
25570 "whatis datalocal",
25571 "ptype datalocal",
25572 "p bsslocal",
25573 "whatis bsslocal", and
25574 "ptype bsslocal".
25575 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
25576 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
25577 when not gcc compiled.
25578 * gdb.base/funcargs.exp (float_and_integral_args): Add
25579 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
25580 compiled.
25581 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
25582 "backtrace from call6a" when not gcc compiled.
25583 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
25584 "backtrace from call7a" when not gcc compiled.
25585 * gdb.base/callfuncs.exp (do_function_calls):
25586 Add "hppa*-*-hpux*" xfail when not gcc compiled for
25587 "p t_char_array_values(char_array_val2,char_array_val1)",
25588 "p t_char_array_values(char_array_val1,char_array_val2)",
25589 "p t_char_array_values("carray 1","carray 2")",
25590 "p t_char_array_values("carray 1",char_array_val2)",
25591 "p t_char_array_values(char_array_val1,"carray 2")",
25592 "p sum_args(1,{2})",
25593 "p sum_args(2,{2,3})",
25594 "p sum_args(3,{2,3,4})",
25595 "p sum_args(4,{2,3,4,5})"
25596 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
25597 "backtrace in corefile.exp" when not gcc compiled.
25598
25599Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25600
25601 * gdb.base/signals.exp: Rewrite `handle all print' test as
25602 a procedure. Accept blanks or TABs as whitespace, increase
25603 timeout and expect input buffer size for the large output
25604 from the command. Remove "i*86-*-bsdi2.0" xfail.
25605
25606Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25607
25608 * gdb.base/setvar.exp: Add new testcases for truncation when
25609 assigning invalid values to bitfields.
25610
25611Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
25612
d63a86f8 25613 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
25614 mips-sgi-irix* xfail for
25615 "call inferior func with struct - returns char *"
25616 and fix test so that an optional (unsigned char *) cast is
889bf7c5 25617 accepted in the result.
c906108c
SS
25618
25619Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
25620
25621 * gdb.base/funcargs.exp (float_and_integral_args): Remove
25622 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
25623 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
25624 * gdb.base/signals.exp: Remove duplicate "handle all print" test
25625 that accidentally got checked in.
25626
25627Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
25628
d63a86f8 25629 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
25630 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
25631 compiled test.
25632 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
25633 Add mips-sgi-irix5* xfail for not gcc compiled.
25634 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
25635 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
25636 "p top", "whatis top", "p middle", and "whatis middle".
25637 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
25638 "whatis signed char" for not gcc compiled.
25639 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
25640 "set variable signed char=-1 (-1)" and
25641 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
25642 * gdb.base/funcargs.exp (float_and_integral_args):
25643 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
25644 Add mips-sgi-irix* xfail when not gcc compiled for
25645 "continue to call2b".
25646 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
25647 "continue to call2g".
25648 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
25649 "backtrace from call6a"
25650 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
25651 "backtrace from call7k".
25652 Add mips-sgi-irix5* xfail when not gcc compiled for
25653 "backtrace from call7a".
25654 (localvars_after_alloca): Fix gdb_test cmds for
25655 "print * after runto ...".
25656 Remove rs6000-*-* xfails for
25657 "print i after runto localvars_after_alloca" and
25658 "print l after runto localvars_after_alloca"
25659 for all compilers.
25660 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 25661 when not compiled with gcc, for:
c906108c
SS
25662 "print signed char == (minus)",
25663 "print signed char != (minus)",
25664 "print signed char < (minus)",
25665 "print signed char > (minus)".
25666 * gdb.base/callfuncs.exp (do_function_calls):
25667 Add mips-sgi-irix* xfail, when compiled with native compiler, for
25668 "call inferior func with struct - returns char *".
d63a86f8 25669 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
25670 "correct value returned double test" to include Solaris 2.4.
25671 * gdb.base/funcargs.exp (float_and_integral_args):
25672 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 25673
c906108c
SS
25674Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25675
25676 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
25677 enumeration bitfields if compiling with GNU C.
25678 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
25679 to empty' prompt.
25680
25681Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
25682
25683 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
25684 test for PRO targets.
25685
25686 * gdb.base/funcargs.exp: Avoid ever setting more than 8
25687 breakpoints in the inferior at any given time by making
25688 two groups of breakpoints for call2*, call6* and call7*
25689 tests.
25690
25691Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25692
25693 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
25694 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
25695 from optimizing it away.
25696 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
25697 "call inferior func with struct".
25698
25699Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
25700
25701 * configure.in: Only configure gdb.chill for particular targets.
25702
25703Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
25704
25705 * gdb.base/Makefile.in: Add action to .c.o transformation
25706 rule that generates a .ci file for each .o file and remove
25707 explicit .c.o rules except for callfuncs.o.
25708 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
25709 generates a .ci file for each .o file and remove explicit
25710 .cc.o rules.
25711 (clean): Remove *.tmp *.ci files.
25712 (EXECUTABLES): Remove templ-info.exp.
25713 * gdb.base/compiler.c: New file.
25714 * gdb.c++/compiler.cc: New file
25715 * gdb.base/scope.exp: Source gdb.base/scope.ci.
25716 Change rs6000-*-* xfail for
25717 "print 'scope0.c'::filelocal_ro" and
25718 "print 'scope1.c'::filelocal" and
25719 "print 'scope1.c'::filelocal_bss" and
25720 "print 'scope1.c'::filelocal_ro" and
25721 "print 'scope1.c'::foo::funclocal" and
25722 "print 'scope1.c'::foo::funclocal_ro" and
25723 "print 'scope1.c'::bar::funclocal" and
25724 "print 'scope0.c'::filelocal_ro" and
25725 "print 'scope1.c'::filelocal at foo" and
25726 "print 'scope1.c'::filelocal_bss at foo" and
25727 "print 'scope1.c'::filelocal_ro at foo" and
25728 "print 'scope1.c'::foo::funclocal at foo" and
25729 "print 'scope1.c'::foo::funclocal_bss at foo" and
25730 "print 'scope1.c'::foo::funclocal_ro at foo" and
25731 "print 'scope1.c'::bar::funclocal at foo" and
25732 "print 'scope0.c'::filelocal_ro" and
25733 "print 'scope1.c'::filelocal" and
25734 "print 'scope1.c'::filelocal_bss" and
25735 "print 'scope1.c'::filelocal_ro" and
25736 "print 'scope1.c'::foo::funclocal" and
25737 "print 'scope1.c'::foo::funclocal_bss" and
25738 "print 'scope1.c'::foo::funclocal_ro" and
25739 "print 'scope1.c'::bar::funclocal" and
25740 "print 'scope1.c'::bar::funclocal_bss"
25741 to only be xfail'd when not compiled with gcc.
d63a86f8 25742 Add rs6000-*-* xfail for
c906108c
SS
25743 "print 'scope0.c'::filelocal_bss before run"
25744 when compiled with gcc.
25745 (test_at_main): Add rs6000-*-* xfail for
25746 "print filelocal_ro in test_at_main"
25747 when compiled with gcc.
25748 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 25749 Add rs6000-*-aix* xfail for
c906108c
SS
25750 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
25751 "ptype t_char_array", not compiled with gcc.
25752 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
25753 xfail for "list foo (in include file)" when gcc compiled.
25754 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 25755 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
25756 "run to call0a" if not compiled with gcc.
25757 (unsigned_integral_args): Add rs6000-*-* xfail for
25758 "run to call1a" if not compiled with gcc.
25759 (float_and_integral_args): Add rs6000-*-* xfail for
25760 "run to call2a" if not compiled with gcc and for
25761 "continue to call2b" for any compiler.
25762 Add rs6000-*-* xfail to
25763 "print f1 after run to call2a" for gcc compiled.
25764 (discard_and_shuffle): Add rs6000-*-* xfail for
25765 "run to call6a".
25766 (shuffle_round_robin): Add rs6000-*-* xfail for
25767 "backtrace from call7a" if not compiled with gcc.
25768 Add rs6000-*-* xfail for
25769 "backtrace from call7b" if compiled with gcc.
25770 (call_after_alloca): Add rs6000-*-* xfail for
25771 "print c in call_after_alloca" and
25772 "print s in call_after_alloca" and
25773 "backtrace from call_after_alloca_subr"
25774 if not compiled with gcc.
25775 (localvars_in_indirect_call): Add rs6000-*-* xfail for
25776 "print c in localvars_in_indirect_call" and
25777 "print c in localvars_in_indirect_call" and
25778 "backtrace in indirectly called function" and
25779 "stepping into indirectly called function"
25780 if not compiled with gcc.
25781 (localvars_after_alloca): Add rs6000-*-* xfail for
25782 "print c after runto localvars_after_alloca" and
25783 "print s after runto localvars_after_alloca" and
25784 "print i after runto localvars_after_alloca" and
25785 "print l after runto localvars_after_alloca"
25786 for all compilers.
25787 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
25788 than whatis-info.exp.
25789 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
25790 than opaque-info.exp.
25791 Setup rs6000-*-* xfail for
d63a86f8 25792 "ptype on opaque struct pointer (statically)" and
c906108c
SS
25793 "ptype on opaque struct pointer (dynamically)" when
25794 not compiled with gcc.
25795 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
25796 rather than callf-info.exp.
25797 (do_function_calls): Add clear_xfail for rs6000-*-* for
25798 "p t_float_values2(3.14159,float_val2)". Seems to work
25799 fine there, both with xlc and gcc. Need to find out what
25800 it is doing right and fix other platforms.
25801 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
25802 "call inferior func with struct - returns int",
25803 "call inferior func with struct - returns long",
25804 "call inferior func with struct - returns float",
25805 "call inferior func with struct - returns double",
25806 "call inferior func with struct - returns char *",
25807 but only if not gcc compiled (presumes xlc compiled).
25808 Change rs6000-*-* xfails for
25809 "call inferior func with struct - returns char" and
25810 " call inferior func with struct - returns short" to only
25811 xfail if not using gcc.
25812 (clean mostlyclean): Remove *.ci and *.tmp files.
25813 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
25814 than templ-info.exp.
25815 * gdb.base/langs.exp: Source gdb.base/langs.ci.
25816 Add rs6000-*-* xfail for "up to foo in langs.exp"
25817 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 25818 when not gcc compiled.
d63a86f8 25819
c906108c
SS
25820Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25821
25822 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
25823 * gdb.base/corefile.exp: Likewise.
25824 * gdb.base/list.exp: Likewise.
25825 * gdb.base/scope.exp: Likewise.
25826 * gdb.base/siganls.exp: Likewise.
25827
25828 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
25829 compiler output.
25830 * gdb.base/whatis.exp: Likewise.
25831
25832Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
25833
25834 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
25835 failure (opcode table has been fixed to match reality).
25836
25837Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
25838
25839 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
25840 "call inferior func with struct - returns char",
25841 "call inferior func with struct - returns short"
25842
25843 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
25844 "print 'scope0.c'::filelocal at main",
25845 "print 'scope0.c'::filelocal_bss in test_at_main",
25846 "print 'scope0.c'::filelocal at foo",
25847 "print 'scope0.c'::filelocal_bss in test_at_foo",
25848 "print 'scope0.c'::filelocal at bar",
25849 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 25850
c906108c
SS
25851 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
25852 in source file 1". This bug seems to have been fixed with both
25853 gcc and native cc (was native assembler bug?).
25854
25855Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
25856
25857 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
25858 "backtrace through signal handler" to "i*86-*-sysv4*".
25859 * gdb.base/signals.exp: Add xfail for "'next' behaved as
25860 continue" case. Add "known SVR4 bug" to fail message.
25861 Add "i*86-*-bsdi2.0" xfail for "handle all print".
25862 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
25863 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
25864 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
25865 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
25866 "up to foo in langs.exp", "show language at foo in
25867 langs.exp", "up to cppsub_ in langs.exp", "show
25868 language at cppsub_ in langs.exp", "up to fsub in
25869 langs.exp", and "show language at fsub in langs.exp".
25870 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
25871 "bactrace in corefile.exp".
25872 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
25873 "call inferior function with struct - returns float" and
25874 "call inferior function with struct - returns double".
d63a86f8 25875
c906108c
SS
25876Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
25877
25878 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
25879 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
25880 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
25881 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
25882
25883Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
25884
25885 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
25886 (or overriden) "CHILL" macro rather then bare "gcc".
25887 Also look for ../../gcc/xgcc since that is what we will
25888 actually need, not "Makefile". Remove following assignment
25889 of CHILL to CHILL_FOR_TARGET because that results in
25890 recursive definition.
25891
25892Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
25893
25894 * gdb.base/corefile.exp: Change xfail for backtrace in
25895 corefile.exp from linuxaout to all linux.
25896 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
25897 cases where we miss the breakpoint at the signal handler
25898 for some reason. Setup xfail for linuxoldld/linuxaout and
25899 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
25900 hitting SIGURG breakpoint.
25901 * gdb.base/signals.exp: Setup xfail for "next" acting like
25902 continue to add linuxoldld. Setup xfail for all linux for
25903 "next to handler in signals_tests_1", "backtrace in
25904 signals_tests_1", "continue to func1", "pass SIGUSR1",
25905 and continue to handler".
25906
25907Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
25908
25909 * Update all FSF addresses except those in COPYING* files.
25910
25911Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
25912
25913 * gdb.base/a2-run.exp: Change messages to be more explicit about
25914 the status of args, and quote binfile in results.
25915
25916Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
25917
25918 * gdb.base/callfuncs.exp: Add tests for passing structs to
25919 inferior functions and return various types.
25920 * gdb.base/callfuncs.c: Add functions to receive a struct
25921 and return a member of the struct, in various types.
25922
25923Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25924
25925 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
25926
25927Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
25928
25929 * config/vxworks29k.exp: New file, sources vxworks.exp.
25930
25931Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25932
25933 * config/gdbremote.exp: New file. Testing framework using
25934 gdbserver.
25935
25936Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
25937
25938 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
25939 "call function when asleep" and "send end of file".
25940 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
25941 for "backtrace in corefile.exp".
25942 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
25943 for "backtrace through signal handler".
25944 * gdb.base/corefile.exp: Make sure we actually generate a core file
25945 before trying the core tests. Some systems allow the user to suppress
25946 generation of core files and default to that (linux for example).
25947 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
25948 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
25949
25950Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25951
25952 * gdb.threads: New directory with some crude multi-threaded
25953 gdb tests (step.exp and step2.exp).
25954 * config/mt-lynx (STEP_EXECUTABLE): Define.
25955 (THREADFLAGS): Define.
25956
25957Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
25958
25959 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
25960
25961 * gdb.base/signals.exp: Disable whole file for lynx until
25962 further notice.
25963
25964 * gdb.base/signals.exp: xfail test where "next" acts like
25965 "continue" for lynx.
25966
25967 * gdb.base/interrupt.exp: xfail test for calling function while
25968 inferior is asleep for lynx.
25969
25970 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
25971 than one cr-lf after each command.
25972
25973Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25974
25975 * configure.in: Reinstate setting of stabsdirs variable, fix
25976 typo in setting up configdirs for native builds.
25977
25978 * gdb.base/return.exp: Fix typo in return double test.
25979 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
25980 compiler from optimizing them away.
25981
25982Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
25983
25984 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
25985 sequences to be echo'd by gdb when using gdb_test.
25986 * gdb.chill/chexp.exp: Likewise.
25987 * gdb.fortran/exprs.exp: Likewise
25988
25989Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25990
25991 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
25992 after the inferior gdb has started.
25993
25994 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
25995 after each command.
25996 * gdb.base/funcargs.exp: Likewise.
25997 * gdb.base/gdbvars.exp: Likewise.
25998 * gdb.base/interrupt.exp: Likewise.
25999 * gdb.base/list.exp: Likewise.
26000 * gdb.base/watchpoint.exp: Likewise.
26001 * gdb.c++/demangle.exp: Likewise.
26002 * gdb.c++/inherit.exp: Likewise.
26003 * gdb.chill/chexp.exp: Likewise.
26004 * gdb.fortran/exprs.exp: Likewise.
26005
26006 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
26007 test if we can't handle IO to/from the inferior.
26008
26009 * gdb.c++/misc.exp: Always check for a program already being
26010 started after sending a "run" command to gdb.
26011
26012 * gdb.base/twice.exp: Start with a fresh gdb.
26013
26014 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
26015 only depend on gdb's expression code, not the chill runtime.
26016
26017 * gdb.base/return.c: Put return values into variables so we
26018 can have gdb print them rather than depending on the program
26019 to print them.
26020 * gdb.base/return.exp: Corresponding changes.
26021
26022 * lib/gdb.exp: Provide default value for noinferiorio.
26023 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
26024 the inferior.
26025
26026 * gdb.base/break.exp: Always check for a program already being
26027 started after sending a "run" command to gdb.
26028 (text_next_with_recursion): Don't check the output from the
26029 program's printf statement. Instead just make sure the program
26030 exited.
26031
26032 * gdb.base/commands.exp: Protect tests which need arguments with
26033 $noargs conditionals.
26034
26035Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26036
26037 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
26038 of structure member arrays to match gdb/valops.c:value_addr change.
26039
26040Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
26041
26042 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
26043 cases.
26044
26045Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
26046
26047 * configure.in (configdirs): Remove gdb.chill from default list
26048 of subdirs and then add it back in only if doing a native build.
26049 The current chill compiler does not yet work in any cross build.
26050 * Revert all signal changes from Jul 6.
26051 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
26052 for sh-hms targets, allowing these tests to link, with no other
26053 changes. Testing is suppressed by setting "nosignals" in site.exp.
26054
26055Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
26056
26057 * configure.in (signaldirs): Define and add to configdirs for all
26058 targets except some specific ones that are known to not support signals.
26059 Also clean up formatting.
26060 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
26061 (signals, sigall): Remove rules to build.
26062 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
26063 Moved to new gdb.signals directory.
26064 * gdb.signals: New test directory.
26065 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
26066 signals.c signals.exp}: New or moved files.
26067
26068Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
26069
26070 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
26071
26072Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
26073
26074 * gdb.base/return.exp: Xfail `return double' test failure
26075 on at least Solaris 2.3 and handle future/past versions on
26076 a case by case basis as appropriate. Also update message
26077 to include i*86 failures.
26078
26079Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26080
26081 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
26082
26083 * lib/gdb.exp: Fix comment which erroneously identified
26084 gdb_file_cmd as gdb_load (the 19 May change was in fact to
26085 gdb_file_cmd not gdb_load).
26086 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
26087
26088 * gdb.base/setvar.exp: Make test names consistent between pass and
26089 fail cases. Use gdb_test more.
26090
26091Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26092
26093 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
26094
26095Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26096
26097 * gdb.base/help.exp: Fix expected help string for `show commands'.
26098
26099Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
26100
26101 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
26102
26103 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
26104 of a text section.
26105
26106Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
26107
26108 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
26109 that loop eventually terminates. Fix Connection refused logic so
26110 that testsuite will expire nicely.
26111
26112Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
26113
26114 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
26115 config/rom68k.exp: New tcl glue for the appropriate monitors.
26116 These all just end up calling monitor.exp.
26117 * config/monitor.exp (gdb_target_monitor): Handle `Connection
26118 refused' by retrying. Cleanup some timeout issues.
26119 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
26120 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
26121 callers don't have to set/restore global timeout variable.
26122
26123 * The following set of changes centralizes management of the global
26124 timeout variable. This way, it can be set in one target dependent
26125 place instead of dozens of places scattered throughout the test suite.
26126 If you need to lengthen a timeout, then you should either set timeout
26127 in one of the config/{target}.exp files, or multiply it by a factor.
26128 Setting it to an absolute value is always going to lose for some
26129 targets.
26130 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
26131 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
26132 * gdb.base/funcargs.exp: Don't set timeout.
26133 * gdb.base/list.exp (test_forward_search): Only use local timeout.
26134 * gdb.base/printcmds.exp (test_print_string_constants
26135 test_print_array_constants): Don't set timeout.
26136 * gdb.base/ptype.exp: Don't set timeout.
26137 * gdb.base/recurse.exp: Don't set timeout.
26138 * gdb.base/return.exp: Don't set timeout.
26139 * gdb.base/watchpoint.exp: Don't set timeout.
26140 * gdb.c++/classes.exp (do_tests): Don't set timeout.
26141 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
26142
26143Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
26144
26145 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
26146
26147Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26148
26149 * lib/gdb.exp: Disable chill tests for irix5.
26150
26151Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26152
26153 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
26154 each test pass or fail.
26155
26156Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26157
26158 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
26159 xlc not gcc.
26160
26161Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
26162
26163 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
26164
26165Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
26166
26167 * config/est.exp: Fix copyright and comments. Remove dead code.
26168 Use targetname, serialport and baud variables instead of fixed
26169 constants.
26170 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
26171 * config/cpu32bug.exp: New file to support cpu32bug monitors.
26172
26173Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26174
26175 * gdb.base/watchpoint.exp: Don't run
26176 test_watchpoint_triggered_in_syscall for sunos.
26177
26178Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26179
26180 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
26181 they don't seem to exist. Do include stdio.h.
26182
26183Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26184
26185 * gdb.base/a1-selftest.exp: Add alpha xfail.
26186
26187Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26188
26189 * gdb.base/watchpoint.c (main): Prompt before calling read().
26190 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
26191 Revise accordingly. Remove cruft about sending "123" several
26192 times, until it gets noticed. Clean up the "print buf[0]" stuff
26193 so that it passes or fails, and waits for prompts in the usual way.
26194
26195Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26196
26197 * gdb.base/recurse.exp: Fix comment.
26198
26199 * TODO: Remove item about printing variables in nodebug.exp. Add
26200 item about enabling tests which are only run on some targets.
26201
26202 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
26203 fail, make test names unique, use new gdb_test convention
26204 regarding pattern, use gdb_test more, etc.).
26205
26206 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
26207 fail, make test names unique, etc.).
26208
26209Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26210
26211 * gdb.base/nodebug.c: Change return type of top and middle to
26212 short.
26213 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
26214 are fixed by the recent mdebugread.c changes. Allow `short ()'
26215 as type for top and middle.
26216
26217Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26218
26219 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
26220 nearly as I can tell, the whole thing was an accident in Stu's
26221 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
26222 to replace a send/expect pair with gdb_test, but ended up only
26223 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
26224 of 30 Mar 1995 took care of it, but left this vestigial comment
26225 which I am now nuking.
26226
26227Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26228
26229 * gdb.base/break.exp: Look for different line number for
26230 breakpoint at main depending on usestubs.
26231
26232Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26233
26234 * gdb.base/list.exp: Adjust some alternate expect patterns to
26235 match recent list0.c change. Add alternate expect pattern for
26236 output from `list default lines around main' for optimizing
26237 compilers.
26238
26239Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26240
26241 * lib/gdb.exp: If nosignals is not set, set it to 0.
26242
26243Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
26244
26245 * config/slite-gdb.exp: Responds to load symbol table prompt.
26246 * gdb.base/break.exp: Adjust line number, fix rerun.
26247 * gdb.base/langs0.c: Add #ifdef usestubs.
26248
26249Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
26250
26251 * gdb.base/list.exp: Adjust line contents after adding new lines in
26252 list0.c. Also fix a syntax error.
26253
26254 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
26255 * gdb.base/break.exp: ditto.
26256 * gdb.base/list.exp: ditto.
26257 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
26258 * gdb.base/run.c: ditto.
26259 * gdb.base/list0.c: ditto.
26260 * gdb.base/funcargs.c: ditto.
26261
26262Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
26263
26264 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
26265 $targetname, $serialport and $baud instead of hardwired variables.
26266 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
26267 target doesn't support signals.
26268
26269Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
26270
26271 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
26272
26273Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26274
26275 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
26276 Don't rely on the value of an auto variable before it has been
26277 initialized. Use gdb_test more.
26278
26279Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26280
26281 * lib/gdb.exp (default_gdb_version): A version number must start
26282 with a digit, but other than that contains all characters up to
26283 the first whitespace character.
26284
26285Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26286
26287 * gdb.base/commands.exp (breakpoint_command_test): New tests.
26288
26289Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26290
26291 * gdb.c++/*.exp: Warn if executable does not exist. The original
26292 reason for skipping the warning was that configure.in sometimes
26293 intentionally skipped building the executables but the tcl code
26294 had no way of knowing. That (a) was always bogus with respect to
26295 error handling, (b) is no longer true (right now there is no way
26296 to skip C++ tests).
26297
26298 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
26299
26300Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26301
26302 * gdb.base/list.exp: Add expect patterns for output from
26303 SunPRO compiled executables.
26304 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
26305 types.
26306
26307Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26308
26309 * gdb.base/break.exp (test_next_with_recursion): Accept any line
26310 number (we are already testing that the correct source line text
26311 gets printed).
26312
26313 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
26314 that is what is intended, but something needed to be done to get
26315 sunos4 native working again.
26316
26317 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
26318
26319 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
26320 apparently went with a (very) old xfail.
26321
26322Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
26323
26324 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
26325 runto_main is a proc in gdb.exp that will do 'step' for target use
26326 stubs.
26327 * gdb.base/exprs.exp: ditto.
26328 * gdb.base/interrupt.exp: ditto.
26329 * gdb.base/opaque.exp: ditto.
26330 * gdb.base/printcmds.exp: ditto.
26331 * gdb.base/ptype.exp: ditto.
26332 * gdb.base/scope.exp: ditto.
26333 * gdb.base/setvar.exp: ditto.
26334 * gdb.base/signals.exp: ditto.
26335 * gdb.base/twice.exp: ditto.
26336 * gdb.c++/classes.exp: ditto.
26337 * gdb.c++/inherit.exp: ditto.
26338 * gdb.c++/templates.exp: ditto.
26339 * gdb.base/break.exp: no run and hit main for stubs. Change line
26340 numbers for breakpoints and info breakpoint.
26341 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
26342 breakpoint().
26343 * gdb.base/callfuncs.c: ditto.
26344 * gdb.base/exprs: ditto.
26345 * gdb.base/interrupt.c: ditto.
26346 * gdb.base/opaque0.c: ditto.
26347 * gdb.base/printcmds.c: ditto.
26348 * gdb.base/ptype.c: ditto.
26349 * gdb.base/scope0.c: ditto.
26350 * gdb.base/setvar.c: ditto.
26351 * gdb.base/signals.c: ditto.
26352 * gdb.base/twice.c: ditto.
26353 * gdb.c++/misc.cc: ditto.
26354 * gdb.c++/templates.cc: ditto.
26355
26356Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26357
26358 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
26359
26360 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
26361 somewhere between `read' and `main.c'. I'm pretty sure the
26362 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
26363 and it isn't particularly useful.
26364
26365 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
26366
26367Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26368
26369 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
26370
26371Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
26372
26373 * config/mt-slite: add LIBS and -nostdlib.
26374 * config/slite-gdb.exp: add this new file to support sparclite target.
26375
26376Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
26377
26378 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
26379
26380 * gdb.base/a2-run.exp: Change argument to istarget from
26381 "*-*-vxworks" to "*-*-vxworks*".
26382 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
26383
26384Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
26385
26386 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
26387 will not runto main but do a 'step' to step out of breakpoint().
26388 * config/mt-slite: add -Dusestubs.
26389
26390Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26391
26392 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
26393 instead of just @.
26394
26395 * gdb.base/signals.exp: Add test for "handle all print".
26396 * TODO: Remove "handle all print". Also remove item about
26397 checking copyright date (I don't like the idea of a spurious FAIL
26398 based on when we run the tests).
26399
26400 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
26401 for SunOS4 (reason for failure not investigated). Remove
26402 redundant test for $binfile.
26403
26404 * gdb.base/nodebug.c (array_index): Call malloc.
26405
26406 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
26407
26408Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
26409
26410 * gdb.base/recurse.exp: Update gdb_test invocation to use new
26411 conventions and slightly simplify the matching regexp.
26412
26413Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26414
26415 * gdb.base/break.exp: Update gdb_test invocation to use new
26416 convention.
26417
26418 * lib/gdb.exp: If noargs is not set, set it to 0.
26419
26420 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
26421 tests unique.
26422
26423 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
26424
26425Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26426
26427 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
26428 one argument of type "<non-float parameter>".
26429
26430Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
26431
26432 * config/rom68k.exp: New file to support Motorola IDP board.
26433 * gdb.base/a2-run.exp: Skip this file if noargs is set.
26434 * gdb.base/break.c: Change things around so that this program
26435 doesn't depend upon args. This is necessary to make remote
26436 targets work (in general, they can't take args).
26437 * gdb.base/break.exp: Don't try to send args to program. Don't
26438 expect output. Also, replace lots of code with gdb_test.
26439
26440Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26441
26442 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
26443 printing of '\'' (which is what the comment says we are testing,
26444 even though we were not), not '''.
26445 (test_integer_literals_rejected): Test that printing ''' is an error.
26446
26447 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26448 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
26449 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
26450 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
26451 Use gdb_test not test_print_accept.
26452 * lib/gdb.exp: Remove test_print_accept.
26453
26454 * gdb.base/signals.exp (signal_tests_1): Make pass message
26455 consistent with fail message.
26456
26457 * gdb.base/whatis.exp: Remove xfails for printing char vs.
26458 unsigned char; the bug (PR 1821) is fixed.
26459
26460 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
26461
26462 * gdb.base/scope.exp (test_at_localscopes): Call pass for
26463 successful tests--makes xfailing them work right.
26464
26465Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26466
26467 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
26468 only \r\n, not .*. The test can pass .* as the last thing in
26469 $pattern if that is what it wants. In addition to providing this
26470 flexibility, this change should speed up pattern matching in cases
26471 where the pattern already ended with .* (there were a number of
26472 them). This change also helps catch bad patterns--in the old
26473 scheme the typo "char \*" instead of "char \\*" would pass. Now
26474 it is caught.
26475 * Many .exp files: Update callers.
26476
26477 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
26478 clearer and does not spuriously match multiple ('s. Likewise for
26479 ) and *.
26480
26481 * gdb.base/nodebug.exp: Test ability to call a function and pass
26482 it a string (even with no debugging info).
26483
26484 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
26485 "p '\'", which is the same as "p ''" once tcl gets done with
26486 quoting, to "p '\\'", which I suspect is what is intended (one
26487 backslash gets sent to GDB).
26488
26489 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
26490
26491Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26492
26493 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
26494 1817) was fixed literally years ago.
26495
26496Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26497
26498 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
26499 test, it causes stepping out of call_after_alloca_subr with
26500 optimizing compilers.
26501 (localvars_in_indirect_call): Consume GDB prompt if `finish'
26502 fails.
26503
26504 * gdb.c++/templates.exp: Source templ-info.exp only if
26505 the templates executable exists.
26506
26507 * gdb.c++/misc.cc (class Contains_static_instance,
26508 class Contains_nested_static_instance),
26509 gdb.c++/classes.exp (test_static_members): Test printing of
26510 a class that contains a static instance of the class.
26511
26512Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26513
26514 * gdb.base/langs2.c (cppsub_): Don't prototype.
26515 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
26516 only, I believe).
26517
26518Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26519
26520 * lib/gdb.exp (skip_chill_tests): New procedure.
26521
26522 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
26523
26524Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
26525
26526 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
26527 each expect pattern. Cuts runtime from 12 to about 4 seconds.
26528
26529Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26530
26531 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
26532
26533 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
26534 disassemble 8, not 16, instructions for part 4.
26535
26536 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
26537 support the latter anymore.
26538
26539 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
26540 -DNO_PROTOTYPES.
26541 * gdb.base/callfuncs.c: Control use of prototypes based on
26542 NO_PROTOTYPES, not __STDC__.
26543 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
26544 t_float_values2 tests if prototypes in use.
26545
26546 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
26547 t_double_values): When checking differences against DELTA, check
26548 that difference is within the range (-DELTA,DELTA), not just
26549 (-infinity,DELTA).
26550
26551Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
26552
26553 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
26554 'file' command firts, then 'target', then 'load', this is due to gdb
26555 target set up.
26556 * config/mips-gdb.exp: Fix a couple regular exp bugs.
26557
26558Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
26559
26560 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
26561 FP load/store variants.
26562 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
26563
26564Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26565
26566 * gdb.base/term.exp: Do not give a warning if not native, it is
26567 not an abnormal condition.
26568
26569Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
26570
26571 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
26572 t_char_array".
26573
26574Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26575
26576 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
26577 are getting the version number.
26578
26579 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
26580 if not native, it is not an abnormal condition.
26581
26582Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26583
26584 * lib/gdb.exp: Just use "file exists", rather than undocumented
26585 dejagnu procedure "findfile".
26586
26587Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26588
26589 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
26590 (LDFLAGS): Set to -Xlinker -Ur.
26591
26592 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
26593 Removed, these values are set by lib/gdb.exp.
26594
26595 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
26596
26597Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26598
26599 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
26600 of replicating gdb startup code.
26601
26602 * config/mt-vxworks (LDFLAGS): Set to -r.
26603 (CFLAGS_FOR_TARGET): Removed.
26604
26605 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
26606 (gdb) and gdb for vxworks uses (vxgdb).
26607
26608 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
26609 executable is not in the tree and host != target, use sed and
26610 program_transform_name to determine the gdb name used by the
26611 target.
26612
26613 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
26614 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
26615
26616Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26617
26618 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
26619 floats, chars, and shorts where there are ANSI-style function
26620 definitions.
26621
26622 * gdb.base/langs.exp, gdb.base/langs*: New test.
26623 * gdb.base/Makefile.in: Build it.
26624 * TODO: Remove item about checking that C names don't get C++
26625 demangling applied; this test tests it.
26626
26627Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26628
26629 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
26630 went with the const70 xfail. The xfail went away a year ago.
26631
26632 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
26633
26634 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
26635 for hp300.
26636
26637 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
26638
26639 * gdb.base/a1-selftest.exp: Don't run on hp300.
26640
26641Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26642
26643 * Makefile.in (site.exp): Set host_alias and target_alias as well
26644 as host_triplet and target_triplet.
26645
26646Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26647
26648 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
26649
26650 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
26651 places as other ecoff systems).
26652
26653 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
26654 ultrix.
26655
26656Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26657
26658 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
26659 remove them.
26660 * gdb.base/nodebug.exp: Accept "function" in addition to "text
26661 variable and "variable" in addition to "data variable".
26662 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
26663
26664 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
26665 2.
26666 * gdb.base/list1.c (long_line): Add additional statement at start
26667 of function.
26668 * gdb.base/list.exp (test_forward_search): Update line number to
26669 reflect new statement.
26670
26671Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26672
26673 * gdb.base/signals.exp: Reinitialize searched source directories
26674 after gdb_start call.
26675
26676Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
26677
26678 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
26679 * gdb.stabs/Makefile.in: Likewise.
26680
26681 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
26682 change. Instead split the tests into smaller pieces.
26683 * gdb.disasm/hppa.s: Corresponding changes.
26684
26685Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26686
26687 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26688 Quote ^C when passing it to stty. For some shells ^ is a pipe.
26689
26690 * gdb.base/funcargs.exp: Modify many tests so that every test
26691 either passes or fails. Make some test names unique.
26692
26693Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26694
26695 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26696 Call stty to set interrupt character.
26697
26698 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
26699 for HP assembler versus GNU assembler based on actual behavior of
26700 $(CC), rather than assuming that $(AS) is always the GNU assembler.
26701
26702 * TODO: Suggest a few more stepping tests.
26703
26704Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
26705
26706 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
26707 restart GDB for h8300 after a continue.
26708 (return): Add pattern to match a29k-udi behavior.
26709 * gdb.base/nodebug.exp: Remove obsolete comment.
26710 * gdb.base/regs.exp: New file, testing of register displays.
26711 * gdb.base/return.exp: Fix typo in reference to $objdir.
26712 * gdb.base/whatis.exp: Always start with a fresh GDB.
26713
26714Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26715
26716 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
26717 higher, these tests generate a lot of output.
26718
26719Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26720
26721 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
26722 code following the catch silently ignored some errors; without the
26723 catch they should be thrown like any other tcl error. Also, the
26724 catch used "" instead of {} which meant all the callers who wanted
26725 to include one of the characters "[]$ had to quote it an extra time.
26726 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
26727 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
26728 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
26729 Remove extra quoting.
26730
26731Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
26732
26733 * gdb.base/commands.exp: Make test names unique; every test either
26734 passes or fails. Update some comments.
26735
26736 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
26737
26738Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26739
26740 The following fixes a FAIL caused by the fact that the alpha stabs
26741 configuration didn't use the ".if alpha" code in weird.def.
26742 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
26743 bit pointer, so the 32 bit version works even on the alpha.
26744 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
26745 Remove the stuff which allowed us to have separate versions for
26746 alpha and everything else.
26747
26748 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
26749 regexp which "info func operator\[\](" is supposed to match. Fix
26750 string to send to GDB. Note that GDB still doesn't work right. Add a
26751 new test for "info func .perator\[\](" which GDB does handle correctly.
26752
26753 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
26754
26755Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26756
26757 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
26758 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
26759 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
26760 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
26761 it makes the tests harder to understand and confuses test-o-matic.
26762 The preferred style is that each test provides a PASS or a FAIL,
26763 and has a unique message (e.g. "continue #54" not just "continue")
26764 which is the same for the pass and the fail.
26765 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26766 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
26767 to lib/gdb.exp.
26768 * gdb.base/printcmds.exp: Use test_print_accept. Remove
26769 prt_accept which was basically the same thing. Likewise for
26770 test_print_reject and prt_reject.
26771 * lib/gdb.exp (test_print_reject): Add some more error message
26772 patterns to match from the former printcmds.exp (prt_reject).
26773 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
26774 One defect of the passcount stuff is that some of it failed to
26775 report XPASS where appropriate.
26776 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
26777 stuff before and after arg in expected pattern.
26778 (test_paddr_operator_functions): Re-do test without print_addr_of;
26779 this is the only test which seems to want extra stuff there.
26780
26781Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26782
26783 * gdb.base/nodebug.exp: Update new tests to reflect improved
26784 wording of gdb output.
26785
26786 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
26787 and "ptype" work on variables in files compiled without -g.
26788 Replaces commented out "maint print msymbol" tests.
26789
26790Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26791
26792 * gdb.base/setvar.c (dummy): Call malloc.
26793
26794 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
26795 losing with the irix4 sed.
26796
26797 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
26798 ALRM" on irix4.
26799
26800Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26801
26802 * TODO: Remove items about corefile.exp testing new exec-file and
26803 backtrace; both are now done. Add items about printing enums.
26804
26805Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26806
26807 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
26808 "get signal $thissig" test fails.
26809
26810 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
26811
26812Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26813
26814 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
26815 compiler warning with dec alpha compiler.
26816
26817 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
26818 extra \n from gdb_test call (this explains why the prompt test
26819 that I removed yesterday was there).
26820 (user_defined_command_test): Remove extra \n and prompt test.
26821
26822 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
26823 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
26824 doesn't exist.
26825 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
26826 Also remove alpha workaround, which turns out to be because
26827 SIGABRT == SIGLOST.
26828
26829 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
26830
26831 * gdb.base/help.exp: Don't test "help show".
26832
26833Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26834
26835 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
26836 "set print address" is on.
26837 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
26838 pass prompt to gdb_test; gdb_test already looks for the prompt.
26839
26840 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
26841
26842 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
26843 was a vestige of the manual TESTSTRATEGY, and the purpose of it
26844 was to make sure that gdb can read a core file. But (a) the "read
26845 the corefile" part didn't make it to a1-selftest.exp, we just
26846 delete the corefile after creating it, and (b) we test reading
26847 corefiles in corefile.exp anyway. Also, this test left around a
26848 xgdb process on Solaris.
26849
26850 * gdb.base/corefile.exp: Also test backtrace.
26851
26852Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
26853
26854 * gdb.base/commands.exp: Test a simple user defined command with
26855 arguments and if/while statements; verify the full user command is
26856 printed by "show user".
26857
26858 * gdb.base/commands.exp: Test if/while commands as part of a
26859 breakpoint command list; verify they appear in breakpoint
26860 information.
26861
26862Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26863
26864 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
26865 than by dividing by zero.
26866
26867Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
26868
26869 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
26870 performing an inferior call with watchpoints enabled.
26871 * gdb.base/watchpoint.c (main): Delete second unnecessary read
26872 call.
26873
26874Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26875
26876 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
26877 of "file" command.
26878
26879 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
26880 Add additional pattern for when "int operator int(void);" appears
26881 in a different order.
26882
26883Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26884
26885 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
26886
26887 * gdb.base/help.exp: Replace most of docstrings for "info signals"
26888 and "signal" with ".*".
26889
26890Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26891
26892 * TODO: Add note about "handle all nostop".
26893
26894 * gdb.base/{sigall.c, sigall.exp}: New test.
26895 * gdb.base/Makefile.in: Add it.
26896
26897Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
26898
26899 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
26900 when invoking GDB, suppresses any windowing interface.
26901
26902Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
26903
26904 * config/sim-gdb: New file, simulator testing support.
26905
26906Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
26907
26908 * gdb.base/interrupt.exp: Test calling func1 twice.
26909
26910Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
26911
26912 * gdb.base/list.exp (test_forward_search): Set timeout higher
26913 when we'll be getting lots of output from gdb.
26914
26915 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
26916 "init_malloc" to after the expect statement. Run it if that
26917 regexp is taken, but also for two others which happen if source
26918 cannot be found.
26919
26920Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26921
26922 * gdb.base/printcmds.exp: New test, for printing register before
26923 program is running.
26924
26925Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26926
26927 * gdb.base/list.exp: Correct some alternate expect patterns
26928 to reflect changes in list1.c.
26929
26930Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26931
26932 * TODO: Add item regarding large frames.
26933
26934 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
26935
26936 * TODO: Remove item about enabling return.exp; it
26937 is enabled. Suggest a few more "return" tests.
26938
26939Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26940
26941 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
26942 anonymous unions.
26943
26944Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26945
26946 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
26947 and pr-5646.o, so "make" is the same as "make all", not "make
26948 pr-4975.o".
26949
26950Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
26951
26952 * gdb.base/list.exp: Adjust expectations to reflect changes in
26953 list1.c.
26954 (test_forward_search): New test proc.
26955 * gdb.base/list1.c (long_line): New function, has long source line.
26956
26957Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
26958
26959 * gdb.base/a1-selftest.exp: Change initial stepping to know about
26960 additional line of code that was added.
26961
26962Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
26963
26964 * gdb.disasm/hppa.s: Break the large branching tests into smaller
26965 tests so as not to overflow expect's input buffers.
26966 * gdb.disasm/hppa.exp: Corresponding changes.
26967
26968Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26969
26970 Beginnings of template debugging tests.
26971 * gdb.c++/templ-info.cc: New file to test for template
26972 debugging capability of the compiler.
26973 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
26974 templ-info.cc.
26975 * gdb.c++/templates.cc: Add explicit template instantiations
26976 to enable compiling with -fno-implicit-templates. Add destructor
26977 and 'value' method to T5 class for template tests.
26978 * gdb.c++/templates.exp: Add testcases for printing of template
26979 types, setting breakpoints on template methods and calling a
d63a86f8 26980 template method.
c906108c
SS
26981
26982Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
26983
26984 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
26985 branch target since some assemblers (gas-2.5) may emit a
26986 relocation for the branch instead of resolving it in the
26987 assembler.
26988
26989Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26990
26991 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
26992 through signal handler.
26993
26994Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26995
26996 * configure.in (*-*-netware): Use config/mt-netware.
26997
26998 * config/mt-netware: New file.
26999 * config/mt-i386-netware: Removed, separate configs for different
27000 netware architectures are no longer needed now that we have
27001 --with-headers.
27002
27003Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27004
27005 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
27006 by the recent changes to use ANSI C arithmetic conversions.
27007
27008Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27009
27010 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
27011 bug involving using inferior_pid to figure out whether to select a
27012 frame.
27013
27014Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
27015
27016 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
27017 match the current disassembler output.
27018
27019Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
27020
27021 * gdb.fortran/exprs.exp: Expect VOID instead of void.
27022 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
27023 types, expect "int" as type of integer values (for now).
27024
27025Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
27026
27027 * gdb.base/commands.exp: New tests for if/while commands.
27028
27029Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
27030
27031 * lib/gdb.exp (runto): Replace sub-pattern for hex value
27032 by .*, since hex values have different syntax in Chill mode.
27033
27034Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27035
27036 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
27037 linefeed from expect pattern for repeated types with indices > 9.
27038
27039Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
27040
27041 First part of Fortran test suite.
27042 * gdb.fortran: New directory.
27043 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
27044
27045Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27046
27047 * gdb.base/default.exp: Update expect pattern for load command
27048 without arguments.
27049
27050Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
27051
27052 * configure.in: Change i386 to i[345]86.
27053 * gdb.base/configure.in: Likewise.
27054 * gdb.c++/configure.in: Likewise.
27055 * gdb.chill/configure.in: Likewise.
27056
27057Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
27058
27059 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
27060 patterns, since that is not a valid context for comments.
27061
27062Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
27063
27064 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
27065 repeated types and repeated types with indices > 9.
27066
27067Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
27068
27069 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
27070 2417; old bug has been fixed.
27071
27072Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
27073
27074 * gdb.base/interrupt.exp: When trying to wake up the inferior,
27075 send the newline ourselves instead of assuming gdb_test will do
27076 so when passed an empty input string.
27077
27078 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
27079 stabs testcode.
27080
27081Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27082
27083 * lib/gdb.exp (gdb_test): Don't send anything if the first
27084 argument is an empty string. This makes cases where we want to
27085 match output that is already in expect's buffers (for example,
27086 matching a breakpoint after gdb_run_cmd has been called) work
27087 reliably.
27088
27089Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27090
27091 * config/netware.exp: New file.
27092
27093Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27094
27095 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
27096 the -B and -L prefixes so we can find the debugging stub.
27097
27098 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
27099 there and we are using the gcc from the tree.
27100
27101 * gdb.base/types.c: Removed.
27102
27103 * gdb.base/configure.in: Look for makefile fragments in ../config.
27104 Recognize i386-*-netware.
27105 * gdb.c++/configure.in: Likewise.
27106
27107Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27108
27109 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
27110 the correct TCL syntax.
27111
27112Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27113
27114 * gdb.base/opaque.exp: use runto instead of messing around with
27115 breakpoints. Simplify by using gdb_test.
27116
27117 * gdb.base/bitfields.exp: restart between tests on netware targets
27118 because breakpoints aren't relocated after target death. Run
27119 processes to completion.
27120
27121 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
27122
27123Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
27124
27125 * Makefile.in: Remove extra tabs that confuse some versions
27126 of "make". Use the newly built gdb to test with by default,
27127 rather than the first one in the tester's search path.
27128
27129Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
27130
27131 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
27132
27133 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
27134 condition help.
27135
27136Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27137
27138 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
27139
27140 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
27141 running.
27142 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
27143 * gdb.base/funcargs.exp: Likewise.
27144
27145 * gdb.base/bitfields.exp: Simplify by using gdb_test.
27146 * gdb.base/funcargs.exp: Likewise.
27147
27148 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
27149 message is "".
27150
27151Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27152
27153 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
27154 return,signals,twice}.exp: Handle non-existant binaries
27155 consistantly.
27156
27157 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
27158 * gdb.base/Makefile.in: Don't try to generate a core dump, we
27159 might testing a cross development system.
27160
27161Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27162
27163 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
27164 runtest script is relative to ${srcdir}, not ${rootdir}.
27165
27166Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
27167
27168 * gdb.base/signals.exp: Allow for optionality of breakpoint
27169 address.
27170
27171Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27172
27173 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
27174
27175Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27176
27177 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
27178 for size_t definition.
27179 * gdb.c++/templates.cc: Likewise
27180
27181 * config/mt-i386-netware: New file.
27182
27183 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
27184 defined.
27185
27186 * gdb.base/Makefile.in: Added support for systems that name core
27187 files by appending "core" to the program name.
27188 * gdb.base/a1-selftest.exp: Likewise.
27189
27190Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27191
27192 * gdb.base/return.exp: Add comment and message for `return double'
27193 test failure on Sparc Solaris.
27194
27195Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
27196
27197 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
27198
27199Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27200
27201 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
27202 from optimizing them away.
27203 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
27204 patterns to include default constructors and assignment operators,
27205 to match gcc versions beyond 2.5.8. Accept any cplus demangling
27206 character in the output of the virtual base pointer.
27207
27208Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27209
27210 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
27211 expression match in print_addr_of to avoid unintented matches.
27212 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
27213 versions up to 2.5.8.
27214
27215Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27216
27217 * gdb.base/list.exp: Tweak alternate pattern for listing of an
27218 included file to run under newer versions of expect.
27219 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
27220 consecutive >'s in templates to accomodate recent cplus-dem.c change.
27221 Remove xfail for the virtual table of BDDHookV.
27222
27223Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
27224
27225 * lib/gdb.exp (string_to_regexp): Set a default result.
27226 (default_gdb_start): Fix misleading message.
27227
27228Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
27229
27230 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
27231 Remove all CC, etc definitions.
27232 * config/mt-hpux: New file.
27233 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
27234 (CFLAGS, LDFLAGS): Define.
27235 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
27236
27237 * Makefile.in (site.exp): Don't insert host_os, etc.
27238 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
27239 (distclean): Check existence of subdir.
27240 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
27241 * gdb.base/Makefile.in: General cleanup and simplification.
27242 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27243 to build executables. Use default rule to build .o files.
27244 (EXPECT, RUNTEST, CC): Fix relative pathname.
27245 (site.exp): Don't insert host_os, etc.
27246 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
27247 and/or SIGUSR1 defined.
27248 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
27249 * gdb.c++/Makefile.in: General cleanup and simplification.
27250 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27251 (CFLAGS): Remove.
27252 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
27253
27254Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
27255
27256 * gdb.base/recurse.exp: Misc changes to get tests running again
27257 after Kung's changes to the watchpoint code.
27258 * gdb.base/watchpoint.exp: Likewise.
27259
27260Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
27261
27262 * lib/gdb.exp (string_to_regexp): Convert {\} also.
27263
27264Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
27265
27266 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
27267 * lib/gdb.exp (default_gdb_start): Define.
27268 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
27269 gdb.base/funcargs.exp, gdb.base/opaque.exp,
27270 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
27271 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
27272 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
27273 Don't call gdb_target_udi in between tests.
27274
27275Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27276
27277 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
27278 (which was basically just a local version of the same thing). In
27279 addition to avoiding duplication, gdb_test_exact is faster.
27280 * lib/gdb.exp (gdb_test_exact): Fix typo.
27281
27282 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
27283 don't give an error.
27284
27285 * gdb.base/term.exp: Call delete_breakpoints before starting.
27286
27287 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
27288 (t10): Add comment.
27289
27290Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27291
27292 Reorganization of the GDB Test Suite.
27293
27294 * gdb.base: New directory, contains all the basic tests.
27295 * gdb.c++: New directory, tests specific to C++.
27296 * gdb.chill: New directory, tests specific to Chill.
27297 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
27298 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
27299 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
27300 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
27301 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
27302 t30-31 to chill).
27303 * */gdbme.*: Rename to match appropriate expect scripts.
27304 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
27305 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
27306 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
27307 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
27308 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
27309 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
27310 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
27311 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
27312 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
27313 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
27314 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
27315 gdb.c++/virtfunc.cc: New names of C++ files.
27316 * gdb.chill/chillvars.ch: New name of Chill file.
27317 * gdb.base/configure.in, gdb.c++/configure.in,
27318 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
27319 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27320 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
27321 * configure.in (configdirs): Update to reflect directory changes.
27322 (target_abbrev): No longer define for any configuration.
27323 * Makefile.in: Cosmetic improvements to header comments.
27324
27325Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
27326
27327 Various changes to gdb.t31:
27328
27329 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
27330 * gdbme.ch: Make all key-words and predefineds be upper-case.
27331 * chillvars.exp: Expect key-words and predefinds in upper-case.
27332
27333 * chillvars.exp: Use gdb_test_exact many places.
27334 Change expected output for arrays (which now includes index labels).
27335
27336 * pr-5020.exp, gdme.ch (module PR_5020):
27337 New test, for PR-5020.
27338
27339Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
27340
27341 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
27342 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
27343
27344Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
27345
27346 * Makefile.in: Fix bit-rot in definitions of CHILL,
27347 CHILL_FOR_TARGET and Chill_LIB.
27348 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
27349 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
27350 CHILL, and CHILL_LIB.
27351
27352Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
27353
27354 * Revert the previous changes. Please see Rob's directory
27355 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
27356
27357Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
27358
27359 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
27360 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
27361 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
27362 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
27363 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
27364 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
27365 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
27366 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
27367 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
27368 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
27369 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
27370 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
27371 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
27372 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
27373 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
27374 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
27375 changes from 94Q1.
27376
27377Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
27378
27379 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
27380 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
27381 Rob's new testing fragments.
27382
27383Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
27384
27385 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 27386 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
27387
27388Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27389
27390 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
27391 version also, match on casted version strings, and match on
27392 gdb startup case where the line numbers might be messed up.
27393
27394Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
27395
27396 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 27397 (CFLAGS): Delete it from here.
c906108c
SS
27398
27399Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
27400
27401 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
27402
27403Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
27404
27405 * Makefile.in (RUNTEST): Default to just "runtest".
27406
27407Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27408
27409 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
27410 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
27411 the code has been restructured.
27412
27413Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27414
27415 * gdb.t00/default.exp (set write): Allow any number of \r and/or
27416 \n, not just one of each.
27417
27418 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
27419 /bin/cc gives a warning if you do.
27420
27421Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
27422
d63a86f8 27423 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
27424 __t10ListS_link1ZUiRCUiPT0
27425
27426Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27427
27428 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
27429 on local variables in recursive functions.
27430
27431 * gdb.t07/Makefile.in: Build the new test.
27432
27433Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27434
27435 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
27436 directly. Instead compare the return values from actual calls.
27437
27438Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
27439
27440 * Makefile.in (check): Set TCL_LIBRARY for runtest.
27441
27442Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27443
27444 * From Peter Schauer with minor modifications.
a9c64011
AS
27445 * gdb.t15/return.exp (return_tests): Handle targets where "return"
27446 stops in mid-line in the caller. Add xfail for returning a float
27447 value on X86 targets.
c906108c
SS
27448
27449Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27450
27451 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
27452 to avoid expect lossage.
27453 (fmem_LRbug_tests): Likewise.
27454 * gdb.disasm/hppa.s: Corresponding changes.
27455
27456 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
27457 conditions to work with latest dejagnu/expect.
27458
27459 * gdb.t15/funcargs.exp (finish from indirect call): No longer
27460 expected to fail on the PA.
27461 (backtrace in call with trampolines): Explicitly require main
27462 to be frame #1 (no trampolines should show up in backtrace).
27463
27464 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
27465 "continue -expect".
27466 * gdb.t06/break.exp: Likewise.
27467 * gdb.t07/watchpoint.exp: Likewise.
27468 * gdb.t13/bitfields.exp: Likewise.
27469 * gdb.t15/{funcargs,return}.exp: Likewise.
27470 * gdb.stabs/weird.exp: Likewise.
27471 * config/{mips,udi}-gdb.exp: Likewise.
27472
27473 * hppa.sed: Enclose comments within a sed command to avoid
27474 losing with the old OSF1 sed.
27475
27476Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27477
27478 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
27479 sequent dynix.
27480 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
27481 * gdb.t15/funcargs.exp: Conditionally step again to really
27482 finish from marker_call_with_trampolines. Handle the case where
27483 the first step from within call_with_trampolines already steps
27484 us back to main.
27485 * gdb.t15/gdbme.c: Add comment to closing brace of
27486 call_with_trampolines for funcargs.exp.
27487
27488Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27489
d63a86f8 27490 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
27491 Fix typo(s).
27492
27493Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27494
27495 * gdb.t07/gdbme.c: More code for watchpoint testing.
27496
27497 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
27498 "Hardware watchpoint" throughout file.
27499 (test_watchpoint_triggered_in_syscall): New test.
27500 (test_complex_watchpoint): New test.
27501
27502Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27503
27504 * gdbme.c (call_with_trampolines): New function to try and step
27505 into. Tests trampoline problems on the PA.
27506
27507 * funcargs.exp (localvars_in_indirect_call): No longer expect
27508 stepping into indirect call to fail on PAs.
27509 (test_stepping_over_trampolines): New test.
27510
27511Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27512
27513 * TODO: Add suggestions for static member function tests, and
27514 completion tests.
27515
27516Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27517
27518 * TODO: Add suggestions for "p/a" tests.
27519
27520 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
27521 (default_gdb_exit): Replace all the hair with sending "quit" to
27522 the process with a simple close.
27523
27524Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27525
27526 * TODO: Add suggestions for shared library tests.
27527
27528Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27529
27530 * TODO: Add suggestions for x/s tests.
27531
27532Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27533
27534 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
27535 "enable once", and "enable breakpoints once" with ".*".
27536
27537Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27538
27539 * TODO: Add suggestions about structure passing tests.
27540
27541Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27542
27543 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
27544 the primary1 test, use work around if __GNUC__ < 2.
27545 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
27546 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
27547 Test for bad output rather than waiting for timeout. Issue
27548 second continue only if first continue failed.
27549
27550Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27551
27552 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
27553 operator[] test with gdb_test because the old code didn't seem to
27554 be getting the quoting right with the new dejagnu.
27555
27556Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
27557
27558 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
27559 one from the path.
27560 * Makefile.in: Use a fresh expect if there is one, use runtest
27561 from the src tree if there is one.
d63a86f8 27562
c906108c
SS
27563Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27564
27565 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
27566 next over recursive call. Revise the tests from that point on
27567 (which had been skipped) to match GDB's actual (correct) output.
27568
27569 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
27570 with next over a breakpoint whose condition is false.
27571
27572 * gdb.t00/help.exp: Comment out "help set print" tests just like
27573 (and for same reason as) "help set" test.
27574
27575Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27576
27577 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
27578 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
27579
27580Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27581
27582 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
27583 necessary gdb_target_udi.
27584
27585 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
27586
27587 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
27588 1838 and 2417; they are fixed.
27589
27590 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
27591 gdb.t03/ptype.exp (ptype structure, ptype union):
27592 Remove xfails; the test is looser than when the xfails were added.
27593
27594 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
27595 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
27596
27597 * gdb.t01/run.exp: Only run shell test if isnative.
27598
27599 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
27600 since "run" automatically loads if necessary. Call gdb_target_udi
27601 after the "file" since "file" kills any execution target.
27602
27603 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
27604 GDB. GDB doesn't work that way (not anymore at least) on UDI.
27605 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
27606 argument for UDI.
27607
27608Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27609
27610 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
27611
27612 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
27613
27614Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27615
27616 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
27617 properly quoting regexps. This makes the second argument to
27618 demangle a fixed string, which matches the callers, instead of a
27619 shell-style pattern which is what the previous implementation
27620 used. Update some of the callers.
27621
27622Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27623
27624 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
27625 (comib_nullified_tests): Fix typo.
27626 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
27627 strings. No longer expected to fail.
27628
27629 * gdb.disasm/hppa.s (addib_tests): Fix typo.
27630 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
27631 strings. No longer expected to fail.
27632
27633 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
27634 string. No longer expected to fail.
27635
27636Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27637
27638 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
27639 No longer expected to fail.
27640
27641 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
27642 string. No longer expected to fail.
27643
27644Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27645
27646 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
27647 only in the names (I probably got most of them). I was even
27648 generous with some which differed in underscores in names, and
27649 probably missed a few, and I *still* was able to remove almost a
27650 third of the file with almost no impact on testsuite coverage.
27651
27652Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27653
27654 * gdb.t00/default.exp: Match udi_attach error message as well as
27655 the one from child_attach.
27656
27657 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
27658
27659 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
27660
27661 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
27662 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
27663
27664 * Move test with enums and partial symbols back to
27665 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
27666 Reverts the change of 26 May 93. Per today's change to
27667 stabs.texinfo, the behavior that weird.exp was expecting was
27668 unreasonable; what is important is that the compiler+gdb get
27669 things right, which happens with a recent gcc. Also fix the test
27670 to deal with native compilers which put out the stab gdb can't
27671 deal with.
27672
27673Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27674
27675 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
27676 in the names. The main thing these accomplish is to slow things down.
27677 Many more such duplicates surely remain.
27678
27679 * gdb.t00/help.exp: Comment out "help support" test just like
27680 (and for same reason as) "help set" test.
27681
27682Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
27683
27684 * gdb.t06/break.exp: Remove setup_xfails for
27685 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
27686 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
27687 about known bug in gcc to include up through 2.5.8.
27688 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
27689 well as "_vb$".
27690 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
27691 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
27692 with latest gcc and gdb.
27693 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
27694 well as "_vb$".
27695
27696Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27697
27698 * configure.in (hppa*-*-*): Also configure and build stabs-only
27699 tests.
27700
27701Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27702
27703 * gdb.t10/hppa.mt: A makefile fragment for the PA.
27704 * gdb.t10/configure.in (hppa*-*-*): Use it.
27705
27706Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27707
27708 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
27709
27710Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27711
27712 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
27713 versions prior to 1.13.5.
27714
27715Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27716
27717 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
27718 the prompt is at the start of a line.
27719
27720Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27721
27722 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
27723 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
27724 in the copr tests now.
27725 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
27726 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
27727 expected to fail.
27728
27729Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
27730
27731 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
27732 gdb.t31/chillvars.exp, lib/gdb.exp:
27733 Tweak to run under either version of expect.
27734 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
27735 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
27736 * gdb.t11/list.exp: Remove extraneous whitespace.
27737
27738Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27739
27740 * gdb.t16/printcmds.exp (test_print_strings): Accept
27741 "(unsigned char *) " before the string.
27742
27743 * TODO: Add notes about printing of fancy types and GDB expressions.
27744
27745Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
27746
27747 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
27748 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 27749 if doing mips-idt-ecoff.
c906108c
SS
27750
27751Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
27752
27753 * Most .exp files: Tweak to run under either version of expect.
27754
27755Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27756
27757 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
27758 xfails; I'm not sure why they are failing, but not because of PR 1806.
27759
27760Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
27761
27762 * config/unix-gdb.exp: Remove gdb_unload cause it's already
27763 defined in lib/gdb.exp.
27764
27765Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27766
27767 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
27768 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
27769 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
27770 have to be typeless.
27771
27772Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27773
27774 * TODO: Add suggestion for copyright year test.
27775
27776Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
27777
27778 * configure.in (*-*-lynxos*): Add stabs tests.
27779
27780Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
27781
27782 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
27783 so insert a tab before any assembler directive in column zero.
27784
27785 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
27786 stores.
27787 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
27788 stores.
27789 (fpu_short_memory_tests): Likewise.
27790
27791Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27792
27793 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
27794 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
27795 .stabs directives in comments.
27796
27797Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27798
27799 * TODO: New file, describing tests we could write.
27800 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
27801
27802Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27803
27804 * gdb.t06/signals.exp: Add kludge to force re-sync.
27805
27806 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
27807 to xgdb instead of gdb, get out of gdb.
27808
27809Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
27810
27811 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
27812 for info.
27813
27814Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
27815
27816 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
27817 * gdb.stabs/configure.in (hppa*-*-*): Use it.
27818 * gdb.stabs/hppa.sed: New sed script for the PA.
27819
27820Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27821
27822 * gdb.stabs: Re-write weird.def and configuration to use sed
27823 instead of cpp. sed is portable and POSIX; cpp is neither.
27824
27825Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27826
27827 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
27828
27829Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27830
27831 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
27832
27833Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27834
27835 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
27836 "_vb$".
27837 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
27838 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
27839
27840Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27841
27842 * lib/gdb.exp: Comment out code which depends on non-existent
27843 `transform' procedure.
27844
27845Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
27846
27847 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
27848 * lib/gdb.exp: Transform tool name.
27849 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
27850 1.1's new error handling system.
27851
27852Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27853
27854 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
27855
27856Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27857
27858 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
27859 They made pattern matching so slow that timeouts happened on
27860 heavily loaded systems. Now any output from "show print" which
27861 gets us back to the GDB prompt is a PASS.
27862
27863Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
27864
27865 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
27866
27867Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27868
27869 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
27870
27871 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
27872 It is not from PR 3220.
27873
27874Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27875
27876 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
27877 just started failing because they depended on the order the
27878 subcommands are presented, or exact docstring text. This kind of
27879 test is a pain and has minimal benefit.
27880
27881Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27882
27883 * gdb.t09/corefile.exp: At end of test, use "core" command with
27884 no arguments.
27885
27886Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
27887
27888 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
27889 17}/Makefile.in: Make it possible to run the testsuite with Sun
27890 make and CC = cross gcc by adding explicit build rules for .o
27891 files.
27892
27893Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27894
27895 * gdb.t15/funcargs.exp: Don't put comments on same line as
27896 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 27897
c906108c
SS
27898Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27899
27900 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
27901
27902Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
27903
27904 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
27905 * gdb.t20/inherit.exp: remove three dumplicate entries.
27906
27907Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27908
27909 * gdb.t06/break.exp: For "next over recursive call", fail on any
27910 incorrect output, not just on "factorial (value=2)".
27911
27912Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27913
27914 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
27915 working now. Add an xfail if accesing a bss variable causes
27916 a memory error if the target is not yet run.
27917
27918Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27919
27920 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
27921 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
27922 name of __st* demangling (2 strings). Did Kung really get the
27923 more than 95 others right without testing them?
27924
27925Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
27926
27927 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
27928
27929Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
27930
27931 * configure.in (configdirs): Add gdb.disasm
27932 * gdb.disasm: New directory for GDB disassembler tests.
27933 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
27934
27935Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27936
27937 * gdb.t00/help.exp: Don't test "help set".
27938
27939 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
27940 from within expect statements. None of these happen anymore and
27941 they cause regressions to be silently unnoticed.
27942
27943 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
27944 messages) about known failures with gcc cygnus-2.4.5-930417.
27945
27946 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
27947 comp-info.exp so it gets built if it doesn't exist.
27948
27949 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
27950 it is no longer used.
27951 * gdb.t13/comp-info.c: Removed.
27952
27953Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
27954
27955 * gdb.t06/signals.exp: Add xfail for sun3.
27956
27957Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27958
27959 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
27960 relevant because ^C doesn't get sent but failure can be reproduced
27961 interactively).
27962
27963Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27964
27965 * gdb.stabs/alpha.mt: New configuration file for alpha.
27966 * gdb.stabs/configure.in: Use it.
27967 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
27968 sharing with alpha.mt, redefine long to word via preprocessor.
27969 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
27970 for alpha.
27971 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
27972 native cc.
27973 * gdb.t00/teststrategy.exp: Change expect string so that we
27974 consume the `(xgdb)' from the command echo and from the gdb prompt.
27975 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
27976 gdb currently compares all values as long, so this failure probably
27977 applies to any configuration where LONGEST is bigger than a target int.
27978 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
27979 with gcc.
27980 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
27981 to handle opaque pointers, gcc is.
27982 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
27983 as first argument. Include <sys/types.h> and change all operator
27984 new definitions to use size_t.
27985 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
27986 now that we use size_t.
27987
27988Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27989
a9c64011 27990 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 27991 a long or float array cast all array members to the same type.
a9c64011 27992 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 27993 with 64 bit longs.
a9c64011 27994 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 27995 on alpha.
a9c64011 27996 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
27997
27998Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27999
28000 * gdb.t24 (demangle.exp): Constructors of templates have names like
28001 vector<int>::vector(int) not vector<int>::vector<int>(int). See
28002 section 14.6 of the ARM.
28003
28004 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
28005 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
28006 accomplish little and slow down the testsuite.
28007
28008 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
28009 Accept spaces various places.
28010
28011Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28012
28013 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
28014 with watchpoint enabled.
28015
28016 * Makefile.in: Remove definition of CC and remove the second
28017 definition of CXX (the "CXX = gcc" one remains). These definitions
28018 were causing backquotes to be expanded within backquotes, which
28019 doesn't work.
28020
28021Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
28022
28023 * gdb.t17/callfuncs.exp: Add "return 0" to end.
28024
28025Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28026
a9c64011
AS
28027 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
28028 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
28029 by mips cc and contains no stabs entries.
28030
28031Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
28032
28033 * config/vx-gdb.exp: Use fake device to load files rather than
28034 NFS.
28035 * lib/gdb.exp: New proc to do "file" command.
28036 * config/unix-gdb.exp: Use new "file" proc.
28037
28038Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
28039
28040 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
28041 Rework board rebooting slightly.
28042 (gdb_exit): Don't exit from the remote shell; there isn't one.
28043 * gdb.stabs/weird.exp: If a program is being debugged already,
28044 kill it.
28045 * gdb.t04/setvar.exp: Stop and restart gdb.
28046 * gdb.t05/expr.exp: Likewise.
28047 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
28048 restart gdb and reload the program.
28049 * gdb.t08/opaque.exp: Likewise.
28050 * gdb.t12/scope.exp: Likewise.
28051 * gdb.t13/bitfields.exp: Likewise.
28052 * gdb.t15/funcargs.exp: Likewise.
28053 * gdb.t20/classes.exp: Likewise.
28054 * gdb.t03/ptype.exp: Increase timeout.
28055 * gdb.t16/printcmds.exp (test_print_string_constants,
28056 test_print_array_constants): Likewise.
28057 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
28058 * gdb.t20/classes.exp (do_tests): Likewise.
28059 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
28060
28061Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
28062
28063 * gdb.stabs: Renamed *wierd* to *weird*.
28064
28065Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28066
28067 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
28068 for timeout. Add "known gcc 2.4.5 bug" to failure message.
28069
28070Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28071
28072 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
28073 (do_tests): Remove xfail for whatis on one_var and two_var.
28074
28075Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
28076
28077 * Makefile.in: Made cross building work better by adding
28078 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
28079
28080Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28081
28082 * gdb.t15/{return.c,return.exp,Makefile.in}:
28083 New test, currently commented out.
28084
28085Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
28086
28087 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
28088 still running and removes the leftover named socket so GDb can do
28089 clean restarts.
28090
28091Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
28092
28093 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
28094 console, not GDB.
28095 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
28096 cross testing works better with "make check"
28097 * config/unix-gdb: Use default procedures for exit and version.
28098 * config/vx-gdb.exp: Cleaned up and massaged back to working order
28099 with the newest VxWorks.
28100
28101Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28102
28103 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
28104 old form.
28105
28106 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
28107 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
28108
28109 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
28110
28111 * config/unix-gdb.exp: Remove this version of gdb_exit
28112 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
28113 Rob says he'll look at it when he gets back to testing boards.
28114
28115Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
28116
28117 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
28118 an expected fail for certain ptype commands.
28119
28120 * gdb.t20/classes.exp: Update expected results of "ptype class
28121 Base1" to account for the constructor that now appears in the type.
28122
28123Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
28124
28125 * configure.in (configdirs): Restore gdb.t04, which mysteriously
28126 disappeared from list.
28127 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
28128 "alldone" proc with call to cleanup and exit.
28129 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
28130 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
28131 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
28132 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
28133 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
28134 "alldone" proc with simple returns that suppress remaining
28135 tests. The alldone proc went away many months ago.
28136
28137Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28138
28139 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
28140
28141 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
28142
28143Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28144
28145 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
28146 as vax gdb will display them.
28147
28148Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28149
28150 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
28151 optimizers.
28152
28153 * scope.exp: Change "bad value for localval" messages so each one
28154 is unique.
28155
28156 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
28157 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
28158
28159 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
28160
28161Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28162
28163 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
28164 doesn't exist (due to optimization).
28165
28166Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28167
28168 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
28169 contains \r because the filename is long.
28170
28171 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
28172 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
28173
28174Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28175
28176 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
28177 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
28178 Ultrix.
28179 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
28180 int tests.
28181 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
28182
28183Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
28184
28185 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
28186
28187 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 28188 to match does not match the passing case but still matches the
c906108c
SS
28189 failing case.
28190
28191Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28192
28193 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
28194
28195Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
28196
28197 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
28198 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
28199 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
28200 Remove various versions of gdb_exit.
28201 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
28202 gdb_exit.
28203 * config/unix-gdb.exp: gdb_exit remains here, and should override
28204 the generic version, since it's doing a lot of wierd stuff that
28205 the other versions aren't. FIXME, fold it in, or abandon this
28206 version.
28207
28208Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28209
28210 * gdb.t24/demangle.exp: Add tests for PR 3220.
28211
28212Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28213
28214 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
28215
28216Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
28217
28218 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
28219 "i386-*-*". Works for i486 as well.
28220
28221 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
28222 bug, and expand domain of xfail to all SVR4 systems, since the
28223 actual problem is likely to be in generic SVR4 /proc support.
28224
28225Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28226
28227 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
28228
28229Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
28230
28231 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
28232 xfails for other systems. Match a missing 'Continuing.' as an
28233 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
28234
28235 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
28236 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
28237 Only issue warning for missing executables if -all option is used.
28238
28239 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
28240 file if -all option is used. It's like an unpredictable XFAIL.
28241
28242Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28243
28244 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
28245 for dynamically linked binaries.
28246
28247 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
28248
28249Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28250
28251 * gdb.t20/inherit.exp: Change message for "print tagless struct"
28252 to state that this is a known bug in old versions of g++.
28253
28254Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28255
28256 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
28257 while waiting for `Continuing'.
28258
28259Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
28260
28261 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
28262 in text, data, and bss.
28263 * gdb.t10/nodebug.c: Add local and global test variables for
28264 initialized and uninitialized data.
28265
28266Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28267
28268 * config/unix-gdb.exp (gdb_exit): Add "wait".
28269
28270Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28271
28272 * gdb.t06/signals.exp: xfail the continue from the handler for all
28273 targets.
28274
28275 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
28276 function with watchpoints enabled, the i386 call dummy starts with
28277 a call.
28278
28279 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
28280 386 bsd names its corefiles.
28281
28282Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
28283
28284 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
28285 compilers don't grok it.
28286 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
28287 with small octal ints rather than character constants, which
28288 are signed and might not fit if first promoted to int.
28289
28290Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
28291
28292 * gdb.t09/Makefile.in (clean): Remove corefile.
28293
28294Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28295
28296 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
28297
28298Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28299 and Jim Kingdon (kingdon@cygnus.com)
28300
28301 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
28302 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
28303 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
28304
28305Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28306
28307 * gdb.t17/interrupt.exp: Add xfail for hppa.
28308
28309Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28310
28311 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
28312 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
28313 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
28314 to determine signed-ness of bitfields and use the result to setup
28315 the xfail.
28316 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
28317 * gdb.t15/funcargs.exp: Use them to step until the second indirect
28318 call line is reached if necessary.
28319
28320Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28321
28322 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
28323
28324Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28325
28326 * gdb.t06/break.exp: Also test `clear' command.
28327
28328Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28329
28330 * gdb.t00/teststrategy.exp: Remove extra quote.
28331
28332 * gdb.t07/watchpoint.exp: Change xfail for calling function with
28333 watchpoint enabled to be for all non-68k machines.
28334
28335 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
28336
28337Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28338
28339 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
28340 targets use aout.mt instead of ecoff.mt as gas understands
28341 standard aout format.
28342
28343Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28344
28345 * lib/gdb.exp (runto): Don't insist that function we are running to
28346 was compiled with -g.
28347
28348 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
28349
28350 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
28351 to get back into the read system call.
28352 Accept leading newline in case where we woke it up.
28353
28354Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28355
28356 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
28357 to make the stabs test work on ecoff systems using gcc and -with-stabs.
28358 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
28359 enable ecoff configuration.
28360
28361Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28362
28363 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
28364
28365Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28366
28367 * gdb.t16/printcmds.exp: Add another printf test.
28368
28369Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
28370
28371 * configure.in: If configured -with-stabs on any target, add
28372 stabsdirs to configdirs.
28373
28374Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28375
28376 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
28377 fun" so pattern does not match the command itself.
28378
28379Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28380
28381 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
28382
28383Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28384
28385 * gdb.t17/interrupt.exp: Test for more things.
28386
28387Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28388
28389 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
28390 compiler arranges the code and line numbers.
28391
28392 * gdb.t17/interrupt.exp: Don't send \n after ^C.
28393
28394Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28395
28396 * gdb.t00/help.exp: Increase expect input buffer size.
28397
28398Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28399
28400 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
28401
28402 * gdb.t07/watchpoint.exp: Add xfail for hppa.
28403
28404 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
28405
28406 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
28407 [0-9]*, not just [0-9].
28408
28409Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28410
28411 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
28412
28413 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
28414
28415Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28416
28417 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
28418
28419Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28420
28421 * gdb.t06/signals.c: Add xfails for sun3.
28422
28423 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
28424
28425 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
28426 test_stepping tests.
28427
28428Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28429
28430 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
28431
28432 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
28433
28434 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
28435 rather than actually putting it through cpp twice.
28436
28437 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
28438
28439Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
28440
28441 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
28442 no longer needed.
28443
28444Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28445
28446 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
28447
28448 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
28449 C++ features prints as "struct", make it a pass, not an xfail.
28450
28451Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28452
28453 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
28454 Don't require VA to print as "class" rather than "struct".
28455
28456Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
28457
28458 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
28459
28460Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28461
28462 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
28463
28464Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28465
28466 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
28467 order.
28468
28469Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28470
28471 * gdb.t16/printcmds.exp: Add printf tests.
28472
28473 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
28474
28475 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
28476
28477Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
28478
28479 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
28480 pass counts, to counteract any existing or future setup_xfails.
28481
28482Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28483
28484 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
28485 {BEGIN,END}_COMMON for common block instead of STAB.
28486 * gdb.stabs/wierd.exp: Add xfail for rs6000.
28487
28488 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
28489 intp_var should be N_GSYM not N_LSYM.
28490 wierd-aout.S: Use a label for the value of the N_SO.
28491 wierd.def: Remove all backslashes.
28492 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
28493
28494Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28495
28496 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
28497 get the expected next to inheritance3.
28498
28499Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28500
28501 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
28502 now that gcc-2.4 gets it right.
28503
28504Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28505
28506 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
28507
28508 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
28509 generating comp-info.exp which works for cross-compilation.
28510
28511Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
28512
28513 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
28514 "*-*-sysv4.*".
28515
28516Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
28517
28518 * gdb.t01/run.exp: Start with a fresh gdb.
28519 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
28520 SVR4.x.
28521
28522Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
28523
28524 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
28525 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
28526 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
28527 Makefile.in (distclean, realclean): Remove gdbme.c from list of
28528 things to remove.
28529
28530Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
28531
28532 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
28533 test cases from bug reports.
28534
28535Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
28536
28537 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
28538 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
28539 avoid spurious xfails.
28540 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
28541 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
28542 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
28543
28544Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
28545
28546 * gdb.t00/teststrategy.exp: Rework to provide more useful
28547 description of each test, fix problem with systems that define
28548 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
28549 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
28550 results for "next over recursive call" so timeouts aren't taken
28551 by error.
28552
28553Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
28554
28555 * gdb.t12/scope.exp: Test printing of variables before run.
28556
28557 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
28558 printed in wrong order due to sorting.
28559
28560Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
28561
28562 * gdb.t00/teststrategy.exp: Fix expected results for printing
28563 user entered string constant. Is array of char, prints with no
28564 address.
28565
28566 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
28567 commands.
28568 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
28569 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
28570 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
28571 of struct of char arrays.
28572 * gdb.t00/radix.exp: New tests for radix commands.
28573
28574Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
28575
28576 * gdb.t16/printcmd.exp: Print a variable before running program
28577 (with xfail for AIX).
28578
28579Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
28580
28581 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
28582
28583 * gdb.t16/printcmd.exp: Don't print variables before running program.
28584
28585 * gdb.t06/break.exp: Don't require envp argument to main.
28586
28587 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
28588
28589 * gdb.t02/whatis.exp, gdb.t11/list.exp:
28590 Add xfails for rs6000.
28591
28592 * gdb.t02/whatis.exp: Change other tests not to re-test something
28593 we already tested.
28594
28595 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
28596 each type used has a variable of that type.
28597
28598Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
28599
28600 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
28601
28602Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
28603
28604 * configure.in: change srctrigger to be a file, not a directory
28605
28606Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
28607
28608 * configure.in (mips-idt-ecoff*): Added trailing '*'.
28609
28610 * gdb.t11/list.exp: Fixed a couple of typos.
28611
28612Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
28613
28614 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
28615 is fixed and PR is closed.
28616 * gdb.t16 (gdbme.c): Add simple test string variable.
28617 * gdb.t16 (printcmds.exp): Add tests with simple test string
28618 variable, primarily for boundaries on "set print elements".
28619
28620Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
28621
28622 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
28623 Make leading 0's optional and don't expect a tab in the middle
28624 of the number.
28625
28626 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
28627
28628 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
28629 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
28630 don't end command passed to gdb_test with newline.
28631
28632 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
28633 signed keyword away, don't expect signed bitfields to be signed.
28634
28635 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
28636 printing with only as many 1's as are in the field as well as printing
28637 with 32 1's (see comment).
28638
28639Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
28640
28641 * gdb.t00/default.exp: Start with a fresh gdb.
28642 * configure.in (configdirs): Remove gdb.t31 until the chill
28643 compiler works again. It no longer is able to find chillrt0
28644 since it isn't in libchill.a anymore.
28645 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
28646 wierd.o, make more modular.
28647 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
28648 spurious newlines that caused problems.
28649
28650Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28651
28652 * Move test with enums and partial symbols from gdb.t03/ptype.exp
28653 to gdb.stabs/wierd.exp since GCC has worked around the bug.
28654 gdb.stabs/wierd.{exp,def}: Many new tests.
28655
28656 * gdb.t00/default.exp: update info line for new message.
28657
28658 * gdb.t02/{whatis.exp,gdbme.c}:
28659 Test that "char *" doesn't print as "caddr_t".
28660
28661Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28662
28663 * gdb.t00/help.exp: Use .* in place of some help messages which
28664 just changed.
28665 gdb.t00/default.exp: Update "info frame" test for new message.
28666 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
28667 Remove some xfails
28668
28669Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28670
28671 * gdb.t03/{gdbme.c,ptype.exp}:
28672 Add tests for typedef'd struct and union without tags.
28673 Also check "whatis" on a variable of a typedef'd enum without a tag.
28674
28675 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
28676 PRMS 1823; the bug still exists but isn't reproduced by this test
28677 anymore), and remove rs6000 XFAIL (the bug is fixed).
28678
28679 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
28680 duplicated from whatis.exp. For those that are left, accept
28681 "long", "long int", or "int" for long variables (whatis.exp already
28682 has an XFAIL for "int", so no need to fail it here).
28683
28684 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
28685 Deal with GCC's names for types now that GDB uses the compiler's names.
28686
28687 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
28688 setup_xfail's for sunos4. If we #defined the signed keyword away,
28689 don't expect GDB to know that char it is signed.
28690
28691 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
28692
28693Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
28694
28695 * configure.in (configdirs): Add gdb.t24 for C++ tests that
28696 should work on any system, regardless of debugging format.
28697 * gdb.t21/demangle.exp: Move to gdb.t24.
28698 * gdb.t24/demangle.exp: Move from gdb.t21.
28699 * gdb.t24/{Makefile.in, configure.in}: New files.
28700
28701Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28702
28703 * configure.in: Do gdb.stabs and C++ tests only for stabs.
28704 * gdb.stabs: New directory.
28705
28706Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28707
28708 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
28709 not just "Quit anyway?".
28710
28711Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
28712
28713 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
28714 that all setup_xfails are immediately followed by clear_xfails.
28715
28716Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
28717
28718 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
28719 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
28720 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
28721 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
28722 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
28723 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
28724 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
28725 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
28726 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
28727 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
28728 gdb.t31/chillvars.exp, lib/gdb.exp:
28729 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
28730 bug-gdb@prep.ai.mit.edu.
28731
28732Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
28733
28734 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
28735 with 0.0, not integer 0.
28736
28737Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
28738
28739 * gdb.t06/break.exp: Update for "Kill the program" message change.
28740
28741Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
28742
28743 * Makefile.in (GDBFLAGS): Set to -nx.
28744 * Makefile.in (site.exp): Use GDBFLAGS.
28745
28746Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28747
28748 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
28749 Makefiles.
28750 (check): depend on just-check.
28751 (just-check): added so that tests can be run without a noop
28752 build pass.
28753
28754Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28755
28756 Switch to using configure's configdirs.
28757 * Makefile.in (Makefile): add configure.in dependency.
28758 (SUBDIRS): removed redundant assignment.
28759 * configure.in: switch subdirs assignment to configdirs.
28760 * gdb.t*/configure.in: new files.
28761
28762Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
28763
28764 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
28765 works.
28766
28767Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
28768
28769 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
28770 in explicit rules. Apparently this is not supported by some makes.
28771
28772Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
28773
28774 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
28775
28776Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28777
28778 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
28779 disappeared.
28780
28781Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
28782
28783 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
28784
28785Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
28786
28787 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
28788 watchpoint problem that is now fixed.
28789 * gdb.t30/chexp.exp: Remove setup_xfail for printing
28790 uninitialized convenience variables.
28791 * gdb.t31/chillvars.exp: Fix expected patterns for printing
28792 structures.
28793
28794Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28795
28796 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
28797 which causes expect to get out of sync with gdb on long output
28798 from help set.
28799 * gdb.t09/corefile.exp: Make expected pattern for core file
28800 failing signal and frame output format less sun specific.
28801
28802Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
28803
28804 * gdb.t31/chillvars.exp: Add and remove initial dummy
28805 breakpoint, so that symbol table is forced in.
28806 (Needed at least on Sunos4, though it seems not SVR4.)
28807 * gdb.t31/chillvars.exp: Update for changed output format.
28808
28809Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
28810
a9c64011 28811 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
28812
28813Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
28814
28815 * Makefile.in: Added --srcdir when invoking runtest, removed the
28816 need for a local config file. (optional now)
28817
28818Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
28819
28820 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
28821 failure count used to force early termination. Add some more
28822 expected failures for gnu style demangling.
28823
28824Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28825
28826 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
28827 pmi variable from gdb.t20/gdbme to get optimized away.
28828 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
28829 Check for written corefile upon timeout _and_ eof.
28830
28831Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28832
28833 * config/unix-gdb.exp: Add missing return 0.
28834
28835Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28836
28837 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
28838 test termination.
28839
28840Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
28841
28842 * configure.in (subdirs): Put back gdb.t17 which mysteriously
28843 disappeared.
28844
28845Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
28846
28847 * gdb.t10/crossload.exp: Disable the i860-elf test until such
28848 time as i860 support works.
28849
d63a86f8 28850 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
28851 "backtrace 100\r" rather than just "backtrace\r", to match last
28852 change.
28853
28854Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
28855
28856 * config/udi-gdb.exp (gdb_exit): Remove close command.
28857 (gdb_target_udi): New procedure to set the UDI target.
28858 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
28859 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
28860 Added waits for prompts after several question responses. Added
28861 some more responses used by a29k-amd-udi-gdb.
28862 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
28863 pass different arguments, restart UDI connection after program
28864 completion.
28865 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
28866 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
28867 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
28868 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
28869 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
28870 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
28871 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
28872 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
28873 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
28874 after program completion.
28875 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
28876 compiled with a SELECT_VECS setting.
28877 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
28878 infinite recursion.
28879
28880 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
28881 Added checks for COFF results, and made them expected failures for
28882 all targets. It would be better to make them expected failures
28883 for COFF targets only.
28884
28885Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
28886
28887 * Makefile.in: add null dvi target, don't bother to recurse
28888 through test directories for info and install-info; rename
28889 $(datadir) to be dejagnu instead of deja-gnu
28890
28891Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
28892
28893 * gdb.t31/gdbme.ch: Re-enable code that previously caused
28894 compiler to coredump.
28895 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
28896 code.
28897
28898Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
28899
28900 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
28901 coredump.
28902 * gdb.t31/chillvars.exp: Comment out tests that depend on that
28903 code.
28904
28905Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
28906
28907 * gdb.t03/ptype.exp: tests for return code from gdb_test.
28908 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
28909 which in a shell. Deletes xgdb when done.
28910 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
28911 Tests the return from the "set height" or "set width" commands.
28912 Added a few return codes where needed.
28913
28914Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
28915
28916 * Makefile.in (SUBDIRS): Add gdb.t17.
28917 * configure.in (subdirs): Add gdb.t17.
28918 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
28919 files to test gdb's calling of functions in the inferior with
28920 the correct arguments and gdb's ability to retrieve any
28921 result returned.
28922
28923Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
28924
28925 * config/unix-gdb.exp (gdb_exit): Remove close commands that
28926 may be called after gdb goes away. Previous versions of expect
28927 needed these to avoid file descriptor leaks, but they cause
28928 errors with the current revision of expect.
28929 * gdb.t00/gdbvars.exp: Use -re on expected output after
28930 setting sevenbit-strings.
28931 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
28932 to set sevenbit-strings consistent across tests.
28933 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
28934 set sevenbit-strings consistent across tests.
28935
28936Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
28937
28938 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
28939 expected output to match current "expect" expectations.
28940
28941Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
28942
28943 * gdb.t00/default.exp: Change expected output for default "source"
28944 command, to match new gdb behavior which requires a filename to
28945 source.
28946
28947Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
28948
28949 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
28950 expected fail for i486-*-* that misses the marker2 function.
28951 * gdb.t10/crossload.exp (bfddefault): Allow successful
28952 recognition of a format to pass even if no symbols are found.
28953 Explicitly catch failures where the format is not recognized
28954 or is ambiguous, and add the reason to the fail message.
28955 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
28956 the cause is and invalid target and add reason to failure message.
28957 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
28958 elf32-i386, elf32-sparc, and elf32-i860.
28959 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
28960 Set up expected failure for 'filename'::variable scope resolution,
28961 which is now apparently broken on all targets.
28962 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
28963 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
28964 gdb.t23/templates.exp: Change failure for missing binfile into
28965 just a warning.
28966 gdb.t21/demangle.exp: Change all cfront references to 'arm'
28967 references.
28968
28969Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
28970
28971 * gdb.t00/default.exp: Add expected output for default "source"
28972 command, to match new gdb behavior.
28973 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
28974
28975Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
28976
28977 * config/*-gdb.exp: returns an error, rather than exiting on
28978 internal errors.
28979
28980Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
28981
28982 * gdb.t03/gdbme.c: Add pointer to struct variable.
28983 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
28984 referencing struct members.
28985
28986Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
28987
28988 * configure.in (mips-idt-ecoff): New target.
28989 * config/mips-gdb.exp: New file for remote board using MIPS remote
28990 debugging protocol.
28991
28992 * Redid configuration scheme. Removed gdb.t*/configure.in.
28993 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
28994 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
28995 distclean targets. Built executables via .o files. Adjusted
28996 tests to account for source files in $(srcdir) rather than
28997 $(objdir).
28998 * lib/gdb.exp (runto): Don't expect () after the function name,
28999 because it may have arguments.
29000
29001Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
29002
29003 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
29004 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
29005 expected failures for mips-idt-* and mips-sgi-*.
29006 * gdb.t00/default.exp (attach): Kill process if requested.
29007 * gdb.t00/help.exp (help target core, help target): Accept a gdb
29008 that does not read core files.
29009 * gdb.t01/run.exp: Removed checks for exit status code.
29010 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
29011 it is linked in.
29012 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
29013 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
29014 appropriate, rather than doing it by hand.
29015 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
29016 execution.
29017 * gdb.t10/crossload.exp: Kill existing program if needed.
29018 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
29019 appropriate, rather than doing it by hand. Always increase
29020 timeout for this test, not just for VxWorks.
29021
29022Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
29023
29024 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
29025 of Chill STRUCT types and STRUCT values.
29026 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
29027 than "char".
29028 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 29029 struct2): New struct definitions and initializations to test
c906108c
SS
29030 simple Chill STRUCT types.
29031
29032Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
29033
29034 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
29035 the null byte at the end of strings.
29036 * gdb.t00/default.exp: Make show version insensitive to copyright
29037 date.
29038 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
29039 to avoid dependencies on target char signedness.
29040 * gdb.t16/printcmds.exp: Update expected results for explicitly
29041 unsigned char.
29042 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
29043 now work.
29044 * gdb.t21/demangle.exp: Add many more patterns for template
29045 demangling, most of them being expected failures.
29046 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
29047 string we are matching for, to match on the whole string.
29048 * gdb.t21/demangle.exp: Add many new test strings to demangle,
29049 and fix a whole bunch that had incorrect expected output but were
29050 passing anyway because of the bug in "proc demangle".
29051 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
29052 type.
29053 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
29054
29055Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
29056
a9c64011
AS
29057 * gdb/testsuite: made modifications to testcases, etc., to allow
29058 them to work properly given the reorganization of deja-gnu and the
29059 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
29060
29061Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
29062
29063 * gdb/testsuite: Initial creation of gdb/testsuite.
29064 Migrated dejagnu testcases and support files for testing nm to
29065 gdb/testsuite from deja-gnu. These files were moved "as is"
29066 with no modifications. This migration is part of a major overhaul
29067 of dejagnu. The modifications to these testcases, etc., which
29068 will allow them to work with the new version of dejagnu will be
29069 made in a future update.
48efe704 29070
8d8cb839 29071 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 29072\f
8d8cb839
EZ
29073;; Local Variables:
29074;; mode: change-log
29075;; left-margin: 8
29076;; fill-column: 74
29077;; version-control: never
29078;; End:
902f2ccb 29079
0b302171 29080 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
29081 Copying and distribution of this file, with or without modification,
29082 are permitted provided the copyright notice and this notice are preserved.