gdb/testsuite/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
4 verbose -log by more specific untested call.
5
6 2012-08-18 Yao Qi <yao@codesourcery.com>
7
8 * gdb.trace/tfind.exp: Move tests on various command help before
9 checking target supports trace.
10 Fix the expected output of 'help tfind end'.
11
12 2012-08-17 Keith Seitz <keiths@redhat.com>
13
14 PR c++/13356
15 * gdb.base/default.exp: Update all "check type" tests.
16 * gdb.base/help.exp: Likewise.
17 * gdb.base/setshow.exp: Likewise.
18 * gdb.cp/converts.cc (foo1_type_check): New function.
19 (foo2_type_check): New function.
20 (foo3_type_check): New function.
21 (main): Call new functions.
22 * converts.exp: Add tests for integer-to-pointer conversions
23 with/without strict type-checking.
24
25 2012-08-16 Mike Frysinger <vapier@gentoo.org>
26
27 * gdb.base/help.exp: Update expected output.
28
29 2012-08-16 Joel Brobecker <brobecker@adacore.com>
30
31 * gdb.ada/rdv_wait: New testcase.
32
33 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
34
35 * gdb.base/attach-twice.exp: Remove excessive ps exec.
36
37 2012-08-13 Doug Evans <dje@google.com>
38
39 * gdb.base/help.exp: Update expected output.
40 * gdb.base/default.exp: Update expected output of "show convenience".
41
42 2012-08-10 Doug Evans <dje@google.com>
43
44 * gdb.python/py-strfns.c: New file.
45 * gdb.python/py-strfns.exp: New file.
46 * gdb.python/py-type.exp (test_fields): Add vector tests.
47
48 2012-08-10 Mike Frysinger <vapier@gentoo.org>
49
50 PR cli/10436:
51 * gdb.base/completion.exp: Add tests for handle completion.
52
53 2012-08-09 Yao Qi <yao@codesourcery.com>
54
55 * gdb.mi/mi-cmd-param-changed.exp: New.
56 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
57 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
58 * gdb.mi/mi2-prompt.exp: Likewise.
59
60 2012-08-08 Doug Evans <dje@google.com>
61
62 * gdb.base/debug-expr.c: New file.
63 * gdb.base/debug-expr.exp: New file.
64 * gdb.base/exprs.exp: Test {type} casts.
65 * gdb.cp/debug-expr.exp: New file.
66
67 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
68
69 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
70 global variable loop, not a 'break'. Add loop count limit to 100.
71 Add new fail case for terminated vgdb.
72
73 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
74 Jean-Marc Saffroy <saffroy@gmail.com>
75
76 PR 11804
77 * gdb.base/gcore-relro.exp: New file.
78 * gdb.base/gcore-relro-main.c: New file.
79 * gdb.base/gcore-relro-lib.c: New file.
80
81 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
82
83 Do not false FAIL with old GCCs.
84 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
85 GCC < 4.5 in $no_hw mode.
86
87 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
88
89 * gdb.base/default.exp (cd): Accept new directory with no arguments.
90
91 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
92
93 * gdb.base/list.exp (test_only_end): New function.
94 Call it.
95
96 2012-08-06 Tom Tromey <tromey@redhat.com>
97
98 * gdb.python/py-mi.exp: Add test for printer whose children
99 are a list.
100 * gdb.python/py-prettyprint.c (struct children_as_list): New.
101 (main): New variable children_as_list.
102 * gdb.python/py-prettyprint.py (class pp_children_as_list):
103 New.
104 (register_pretty_printers): Register new printer.
105
106 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
107
108 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
109 symbols. Abort if vgdb remote connection is closed.
110
111 2012-08-02 Doug Evans <dje@google.com>
112
113 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
114
115 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
116
117 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
118 s390x, PowerPC 64 and m68k-linux.
119
120 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
121
122 * gdb.base/annota1.exp: Accept no frames-invalid notification
123 when starting up the program.
124 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
125 show a symbolic value as well.
126 * gdb.server/server-exec-info.exp: Skip test when skipping
127 gdbserver test and/or when skipping shared library tests.
128 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
129 avoid name conflicts with other tests.
130
131 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
132
133 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
134 Fix wrong output on big-endian systems.
135 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
136 4-byte pointer types on 64-bit s390x.
137
138 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
139
140 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
141 marker comment at the beginning (after intialization).
142 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
143 breakpoint on marker comment instead of function begin.
144 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
145 PowerPC.
146 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
147 or 64-bit PowerPC.
148 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
149 gdb,no_hardware_watchpoints flag is set.
150 (initialize): Remove now redundant can-use-hw-watchpoints change.
151
152 2012-08-02 Yao Qi <yao@codesourcery.com>
153 Pedro Alves <palves@redhat.com>
154
155 * boards/local-remote-host.exp: New.
156
157 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
158
159 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
160 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
161 * gdb.base/print-file-var.exp: Likewise.
162 * gdb.server/solib-list.exp: Skip on remote targets.
163
164 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
165
166 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
167 watchpoints on ARM. When expecting software watchpoints, tolerate
168 (remote) targets that report unsupported hardware watchpoint only
169 at continue time.
170 (test_wide_location_2): Likewise.
171
172 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
173
174 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
175 valgrind versions.
176
177 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
178
179 * gdb.base/valgrind-infcall.c: New file.
180 * gdb.base/valgrind-infcall.exp: New file.
181
182 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
183
184 2012-07-30 Keith Seitz <keiths@redhat.com>
185
186 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
187 linespecs.
188
189 2012-07-30 Doug Evans <dje@google.com>
190
191 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
192 * gdb.dwarf2/pr13961.S: Ditto.
193
194 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
195
196 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
197
198 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
199 change its format immediately after reloading the binary.
200
201 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
202
203 Fix testsuite regression after --use-deprecated-index-sections removal.
204 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
205 string.
206 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
207
208 2012-07-27 Yao Qi <yao@codesourcery.com>
209
210 KFAIL for PR remote/14161.
211 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
212 Cleanup socket files.
213 (strace_info_marker): Detach inferior.
214
215 2012-07-26 Tom Tromey <tromey@redhat.com>
216
217 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
218
219 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
220
221 * gdb.python/py-inferior.c (thread): New function.
222 (check_threads): New function.
223 (test_threads): New function.
224 * gdb.python/py-inferior.exp: Added test.
225 Replaced runto with continue to breakpoint.
226
227 2012-07-26 Tom Tromey <tromey@redhat.com>
228
229 * lib/ada.exp (standard_ada_testfile): New proc.
230 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
231 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
232 * gdb.ada/array_return.exp: Use standard_ada_testfile.
233 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
234 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
235 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
236 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
237 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
238 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
239 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
240 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
241 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
242 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
243 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
244 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
245 * gdb.ada/char_param.exp: Use standard_ada_testfile.
246 * gdb.ada/complete.exp: Use standard_ada_testfile.
247 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
248 standard_output_file.
249 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
250 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
251 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
252 standard_output_file.
253 * gdb.ada/exprs.exp: Use standard_ada_testfile.
254 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
255 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
256 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
257 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
258 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
259 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
260 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
261 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
262 * gdb.ada/homonym.exp: Use standard_ada_testfile.
263 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
264 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
265 * gdb.ada/interface.exp: Use standard_ada_testfile.
266 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
267 standard_output_file
268 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
269 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
270 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
271 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
272 * gdb.ada/nested.exp: Use standard_ada_testfile.
273 * gdb.ada/null_array.exp: Use standard_ada_testfile.
274 * gdb.ada/null_record.exp: Use standard_ada_testfile.
275 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
276 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
277 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
278 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
279 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
280 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
281 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
282 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
283 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
284 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
285 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
286 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
287 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
288 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
289 * gdb.ada/start.exp: Use standard_ada_testfile.
290 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
291 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
292 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
293 * gdb.ada/tagged.exp: Use standard_ada_testfile.
294 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
295 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
296 * gdb.ada/tasks.exp: Use standard_ada_testfile.
297 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
298 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
299 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
300 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
301 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
302 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
303 * gdb.ada/widewide.exp: Use standard_ada_testfile.
304
305 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
306
307 Fix testsuite regression after --use-deprecated-index-sections removal.
308 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
309
310 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
311
312 Fix compatibility with Tcl before 7.5.
313 * lib/future.exp (lreverse): New function if it does not exist.
314
315 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
316
317 * gdb.mi/mi-pending.c: New method to set a second pending
318 breakpoint.
319 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
320 condition.
321
322 2012-07-20 Pedro Alves <palves@redhat.com>
323
324 PR threads/11692
325 PR gdb/12203
326
327 * gdb.threads/create-fail.c: New file.
328 * gdb.threads/create-fail.exp: New file.
329
330 2012-07-19 Pedro Alves <palves@redhat.com>
331
332 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
333 * config/vx.exp (gdb_start): Likewise.
334 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
335 * gdb.base/setvar.exp (test_set): Likewise.
336 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
337 * gdb.reverse/sigall-precsave.exp: Likewise.
338 * gdb.reverse/sigall-reverse.exp: Likewise.
339
340 2012-07-19 Pedro Alves <palves@redhat.com>
341
342 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
343 handler before recording.
344
345 2012-07-19 Tom Tromey <tromey@redhat.com>
346
347 * gdb.cp/casts.exp: Add tests for typeof and decltype.
348 * gdb.cp/casts.cc (decltype): New function.
349 (main): Use it.
350
351 2012-07-19 Pedro Alves <palves@redhat.com>
352
353 * gdb.base/sigall.exp (signals): New list.
354 <top level>: Loop over signals in the $signals list instead of
355 calling a test function once per signal.
356 * gdb.reverse/sigall-precsave.exp (signals): New list.
357 <top level>: Loop over signals in the $signals list instead of
358 calling a test function once per signal.
359 * gdb.reverse/sigall-reverse.exp (signals): New list.
360 <top level>: Loop over signals in the $signals list instead of
361 calling a test function once per signal.
362
363 2012-07-19 Yao Qi <yao@codesourcery.com>
364
365 * gdb.base/setshow.exp: Test 'set args ~'.
366
367 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
368
369 * gdb.base/store.exp (check_set): Import gdb_prompt.
370 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
371 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
372
373 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
374
375 PR 11914
376 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
377 (main): Call eval_sub.
378 * gdb.python/py-prettyprint.exp:
379 (python execfile ('py-prettyprint.py')): Move it earlier.
380 New breakpoint for eval-break.
381 (continue to breakpoint: eval-break, info locals): New test.
382 (python execfile ('py-prettyprint.py')): Move it from here.
383 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
384 (register_pretty_printers): Register pp_eval_type.
385
386 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
387
388 Fix a testcase regression by me.
389 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
390 DW_FORM_data4.
391
392 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
393 Doug Evans <dje@google.com>
394
395 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
396 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
397
398 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
399
400 Fix gdbserver run regression.
401 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
402
403 2012-07-12 Tom Tromey <tromey@redhat.com>
404
405 * lib/gdb.exp (standard_testfile): Don't declare objdir.
406 (clean_restart): Likewise.
407 (core_find): Use standard_output_file.
408
409 2012-07-12 Tom Tromey <tromey@redhat.com>
410
411 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
412 * gdb.dwarf2/dw2-anonymous-func.exp: Use
413 prepare_for_testing_full.
414 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
415 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
416 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
417 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
418 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
419 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
420 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
421 prepare_for_testing_full.
422 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
423 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
424 prepare_for_testing_full.
425 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
426 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
427 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
428
429 2012-07-12 Tom Tromey <tromey@redhat.com>
430
431 * lib/gdb.exp (build_executable_from_specs): New proc, from
432 build_executable.
433 (build_executable): Use it.
434 (prepare_for_testing_full): New proc.
435
436 2012-07-11 Tom Tromey <tromey@redhat.com>
437
438 * gdb.reverse/break-precsave.exp: Use standard_output_file.
439 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
440 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
441 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
442 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
443 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
444 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
445 * gdb.reverse/step-precsave.exp: Use standard_output_file.
446 * gdb.reverse/until-precsave.exp: Use standard_output_file.
447 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
448
449 2012-07-10 Tom Tromey <tromey@redhat.com>
450
451 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
452 standard_output_file.
453 * gdb.mi/gdb2549.exp: Use standard_testfile.
454 * gdb.mi/gdb669.exp: Use standard_testfile.
455 * gdb.mi/gdb701.exp: Use standard_testfile.
456 * gdb.mi/gdb792.exp: Use standard_testfile.
457 * gdb.mi/mi-async.exp: Use standard_testfile.
458 * gdb.mi/mi-basics.exp: Use standard_testfile.
459 * gdb.mi/mi-break.exp: Use standard_testfile.
460 * gdb.mi/mi-cli.exp: Use standard_testfile.
461 * gdb.mi/mi-console.exp: Use standard_testfile.
462 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
463 * gdb.mi/mi-eval.exp: Use standard_testfile.
464 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
465 * gdb.mi/mi-file.exp: Use standard_testfile.
466 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
467 * gdb.mi/mi-logging.exp: Use standard_testfile.
468 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
469 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
470 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
471 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
472 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
473 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
474 * gdb.mi/mi-pending.exp: Use standard_testfile,
475 standard_output_file.
476 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
477 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
478 * gdb.mi/mi-regs.exp: Use standard_testfile.
479 * gdb.mi/mi-return.exp: Use standard_testfile.
480 * gdb.mi/mi-reverse.exp: Use standard_testfile.
481 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
482 * gdb.mi/mi-solib.exp: Use standard_testfile,
483 standard_output_file.
484 * gdb.mi/mi-stack.exp: Use standard_testfile.
485 * gdb.mi/mi-stepi.exp: Use standard_testfile.
486 * gdb.mi/mi-stepn.exp: Use standard_testfile.
487 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
488 * gdb.mi/mi-until.exp: Use standard_testfile.
489 * gdb.mi/mi-var-block.exp: Use standard_testfile.
490 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
491 * gdb.mi/mi-var-child.exp: Use standard_testfile.
492 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
493 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
494 * gdb.mi/mi-var-display.exp: Use standard_testfile.
495 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
496 standard_output_file.
497 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
498 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
499 * gdb.mi/mi-watch.exp: Use standard_testfile.
500 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
501 * gdb.mi/mi2-basics.exp: Use standard_testfile.
502 * gdb.mi/mi2-break.exp: Use standard_testfile.
503 * gdb.mi/mi2-cli.exp: Use standard_testfile.
504 * gdb.mi/mi2-console.exp: Use standard_testfile.
505 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
506 * gdb.mi/mi2-eval.exp: Use standard_testfile.
507 * gdb.mi/mi2-file.exp: Use standard_testfile.
508 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
509 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
510 * gdb.mi/mi2-regs.exp: Use standard_testfile.
511 * gdb.mi/mi2-return.exp: Use standard_testfile.
512 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
513 * gdb.mi/mi2-stack.exp: Use standard_testfile.
514 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
515 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
516 * gdb.mi/mi2-until.exp: Use standard_testfile.
517 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
518 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
519 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
520 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
521 * gdb.mi/mi2-watch.exp: Use standard_testfile.
522
523 2012-07-10 Tom Tromey <tromey@redhat.com>
524
525 * gdb.cp/abstract-origin.exp: Use standard_testfile.
526 * gdb.cp/ambiguous.exp: Use standard_testfile,
527 prepare_for_testing.
528 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
529 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
530 * gdb.cp/anon-ns.exp: Use standard_testfile.
531 * gdb.cp/anon-struct.exp: Use standard_testfile.
532 * gdb.cp/anon-union.exp: Use standard_testfile,
533 prepare_for_testing.
534 * gdb.cp/arg-reference.exp: Use standard_testfile,
535 prepare_for_testing.
536 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
537 * gdb.cp/breakpoint.exp: Use standard_testfile,
538 prepare_for_testing.
539 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
540 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
541 standard_output_file.
542 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
543 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
544 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
545 (test_static_members): Update.
546 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
547 * gdb.cp/converts.exp: Use standard_testfile.
548 * gdb.cp/cp-relocate.exp: Use standard_testfile.
549 * gdb.cp/cpcompletion.exp: Use standard_testfile,
550 prepare_for_testing.
551 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
552 * gdb.cp/cplabel.exp: Use standard_testfile.
553 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
554 prepare_for_testing.
555 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
556 * gdb.cp/derivation.exp: Use standard_testfile,
557 prepare_for_testing.
558 * gdb.cp/destrprint.exp: Use standard_testfile.
559 * gdb.cp/dispcxx.exp: Use standard_testfile.
560 * gdb.cp/exception.exp: Use standard_testfile,
561 prepare_for_testing.
562 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
563 * gdb.cp/extern-c.exp: Use standard_testfile,
564 prepare_for_testing.
565 * gdb.cp/formatted-ref.exp: Use standard_testfile,
566 prepare_for_testing.
567 * gdb.cp/fpointer.exp: Use standard_testfile.
568 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
569 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
570 standard_output_file.
571 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
572 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
573 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
574 standard_output_file.
575 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
576 (do_tests): Update.
577 * gdb.cp/koenig.exp: Use standard_testfile.
578 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
579 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
580 * gdb.cp/m-static.exp: Use standard_testfile,
581 prepare_for_testing.
582 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
583 * gdb.cp/mb-inline.exp: Use standard_testfile,
584 prepare_for_testing.
585 * gdb.cp/mb-templates.exp: Use standard_testfile,
586 prepare_for_testing.
587 * gdb.cp/member-ptr.exp: Use standard_testfile,
588 prepare_for_testing.
589 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
590 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
591 * gdb.cp/method2.exp: Use standard_testfile.
592 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
593 standard_output_file.
594 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
595 (do_tests): Update.
596 * gdb.cp/namespace-enum.exp: Use standard_testfile,
597 prepare_for_testing.
598 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
599 prepare_for_testing.
600 * gdb.cp/namespace.exp: Use standard_testfile,
601 prepare_for_testing.
602 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
603 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
604 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
605 * gdb.cp/nsimport.exp: Use standard_testfile,
606 prepare_for_testing.
607 * gdb.cp/nsnested.exp: Use standard_testfile.
608 * gdb.cp/nsnoimports.exp: Use standard_testfile.
609 * gdb.cp/nsrecurs.exp: Use standard_testfile,
610 prepare_for_testing.
611 * gdb.cp/nsstress.exp: Use standard_testfile,
612 prepare_for_testing.
613 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
614 * gdb.cp/operator.exp: Use standard_testfile.
615 * gdb.cp/oranking.exp: Use standard_testfile.
616 * gdb.cp/overload-const.exp: Use standard_testfile.
617 * gdb.cp/overload.exp: Use standard_testfile,
618 prepare_for_testing.
619 * gdb.cp/ovldbreak.exp: Use standard_testfile.
620 * gdb.cp/ovsrch.exp: Use standard_testfile.
621 * gdb.cp/paren-type.exp: Use standard_testfile.
622 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
623 prepare_for_testing.
624 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
625 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
626 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
627 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
628 * gdb.cp/pr10728.exp: Use standard_testfile,
629 standard_output_file.
630 * gdb.cp/pr12028.exp: Use standard_testfile.
631 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
632 * gdb.cp/pr9167.exp: Use standard_testfile.
633 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
634 * gdb.cp/printmethod.exp: Use standard_testfile,
635 prepare_for_testing.
636 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
637 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
638 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
639 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
640 standard_output_file.
641 * gdb.cp/readnow-language.exp: Use standard_testfile.
642 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
643 (gdb_start_again): Use clean_restart.
644 * gdb.cp/ref-types.exp: Use standard_testfile,
645 prepare_for_testing.
646 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
647 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
648 * gdb.cp/smartp.exp: Use standard_testfile.
649 * gdb.cp/static-method.exp: Use standard_testfile.
650 * gdb.cp/static-print-quit.exp: Use standard_testfile.
651 * gdb.cp/temargs.exp: Use standard_testfile.
652 * gdb.cp/templates.exp: Use standard_testfile,
653 prepare_for_testing.
654 (do_tests): Update.
655 * gdb.cp/try_catch.exp: Use standard_testfile,
656 prepare_for_testing.
657 * gdb.cp/typedef-operator.exp: Use standard_testfile.
658 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
659 * gdb.cp/virtbase.exp: Use standard_testfile,
660 prepare_for_testing.
661 * gdb.cp/virtfunc.exp: Use standard_testfile,
662 prepare_for_testing.
663 (do_tests): Update.
664 * gdb.cp/virtfunc2.exp: Use standard_testfile,
665 prepare_for_testing.
666
667 2012-07-10 Tom Tromey <tromey@redhat.com>
668
669 * lib/gdb.exp (standard_testfile): Unset output variables from
670 earlier invocations.
671
672 2012-07-10 Yao Qi <yao@codesourcery.com>
673
674 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
675 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
676 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
677 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
678 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
679 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
680 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
681 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
682 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
683 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
684 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
685 * gdb.mi/mi-var-display.exp: Likewise.
686 * gdb.mi/mi-var-invalidate.exp: Likewise.
687 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
688 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
689 * gdb.mi/mi2-console.exp: Likewise.
690 * gdb.mi/mi2-disassemble.exp: Likewise.
691 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
692 * gdb.mi/mi2-read-memory.exp: Likewise.
693 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
694 * gdb.mi/mi2-simplerun.exp: Likewise.
695 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
696 * gdb.mi/mi2-syn-frame.exp: Likewise.
697 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
698 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
699 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
700
701 2012-07-09 Tom Tromey <tromey@redhat.com>
702
703 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
704 * gdb.base/callfuncs.exp: Add cast-based test.
705 * gdb.base/callfuncs.c (voidfunc): New function.
706
707 2012-07-08 Doug Evans <dje@google.com>
708
709 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
710
711 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
712
713 Fix XFAIL compatibility with old i386 systems.
714 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
715 Check also 'Cannot insert breakpoint 0'.
716
717 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
718
719 PR 14321
720 * gdb.base/find.exp
721 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
722
723 2012-07-06 Tom Tromey <tromey@redhat.com>
724
725 * gdb.base/whatis.exp: Add test.
726
727 2012-07-06 Tom Tromey <tromey@redhat.com>
728
729 * gdb.base/whatis.exp: Add regression test.
730
731 2012-07-06 Tom Tromey <tromey@redhat.com>
732
733 * gdb.base/whatis.exp: Add tests.
734
735 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
736
737 PR 12649
738 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
739 gdb_test_multiple $gdb_prompt terminator.
740
741 2012-07-04 Pedro Alves <palves@redhat.com>
742
743 * gdb.mi/mi-reverse.exp: Use supports_reverse and
744 supports_process_record.
745
746 2012-07-04 Pedro Alves <palves@redhat.com>
747
748 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
749 endings.
750 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
751
752 2012-07-03 Stan Shebs <stan@codesourcery.com>
753
754 * gdb.base/info-os.c (main): Retry resource acquisition until an
755 available one is found.
756 * gdb.base/info-os.exp: Collect resource keys from the program
757 and use them in matching.
758
759 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
760
761 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
762 Wrap the test into loop for corefile and core0file.
763
764 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
765
766 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
767 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
768 .note.GNU-stack.
769
770 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
771
772 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
773
774 * gdb.base/help.exp (help b, help br, help bre, help brea, help
775 break): Include help message for the new `-probe' and `-probe-stap'
776 options.
777
778 2012-07-02 Stan Shebs <stan@codesourcery.com>
779
780 * gdb.base/dprintf.exp: Add agent style tests.
781
782 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
783
784 * gdb.base/stale-infcall.c (infcall): New label test-next.
785 (main): New labels test-pass and test-fail.
786 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
787 $test_fail_bpnum to test-fail.
788 (test system longjmp tracking support): New test.
789 Delete $test_fail_bpnum.
790 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
791 breakpoint.
792
793 2012-06-30 Doug Evans <dje@google.com>
794
795 * gdb.dwarf2/fission-reread.S: New file.
796 * gdb.dwarf2/fission-reread.exp: New file.
797
798 2012-06-28 Stan Shebs <stan@codesourcery.com>
799
800 * gdb.mi/mi-logging.exp: New file.
801
802 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
803 Pedro Alves <palves@redhat.com>
804
805 * gdb.threads/siginfo-threads.exp: New file.
806 * gdb.threads/siginfo-threads.c: New file.
807 * gdb.threads/sigstep-threads.exp: New file.
808 * gdb.threads/sigstep-threads.c: New file.
809
810 2012-06-28 Tom Tromey <tromey@redhat.com>
811
812 * gdb.go/package.exp: Partially revert earlier patch; use
813 gdb_compile again. Use standard_output_file.
814
815 2012-06-27 Doug Evans <dje@google.com>
816
817 * gdb.dwarf2/fission-base.c: New file.
818 * gdb.dwarf2/fission-base.S: New file.
819 * gdb.dwarf2/fission-base.exp: New file.
820
821 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
822
823 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
824
825 2012-06-27 Tom Tromey <tromey@redhat.com>
826
827 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
828 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
829
830 2012-06-27 Tom Tromey <tromey@redhat.com>
831
832 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
833 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
834 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
835 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
836 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
837 prepare_for_testing.
838 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
839 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
840 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
841 standard_testfile.
842 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
843 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
844 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
845 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
846 prepare_for_testing.
847 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
848 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
849 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
850 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
851 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
852 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
853 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
854 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
855 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
856 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
857 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
858 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
859 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
860 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
861 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
862 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
863 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
864 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
865 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
866 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
867 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
868 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
869 standard_output_file.
870 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
871 standard_output_file.
872 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
873 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
874 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
875 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
876 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
877 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
878 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
879 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
880 * gdb.dwarf2/implptr.exp: Use standard_testfile.
881 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
882 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
883 * gdb.dwarf2/pieces.exp: Use standard_testfile.
884 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
885 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
886 * gdb.dwarf2/valop.exp: Use standard_testfile,
887 prepare_for_testing.
888
889 2012-06-27 Tom Tromey <tromey@redhat.com>
890
891 * gdb.python/python.exp: Fix regexps in pagination tests.
892
893 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
894
895 * gdb.python/py-symtab.exp: Add tests to test the new attribute
896 'last' of gdb.Symtab_and_line.
897 * gdb.python/py-symbol.c: Move break point comment to enable
898 testing of gdb.Symtab_and_line.last.
899
900 2012-06-26 Tom Tromey <tromey@redhat.com>
901
902 * gdb.threads/step.c: Remove.
903 * gdb.threads/step.exp: Remove.
904 * gdb.threads/step2.exp: Remove.
905
906 2012-06-26 Tom Tromey <tromey@redhat.com>
907
908 * gdb.threads/watchpoint-fork.exp (test): Use
909 standard_output_file. Don't declare objdir.
910 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
911 standard_output_file.
912 * gdb.threads/attach-stopped.exp: Use standard_testfile.
913 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
914 clean_restart. Remove incdir.
915 * gdb.threads/corethreads.exp: Use standard_testfile.
916 * gdb.threads/execl.exp: Use standard_testfile,
917 standard_output_file, clean_restart.
918 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
919 clean_restart.
920 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
921 clean_restart.
922 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
923 incdir.
924 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
925 clean_restart. Remove incdir.
926 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
927 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
928 clean_restart. Remove incdir.
929 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
930 Remove incdir.
931 * gdb.threads/leader-exit.exp: Use standard_testfile.
932 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
933 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
934 clean_restart.
935 * gdb.threads/manythreads.exp: Use standard_testfile,
936 clean_restart. Remove incdir.
937 * gdb.threads/multi-create.exp: Use standard_testfile,
938 clean_restart.
939 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
940 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
941 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
942 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
943 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
944 * gdb.threads/pending-step.exp: Use standard_testfile,
945 clean_restart. Remove incdir.
946 * gdb.threads/print-threads.exp: Use standard_testfile,
947 clean_restart. Remove incdir.
948 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
949 clean_restart. Remove incdir.
950 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
951 Remove incdir.
952 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
953 incdir.
954 * gdb.threads/sigthread.exp: Use standard_testfile,
955 clean_restart.
956 * gdb.threads/staticthreads.exp: Use standard_testfile,
957 clean_restart. Remove incdir.
958 * gdb.threads/switch-threads.exp: Use standard_testfile,
959 clean_restart. Remove incdir.
960 * gdb.threads/thread-execl.exp: Use standard_testfile,
961 clean_restart. Remove incdir.
962 * gdb.threads/thread-find.exp: Use standard_testfile,
963 clean_restart.
964 * gdb.threads/thread-specific.exp: Use standard_testfile,
965 clean_restart. Remove incdir.
966 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
967 clean_restart. Remove incdir.
968 * gdb.threads/thread_check.exp: Use standard_testfile,
969 clean_restart. Remove incdir.
970 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
971 incdir.
972 * gdb.threads/threadapply.exp: Use standard_testfile,
973 clean_restart. Remove incdir.
974 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
975 clean_restart. Remove incdir.
976 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
977 clean_restart.
978 * gdb.threads/tls-shared.exp: Use standard_testfile,
979 clean_restart, standard_output_file.
980 * gdb.threads/tls-var.exp: Use standard_testfile,
981 standard_output_file.
982 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
983 Remove incdir.
984 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
985 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
986 incdir.
987 * gdb.threads/watchthreads2.exp: Use standard_testfile,
988 clean_restart. Remove incdir.
989
990 2012-06-26 Tom Tromey <tromey@redhat.com>
991
992 * gdb.trace/actions.exp: Use standard_testfile.
993 * gdb.trace/ax.exp: Use standard_testfile.
994 * gdb.trace/backtrace.exp: Use standard_testfile.
995 * gdb.trace/change-loc.exp: Use standard_testfile.
996 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
997 * gdb.trace/collection.exp: Use standard_testfile,
998 prepare_for_testing.
999 * gdb.trace/deltrace.exp: Use standard_testfile.
1000 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
1001 * gdb.trace/ftrace.exp: Use standard_testfile.
1002 * gdb.trace/infotrace.exp: Use standard_testfile.
1003 * gdb.trace/packetlen.exp: Use standard_testfile.
1004 * gdb.trace/passc-dyn.exp: Use standard_testfile.
1005 * gdb.trace/passcount.exp: Use standard_testfile.
1006 * gdb.trace/pending.exp: Use standard_testfile.
1007 * gdb.trace/report.exp: Use standard_testfile.
1008 * gdb.trace/save-trace.exp: Use standard_testfile.
1009 * gdb.trace/stap-trace.exp: Use standard_testfile.
1010 * gdb.trace/status-stop.exp: Use standard_testfile.
1011 * gdb.trace/strace.exp: Use standard_testfile.
1012 * gdb.trace/tfile.exp: Use standard_testfile.
1013 * gdb.trace/tfind.exp: Use standard_testfile.
1014 * gdb.trace/trace-break.exp: Use standard_testfile.
1015 * gdb.trace/trace-mt.exp: Use standard_testfile.
1016 * gdb.trace/tracecmd.exp: Use standard_testfile.
1017 * gdb.trace/tspeed.exp: Use standard_testfile.
1018 * gdb.trace/tstatus.exp: Use standard_testfile.
1019 * gdb.trace/tsv.exp: Use standard_testfile.
1020 * gdb.trace/unavailable.exp: Use standard_testfile,
1021 prepare_for_testing.
1022 * gdb.trace/while-dyn.exp: Use standard_testfile.
1023 * gdb.trace/while-stepping.exp: Use standard_testfile.
1024
1025 2012-06-26 Tom Tromey <tromey@redhat.com>
1026
1027 * gdb.reverse/break-precsave.exp: Use standard_testfile.
1028 * gdb.reverse/break-reverse.exp: Use standard_testfile.
1029 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
1030 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
1031 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
1032 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
1033 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
1034 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
1035 prepare_for_testing.
1036 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
1037 prepare_for_testing.
1038 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
1039 prepare_for_testing.
1040 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
1041 prepare_for_testing.
1042 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
1043 prepare_for_testing
1044 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
1045 * gdb.reverse/machinestate.exp: Use standard_testfile.
1046 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
1047 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
1048 build_executable.
1049 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
1050 build_executable.
1051 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
1052 standard_output_file.
1053 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
1054 standard_output_file.
1055 * gdb.reverse/step-precsave.exp: Use standard_testfile.
1056 * gdb.reverse/step-reverse.exp: Use standard_testfile.
1057 * gdb.reverse/until-precsave.exp: Use standard_testfile.
1058 * gdb.reverse/until-reverse.exp: Use standard_testfile.
1059 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
1060 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
1061
1062 2012-06-26 Tom Tromey <tromey@redhat.com>
1063
1064 * gdb.stabs/weird.exp: Remove directory-checking code. Use
1065 standard_output_file.
1066 * gdb.stabs/exclfwd.exp: Use standard_testfile,
1067 prepare_for_testing. Remove directory-checking code.
1068
1069 2012-06-25 Tom Tromey <tromey@redhat.com>
1070
1071 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
1072 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
1073 build_executable, not prepare_for_testing.
1074 * gdb.multi/base.exp: Use standard_output_file. Use
1075 build_executable, not prepare_for_testing.
1076
1077 2012-06-25 Tom Tromey <tromey@redhat.com>
1078
1079 * gdb.fortran/subarray.exp: Use standard_testfile,
1080 prepare_for_testing.
1081 * gdb.fortran/multi-dim.exp: Use standard_testfile.
1082 * gdb.fortran/module.exp: Use standard_testfile.
1083 * gdb.fortran/logical.exp: Use standard_testfile.
1084 * gdb.fortran/library-module.exp: Use standard_testfile,
1085 standard_output_file.
1086 * gdb.fortran/derived-type.exp: Use standard_testfile,
1087 prepare_for_testing.
1088 * gdb.fortran/complex.exp: Use standard_testfile,
1089 prepare_for_testing.
1090 * gdb.fortran/charset.exp: Use standard_testfile.
1091 * gdb.fortran/array-element.exp: Use standard_testfile,
1092 prepare_for_testing.
1093
1094 2012-06-25 Keith Seitz <keiths@redhat.com>
1095
1096 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
1097 Change rbreak-related tests to KFAIL and add bugzilla numbers.
1098
1099 2012-06-25 Tom Tromey <tromey@redhat.com>
1100
1101 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
1102 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
1103 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
1104 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
1105
1106 2012-06-25 Tom Tromey <tromey@redhat.com>
1107
1108 * gdb.linespec/ls-errs.exp: Use standard_testfile.
1109 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
1110 * gdb.linespec/linespec.exp: Use standard_testfile.
1111
1112 2012-06-25 Tom Tromey <tromey@redhat.com>
1113
1114 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
1115 prepare_for_testing.
1116
1117 2012-06-25 Tom Tromey <tromey@redhat.com>
1118
1119 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
1120 prepare_for_testing.
1121 * gdb.opt/inline-break.exp: Use standard_testfile,
1122 prepare_for_testing.
1123 * gdb.opt/inline-bt.exp: Use standard_testfile,
1124 prepare_for_testing.
1125 * gdb.opt/inline-cmds.exp: Use standard_testfile,
1126 prepare_for_testing.
1127 * gdb.opt/inline-locals.exp: Use standard_testfile,
1128 prepare_for_testing.
1129
1130 2012-06-25 Tom Tromey <tromey@redhat.com>
1131
1132 * gdb.asm/asm-source.exp: Use standard_output_file,
1133 standard_testfile. Construct .o files in proper subdir.
1134
1135 2012-06-25 Tom Tromey <tromey@redhat.com>
1136
1137 * gdb.server/ext-attach.exp: Use standard_testfile,
1138 prepare_for_testing.
1139 * gdb.server/ext-run.exp: Use standard_testfile,
1140 build_executable.
1141 * gdb.server/file-transfer.exp: Use standard_testfile,
1142 prepare_for_testing.
1143 * gdb.server/server-exec-info.exp: Use standard_testfile.
1144 * gdb.server/server-mon.exp: Use standard_testfile,
1145 prepare_for_testing.
1146 * gdb.server/server-run.exp: Use standard_testfile,
1147 build_executable.
1148 * gdb.server/solib-list.exp: Use standard_testfile,
1149 standard_output_file.
1150
1151 2012-06-25 Tom Tromey <tromey@redhat.com>
1152
1153 * lib/gdb.exp (standard_output_file): Use "file join".
1154 * gdb.go/chan.exp: Use standard_testfile.
1155 * gdb.go/handcall.exp: Use standard_testfile.
1156 * gdb.go/hello.exp: Use standard_testfile.
1157 * gdb.integers/chan.exp: Use standard_testfile.
1158 * gdb.go/methods.exp: Use standard_testfile.
1159 * gdb.go/package.exp: Use standard_testfile.
1160 * gdb.go/strings.exp: Use standard_testfile.
1161 * gdb.go/types.exp: Use standard_testfile.
1162 * gdb.go/unsafe.exp: Use standard_testfile.
1163
1164 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
1165
1166 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
1167
1168 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1169
1170 Fix regression by the previous commit.
1171 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
1172
1173 2012-06-22 Tom Tromey <tromey@redhat.com>
1174
1175 * gdb.python/lib-types.exp: Use standard_testfile,
1176 prepare_for_testing.
1177 * gdb.python/py-block.exp: Use standard_testfile.
1178 * gdb.python/py-breakpoint.exp: Use standard_testfile.
1179 * gdb.python/py-events.exp: Use standard_testfile,
1180 standard_output_file.
1181 * gdb.python/py-evsignal.exp: Use standard_testfile.
1182 * gdb.python/py-evethreads.exp: Use standard_testfile.
1183 * gdb.python/py-explore-cc.exp: Use standard_testfile.
1184 * gdb.python/py-explore.exp: Use standard_testfile.
1185 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
1186 standard_output_file.
1187 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
1188 prepare_for_testing.
1189 * gdb.python/py-frame-inline.exp: Use standard_testfile.
1190 * gdb.python/py-frame.exp: Use standard_testfile.
1191 * gdb.python/py-inferior.exp: Use standard_testfile.
1192 * gdb.python/py-infthread.exp: Use standard_testfile.
1193 * gdb.python/py-mi.exp: Use standard_testfile.
1194 * gdb.python/py-objfile-script.exp: Use standard_testfile,
1195 build_executable.
1196 * gdb.python/py-objfile.exp: Use standard_testfile.
1197 * gdb.python/py-pp-maint.exp: Use standard_testfile,
1198 prepare_for_testing.
1199 * gdb.python/py-prettyprint.exp: Use standard_testfile.
1200 * gdb.python/py-progspace.exp: Use standard_testfile,
1201 build_executable.
1202 * gdb.python/py-prompt.exp: Use standard_testfile,
1203 build_executable.
1204 * gdb.python/py-section-script.exp: Use standard_testfile,
1205 build_executable.
1206 * gdb.python/py-shared.exp: Use standard_testfile,
1207 standard_output_file, clean_restart.
1208 * gdb.python/py-symbol.exp: Use standard_output_file,
1209 prepare_for_testing.
1210 * gdb.python/py-symtab.exp: Use standard_output_file,
1211 prepare_for_testing
1212 * gdb.python/py-template.exp: Use standard_testfile.
1213 * gdb.python/py-type.exp: Use standard_testfile.
1214 * gdb.python/py-value-cc.exp: Use standard_testfile.
1215 * gdb.python/py-value.exp: Use standard_testfile.
1216 * gdb.python/python.exp: Use standard_testfile, build_executable.
1217
1218 2012-06-22 Tom Tromey <tromey@redhat.com>
1219
1220 * gdb.objc/basicclass.exp: Use standard_testfile.
1221 (do_objc_tests): Don't declare objdir.
1222 * gdb.objc/nondebug.exp: Use standard_testfile.
1223 (do_objc_tests): Don't declare objdir.
1224 * gdb.objc/objcdecode.exp: Use standard_testfile.
1225 (do_objc_tests): Don't declare objdir.
1226
1227 2012-06-22 Tom Tromey <tromey@redhat.com>
1228
1229 * gdb.java/jmain.exp: Use standard_testfile.
1230 * gdb.java/jmisc.exp: Use standard_testfile.
1231 * gdb.java/jnpe.exp: Use standard_testfile.
1232 * gdb.java/jprint.exp: Use standard_testfile.
1233
1234 2012-06-22 Tom Tromey <tromey@redhat.com>
1235
1236 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
1237 (standard_output_file, standard_testfile): New procs.
1238 (build_executable, clean_restart): Use standard_output_file.
1239
1240 2012-06-22 Yao Qi <yao@codesourcery.com>
1241
1242 * boards/native-gdbserver.exp: New proc ${board}_exec.
1243 * boards/native-stdio-gdbserver.exp: Likewise.
1244
1245 2012-06-21 Tom Tromey <tromey@redhat.com>
1246
1247 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
1248 (build_executable): Update.
1249 (get_compiler_info): Remove 'binfile' argument.
1250 * gdb.ada/arrayidx.exp: Update.
1251 * gdb.ada/null_array.exp: Update.
1252 * gdb.arch/altivec-abi.exp: Update.
1253 * gdb.arch/altivec-regs.exp: Update.
1254 * gdb.arch/amd64-byte.exp: Update.
1255 * gdb.arch/amd64-dword.exp: Update.
1256 * gdb.arch/amd64-word.exp: Update.
1257 * gdb.arch/i386-avx.exp: Update.
1258 * gdb.arch/i386-byte.exp: Update.
1259 * gdb.arch/i386-sse.exp: Update.
1260 * gdb.arch/i386-word.exp: Update.
1261 * gdb.arch/ppc-dfp.exp: Update.
1262 * gdb.arch/ppc-fp.exp: Update.
1263 * gdb.arch/vsx-regs.exp: Update.
1264 * gdb.base/all-bin.exp: Update.
1265 * gdb.base/annota1.exp: Update.
1266 * gdb.base/async.exp: Update.
1267 * gdb.base/attach.exp: Update.
1268 * gdb.base/break-interp.exp: Update.
1269 * gdb.base/call-ar-st.exp: Update.
1270 * gdb.base/call-rt-st.exp: Update.
1271 * gdb.base/call-sc.exp: Update.
1272 * gdb.base/callfuncs.exp: Update.
1273 * gdb.base/catch-load.exp: Update.
1274 * gdb.base/completion.exp: Update.
1275 * gdb.base/complex.exp: Update.
1276 * gdb.base/condbreak.exp: Update.
1277 * gdb.base/consecutive.exp: Update.
1278 * gdb.base/constvars.exp: Update.
1279 * gdb.base/corefile.exp: Update.
1280 * gdb.base/eval-skip.exp: Update.
1281 * gdb.base/expand-psymtabs.exp: Update.
1282 * gdb.base/exprs.exp: Update.
1283 * gdb.base/fileio.exp: Update.
1284 * gdb.base/fixsection.exp: Update.
1285 * gdb.base/funcargs.exp: Update.
1286 * gdb.base/gdb11530.exp: Update.
1287 * gdb.base/gdb1555.exp: Update.
1288 * gdb.base/gnu-ifunc.exp: Update.
1289 * gdb.base/gnu_vector.exp: Update.
1290 * gdb.base/info-macros.exp: Update.
1291 * gdb.base/jit-simple.exp: Update.
1292 * gdb.base/jit-so.exp: Update.
1293 * gdb.base/jit.exp: Update.
1294 * gdb.base/langs.exp: Update.
1295 * gdb.base/list.exp: Update.
1296 * gdb.base/logical.exp: Update.
1297 * gdb.base/long_long.exp: Update.
1298 * gdb.base/longjmp.exp: Update.
1299 * gdb.base/macscp.exp: Update.
1300 * gdb.base/mips_pro.exp: Update.
1301 * gdb.base/miscexprs.exp: Update.
1302 * gdb.base/morestack.exp: Update.
1303 * gdb.base/nodebug.exp: Update.
1304 * gdb.base/opaque.exp: Update.
1305 * gdb.base/pc-fp.exp: Update.
1306 * gdb.base/pending.exp: Update.
1307 * gdb.base/permissions.exp: Update.
1308 * gdb.base/pointers.exp: Update.
1309 * gdb.base/prelink.exp: Update.
1310 * gdb.base/printcmds.exp: Update.
1311 * gdb.base/psymtab.exp: Update.
1312 * gdb.base/ptype.exp: Update.
1313 * gdb.base/relational.exp: Update.
1314 * gdb.base/scope.exp: Update.
1315 * gdb.base/setvar.exp: Update.
1316 * gdb.base/shlib-call.exp: Update.
1317 * gdb.base/shreloc.exp: Update.
1318 * gdb.base/signals.exp: Update.
1319 * gdb.base/sizeof.exp: Update.
1320 * gdb.base/so-impl-ld.exp: Update.
1321 * gdb.base/so-indr-cl.exp: Update.
1322 * gdb.base/solib-disc.exp: Update.
1323 * gdb.base/solib-display.exp: Update.
1324 * gdb.base/solib-nodir.exp: Update.
1325 * gdb.base/solib-overlap.exp: Update.
1326 * gdb.base/solib-symbol.exp: Update.
1327 * gdb.base/solib-weak.exp: Update.
1328 * gdb.base/solib.exp: Update.
1329 * gdb.base/store.exp: Update.
1330 * gdb.base/structs.exp: Update.
1331 * gdb.base/structs2.exp: Update.
1332 * gdb.base/type-opaque.exp: Update.
1333 * gdb.base/unload.exp: Update.
1334 * gdb.base/varargs.exp: Update.
1335 * gdb.base/volatile.exp: Update.
1336 * gdb.base/watch_thread_num.exp: Update.
1337 * gdb.base/watchpoint-solib.exp: Update.
1338 * gdb.base/watchpoint.exp: Update.
1339 * gdb.base/watchpoints.exp: Update.
1340 * gdb.base/whatis.exp: Update.
1341 * gdb.cell/arch.exp: Update.
1342 * gdb.cell/break.exp: Update.
1343 * gdb.cell/bt.exp: Update.
1344 * gdb.cell/core.exp: Update.
1345 * gdb.cell/data.exp: Update.
1346 * gdb.cell/ea-cache.exp: Update.
1347 * gdb.cell/f-regs.exp: Update.
1348 * gdb.cell/fork.exp: Update.
1349 * gdb.cell/gcore.exp: Update.
1350 * gdb.cell/mem-access.exp: Update.
1351 * gdb.cell/ptype.exp: Update.
1352 * gdb.cell/registers.exp: Update.
1353 * gdb.cell/sizeof.exp: Update.
1354 * gdb.cell/solib-symbol.exp: Update.
1355 * gdb.cell/solib.exp: Update.
1356 * gdb.cp/ambiguous.exp: Update.
1357 * gdb.cp/breakpoint.exp: Update.
1358 * gdb.cp/bs15503.exp: Update.
1359 * gdb.cp/casts.exp: Update.
1360 * gdb.cp/class2.exp: Update.
1361 * gdb.cp/cpexprs.exp: Update.
1362 * gdb.cp/cplusfuncs.exp: Update.
1363 * gdb.cp/ctti.exp: Update.
1364 * gdb.cp/dispcxx.exp: Update.
1365 * gdb.cp/gdb1355.exp: Update.
1366 * gdb.cp/gdb2384.exp: Update.
1367 * gdb.cp/gdb2495.exp: Update.
1368 * gdb.cp/infcall-dlopen.exp: Update.
1369 * gdb.cp/local.exp: Update.
1370 * gdb.cp/m-data.exp: Update.
1371 * gdb.cp/m-static.exp: Update.
1372 * gdb.cp/mb-ctor.exp: Update.
1373 * gdb.cp/mb-inline.exp: Update.
1374 * gdb.cp/mb-templates.exp: Update.
1375 * gdb.cp/member-ptr.exp: Update.
1376 * gdb.cp/method.exp: Update.
1377 * gdb.cp/namespace.exp: Update.
1378 * gdb.cp/nextoverthrow.exp: Update.
1379 * gdb.cp/nsdecl.exp: Update.
1380 * gdb.cp/nsrecurs.exp: Update.
1381 * gdb.cp/nsstress.exp: Update.
1382 * gdb.cp/nsusing.exp: Update.
1383 * gdb.cp/pr-1023.exp: Update.
1384 * gdb.cp/pr-1210.exp: Update.
1385 * gdb.cp/pr-574.exp: Update.
1386 * gdb.cp/pr9631.exp: Update.
1387 * gdb.cp/printmethod.exp: Update.
1388 * gdb.cp/psmang.exp: Update.
1389 * gdb.cp/re-set-overloaded.exp: Update.
1390 * gdb.cp/rtti.exp: Update.
1391 * gdb.cp/shadow.exp: Update.
1392 * gdb.cp/templates.exp: Update.
1393 * gdb.cp/try_catch.exp: Update.
1394 * gdb.dwarf2/dw2-ranges.exp: Update.
1395 * gdb.dwarf2/pr10770.exp: Update.
1396 * gdb.fortran/library-module.exp: Update.
1397 * gdb.hp/gdb.aCC/optimize.exp: Update.
1398 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
1399 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
1400 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
1401 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
1402 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
1403 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
1404 * gdb.hp/gdb.compat/xdb1.exp: Update.
1405 * gdb.hp/gdb.compat/xdb2.exp: Update.
1406 * gdb.hp/gdb.compat/xdb3.exp: Update.
1407 * gdb.hp/gdb.defects/bs14602.exp: Update.
1408 * gdb.hp/gdb.defects/solib-d.exp: Update.
1409 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
1410 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
1411 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
1412 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
1413 * gdb.mi/gdb792.exp: Update.
1414 * gdb.mi/mi-pending.exp: Update.
1415 * gdb.mi/mi-solib.exp: Update.
1416 * gdb.mi/mi-var-cp.exp: Update.
1417 * gdb.opt/clobbered-registers-O2.exp: Update.
1418 * gdb.opt/inline-bt.exp: Update.
1419 * gdb.opt/inline-cmds.exp: Update.
1420 * gdb.opt/inline-locals.exp: Update.
1421 * gdb.python/py-events.exp: Update.
1422 * gdb.python/py-finish-breakpoint.exp: Update.
1423 * gdb.python/py-type.exp: Update.
1424 * gdb.reverse/solib-precsave.exp: Update.
1425 * gdb.reverse/solib-reverse.exp: Update.
1426 * gdb.server/solib-list.exp: Update.
1427 * gdb.stabs/weird.exp: Update.
1428 * gdb.threads/attach-into-signal.exp: Update.
1429 * gdb.threads/attach-stopped.exp: Update.
1430 * gdb.threads/tls-shared.exp: Update.
1431 * gdb.trace/change-loc.exp: Update.
1432 * gdb.trace/strace.exp: Update.
1433
1434 2012-06-19 Tom Tromey <tromey@redhat.com>
1435
1436 * gdb.base/whatis.exp: Add tests.
1437
1438 2012-06-19 Tom Tromey <tromey@redhat.com>
1439
1440 * gdb.cp/m-static.cc (keepalive): New function.
1441 (gnu_obj_1::method): Use it.
1442
1443 2012-06-18 Doug Evans <dje@google.com>
1444
1445 * gdb.base/info-fun.exp: New file.
1446 * gdb.base/info-fun.c: New file.
1447 * gdb.base/info-fun-solib.c: New file.
1448
1449 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1450
1451 Remove stale dummy frames.
1452 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
1453 (maintenance info breakpoints): New tests.
1454 * gdb.base/stale-infcall.c: New file.
1455 * gdb.base/stale-infcall.exp: New file.
1456
1457 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1458
1459 * gdb.arch/amd64-entry-value-param.S: New file.
1460 * gdb.arch/amd64-entry-value-param.c: New file.
1461 * gdb.arch/amd64-entry-value-param.exp: New file.
1462
1463 2012-06-15 Tom Tromey <tromey@redhat.com>
1464
1465 * gdb.cp/namespace.exp: Add "show lang" test.
1466
1467 2012-06-15 Iain Sandoe <iain@codesourcery.com>
1468
1469 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
1470 case. (top level): Use gdb_file_cmd instead of gdb_load.
1471
1472 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1473
1474 PR tdep/14222
1475 * gdb.arch/i386-sse-stack-align.S: New file.
1476 * gdb.arch/i386-sse-stack-align.c: New file.
1477 * gdb.arch/i386-sse-stack-align.exp: New file.
1478
1479 2012-06-13 Keith Seitz <keiths@redhat.com>
1480
1481 PR breakpoints/13798 and mi/11541
1482 * gdb.linespec/ls-errs.exp: Add a few more tests for
1483 filenames with spaces and colons.
1484
1485 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1486
1487 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
1488 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
1489 (test_function): Call CV_f.
1490 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
1491 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
1492 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
1493 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
1494 (p CV_f(CV::i)): New tests.
1495
1496 2012-06-13 Tom Tromey <tromey@redhat.com>
1497
1498 * gdb.base/condbreak.exp: Add tests for "condition" completion.
1499
1500 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1501
1502 Fix regression by the "ambiguous linespec" series.
1503 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
1504 tests.
1505
1506 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1507
1508 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
1509 missing.
1510
1511 2012-06-11 Tom Tromey <tromey@redhat.com>
1512
1513 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
1514 location...
1515 (main): ...here.
1516
1517 2012-06-07 Yao Qi <yao@codesourcery.com>
1518
1519 * gdb.trace/strace.exp: Shorten some too-long lines.
1520
1521 2012-06-06 Pedro Alves <palves@redhat.com>
1522
1523 * gdb.threads/clone-new-thread-event.c: New file.
1524 * gdb.threads/clone-new-thread-event.exp: New file.
1525
1526 2012-06-06 Yao Qi <yao@codesourcery.com>
1527
1528 * gdb.base/dprintf.c (main): Add extra parameter when calling
1529 printf and fprintf.
1530 (bar): New function. It is a dead function, but to ensure
1531 'malloc' is linked explicitly.
1532
1533 2012-06-06 Yao Qi <yao@codesourcery.com>
1534
1535 * gdb.base/info-proc.exp: Return if target doesn't support
1536 'info proc'.
1537
1538 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1539
1540 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
1541 (run program with breakpoint commands): XFAIl if it is not.
1542
1543 2012-06-05 Joel Brobecker <brobecker@adacore.com>
1544
1545 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
1546 and add comment.
1547 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
1548 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
1549 "STOP" marker. Adjust testing strategy to make it work on
1550 all targets.
1551
1552 * gdb.base/print-file-var-main.c (main): Rewrite using local
1553 variables and adjust get_version_2's return value check.
1554 Add small comment.
1555 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
1556 marker. Adjust testing strategy to make it work on all targets.
1557
1558 2012-06-05 Joel Brobecker <brobecker@adacore.com>
1559
1560 * gdb.ada/bad-task-bp-keyword: New testcase.
1561
1562 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1563
1564 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
1565 Simplify it to ...
1566 (symbol-file ${testfile1}): ... here.
1567 (test eliminated var my_global_symbol)
1568 (test eliminated var my_static_symbol)
1569 (test eliminated var my_global_func, get address of main): Wrap them to
1570 'single psymtabs' and 'single symtabs'
1571 (get address of my_global_symbol, get address of my_static_symbol)
1572 (get address of my_global_func, get address of main): Wrap them to
1573 'order1' and 'order2'.
1574
1575 * gdb.base/code_elim.exp
1576 (add-symbol-file ${testfile1} 0x100000)
1577 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
1578 'order2'.
1579 (order1: add-symbol-file ${testfile1} 0x100000)
1580 (order1: add-symbol-file ${testfile2} 0x200000)
1581 (order2: add-symbol-file ${testfile2} 0x200000)
1582 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
1583 .bss as appropriate.
1584
1585 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1586
1587 * gdb.server/solib-list-lib.c: New file.
1588 * gdb.server/solib-list-main.c: New file.
1589 * gdb.server/solib-list.exp: New file.
1590
1591 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
1592
1593 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
1594 for 'set print symbol' change.
1595
1596 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1597
1598 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
1599 .debug_abbrev_seg3.
1600
1601 2012-05-24 John Steele Scott <toojays@toojays.net>
1602
1603 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
1604 * gdb.dwarf2/dw2-icc-opaque.S: New file.
1605 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
1606
1607 2012-05-23 Stan Shebs <stan@codesourcery.com>
1608
1609 * gdb.mi/mi-info-os.exp: New file.
1610
1611 2012-05-23 Keith Seitz <keiths@redhat.com>
1612
1613 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
1614 return -1 to suppress the rest of the tests.
1615 (compile_stap_bin): Return boolean success value.
1616
1617 2012-05-21 Tom Tromey <tromey@redhat.com>
1618
1619 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
1620 Remove kfails.
1621 (test_print_mi_member_types): Likewise.
1622
1623 2012-05-21 Tom Tromey <tromey@redhat.com>
1624
1625 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
1626 print symbol' change.
1627
1628 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
1629
1630 * gdb.python/py-prompt.exp: Quit if the target is remote.
1631
1632 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1633
1634 Fix ERROR: internal buffer is full.
1635 * gdb.base/info-os.exp (expect_multiline): New function.
1636 (get process list, get process groups, get threads)
1637 (get file descriptors, get internet-domain sockets)
1638 (get shared-memory regions, get semaphores, get message queues): Use
1639 it for these tests.
1640
1641 2012-05-18 Tom Tromey <tromey@redhat.com>
1642
1643 * gdb.mi/mi-var-cmd.exp: Update.
1644 * gdb.objc/basicclass.exp (do_objc_tests): Update.
1645 * gdb.cp/virtbase.exp: Update.
1646 * gdb.cp/classes.exp (test_static_members): Update.
1647 * gdb.cp/casts.exp: Update.
1648 * gdb.base/pointers.exp: Update.
1649 * gdb.base/funcargs.exp (pointer_args): Update.
1650 (structs_by_reference): Update.
1651 * gdb.base/find.exp: Update.
1652 * gdb.base/call-strs.exp: Send "set print symbol off".
1653 * gdb.base/call-ar-st.exp: Update.
1654 * gdb.ada/fun_addr.exp: Update.
1655 * gdb.base/printcmds.exp (test_print_symbol): New proc.
1656 Call it.
1657 (test_print_repeats_10, test_print_strings)
1658 (test_print_char_arrays): Update.
1659
1660 2012-05-18 Tom Tromey <tromey@redhat.com>
1661
1662 * gdb.base/charset.exp (string_display): Update.
1663
1664 2012-05-18 Tom Tromey <tromey@redhat.com>
1665
1666 * gdb.mi/mi2-var-display.exp: Update.
1667 * gdb.mi/mi-var-display.exp: Update.
1668 * gdb.mi/mi-var-child.exp: Update.
1669 * gdb.cp/expand-psymtabs-cxx.exp: Update.
1670 * gdb.cp/cp-relocate.exp (get_func_address): Update.
1671
1672 2012-05-17 Doug Evans <dje@google.com>
1673
1674 * info-macros.exp: Pass "debug" to prepare_for_testing.
1675
1676 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
1677 * gdb.ada/Makefile.in (clean): Ditto.
1678 * gdb.arch/Makefile.in (clean): Ditto.
1679 * gdb.asm/Makefile.in (clean): Ditto.
1680 * gdb.base/Makefile.in (clean): Ditto.
1681 * gdb.cell/Makefile.in (clean): Ditto.
1682 * gdb.cp/Makefile.in (clean): Ditto.
1683 * gdb.disasm/Makefile.in (clean): Ditto.
1684 * gdb.dwarf2/Makefile.in (clean): Ditto.
1685 * gdb.fortran/Makefile.in (clean): Ditto.
1686 * gdb.go/Makefile.in (clean): Ditto.
1687 * gdb.hp/Makefile.in (clean): Ditto.
1688 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
1689 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
1690 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
1691 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
1692 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
1693 * gdb.java/Makefile.in (clean): Ditto.
1694 * gdb.linespec/Makefile.in (clean): Ditto.
1695 * gdb.mi/Makefile.in (clean): Ditto.
1696 * gdb.modula2/Makefile.in (clean): Ditto.
1697 * gdb.multi/Makefile.in (clean): Ditto.
1698 * gdb.objc/Makefile.in (clean): Ditto.
1699 * gdb.opencl/Makefile.in (clean): Ditto.
1700 * gdb.opt/Makefile.in (clean): Ditto.
1701 * gdb.pascal/Makefile.in (clean): Ditto.
1702 * gdb.python/Makefile.in (clean): Ditto.
1703 * gdb.reverse/Makefile.in (clean): Ditto.
1704 * gdb.server/Makefile.in (clean): Ditto.
1705 * gdb.stabs/Makefile.in (clean): Ditto.
1706 * gdb.threads/Makefile.in (clean): Ditto.
1707 * gdb.trace/Makefile.in (clean): Ditto.
1708 * gdb.xml/Makefile.in (clean): Ditto.
1709
1710 2012-05-16 Tom Tromey <tromey@redhat.com>
1711
1712 * gdb.base/macscp1.c (macscp_expr): Add comment.
1713 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
1714
1715 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1716
1717 * gdb.base/return-nodebug.exp: Also test float and double types.
1718
1719 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1720
1721 PR testsuite/12649
1722 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
1723
1724 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
1725
1726 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
1727
1728 * gdb.base/stap-probe.exp (stap_test): Remove calls to
1729 `rerun_to_main'.
1730 (stap_test_no_debuginfo): Likewise.
1731
1732 2012-05-14 Stan Shebs <stan@codesourcery.com>
1733
1734 * gdb.base/dprintf.c: New file.
1735 * gdb.base/dprintf.exp: New file.
1736
1737 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
1738
1739 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
1740 * gdb.trace/disconnected-tracing.c: New file.
1741 * gdb.trace/disconnected-tracing.exp: New file.
1742
1743 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
1744
1745 * gdb.python/python.c: Add a new breakpoint comment.
1746 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
1747
1748 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
1749
1750 * gdb.base/info-os.exp: New file.
1751 * gdb.base/info-os.c: New file.
1752
1753 2012-05-10 Joel Brobecker <brobecker@adacore.com>
1754
1755 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
1756 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
1757 New files.
1758
1759 2012-05-10 Joel Brobecker <brobecker@adacore.com>
1760
1761 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
1762 gdb.base/ctxobj.exp: New files.
1763
1764 2012-05-09 Tom Tromey <tromey@redhat.com>
1765
1766 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
1767
1768 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
1769
1770 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
1771
1772 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
1773
1774 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
1775 before using it.
1776
1777 2012-05-04 Tristan Gingold <gingold@adacore.com>
1778
1779 * gdb.base/set-noassign.exp: New test.
1780
1781 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
1782
1783 * gdb.python/py-symbol.exp: Add tests to test the new methods
1784 gdb.Symtab.global_block() and gdb.Symtab.static_block().
1785 * gdb.python/py-symbol.c: Add new struct to help test
1786 gdb.Symtab.static_block().
1787
1788 2012-05-03 Doug Evans <dje@google.com>
1789
1790 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
1791 commented out.
1792
1793 2012-05-03 Yao Qi <yao@codesourcery.com>
1794
1795 * gdb.base/catch-syscall.exp: Skip it before compilation if target
1796 doesn't support.
1797 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
1798 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
1799
1800 2012-05-03 Yao Qi <yao@codesourcery.com>
1801
1802 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
1803
1804 2012-04-30 Doug Evans <dje@google.com>
1805
1806 PR testsuite/13961
1807 * gdb.dwarf2/pr13961.S: New file.
1808 * gdb.dwarf2/pr13961.exp: New file.
1809
1810 2012-04-29 Yao Qi <yao@codesourcery.com>
1811
1812 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
1813
1814 2012-04-28 Doug Evans <dje@google.com>
1815
1816 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
1817 .Ltype_int_in_cu2. Use name "int2" instead of "int".
1818 All uses updated.
1819 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
1820 "ptype func_cu1" to expand cu2 before cu1.
1821
1822 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
1823 Tom Tromey <tromey@redhat.com>
1824
1825 * gdb.base/default.exp: Add `$_probe_arg*' convenience
1826 variables.
1827 * gdb.base/stap-probe.c: New file.
1828 * gdb.base/stap-probe.exp: New file.
1829 * gdb.trace/stap-trace.c: New file.
1830 * gdb.trace/stap-trace.exp: New file.
1831 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
1832 libgcc's unwinder.
1833
1834 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
1835
1836 * gdb.arch/mips16-thunks-inmain.c: New file.
1837 * gdb.arch/mips16-thunks-main.c: New file.
1838 * gdb.arch/mips16-thunks-sin.c: New file.
1839 * gdb.arch/mips16-thunks-sinfrob.c: New file.
1840 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
1841 * gdb.arch/mips16-thunks-sinmain.c: New file.
1842 * gdb.arch/mips16-thunks-sinmips16.c: New file.
1843 * gdb.arch/mips16-thunks.exp: New file.
1844
1845 2012-04-25 Doug Evans <dje@google.com>
1846
1847 * configure.ac: Create gdb.go/Makefile.
1848 * configure: Regenerate.
1849 * gdb.base/default.exp: Add "go" to "set language" testing.
1850 * gdb.go/Makefile.in: New file.
1851 * gdb.go/basic-types.exp: New file.
1852 * gdb.go/chan.exp: New file.
1853 * gdb.go/chan.go: New file.
1854 * gdb.go/handcall.exp: New file.
1855 * gdb.go/handcall.go: New file.
1856 * gdb.go/hello.exp: New file.
1857 * gdb.go/hello.go: New file.
1858 * gdb.go/integers.exp: New file.
1859 * gdb.go/integers.go: New file.
1860 * gdb.go/methods.exp: New file.
1861 * gdb.go/methods.go: New file.
1862 * gdb.go/package.exp: New file.
1863 * gdb.go/package1.go: New file.
1864 * gdb.go/package2.go: New file.
1865 * gdb.go/print.exp: New file.
1866 * gdb.go/strings.exp: New file.
1867 * gdb.go/strings.go: New file.
1868 * gdb.go/types.exp: New file.
1869 * gdb.go/types.go: New file.
1870 * gdb.go/unsafe.exp: New file.
1871 * gdb.go/unsafe.go: New file.
1872 * lib/future.exp: Add Go support.
1873 (gdb_find_go, gdb_find_go_linker): New procs.
1874 (gdb_default_target_compile): Add Go support.
1875 * lib/gdb.exp (skip_go_tests): New proc.
1876 * lib/go.exp: New file.
1877
1878 2012-04-25 Tom Tromey <tromey@redhat.com>
1879
1880 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
1881
1882 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1883 Jan Kratochvil <jan.kratochvil@redhat.com>
1884
1885 PR symtab/7259:
1886 * gdb.base/enumval.c: New test case.
1887 * gdb.base/enumval.exp: New test case.
1888 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
1889 field.bitpos.
1890
1891 2012-04-17 Pedro Alves <palves@redhat.com>
1892
1893 * Makefile.in (site.exp): Make site.exp source
1894 $srcdir/lib/append_gdb_boards_dir.exp.
1895 * lib/append_gdb_boards_dir.exp: New file.
1896
1897 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1898
1899 New option "set auto-load safe-path".
1900 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
1901 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
1902
1903 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1904
1905 auto-load: Implementation.
1906 * gdb.base/help.exp (test set height): Increase the height.
1907 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
1908 to ...
1909 (info auto-load python-scripts): ... here.
1910 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
1911 to ...
1912 (info auto-load python-scripts *): ... here.
1913
1914 2012-04-16 Yao Qi <yao@codesourcery.com>
1915
1916 * lib/trace-support.exp (get_in_proc_agent): New.
1917 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
1918 of in process trace agent.
1919 * gdb.trace/ftrace.exp: Likewise.
1920 * gdb.trace/pending.exp: Likewise.
1921 * gdb.trace/trace-break.exp: Likewise.
1922 * gdb.trace/trace-mt.exp
1923 * gdb.trace/tspeed.exp: Likewise.
1924 * gdb.trace/tstatus.exp
1925 * gdb.trace/strace.exp: Likewise.
1926
1927 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
1928
1929 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
1930 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
1931
1932 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
1933
1934 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
1935
1936 PR mi/13393
1937 * gdb.mi/mi-var-rtti.cc: New file.
1938 * gdb.mi/mi-var-rtti.exp: New file.
1939 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
1940 function.
1941 (mi_varobj_update_with_type_change): updated to avoid code duplication.
1942
1943 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
1944
1945 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
1946 EXECUTABLES.
1947 * gdb.python/py-explore.c: C program used for testing the new
1948 'explore' command on C constructs.
1949 * gdb.python/py-explore.cc: C++ program used for testing the new
1950 'explore' command on C++ constructs.
1951 * gdb-python/py-explore.exp: Tests for the new 'explore'
1952 command on C constructs.
1953 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
1954 command on C++ constructs.
1955
1956 2012-04-07 Mark Kettenis <kettenis@gnu.org>
1957
1958 * gdb.base/funcargs.exp (complex_args): Fix typo.
1959
1960 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1961
1962 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
1963 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
1964
1965 2012-04-05 Keith Seitz <keiths@redhat.com>
1966
1967 * gdb.base/advance.exp: Update error message for
1968 "advance malformed" test.
1969 * gdb.base/break.exp: Likewise for "breakpoint with
1970 trailing garbage" test.
1971 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
1972 with trailing garbage" test.
1973 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
1974 trailng garbage" test.
1975 * gdb.base/until.exp: Likewise for "malformed until" test.
1976 * gdb.cp/ovldbreak.exp: Create the breakpoint table
1977 for "breakpoint info (after setting on all)".
1978 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
1979 tests.
1980 * gdb.cp/cplabel.cc: New file.
1981 * gdb.cp/cplabel.exp: New test.
1982 * gdb.linespec/ls-errs.c: New file.
1983 * gdb.linespec/ls-errs.exp: New test.
1984
1985 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1986
1987 * gdb.trace/unavailable.exp
1988 (collect globals: print object on: print derived_partial)
1989 (collect globals: print object on: print derived_whole)
1990 (collect globals: print object off: print derived_partial)
1991 (collect globals: print object off: print derived_whole): Update
1992 expected output.
1993
1994 2012-03-30 Keith Seitz <keiths@redhat.com>
1995
1996 * gdb.python: Add test for linespecs with commas.
1997
1998 2012-03-28 Keith Seitz <keiths@redhat.com>
1999
2000 * gdb.linespec/ls-dollar.cc: New file.
2001 * gdb.linespec/ls-dollar.exp: New test.
2002
2003 2012-03-28 Keith Seitz <keiths@redhat.com>
2004
2005 * gdb.cp/namespace.exp: Add breakpoint tests for functions
2006 starting with the global namespace.
2007
2008 2012-03-23 Doug Evans <dje@google.com>
2009
2010 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
2011
2012 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
2013
2014 * gdb.python/py-value.cc: Add test case for testing the
2015 methodology exposing C++ values to Python.
2016 * gdb.python/py-value-cc.exp: Add tests testing the methodology
2017 exposing C++ values to Python.
2018 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
2019
2020 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2021 Siddhesh Poyarekar <siddhesh@redhat.com>
2022
2023 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
2024 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
2025 (generate native core dump): Make the test unsupported if core cannot
2026 be generated.
2027
2028 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2029
2030 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
2031 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
2032 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
2033
2034 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2035
2036 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
2037
2038 2012-03-17 Doug Evans <dje@google.com>
2039
2040 * dg-extract-results.sh: Handle KFAILs.
2041
2042 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2043
2044 PR symtab/13777
2045 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
2046
2047 2012-03-16 Joel Brobecker <brobecker@adacore.com>
2048
2049 * gdb.ada/set_pckd_arr_elt: New testcase.
2050
2051 2012-03-16 Gary Benson <gbenson@redhat.com>
2052
2053 PR breakpoints/10738
2054 * gdb.opt/inline-break.exp: New file.
2055 * gdb.opt/inline-break.c: Likewise.
2056 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
2057 * gdb.dwarf2/dw2-inline-break.S: Likewise.
2058 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
2059 * gdb.base/async-shell.exp: Likewise.
2060 * lib/mi-support.exp (library_loaded_re): Likewise.
2061
2062 2012-03-15 Tom Tromey <tromey@redhat.com>
2063
2064 * gdb.cp/virtfunc2.exp: Update expected output.
2065 * gdb.cp/pr9631.exp: Update expected output.
2066 * gdb.cp/member-ptr.exp: Update expected output.
2067 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
2068 output.
2069 * gdb.cp/casts.exp: Update expected output.
2070
2071 2012-03-15 Tom Tromey <tromey@redhat.com>
2072
2073 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
2074 (test_info_vtbl): Likewise.
2075 (do_tests): Call test_info_vtbl.
2076 * gdb.cp/virtfunc.cc (va): New global.
2077
2078 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
2079
2080 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
2081 describing DWARF data structures.
2082 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
2083 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
2084 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
2085 * gdb.dwarf2/dw2-entry-value.S: Likewise.
2086 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2087 * gdb.dwarf2/dw2-param-error.S: Likewise.
2088 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
2089 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
2090 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
2091 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
2092 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2093 * gdb.dwarf2/pr11465.S: Likewise.
2094
2095 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2096
2097 * gdb.mi/mi2-prompt.exp: New file.
2098
2099 2012-03-13 Joel Brobecker <brobecker@adacore.com>
2100
2101 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
2102
2103 2012-03-13 Joel Brobecker <brobecker@adacore.com>
2104
2105 * gdb.ada/bp_range_type: New testcase.
2106
2107 2012-03-13 Doug Evans <dje@google.com>
2108
2109 * gdb.base/default.exp: Delete tests for symbol-reloading.
2110 * gdb.base/help.exp: Ditto.
2111 * gdb.base/setshow.exp: Ditto.
2112 * gdb.base/gdb_history: Delete references to symbol-reloading.
2113
2114 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2115
2116 * gdb.base/attach-twice.c: New files.
2117 * gdb.base/attach-twice.exp: New files.
2118
2119 2012-03-08 Keith Seitz <keiths@redhat.com>
2120
2121 * lib/gdb.exp (gdb_get_line_number): Throw an
2122 error instead of returning -1.
2123 * gdb.base/break.exp: Remove unused variable
2124 bp_location5.
2125 * gdb.base/hbreak2.exp: Likewise.
2126 * gdb.base/sepdebug.exp: Likewise.
2127
2128 2012-03-08 Yao Qi <yao@codesourcery.com>
2129 Pedro Alves <palves@redhat.com>
2130
2131 Fix PR server/13392.
2132 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
2133 (tracepoint_change_loc_2): Remove kfail. Return if failed to
2134 download tracepoints.
2135 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
2136 (pending_tracepoint_resolved_during_trace): Likewise.
2137 (pending_tracepoint_installed_during_trace): Likewise.
2138 (pending_tracepoint_with_action_resolved): Likewise.
2139
2140 2012-03-08 Keith Seitz <keiths@redhat.com>
2141
2142 * gdb.ada/array_bounds.exp: Get breakpoint for line
2143 with "START", not "STOP".
2144 * gdb.python/py-infthread.exp: Do not continue to
2145 line marked "Break here.", which is undefined.
2146
2147 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
2148
2149 Revert:
2150
2151 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2152
2153 Implement testsuite workaround for PR breakpoints/13781.
2154 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2155 (set breakpoint condition-evaluation host): New conditional command.
2156
2157 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2158
2159 Fix CU relative vs. absolute DIE offsets.
2160 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
2161 one.
2162
2163 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2164
2165 Fix false FAIL on distros with relro linkage as default.
2166 * gdb.reverse/solib-precsave.exp: Try to compile the test using
2167 -Wl,-z,norelro first.
2168
2169 2012-03-06 Joel Brobecker <brobecker@adacore.com>
2170
2171 * gdb.ada/bp_on_var: New testcase.
2172
2173 2012-03-06 Joel Brobecker <brobecker@adacore.com>
2174
2175 * gdb.ada/bp_enum_homonym: New testcase.
2176
2177 2012-03-06 Yao Qi <yao@codesourcery.com>
2178
2179 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
2180 x86_64-*-* and i?86-*-*.
2181 Set up KFAIL for gdb/13808.
2182
2183 2012-03-05 Tom Tromey <tromey@redhat.com>
2184
2185 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
2186 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
2187
2188 2012-03-05 Tom Tromey <tromey@redhat.com>
2189
2190 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
2191
2192 2012-03-04 Yao Qi <yao@codesourcery.com>
2193
2194 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
2195 messages for KFAIL.
2196
2197 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2198
2199 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
2200 (print one_two_three, indexes off, print few_reps, indexes off)
2201 (print many_reps, indexes off, print empty, indexes off)
2202 (print one_two_three, print few_reps, print many_reps, print empty):
2203 Call setup_xfail if $gcc_old.
2204
2205 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2206
2207 Implement testsuite workaround for PR breakpoints/13781.
2208 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2209 (set breakpoint condition-evaluation host): New conditional command.
2210
2211 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2212
2213 Code cleanup.
2214 * gdb.cp/mb-templates.exp: New variables executable. Use it for
2215 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
2216 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
2217 number 1 by $bpnum. Four times.
2218
2219 2012-03-03 Yao Qi <yao@codesourcery.com>
2220
2221 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
2222
2223 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 Setup KFAIL for PR server/13796.
2226 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
2227
2228 2012-03-02 Joel Brobecker <brobecker@adacore.com>
2229
2230 * gdb.ada/operator_bp: New testcase.
2231
2232 2012-03-02 Joel Brobecker <brobecker@adacore.com>
2233
2234 * gdb.ada/info_locals_renaming: New testcase.
2235
2236 2012-03-02 Tom Tromey <tromey@redhat.com>
2237
2238 * gdb.base/nextoverexit.c: New file.
2239 * gdb.base/nextoverexit.exp: New file.
2240
2241 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2242
2243 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
2244 parameter.
2245
2246 2012-03-01 Maciej W. Rozycki <macro@mips.com>
2247
2248 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
2249 core registers.
2250
2251 2012-03-01 Maciej W. Rozycki <macro@mips.com>
2252 Maciej W. Rozycki <macro@codesourcery.com>
2253 Daniel Jacobowitz <dan@codesourcery.com>
2254
2255 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
2256
2257 2012-03-01 Pedro Alves <palves@redhat.com>
2258
2259 PR gdb/13767
2260
2261 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
2262 (gdb_collect_globals_test): Call it.
2263
2264 2012-03-01 Keith Seitz <keiths@redhat.com>
2265
2266 * gdb.cp/method2.exp: Output of overload menu is now
2267 alphabetized. Update tests for "break A::method".
2268 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
2269 of hard-coding them.
2270 Overload menu is alphabetized: rewrite to accommodate.
2271 Unset variables LINE and TYPES which are used in other tests.
2272 Compute the output of "info break".
2273 Update the breakpoint table after all breakpoints are deleted.
2274 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
2275 compute ACTUALS and the method body based on parameters.
2276 Update expected output accordingly.
2277 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
2278 unique comments to allow the use of gdb_get_line_number.
2279
2280 2012-03-01 Keith Seitz <keiths@redhat.com>
2281
2282 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
2283 some Tcl syntax.
2284 * gdb.cp/ovldbreak.exp: Likewise.
2285
2286 2012-03-01 Keith Seitz <keiths@redhat.com>
2287
2288 * gdb.base/help.exp (help show user): Update expected result
2289 for new doc string changes (add "non-python").
2290
2291 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
2292
2293 * gdb.python/py-cmd.exp: Add test to verify that python commands can
2294 be put in the user-defined category and that the commands appear in
2295 "help user-defined".
2296
2297 2012-02-29 Joel Brobecker <brobecker@adacore.com>
2298
2299 * gdb.ada/tagged_not_init: New testcase.
2300
2301 2012-02-29 Joel Brobecker <brobecker@adacore.com>
2302
2303 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
2304 * gdb.ada/enum_idx_packed: New testcase.
2305
2306 2012-02-29 Joel Brobecker <brobecker@adacore.com>
2307
2308 * gdb.ada/aliased_array: New testcase.
2309
2310 2012-02-29 Joel Brobecker <brobecker@adacore.com>
2311
2312 * gdb.ada/whatis_array_val: New testcase.
2313
2314 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2315
2316 Fix disp-step-syscall.exp: fork: single step over fork.
2317 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
2318 whitespaces.
2319 (single step over $syscall): Remove its check.
2320 (single step over $syscall final pc): New check.
2321
2322 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 Support processors without SSSE3.
2325 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
2326 pabsd into ...
2327 (ssse3_test): ... a new function.
2328 (main): Call ssse3_test.
2329 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
2330 Update expected values everywhere.
2331 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
2332 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
2333 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
2334 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
2335 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
2336 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
2337 Move these tests lower.
2338 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
2339 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
2340 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
2341 New tests.
2342
2343 2012-02-29 Yao Qi <yao@codesourcery.com>
2344 Pedro Alves <palves@redhat.com>
2345
2346 * gdb.trace/trace-mt.c: New.
2347 * gdb.trace/trace-mt.exp: New.
2348
2349 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
2350
2351 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
2352 numbers instead of hardcoding them.
2353 * gdb.base/annota1.c: Provide suitable markers.
2354 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
2355 numbers instead of hardcoding them.
2356 * gdb.base/annota3.c: Provide suitable markers.
2357
2358 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
2359 * gdb.base/annota3.c: Likewise.
2360 * gdb.base/sigall.c: Likewise.
2361 * gdb.base/signals.c: Likewise.
2362 * gdb.reverse/sigall-reverse.c: Likewise.
2363
2364 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
2365
2366 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
2367 failure return path.
2368
2369 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
2370
2371 * gdb.base/save-bp.exp: Account for new condition evaluator output.
2372
2373 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
2374
2375 * gdb.base/cond-eval-mode.exp: New file.
2376
2377 2012-02-24 Pedro Alves <palves@redhat.com>
2378
2379 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
2380 (top level): Use with_test_prefix.
2381
2382 2012-02-24 Pedro Alves <palves@redhat.com>
2383
2384 * gdb.threads/attach-into-signal.exp (corefunc): Use
2385 with_test_prefix.
2386
2387 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2388
2389 Fix false FAILs on old CPUs without SSE.
2390 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
2391 Return untested for Illegal instruction.
2392
2393 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2394
2395 Fix false FAILs with glibc debug infos installed.
2396 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
2397 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
2398
2399 2012-02-22 Sterling Augustine <saugustine@google.com>
2400
2401 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
2402 constant with cast.
2403
2404 2012-02-21 Pedro Alves <palves@redhat.com>
2405
2406 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
2407
2408 2012-02-21 Pedro Alves <palves@redhat.com>
2409
2410 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
2411
2412 2012-02-21 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
2415 with_test_prefix.
2416
2417 2012-02-21 Pedro Alves <palves@redhat.com>
2418
2419 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
2420 with_test_prefix here.
2421 (top level): Do it here instead. Remove `:' from the
2422 with_test_prefix string.
2423 * gdb.base/attach-pie-misread.exp: Remove the leading space the
2424 the suffix `:' from the with_test_prefix prefix string.
2425 * gdb.base/break-interp.exp: Ditto.
2426 * gdb.base/catch-load.exp: Ditto.
2427 * gdb.base/disp-step-syscall.exp: Ditto.
2428 * gdb.base/jit-so.exp: Ditto.
2429 * gdb.base/jit.exp: Ditto.
2430 * gdb.base/sepdebug.exp: Ditto.
2431 * gdb.base/solib-display.exp: Ditto.
2432 * gdb.base/solib-overlap.exp: Ditto.
2433 * gdb.base/watch-cond-infcall.exp: Ditto.
2434 * gdb.base/watchpoint.exp: Ditto.
2435 * gdb.dwarf2/dw2-noloc.exp: Ditto.
2436 * gdb.mi/mi-watch.exp: Ditto.
2437 * gdb.mi/mi2-watch.exp: Ditto.
2438 * gdb.threads/non-ldr-exc-1.exp: Ditto.
2439 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2440 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2441 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2442 * gdb.threads/watchpoint-fork.exp: Ditto.
2443 * gdb.threads/watchthreads-reorder.exp: Ditto.
2444 * gdb.trace/change-loc.exp: Ditto.
2445 * gdb.trace/pending.exp: Ditto.
2446 * gdb.trace/status-stop.exp: Ditto.
2447 * gdb.trace/strace.exp: Ditto.
2448 * gdb.trace/trace-break.exp: Ditto.
2449 * gdb.trace/unavailable.exp: Ditto.
2450 * lib/gdb.exp (with_test_prefix): Always prefix with space and
2451 suffix with colon. Adjust leading comments.
2452
2453 2012-02-21 Pedro Alves <palves@redhat.com>
2454 Tom Tromey <tromey@redhat.com>
2455
2456 * lib/gdb.exp: Add description of test prefixes.
2457 (with_test_prefix): New procedure.
2458 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
2459 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
2460 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
2461 instead of lappend to append to pf_prefix.
2462 * gdb.base/catch-load.exp: Use with_test_prefix.
2463 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
2464 * gdb.base/jit-so.exp: Use with_test_prefix.
2465 * gdb.base/jit.exp: Use with_test_prefix.
2466 * gdb.base/return-nodebug.exp (do_test): Use append instead of
2467 lappend to append to pf_prefix.
2468 * gdb.base/sepdebug.exp: Use with_test_prefix.
2469 * gdb.base/solib-display.exp: Use with_test_prefix.
2470 * gdb.base/solib-overlap.exp: Use with_test_prefix.
2471 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
2472 * gdb.base/watchpoint.exp: Use with_test_prefix.
2473 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
2474 * gdb.mi/mi-watch.exp: Use with_test_prefix.
2475 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
2476 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
2477 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
2478 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
2479 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
2480 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
2481 append instead of lappend to append to pf_prefix.
2482 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
2483 * gdb.trace/change-loc.exp: Use with_test_prefix.
2484 * gdb.trace/pending.exp: Use with_test_prefix.
2485 * gdb.trace/status-stop.exp: Use with_test_prefix.
2486 * gdb.trace/strace.exp: Use with_test_prefix.
2487 * gdb.trace/trace-break.exp: Use with_test_prefix.
2488 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
2489 instead of lappend to append to pf_prefix.
2490
2491 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2492
2493 Fix racy FAILs.
2494 * gdb.base/inferior-died.c (main): Add return of 0.
2495 * gdb.base/inferior-died.exp (continue): Fix expectation of
2496 asynchronous events.
2497 (p 1): New test.
2498
2499 2012-02-20 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
2502 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
2503 gdb's internal debug output. For the non-threaded case, look for
2504 "Program received signal SIGLARM", for the threaded case, peek at
2505 the thread's siginfo.
2506
2507 2012-02-20 Pedro Alves <palves@redhat.com>
2508
2509 General cleanup, make output test messages unique, and build
2510 different executable files for the non-threaded and threaded
2511 cases.
2512
2513 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
2514 Delete.
2515 (executable_nothr, executable_thr): New globals.
2516 (top level): Adjust to delete both executables.
2517 (corefunc): New parameter $executable. Set $pf_prefix instead of
2518 hand writing a prefix in tests. Issue a clean_restart and enable
2519 lin-lwp debug output here.
2520 (top level): Adjust. Use build_executable. Don't start gdb here,
2521 and don't enable lin-lwp debug output here.
2522 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
2523
2524 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2525
2526 Fix racy FAILs.
2527 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
2528 "continue" command.
2529
2530 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2531
2532 Fix for gdbserver non-extended mode.
2533 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
2534 and gdb_run_cmd.
2535
2536 2012-02-17 Tom Tromey <tromey@redhat.com>
2537
2538 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
2539 * gdb.python/py-events.exp: Check 'dir' output.
2540 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
2541
2542 2012-02-17 Yao Qi <yao@codesourcery.com>
2543
2544 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
2545
2546 2012-02-16 Tom Tromey <tromey@redhat.com>
2547
2548 * gdb.base/inferior-died.c: Don't include stdio.h.
2549
2550 2012-02-16 Tom Tromey <tromey@redhat.com>
2551
2552 * gdb.base/inferior-died.c: New file.
2553 * gdb.base/inferior-died.exp: New file.
2554
2555 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
2556
2557 * gdb.base/break-inline.exp: New file.
2558 * gdb.base/break-inline.c: New file.
2559
2560 2012-02-15 Tom Tromey <tromey@redhat.com>
2561
2562 * gdb.base/pc-fp.exp: Add "info register" tests.
2563
2564 2012-02-15 Tom Tromey <tromey@redhat.com>
2565
2566 * gdb.base/regs.exp: Remove.
2567
2568 2012-02-15 Pedro Alves <palves@redhat.com>
2569
2570 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
2571 the target doesn't support tracepoints.
2572 * gdb.trace/circ.exp: Ditto.
2573 * gdb.trace/collection.exp: Ditto.
2574 * gdb.trace/packetlen.exp: Ditto.
2575 * gdb.trace/passc-dyn.exp: Ditto.
2576 * gdb.trace/report.exp: Ditto.
2577 * gdb.trace/tfind.exp: Ditto.
2578 * gdb.trace/tspeed.exp: Ditto.
2579 * gdb.trace/tsv.exp: Ditto.
2580 * gdb.trace/unavailable.exp: Ditto.
2581 * gdb.trace/while-dyn.exp: Ditto.
2582
2583 2012-02-15 Pedro Alves <palves@redhat.com>
2584
2585 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
2586 gdb_test_multiple, and call unsupported instead of fail, if the
2587 remote side does not support the request.
2588
2589 2012-02-15 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
2592 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
2593 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
2594 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
2595 * gdb.server/server-run.exp: Make sure gdb is disconnected.
2596 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
2597 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
2598 doesn't start with "extended-" already.
2599
2600 2012-02-15 Pedro Alves <palves@redhat.com>
2601
2602 Support extended-remote. Avoid cascading timeouts.
2603
2604 * gdb.base/attach.exp (do_attach_tests): Add expected output for
2605 the extended-remote target. If attaching with no file fails, load
2606 the file manually.
2607 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
2608
2609 2012-02-14 Stan Shebs <stan@codesourcery.com>
2610
2611 * gdb.base/ena-dis-br.exp: Add enable count test.
2612
2613 2012-02-13 Pedro Alves <palves@redhat.com>
2614
2615 * config/mips-idt.exp: Delete.
2616 * gdb.base/a2-run.exp: Remove mips-idt xfails.
2617 * gdb.base/bitfields.exp: Remove mips-idt restarts.
2618 * gdb.base/break.exp: Remove mips-idt references.
2619 * gdb.base/chng-syms.exp: Ditto.
2620 * gdb.base/default.exp: Ditto.
2621 * gdb.base/funcargs.exp (funcargs_reload): Delete.
2622 (top level): Don't call it.
2623 * gdb.base/opaque.exp: Remove mips-idt restarts.
2624 * gdb.base/ptype.exp: Remove mips-idt xfails.
2625 * gdb.base/scope.exp: Remove mips-idt restarts.
2626 * gdb.base/sepdebug.exp: Remove mips-idt references.
2627 * gdb.base/watchpoint.exp (maybe_clean_restart)
2628 (maybe_reinitialize): Delete.
2629 (test_disabling_watchpoints, test_disabling_watchpoints)
2630 (test_watchpoint_triggered_in_syscall)
2631 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2632 Don't call them.
2633
2634 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2635
2636 * gdb.server/server-exec-info.exp: New file.
2637
2638 2012-02-10 Pedro Alves <palves@redhat.com>
2639
2640 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
2641 always non-empty.
2642 (test_attach): Always pass $exec to test_attach_gdb.
2643
2644 2012-02-08 Tom Tromey <tromey@redhat.com>
2645
2646 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
2647 before inferior is started.
2648
2649 2012-02-07 Tom Tromey <tromey@redhat.com>
2650
2651 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
2652 Symbol.value.
2653 * gdb.python/py-symbol.c (qq): Set default value.
2654
2655 2012-02-07 Tom Tromey <tromey@redhat.com>
2656
2657 * gdb.python/py-symbol.c (qq): New global.
2658 * gdb.python/py-symbol.exp: Add test for frame-less
2659 lookup_symbol.
2660 * gdb.python/py-symtab.exp: Fix line number.
2661
2662 2012-02-03 Joel Brobecker <brobecker@adacore.com>
2663
2664 * gdb.ada/mi_task_arg: New testcase.
2665
2666 2012-02-02 Pedro Alves <palves@redhat.com>
2667
2668 * gdb.reverse/until-precsave.exp: Also put "record save" under the
2669 extended timeout.
2670
2671 2012-02-02 Pedro Alves <palves@redhat.com>
2672
2673 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
2674 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
2675
2676 2012-02-02 Pedro Alves <palves@redhat.com>
2677
2678 * gdb.base/term.exp: Rewrite.
2679 * gdb.base/term.c: New.
2680
2681 2012-02-02 Pedro Alves <palves@redhat.com>
2682
2683 * gdb.base/default.exp (run "r" abbreviation, run): Add
2684 extended-remote expected output.
2685
2686 2012-02-02 Tom Tromey <tromey@redhat.com>
2687
2688 * gdb.cp/dispcxx.exp: New file.
2689 * gdb.cp/dispcxx.cc: New file.
2690
2691 2012-02-01 Tom Tromey <tromey@redhat.com>
2692
2693 * gdb.base/jit-simple.exp: New file.
2694 * gdb.base/jit-simple.c: New file.
2695
2696 2012-01-30 Yao Qi <yao@codesourcery.com>
2697
2698 * gdb.base/skip.exp: Make test result unique.
2699
2700 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2701
2702 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
2703 compatibility with valgrind-3.7.0.
2704
2705 2012-01-27 Pedro Alves <palves@redhat.com>
2706
2707 * gdb.base/watchpoint.exp (no_hw): New global.
2708 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
2709 disable hw watchpoints.
2710 (test_wide_location_1, test_wide_location_2): If no_hw is set,
2711 don't expect hw watchpoints.
2712 (no_hw_watchpoints): Always clean restart.
2713 (do_tests): New procedure, factored out from the top level.
2714 (top level): Run tests twice. Once with hw watchpoints enabled,
2715 another time with hw watchpoints disabled.
2716
2717 2012-01-27 Pedro Alves <palves@redhat.com>
2718
2719 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
2720 out from the top level.
2721 (top level): Call it instead.
2722
2723 2012-01-27 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.base/watchpoint.exp (top level): Re-enable hardware
2726 watchpoints sooner.
2727
2728 2012-01-27 Pedro Alves <palves@redhat.com>
2729
2730 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
2731
2732 2012-01-27 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
2735 "You may have requested too many hardware
2736 breakpoints/watchpoints".
2737
2738 2012-01-27 Pedro Alves <palves@redhat.com>
2739
2740 * gdb.base/watchpoint.exp (maybe_clean_restart)
2741 (maybe_reinitialize): New.
2742 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
2743 expect "hit N times".
2744 (test_disabling_watchpoints, test_complex_watchpoint)
2745 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2746 Call maybe_clean_restart.
2747 (top level): Use clean_restart. Remove "mips-idt-*"
2748 reinitialization.
2749
2750 2012-01-27 Pedro Alves <palves@redhat.com>
2751
2752 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
2753
2754 2012-01-27 Pedro Alves <palves@redhat.com>
2755
2756 * gdb.base/watchpoint.exp: Clean restart after tests that don't
2757 require `initialize' anymore. Remove unnecessary `initialize'
2758 calls.
2759
2760 2012-01-27 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.base/watchpoint.exp (wp_set): Delete.
2763 (initialize, test_simple_watchpoint, top level): Remove dead code.
2764
2765 2012-01-27 Pedro Alves <palves@redhat.com>
2766
2767 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
2768 typo.
2769
2770 2012-01-27 Pedro Alves <palves@redhat.com>
2771
2772 * config/extended-gdbserver.exp: New file.
2773 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
2774 comment.
2775 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
2776 * boards/native-extended-gdbserver.exp: New file.
2777
2778 2012-01-26 Pedro Alves <palves@redhat.com>
2779
2780 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
2781 and gdb_test_multiple.
2782
2783 2012-01-26 Pedro Alves <palves@redhat.com>
2784
2785 Make test messages unique, and more identifiable.
2786 * gdb.multi/watchpoint-multi.exp: Change test messages.
2787
2788 2012-01-25 Tom Tromey <tromey@redhat.com>
2789
2790 * gdb.base/solib-disc.exp: Fix regexps.
2791
2792 2012-01-24 Tom Tromey <tromey@redhat.com>
2793
2794 * lib/mi-support.exp (mi_expect_stop): Add special case for
2795 solib-event.
2796 * gdb.base/catch-load-so.c: New file.
2797 * gdb.base/catch-load.exp: New file.
2798 * gdb.base/catch-load.c: New file.
2799 * gdb.base/break-interp.exp (reach_1): Update regexp.
2800
2801 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 Fix fuzzy results.
2804 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
2805 lpsimple and func.
2806
2807 2012-01-24 Gary Benson <gbenson@redhat.com>
2808
2809 Delete #if 0'd out code.
2810 * gdb.base/default.exp (info catch): Remove.
2811 * gdb.base/gdb_history (info catch): Likewise.
2812 * gdb.base/help.exp (info catch): Likewise.
2813
2814 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2815
2816 Fix watchpoints to be specific for each inferior.
2817 * gdb.multi/watchpoint-multi.c: New file.
2818 * gdb.multi/watchpoint-multi.exp: New file.
2819
2820 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2821
2822 Fix watchpoints across inferior fork.
2823 * gdb.threads/watchpoint-fork-child.c: New file.
2824 * gdb.threads/watchpoint-fork-mt.c: New file.
2825 * gdb.threads/watchpoint-fork-parent.c: New file.
2826 * gdb.threads/watchpoint-fork-st.c: New file.
2827 * gdb.threads/watchpoint-fork.exp: New file.
2828 * gdb.threads/watchpoint-fork.h: New file.
2829
2830 2012-01-23 Pedro Alves <palves@redhat.com>
2831
2832 * gdb.base/call-signal-resume.exp: Allow output after "return".
2833
2834 2012-01-20 Pedro Alves <palves@redhat.com>
2835
2836 * gdb.python/py-finish-breakpoint.py: Fix typo.
2837
2838 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
2839
2840 * gdb.base/info-proc.exp: Also run on remote targets. Main
2841 "info proc" command is now always present; whether target supports
2842 actual info proc operation is detected when attempting to issue
2843 the command.
2844
2845 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2846
2847 * .gdbinit: Remove.
2848
2849 2012-01-19 Pedro Alves <palves@redhat.com>
2850
2851 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
2852 look at the funtions' returns.
2853 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
2854 (jprint.print(int, int)): Change return type to int. Adjust.
2855
2856 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2857
2858 PR gdb/9538
2859 * gdb.base/sepdebug.exp: New test.
2860
2861 2012-01-18 Pedro Alves <palves@redhat.com>
2862
2863 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
2864 Allow output before ^done.
2865
2866 2012-01-16 Tom Tromey <tromey@redhat.com>
2867
2868 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
2869 Add tests for relative directory.
2870
2871 2012-01-16 Tom Tromey <tromey@redhat.com>
2872
2873 * gdb.base/printcmds.c (enum flag_enum): New.
2874 (three): New global.
2875 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
2876 enum printing.
2877 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
2878 FlagEnumerationPrinter.
2879 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
2880 * gdb.python/py-pp-maint.c (enum flag_enum): New.
2881 (fval): New global.
2882
2883 2012-01-16 Pedro Alves <palves@redhat.com>
2884
2885 * lib/gdb.exp (banned_procedures): New variable.
2886 (banned_variables_traced): Rename to ...
2887 (banned_traced): ... this.
2888 (gdb_init): Also trace banned procedures.
2889 (gdb_finish): Also untrace banned procedures.
2890
2891 2012-01-16 Pedro Alves <palves@redhat.com>
2892
2893 Remove all calls to strace.
2894
2895 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2896
2897 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
2898 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
2899
2900 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2901
2902 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
2903 * gdb.base/pie-execl.exp: Likewise.
2904
2905 2012-01-12 Keith Seitz <keiths@redhat.com>
2906
2907 PR mi/10586
2908 * gdb.mi/var-cmd.c (struct anonymous): New structure.
2909 (do_anonymous_type_tests): New function.
2910 (main): Call do_anonymous_type_tests.
2911 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
2912 (verify_everything): New procedure.
2913 * gdb.mi/mi-var-cp.cc (class A): New class.
2914 (anonymous_structs_and_unions): New function.
2915 (main): Call anonymous_structs_and_unions.
2916 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
2917 (verify_everything): New procedure.
2918
2919 2012-01-12 Keith Seitz <keiths@redhat.com>
2920
2921 * lib/mi-support.exp: Expand comments about PATH_EXPR.
2922 (varobj_tree::get_path_expr): Assume that all varobjs are
2923 compound unless they are known simple types.
2924 Adjust path expressions based on parent type, path parent type,
2925 and tree language.
2926 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
2927 the root varobj.
2928 (mi_walk_varobj_tree): Add LANGUAGE parameter.
2929
2930 2012-01-11 Pedro Alves <palves@redhat.com>
2931
2932 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
2933 core files on this machine" anymore.
2934
2935 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2936
2937 * gdb.base/watchpoint.c (recurser): Initialize local_x.
2938 (main): Repeat recurser call.
2939 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
2940 equivalent to 'local_x'.
2941
2942 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2943 Joel Brobecker <brobecker@adacore.com>
2944
2945 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
2946
2947 2012-01-05 Pedro Alves <alves.ped@gmail.com>
2948
2949 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
2950 * gdb.python/py-events.c (first): Add bits for new "step N" test.
2951 * gdb.python/py-events.exp: Test that "step N" tripping on a
2952 breakpoint emits a breakpoint event.
2953
2954 2012-01-03 Joel Brobecker <brobecker@adacore.com>
2955
2956 * gdb.base/auxv.exp: Reformat the copyright notice.
2957
2958 2012-01-03 Yao Qi <yao@codesourcery.com>
2959
2960 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
2961 (strace_trace_on_diff_addr): New.
2962 * gdb.trace/strace.c: (main): Add two local variables.
2963
2964 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
2965
2966 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
2967 * gdb.cell/gcore.exp: Likewise.
2968 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
2969 to verify the correct instance of main is selected.
2970
2971 2012-01-02 Joel Brobecker <brobecker@adacore.com>
2972
2973 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
2974 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
2975 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
2976 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
2977 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
2978 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
2979 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
2980 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
2981 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
2982 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
2983 gdb.threads/thread_check.c: Reformat copyright header.
2984
2985 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
2986
2987 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
2988 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
2989 is not enabled.
2990
2991 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2992
2993 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
2994 parameter to self_exec, adjust the function.
2995 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
2996 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
2997 (set var do_exit = 0): Remove test.
2998 (newline at end of file): Add one.
2999
3000 2011-12-27 Joel Brobecker <brobecker@adacore.com>
3001
3002 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
3003 New files.
3004
3005 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3006
3007 Fix racy FAILs.
3008 * gdb.threads/fork-thread-pending.c (barrier): New variable.
3009 (thread_function, thread_forker): Call pthread_barrier_wait for it.
3010 (main): Call pthread_barrier_init for it.
3011
3012 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 Fix double send_gdb leading to racy FAILs.
3015 * gdb.base/break.exp (set silent break bp_location1): Replace
3016 3x send_gdb and gdb_expect by gdb_test.
3017 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
3018 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
3019 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
3020 instead of send_gdb. Twice.
3021 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
3022 3x send_gdb and gdb_expect by gdb_test.
3023 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
3024
3025 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3026
3027 * gdb.linespec/linespec.exp: Compile using {c++}.
3028
3029 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3030
3031 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
3032 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
3033 (verify GCC PR debug/51668): New test.
3034
3035 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
3036
3037 Introduce gdb.FinishBreakpoint in Python.
3038 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
3039 py-finish-breakpoint2
3040 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
3041 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
3042 instead of line number.
3043 * gdb.python/py-finish-breakpoint.c: New file.
3044 * gdb.python/py-finish-breakpoint.exp: New file.
3045 * gdb.python/py-finish-breakpoint.py: New file.
3046 * gdb.python/py-finish-breakpoint2.cc: New file.
3047 * gdb.python/py-finish-breakpoint2.exp: New file.
3048 * gdb.python/py-finish-breakpoint2.py: New file.
3049
3050 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3051
3052 Partial fix of compatibility with gcc-4.7.
3053 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
3054 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
3055 Add comment to add a PASS case in the future.
3056
3057 Fix compatibility with gcc-4.7.
3058 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
3059
3060 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
3061
3062 PR tdep/12797
3063 * gdb.base/callfuncs.exp: Remove KFAIL.
3064
3065 2011-12-21 Joel Brobecker <brobecker@adacore.com>
3066
3067 * gdb.ada/task_bp: New testcase.
3068
3069 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3070
3071 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
3072 -DNO_SECTIONS.
3073 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
3074
3075 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3076
3077 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
3078 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
3079 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3080 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
3081 conditional for gcc <= 4.5.
3082
3083 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3084
3085 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
3086 by XFAIL.
3087 * gdb.cp/static-method.exp (info addr A::func())
3088 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3089 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3090 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3091 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
3092 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
3093 (test value of F in k3_m): Likewise.
3094 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3095 Likewise.
3096
3097 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3098
3099 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
3100 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
3101 Remove.
3102 * gdb.threads/attachstop-mt.c: Remove.
3103 * gdb.threads/attachstop-mt.exp: Remove.
3104
3105 2011-12-17 Mark Kettenis <kettenis@gnu.org>
3106
3107 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
3108
3109 2011-12-16 Doug Evans <dje@google.com>
3110
3111 * boards/native-stdio-gdbserver.exp: New file.
3112 * boards/native-gdbserver.exp: New file.
3113
3114 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
3115 gdbserver output.
3116 (gdbserver_default_get_remote_address): New function.
3117 (gdbserver_start): Call gdb,get_remote_address to compute argument
3118 to "target remote" command.
3119
3120 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
3121
3122 * gdb.python/py-function.exp: Change "on" to "full" for
3123 python print-stack. Add set/show python print-stack
3124 off|full|message tests.
3125
3126 2011-12-15 Yao Qi <yao@codesourcery.com>
3127
3128 * gdb.trace/strace.c: New
3129 * gdb.trace/strace.exp: New.
3130
3131 2011-12-14 Tom Tromey <tromey@redhat.com>
3132
3133 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
3134
3135 2011-12-14 Doug Evans <dje@google.com>
3136
3137 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
3138
3139 2011-12-14 Pedro Alves <pedro@codesourcery.com>
3140
3141 PR threads/10729
3142
3143 * gdb.mi/watch-nonstop.c: New file.
3144 * gdb.mi/mi-watch-nonstop.exp: New file.
3145
3146 2011-12-13 Pedro Alves <pedro@codesourcery.com>
3147 Doug Evans <dje@google.com>
3148
3149 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
3150 (clean_restart): Remove references to the gdb_stub target board
3151 variable.
3152 (gdb_step_for_stub): Delete.
3153
3154 * gdb.base/annota1.exp: Remove all references to [target_info
3155 exists gdb_stub], gdb_step_for_stub and usestubs.
3156 * gdb.base/annota3.exp: Ditto.
3157 * gdb.base/async.exp: Ditto.
3158 * gdb.base/break.exp: Ditto.
3159 * gdb.base/code-expr.exp: Ditto.
3160 * gdb.base/commands.exp: Ditto.
3161 * gdb.base/completion.exp: Ditto.
3162 * gdb.base/condbreak.exp: Ditto.
3163 * gdb.base/consecutive.exp: Ditto.
3164 * gdb.base/cvexpr.exp: Ditto.
3165 * gdb.base/define.exp: Ditto.
3166 * gdb.base/display.exp: Ditto.
3167 * gdb.base/ena-dis-br.exp: Ditto.
3168 * gdb.base/environ.exp: Ditto.
3169 * gdb.base/gnu-ifunc.exp: Ditto.
3170 * gdb.base/maint.exp: Ditto.
3171 * gdb.base/pending.exp: Ditto.
3172 * gdb.base/sect-cmd.exp: Ditto.
3173 * gdb.base/sepdebug.exp: Ditto.
3174 * gdb.base/unload.exp: Ditto.
3175 * gdb.base/watchpoint-solib.exp: Ditto.
3176 * gdb.cp/annota2.exp: Ditto.
3177 * gdb.cp/annota3.exp: Ditto.
3178 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
3179 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
3180 * gdb.mi/mi-pending.exp: Ditto.
3181 * gdb.trace/circ.exp: Ditto.
3182 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
3183 * gdb.base/list.exp: Ditto.
3184
3185 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
3186 breakpoint function and all references to the usestubs macro.
3187 * gdb.base/exprs.c: Ditto.
3188 * gdb.base/freebpcmd.c: Ditto.
3189 * gdb.base/bitfields.c: Ditto.
3190 * gdb.base/bitfields2.c: Ditto.
3191 * gdb.base/break.c: Ditto.
3192 * gdb.base/call-sc.c: Ditto.
3193 * gdb.base/call-signals.c: Ditto.
3194 * gdb.base/callfuncs.c: Ditto.
3195 * gdb.base/charset.c: Ditto.
3196 * gdb.base/consecutive.c: Ditto.
3197 * gdb.base/constvars.c: Ditto.
3198 * gdb.base/funcargs.c: Ditto.
3199 * gdb.base/int-type.c: Ditto.
3200 * gdb.base/interrupt.c: Ditto.
3201 * gdb.base/langs0.c: Ditto.
3202 * gdb.base/list0.c: Ditto.
3203 * gdb.base/mips_pro.c: Ditto.
3204 * gdb.base/miscexprs.c: Ditto.
3205 * gdb.base/nodebug.c: Ditto.
3206 * gdb.base/opaque0.c: Ditto.
3207 * gdb.base/pointers.c: Ditto.
3208 * gdb.base/printcmds.c: Ditto.
3209 * gdb.base/ptype.c: Ditto.
3210 * gdb.base/recurse.c: Ditto.
3211 * gdb.base/reread1.c: Ditto.
3212 * gdb.base/reread2.c: Ditto.
3213 * gdb.base/restore.c: Ditto.
3214 * gdb.base/return.c: Ditto.
3215 * gdb.base/run.c: Ditto.
3216 * gdb.base/scope0.c: Ditto.
3217 * gdb.base/sepdebug.c: Ditto.
3218 * gdb.base/setshow.c: Ditto.
3219 * gdb.base/setvar.c: Ditto.
3220 * gdb.base/sigall.c: Ditto.
3221 * gdb.base/signals.c: Ditto.
3222 * gdb.base/structs.c: Ditto.
3223 * gdb.base/structs2.c: Ditto.
3224 * gdb.base/testenv.c: Ditto.
3225 * gdb.base/twice.c: Ditto.
3226 * gdb.base/unwindonsignal.c: Ditto.
3227 * gdb.base/watchpoint.c: Ditto.
3228 * gdb.base/watchpoints.c: Ditto.
3229 * gdb.base/whatis.c: Ditto.
3230 * gdb.cp/classes.cc: Ditto.
3231 * gdb.cp/cplusfuncs.cc: Ditto.
3232 * gdb.cp/derivation.cc: Ditto.
3233 * gdb.cp/formatted-ref.cc: Ditto.
3234 * gdb.cp/misc.cc: Ditto.
3235 * gdb.cp/overload.cc: Ditto.
3236 * gdb.cp/ovldbreak.cc: Ditto.
3237 * gdb.cp/ref-params.cc: Ditto.
3238 * gdb.cp/ref-types.cc: Ditto.
3239 * gdb.cp/templates.cc: Ditto.
3240 * gdb.cp/virtfunc.cc: Ditto.
3241 * gdb.hp/gdb.aCC/run.c: Ditto.
3242 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
3243 * gdb.hp/gdb.compat/xdb0.c: Ditto.
3244 * gdb.reverse/consecutive-reverse.c: Ditto.
3245 * gdb.reverse/sigall-reverse.c: Ditto.
3246 * gdb.reverse/until-reverse.c: Ditto.
3247 * gdb.reverse/watch-reverse.c: Ditto.
3248 * gdb.trace/actions.c: Ditto.
3249 * gdb.trace/circ.c: Ditto.
3250 * gdb.trace/collection.c: Ditto.
3251
3252 2011-12-13 Pedro Alves <pedro@codesourcery.com>
3253
3254 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
3255 (func6, func7): New.
3256 (main): Call func6 and func7.
3257 * gdb.base/watchpoint.exp (test_wide_location_1)
3258 (test_wide_location_2): New.
3259 (top level): Re-enable hardware watchpoints if necessary. Call
3260 test_wide_location_1 and test_wide_location_2.
3261
3262 2011-12-11 Yao Qi <yao@codesourcery.com>
3263
3264 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
3265
3266 2011-12-11 Joel Brobecker <brobecker@adacore.com>
3267
3268 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
3269 expected output for unsupported case.
3270
3271 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3272
3273 PR testsuite/12649
3274 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
3275 Protect gdb_test_multiple by final $gdb_prompt match.
3276
3277 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3278
3279 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
3280 New variable, new test.
3281 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3282 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3283 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3284 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
3285 them if HAVE_GCC_45682_FIXED is not set.
3286
3287 2011-12-10 Yao Qi <yao@codesourcery.com>
3288
3289 * gdb.trace/status-stop.exp: New.
3290 * gdb.trace/status-stop.c: New.
3291
3292 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
3295 timeout.
3296
3297 2011-12-08 Tom Tromey <tromey@redhat.com>
3298
3299 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
3300 condition.
3301
3302 2011-12-07 Stan Shebs <stan@codesourcery.com>
3303
3304 * gdb.trace/tfind.exp: Update for output changes.
3305
3306 2011-12-07 Pedro Alves <pedro@codesourcery.com>
3307
3308 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
3309 throws "Cannot insert catchpoints in this configuration".
3310 * gdb.ada/mi_catch_ex.exp: Likewise.
3311
3312 2011-12-06 Pedro Alves <pedro@codesourcery.com>
3313
3314 * gdb.base/break-always.exp: Test changing memory at addresses
3315 with breakpoints inserted.
3316
3317 2011-12-06 Joel Brobecker <brobecker@acacore.com>
3318
3319 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
3320 involving a fully qualified function name.
3321
3322 2011-12-06 Tom Tromey <tromey@redhat.com>
3323
3324 * gdb.ada/homonym.exp: Add three breakpoint tests.
3325
3326 2011-12-06 Tom Tromey <tromey@redhat.com>
3327
3328 * gdb.base/solib-weak.exp (do_test): Remove kfail.
3329 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
3330 * gdb.objc/objcdecode.exp: Update for output changes.
3331 * gdb.linespec/linespec.exp: New file.
3332 * gdb.linespec/lspec.cc: New file.
3333 * gdb.linespec/lspec.h: New file.
3334 * gdb.linespec/body.h: New file.
3335 * gdb.linespec/base/two/thefile.cc: New file.
3336 * gdb.linespec/base/one/thefile.cc: New file.
3337 * gdb.linespec/Makefile.in: New file.
3338 * gdb.cp/templates.exp (test_template_breakpoints): Update for
3339 output changes.
3340 * gdb.cp/re-set-overloaded.exp: Remove kfail.
3341 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
3342 makes one breakpoint.
3343 * gdb.cp/method2.exp (test_break): Update for output changes.
3344 * gdb.cp/mb-templates.exp: Update for output changes.
3345 * gdb.cp/mb-inline.exp: Update for output changes.
3346 * gdb.cp/mb-ctor.exp: Update for output changes.
3347 * gdb.cp/ovsrch.exp: Use fully-qualified names.
3348 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
3349 has multiple matches.
3350 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
3351 error message change.
3352 * gdb.base/list.exp (test_list_filename_and_number): Update for
3353 error message change.
3354 * gdb.base/break.exp: Disable pending breakpoints. Update for
3355 output changes.
3356 * configure.ac: Add gdb.linespec.
3357 * configure: Rebuild.
3358 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
3359
3360 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
3361
3362 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
3363 last_break register on s390*-*-* targets.
3364
3365 2011-12-06 Joel Brobecker <brobecker@adacore.com>
3366
3367 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
3368 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
3369 of parameter X in procedure Foo.
3370
3371 2011-12-05 Stan Shebs <stan@codesourcery.com>
3372
3373 * gdb.trace/tfind.exp: Update help string matches.
3374
3375 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3376
3377 * gdb.server/ext-run.exp (get process list): Accept also systemd
3378 as PID 1.
3379
3380 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3381 Pedro Alves <pedro@codesourcery.com>
3382
3383 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
3384 starting GDB.
3385 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
3386 $use_gdb_stub.
3387 * gdb.base/display.exp: Likewise.
3388 * gdb.base/ending-run.exp: Likewise.
3389 * gdb.base/list.exp (test_listsize): Likewise.
3390 * gdb.base/setshow.exp: Likewise.
3391 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
3392 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
3393 check by global $use_gdb_stub.
3394 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
3395 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
3396 (default_gdb_init): Unset global $use_gdb_stub.
3397 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
3398 by global $use_gdb_stub.
3399 * lib/gdbserver-support.exp: Extend comments for set_board_info
3400 gdb_protocol and gdb,socketport.
3401 (gdbserver_start_extended): Set global gdbserver_protocol and
3402 gdbserver_gdbport. Clear global use_gdb_stub.
3403 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
3404 from target use_gdb_stub.
3405 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
3406
3407 2011-12-03 Doug Evans <dje@google.com>
3408
3409 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
3410 (gdb_step_for_stub): Add comments.
3411
3412 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
3413
3414 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
3415 to the caller.
3416 (gdb_test_multiple): Likewise.
3417
3418 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3419
3420 Fix gdb.mi/mi-solib.exp without system debug info installed.
3421 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
3422 expect attribute, return 0 for it. Update comments.
3423
3424 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3425
3426 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
3427 (corrupted list): Adjust the expectation.
3428
3429 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3430
3431 PR threads/13448
3432 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
3433 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
3434 * gdb.threads/tls-var-main.c: New file.
3435 * gdb.threads/tls-var.c: New file.
3436 * gdb.threads/tls-var.exp: New file.
3437
3438 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3439
3440 PR testsuite/12649
3441 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
3442 Protect gdb_test_multiple by final $gdb_prompt match.
3443 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
3444 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3445 (test_tracepoints): Likewise.
3446
3447 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3448
3449 PR breakpoints/13346
3450 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
3451 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
3452 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
3453
3454 2011-12-01 Joel Brobecker <brobecker@adacore.com>
3455
3456 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
3457 * gdb.ada/homonym/homonym.adb: For use of all types defined
3458 locally inside both Get_Value subprograms.
3459
3460 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3461
3462 Fix racy FAILs.
3463 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
3464 of send_gdb.
3465
3466 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3467
3468 * gdb.base/testenv.exp: Skip on remote targets. Unset global
3469 environment variable after test completed.
3470
3471 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3472
3473 * gdb.base/solib-nodir.exp: Skip if remote target.
3474 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
3475 application. Call gdb_load_shlibs.
3476 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
3477
3478 2011-11-29 Joel Brobecker <brobecker@adacore.com>
3479
3480 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
3481
3482 2011-11-28 Joel Brobecker <brobecker@adacore.com>
3483
3484 * gdb.ada/fullname_bp: New testcase.
3485
3486 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3487
3488 PR testsuite/12649
3489 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
3490 Wrap send_gdb into a new gdb_test.
3491
3492 Code cleanup.
3493 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
3494 Convert send_gdb and gdb_expect to gdb_test_multiple.
3495
3496 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3497
3498 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
3499
3500 2011-11-23 Keith Seitz <keiths@redhat.com>
3501
3502 * lib/mi-support.exp (varobj_tree): New namespace and procs.
3503 (mi_varobj_tree_test_children_callback): New proc.
3504 (mi_walk_varobj_tree): New proc.
3505
3506 2011-11-22 Tom Tromey <tromey@redhat.com>
3507
3508 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
3509 Add "use_mi_command" argument.
3510 (mi_run_cmd, mi_run_with_cli): New procs.
3511 * gdb.mi/solib-lib.c: New file.
3512 * gdb.mi/solib-main.c: New file.
3513 * gdb.mi/mi-solib.exp: New file.
3514
3515 2011-11-21 Doug Evans <dje@google.com>
3516
3517 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
3518 _Unwind_DebugHook is missing.
3519
3520 2011-11-20 Stan Shebs <stan@codesourcery.com>
3521
3522 * gdb.trace/tstatus.exp: New.
3523 * gdb.trace/actions.c: Include string.h.
3524
3525 2011-11-18 Yao Qi <yao@codesourcery.com>
3526
3527 * gdb.trace/pending.exp: New.
3528 * gdb.trace/pending.c: New.
3529 * gdb.trace/pendshr1.c: New.
3530 * gdb.trace/pendshr2.c: New.
3531 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
3532 tracepoint location becomes pending.
3533 (tracepoint_change_loc_2): New.
3534
3535 2011-11-16 David S. Miller <davem@davemloft.net>
3536
3537 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
3538 target is sparc*-*-linux*
3539
3540 2011-11-15 Paul Koning <paul_koning@dell.com>
3541
3542 * gdb.python/py-type.exp: New testcases for exceptions on scalar
3543 types.
3544
3545 2011-11-14 Doug Evans <dje@google.com>
3546
3547 * gdb.base/shell.exp: New file.
3548
3549 2011-11-14 Stan Shebs <stan@codesourcery.com>
3550
3551 * gdb.trace/ftrace.c: New.
3552 * gdb.trace/ftrace.exp: New.
3553
3554 2011-11-14 Yao Qi <yao@codesourcery.com>
3555
3556 * gdb.trace/change-loc-1.c: New.
3557 * gdb.trace/change-loc-2.c: New.
3558 * gdb.trace/change-loc.c: New.
3559 * gdb.trace/change-loc.exp: New.
3560 * gdb.trace/change-loc.h: New.
3561 * gdb.trace/trace-break.c (marker): Define new symbol.
3562 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
3563 New.
3564 (break_trace_same_addr_6): New.
3565
3566 2011-11-12 Matt Rice <ratmice@gmail.com>
3567
3568 * gdb.base/info-macros.exp: Make tests for info definitions
3569 test info macro. Add tests for info macro argument processing.
3570 Rename a few tests.
3571
3572 2011-11-11 Keith Seitz <keiths@redhat.com>
3573
3574 PR gdb/12843
3575 * gdb.base/linespecs.exp: New file.
3576
3577 2011-11-11 Doug Evans <dje@google.com>
3578
3579 * gdb.threads/print-threads.exp: Extend timeout for slower
3580 tests.
3581
3582 2011-11-10 Doug Evans <dje@google.com>
3583
3584 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
3585 "record to end of main" test.
3586
3587 * gdb.python/py-type.c (TS): New typedef.
3588 (ts): New global.
3589 * gdb.python/py-type.exp: Test field list of typedef.
3590
3591 2011-11-10 Joel Brobecker <brobecker@adacore.com>
3592
3593 * gdb.ada/small_reg_param: New testcase.
3594
3595 2011-11-09 Tom Tromey <tromey@redhat.com>
3596
3597 * gdb.cp/destrprint.exp: New file.
3598 * gdb.cp/destrprint.cc: New file.
3599
3600 2011-11-08 Meador Inge <meadori@codesourcery.com>
3601
3602 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
3603 (switch_stack_to_other): New test function.
3604 * gdb.arch/thumb-prologue.exp: New test cases.
3605
3606 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
3607
3608 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
3609
3610 2011-11-08 Yao Qi <yao@codesourcery.com>
3611
3612 * gdb.exp (supports_process_record): New.
3613 (supports_reverse): New.
3614 * gdb.reverse/break-precsave.exp: Call support_process_record
3615 to run test conditionally.
3616 * gdb.reverse/consecutive-precsave.exp: Likewise.
3617 * gdb.reverse/i386-precsave.exp: Likewise.
3618 * gdb.reverse/machinestate-precsave.exp: Likewise.
3619 * gdb.reverse/solib-precsave.exp: Likewise.
3620 * gdb.reverse/step-precsave.exp: Likewise.
3621 * gdb.reverse/until-precsave.exp: Likewise.
3622 * gdb.reverse/watch-precsave.exp: Likewise.
3623 * gdb.reverse/break-reverse.exp: Call support_reverse to run
3624 test conditionally.
3625 * gdb.reverse/consecutive-reverse.exp: Likewise.
3626 * gdb.reverse/finish-precsave.exp: Likewise.
3627 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3628 * gdb.reverse/finish-reverse.exp: Likewise.
3629 * gdb.reverse/i386-reverse.exp: Likewise.
3630 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3631 * gdb.reverse/machinestate.exp: Likewise.
3632 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
3633 * gdb.reverse/sigall-precsave.exp: Likewise.
3634 * gdb.reverse/sigall-reverse.exp: Likewise.
3635 * gdb.reverse/solib-reverse.exp: Likewise.
3636 * gdb.reverse/step-reverse.exp: Likewise.
3637 * gdb.reverse/until-reverse.exp: Likewise.
3638 * gdb.reverse/watch-reverse.exp: Likewise.
3639
3640 2011-11-05 Yao Qi <yao@codesourcery.com>
3641
3642 * gdb.trace/trace-break.exp: Add test on setting two
3643 fast tracepoints at the same address.
3644
3645 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3646
3647 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
3648
3649 2011-11-02 Stan Shebs <stan@codesourcery.com>
3650
3651 * gdb.trace/collection.c: Add code using strings.
3652 * gdb.trace/collection.exp: Add tests of string collection.
3653
3654 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3655
3656 * gdb.base/skip-solib.exp (executable_main): New variable.
3657 (binfile_main): Base it on that.
3658 Use $executable_main in clean_restart calls. Drop gdb_exit and
3659 gdb_start calls.
3660
3661 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3662
3663 Fix racy FAILs.
3664 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
3665 breakpoint_re globals import by async. Set string_regex to .* for
3666 async. Remove the optional thread_selected_re and breakpoint_re
3667 globals expectations.
3668
3669 2011-11-01 Joseph Myers <joseph@codesourcery.com>
3670
3671 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
3672 well as Cygwin.
3673
3674 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
3675
3676 Add tests for skip command.
3677 * gdb.base/skip-solib-lib.c: New
3678 * gdb.base/skip-solib-main.c: New
3679 * gdb.base/skip-solib.exp: New
3680 * gdb.base/skip.c: New
3681 * gdb.base/skip.exp: New
3682 * gdb.base/skip1.c: New
3683 * gdb.base/Makefile.in: Adding new files.
3684
3685 2011-10-31 Yao Qi <yao@codesourcery.com>
3686 Pedro Alves <pedro@codesourcery.com>
3687
3688 * gdb.trace/trace-break.c: New.
3689 * gdb.trace/trace-break.exp: New.
3690
3691 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3692
3693 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
3694 break-here-2.
3695
3696 2011-10-28 Pedro Alves <pedro@codesourcery.com>
3697
3698 * gdb.threads/no-unwaited-for-left.c: New.
3699 * gdb.threads/no-unwaited-for-left.exp: New.
3700 * gdb.threads/non-ldr-exc-1.c: New.
3701 * gdb.threads/non-ldr-exc-1.exp: New.
3702 * gdb.threads/non-ldr-exc-2.c: New.
3703 * gdb.threads/non-ldr-exc-2.exp: New.
3704 * gdb.threads/non-ldr-exc-3.c: New.
3705 * gdb.threads/non-ldr-exc-3.exp: New.
3706 * gdb.threads/non-ldr-exc-4.c: New.
3707 * gdb.threads/non-ldr-exc-4.exp: New.
3708
3709 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3710
3711 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
3712 * gdb.base/attach-pie-misread.exp: Likewise.
3713 * gdb.base/break-interp.exp: Likewise.
3714 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
3715 testcases for use_gdb_stub.
3716 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
3717 (continue): New testcase.
3718 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
3719 * gdb.threads/attach-into-signal.exp: Likewise.
3720 * gdb.threads/attach-stopped.exp: Likewise.
3721 * gdb.threads/attachstop-mt.exp: Likewise.
3722
3723 2011-10-28 Paul Koning <paul_koning@dell.com>
3724
3725 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
3726
3727 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3728
3729 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
3730 (mi_gdb_test): Import globals thread_selected_re
3731 and breakpoint_re. Expect them optionally at the regex start.
3732
3733 2011-10-27 Doug Evans <dje@google.com>
3734
3735 * gdb.python/python.exp: Test source -s.
3736
3737 2011-10-26 Paul Koning <paul_koning@dell.com>
3738
3739 * gdb.python/lib-types.cc (struct A): New structure.
3740 * gdb.python/lib-types.exp (deepitems): New tests.
3741
3742 2011-10-25 Paul Koning <paul_koning@dell.com>
3743
3744 PR python/13327
3745
3746 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
3747 fetch_lazy method.
3748
3749 2011-10-24 Yao Qi <yao@codesourcery.com>
3750
3751 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
3752 target is tic6x-*-*.
3753
3754 2011-10-21 Joel Brobecker <brobecker@adacore.com>
3755
3756 * gdb.ada/mi_task_info/task_switch.adb: New file.
3757 * gdb.ada/mi_task_info.exp: New file.
3758
3759 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3760
3761 * gdb.cp/expand-psymtabs-cxx.exp: New file.
3762 * gdb.cp/expand-psymtabs-cxx.cc: New file.
3763
3764 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
3765
3766 PR python/12656
3767
3768 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
3769 global_block tests.
3770
3771 2011-10-18 Tom Tromey <tromey@redhat.com>
3772
3773 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
3774
3775 2011-10-18 Tom Tromey <tromey@redhat.com>
3776
3777 * gdb.base/source.exp: Don't include full file name in test name.
3778 * gdb.python/python.exp: Don't include full file name in test
3779 name.
3780
3781 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3782
3783 * gdb.base/attach-pie-noexec.c: New files.
3784 * gdb.base/attach-pie-noexec.exp: New files.
3785
3786 2011-10-17 Joseph Myers <joseph@codesourcery.com>
3787
3788 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
3789 prompt for each extra line in command.
3790
3791 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3792
3793 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
3794 Revert the part of:
3795 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3796 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
3797 Change the expected string.
3798
3799 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3800
3801 Fix results with system glibc debug info installed.
3802 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
3803 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
3804 Accept also __libc_ symbol prefix and no prefix.
3805
3806 2011-10-14 Keith Seitz <keiths@redhat.com>
3807
3808 PR c++/13225
3809 * gdb.cp/converts.cc (foo3_1): New function.
3810 (foo3_2): New functions.
3811 * gdb.cp/converts.exp: Add tests for int to pointer conversion
3812 and null pointer conversions of integer constant zero.
3813 Add test to check if all arguments are checked for incompatible
3814 conversion BADNESS.
3815
3816 2011-10-14 Tom Tromey <tromey@redhat.com>
3817
3818 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
3819 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
3820 linespec.
3821
3822 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3823
3824 Fix internal error regression.
3825 * gdb.dwarf2/implptr-optimized-out.S: New file.
3826 * gdb.dwarf2/implptr-optimized-out.exp: New file.
3827
3828 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3829
3830 Fix empty DWARF expressions DATA vs. SIZE conditionals.
3831 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
3832 (loclist): New.
3833 (4): New abbrev.
3834 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
3835 Use prepare_for_testing, remove clean_restart.
3836 (p arraynoloc, p arraycallnoloc): New tests.
3837
3838 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3839
3840 * gdb.cp/namespace-enum.exp (executable): New variable.
3841 (binfile): Use ${objdir}/${subdir}/ prefix.
3842 Use ${executable} for clean_restart.
3843
3844 2011-10-11 Sterling Augustine <saugustine@google.com>
3845
3846 * gdb.cp/Makefile.in: Add namespace-enum test.
3847 * gdb.cp/namespace-enum.exp: New file.
3848 * gdb.cp/namespace-enum.c: New file.
3849 * gdb.cp/namespace-enum-main.c: New file.
3850
3851 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
3852
3853 * gdb.python/py-shared.exp: Relax filename check to handle remote:
3854 sysroot.
3855
3856 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3857
3858 Reimplement @entry in input expressions.
3859 * gdb.base/exprs.c (v_int_array_init): New variable.
3860 * gdb.base/exprs.exp (print v_int_array_init)
3861 (print *v_int_array_init@1, print *v_int_array_init@2)
3862 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
3863 (print v_int_array_init[1]@1): New tests.
3864
3865 2011-10-10 Joseph Myers <joseph@codesourcery.com>
3866
3867 * gdb.cp/gdb2495.exp: Do not include directories in filename in
3868 expected message.
3869
3870 2011-10-09 Doug Evans <dje@google.com>
3871
3872 * gdb.base/alias.exp: Add tests for alias command.
3873
3874 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3875
3876 * gdb.arch/amd64-entry-value.s: New file.
3877 * gdb.mi/mi2-amd64-entry-value.s: New file.
3878
3879 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3880
3881 Display @entry parameter values even for references.
3882 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
3883 functions.
3884 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
3885 reference and datap_input.
3886 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
3887 breakpoints.
3888 (continue to breakpoint: entry_reference: reference)
3889 (entry_reference: bt at entry)
3890 (continue to breakpoint: entry_reference: breakhere_reference)
3891 (entry_reference: bt, entry_reference: ptype regparam)
3892 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
3893 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
3894 (entry_reference: p regcopy, entry_reference: p nodataparam)
3895 (entry_reference: p nodataparam@entry): New tests.
3896
3897 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3898
3899 Support @entry in input expressions.
3900 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
3901 (entry_stack: p s1@entry, entry_stack: p s2@entry)
3902 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
3903 (tailcall: p j@entry): New tests.
3904 * gdb.cp/koenig.cc (A::entry): New function.
3905 (main): Call it.
3906 * gdb.cp/koenig.exp (p entry (c)): New test.
3907
3908 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3909
3910 Display @entry parameter values (without references).
3911 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
3912 (different, validity, invalid): New functions.
3913 (main): Call them.
3914 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
3915 stacktest, breakhere_stacktest, different, breakhere_different,
3916 breakhere_validity and breakhere_invalid.
3917 (entry: bt): Update for @entry.
3918 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
3919 (entry_validity: *, entry_invalid: *): Many new tests.
3920 * gdb.base/break.exp
3921 (run until breakpoint set at small function, optimized file): Accept
3922 also the @entry suffix.
3923 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
3924 * gdb.mi/mi2-amd64-entry-value.c: New files.
3925 * gdb.mi/mi2-amd64-entry-value.exp: New files.
3926
3927 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3928
3929 Protect entry values against self tail calls.
3930 * gdb.arch/amd64-entry-value.cc (self2, self): New.
3931 (main): Call self.
3932 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
3933 (set debug entry-values 1, self: bt debug entry-values): New tests.
3934
3935 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3936
3937 Recognize virtual tail call frames.
3938 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
3939 (amb_b, amb_a): New.
3940 (main): Call a and b.
3941 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
3942 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
3943 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
3944 New tests.
3945
3946 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3947
3948 Implement basic support for DW_TAG_GNU_call_site.
3949 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
3950 * gdb.arch/amd64-entry-value.cc: New file.
3951 * gdb.arch/amd64-entry-value.exp: New file.
3952
3953 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3954
3955 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
3956 * gdb.dwarf2/implptr-64bit.S: New file.
3957 * gdb.dwarf2/implptr-64bit.exp: New file.
3958
3959 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3960
3961 Fix initial language detection with -readnow.
3962 * gdb.cp/readnow-language.cc: New file.
3963 * gdb.cp/readnow-language.exp: New file.
3964
3965 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3966
3967 Fix printed anonymous struct name.
3968 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
3969
3970 2011-10-09 Joseph Myers <joseph@codesourcery.com>
3971
3972 * gdb.base/solib-symbol.exp: Do not include directories in
3973 filenames in expected messages.
3974
3975 2011-10-07 Doug Evans <dje@google.com>
3976
3977 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
3978
3979 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
3980
3981 Allow Python notification of new object-file loadings.
3982 * gdb.python/py-events.exp: Test newobjfile event.
3983 * gdb.python/py-events.py: Register newobjfile callback.
3984 * gdb.python/py-events.c: Add call to shared library
3985 * gdb.python/py-events-shlib.c: New file.
3986
3987 2011-10-06 Joseph Myers <joseph@codesourcery.com>
3988
3989 * gdb.base/fixsection.exp: Do not include directories in filename
3990 in expected message.
3991
3992 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3993
3994 Add tests for passing of environment variables to inferior.
3995 * gdb.base/testenv.c: New test source.
3996 * gdb.base/testenv.exp: New expect test.
3997
3998 2011-10-04 Paul Koning <paul_koning@dell.com>
3999
4000 * gdb.python/py-value.c (main): Break before return.
4001
4002 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
4003
4004 PR python/12691: Add the inferior to Python exited event
4005 * gdb.python/py-events.exp: Test the inferior attribute of exited
4006 event with a fork.
4007 * gdb.python/py-events.py: Print inferior number on exit.
4008 * gdb.python/py-events.c: Fork the inferior.
4009
4010 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4011
4012 * gdb.base/jit.exp: Add testcase name to log message
4013
4014 2011-10-03 Paul Koning <paul_koning@dell.com>
4015 Jan Kratochvil <jan.kratochvil@redhat.com>
4016
4017 * gdb.python/py-value.exp
4018 (python inval = gdb.parse_and_eval('*(int*)0'))
4019 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
4020 (set argc=2, python print argc_lazy): New tests.
4021
4022 2011-10-02 Joel Brobecker <brobecker@adacore.com>
4023
4024 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
4025
4026 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4027 Pedro Alves <pedro@codesourcery.com>
4028
4029 * gdb.python/py-value.exp (test_value_in_inferior): New variable
4030 can_read_0, test for it.
4031 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
4032 (parse_and_eval with memory error): ... here, make it untested if
4033 can_read_0.
4034
4035 2011-09-30 Marek Polacek <mpolacek@redhat.com>
4036
4037 * gdb.python/python.exp (verify pagination beforehand)
4038 (verify pagination afterwards): Fix race by splitting the line.
4039
4040 2011-09-29 Joseph Myers <joseph@codesourcery.com>
4041
4042 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
4043 for 64-bit multilibs from i?86-* targets.
4044
4045 2011-09-29 Marek Polacek <mpolacek@redhat.com>
4046
4047 * lib/gdb.exp: Fix a typo in one of the comments.
4048
4049 2011-09-29 Marek Polacek <mpolacek@redhat.com>
4050
4051 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
4052 matching pattern.
4053
4054 2011-09-28 Paul Koning <paul_koning@dell.com>
4055
4056 * gdb.python/py-type.c (enum E): New.
4057 * gdb.python/py-type.exp (test_fields): Add tests for Python
4058 mapping access to fields.
4059 (test_enums): New test for field access on enums.
4060
4061 2011-09-27 Stan Shebs <stan@codesourcery.com>
4062
4063 * gdb.trace/collection.exp: Test collection of $_ret.
4064
4065 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
4066
4067 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
4068 list of compilation switches for <*-*-freebsd*>.
4069
4070 2011-09-19 Stan Shebs <stan@codesourcery.com>
4071
4072 * gdb.trace/tspeed.exp: New file.
4073 * gdb.trace/tspeed.c: New file.
4074
4075 2011-09-18 Yao Qi <yao@codesourcery.com>
4076
4077 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
4078 instructions.
4079 (test_adr_32bit, test_pop_pc): Likewise.
4080 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
4081 Thumb instructions.
4082 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
4083 in gdb_test_multiple.
4084 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
4085
4086 2011-09-17 Yao Qi <yao@codesourcery.com>
4087
4088 * lib/gdb.exp (can_single_step_to_signal_handler): New.
4089 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
4090 support single step to signal handler.
4091
4092 2011-09-17 Yao Qi <yao@codesourcery.com>
4093
4094 * gdb.base/disp-step-fork.c: New.
4095 * gdb.base/disp-step-syscall.exp: New.
4096 * gdb.base/disp-step-vfork.c: New.
4097
4098 2011-09-16 Joel Brobecker <brobecker@adacore.com>
4099
4100 * gdb.ada/tasks.exp: Make the expected output for
4101 the `info tasks' tests more resilient to spacing
4102 changes.
4103
4104 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4105
4106 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
4107 (reached breakpoint 2, reached breakpoint 3): Update expected output.
4108
4109 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
4110
4111 PR Python/12692 Add gdb.selected_inferior() to Python interface.
4112 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
4113
4114 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
4115
4116 Handle multiple breakpoint hits in Python interface:
4117 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
4118 presence.
4119 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
4120 breakpoint hits.
4121
4122 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4123 Jan Kratochvil <jan.kratochvil@redhat.com>
4124
4125 * gdb.python/py-events.exp: Remove pretty printing comment.
4126 * gdb.python/py-evsignal.exp: New file.
4127 * gdb.python/py-evthreads.c: Include signal.h.
4128 (thread3): Remove variable count3. Remove variable bad and use raise
4129 instead.
4130 (thread2): Remove variable count2. Move thread3 pthread_create here,
4131 merge pthread_join to a single line.
4132 (main): Remove variable count1. Merge pthread_join with pthread_create
4133 to a single line.
4134 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
4135 KFAIL python/12966 for gdbserver. Test return value of
4136 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
4137 gdb_expect by gdb_test and gdb_test_multiple.
4138 (thread 2, thread 3): New tests.
4139
4140 2011-09-12 Matt Rice <ratmice@gmail.com>
4141 Pedro Alves <pedro@codesourcery.com>
4142
4143 PR gdb/13175
4144
4145 * gdb.base/interp.exp: New tests.
4146 * gdb.base/interp.c: New file.
4147
4148 2011-09-12 Doug Evans <dje@google.com>
4149
4150 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
4151 * gdb.dwarf2/typeddwarf.exp: Ditto.
4152
4153 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4154
4155 Fix compatibility with x32 arch.
4156 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
4157 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
4158 is_x86_like_target.
4159 * testsuite/gdb.trace/collection.exp: Likewise.
4160 * testsuite/gdb.trace/report.exp: Likewise.
4161 * testsuite/gdb.trace/unavailable.exp: Likewise.
4162 * testsuite/gdb.trace/while-dyn.exp: Likewise.
4163 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
4164 (is_x86_like_target): Check also is_amd64_regs_target.
4165
4166 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4167
4168 PR breakpoints/12435
4169 * gdb.arch/amd64-prologue-xmm.c: New file.
4170 * gdb.arch/amd64-prologue-xmm.exp: New file.
4171 * gdb.arch/amd64-prologue-xmm.s: New file.
4172
4173 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4174
4175 * gdb.dwarf2/dw2-param-error-main.c: New file.
4176 * gdb.dwarf2/dw2-param-error.S: New file.
4177 * gdb.dwarf2/dw2-param-error.exp: New file.
4178
4179 2011-09-08 Pedro Alves <pedro@codesourcery.com>
4180
4181 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
4182 inferior's pid and look for a core dump named core.$pid. Use
4183 `remote_file' commands on the host instead of hand coding shell
4184 commands on the build.
4185 * gdb.base/valgrind-db-attach.exp: Kill the program before
4186 finishing the test.
4187
4188 2011-09-02 Matt Rice <ratmice@gmail.com>
4189
4190 * lib/prompt.exp: New file for testing the first prompt.
4191 * gdb.python/py-prompt.exp: Ditto.
4192 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
4193
4194 2011-09-02 Pedro Alves <pedro@codesourcery.com>
4195
4196 * gdb.threads/gcore-thread.exp: Set the global core_supported to
4197 0, before testing gcore.
4198
4199 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4200
4201 * dw2-ifort-parameter-debug.S: Update copyright year.
4202 * dw2-ifort-parameter.c: Update copyright year.
4203 * dw2-ifort-parameter.exp: Update copyright year.
4204
4205 * dw2-ifort-parameter-debug.S: New file.
4206 * dw2-ifort-parameter.c: New file.
4207 * dw2-ifort-parameter.exp: New file.
4208
4209 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4210
4211 * gdb.base/commands.exp (error_clears_commands_left): New function.
4212 (): Call it.
4213
4214 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4215
4216 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
4217 (C): Initialize `a'.
4218 * gdb.mi/mi-inheritance-syntax-error.exp
4219 (-data-evaluate-expression $path): Expect `a' as 5.
4220
4221 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
4222
4223 PR mi/11912
4224 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
4225 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
4226 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
4227 keyword in output of -var-info-path-expression.
4228
4229 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4230
4231 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
4232 * gdb.trace/collection.exp: Likewise.
4233 * gdb.trace/report.exp: Likewise.
4234 * gdb.trace/unavailable.exp: Likewise.
4235 * gdb.trace/while-dyn.exp: Likewise.
4236
4237 2011-08-18 Keith Seitz <keiths@redhat.com>
4238
4239 PR c++/12266
4240 * gdb.cp/meth-typedefs.cc: New file.
4241 * gdb.cp/meth-typedefs.exp: New file.
4242
4243 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
4244
4245 * gdb.python/python.exp: Add extended-prompt tests.
4246
4247 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4248
4249 * gdb.arch/i386-dr3-watch.exp
4250 (watchpoint on gap1 does not fit debug registers)
4251 (delete all watchpoints): Fix racy expect strings.
4252
4253 2011-08-14 Yao Qi <yao@codesourcery.com>
4254
4255 * gdb.base/maint.exp: set data_section to ".neardata".
4256 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
4257 * gdb.base/savedregs.exp: Handle SIGILL.
4258 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
4259 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
4260
4261 2011-08-12 Doug Evans <dje@google.com>
4262
4263 * gdb.python/py-symbol.exp: Add test for symbol.type.
4264
4265 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
4266
4267 * gdb.threads/pthreads.exp: Enable on non-native configurations.
4268 * gdb.mi/mi-pthreads.exp: Likewise.
4269 * gdb.mi/mi2-pthreads.exp: Likewise.
4270 * gdb.mi/gdb669.exp.exp: Likewise.
4271
4272 2011-08-09 Pedro Alves <pedro@codesourcery.com>
4273
4274 * lib/mi-support.exp (detect_async): Rename to...
4275 (mi_detect_async): ... this.
4276 * gdb.mi/mi-nonstop-exit.exp: Adjust.
4277 * gdb.mi/mi-nonstop.exp: Adjust.
4278 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
4279 * gdb.mi/mi-nsintrall.exp: Adjust.
4280 * gdb.mi/mi-nsmoribund.exp: Adjust.
4281 * gdb.mi/mi-nsthrexec.exp: Adjust.
4282
4283 2011-08-09 Pedro Alves <pedro@codesourcery.com>
4284
4285 * gdb.base/display.c (do_loops): New `p_i' local.
4286 * gdb.base/display.exp: Test displaying a variable that is
4287 temporarily at a bad address.
4288
4289 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4290
4291 * gdb.dwarf2/dw2-op-stack-value.S: New file.
4292 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
4293
4294 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4295
4296 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
4297 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
4298 (p fuNC_symtab): Permit also ppc64 leading dot.
4299
4300 2011-08-05 Pedro Alves <pedro@codesourcery.com>
4301
4302 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
4303 procedure.
4304 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
4305
4306 2011-08-05 Yao Qi <yao@codesourcery.com>
4307
4308 * gdb.base/callfuncs.exp: Set language after main.
4309 * gdb.cp/cplusfuncs.exp: Likewise.
4310 * gdb.cp/inherit.exp: Likewise.
4311
4312 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4313
4314 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
4315 * gdb.base/watch-vfork.exp: Skip on remote targets.
4316
4317 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4318
4319 * gdb.threads/thread-find.exp: Support remote targets.
4320
4321 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4322
4323 * gdb.base/jit.exp: Download solib_binfile to target.
4324 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
4325 and call dlopen without full path name.
4326 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
4327 dlopen without full path name.
4328
4329 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4330
4331 * gdb.base/break-always.exp: Complete the test
4332 with duplicated breakpoints and enabling/disabling them.
4333
4334 2011-08-02 Tom Tromey <tromey@redhat.com>
4335
4336 PR gdb/11289:
4337 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
4338
4339 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4340
4341 PR gdb/13045
4342 * gdb.base/float.exp: Add new test case for PR gdb/13045
4343 * gdb.base/float.c: New file.
4344
4345 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
4346
4347 * gdb.python/py-mi.exp: Test printers returning string hint, and
4348 also not returning a value.
4349 * gdb.python/py-prettyprint.c: Add testcase for above.
4350 * gdb.python/py-prettyprint.py: Add test printer for above.
4351
4352 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4353
4354 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
4355 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
4356 (.Ldie30) Add as field "data4".
4357 (.Ldie32) Rename field "b" to "shl".
4358 (abbrev4) Change for the "data4" field.
4359 (abbrev5, abbrev6) Remove.
4360 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
4361 (p &s.shl): ... here. Add comment.
4362 (p &s.data4): New.
4363
4364 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4365
4366 Fix crash on lval_computed values.
4367 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
4368
4369 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4370
4371 * gdb.base/help.exp (help whatis): Update the expected string.
4372
4373 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4374
4375 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
4376 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
4377 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
4378 Change the expected string.
4379
4380 2011-07-26 Pedro Alves <pedro@codesourcery.com>
4381
4382 * gdb.base/watchpoint.exp
4383 (test_disable_enable_software_watchpoint): New procedure.
4384 (top level): Run it.
4385
4386 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
4387
4388 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
4389 executable file "${binfile}", C++ version "${binfile}-cxx".
4390 * gdb.python/py-prettyprint.exp: Likewise.
4391 * gdb.python/py-symbol.exp: Likewise.
4392 * gdb.python/py-type.exp: Likewise.
4393 * gdb.python/py-value.exp: Likewise.
4394 * gdb.python/py-template.exp (test_template_arg): Pass full executable
4395 file name instead of just suffix.
4396
4397 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4398
4399 Fix implicit pointer offsets.
4400 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
4401 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
4402 (continue to breakpoint: continue to baz breakpoint for implptr)
4403 (sanity check element 0, sanity check element 1)
4404 (enter the inlined function, check element 0 for the offset)
4405 (check element 1 for the offset)
4406 (continue to breakpoint: ignore the second baz breakpoint): New tests.
4407 (set foo breakpoint for implptr): Update the breakpoint number.
4408
4409 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4410
4411 * gdb.python/py-mi.exp: Use different file names for different
4412 versions of the executable under test.
4413 * gdb.python/py-prettyprint.exp: Likewise.
4414 * gdb.python/py-symbol.exp: Likewise.
4415 * gdb.python/py-template.exp: Likewise.
4416 * gdb.python/py-type.exp: Likewise.
4417 * gdb.python/py-value.exp: Likewise.
4418
4419 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4420
4421 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
4422 flag after restarting GDB if necessary.
4423
4424 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4425
4426 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
4427
4428 2011-07-22 Pedro Alves <pedro@codesourcery.com>
4429
4430 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
4431 backend doesn't leave used debug registers behind.
4432
4433 2011-07-22 Tom Tromey <tromey@redhat.com>
4434
4435 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
4436 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
4437 argument.
4438 * gdb.dwarf2/typeddwarf-amd64.S: New file.
4439
4440 2011-07-21 Matt Rice <ratmice@gmail.com>
4441
4442 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
4443 in mostlyclean rule. Add files ending in .core.
4444
4445 2011-07-21 Matt Rice <ratmice@gmail.com>
4446
4447 PR macros/12999
4448 * gdb.base/info-macros.c: New test sources.
4449 * gdb.base/info-macros.exp: New tests.
4450
4451 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
4452
4453 * gdb.python/python.exp: Add prompt substitution tests.
4454
4455 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4456
4457 Fix crash if referenced CU is aged out.
4458 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
4459 New.
4460 * gdb.dwarf2/implptr.exp: Likewise.
4461
4462 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4463
4464 * gdb.dwarf2/implptr.S: Rebuilt.
4465 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
4466 (bar): Use them for j, k, l.
4467 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
4468 COMPILE.
4469 (print j in implptr:bar): Update for the intp typedef.
4470 (print p[0].x in implptr:foo): Use more exact regex.
4471
4472 2011-07-18 Tom Tromey <tromey@redhat.com>
4473
4474 * gdb.cp/static-method.exp: Add missing single quote.
4475
4476 2011-07-18 Yao Qi <yao@codesourcery.com>
4477
4478 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
4479 supported.
4480 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4481 * gdb.mi/mi-nonstop.exp: Likewise.
4482 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4483 * gdb.mi/mi-nsintrall.exp: Likewise.
4484 * gdb.mi/mi-nsmoribund.exp: Likewise.
4485 * gdb.mi/mi-nsthrexec.exp: Likewise.
4486 * gdb.python/py-evthreads.exp: Likewise.
4487
4488 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4489
4490 Code cleanup.
4491 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
4492 it. Substitute it instead of test_compiler_info everywhere.
4493
4494 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4495
4496 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
4497 remote targets as well.
4498
4499 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4500
4501 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
4502 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
4503
4504 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4505
4506 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
4507 a remote machine, not the host.
4508 (gdb_compile_shlib): Set soname if target is remote.
4509
4510 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4511
4512 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
4513
4514 2011-07-13 Matt Rice <ratmice@gmail.com>
4515
4516 * gdb.python/py-objfile-script-gdb.py: Renamed to
4517 py-objfile-script-gdb.py.in.
4518 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
4519 py-objfile-script-gdb.py.
4520 * gdb.python/py-objfile-script.exp: Update reference to
4521 py-objfile-script-gdb.py.
4522
4523 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4524
4525 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
4526 reference undefined label.
4527
4528 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4529
4530 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
4531 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
4532 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
4533 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
4534
4535 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
4536
4537 PR python/12438
4538 * gdb.python/python.exp: Add maint set/show python print-stack
4539 deprecated tests. Add set/show python print-backtrace tests.
4540
4541 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4542
4543 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
4544 debug info.
4545
4546 2011-07-06 Matt Rice <ratmice@gmail.com>
4547
4548 * gdb.python/python.exp: Update filename paths.
4549 * gdb.python/py-symtab.exp: Ditto.
4550
4551 2011-07-06 Marek Polacek <mpolacek@redhat.com>
4552
4553 * gdb.python/py-evthreads.exp: Add missing `$'.
4554
4555 2011-07-06 Jie Zhang <jie.zhang@analog.com>
4556
4557 * config/bfin.exp: New file.
4558 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
4559 * gdb.asm/bfin.inc: New file.
4560
4561 2011-07-06 Marek Polacek <mpolacek@redhat.com>
4562
4563 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
4564 the whole output.
4565
4566 2011-07-05 Tom Tromey <tromey@redhat.com>
4567
4568 * gdb.java/jprint.java (jprint.hi): New field.
4569 * gdb.java/jprint.exp: Print string.
4570
4571 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
4572
4573 * gdb.base/call-sc.c: Fix typos.
4574 * gdb.base/ifelse.exp: Likewise.
4575 * gdb.base/structs.c: Likewise.
4576
4577 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4578
4579 * gdb.base/jit-so.exp: New test.
4580 * gdb.base/jit-dlmain.c: New file.
4581 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
4582
4583 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 * gdb.cp/m-static.exp: Call get_compiler_info.
4586 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
4587 * gdb.cp/pr9167.exp (p b): Likewise.
4588 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
4589 (test value of P in inner_m, test type of Z in inner_m): Call
4590 setup_xfail for gcc <= 4.5.
4591
4592 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4593
4594 * gdb.cp/paren-type.cc: New files.
4595 * gdb.cp/paren-type.exp: New files.
4596
4597 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4598
4599 Stop on first linespec terminator instead of eating what we can.
4600 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
4601 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
4602 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
4603 (break C::f()): ... this one.
4604 (break C::operator()()): New test.
4605 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
4606 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
4607 test.
4608
4609 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4610
4611 Fall back linespec to minimal symbols.
4612 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
4613 error message.
4614 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
4615 * gdb.cp/minsym-fallback-main.cc: New file.
4616 * gdb.cp/minsym-fallback.cc: New file.
4617 * gdb.cp/minsym-fallback.exp: New file.
4618 * gdb.cp/minsym-fallback.h: New file.
4619
4620 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4621
4622 * gdb.cp/no-dmgl-verbose.cc: New file.
4623 * gdb.cp/no-dmgl-verbose.exp: New file.
4624
4625 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4626
4627 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
4628 __GI_.
4629 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
4630 (f): New function.
4631 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
4632 (complete p 'func<short>(): ... here.
4633 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
4634 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
4635 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
4636 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
4637 Make them KFAIL gcc/49546.
4638
4639 2011-07-01 Joel Brobecker <brobecker@adacore.com>
4640
4641 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
4642
4643 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4644
4645 Test GCC PR debug/49546.
4646 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
4647 (test type of F in k3_m, test value of F in k3_m): New.
4648 * gdb.cp/temargs.cc (struct S3, struct K3): New.
4649 (main): New variable k3. Call k3.k3_m.
4650
4651 2011-07-01 Jean-Charles Delay <delay@adacore.com>
4652
4653 * gdb.ada/packed_array.exp: Fix expected outout.
4654
4655 2011-07-01 Jean-Charles Delay <delay@adacore.com>
4656
4657 * gdb.ada/packed_array.exp: fixed expected output.
4658
4659 2011-07-01 Joel Brobecker <brobecker@adacore.com>
4660
4661 * gdb.ada/same_enum: New testcase.
4662
4663 2011-07-01 Joel Brobecker <brobecker@adacore.com>
4664
4665 * gdb.ada/ptr_typedef: New testcase.
4666
4667 2011-07-01 Joel Brobecker <brobecker@adacore.com>
4668
4669 * gdb.ada/arrayptr.exp: Add ptype test.
4670
4671 2011-07-01 Joel Brobecker <brobecker@adacore.com>
4672
4673 * gdb.ada/char_enum: New testcase.
4674
4675 2011-07-01 Yao Qi <yao@codesourcery.com>
4676
4677 * gdb.base/dump.exp (capture_pointer_with_type): New.
4678 Get value from address instead of name.
4679 Start GDB once, and do `dump' and `restore'
4680 tests together.
4681
4682 2011-06-30 Jie Zhang <jie.zhang@analog.com>
4683 Mike Frysinger <vapier@gentoo.org>
4684
4685 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
4686 helper functions for getting/setting remotetimeout variable.
4687 * lib/gdb.exp (gdb_load): If the target is remote, set
4688 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
4689 with $loadtimeout. Set $load_ok to 0 before doing the load.
4690 Instead of returning, immediately, set $load_ok to 0. Call
4691 set_remotetimeout with $oldremotetimeout, and then return if
4692 $load_ok is 1.
4693
4694 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
4695
4696 * gdb.python/py-template.exp: Don't run this test if the target
4697 does not support c++ tests.
4698
4699 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4700
4701 Fix non-only rename list for Fortran modules import.
4702 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
4703 tests.
4704 * gdb.fortran/module.f90 (module moduse): New.
4705 (program module): use moduse, test var_x, var_y and var_z.
4706
4707 2011-06-29 Tom Tromey <tromey@redhat.com>
4708
4709 PR testsuite/12040:
4710 * gdb.fortran/array-element.exp: Use f90, not f77.
4711 * gdb.fortran/complex.exp: Use f90, not f77.
4712 * gdb.fortran/derived-type.exp: Use f90, not f77.
4713 * gdb.fortran/library-module.exp: Use f90, not f77.
4714 * gdb.fortran/logical.exp: Use f90, not f77.
4715 * gdb.fortran/module.exp: Use f90, not f77.
4716 * gdb.fortran/multi-dim.exp: Use f90, not f77.
4717 * gdb.fortran/subarray.exp: Use f90, not f77.
4718
4719 2011-06-29 Tom Tromey <tromey@redhat.com>
4720
4721 * gdb.fortran/charset.exp: New file.
4722 * gdb.fortran/charset.f90: New file.
4723
4724 2011-06-29 Tom Tromey <tromey@redhat.com>
4725
4726 PR testsuite/12040:
4727 * lib/future.exp: New file, mostly extracted from ada.exp.
4728 Rewrote compatibility code to use rename.
4729 (gdb_find_gfortran): New proc.
4730 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
4731 gfortran patch.
4732 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
4733 Move to future.exp.
4734 * lib/gdb.exp: Always load future.exp.
4735
4736 2011-06-28 Yao Qi <yao@codesourcery.com>
4737
4738 * gdb.cp/exception.cc: Don't include iostream.
4739 (bar): Remove print statement.
4740 (catcher): New.
4741 (main): Remove print statements. Call function catcher.
4742 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
4743 Set breakpoint on catcher, and check the value of parameter.
4744
4745 2011-06-23 Yao Qi <yao@codesourcery.com>
4746
4747 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
4748 1.2 is disabled. KFAIL for uclinux.
4749
4750 2011-06-23 Marek Polacek <mpolacek@redhat.com>
4751
4752 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
4753 mi_gdb_test.
4754
4755 2011-06-23 Marek Polacek <mpolacek@redhat.com>
4756
4757 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
4758
4759 2011-06-23 Marek Polacek <mpolacek@redhat.com>
4760
4761 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
4762
4763 2011-06-23 Marek Polacek <mpolacek@redhat.com>
4764
4765 * gdb.mi/mi2-basics.exp: Fix races. Honour the
4766 `test_exec_and_symbol_mi_operatons' return value.
4767 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4768 gdb_test_multiple.
4769 (test_exec_and_symbol_mi_operatons): Likewise.
4770 (test_path_specification): Likewise.
4771
4772 2011-06-23 Yao Qi <yao@codesourcery.com>
4773
4774 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
4775 supported.
4776 * lib/gdb.exp (support_displaced_stepping): New.
4777
4778 2011-06-23 Yao Qi <yao@codesourcery.com>
4779
4780 * gdb.threads/execl.exp: Skip on remote target.
4781
4782 2011-06-21 Marek Polacek <mpolacek@redhat.com>
4783
4784 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
4785 mi_gdb_test.
4786
4787 2011-06-20 Marek Polacek <mpolacek@redhat.com>
4788
4789 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
4790
4791 2011-06-20 Marek Polacek <mpolacek@redhat.com>
4792
4793 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
4794 mi_gdb_test.
4795
4796 2011-06-20 Marek Polacek <mpolacek@redhat.com>
4797
4798 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
4799
4800 2011-06-14 Yao Qi <yao@codesourcery.com>
4801
4802 gdb/testsuite/
4803 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
4804
4805 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4806
4807 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
4808
4809 2011-06-10 Tom Tromey <tromey@redhat.com>
4810
4811 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
4812 Add tests for pointer-to-member-function.
4813 * gdb.cp/temargs.cc (S::somefunc): New function.
4814 (K2): New class.
4815 (main): Instantiate K2; call method.
4816
4817 2011-06-08 Joel Brobecker <brobecker@adacore.com>
4818
4819 * gdb.python/py-inferior.c (f2): Make str an array rather
4820 than a pointer.
4821 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
4822
4823 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4824
4825 * gdb.base/async-shell.c: New file.
4826 * gdb.base/async-shell.exp: New file.
4827
4828 2011-06-06 Pedro Alves <pedro@codesourcery.com>
4829
4830 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
4831
4832 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
4833
4834 From Stephen Kitt <steve@sk2.org>
4835 * gdb.base/help.exp: Adjust following some spelling corrections
4836 in GDB.
4837
4838 2011-06-01 Yao Qi <yao@codesourcery.com>
4839
4840 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
4841
4842 2010-05-31 Keith Seitz <keiths@redhat.com>
4843
4844 PR c++/12750
4845 * gdb.cp/static-method.cc: New file.
4846 * gdb.cp/static-method.exp: New file.
4847
4848 2010-05-31 Keith Seitz <keiths@redhat.com>
4849
4850 PR symtab/12704
4851 * gdb.cp/anon-ns.cc: New file.
4852 * gdb.cp/anon-ns.exp: New file.
4853
4854 2011-05-31 Pedro Alves <pedro@codesourcery.com>
4855
4856 * gdb.arch/i386-dr3-watch.c: New file.
4857 * gdb.arch/i386-dr3-watch.exp: New file.
4858
4859 2011-05-30 Yao Qi <yao@codesourcery.com>
4860
4861 * gdb.base/callfuncs.c (t_structs_fc): New.
4862 (t_structs_dc, t_structs_ldc): New.
4863 (t_double_many_args):
4864 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
4865 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
4866 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
4867 * gdb.base/callfuncs.exp: Call new functions.
4868
4869 2011-05-30 Yao Qi <yao@codesourcery.com>
4870
4871 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
4872 Call rerun_and_prepare for each test to isolate effects.
4873
4874 2011-05-30 Yao Qi <yao@codesourcery.com>
4875
4876 * gdb.base/varargs.c (find_max_float_real): New.
4877 (find_max_double_real, find_max_long_double_real): New.
4878 * gdb.base/varargs.exp: Call these new added functions.
4879 * lib/gdb.exp (setup_kfail_for_target): New.
4880
4881 2011-05-30 Yao Qi <yao@codesourcery.com>
4882
4883 * gdb.base/funcargs.c (callca, callcb, callcc): New.
4884 (callcd, callce, callcf, callc1a, callc1b): New.
4885 (callc2a, callc2b): New.
4886 * gdb.base/funcargs.exp (complex_args): New.
4887 (complex_integral_args, complex_float_integral_args): New.
4888 * lib/gdb.exp (support_complex_tests): New. Determine
4889 whether to run test cases on _Complex types.
4890
4891 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4892
4893 * gdb.threads/leader-exit.c: New file.
4894 * gdb.threads/leader-exit.exp: New file.
4895
4896 2011-05-27 Marek Polacek <mpolacek@redhat.com>
4897
4898 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
4899
4900 2011-05-27 Marek Polacek <mpolacek@redhat.com>
4901
4902 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
4903 remove the `supported' variable.
4904 * gdb.mi/mi-nonstop.exp: Likewise.
4905 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4906 * gdb.mi/mi-nsintrall.exp: Likewise.
4907 * gdb.mi/mi-nsmoribund.exp: Likewise.
4908 * gdb.mi/mi-nsthrexec.exp: Likewise.
4909
4910 2011-05-26 Pedro Alves <pedro@codesourcery.com>
4911
4912 * gdb.reverse/finish-reverse-bkpt.exp: New test.
4913
4914 2011-05-26 Pedro Alves <pedro@codesourcery.com>
4915
4916 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
4917
4918 2011-05-24 Keith Seitz <keiths@redhat.com>
4919
4920 PR breakpoint/12803
4921 * gdb.cp/cmpd-minsyms.cc (a): New method.
4922 (b): New method.
4923 (c): New method.
4924 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
4925
4926 2011-05-24 Pedro Alves <pedro@codesourcery.com>
4927
4928 * gdb.base/commands.exp (watchpoint_command_test): Check that the
4929 watchpoint's command list didn't execute when the watchpoint went
4930 out of scope.
4931
4932 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
4933
4934 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
4935 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
4936 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
4937 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4938 * gdb.arch/i386-permbkpt.exp: Likewise.
4939 * gdb.arch/i386-prologue.exp: Likewise.
4940 * gdb.arch/i386-size-overlap.exp: Likewise.
4941 * gdb.arch/i386-size.exp: Likewise.
4942 * gdb.arch/i386-unwind.exp: Likewise.
4943 * gdb.reverse/i386-precsave.exp: Likewise.
4944 * gdb.reverse/i386-reverse.exp: Likewise.
4945 * gdb.reverse/i386-sse-reverse.exp: Likewise.
4946 * gdb.reverse/i387-env-reverse.exp: Likewise.
4947 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4948
4949 2011-05-24 Pedro Alves <pedro@codesourcery.com>
4950
4951 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
4952 file doesn't error, using MI.
4953
4954 2011-05-23 Tom Tromey <tromey@redhat.com>
4955
4956 * gdb.base/charset.exp (string_display): Add tests to assign to
4957 arrays.
4958 * gdb.base/charset.c (short_array, int_array, long_array): New.
4959
4960 2011-05-20 Pedro Alves <pedro@codesourcery.com>
4961
4962 Cope with async mode.
4963
4964 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
4965 into gdb_test + mi_expect_stop.
4966
4967 2011-05-20 Pedro Alves <pedro@codesourcery.com>
4968
4969 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
4970 (callme): Remove printf call.
4971
4972 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
4973
4974 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
4975 quote pattern to avoid problems with Cygwin/mingw expect versions.
4976 * gdb.base/default.exp (show convenience): Use double
4977 quote pattern for regular expressions.
4978
4979 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4980
4981 Fix -readnow for -gdwarf-4 unused type units.
4982 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
4983 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
4984
4985 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4986
4987 * gdb.base/kill-after-signal.c: New file.
4988 * gdb.base/kill-after-signal.exp: New file.
4989
4990 2011-05-16 Pedro Alves <pedro@codesourcery.com>
4991
4992 * gdb.ada/start.exp: Call untested with the correct test filename.
4993 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
4994 test filename. Make the test's binary unique.
4995 * gdb.arch/i386-signal.exp: Call untested with the correct test
4996 filename.
4997 * gdb.arch/i386-size-overlap.exp: Ditto.
4998 * gdb.arch/Makefile.in (EXECUTABLES): Update.
4999 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5000 * gdb.cp/call-c.exp: Ditto.
5001 * gdb.mi/mi-reverse.exp: Call untested with the correct test
5002 filename. Make the test's binary unique.
5003 * gdb.mi/Makefile.in (EXECUTABLES): Update.
5004 * gdb.python/py-mi.exp: Ditto.
5005 * gdb.python/Makefile.in (EXECUTABLES): Update.
5006 * gdb.reverse/i386-precsave.exp: Ditto.
5007 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
5008 test filename.
5009 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5010 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
5011 unique.
5012 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
5013 test filename.
5014 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
5015 * gdb.trace/tfile.exp: Ditto.
5016
5017 2011-05-14 Yao Qi <yao@codesourcery.com>
5018
5019 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
5020 type.
5021
5022 2011-05-13 Doug Evans <dje@google.com>
5023
5024 * gdb.python/py-objfile-script.exp: New file.
5025 * gdb.python/py-objfile-script.c: New file.
5026 * gdb.python/py-objfile-script-gdb.py: New file.
5027 * testsuite/gdb.python/py-section-script.exp: Test
5028 "info auto-load-scripts".
5029
5030 2011-05-13 Tom Tromey <tromey@redhat.com>
5031
5032 * gdb.dwarf2/clztest.exp: New file.
5033 * gdb.dwarf2/clztest.c: New file.
5034 * gdb.dwarf2/clztest.S: New file.
5035
5036 2011-05-13 Doug Evans <dje@google.com>
5037
5038 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
5039 String16 tests.
5040
5041 2011-05-13 Tom Tromey <tromey@redhat.com>
5042
5043 * lib/gdb.exp (is_x86_like_target): New proc.
5044 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
5045 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
5046 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
5047 -nostdlib to compiler.
5048 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
5049 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
5050 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
5051 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
5052 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
5053
5054 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5055
5056 * gdb.python/py-function.exp: Test setting a value from a function
5057 which executes a command.
5058
5059 2011-05-12 Tom Tromey <tromey@redhat.com>
5060
5061 * gdb.dwarf2/typeddwarf.S: New file.
5062 * gdb.dwarf2/typeddwarf.c: New file.
5063 * gdb.dwarf2/typeddwarf.exp: New file.
5064
5065 2011-05-12 Marek Polacek <mpolacek@redhat.com>
5066
5067 * gdb.mi/mi-basics.exp: Fix races. Honour the
5068 `test_exec_and_symbol_mi_operatons' return value.
5069 (test_mi_interpreter_selection): Use mi_gdb_test instead of
5070 gdb_test_multiple.
5071 (test_exec_and_symbol_mi_operatons): Likewise.
5072 (test_path_specification): Likewise.
5073
5074 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5075
5076 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
5077 (gdb_touch_execfile): Remove catch wrappers. New variable time.
5078 Replace `file copy' and `file rename' by `file mtime'. Twice.
5079
5080 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5081
5082 * gdb.base/readline-ask.c: New file.
5083 * gdb.base/readline-ask.exp: New file.
5084 * gdb.base/readline-ask.inputrc: New file.
5085
5086 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5087
5088 * gdb.cell/bt.exp: Delete breakpoints before running to signal
5089 to avoid race condition.
5090 * gdb.cell/coremaker.c: Use small stack size.
5091 * gdb.cell/ea-standalone.exp: Use file name without path as
5092 argument to c_to.
5093 * gdb.cell/fork.exp: Allow other output when continuing to end.
5094
5095 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5096
5097 * gdb.threads/corethreads.c: New file.
5098 * gdb.threads/corethreads.exp: New file.
5099
5100 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5101
5102 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
5103 Try to compile the test using -Wl,-z,norelro first.
5104 (load_core): New variable libthread_db_seen, initialize it.
5105 (zeroed-threads cannot be listed): Protect it by XFAIL on
5106 !$libthread_db_seen.
5107
5108 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5109
5110 PR 12573
5111 * gdb.dwarf2/dw2-skip-prologue.S: New file.
5112 * gdb.dwarf2/dw2-skip-prologue.c: New file.
5113 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
5114
5115 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5116
5117 * gdb.cp/psymtab-parameter.cc: New file.
5118 * gdb.cp/psymtab-parameter.exp: New file.
5119
5120 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5121
5122 Fix a race.
5123 * gdb.cp/static-print-quit.exp (print c): Split to ...
5124 (print c - <return>, print c - q <return>, print c - to quit):
5125 ... these. Make the testfile untested on gdb-7.1.
5126
5127 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
5128
5129 * lib/gdb.exp (exec_target_file, exec_symbol_file,
5130 gdb_rename_execfile, gdb_touch_execfile): New.
5131 * gdb.base/reread.exp: Use new procs to handle multiple
5132 exec files.
5133
5134 2011-05-05 Yao Qi <yao@codesourcery.com>
5135
5136 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
5137 (test_adr_32bit, test_pop_pc): New.
5138 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
5139 (test_adr_32bit, test_pop_pc): New.
5140
5141 2011-05-04 Joseph Myers <joseph@codesourcery.com>
5142
5143 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
5144 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
5145 targets.
5146 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
5147 handle targets.
5148
5149 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5150
5151 * gdb.base/completion.exp (complete help info wat): Rename to ...
5152 (complete 'help info wat'): ... here.
5153 Remove all `-re ".*' and `-re "^.*' redundant regexes.
5154 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
5155
5156 2011-05-04 Pedro Alves <pedro@codesourcery.com>
5157
5158 * gdb.base/completion.exp: Use gdb_test_multiple instead of
5159 gdb_test and explicit $gdb_prompt/timeout matches.
5160
5161 2011-05-04 Yao Qi <yao@codesourcery.com>
5162
5163 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
5164 and __thumb2__.
5165
5166 2011-05-03 Marek Polacek <mpolacek@redhat.com>
5167
5168 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
5169 in place of `gdb_test "delete breakpoints"'. This eliminates two
5170 testcases.
5171
5172 2011-05-02 Pedro Alves <pedro@codesourcery.com>
5173
5174 PR testsuite/12649
5175 Fix races.
5176
5177 * gdb.base/completion.exp: Remove all sleep calls. Remove
5178 unnecessary regexs. Don't explicitly expect anything after the
5179 prompt. Eat the prompt if necessary.
5180
5181 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5182
5183 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
5184 accept to show the caller line again as well as the line after.
5185
5186 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
5187
5188 PR mi/12531
5189
5190 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
5191 compile target.
5192 * gdb.python/py-prettyprint.exp: Add C++ object for
5193 CPLUS_FAKE_CHILD test.
5194
5195 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
5196
5197 * gdb.base/signest.exp: New file.
5198 * gdb.base/signest.c: Likewise.
5199
5200 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5201
5202 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
5203 thread and breakpoint notifications.
5204
5205 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5206
5207 * gdb.base/fortran-sym-case.c: New file.
5208 * gdb.base/fortran-sym-case.exp: New file.
5209 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
5210 * gdb.dwarf2/dw2-case-insensitive.c: New file.
5211 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
5212
5213 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
5216 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
5217 false #1', `if true else false #2' and `if true else false #3'.
5218
5219 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
5220
5221 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
5222 while delivering signal.
5223
5224 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
5225
5226 MI breakpoint notifications.
5227
5228 * testsuite/gdb.mi/mi-cli.exp: Adust.
5229 * testsuite/gdb.mi/mi2-cli.exp: Adust.
5230 * testsuite/gdb.mi/mi-watch.exp: Adust.
5231 * testsuite/gdb.mi/mi2-watch.exp: Adust.
5232 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
5233 notifications.
5234
5235 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5236
5237 * gdb.base/gdbindex-stabs-dwarf.c: New file.
5238 * gdb.base/gdbindex-stabs.c: New file.
5239 * gdb.base/gdbindex-stabs.exp: New file.
5240
5241 2011-04-25 Yao Qi <yao@codesourcery.com>
5242
5243 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
5244 with /*...*/.
5245 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5246
5247 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5248
5249 * gdb.python/py-value.exp (test_objfiles): Name the first test
5250 `py-value in file.filename'.
5251
5252 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5253
5254 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
5255 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
5256 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
5257 !gdbserver_reconnect_p..
5258 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
5259
5260 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5261
5262 * gdb.cp/cpcompletion.exp (complete class methods)
5263 (complete class methods beginning with F): Move them above runto. New
5264 comment about the runto delimiter.
5265
5266 2011-04-20 Pedro Alves <pedro@codesourcery.com>
5267
5268 * gdb.base/maint.exp: Test that "maint print registers" works
5269 without a running program.
5270
5271 2011-04-20 Marek Polacek <mpolacek@redhat.com>
5272
5273 * gdb.base/setshow.exp: Fix racy tests.
5274 ($old_gdb_prompt): New variable.
5275
5276 2011-04-19 Tom Tromey <tromey@redhat.com>
5277
5278 * gdb.mi/mi-nsmoribund.exp:
5279 * gdb.hp/gdb.objdbg/objdbg01.exp:
5280 * gdb.base/structs.exp (test_struct_returns):
5281 * gdb.base/call-sc.exp (test_scalar_returns):
5282 * gdb.base/bigcore.exp: Remove duplicate words.
5283
5284 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5285
5286 * gdb.base/break-interp-lib.c (v, vptr): New variables.
5287 * gdb.base/break-interp.exp (test_attach): New comment.
5288
5289 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5290
5291 * gdb.threads/gcore-thread.exp ($core0file): New variable.
5292 (clear __stack_user.next, clear stack_used.next)
5293 (save a zeroed-threads corefile): New test.
5294 Call core_load for $core0file.
5295 (zeroed-threads cannot be listed): New test.
5296
5297 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5298
5299 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
5300 filename.
5301 ($srcfile): Preserve the original value.
5302 ($testfile): Match it the .exp filename.
5303 ($corefile): New variable. Substitute it around.
5304 Use clean_restart.
5305 ($prev_timeout): Remove.
5306 (load_core): Move core loading into this proc.
5307 Fix restore of $timeout if load_core fails.
5308
5309 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5310
5311 * gdb.base/eu-strip-infcall.c: New file.
5312 * gdb.base/eu-strip-infcall.exp: New file.
5313
5314 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5315
5316 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
5317 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
5318
5319 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5320
5321 Fix Python access to inlined frames.
5322 * gdb.python/py-frame-inline.c: New file.
5323 * gdb.python/py-frame-inline.exp: New file.
5324
5325 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
5326
5327 * gdb.base/gdb1090.exp: Change breakpoint location to read the
5328 content of 's24' correctly (avoiding "optimized out").
5329 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
5330
5331 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5332
5333 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
5334
5335 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5336
5337 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
5338 expect a colon in watch -location output.
5339
5340 2011-04-13 Marek Polacek <mpolacek@redhat.com>
5341
5342 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
5343 New testcase `expect response to define backtrace'. Also remove
5344 redundant `default' block.
5345
5346 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5347
5348 * gdb.python/py-prettyprint.c (struct hint_error): New.
5349 (main): New variable hint_error.
5350 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
5351 "print hint_error".
5352 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
5353 (register_pretty_printers): Register it.
5354
5355 2011-04-04 Tom Tromey <tromey@redhat.com>
5356
5357 * gdb.cp/maint.exp (test_help): Update.
5358 (test_namespace): Likewise.
5359
5360 2011-04-01 Joel Brobecker <brobecker@adacore.com>
5361
5362 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
5363 * gdb.ada/arrayptr.exp: Add new tests.
5364
5365 2011-04-01 Joel Brobecker <brobecker@adacore.com>
5366
5367 * gdb.ada/mi_catch_ex: New testcase.
5368
5369 2011-04-01 Pedro Alves <pedro@codesourcery.com>
5370
5371 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
5372 base::overload(void) method without specifying "const".
5373
5374 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5375
5376 * gdb.arch/thumb-singlestep.S: New file.
5377 * gdb.arch/thumb-singlestep.exp: Likewise.
5378
5379 2011-03-31 Tom Tromey <tromey@redhat.com>
5380
5381 * gdb.python/py-prettyprint.py (exception_flag): New global.
5382 (NoStringContainerPrinter._iterator.next): Check it.
5383 * gdb.python/py-prettyprint.c (main): New variable nstype2.
5384 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
5385
5386 2011-03-29 Tom Tromey <tromey@redhat.com>
5387
5388 * gdb.cp/anon-struct.cc: New file.
5389 * gdb.cp/anon-struct.exp: New file.
5390
5391 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5392
5393 Test STT_GNU_IFUNC support.
5394 * gdb.base/gnu-ifunc-lib.c: New file.
5395 * gdb.base/gnu-ifunc.c: New file.
5396 * gdb.base/gnu-ifunc.exp: New file.
5397
5398 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5399
5400 Support a ring of related breakpoints.
5401 * gdb.base/watchpoint-delete.c: New file.
5402 * gdb.base/watchpoint-delete.exp: New file.
5403
5404 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5405
5406 * gdb.ada/arrayparam.exp (print first after function call): Use
5407 explicit package name. Add a comment
5408 (print lasta after function call): Rename ...
5409 (print last after function call): ... it and use explicit package
5410 name.
5411 (print length after function call): Use explicit package name.
5412 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
5413 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
5414 (multiple matches for symbol i): Rename ...
5415 (multiple matches for symbol integervar): ... it.
5416 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
5417 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
5418
5419 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
5420
5421 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
5422 environment variable to make grep output more predictable. Move
5423 all the environment setup into gdb_init so it's done once per test
5424 case rather than each time we start gdb.
5425
5426 2011-03-24 Tom Tromey <tromey@redhat.com>
5427
5428 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
5429 test.
5430
5431 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5432
5433 * gdb.dwarf2/dw2-entry-value-main.c: New file.
5434 * gdb.dwarf2/dw2-entry-value.S: New file.
5435 * gdb.dwarf2/dw2-entry-value.exp: New file.
5436
5437 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
5438
5439 PR python/12183
5440
5441 * gdb.python/py-function.exp: Add GdbError tests.
5442
5443 2011-03-18 Pedro Alves <pedro@codesourcery.com>
5444
5445 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
5446 (reglocal_test_func, statlocal_test_func): New functions.
5447 (globals_test_func): Call new functions.
5448 * gdb.trace/unavailable.exp (gdb_collect_args_test)
5449 (gdb_collect_locals_test): New procedure.
5450 (gdb_trace_collection_test): Call new procedures.
5451
5452 2011-03-18 Pedro Alves <pedro@codesourcery.com>
5453
5454 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
5455 (test_register, test_register_unavailable): New procedures.
5456 (gdb_unavailable_registers_test): New procedure.
5457 (gdb_trace_collection_test): Call it.
5458
5459 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
5460
5461 PR python/12149
5462
5463 * gdb.python/python.exp: Add gdb.write tests.
5464
5465 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
5466
5467 * gdb.python/Makefile.in: Add py-objfile.
5468 * gdb.python/py-objfile.exp: New file.
5469 * gdb.python/py-objfile.c: New file.
5470 * gdb.python/py-block.exp: Add is_valid tests.
5471 * gdb.python/py-inferior.exp: Ditto.
5472 * gdb.python/py-infthread.exp: Ditto.
5473 * gdb.python/py-symbol.exp: Ditto.
5474 * gdb.python/py-symtab.exp: Ditto.
5475
5476 2011-03-16 Keith Seitz <keiths@redhat.com>
5477
5478 PR c++/12273
5479 * gdb.cp/cmpd-minsyms.exp: New test.
5480 * gdb.cp/cmpd-minsyms.cc: New file.
5481
5482 PR c++/11734
5483 * gdb.cp/ovsrch.exp: New test.
5484 * gdb.cp/ovsrch.h: New file.
5485 * gdb.cp/ovsrch1.cc: New file.
5486 * gdb.cp/ovsrch2.cc: New file.
5487 * gdb.cp/ovsrch3.cc: New file.
5488 * gdb.cp/ovsrch4.cc: New file.
5489
5490 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5491
5492 PR gdb/12528
5493 * gdb.base/Makefile.in: Adjust EXECUTABLES.
5494 * gdb.base/break-on-linker-gcd-function.exp: New test.
5495 * gdb.base/break-on-linker-gcd-function.cc: New file.
5496
5497 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
5498
5499 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
5500
5501 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
5502
5503 * lib/gdb.exp (gdb_unload): Add another termination case.
5504
5505 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5506
5507 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
5508 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
5509 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
5510 Provide a stub byte there.
5511 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
5512 DW_AT_entry_pc.
5513 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
5514
5515 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
5516
5517 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
5518 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
5519 "generic ABI, auto".
5520 (altivec_abi_tests): Accept vectors returned by reference.
5521
5522 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
5523
5524 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
5525
5526 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
5527
5528 * gdb.python/py-section-script.exp: Skip test if no Python support.
5529
5530 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
5531
5532 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
5533
5534 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
5535
5536 * gdb.python/py-parameter.exp: Update tests to the new Python
5537 parameter API. Add "no documentation" test. Add deprecated API
5538 backward compatibility test.
5539
5540 2011-03-09 Tom Tromey <tromey@redhat.com>
5541
5542 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
5543 gdb_continue_to_end.
5544
5545 2011-03-09 Mark Kettenis <kettenis@gnu.org>
5546
5547 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
5548 tabs.
5549
5550 2011-03-09 Tom Tromey <tromey@redhat.com>
5551
5552 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
5553 parentheses.
5554 (gdb_continue_to_end): Add "allow_extra" parameter. Use
5555 $command.
5556 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
5557 argument to gdb_continue_to_end.
5558 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
5559 argument to gdb_continue_to_end.
5560 * gdb.cp/annota3.exp: Fix regex.
5561 * gdb.cp/annota2.exp: Fix regex.
5562 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
5563 gdb_continue_to_end.
5564 * gdb.base/call-signal-resume.exp: Revert earlier patch.
5565 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
5566 gdb_continue_to_end.
5567
5568 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5569
5570 * gdb.server/ext-run.exp
5571 (load new file without any gdbserver inferior): New test.
5572
5573 2011-03-07 Tom Tromey <tromey@redhat.com>
5574
5575 * Makefile.in (TAGS): Rewrite.
5576
5577 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5578
5579 * gdb.trace/report.exp (12.1: trace report #1): New match for the
5580 initial commands echo. New match for `Found trace'. Anchor all the
5581 other matches. Anchor and match for `No trace frame found' the final
5582 match.
5583
5584 2011-03-07 Tom Tromey <tromey@redhat.com>
5585
5586 * Makefile.in (TAGS): New target.
5587
5588 2011-03-07 Tom Tromey <tromey@redhat.com>
5589
5590 * lib/opencl.exp (skip_opencl_tests): Update for exit message
5591 change.
5592 * lib/mi-support.exp (mi_gdb_test): Update for exit message
5593 change.
5594 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
5595 exit message change.
5596 (skip_altivec_tests): Update for exit message change.
5597 (skip_vsx_tests): Likewise.
5598 (gdb_continue_to_end): Likewise. Add 'command' argument.
5599 * lib/cell.exp (skip_cell_tests): Update for exit message change.
5600 * gdb.threads/tls.exp: Update for exit message change.
5601 * gdb.threads/thread-unwindonsignal.exp: Use
5602 gdb_continue_to_end.
5603 * gdb.threads/step.exp (step_it): Update for exit message change.
5604 (continue_all): Likewise.
5605 * gdb.threads/print-threads.exp (test_all_threads): Update for
5606 exit message change.
5607 * gdb.threads/interrupted-hand-call.exp: Use
5608 gdb_continue_to_end.
5609 * gdb.threads/execl.exp: Use gdb_continue_to_end.
5610 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
5611 gdb_continue_to_end.
5612 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
5613 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
5614 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
5615 * gdb.cp/method.exp: Update for exit message change.
5616 * gdb.cp/mb-templates.exp: Update for exit message change.
5617 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
5618 * gdb.cp/annota3.exp: Update for exit message change.
5619 * gdb.cp/annota2.exp: Update for exit message change.
5620 * gdb.cell/fork.exp: Use gdb_continue_to_end.
5621 * gdb.base/term.exp: Update for exit message change.
5622 * gdb.base/step-test.exp (test_i): Update for exit message change.
5623 * gdb.base/sigstep.exp (advance): Update for exit message change.
5624 (advancei): Likewise.
5625 * gdb.base/siginfo.exp: Update for exit message change.
5626 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
5627 * gdb.base/reread.exp: Use gdb_continue_to_end.
5628 * gdb.base/langs.exp: Use gdb_continue_to_end.
5629 * gdb.base/interrupt.exp: Update for exit message change.
5630 * gdb.base/gdb1555.exp: Update for exit message change.
5631 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
5632 * gdb.base/ending-run.exp: Update for exit message change.
5633 * gdb.base/chng-syms.exp: Update for exit message change.
5634 * gdb.base/checkpoint.exp: Update for exit message change.
5635 * gdb.base/catch-syscall.exp (check_for_program_end): Use
5636 gdb_continue_to_end.
5637 (test_catch_syscall_with_wrong_args): Likewise.
5638 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
5639 * gdb.base/break-interp.exp (test_ld): Update for exit message
5640 change.
5641 * gdb.base/bang.exp: Update for exit message change.
5642 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
5643 (do_call_attach_tests): Likewise.
5644 * gdb.base/a2-run.exp: Update for exit message change.
5645 * gdb.arch/ppc-dfp.exp: Update for exit message change.
5646 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
5647 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
5648
5649 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5650
5651 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
5652
5653 2011-03-03 Tom Tromey <tromey@redhat.com>
5654
5655 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
5656 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
5657 * gdb.hp/gdb.aCC/configure.ac: Remove.
5658 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
5659 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
5660 * gdb.hp/gdb.base-hp/configure.ac: Remove.
5661 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
5662 * gdb.hp/gdb.compat/configure (Makefile): Remove.
5663 * gdb.hp/gdb.compat/configure.ac: Remove.
5664 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
5665 * gdb.hp/gdb.defects/configure (Makefile): Remove.
5666 * gdb.hp/gdb.defects/configure.ac: Remove.
5667 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
5668 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
5669 * gdb.hp/gdb.objdbg/configure.ac: Remove.
5670 * gdb.hp/configure.ac: Remove.
5671 * gdb.hp/configure: Remove.
5672 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
5673 substitution.
5674 (Makefile): Remove rule.
5675 * gdb.cell/configure.ac: Remove.
5676 * gdb.cell/configure: Remove.
5677 * gdb.stabs/Makefile.in (Makefile): Remove.
5678 (distclean): Don't remove config.status or config.log.
5679 * gdb.stabs/configure (Makefile): Remove.
5680 * gdb.stabs/configure.ac: Remove.
5681 * configure: Rebuild.
5682 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
5683 Remove stabs- and cell-specific logic. Test for existence of
5684 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
5685 subdirectories, gdb.cell, and and gdb.stabs.
5686 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
5687
5688 2011-03-03 Joel Brobecker <brobecker@adacore.com>
5689
5690 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
5691 end of buffer.
5692
5693 2011-03-02 Joel Brobecker <brobecker@adacore.com>
5694
5695 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
5696 gdb_test when running a test where we expected no output back.
5697
5698 2011-02-28 Michael Snyder <msnyder@vmware.com>
5699
5700 * gdb.cp/overload.cc: Change initializer value to integer.
5701
5702 2011-02-27 Michael Snyder <msnyder@vmware.com>
5703
5704 * gdb.multi/base.exp: Add test for remove-inferiors.
5705
5706 2011-02-26 Joel Brobecker <brobecker@adacore.com>
5707
5708 * gdb.python/py-frame.exp: Simplify the initialization phase
5709 using prepare_for_testing.
5710
5711 2011-02-25 Michael Snyder <msnyder@vmware.com>
5712
5713 * gdb.multi/base.exp: Add tests for info inferiors with args.
5714
5715 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5716
5717 * gdb.dwarf2/dw2-ranges.S: Rename to ...
5718 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
5719 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
5720 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
5721 asmfile3. Comment the STABS (#3) file compilation. Compile
5722 everything through assembler. Provide KFAIL for symtab/12497.
5723 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
5724 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
5725 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
5726 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
5727
5728 2011-02-24 Michael Snyder <msnyder@vmware.com>
5729
5730 * gdb.base/break.exp: Add tests for delete breakpoints using
5731 convenience variables and value history references.
5732
5733 2011-02-24 Michael Snyder <msnyder@vmware.com>
5734
5735 * gdb.base/break.exp: Remove debugging 'printf' accidentally
5736 left behind in previous check-in.
5737
5738 2011-02-23 Michael Snyder <msnyder@vmware.com>
5739
5740 * gdb.base/break.exp: Add tests for "info break" with arguments.
5741 * gdb.trace/infotrace.exp: Update patterns for error and help.
5742 * gdb.base/completion.exp: Update pattern.
5743 * gdb.base/ena-dis-br.exp: Update pattern.
5744 * gdb.base/help.exp: Update patterns.
5745
5746 2011-02-23 Michael Snyder <msnyder@vmware.com>
5747
5748 * gdb.base/memattr.exp: New test.
5749 * gdb.base/memattr.c: Test load for memattr.exp.
5750
5751 2011-02-22 Doug Evans <dje@google.com>
5752
5753 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
5754
5755 2011-02-22 Michael Snyder <msnyder@vmware.com>
5756
5757 * Makefile.in: Make more clean.
5758 * gdb.ada/Makefile.in: Ditto.
5759 * gdb.arch/Makefile.in: Ditto.
5760 * gdb.asm/Makefile.in: Ditto.
5761 * gdb.base/Makefile.in: Ditto.
5762 * gdb.cp/Makefile.in: Ditto.
5763 * gdb.dwarf2/Makefile.in: Ditto.
5764 * gdb.java/Makefile.in: Ditto.
5765 * gdb.mi/Makefile.in: Ditto.
5766 * gdb.modula2/Makefile.in: Ditto.
5767 * gdb.python/Makefile.in: Ditto.
5768 * gdb.server/Makefile.in: Ditto.
5769 * gdb.stabs/Makefile.in: Ditto.
5770 * gdb.threads/Makefile.in: Ditto.
5771 * gdb.trace/Makefile.in: Ditto.
5772
5773 2011-02-22 Michael Snyder <msnyder@vmware.com>
5774
5775 * gdb.threads/thread-find.exp: Add tests for bad input to
5776 info threads.
5777
5778 2011-02-22 Joel Brobecker <brobecker@adacore.com>
5779
5780 * gdb.python/py-breakpoint.exp: Fix the expected output of
5781 one of the "maint info breakpoints" tests to accept the output
5782 generated on platforms that do not have hardware watchpoints.
5783
5784 2011-02-22 Joel Brobecker <brobecker@adacore.com>
5785
5786 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
5787 clean_restart. Be a little stricter in the expected output
5788 for one of the tests. Fix a typo in one of the comments.
5789
5790 2011-02-22 Joel Brobecker <brobecker@adacore.com>
5791
5792 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
5793 Delete variable binfile, no longer use. Add or modify test
5794 comments to make them unique.
5795
5796 2011-02-21 Michael Snyder <msnyder@vmware.com>
5797
5798 * Makefile.in: Update for make clean.
5799 * gdb.ada/Makefile.in: Ditto.
5800 * gdb.arch/Makefile.in: Ditto.
5801 * gdb.asm/Makefile.in: Ditto.
5802 * gdb.base/Makefile.in: Ditto.
5803 * gdb.cp/Makefile.in: Ditto.
5804 * gdb.dwarf2/Makefile.in: Ditto.
5805 * gdb.java/Makefile.in: Ditto.
5806 * gdb.mi/Makefile.in: Ditto.
5807 * gdb.modula2/Makefile.in: Ditto.
5808 * gdb.python/Makefile.in: Ditto.
5809 * gdb.server/Makefile.in: Ditto.
5810 * gdb.stabs/Makefile.in: Ditto.
5811 * gdb.threads/Makefile.in: Ditto.
5812 * gdb.trace/Makefile.in: Ditto.
5813
5814 2011-02-21 Michael Snyder <msnyder@vmware.com>
5815
5816 * gdb.threads/thread-find.exp: Update patterns for changes in
5817 output of "info threads" command.
5818
5819 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5820 Ulrich Weigand <uweigand@de.ibm.com>
5821
5822 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
5823 (skip_hw_watchpoint_tests): Likewise.
5824 (skip_hw_watchpoint_multi_tests): Likewise.
5825
5826 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
5827
5828 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
5829 (skip_hw_watchpoint_tests): Likewise.
5830 (skip_hw_watchpoint_multi_tests): Likewise.
5831 (skip_hw_watchpoint_access_tests): Likewise.
5832
5833 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
5834 * gdb.base/pr11022.exp: Likewise.
5835 * gdb.base/watch-read.exp: Likewise.
5836 * gdb.base/watch_thread_num.exp: Likewise.
5837 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5838 * gdb.base/watchpoint-hw.exp: Likewise.
5839 * gdb.base/watchpoint.exp: Likewise.
5840 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
5841 * gdb.threads/watchthreads-reorder.exp: Likewise.
5842 * gdb.threads/watchthreads.exp: Likewise.
5843 * gdb.threads/watchthreads2.exp: Likewise.
5844
5845 2011-02-21 Joel Brobecker <brobecker@adacore.com>
5846
5847 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
5848 the debugger is unable to find the array bounds.
5849
5850 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5851
5852 * gdb.cp/typedef-operator.exp: New file.
5853 * gdb.cp/typedef-operator.cc: New file.
5854
5855 2011-02-17 Michael Snyder <msnyder@vmware.com>
5856
5857 * gdb.threads/thread-find.exp: Fix regular expressions.
5858
5859 2011-02-17 Joel Brobecker <brobecker@adacore.com>
5860
5861 * gdb.ada/packed_array: Expand testcase to test printing of
5862 unconstrained packed array.
5863
5864 2011-02-17 Joel Brobecker <brobecker@adacore.com>
5865
5866 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
5867
5868 2011-02-16 Pedro Alves <pedro@codesourcery.com>
5869
5870 * gdb.trace/collection.c (globalarr3): New global.
5871 (main): Initialize it before collecting, and and clear it
5872 afterwards.
5873 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5874 collecting with '{type} addr', where the addr expression is not an
5875 rvalue.
5876
5877 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
5878
5879 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
5880 a bool variable. Expect correct OpenCL names for vector types. Use the
5881 uc3 variable name instead of referring to the uchar3 built-in type.
5882 Escape the asterisk at the half pointer test.
5883
5884 2011-02-16 Pedro Alves <pedro@codesourcery.com>
5885
5886 * gdb.trace/collection.c (globalarr2): New global.
5887 (main): Initialize it before collecting, and and clear it
5888 afterwards.
5889 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5890 collecting overlapping memory ranges.
5891
5892 2011-02-15 Michael Snyder <msnyder@vmware.com>
5893
5894 * gdb.base/default.exp: Add tests for thread commands.
5895 * gdb.base/help.exp: Add tests for thread commands.
5896 * gdb.threads/thread-find.exp: New test for thread find command.
5897
5898 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
5899
5900 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
5901
5902 2011-02-15 Yao Qi <yao@codesourcery.com>
5903
5904 PR tdep/12352
5905 * gdb.arch/arm-disp-step.S : New test for str instruction.
5906 * gdb.arch/arm-disp-step.exp : Likewise.
5907
5908 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
5909
5910 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
5911 "vector_register2_vr" test strings. Test the extended floating
5912 point registers (F32~F63).
5913 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
5914 IBM XL C compiler. Make the test program use a register provided
5915 by the compiler for the lxvd2x instruction.
5916
5917 2011-02-14 Pedro Alves <pedro@codesourcery.com>
5918
5919 * gdb.trace/unavailable.cc (class Base, class Middle, class
5920 Derived): New types.
5921 (derived_unavail, derived_partial, derived_whole): New globals.
5922 (virtual_partial): New global.
5923 (virtualp): Point at virtual_partial.
5924 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
5925 related to unavailable vptr.
5926
5927 2011-02-14 Pedro Alves <pedro@codesourcery.com>
5928
5929 * gdb.trace/unavailable.cc (a, b, c): New globals.
5930 (main): Set and clear them.
5931 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
5932 `a' and `c', and check that `b' isn't collected, although `a' and
5933 `c' are.
5934
5935 2011-02-14 Pedro Alves <pedro@codesourcery.com>
5936
5937 * gdb.trace/unavailable.cc (struct Virtual): New.
5938 (virtualp): New global pointer.
5939 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
5940 printing a pointer to an object whose type has a vtable, with
5941 print object on.
5942
5943 2011-02-14 Pedro Alves <pedro@codesourcery.com>
5944
5945 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
5946 value repeat handles unavailableness.
5947
5948 2011-02-14 Pedro Alves <pedro@codesourcery.com>
5949
5950 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
5951 tests for building arrays from unavailable values, subscripting
5952 non-memory rvalue unvailable arrays, and accessing fields or
5953 baseclasses of non-lazy unavailable values,
5954 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
5955 struct types.
5956 (g_smallstruct, g_smallstruct_b): New globals.
5957
5958 2011-02-14 Pedro Alves <pedro@codesourcery.com>
5959
5960 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
5961
5962 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5963
5964 Fix const/volatile qualifiers of C++ types, PR c++/12328.
5965 * gdb.cp/overload-const.exp: New file.
5966 * gdb.cp/overload-const.cc: New file.
5967
5968 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
5969
5970 * gdb.opencl/callfuncs.cl: New file.
5971 * gdb.opencl/callfuncs.exp: New test.
5972 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
5973
5974 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
5975
5976 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
5977 when computing result.
5978 * gdb.arch/altivec-abi.exp: Update expected results.
5979
5980 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
5981
5982 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
5983 * gdb.base/jit.exp: Likewise.
5984 * gdb.base/pie-execl.exp: Likewise.
5985 * gdb.base/solib-nodir.exp: Likewise.
5986 * gdb.base/solib-overlap.exp: Likewise.
5987
5988 2011-02-07 Pedro Alves <pedro@codesourcery.com>
5989
5990 * gdb.trace/collection.c (global_pieces): New.
5991 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
5992 New procedure.
5993 (gdb_trace_collection_test): Call it.
5994
5995 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
5996
5997 * gdb.python/py-evthreads.c: New file.
5998 * gdb.python/py-evthreads.exp: New file.
5999 * gdb.python/py-events.py: New file.
6000 * gdb.python/py-events.exp: New file.
6001 * gdb.python/py-events.c: New file.
6002
6003 2011-02-04 David Daney <ddaney@caviumnetworks.com>
6004
6005 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
6006
6007 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
6008
6009 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
6010 gdb.base/disasm-end-cu.exp: New test for disassembling over the
6011 boundary between two compilation units.
6012
6013 2011-02-02 Pedro Alves <pedro@codesourcery.com>
6014
6015 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
6016 (Virtual): New structs.
6017 (virtual_o, virtual_middle_b): New globals.
6018 * gdb.cp/virtbase.exp: New tests.
6019
6020 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6021
6022 * gdb.base/jit.exp: New file.
6023 * gdb.base/jit-main.c: New file.
6024 * gdb.base/jit-solib.c: New file.
6025
6026 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
6027
6028 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
6029 proceed to initial kernel entry point.
6030 * gdb.opencl/datatypes.exp: Likewise.
6031 * gdb.opencl/operators.exp: Likewise.
6032 * gdb.opencl/vec_comps.exp: Likewise.
6033
6034 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
6035
6036 * gdb.cp/nsnested.cc: New.
6037 * gdb.cp/nsnested.exp: New.
6038 * gdb.cp/nsnoimports.exp: New.
6039 * gdb.cp/nsnoimports.cc: New.
6040
6041 2011-01-31 Joel Brobecker <brobecker@adacore.com>
6042
6043 * gdb.base/interact.exp: Add extra tests that verify that
6044 the value of the interactive-mode setting does not change
6045 after the script is sourced.
6046
6047 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6048
6049 * gdb.cp/noparam.exp: New file.
6050 * gdb.cp/noparam.cc: New file.
6051
6052 2011-01-28 Pedro Alves <pedro@codesourcery.com>
6053
6054 * gdb.trace/tfile.exp: Test that with no traceframe selected,
6055 there's no stack or registers.
6056
6057 2011-01-26 Tom Tromey <tromey@redhat.com>
6058
6059 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
6060 space before string output. Add test for "set print pretty off"
6061 case.
6062
6063 2011-01-25 Pedro Alves <pedro@codesourcery.com>
6064
6065 * gdb.base/frame-args.exp: Adjust.
6066 * gdb.dwarf2/dw2-noloc.exp: Adjust.
6067 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
6068 * gdb.dwarf2/pieces.exp: Adjust.
6069 * gdb.opt/clobbered-registers-O2.exp: Adjust.
6070 * gdb.opt/inline-locals.exp: Adjust.
6071 * gdb.threads/fork-child-threads.exp: Adjust.
6072
6073 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
6074
6075 * gdb.opencl/convs_casts.cl: Move program scope variables into the
6076 OpenCL kernel function. Add a comment as marker. Add address space
6077 qualifiers for the remaining program scope variables.
6078 * gdb.opencl/datatypes.cl: Likewise.
6079 * gdb.opencl/operators.cl: Likewise.
6080 * gdb.opencl/vec_comps.cl: Likewise.
6081 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
6082 Add breakpoint at the marker comment.
6083 * gdb.opencl/datatypes.exp: Likewise.
6084 * gdb.opencl/operators.exp: Likewise.
6085 * gdb.opencl/vec_comps.exp: Likewise.
6086
6087 2011-01-24 Pedro Alves <pedro@codesourcery.com>
6088
6089 * gdb.base/printcmds.c (some_struct): New struct and instance.
6090 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
6091 procedure.
6092 <global scope>: Call it.
6093
6094 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
6095
6096 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
6097 argument to the gdb_compile_opencl_hostapp call.
6098
6099 2011-01-19 Yao Qi <yao@codesourcery.com>
6100
6101 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
6102 positve list.
6103
6104 2011-01-19 Yao Qi <yao@codesourcery.com>
6105
6106 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
6107 canonical form.
6108 Remove "xscale-*-*"
6109 * gdb.xml/tdesc-regs.exp: Likewise.
6110 * gdb.python/py-section-script.exp: Replace ARM target triplet
6111 with canonical form.
6112 Match arm*-*-symbianelf*.
6113 * gdb.base/dup-sect.exp: Likewise.
6114 * lib/dwarf.exp: New.
6115 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
6116 dwarf2_support.
6117 * gdb.dwarf2/dup-psym.exp: Likewise.
6118 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
6119 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6120 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
6121 * gdb.dwarf2/dw2-basic.exp: Likewise.
6122 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6123 * gdb.dwarf2/dw2-const.exp: Likewise.
6124 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
6125 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
6126 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6127 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
6128 * gdb.dwarf2/dw2-filename.exp: Likewise.
6129 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6130 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
6131 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6132 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6133 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
6134 * gdb.dwarf2/dw2-noloc.exp: Likewise.
6135 * gdb.dwarf2/dw2-op-call.exp: Likewise.
6136 * gdb.dwarf2/dw2-producer.exp: Likewise.
6137 * gdb.dwarf2/dw2-ranges.exp: Likewise.
6138 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
6139 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
6140 * gdb.dwarf2/dw2-strp.exp: Likewise.
6141 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
6142 * gdb.dwarf2/implptr.exp: Likewise.
6143 * gdb.dwarf2/mac-fileno.exp: Likewise.
6144 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
6145 * gdb.dwarf2/pieces.exp: Likewise.
6146 * gdb.dwarf2/pr11465.exp: Likewise.
6147 * gdb.dwarf2/valop.exp: Likewise.
6148 * gdb.dwarf2/watch-notconst.exp: Likewise.
6149 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
6150
6151 2011-01-19 Tom Tromey <tromey@redhat.com>
6152
6153 * gdb.python/py-infthread.exp: Add thread tests.
6154
6155 2011-01-14 Joel Brobecker <brobecker@adacore.com>
6156
6157 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
6158
6159 2011-01-14 Joel Brobecker <brobecker@adacore.com>
6160
6161 * gdb.ada/widewide: New testcase.
6162
6163 2011-01-13 Joel Brobecker <brobecker@adacore.com>
6164
6165 * gdb.base/interact.exp: New testcase.
6166
6167 2011-01-12 Tom Tromey <tromey@redhat.com>
6168
6169 * gdb.mi/gdb2549.exp: Update for error message changes.
6170 * gdb.mi/mi-cli.exp: Likewise.
6171 * gdb.mi/mi-disassemble.exp: Likewise.
6172 * gdb.mi/mi-pthreads.exp: Likewise.
6173 * gdb.mi/mi-regs.exp: Likewise.
6174 * gdb.mi/mi-stack.exp: Likewise.
6175 * gdb.mi/mi-var-block.exp: Likewise.
6176 * gdb.mi/mi-var-cmd.exp: Likewise.
6177 * gdb.mi/mi2-cli.exp: Likewise.
6178 * gdb.mi/mi2-disassemble.exp: Likewise.
6179 * gdb.mi/mi2-pthreads.exp: Likewise.
6180 * gdb.mi/mi2-regs.exp: Likewise.
6181 * gdb.mi/mi2-stack.exp: Likewise.
6182 * gdb.mi/mi2-var-block.exp: Likewise.
6183 * gdb.mi/mi2-var-cmd.exp: Likewise.
6184
6185 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
6186 Jan Kratochvil <jan.kratochvil@redhat.com>
6187
6188 PR fortran/11104 and DWARF unbound arrays detection.
6189 * gdb.fortran/multi-dim.exp: New file.
6190 * gdb.fortran/multi-dim.f90: New file.
6191
6192 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
6193
6194 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
6195 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
6196 add new tests for opcode dumping.
6197
6198 2011-01-11 Tom Tromey <tromey@redhat.com>
6199
6200 * gdb.python/py-infthread.exp: Load gdb-python.exp.
6201
6202 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
6203
6204 Convert hardware watchpoints to use breakpoint_ops.
6205 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
6206 type is not supported.
6207 * gdb.base/foll-fork.exp: Likewise.
6208 * gdb.base/foll-vfork.exp: Likewise.
6209
6210 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
6211
6212 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
6213 Use load_lib gdb-python.exp.
6214 * gdb.python/python.exp: Ditto.
6215 * gdb.python/py-function.exp: Ditto.
6216
6217 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
6218
6219 * gdb.threads/tls.exp ("info address me"): Fix expected output.
6220
6221 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6222
6223 * configure: Regenerate.
6224
6225 2011-01-06 Tom Tromey <tromey@redhat.com>
6226
6227 * gdb.python/py-frame.exp: Test gdb.newest_frame.
6228
6229 2011-01-06 Joel Brobecker <brobecker@adacore.com>
6230
6231 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
6232 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
6233 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6234 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
6235 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
6236 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6237 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
6238 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
6239 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
6240 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
6241 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
6242 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
6243 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
6244 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6245 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6246 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
6247 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
6248 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
6249 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6250 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
6251 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
6252 gdb.ada/uninitialized_vars.exp,
6253 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
6254 Simplify by using clean_restart.
6255
6256 2011-01-06 Joel Brobecker <brobecker@adacore.com>
6257
6258 Add marker to be used as anchor for inserting breakpoints.
6259 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
6260 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
6261 Likewise.
6262
6263 Remove uses of gdb_start_cmd.
6264 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
6265 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
6266
6267 Do not run testcase if testing with GDBserver.
6268 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
6269 if testing with GDBserver.
6270
6271 2011-01-06 Joel Brobecker <brobecker@adacore.com>
6272
6273 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
6274 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
6275 copyright header.
6276
6277 2011-01-05 Joel Brobecker <brobecker@adacore.com>
6278
6279 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
6280 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
6281 testsuite/gdb.fortran/complex.f,
6282 testsuite/gdb.fortran/derived-type.f90,
6283 testsuite/gdb.fortran/library-module-lib.f90,
6284 testsuite/gdb.fortran/library-module-main.f90,
6285 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
6286 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
6287 Copyright year update.
6288
6289 2011-01-05 Joel Brobecker <brobecker@adacore.com>
6290
6291 * gdb.base/langs1.f: Add copyright header.
6292
6293 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6294
6295 * gdb.base/morestack.exp: New file.
6296 * gdb.base/morestack.c: New file.
6297
6298 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6299
6300 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
6301
6302 2010-12-29 Joel Brobecker <brobecker@adacore.com>
6303
6304 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
6305 * gdb.ada/arrayptr.exp: Add test printing that new variable.
6306
6307 2010-12-29 Joel Brobecker <brobecker@adacore.com>
6308
6309 * gdb.ada/lang_switch.exp: Correct expected parameter value.
6310
6311 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
6312
6313 * gdb.threads/tls.exp: Fix typo.
6314
6315 * gdb.threads/thread-specific.exp (get_thread_list): Update.
6316 * gdb.threads/execl.exp: Update.
6317
6318 2010-12-23 Yao Qi <yao@codesourcery.com>
6319
6320 * gdb.arch/arm-disp-step.exp: New.
6321 * gdb.arch/arm-disp-step.S: New.
6322
6323 2010-12-21 Tom Tromey <tromey@redhat.com>
6324
6325 * gdb.threads/execl.exp: Update.
6326 * gdb.threads/linux-dp.exp: Update.
6327 * gdb.threads/manythreads.exp: Update.
6328 * gdb.threads/tls.exp: Update.
6329
6330 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6331
6332 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
6333 (NextOverThrowDerivates) <resumebpt>: New.
6334 (resumebpt_test): New.
6335 (main): Call resumebpt_test.
6336 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
6337
6338 2010-12-12 Stan Shebs <stan@codesourcery.com>
6339
6340 * gdb.trace/tsv.exp: Test print command on trace state variables.
6341
6342 2010-12-09 Tom Tromey <tromey@redhat.com>
6343
6344 * gdb.base/interp.exp: Add regression test.
6345
6346 2010-12-09 Tom Tromey <tromey@redhat.com>
6347
6348 * gdb.java/jnpe.java: New file.
6349 * gdb.java/jnpe.exp: New file.
6350 * gdb.cp/nextoverthrow.exp: New file.
6351 * gdb.cp/nextoverthrow.cc: New file.
6352
6353 2010-12-07 Doug Evans <dje@google.com>
6354
6355 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
6356 of data-directory.
6357 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
6358 updated.
6359 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
6360
6361 2010-11-29 Michael Snyder <msnyder@vmware.com>
6362
6363 * gdb.base/callfuncs.exp: Test for skip_float_tests.
6364 * gdb.base/call-sc.exp: Ditto.
6365 * gdb.base/finish.exp: Ditto.
6366 * gdb.base/return.exp: Ditto.
6367 * gdb.base/return2.exp: Ditto.
6368
6369 2010-11-30 Doug Evans <dje@google.com>
6370
6371 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
6372 (gdb_expect_list): Fix spelling errors in comments.
6373 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
6374 send_gdb/gdb_expect_list where applicable.
6375 * gdb.base/call-ar-st.exp: Ditto.
6376 * gdb.base/funcargs.exp: Ditto.
6377 * gdb.base/gcore.exp: Ditto.
6378 * gdb.base/page.exp: Ditto.
6379 * gdb.base/sigaltstack.exp: Ditto.
6380 * gdb.base/siginfo.exp: Ditto.
6381 * gdb.base/sigstep.exp: Ditto.
6382 * gdb.base/trace-commands.exp: Ditto.
6383
6384 2010-11-29 Doug Evans <dje@google.com>
6385
6386 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
6387 printer-name;subprinter-name.
6388
6389 2010-11-29 Tom Tromey <tromey@redhat.com>
6390
6391 * gdb.dwarf2/implptr.exp: New file.
6392 * gdb.dwarf2/implptr.c: New file.
6393 * gdb.dwarf2/implptr.S: New file.
6394
6395 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
6396
6397 PR python/12199
6398
6399 * gdb.python/py-breakpoint.exp: Test the delete method.
6400
6401 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6402
6403 Fix step_resume_breakpoint unsaved during an infcall.
6404 * gdb.base/step-resume-infcall.exp: New file.
6405 * gdb.base/step-resume-infcall.c: New file.
6406
6407 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
6408
6409 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
6410
6411 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
6412
6413 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
6414 on ppc64's symbols; "finish" and "return" commands must accept to
6415 show the caller line again as well as the line after.
6416 * gdb.asm/powerpc64.inc: New file.
6417
6418 2010-11-23 Doug Evans <dje@google.com>
6419
6420 * lib/gdb.exp (gdb_test_sequence): New function.
6421 (gdb_expect_list): Add verbose -log call for each pattern.
6422 * gdb.base/signals.exp (test_handle_all_print): Call it.
6423 Reduce timeout increment from 6 minutes to 1 minute.
6424 * gdb.server/ext-run.exp: Call it.
6425
6426 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
6427
6428 PR python/12212
6429
6430 * gdb.python/python.exp: Check that selected_thread raises an
6431 error when no inferior is loaded.
6432
6433 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6434
6435 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
6436 * gdb.dwarf2/dw2-stack-boundary.S: New file.
6437
6438 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6439
6440 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
6441 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
6442
6443 2010-11-18 Doug Evans <dje@google.com>
6444
6445 * gdb.server/ext-run.exp: Fix intermittent failures.
6446
6447 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6448
6449 * gdb.stabs/gdb11479.exp: Use runto_main.
6450
6451 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6452
6453 * gdb.base/break-entry.exp: Skip if using a stub.
6454
6455 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6456
6457 * gdb.python/py-inferior.exp: Pack values in target endianness.
6458
6459 2010-11-12 Tom Tromey <tromey@redhat.com>
6460
6461 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
6462 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
6463 MemoryError.
6464 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
6465 type.
6466 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
6467 MemoryError.
6468 (test_subscript_regression): Update exception type.
6469
6470 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
6471
6472 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
6473 breakpoint tests.
6474
6475 2010-11-09 Pedro Alves <pedro@codesourcery.com>
6476
6477 * gdb.base/watchpoint.exp: Test "watch -location" with an
6478 innacessible location.
6479
6480 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
6481 Luis Machado <luisgpm@br.ibm.com>
6482
6483 * gdb.base/maint.exp: Expect "." prefix.
6484 * gdb.base/nodebug.exp: Expect "." Likewise.
6485 * gdb.base/sepsymtab.exp: Expect "." Likewise.
6486 * gdb.base/watchpoint-cond-gone.exp: Likewise.
6487 * gdb.base/watchpoint.exp: Expect a software watch to be created for
6488 POWER server processors.
6489
6490 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
6491 Luis Machado <luisgpm@br.ibm.com>
6492
6493 * gdb.base/break-entry.exp: convert entry point for
6494 ppc64 and expect leading `.' on ppc64's symbols
6495
6496 2010-11-05 Doug Evans <dje@google.com>
6497
6498 * gdb.base/help.exp: Update expected output.
6499 * gdb.python/py-param.exp: Delete, contents moved to ...
6500 * gdb.python/py-parameter.exp: ... here. New file.
6501 Add test for gdb.parameter ("directories").
6502
6503 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
6504
6505 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
6506 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
6507 * configure: Regenerate.
6508 * gdb.opencl/Makefile.in: New File.
6509 * gdb.opencl/datatypes.exp: Likewise.
6510 * gdb.opencl/datatypes.cl: Likewise.
6511 * gdb.opencl/operators.exp: Likewise.
6512 * gdb.opencl/operators.cl: Likewise.
6513 * gdb.opencl/vec_comps.exp: Likewise.
6514 * gdb.opencl/vec_comps.cl: Likewise.
6515 * gdb.opencl/convs_casts.exp: Likewise.
6516 * gdb.opencl/convs_casts.cl: Likewise.
6517 * lib/opencl.exp: Likewise.
6518 * lib/opencl_hostapp.c: Likewise.
6519 * lib/opencl_kernel.cl: Likewise.
6520 * lib/cl_util.c: Likewise.
6521 * lib/cl_util.c: Likewise.
6522 * gdb.base/default.exp (set language): Add "opencl" to the list of
6523 languages.
6524
6525 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
6526
6527 * gdb.cp/overload.exp: Added test for inheritance overload.
6528 * gdb.cp/overload.cc: Ditto.
6529 * gdb.cp/oranking.exp: Removed releveant kfails.
6530
6531 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6532 Joel Brobecker <brobecker@adacore.com>
6533
6534 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
6535 check test_compiler_info.
6536
6537 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
6538
6539 * gdb.base/gnu_vector.exp: Adjust expect messages.
6540
6541 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
6542
6543 * gdb.base/gnu_vector.exp: Add unary operator tests.
6544
6545 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
6546
6547 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
6548
6549 2010-11-02 Doug Evans <dje@google.com>
6550
6551 * gdb.python/py-pp-maint.c: New file.
6552 * gdb.python/py-pp-maint.exp: New file.
6553 * gdb.python/py-pp-maint.py: New file.
6554
6555 2010-11-02 Tom Tromey <tromey@redhat.com>
6556
6557 * gdb.base/default.exp: Remove "scheme" from language list.
6558
6559 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6560
6561 Revert:
6562 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6563 * gdb.threads/sigstep-threads.exp: New file.
6564 * gdb.threads/sigstep-threads.c: New file.
6565
6566 2010-10-20 Michael Snyder <msnyder@vmware.com>
6567
6568 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
6569
6570 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6571
6572 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
6573 Skip test completely if gdb,no_hardware_watchpoints.
6574
6575 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6576
6577 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
6578 strict, but do not check for any particular function name within libc.
6579
6580 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6581
6582 * gdb.cp/smartp.exp: New test.
6583 * gdb.cp/smartp.cc : New test.
6584
6585 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6586
6587 * gdb.cp/converts.exp: Test pointer to bool conversion.
6588 Test pointer to long conversion.
6589 * gdb.cp/oranking.exp: Removed relevant kfail.
6590
6591 2010-10-18 Tom Tromey <tromey@redhat.com>
6592
6593 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
6594 argument to lazy_string.
6595 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
6596 (pp_ls.to_string): Use it.
6597 * gdb.python/py-prettyprint.c (main): Move declarations to top.
6598 Add "estring2" local.
6599
6600 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6601
6602 Fix s390x compatibility.
6603 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
6604 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
6605
6606 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6607
6608 * gdb.threads/sigstep-threads.exp: New file.
6609 * gdb.threads/sigstep-threads.c: New file.
6610
6611 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6612
6613 * gdb.base/pie-execl.exp: New file.
6614 * gdb.base/pie-execl.c: New file.
6615
6616 2010-10-13 Doug Evans <dje@google.com>
6617 Jan Kratochvil <jan.kratochvil@redhat.com>
6618
6619 PR exp/12117
6620 * gdb.cp/ptype-cv-cp.cc: New file.
6621 * gdb.cp/ptype-cv-cp.exp: New file.
6622
6623 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
6624
6625 * gdb.cp/converts.cc: New test program.
6626 * gdb.cp/converts.exp: New test.
6627 * gdb.cp/overload.exp: Added test for void* vs int*.
6628 * gdb.cp/overload.exp: Ditto.
6629 * gdb.cp/oranking.exp: Removed related kfail.
6630
6631 2010-10-13 Doug Evans <dje@google.com>
6632
6633 * lib/gdb-python.exp (gdb_check_python_config): New function.
6634 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
6635 * gdb.python/lib-types.cc: New file.
6636 * gdb.python/lib-types.exp: New file.
6637
6638 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6639
6640 * gdb.python/py-error.exp: New file.
6641 * gdb.python/py-error.py: New file.
6642
6643 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6644
6645 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
6646 gdb_test_multiple.
6647
6648 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6649
6650 * gdb.base/break-interp.exp: Use ldlags for linking flags.
6651 * gdb.base/prelink.exp: Likewise.
6652 * gdb.base/solib-nodir.exp: Likewise.
6653 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
6654 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
6655 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
6656
6657 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
6658
6659 * break-interp.exp (test_ld): Use two separate gdb_expect statements
6660 for the "info files" test to avoid timeouts on slow machines.
6661
6662 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6663
6664 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
6665 (main): Make openlib dummy call.
6666
6667 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6668
6669 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
6670 * break-interp.exp (reach): Move the core body ...
6671 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
6672 (test_ld): Provide always real argument, even to the linker. Replace
6673 dl_main by _dl_debug_state.
6674
6675 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6676
6677 Fix results of prelinked PIEs on ppc*.
6678 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
6679 Accept also DISPLACEMENT "PRESENT".
6680 (main): Replace "ZERO" displacements by "PRESENT".
6681
6682 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
6683
6684 * gdb.cp/oranking.exp: New test.
6685 * gdb.cp/oranking.cc: New test program.
6686
6687 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
6688
6689 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
6690 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
6691
6692 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
6693
6694 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
6695 lush, lynx) New constant.
6696 * gdb.base/constvars.exp: Test const array types.
6697 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
6698
6699 2010-10-06 Doug Evans <dje@google.com>
6700
6701 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
6702 of syscall staging area.
6703
6704 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
6705
6706 * gdb.base/gnu_vector.c: Add variable c4.
6707 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
6708 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
6709
6710 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
6711
6712 * gdb.arch/altivec-abi.exp: Fix a typo.
6713
6714 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
6715
6716 * lib/mi-support.exp (thread_selected_re): Correct pattern used
6717 to match a thread ID.
6718
6719 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6720
6721 Fix s390x testcase compatibility.
6722 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
6723
6724 2010-10-01 Doug Evans <dje@google.com>
6725
6726 * lib/gdb-python.exp: New file.
6727 * gdb.python/py-block.exp: Use it.
6728 * gdb.python/py-breakpoint.exp: Ditto.
6729 * gdb.python/py-frame.exp: Ditto.
6730 * gdb.python/py-inferior.exp: Ditto.
6731 * gdb.python/py-param.exp: Ditto.
6732 * gdb.python/py-prettyprint.exp: Ditto.
6733 * gdb.python/py-shared.exp: Ditto.
6734 * gdb.python/py-symbol.exp: Ditto.
6735 * gdb.python/py-symtab.exp: Ditto.
6736 * gdb.python/py-type.exp: Ditto.
6737 * gdb.python/py-value.exp: Ditto.
6738 * gdb.python/python.exp: Ditto.
6739
6740 2010-09-30 Tom Tromey <tromey@redhat.com>
6741
6742 * gdb.base/anon.exp: New file.
6743 * gdb.base/anon.c: New file.
6744
6745 2010-09-30 Tom Tromey <tromey@redhat.com>
6746
6747 * gdb.base/completion.exp: Test completion through anonymous
6748 union.
6749 * gdb.base/break1.c (struct some_struct): Add anonymous union.
6750
6751 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6752
6753 Fix printing parameters of inlined functions.
6754 * gdb.dwarf2/dw2-inline-param.exp: New file.
6755 * gdb.dwarf2/dw2-inline-param-main.c: New file.
6756 * gdb.dwarf2/dw2-inline-param.S: New file.
6757
6758 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6759
6760 PR corefiles/12071.
6761 * gdb.base/corefile.exp (quit with a process, no question: load core)
6762 (quit with a core file): New tests.
6763
6764 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6765
6766 Fix GDB crash on inferior calls with self-referencing classes.
6767 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
6768 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
6769 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
6770
6771 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6772
6773 Fix lost siginfo_t for inferior calls.
6774 * gdb.base/siginfo-infcall.exp: New file.
6775 * gdb.base/siginfo-infcall.c: New file.
6776
6777 2010-09-22 Joel Brobecker <brobecker@adacore.com>
6778
6779 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
6780
6781 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6782
6783 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
6784 New test.
6785 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
6786
6787 2010-09-22 Joel Brobecker <brobecker@adacore.com>
6788
6789 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
6790 type of our const type.
6791
6792 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
6793
6794 * gdb.cp/pr12028.cc: New.
6795 * gdb.cp/pr12028.exp: New.
6796
6797 2010-09-22 Joel Brobecker <brobecker@adacore.com>
6798
6799 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
6800
6801 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
6802 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 PR mi/11407
6805 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
6806 * gdb.mi/dw2-ref-missing-frame-main.c New File.
6807 * gdb.mi/dw2-ref-missing-frame.S New File.
6808 * gdb.mi/dw2-ref-missing-frame.exp New File.
6809
6810 2010-09-14 Tom Tromey <tromey@redhat.com>
6811
6812 PR symtab/8399:
6813 * gdb.threads/tls.exp: Remove kfail. Update expected output.
6814
6815 2010-09-14 Tom Tromey <tromey@redhat.com>
6816
6817 PR exp/11803:
6818 * gdb.threads/tls.exp: Use C++.
6819 (check_thread_local): Use K::another_thread_local.
6820 * gdb.threads/tls.c (class K): New.
6821 (another_thread_local): Now a member of K.
6822 (spin): Update. No longer K&R C.
6823
6824 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6825
6826 * gdb.cp/koenig.cc: created class for testing member lookup.
6827 * gdb.cp/koenig.exp: Added test for member lookup.
6828
6829 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6830
6831 Fix false FAILs on sourcetree topdir directory containing "kill".
6832 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
6833 source line matching regexp.
6834
6835 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6836
6837 * gdb.python/python.exp (set height 0, collect help from uiout)
6838 (verify help to uiout): New tests.
6839
6840 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6841
6842 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
6843 is_lp64_target to check 64bit target.
6844
6845 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6846
6847 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
6848 (test_ld) <powerpc64-*>: New.
6849
6850 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6851
6852 * gdb.cp/templates.exp (test_template_args): Allow "struct".
6853
6854 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6855
6856 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
6857 (FunctionArg::method): New function.
6858 (empty, arg): New variables.
6859 (main): Call arg.method.
6860 * gdb.cp/templates.exp (test_template_args): New function.
6861 (do_tests): Call it.
6862
6863 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6864
6865 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
6866 of "next" to proceed over pthread_exit call.
6867
6868 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6869
6870 * gdb.base/maint.exp: Avoid wildcards against potentially very long
6871 "maint print statistics" output to prevent expect timeouts.
6872
6873 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6874
6875 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
6876 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6877 (test_float_rejected): ... here.
6878 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
6879 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6880 (test_float_rejected): ... here.
6881 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
6882 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6883 (test_float_rejected): ... here.
6884 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
6885 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6886 (test_float_rejected): ... here.
6887
6888 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6889
6890 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
6891 before disabling hardware watchpoints.
6892 (test_inaccessible_watchpoint): Check that hardware watchpoints
6893 are used. Test for watchpoints on a constant address.
6894
6895 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6896
6897 * gdb.base/ui-redirect.exp: New file.
6898
6899 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6900 Joel Brobecker <brobecker@adacore.com>
6901
6902 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
6903
6904 2010-08-31 Doug Evans <dje@google.com>
6905
6906 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
6907
6908 2010-08-30 Tom Tromey <tromey@redhat.com>
6909
6910 PR python/11792:
6911 * gdb.python/py-value.exp (test_subscript_regression): Add
6912 dynamic_type test.
6913
6914 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
6915
6916 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
6917 instead of running to main. Do not test the main function.
6918 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
6919 Add new main.
6920
6921 2010-08-26 Pedro Alves <pedro@codesourcery.com>
6922
6923 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
6924 one test.
6925
6926 2010-08-24 Doug Evans <dje@google.com>
6927
6928 PR symtab/11942
6929 * gdb.dwarf2/dw4-sig-types.cc: New file.
6930 * gdb.dwarf2/dw4-sig-types.h: New file.
6931 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
6932 * gdb.dwarf2/dw4-sig-types.exp: New file.
6933
6934 2010-08-23 Tom Tromey <tromey@redhat.com>
6935
6936 PR python/11145:
6937 * gdb.python/py-value.c (Base, Derived): New types.
6938 (base): New global.
6939 * gdb.python/py-value.exp (test_subscript_regression): Add
6940 dynamic_cast test.
6941
6942 2010-08-23 Tom Tromey <tromey@redhat.com>
6943
6944 PR python/10676:
6945 * gdb.python/py-type.exp (test_fields): Add tests for type
6946 equality.
6947
6948 2010-08-23 Tom Tromey <tromey@redhat.com>
6949
6950 PR python/11915:
6951 * gdb.python/py-type.exp (test_fields): Add tests for array.
6952
6953 2010-08-23 Keith Seitz <keiths@redhat.com>
6954
6955 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
6956 have any children. Create a new abbrev for it.
6957 Add missing terminal sequence to .debug_abbrev.
6958
6959 2010-08-20 Keith Seitz <keiths@redhat.com>
6960
6961 PR symtab/11465:
6962 * gdb.dwarf2/pr11465.exp: New test.
6963 * gdb.dwarf2/pr11465.S: New file.
6964 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
6965 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
6966
6967 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
6968
6969 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
6970 registers. Update data sets with the new v2_double element in the
6971 VSX register union. Add vector_register3_vr data set for the AltiVec
6972 registers. Use gdb_test_no_output instead of send_gdb.
6973
6974 2010-08-19 Pedro Alves <pedro@codesourcery.com>
6975
6976 * gdb.python/py-shared.exp: New file, factored out from
6977 python.exp.
6978 * gdb.python/py-shared.c: New file.
6979 * gdb.python/py-shared-sl.c: New file.
6980 * gdb.python/python-1.c: New file.
6981 * gdb.python/python-sl.c: Delete.
6982 * gdb.python/python.c: Mention python-1.c.
6983 * gdb.python/python.exp: Move shared library tests to
6984 py-shared.exp.
6985 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
6986 (MISCELLANEOUS): New.
6987 (clean mostlyclean): Also remove $MISCELLANEOUS.
6988
6989 2010-08-19 Doug Evans <dje@google.com>
6990
6991 PR exp/11926
6992 * gdb.base/printcmds.exp (test_float_accepted): New function.
6993 Move existing float tests there. Add tests for floats with suffixes.
6994 (test_float_rejected): New function.
6995 * gdb.java/jv-print.exp (test_float_accepted): New function.
6996 (test_float_rejected): New function.
6997 * gdb.objc/print.exp: New file.
6998 * gdb.pascal/print.exp: New file.
6999 * lib/objc.exp: New file.
7000
7001 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
7002
7003 * gdb.base/default.exp (info set): Avoid full buffer error and force
7004 reading up to final gdb prompt.
7005 (show): Likewise.
7006
7007 2010-08-18 Tom Tromey <tromey@redhat.com>
7008
7009 PR symtab/11919:
7010 * gdb.base/completion.exp: Add test.
7011
7012 2010-08-18 Doug Evans <dje@google.com>
7013
7014 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
7015 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
7016 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
7017 Simplify, early exit if runto_main fails.
7018 * gdb.fortran/exprs.exp: load_lib fortran.exp.
7019 (set_lang_fortran): Moved to lib/fortran.exp.
7020 * gdb.fortran/types.exp: load_lib fortran.exp.
7021 (set_lang_fortran): Moved to lib/fortran.exp.
7022 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
7023 * gdb.java/jprint.exp (set_lang_java): Ditto.
7024 * gdb.java/jv-exp.exp: load_lib java.exp.
7025 If set_lang_java fails, issue a warning instead of failure to be
7026 consistent with other set_lang_foo uses.
7027 (set_lang_java): Moved to lib/java.exp.
7028 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
7029 If set_lang_java fails, issue a warning instead of failure to be
7030 consistent with other set_lang_foo uses.
7031 * gdb.pascal/types.exp: load_lib pascal.exp.
7032 (set_lang_pascal): Moved to lib/pascal.exp.
7033 * lib/fortran.exp: New file.
7034 * lib/java.exp (set_lang_java): New function.
7035 * lib/pascal.exp (set_lang_pascal): New function.
7036
7037 2010-08-18 Yao Qi <yao@codesourcery.com
7038
7039 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
7040 func_nofb_start and func_loopfb_start, so that address of functions
7041 is equal to these labels on Thumb.
7042
7043 2010-08-18 Yao Qi <yao@codesourcery.com>
7044
7045 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
7046 to reflect latest c source file.
7047
7048 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7049
7050 * gdb.cp/infcall-dlopen.exp: New file.
7051 * gdb.cp/infcall-dlopen.cc: New file.
7052 * gdb.cp/infcall-dlopen-lib.cc: New file.
7053
7054 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7055 Pedro Alves <pedro@codesourcery.com>
7056
7057 PR breakpoints/11371
7058
7059 * gdb.base/watch-cond-infcall.exp: New file.
7060 * gdb.base/watch-cond-infcall.c: New file.
7061
7062 2010-08-16 Tom Tromey <tromey@redhat.com>
7063
7064 * gdb.base/help.exp: Update.
7065 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
7066 watchpoint.
7067 (test_watch_location): New proc.
7068 (test_watchpoint_in_big_blob): Delete watchpoint.
7069 * gdb.base/watchpoint.c (func5): New function.
7070 (main): Call it.
7071
7072 2010-08-16 Doug Evans <dje@google.com>
7073
7074 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
7075
7076 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7077
7078 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
7079 tests.
7080
7081 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
7082
7083 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
7084 * gdb.base/gnu_vector.c: New File.
7085 * gdb.base/gnu_vector.exp: Likewise.
7086
7087 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7088
7089 * gdb.python/python.c: New File.
7090 * gdb.python/python-sl.c: New File.
7091 * gdb.python/python.exp: Test solib_address and decode_line
7092 * functions.
7093
7094 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7095
7096 * gdb.python/python.exp (show height, set height 10)
7097 (verify pagination beforehand, verify pagination beforehand: q)
7098 (gdb.execute does not page, verify pagination afterwards)
7099 (verify pagination afterwards: q): New.
7100
7101 2010-08-02 Doug Evans <dje@google.com>
7102
7103 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
7104 because of an older gcc, change test2
7105 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
7106 to unsupported.
7107
7108 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
7109
7110 * gdb.base/break-always.exp: Do not expect full paths to file
7111 names.
7112 * gdb.base/commands.exp: Likewise.
7113
7114 2010-07-30 Doug Evans <dje@google.com>
7115
7116 * gdb.cp/temargs.exp: For new tests that require newer gccs,
7117 xfail them when run with older gccs.
7118
7119 * lib/gdb.exp (build_executable): Forward "c++" option to
7120 get_compiler_info.
7121
7122 * gdb.python/py-type.exp (test_template): Mark as xfail tests
7123 "python print ttype.template_argument(1)" and
7124 "python print isinstance(ttype.template_argument(1), gdb.Value)"
7125 if using gcc 4.4 or earlier.
7126
7127 * gdb.base/valgrind-db-attach.exp: Use unique test name for
7128 attach-to-debugger handling.
7129
7130 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7131
7132 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
7133 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
7134 (main): Use copyreloc.
7135 * gdb.base/prelink.exp (split debug of executable)
7136 (.dynbss vs. .bss address shift): New tests.
7137
7138 2010-07-29 Pedro Alves <pedro@codesourcery.com>
7139
7140 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
7141 in gdb_test_multiple.
7142
7143 2010-07-29 Pedro Alves <pedro@codesourcery.com>
7144
7145 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
7146 environment.
7147
7148 2010-07-28 Tom Tromey <tromey@redhat.com>
7149
7150 PR python/11060:
7151 * gdb.python/py-type.c (Temargs): New template.
7152 (temvar): New variable.
7153 * gdb.python/py-type.exp (test_template): New proc.
7154
7155 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7156
7157 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
7158 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
7159
7160 2010-07-28 Tom Tromey <tromey@redhat.com>
7161
7162 PR c++/9946:
7163 * gdb.cp/temargs.exp: New file.
7164 * gdb.cp/temargs.cc: New file.
7165
7166 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7167
7168 * gdb.base/help.exp (help disassemble): Update the content.
7169
7170 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7171
7172 * gdb.threads/ia64-sigill.exp: New file.
7173 * gdb.threads/ia64-sigill.c: New file.
7174
7175 2010-07-27 Tom Tromey <tromey@redhat.com>
7176
7177 * gdb.opt/inline-cmds.c (ATTR): New define.
7178 (func1): Use it.
7179 (func2): Likewise.
7180 (func3): Likewise.
7181 (outer_inline1): Likewise.
7182 (outer_inline2): Likewise.
7183 * gdb.opt/inline-bt.c (ATTR): New define.
7184 (func1): Use it.
7185 (func2): Likewise.
7186 * gdb.opt/inline-locals.c (ATTR): New define.
7187 (func1): Use it.
7188 (func2): Likewise.
7189
7190 2010-07-27 Tom Tromey <tromey@redhat.com>
7191
7192 * gdb.stabs/gdb11479.c (hack): New function.
7193 (test): Use it.
7194 (test2): Use it.
7195 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
7196 (int32_search_buf, int64_search_buf): No longer static.
7197 (x): Remove.
7198 * gdb.base/relocate.c (hack): New function.
7199
7200 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
7201
7202 * gdb.python/py-value.exp (test_inferior_function_call): New function.
7203 * gdb.python/py-value.c (func1): New function.
7204 (func2): Likewise.
7205
7206 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
7207
7208 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
7209 as not to clash with .data section.
7210
7211 2010-07-26 Jerome Guitton <guitton@adacore.com>
7212
7213 * gdb.base/code_elim.exp: New file.
7214 * gdb.base/code_elim1.c: New file.
7215 * gdb.base/code_elim2.c: New file.
7216
7217 2010-07-21 Pedro Alves <pedro@codesourcery.com>
7218
7219 PR symtab/11827
7220
7221 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
7222 (some_volatile_enum): New variable.
7223 * gdb.base/printcmds.exp (test_print_enums): New.
7224 <top level>: Call it.
7225
7226 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
7227
7228 * gdb.cp/fpointer.cc: New test.
7229 * gdb.cp/fpointer.exp: New test.
7230
7231 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7232
7233 * gdb.base/solib-nodir.exp: New file.
7234 * lib/gdb.exp (runto): New case for a GDB internal error.
7235
7236 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7237 Ulrich Weigand <uweigand@de.ibm.com>
7238 Tom Tromey <tromey@redhat.com>
7239
7240 * gdb.base/charset-malloc.c: New file.
7241 * gdb.base/charset.c (malloc_stub): New prototype.
7242 (main): Call it instead of malloc itself.
7243 * gdb.base/charset.exp: Use only prepare_for_testing.
7244 (binfile): Remove the variable.
7245
7246 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 Make core files the process_stratum.
7249 * gdb.base/corefile.exp (run: load core again)
7250 (run: sanity check we see the core file, run: with core)
7251 (run: core file is cleared, attach: load core again)
7252 (attach: sanity check we see the core file, attach: with core)
7253 (attach: core file is cleared): New tests.
7254 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
7255
7256 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
7257
7258 * gdb.arch/altivec-abi.exp: New tests.
7259
7260 2010-07-13 Tom Tromey <tromey@redhat.com>
7261
7262 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
7263 (main): Use it.
7264 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
7265
7266 2010-07-13 Tom Tromey <tromey@redhat.com>
7267
7268 * gdb.base/label.exp: New file.
7269 * gdb.base/label.c: New file.
7270
7271 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
7272 H.J. Lu <hongjiu.lu@intel.com>
7273
7274 * lib/gdb.exp (is_ilp32_target): New.
7275 (is_lp64_target): Likewise.
7276
7277 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
7278 target.
7279 * gdb.arch/amd64-disp-step.exp: Likewise.
7280 * gdb.arch/amd64-dword.exp: Likewise.
7281 * gdb.arch/amd64-i386-address.exp: Likewise.
7282 * gdb.arch/amd64-word.exp: Likewise.
7283
7284 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
7285 target.
7286 * gdb.arch/i386-bp_permanent.exp: Likewise.
7287 * gdb.arch/i386-byte.exp: Likewise.
7288 * gdb.arch/i386-disp-step.exp: Likewise.
7289 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7290 * gdb.arch/i386-prologue.exp: Likewise.
7291 * gdb.arch/i386-size-overlap.exp: Likewise.
7292 * gdb.arch/i386-size.exp: Likewise.
7293 * gdb.arch/i386-sse.exp: Likewise.
7294 * gdb.arch/i386-unwind.exp: Likewise.
7295 * gdb.arch/i386-word.exp: Likewise.
7296
7297 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
7298 test only when building 64-bit executables. Do not hard-code
7299 -m64 option.
7300
7301 2010-07-07 Doug Evans <dje@google.com>
7302
7303 * lib/gdb.exp (gdb_test_list_exact): New function.
7304 * gdb.base/default.exp (show convenience): Call it, add tests for
7305 $_sdata = void, $_thread = 0.
7306
7307 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7308 Joel Brobecker <brobecker@adacore.com>
7309
7310 Fix re-run of PIE executable, PR shlibs/11776.
7311 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
7312 Remove $displacement_main to match the solib-svr4.c change. New "kill"
7313 and re-"run" of the inferior.
7314
7315 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7316 Joel Brobecker <brobecker@adacore.com>
7317
7318 Cope with missing /usr/sbin/prelink.
7319 * lib/prelink-support.exp (prelink_no):
7320 <result == 1 && $output is "no such file or directory">: New.
7321 (prelink_yes): Likewise. Return on failed prelink_no.
7322
7323 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7324 Joel Brobecker <brobecker@adacore.com>
7325
7326 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
7327 build_executable by build_executable_own_libs. Replace "prelink -R"
7328 execution by a call of prelink_yes. Comment why "prelink -r" needs no
7329 change.
7330 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
7331 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
7332 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
7333 Replace build_executable by build_executable_own_libs's function
7334 build_executable_own_libs.
7335 (prelinkNO): Create new stub to call prelink_no.
7336 (prelinkYES): Create new stub to call prelink_yes.
7337 (test_attach): Rename calls of copy to file_copy.
7338 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
7339 (copy): Move to ...
7340 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
7341 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
7342 * gdb.base/prelink.exp: Disable testcase also for is_remote and
7343 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
7344 special flags by gdb_compile_shlib. Replace second gdb_compile by
7345 build_executable_own_libs. Replace "prelink -R" execution by a call of
7346 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
7347 a second call of prelink_yes. Replace restart commands by
7348 clean_restart.
7349 (prelink): Rename to ...
7350 (seen displacement message): ... this test. Extend its expectation
7351 strictness.
7352
7353 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7354
7355 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
7356 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
7357 displacement message exactly once.
7358
7359 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7360 Joel Brobecker <brobecker@adacore.com>
7361
7362 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
7363 its restore after the <$relink_args != ""> loop. new comment.
7364
7365 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7366 Joel Brobecker <brobecker@adacore.com>
7367
7368 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
7369 code for it. New variable relink_args.
7370 (prelinkYES): Call prelinkNO.
7371 (test_attach): Accept new parameter relink_args. Re-prelink the binary
7372 in such case. Move the core code to ...
7373 (test_attach_gdb): ... a new function. Send GDB command "file".
7374 Extend expected "Attaching to " string.
7375
7376 2010-07-02 Tom Tromey <tromey@redhat.com>
7377
7378 * gdb.base/bitops.exp: Remove extraneous "pass".
7379
7380 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
7381
7382 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
7383
7384 2010-07-01 Pedro Alves <pedro@codesourcery.com>
7385
7386 * gdb.base/help.exp: Adjust expected output.
7387
7388 2010-07-01 Pedro Alves <pedro@codesourcery.com>
7389
7390 * gdb.base/help.exp: Adjust expected output.
7391
7392 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7393
7394 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
7395 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
7396 c++/11702.
7397
7398 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7399 Doug Evans <dje@google.com>
7400
7401 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
7402 add .dynamic entry'.
7403
7404 2010-06-29 Doug Evans <dje@google.com>
7405
7406 Test PR c++/11702.
7407 * gdb.cp/m-static.exp: Add testcase.
7408 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
7409
7410 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
7411 Tom Tromey <tromey@redhat.com>
7412 Thiago Jung Bauermann <bauerman@br.ibm.com>
7413
7414 * gdb.python/py-inferior.c: New File.
7415 * gdb.python/py-infthread.c: New File.
7416 * gdb.python/py-inferior.exp: New File.
7417 * gdb.python/py-infthread.exp: New File.
7418
7419 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7420
7421 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
7422 (ptype ::C::OtherFileClass typedefs): New.
7423 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
7424 (C::OtherFileClass::cOtherFileClassVar2): New.
7425 (C::OtherFileClass::cOtherFileClassVar_use): Use also
7426 cOtherFileClassVar2.
7427 (C::cOtherFileType2, C::cOtherFileVar2): New.
7428 (C::cOtherFileVar_use): use also cOtherFileVar2.
7429 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
7430
7431 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7432
7433 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
7434 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
7435 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
7436 (print ::C::cOtherFileVar)
7437 (whatis C::OtherFileClass::cOtherFileClassType)
7438 (whatis ::C::OtherFileClass::cOtherFileClassType)
7439 (print C::OtherFileClass::cOtherFileClassVar)
7440 (print ::cOtherFileClassVar)
7441 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
7442 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
7443 trailing content.
7444 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
7445 (C::OtherFileClass::cOtherFileClassVar)
7446 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
7447 (C::cOtherFileVar, C::cOtherFileVar_use): New.
7448
7449 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7450
7451 Test PR c++/11703 and PR gdb/1448.
7452 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
7453 gdb/1448.
7454
7455 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7456
7457 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
7458 (main) <rtti_data>: New.
7459 * gdb.cp/virtbase.exp (print rtti_data): New.
7460
7461 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7462 Joel Brobecker <brobecker@adacore.com>
7463
7464 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
7465
7466 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7467
7468 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
7469
7470 2010-06-28 Doug Evans <dje@google.com>
7471
7472 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
7473
7474 2010-06-27 Doug Evans <dje@google.com>
7475
7476 * gdb.cp/m-static.exp: Update expected test output.
7477
7478 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
7479
7480 * gdb.gdb/selftest.exp: Adjust expected message for
7481 capturing start-up runtime.
7482
7483 2010-06-25 Tom Tromey <tromey@redhat.com>
7484
7485 PR python/10808:
7486 * gdb.python/python.exp: Add new tests.
7487
7488 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
7489
7490 * gdb.cp/operator.cc: Created an import loop.
7491 * gdb.cp/operator.exp: Added testcase for import loop.
7492
7493 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7494
7495 Test PR python/11407.
7496 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
7497 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
7498 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
7499 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
7500 executable_nofb and executable_fb. New variables srcsfile, objsfile,
7501 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
7502 binfile. Call gdb_compile with clean_restart twice.
7503 (func_nofb print, func_nofb backtrace, func_loopfb print)
7504 (func_loopfb backtrace): New.
7505
7506 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7507
7508 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
7509 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
7510 by a hand made one.
7511 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
7512 i?86 requirement. Remove variables srcfile and binfile. New variable
7513 sources, executable_nofb and executable_fb. Call prepare_for_testing.
7514
7515 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7516
7517 * gdb.cell/dwarfaddr.exp: New file.
7518 * gdb.cell/dwarfaddr.S: New file.
7519
7520 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7521
7522 Test PR 9436.
7523 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
7524
7525 2010-06-24 Hui Zhu <teawater@gmail.com>
7526
7527 * gdb.base/eval.exp: New file.
7528
7529 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7530
7531 * gdb.cell/fork.exp: New file.
7532 * gdb.cell/fork.c: Likewise.
7533 * gdb.cell/fork-spu.c: Likewise.
7534
7535 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
7536
7537 * lib/gdb.exp (banned_variables_traced): New global variable.
7538 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
7539 (gdb_init): Use `trace add variable' instead of obsolete
7540 `trace variable'.
7541
7542 2010-06-21 Doug Evans <dje@google.com>
7543
7544 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
7545
7546 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7547
7548 * gdb.arch/spu-ls.exp: New file.
7549 * gdb.arch/spu-ls.c: Likewise.
7550
7551 2010-06-18 Stan Shebs <stan@codesourcery.com>
7552
7553 * gdb.threads/thread-specific.exp: Add tests of $_thread.
7554
7555 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7556
7557 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
7558 * gdb.base/watch-cond.exp: Likewise.
7559 * gdb.python/py-breakpoint.exp: Likewise.
7560
7561 2010-06-18 Pedro Alves <pedro@codesourcery.com>
7562
7563 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
7564 clean_restart, make sure every test has a distinct message, and
7565 that messages don't include the executable' full path.
7566
7567 2010-06-17 Doug Evans <dje@google.com>
7568
7569 * gdb.arch/i386-size.exp: Updated expected output for
7570 DISASSEMBLY_OMIT_FNAME.
7571
7572 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7573 Sergio Durigan Junior <sergiodj@redhat.com>
7574
7575 * gdb.base/watch-notconst.c: New file.
7576 * gdb.base/watch-notconst.S: New file.
7577 * gdb.base/watch-notconst2.c: New file.
7578 * gdb.base/watch-notconst2.S: New file.
7579 * gdb.base/watch-notconst.exp: New file.
7580 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
7581 (func4): Add operations on `global_ptr_ptr'.
7582 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
7583 routine to test watchpoints created with a constant expression.
7584 (test_inaccessible_watchpoint): Include tests for watchpoints
7585 created with a constant expression.
7586
7587 2010-06-14 Kevin Buettner <kevinb@redhat.com>
7588
7589 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7590 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
7591 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
7592 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
7593 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7594 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7595 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
7596 of `_start'.
7597
7598 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7599
7600 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
7601 not supported on the target.
7602 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7603 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7604 * gdb.mi/mi-nsintrall.exp: Likewise.
7605 * gdb.mi/mi-nsmoribund.exp: Likewise.
7606 * gdb.mi/mi-nsthrexec.exp: Likewise.
7607
7608 2010-06-11 Stan Shebs <stan@codesourcery.com>
7609
7610 * gdb.base/permissions.exp: New file.
7611
7612 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7613
7614 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
7615 does not support ELF executable class.
7616
7617 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7618
7619 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
7620
7621 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7622
7623 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
7624 (runto): Catch "The target does not support running in non-stop mode.".
7625
7626 2010-06-11 Michael Snyder <msnyder@vmware.com>
7627
7628 * gdb.base/setshow.exp (set language asm): Don't use
7629 gdb_test_no_output, fails on some targets.
7630
7631 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7632
7633 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
7634 * gdb.cp/pr9167.exp: Likewise.
7635
7636 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7637
7638 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
7639
7640 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7641
7642 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
7643
7644 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7645
7646 * gdb.base/charset.c (main): Make sure malloc gets linked in.
7647
7648 2010-06-11 Tom Tromey <tromey@redhat.com>
7649
7650 PR gdb/9977, PR exp/11636::
7651 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
7652 (pieces_test_f6): Update expected output.
7653
7654 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7655
7656 * gdb.base/moribund-step.exp: New.
7657
7658 2010-06-08 Michael Snyder <msnyder@vmware.com>
7659
7660 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
7661 * gdb.ada/boolean_expr.exp:
7662 * gdb.ada/frame_args.exp: Ditto.
7663 * gdb.ada/lang_switch.exp: Ditto.
7664 * gdb.ada/ptype_arith_binop.exp: Ditto.
7665 * gdb.ada/ref_param.exp: Ditto.
7666 * gdb.ada/type_coercion.exp:Ditto.
7667
7668 * gdb.asm/asm-source.exp: Ditto.
7669
7670 * gdb.base/attach.exp: Ditto.
7671 * gdb.base/bitfields2.exp: Ditto.
7672 * gdb.base/call-signal-resume.exp: Ditto.
7673 * gdb.base/callfuncs.exp: Ditto.
7674 * gdb.base/commands.exp: Ditto.
7675 * gdb.base/dbx.exp: Ditto.
7676 * gdb.base/default.exp: Ditto.
7677 * gdb.base/dump.exp: Ditto.
7678 * gdb.base/exprs.exp: Ditto.
7679 * gdb.base/freebpcmd.exp: Ditto.
7680 * gdb.base/interrupt.exp: Ditto.
7681 * gdb.base/list.exp: Ditto.
7682 * gdb.base/long_long.exp: Ditto.
7683 * gdb.base/maint.exp: Ditto.
7684 * gdb.base/ptype.exp: Ditto.
7685 * gdb.base/return.exp: Ditto.
7686 * gdb.base/setshow.exp: Ditto.
7687 * gdb.base/sigbpt.exp: Ditto.
7688 * gdb.base/sigrepeat.exp: Ditto.
7689
7690 * gdb.cp/classes.exp: Ditto.
7691
7692 * gdb.dwarf2/dw2-restore.exp: Ditto.
7693
7694 * gdb.gdb/selftest.exp: Ditto.
7695
7696 * gdb.multi/base.exp: Ditto.
7697 * gdb.multi/bkpt-multi-exec.exp: Ditto.
7698
7699 * gdb.python/py-block.exp: Ditto.
7700 * gdb.python/py-prettyprint.exp: Ditto.
7701 * gdb.python/py-template.exp: Ditto.
7702
7703 * gdb.server/ext-attach.exp: Ditto.
7704 * gdb.server/ext-run.exp: Ditto.
7705 * gdb.server/server-mon.exp: Ditto.
7706
7707 * gdb.threads/fork-thread-pending.exp: Ditto.
7708 * gdb.threads/hand-call-in-threads.exp: Ditto.
7709 * gdb.threads/interrupted-hand-call.exp: Ditto.
7710 * gdb.threads/linux-dp.exp: Ditto.
7711 * gdb.threads/manythreads.exp: Ditto.
7712 * gdb.threads/print-threads.exp: Ditto.
7713 * gdb.threads/pthreads.exp: Ditto.
7714 * gdb.threads/schedlock.exp: Ditto.
7715 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7716 * gdb.threads/threadapply.exp: Ditto.
7717
7718 2010-06-08 Michael Snyder <msnyder@vmware.com>
7719
7720 * gdb.ada/exec_changed.exp:
7721 Use ".*" instead of "" as wildcard regexp.
7722
7723 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
7724 * gdb.base/call-ar-st.exp: Ditto.
7725 * gdb.base/checkpoint.exp: Ditto.
7726 * gdb.base/default.exp: Ditto.
7727 * gdb.base/dump.exp: Ditto.
7728 * gdb.base/ending-run.exp: Ditto.
7729 * gdb.base/fileio.exp: Ditto.
7730 * gdb.base/miscexprs.exp: Ditto.
7731 * gdb.base/pointers.exp: Ditto.
7732 * gdb.base/readline.exp: Ditto.
7733 * gdb.base/reread.exp: Ditto.
7734 * gdb.base/restore.exp: Ditto.
7735 * gdb.base/shlib-call.exp: Ditto.
7736 * gdb.base/valgrind-db-attach.exp: Ditto.
7737 * gdb.base/volatile.exp: Ditto.
7738 * gdb.base/watchpoints.exp: Ditto.
7739
7740 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
7741
7742 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
7743 * gdb.python/py-value.exp: Ditto.
7744
7745 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
7746 * gdb.trace/circ.exp: Ditto.
7747 * gdb.trace/collection.exp: Ditto.
7748 * gdb.trace/packetlen.exp: Ditto.
7749 * gdb.trace/passc-dyn.exp: Ditto.
7750 * gdb.trace/report.exp: Ditto.
7751 * gdb.trace/tfile.exp: Ditto.
7752 * gdb.trace/tfind.exp: Ditto.
7753 * gdb.trace/while-dyn.exp: Ditto.
7754
7755 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7756
7757 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
7758
7759 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7760
7761 Test PR 10640.
7762 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
7763
7764 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
7765
7766 * gdb.cp/koenig.exp: Test for ADL operators.
7767 * gdb.cp/koenig.cc: Added ADL operators.
7768 * gdb.cp/operator.exp: New test.
7769 * gdb.cp/operator.cc: New test.
7770
7771 2010-06-04 Michael Snyder <msnyder@vmware.com>
7772
7773 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
7774 * gdb.base/pending.exp: Ditto.
7775
7776 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
7777
7778 2010-06-04 Doug Evans <dje@google.com>
7779
7780 * gdb.python/py-prettyprint.exp: Add new test for enabled and
7781 disabled printers.
7782 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
7783 (enable_lookup_function): New function.
7784
7785 2010-06-04 Tom Tromey <tromey@redhat.com>
7786
7787 * gdb.python/py-value.exp (test_value_hash): Don't test equality
7788 of hash and id.
7789
7790 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7791
7792 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
7793 newline.
7794 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
7795 (empty verbose non-noisy clear, empty verbose noisy clear)
7796 (empty non-verbose noisy clear): Likewise.
7797
7798 2010-06-03 Michael Snyder <msnyder@vmware.com>
7799
7800 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
7801 * gdb.base/display.exp: Ditto.
7802 * gdb.base/find.exp: Ditto.
7803 * gdb.base/ifelse.exp: Ditto.
7804 * gdb.base/multi-forks.exp: Ditto.
7805 * gdb.base/recurse.exp: Ditto.
7806 * gdb.base/setshow.exp: Ditto.
7807 * gdb.base/value-double-free.exp: Ditto.
7808 * gdb.base/watch-vfork.exp: Ditto.
7809 * gdb.base/watch_thread_num.exp: Ditto.
7810 * gdb.base/watchpoint-solib.exp: Ditto.
7811 * gdb.base/watchpoint.exp: Ditto.
7812 * gdb.base/watchpoints.exp: Ditto.
7813
7814 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
7815 * gdb.cp/overload.exp: Ditto.
7816 * gdb.cp/virtfunc.exp: Ditto.
7817
7818 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
7819
7820 * gdb.reverse/watch-precsave.exp:
7821 Replace gdb_test with gdb_test_no_output.
7822
7823 * gdb.threads/attach-into-signal.exp:
7824 Replace gdb_test with gdb_test_no_output.
7825 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7826 * gdb.threads/watchthreads.exp: Ditto.
7827 * gdb.threads/watchthreads2.exp: Ditto.
7828
7829 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
7830 * gdb.trace/tfind.exp: Ditto.
7831
7832 2010-06-03 Joel Brobecker <brobecker@adacore.com>
7833
7834 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
7835 successful test if message is the empty string.
7836
7837 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7838
7839 * gdb.fortran/module.exp (stopped language detection): New test.
7840
7841 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7842
7843 Support DW_TAG_module as separate namespaces.
7844 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
7845 gdb.fortran/library-module-lib.f90: New.
7846 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
7847 (print i): Remove.
7848 (continue to breakpoint: i-is-1, print var_i value 1)
7849 (continue to breakpoint: i-is-2, print var_i value 2)
7850 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
7851 (print var_d, print var_i value 14, ptype modmany, complete `modm)
7852 (complete `modmany, complete `modmany`, complete `modmany`var)
7853 (show language, setting breakpoint at module): New tests.
7854 * gdb.fortran/module.f90 (module mod): Remove.
7855 (module mod1, module mod2, module modmany, subroutine sub1)
7856 (subroutine sub2, program module): New.
7857
7858 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7859
7860 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
7861 (print value of rUC, print value of rI, print value of UI): ... here.
7862 * gdb.cp/anon-union.exp (pass): Rename to ...
7863 (print z 2): ... here.
7864
7865 2010-06-02 Michael Snyder <msnyder@vmware.com>
7866
7867 * gdb.trace/actions.exp: Use gdb_test_no_output.
7868 * gdb.trace/circ.exp: Ditto.
7869 * gdb.trace/packetlen.exp: Ditto.
7870 * gdb.trace/save-trace.exp: Ditto.
7871 * gdb.trace/tracecmd.exp: Ditto.
7872 * gdb.trace/tsv.exp: Ditto.
7873
7874 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
7875 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
7876 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7877 * gdb.threads/manythreads.exp: Ditto.
7878 * gdb.threads/print-threads.exp: Ditto.
7879 * gdb.threads/pthreads.exp: Ditto.
7880 * gdb.threads/schedlock.exp: Ditto.
7881 * gdb.threads/staticthreads.exp: Ditto.
7882 * gdb.threads/thread-specific.exp: Ditto.
7883 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7884 * gdb.threads/threadapply.exp: Ditto.
7885 * gdb.threads/watchthreads.exp: Ditto.
7886 * gdb.threads/watchthreads2.exp: Ditto.
7887
7888 * gdb.python/py-block.exp: Use gdb_test_no_output.
7889 * gdb.python/py-prettyprint.exp: Ditto.
7890 * gdb.python/py-template.exp: Ditto.
7891 * gdb.python/py-value.exp: Ditto.
7892
7893 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
7894 * gdb.reverse/watch-reverse.exp: Ditto.
7895
7896 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
7897 * gdb.server/ext-run.exp: Ditto.
7898
7899 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
7900 * gdb.dwarf2/dw2-compressed.exp: Ditto.
7901 * gdb.dwarf2/dw2-intercu.exp: Ditto.
7902 * gdb.dwarf2/dw2-intermix.exp: Ditto.
7903 * gdb.dwarf2/dw2-producer.exp: Ditto.
7904 * gdb.dwarf2/mac-fileno.exp: Ditto.
7905
7906 * gdb.gdb/observer.exp: Use gdb_test_no_output.
7907 * gdb.gdb/selftest.exp: Ditto.
7908
7909 * gdb.multi/base.exp: Use gdb_test_no_output.
7910
7911 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
7912
7913 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7914
7915 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
7916
7917 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
7918
7919 * gdb.cp/class2.exp: Use gdb_test_no_output.
7920 * gdb.cp/classes.exp: Ditto.
7921 * gdb.cp/extern-c.exp: Ditto.
7922 * gdb.cp/inherit.exp: Ditto.
7923 * gdb.cp/maint.exp: Ditto.
7924 * gdb.cp/mb-inline.exp: Ditto.
7925 * gdb.cp/mb-templates.exp: Ditto.
7926 * gdb.cp/method2.exp: Ditto.
7927 * gdb.cp/misc.exp: Ditto.
7928 * gdb.cp/ovldbreak.exp: Ditto.
7929 * gdb.cp/punctuator.exp: Ditto.
7930 * gdb.cp/templates.exp: Ditto.
7931 * gdb.cp/virtbase.exp: Ditto.
7932
7933 * gdb.threads/attach-stopped.exp:
7934 Replace uses of send_gdb / gdb_expect.
7935 * gdb.threads/attachstop-mt.exp:
7936 Replace uses of send_gdb / gdb_expect.
7937 * gdb.threads/gcore-thread.exp:
7938 Replace uses of send_gdb / gdb_expect.
7939 * gdb.threads/hand-call-in-threads.exp:
7940 Replace uses of send_gdb / gdb_expect.
7941 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
7942 * gdb.threads/print-threads.exp:
7943 Replace uses of send_gdb / gdb_expect.
7944 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
7945 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
7946 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
7947
7948 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
7949 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
7950 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
7951 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
7952 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
7953 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
7954 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
7955 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
7956 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
7957 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
7958 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
7959
7960 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7961
7962 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
7963
7964 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
7965
7966 * gdb.cp/koenig.exp: Added new test case.
7967 * gdb.cp/koenig.cc: Ditto.
7968
7969 2010-06-01 Michael Snyder <msnyder@vmware.com>
7970
7971 * gdb.base/arithmet.exp: Use gdb_test_no_output.
7972 * gdb.base/arrayidx.exp: Ditto.
7973 * gdb.base/attach.exp: Ditto.
7974 * gdb.base/auxv.exp: Ditto.
7975 * gdb.base/bigcre.exp: Ditto.
7976 * gdb.base/break-always.exp: Ditto.
7977 * gdb.base/break-interp.exp: Ditto.
7978 * gdb.base/break.exp: Ditto.
7979 * gdb.base/breakpoint-shadow.exp: Ditto.
7980 * gdb.base/call-ar-st.exp: Ditto.
7981 * gdb.base/call-sc.exp: Ditto.
7982 * gdb.base/call-signal-resume.exp: Ditto.
7983 * gdb.base/callfuncs.exp: Ditto.
7984 * gdb.base/catch-syscall.exp: Ditto.
7985 * gdb.base/charset.exp: Ditto.
7986 * gdb.base/code-expr.exp: Ditto.
7987 * gdb.base/commands.exp: Ditto.
7988 * gdb.base/cond-expr.exp: Ditto.
7989 * gdb.base/condbreak.exp: Ditto.
7990 * gdb.base/cursal.exp: Ditto.
7991 * gdb.base/cvexpr.exp: Ditto.
7992 * gdb.base/default.exp: Ditto.
7993 * gdb.base/del.exp: Ditto.
7994 * gdb.base/detach.exp: Ditto.
7995 * gdb.base/display.exp: Ditto.
7996 * gdb.base/ena-dis-br.exp: Ditto.
7997 * gdb.base/eval-skip.exp: Ditto.
7998 * gdb.base/foll-fork.exp: Ditto.
7999 * gdb.base/foll-vfork.exp: Ditto.
8000 * gdb.base/frame-args.exp: Ditto.
8001 * gdb.base/funcargs.exp: Ditto.
8002 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8003 * gdb.base/gdbvars.exp: Ditto.
8004 * gdb.base/help.exp: Ditto.
8005 * gdb.base/ifelse.exp: Ditto.
8006 * gdb.base/included.exp: Ditto.
8007 * gdb.base/list.exp: Ditto.
8008 * gdb.base/macscp.exp: Ditto.
8009 * gdb.base/maint.exp: Ditto.
8010 * gdb.base/multi-fork.exp: Ditto.
8011 * gdb.base/overlays.exp: Ditto.
8012 * gdb.base/page.exp: Ditto.
8013 * gdb.base/pending.exp: Ditto.
8014 * gdb.base/pointers.exp: Ditto.
8015 * gdb.base/pr11022.exp: Ditto.
8016 * gdb.base/prelink.exp: Ditto.
8017 * gdb.base/printcmds.exp: Ditto.
8018 * gdb.base/psymtab.exp: Ditto.
8019 * gdb.base/randomize.exp: Ditto.
8020 * gdb.base/relational.exp: Ditto.
8021 * gdb.base/relocate.exp: Ditto.
8022 * gdb.base/remote.exp: Ditto.
8023 * gdb.base/sepdebug.exp: Ditto.
8024 * gdb.base/set-lang-auto.exp: Ditto.
8025 * gdb.base/setshow.exp: Ditto.
8026 * gdb.base/setvar.exp: Ditto.
8027 * gdb.base/signals.exp: Ditto.
8028 * gdb.base/signull.exp: Ditto.
8029 * gdb.base/sigstep.exp: Ditto.
8030 * gdb.base/sizeof.exp: Ditto.
8031 * gdb.base/solib-disc.exp: Ditto.
8032 * gdb.base/store.exp: Ditto.
8033 * gdb.base/structs.exp: Ditto.
8034 * gdb.base/structs2.exp: Ditto.
8035 * gdb.base/subst.exp: Ditto.
8036 * gdb.base/term.exp: Ditto.
8037 * gdb.base/trace-commands.exp: Ditto.
8038 * gdb.base/unwindonsignal.exp: Ditto.
8039 * gdb.base/valgrind-db-attach.exp: Ditto.
8040 * gdb.base/varargs.exp: Ditto.
8041 * gdb.base/watch-cond.exp: Ditto.
8042 * gdb.base/watch_thread_num.exp: Ditto.
8043 * gdb.base/watchpoint-cond-gone.exp: Ditto.
8044 * gdb.base/watchpoint.exp: Ditto.
8045 * gdb.base/whatis-exp.exp: Ditto.
8046
8047 2010-06-01 Michael Snyder <msnyder@vmware.com>
8048
8049 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
8050 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
8051 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
8052 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
8053 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
8054 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
8055 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
8056 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
8057 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
8058 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
8059 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
8060 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
8061 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
8062 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
8063 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
8064
8065 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8066
8067 * gdb.base/commands.exp (begin commands on watch): Remove excessive
8068 trailing newline.
8069 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
8070 * gdb.java/jmisc.exp (p *args\n): Rename to ...
8071 (p *args): ... here and remove excessive trailing newline.
8072
8073 2010-05-31 Joel Brobecker <brobecker@adacore.com>
8074
8075 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
8076
8077 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8078
8079 Accept the new Linux kernel "t (tracing stop)" string.
8080 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
8081 Update comment.
8082 (state_wait) <T (tracing stop)>: New.
8083 (main): Update the state_wait expect string.
8084
8085 2010-05-28 Pedro Alves <pedro@codesourcery.com>
8086
8087 * limits.c, limits.exp: Delete files.
8088 * Makefile.in (clean mostlyclean): Adjust.
8089 * tracecmd.exp: Adjust.
8090
8091 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8092
8093 * gdb.base/tui-layout.exp: New.
8094
8095 2010-05-28 Michael Snyder <msnyder@vmware.com>
8096
8097 * gdb.reverse/break-precsave.exp:
8098 Replace uses of send_gdb / gdb_expect.
8099 * gdb.reverse/break-reverse.exp:
8100 Replace uses of send_gdb / gdb_expect.
8101 * gdb.reverse/consecutive-precsave.exp:
8102 Replace uses of send_gdb / gdb_expect.
8103 * gdb.reverse/consecutive-reverse.exp:
8104 Replace uses of send_gdb / gdb_expect.
8105 * gdb.reverse/finish-precsave.exp:
8106 Replace uses of send_gdb / gdb_expect.
8107 * gdb.reverse/finish-reverse.exp:
8108 Replace uses of send_gdb / gdb_expect.
8109 * gdb.reverse/i386-precsave.exp:
8110 Replace uses of send_gdb / gdb_expect.
8111 * gdb.reverse/i386-reverse.exp:
8112 Replace uses of send_gdb / gdb_expect.
8113 * gdb.reverse/i386-sse-reverse.exp:
8114 Replace uses of send_gdb / gdb_expect.
8115 * gdb.reverse/i387-env-reverse.exp:
8116 Replace uses of send_gdb / gdb_expect.
8117 * gdb.reverse/i387-stack-reverse.exp:
8118 Replace uses of send_gdb / gdb_expect.
8119 * gdb.reverse/machinestate-precsave.exp:
8120 Replace uses of send_gdb / gdb_expect.
8121 * gdb.reverse/machinestate.exp:
8122 Replace uses of send_gdb / gdb_expect.
8123 * gdb.reverse/sigall-precsave.exp:
8124 Replace uses of send_gdb / gdb_expect.
8125 * gdb.reverse/sigall-reverse.exp:
8126 Replace uses of send_gdb / gdb_expect.
8127 * gdb.reverse/solib-precsave.exp:
8128 Replace uses of send_gdb / gdb_expect.
8129 * gdb.reverse/solib-reverse.exp:
8130 Replace uses of send_gdb / gdb_expect.
8131 * gdb.reverse/step-precsave.exp:
8132 Replace uses of send_gdb / gdb_expect.
8133 * gdb.reverse/step-reverse.exp:
8134 Replace uses of send_gdb / gdb_expect.
8135 * gdb.reverse/until-precsave.exp:
8136 Replace uses of send_gdb / gdb_expect.
8137 * gdb.reverse/until-reverse.exp:
8138 Replace uses of send_gdb / gdb_expect.
8139 * gdb.reverse/watch-precsave.exp:
8140 Replace uses of send_gdb / gdb_expect.
8141 * gdb.reverse/watch-reverse.exp:
8142 Replace uses of send_gdb / gdb_expect.
8143
8144 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8145
8146 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
8147 excessive newline.
8148
8149 2010-05-27 Michael Snyder <msnyder@vmware.com>
8150
8151 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
8152 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
8153 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
8154 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
8155 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
8156 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
8157 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
8158 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
8159 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
8160 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
8161 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
8162 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
8163 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
8164 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
8165 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
8166 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
8167 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
8168 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
8169 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
8170
8171 2010-05-26 Michael Snyder <msnyder@vmware.com>
8172
8173 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
8174 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
8175
8176 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
8177 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
8178 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
8179
8180 * gdb.reverse/consecutive-reverse.exp:
8181 Replace uses of send_gdb / gdb_expect.
8182 * gdb.reverse/consecutive-precsave.exp:
8183 Replace uses of send_gdb / gdb_expect.
8184
8185 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
8186 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
8187 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
8188 * gdb.mi/mi-ns-stale-regcache.exp:
8189 Replace uses of send_gdb / gdb_expect.
8190 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
8191 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
8192 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
8193 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
8194 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
8195 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
8196 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
8197 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
8198 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
8199
8200 2010-05-26 Michael Snyder <msnyder@vmware.com>
8201
8202 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
8203
8204 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
8205
8206 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
8207 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
8208 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
8209 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
8210 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
8211 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
8212 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
8213 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
8214 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
8215
8216 2010-05-25 Tom Tromey <tromey@redhat.com>
8217
8218 * gdb.base/macscp.exp: Add missing space after setup_kfail.
8219
8220 2010-05-25 Tom Tromey <tromey@redhat.com>
8221
8222 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
8223 argument order.
8224 * gdb.base/macscp.exp: Fix setup_kfail argument order.
8225 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
8226 order.
8227 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
8228 order.
8229 * gdb.base/call-sc.exp (setup_kfails): Remove.
8230 (setup_compiler_kfails): Remove.
8231 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
8232 argument order.
8233 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
8234 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
8235 (advancei): Fix setup_kfail argument order.
8236 * gdb.base/radix.exp: Fix setup_kfail argument order.
8237 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
8238 order.
8239 * gdb.base/structs.exp (setup_kfails): Remove.
8240 (setup_compiler_kfails): Fix setup_kfail argument order.
8241 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
8242 order.
8243 * gdb.java/jmain.exp: Fix setup_kfail argument order.
8244 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
8245 setup_kfail argument order.
8246 * gdb.cp/overload.exp: Fix setup_kfail argument order.
8247
8248 2010-05-25 Tom Tromey <tromey@redhat.com>
8249
8250 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
8251
8252 2010-05-25 Michael Snyder <msnyder@vmware.com>
8253
8254 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
8255 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
8256 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
8257 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
8258 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
8259 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
8260 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
8261 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
8262 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
8263 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
8264 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
8265 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
8266 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
8267 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
8268 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
8269 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
8270 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
8271 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
8272 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
8273 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
8274 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
8275 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
8276 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
8277 * gdb.base/default.exp: Replace send_gdb with gdb_test.
8278 * gdb.base/define.exp: Replace send_gdb with gdb_test.
8279 * gdb.base/display.exp: Replace send_gdb with gdb_test.
8280 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
8281 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
8282 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
8283 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
8284 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
8285 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
8286 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
8287 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
8288 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
8289 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
8290 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
8291 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
8292 * gdb.base/help.exp: Replace send_gdb with gdb_test.
8293 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
8294 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
8295 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
8296 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
8297 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
8298 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
8299 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
8300 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
8301 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
8302
8303 2010-05-25 Doug Evans <dje@google.com>
8304
8305 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
8306 gdb.string_to_argv.
8307
8308 2010-05-21 Tom Tromey <tromey@redhat.com>
8309
8310 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
8311 Call it.
8312 * gdb.dwarf2/pieces.S: Update.
8313 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
8314
8315 2010-05-21 Tom Tromey <tromey@redhat.com>
8316
8317 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
8318 Call it.
8319 * gdb.dwarf2/pieces.c (struct C): New.
8320 (f6): New function.
8321 * gdb.dwarf2/pieces.S: Replace.
8322
8323 2010-05-21 Tom Tromey <tromey@redhat.com>
8324
8325 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
8326 Call it.
8327
8328 2010-05-21 Tom Tromey <tromey@redhat.com>
8329
8330 * gdb.dwarf2.pieces.exp: New file.
8331 * gdb.dwarf2.pieces.S: New file.
8332 * gdb.dwarf2.pieces.c: New file.
8333
8334 2010-05-20 Pedro Alves <pedro@codesourcery.com>
8335 Joel Brobecker <brobecker@adacore.com>
8336
8337 * lib/gdb.exp (gdb_test_no_output): New function.
8338 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
8339 when testing commands that should produce no output.
8340
8341 2010-05-17 Joel Brobecker <brobecker@adacore.com>
8342
8343 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
8344 parameter that we want to watch being a constant.
8345
8346 2010-05-17 Joel Brobecker <brobecker@adacore.com>
8347
8348 * gdb.ada/cond_lang: New testcase.
8349
8350 2010-05-17 Joel Brobecker <brobecker@adacore.com>
8351
8352 * lib/gdb.exp (banned_variables): New variable/constant.
8353 (gdb_init): Add write trace on variables listed in banned_variables.
8354 (gdb_finish): Remove write traces on variables listed in
8355 banned_variables.
8356
8357 2010-05-17 Joel Brobecker <brobecker@adacore.com>
8358
8359 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
8360 * gdb.cp/koenig.exp: Likewise.
8361
8362 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
8363
8364 PR python/11482
8365
8366 * gdb.python/py-value.exp (test_value_hash): New function.
8367
8368 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
8369
8370 PR exp/11530.
8371 * gdb.base/gdb11530.c: New file.
8372 * gdb.base/gdb11530.exp: New file.
8373
8374 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8375
8376 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
8377 * gdb.dwarf2/dw2-modula2-self-type.S: New.
8378
8379 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
8380
8381 * gdb.cp/koenig.exp: New test.
8382 * gdb.cp/koenig.cc: New test program.
8383
8384 2010-05-05 Joel Brobecker <brobecker@adacore.com>
8385
8386 Remove the use of prms_id and bug_id throughout the testsuite.
8387
8388 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
8389
8390 PR exp/11349.
8391 * testsuite/gdb.cp/ref-types.exp: Add test to examine
8392 use a reference local variable.
8393
8394 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8395
8396 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
8397 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
8398 variable different_dir. Move debugfile into a full directory pathname
8399 under DIFFERENT_DIR.
8400 * lib/gdb.exp (separate_debug_filename): Remove.
8401 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
8402 variable debug_dir and mkdir of it. Update function comments.
8403
8404 2010-04-29 Pedro Alves <pedro@codesourcery.com>
8405
8406 PR gdb/11557
8407
8408 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
8409 files.
8410
8411 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
8412
8413 * gdb.python/py-param.exp: New File.
8414
8415 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
8416
8417 * gdb.base/default.exp: Fix "set language" test.
8418
8419 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
8420
8421 PR breakpoints/11531.
8422 * gdb.base/gdb11531.c: New file.
8423 * gdb.base/gdb11531.exp: New file.
8424
8425 2010-04-26 Tom Tromey <tromey@redhat.com>
8426
8427 * gdb.base/completion.exp: Add tests for completion and deprecated
8428 commands.
8429
8430 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8431
8432 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
8433 (print /x char_array): Escape curly brackets.
8434
8435 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8436
8437 Fix deadlock on looped list of loaded shared objects.
8438 * gdb.base/solib-corrupted.exp: New.
8439
8440 2010-04-23 Doug Evans <dje@google.com>
8441
8442 * gdb.python/py-section-script.c: New file.
8443 * gdb.python/py-section-script.exp: New file.
8444 * gdb.python/py-section-script.py: New file.
8445
8446 2010-04-20 Chris Moller <cmoller@redhat.com>
8447
8448 PR 10179
8449
8450 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
8451 * gdb.base/pr10179-a.c:
8452 * gdb.base/pr10179-b.c:
8453 * gdb.base/pr10179.exp: New files.
8454
8455 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8456
8457 Fix crashes on dangling display expressions.
8458 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
8459 is SEP.
8460 (lib_flags): Remove the "debug" keyword.
8461 (libsepdebug): New variable for iterating new loop.
8462 (save_pf_prefix): New variable wrapping the loop.
8463 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
8464 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
8465
8466 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8467
8468 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
8469
8470 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8471
8472 PR stabs/11479.
8473 * gdb.stabs/gdb11479.exp: New file.
8474 * gdb.stabs/gdb11479.c: New file.
8475
8476 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8477
8478 * gdb.base/charset.c (Strin16, String32): New variables.
8479 * gdb.base/charset.exp (gdb_test): Test correct display
8480 of 16 or 32 bit strings.
8481
8482 2010-04-21 Chris Moller <cmoller@redhat.com>
8483
8484 PR 9167
8485 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
8486 * gdb.cp/pr9167.cc: New file.
8487 * gdb.cp/pr9167.exp: New file.
8488
8489
8490 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
8491
8492 PR pascal/11492.
8493 * gdb.pascal/gdb11492.pas: New file.
8494 * gdb.pascal/gdb11492.exp: New file.
8495
8496 2010-04-20 Joel Brobecker <brobecker@adacore.com>
8497
8498 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
8499
8500 2010-04-20 Joel Brobecker <brobecker@adacore.com>
8501
8502 * gdb.ada/dyn_loc: New testcase.
8503
8504 2010-04-20 Chris Moller <cmoller@redhat.com>
8505
8506 PR 10867
8507
8508 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
8509 * gdb.cp/pr10687.cc: New file.
8510 * gdb.cp/pr10687.exp: New file.
8511
8512
8513 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8514 Sergio Durigan Junior <sergiodj@redhat.com>
8515
8516 * gdb.fortran/logical.exp: New testcase.
8517 * gdb.fortran/logical.f90: New file.
8518
8519 2010-04-19 Doug Evans <dje@google.com>
8520
8521 * gdb.base/help.exp (help source): Update expected output.
8522
8523 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8524
8525 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
8526 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
8527 gdb_exit and return.
8528 (executable): New variable.
8529 (binfile): Use it.
8530
8531 2010-04-19 Pedro Alves <pedro@codesourcery.com>
8532
8533 PR breakpoints/8554.
8534
8535 * gdb.trace/save-trace.exp: Adjust.
8536
8537 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
8538
8539 PR corefiles/11511
8540 * gdb.arch/system-gcore.exp: New.
8541 * gdb.arch/gcore.c: Likewise.
8542
8543 2010-04-15 Doug Evans <dje@google.com>
8544
8545 * gdb.python/py-progspace.c: New file.
8546 * gdb.python/py-progspace.exp: New file.
8547
8548 * gdb.base/source.exp: Add tests for "source -s".
8549
8550 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
8551
8552 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
8553 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
8554 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
8555 * gdb.python/py-mi.exp: New test for to_string returning None.
8556
8557 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
8558
8559 * gdb.python/py-breakpoint.c: Make result global.
8560
8561 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8562
8563 Fix non-GNU make compatibility.
8564 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
8565
8566 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
8567
8568 * gdb.python/py-breakpoint.exp: New File.
8569 * gdb.python/py-breakpoint.C: Ditto.
8570
8571 2010-04-08 Stan Shebs <stan@codesourcery.com>
8572
8573 * gdb.trace/actions.exp: Clear default-collect.
8574 * gdb.trace/save-trace.exp: Clear default-collect.
8575
8576 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
8577
8578 * gdb.python/py-value: Add null string variable.
8579 (test_lazy_string): Test zero length, NULL address lazy
8580 strings.
8581
8582 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
8583
8584 * gdb.arch/i386-avx.c: New.
8585 * gdb.arch/i386-avx.exp: Likewise.
8586
8587 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
8588
8589 2010-04-06 Doug Evans <dje@google.com>
8590
8591 * gdb.base/source-test.gdb: New file.
8592 * gdb.base/source.exp: Test source -v.
8593
8594 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8595
8596 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
8597
8598 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
8599
8600 * gdb.stabs/aout.sed: Convert all backslash to double backslash
8601 within one line, unless it is followed by a double quote.
8602 * gdb.stabs/hppa.sed: Idem.
8603 * gdb.stabs/weird.def: Add char and String constants
8604 * gdb.stabs/weird.exp: Check for correct parsing of
8605 char and string constants.
8606 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
8607 in .stabs to .stabx substitution.
8608
8609 2010-04-05 Stan Shebs <stan@codesourcery.com>
8610
8611 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
8612 constant global.
8613 * gdb.trace/tfile.exp: Try to print them.
8614
8615 2010-04-04 Stan Shebs <stan@codesourcery.com>
8616
8617 * gdb.base/completion.exp: Update for new "info watchpoints".
8618 * gdb.base/default.exp: Ditto.
8619 * gdb.base/help.exp: Ditto.
8620 * gdb.base/watchpoint.exp: Ditto.
8621 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
8622
8623 2010-04-04 Stan Shebs <stan@codesourcery.com>
8624
8625 * gdb.trace/tfile.exp: Sharpen tfind test.
8626
8627 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8628
8629 * gdb.base/break-entry.exp: New.
8630
8631 2010-04-02 Hui Zhu <teawater@gmail.com>
8632 Michael Snyder <msnyder@vmware.com>
8633
8634 * gdb.reverse/i386-sse-reverse.exp: New file.
8635 * gdb.reverse/i386-sse-reverse.c: New file.
8636
8637 2010-04-02 Pedro Alves <pedro@codesourcery.com>
8638
8639 * gdb.trace/tfind.exp: Adjust expected disassembly output.
8640
8641 2010-04-01 Stan Shebs <stan@codesourcery.com>
8642
8643 * gdb.trace/actions.exp: Tweak expected output.
8644 * gdb.trace/while-stepping.exp: Tweak expected output.
8645
8646 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
8647
8648 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
8649
8650 2010-04-01 Pedro Alves <pedro@codesourcery.com>
8651
8652 * gdb.base/commands.exp: Adjust.
8653 * gdb.cp/extern-c.exp: Adjust.
8654
8655 2010-04-01 Pedro Alves <pedro@codesourcery.com>
8656
8657 * gdb.trace/collection.c (local_test_func): Define a local struct,
8658 and instanciate it.
8659
8660 2010-04-01 Pedro Alves <pedro@codesourcery.com>
8661
8662 * gdb.trace/collection.exp (gdb_collect_args_test)
8663 (gdb_collect_argarray_test): XFAIL the tests that assume the
8664 argarray argument's elements are collected.
8665
8666 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8667
8668 * gdb.dwarf2/dw2-bad-parameter-type.exp,
8669 gdb.dwarf2/dw2-bad-parameter-type.S: New.
8670
8671 2010-03-31 Stan Shebs <stan@codesourcery.com>
8672
8673 * gdb.trace/save-trace.exp: Test save/restore of default-collect
8674 and tracepoint conditionals.
8675 (gdb_verify_tracepoints): Delete unused return.
8676
8677 2010-03-26 Keith Seitz <keiths@redhat.com>
8678
8679 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
8680 appear in the output before main.
8681 Remove KFAIL for gdb/2215 aka bz 9320.
8682
8683 2010-03-30 Doug Evans <dje@google.com>
8684
8685 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
8686 by dejagnu.
8687 * gdb.arch/amd64-dword.exp: Ditto.
8688
8689 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
8690 match.
8691 (break printf): Ditto.
8692
8693 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
8694
8695 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
8696 gcc < 4.4.
8697 * gdb.cp/shadow.exp: Ditto.
8698
8699 2010-03-29 Pedro Alves <pedro@codesourcery.com>
8700
8701 * gdb.trace/collection.exp (run_trace_experiment): Make sure
8702 "tstart" is silent.
8703
8704 2010-03-29 Pedro Alves <pedro@codesourcery.com>
8705
8706 * gdb.trace/collection.exp (executable): New.
8707 (binfile): Use it.
8708 (fpreg, spreg, pcreg): New.
8709 (test_register): Use gdb_test_multiple. Pass /x to print.
8710 (prepare_for_trace_test): New.
8711 (run_trace_experiment): Use "continue", not gdb_run_cmd.
8712 (gdb_collect_args_test, gdb_collect_argstruct_test)
8713 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
8714 prepare_for_trace_test.
8715 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
8716 fpreg, spreg and pcreg.
8717 (gdb_collect_expression_test, gdb_collect_globals_test): Use
8718 prepare_for_trace_test.
8719 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
8720 try to detect tracing support here. Don't set breakpoints at
8721 `begin' or `end' here.
8722 <global scope>: Use clean_restart. Run to main before checking
8723 for tracing support. Check for for tracing support here.
8724
8725 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8726
8727 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
8728 " as $displacement" to "seen displacement message".
8729
8730 2010-03-28 Pedro Alves <pedro@codesourcery.com>
8731
8732 * gdb.trace/while-dyn.exp (executable): New variable.
8733 (binfile): Use it.
8734 (test_while_stepping): New function. Move most tests here. Call
8735 it once for each of the while-stepping, stepping and ws aliases.
8736
8737 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8738
8739 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
8740 that do not provide the tagless_struct type name at all.
8741 (test_print_anon_union): Do not check value of uninitialized
8742 union member. Do not use cp_test_ptype_class, so we can accept
8743 "long" as well as "long int".
8744
8745 2010-03-26 Pedro Alves <pedro@codesourcery.com>
8746
8747 * gdb.trace/tfile.c (tohex, bin2hex): New.
8748 (write_error_trace_file): Hexify error description.
8749
8750 2010-03-25 Stan Shebs <stan@codesourcery.com>
8751
8752 * gdb.trace/tfile.c: Generate an additional trace file, improve
8753 portability.
8754 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
8755 files in a better way.
8756
8757 2010-03-25 Keith Seitz <keiths@redhat.com>
8758
8759 * gdb.java/jprint.exp: XFAIL printing of static class members
8760 because of GCC debuginfo problem.
8761
8762 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8763
8764 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
8765
8766 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8767
8768 * gdb.base/completion.exp: Allow long instead of long int.
8769 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
8770 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
8771 variable p.
8772 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
8773 * gdb.base/pointers.exp: Allow long instead of long int.
8774 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
8775 * gdb.base/step-line.exp: Allow a directory before the source file name.
8776
8777 2010-03-24 Tom Tromey <tromey@redhat.com>
8778
8779 PR breakpoints/9352:
8780 * gdb.base/default.exp: Update.
8781 * gdb.base/commands.exp: Update.
8782 * gdb.cp/extern-c.exp: Test setting commands on multiple
8783 breakpoints at once.
8784
8785 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8786
8787 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
8788 if gdb,nosignals.
8789 * gdb.base/watchpoints.c: Do not include unnecessary headers.
8790 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
8791 exited".
8792
8793 2010-03-24 Stan Shebs <stan@codesourcery.com>
8794
8795 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
8796
8797 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8798
8799 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
8800 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
8801 argument. Handle "short" and "long".
8802 (Top level): Pass overprototyped output for old_fptr and xptr.
8803
8804 2010-03-23 Pedro Alves <pedro@codesourcery.com>
8805
8806 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
8807 format strings and add casts to avoid compiler warnings.
8808
8809 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
8810
8811 * lib/trace-support.exp (gdb_trace_setactions):
8812 Don't expect whitespace after ">" prompt.
8813 * gdb.trace/actions.exp: Adjust for output changes.
8814 * gdb.trace/while-stepping.exp: Likewise.
8815
8816 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8817
8818 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
8819 and r157645).
8820
8821 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8822
8823 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
8824 New.
8825
8826 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
8827
8828 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
8829 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
8830
8831 2010-03-19 Stan Shebs <stan@codesourcery.com>
8832
8833 * gdb.trace/ax.exp: New file.
8834
8835 2010-03-19 Doug Evans <dje@google.com>
8836
8837 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
8838 output from gcc.
8839
8840 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
8841 named /usr/sbin/prelink<foo>.
8842
8843 2010-03-18 Stan Shebs <stan@codesourcery.com>
8844
8845 * gdb.trace/circ.exp: Test circular-trace-buffer.
8846 * gdb.trace/tfile.exp: Update tstatus test.
8847
8848 2010-03-18 Joel Brobecker <brobecker@adacore.com>
8849
8850 * gdb.dwarf2/dw2-anonymous-func.S: New file.
8851 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
8852
8853 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8854
8855 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
8856
8857 2010-03-18 Pedro Alves <pedro@codesourcery.com>
8858
8859 * gdb.base/default.exp: Adjust the expected output of the finish
8860 and until commands when the inferior is not being run.
8861
8862 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
8863
8864 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
8865 * gdb.cp/nsusing.exp: Ditto.
8866
8867 2010-03-15 Tom Tromey <tromey@redhat.com>
8868
8869 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
8870 * gdb.cp/userdef.cc (operator==): New function.
8871 (main): New locals mem1, mem2.
8872
8873 2010-03-15 Jie Zhang <jie@codesourcery.com>
8874
8875 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
8876 Declare and use new loadtimeout variable.
8877
8878 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
8879
8880 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
8881 Use gdb_load later.
8882
8883 2010-03-14 Pedro Alves <pedro@codesourcery.com>
8884
8885 * gdb.base/solib-disc.c (main): Make format of fprintf a string
8886 literal. Add missing endlines to prints to stderr.
8887
8888 2010-03-12 Tom Tromey <tromey@redhat.com>
8889
8890 PR c++/9708:
8891 * gdb.cp/m-static.exp: Add regression test.
8892 * gdb.cp/m-static.cc (method): New method.
8893 (main): Call it.
8894
8895 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
8896
8897 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
8898 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
8899
8900 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8901
8902 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
8903
8904 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8905
8906 * lib/gdb.exp (skip_stl_tests): New.
8907 (gdb_compile): Symbian needs -ldl.
8908 (shlib_target_file): New.
8909 (shlib_symbol_file): New.
8910 (gdb_load_shlibs): Use shlib_target_file.
8911 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
8912 * gdb.cp/exception.exp: Use skip_stl_tests.
8913 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
8914 * gdb.cp/try_catch.exp: Use skip_stl_tests.
8915 * gdb.cp/mb-templates.exp: Ditto.
8916 * gdb.base/commands.exp: Relax regexes.
8917 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
8918 shlib_target_file and shlib_symbol_file.
8919 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
8920 sections.
8921 * gdb.base/ending-run.exp: Accept E32Main for symbian.
8922 * gdb.base/solib-disc.exp: Use
8923 shlib_target_file and shlib_symbol_file.
8924 * gdb.base/unload.exp: Don't skip on symbian. Use
8925 shlib_target_file and shlib_symbol_file.
8926 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
8927
8928 2010-03-12 Pedro Alves <pedro@codesourcery.com>
8929
8930 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
8931 * gdb.trace/report.exp: Adjust for x86 and x86_64.
8932 Issue a tfind end before looking for a tracepoint frame.
8933 * gdb.trace/tfind.exp: Adjust tstatus output.
8934 Adjust disassembly output.
8935 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
8936
8937 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8938
8939 * gdb.base/break-interp.exp: Create new displacement parameter value
8940 for the test_ld calls.
8941 (reach): New parameter displacement, verify its content. New push of
8942 pf_prefix "reach-$func:". Import global expect_out.
8943 (test_core): New parameter displacement, verify its content. New push
8944 of pf_prefix "core:". New command "set verbose on". Import global
8945 expect_out.
8946 (test_attach): New parameter displacement, verify its content. New
8947 push of pf_prefix "attach:". New command "set verbose on". Import
8948 global expect_out.
8949 (test_ld): New parameter displacement, pass it to the reach, test_core
8950 and test_attach calls and verify its content in the "ld.so exit" test.
8951 * gdb.base/prelink.exp: Remove gdb_exit and final return.
8952 (prelink): Update expected text, use gdb_test.
8953
8954 2010-03-10 Doug Evans <dje@google.com>
8955
8956 * gdb.base/checkpoint.exp: Fix comment.
8957 Lengthen timeout while doing >600 checkpoints test.
8958 Rename duplicate "kill all one" test to keep test names unique.
8959
8960 2010-03-10 Pedro Alves <pedro@codesourcery.com>
8961
8962 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
8963
8964 2010-03-08 Keith Seitz <keiths@redhat.com>
8965
8966 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
8967 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
8968 (dm_type_long): New function.
8969 (dm_type_unsigned_short): New function.
8970 (dm_type_unsigned_long): New function.
8971 (myint): New typedef.
8972 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
8973 long, unsigned shor and long, operator char*, and typedef.
8974 (test_lookup_operator_functions): Add operator char* test.
8975 (test_paddr_operator_functions): Likewise.
8976 (test_paddr_overloaded_functions): Use probe values for
8977 short, long, and unsigned short and long.
8978 (test_paddr_hairy_functions): If the demangler probe detected
8979 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
8980 demangler.
8981 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
8982 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
8983 and "print null_pmf".
8984 Add test "ptype a.*pmf".
8985 * gdb.cp/overload.exp: Allow optional "int" to appear with
8986 "short" and "long".
8987 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
8988 long expect value for men_overload1arg.
8989 Allow "int" to appear with "short" and "long".
8990 When testing "info break", add argument for main (void).
8991 Also allow "int" to appear with "short" and "long".
8992 Ditto with "unsigned" and "long long".
8993 * gdb.java/jmain.exp: Do not enclose methods names in single
8994 quotes.
8995 * gdb.java/jmisc.exp: Likewise.
8996 * gdb.java/jprint.exp: Likewise.
8997 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
8998
8999 From Jan Kratochvil <jan.kratochvil@redhat.com>:
9000 * gdb.cp/exception.exp (backtrace after first throw)
9001 (backtrace after second throw): Allow a namespace before __cxa_throw.
9002 (backtrace after first catch, backtrace after second catch): Allow
9003 a namespace before __cxa_begin_catch.
9004
9005 * gdb.cp/cpexprs.exp: New file.
9006 * gdb.cp/cpexprs.cc: New file.
9007
9008 From Daniel Jacobowitz <dan@codesourcery.com>
9009 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
9010 to use string_to_regexp.
9011 (ctor, dtor): New functions. Use them to match constructor
9012 and destructor function types.
9013 (Top level): Use runto_main.
9014
9015 2010-03-05 Tom Tromey <tromey@redhat.com>
9016
9017 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
9018 gdb.target_charset.
9019 (pp_ns.to_string): Likewise.
9020
9021 2010-03-04 Keith Seitz <keiths@redhat.com>
9022
9023 * gdb.cp/overload.exp: Test that the filename portion of a linespec
9024 can be quoted. Test that both the filename and function/line
9025 portions can be quoted at the same time.
9026
9027 2010-03-04 Pedro Alves <pedro@codesourcery.com>
9028
9029 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
9030
9031 2010-03-03 Doug Evans <dje@google.com>
9032
9033 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
9034 libc contains libpthread.
9035
9036 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
9037 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
9038 of gdb_compile. Add another pattern to match android backtrace.
9039
9040 2010-03-03 Tom Tromey <tromey@redhat.com>
9041
9042 PR gdb/11345:
9043 * gdb.base/printcmds.exp (test_printf): Add test.
9044
9045 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
9046
9047 * gdb.arch/amd64-byte.exp: New.
9048 * gdb.arch/amd64-dword.exp: Likewise.
9049 * gdb.arch/amd64-pseudo.c: Likewise.
9050 * gdb.arch/amd64-word.exp: Likewise.
9051 * gdb.arch/i386-byte.exp: Likewise.
9052 * gdb.arch/i386-pseudo.c: Likewise.
9053 * gdb.arch/i386-word.exp: Likewise.
9054
9055 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9056
9057 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
9058 types. Add structreg, bitfields, and flags registers.
9059 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
9060 registers.
9061
9062 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
9063
9064 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
9065 (load_description): Set architecture if defined.
9066
9067 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
9068
9069 * gdb.python/py-frame.exp: Add read_var block tests.
9070 * gdb.python/py-frame.c (block): New function.
9071
9072 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9073 Daniel Jacobowitz <dan@codesourcery.com>
9074
9075 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
9076
9077 2010-02-25 David S. Miller <davem@davemloft.net>
9078
9079 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
9080 fix logic for setting all_syscalls_numbers.
9081
9082 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9083
9084 * Makefile.in: Add py-block and py-symbol.
9085 * gdb.python/py-symbol.exp: New File.
9086 * gdb.python/py-symtab.exp: New File.
9087 * gdb.python/py-block.exp: New File.
9088 * gdb.python/py-symbol.c: New File.
9089 * gdb.python/py-block.c: New File.
9090
9091 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9092
9093 PR python/11314
9094 * lib/gdb.exp (skip_python_tests): New function.
9095 * gdb.python/py-cmd.exp: Use skip_python_tests.
9096 * gdb.python/py-frame.exp: Likewise.
9097 * gdb.python/py-function.exp: Likewise.
9098 * gdb.python/py-prettyprint.exp: Likewise.
9099 * gdb.python/py-template.exp: Likewise.
9100 * gdb.python/py-type.exp: Likewise.
9101 * gdb.python/py-value.exp: Likewise.
9102
9103 2010-02-22 Pedro Alves <pedro@codesourcery.com>
9104
9105 PR9605
9106
9107 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
9108
9109 2010-02-19 Tom Tromey <tromey@redhat.com>
9110
9111 PR c++/8693, PR c++/9496:
9112 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
9113 regression tests.
9114
9115 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9116
9117 Fix compatibility with m68k as.
9118 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
9119 Use only /* comments */.
9120
9121 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9122
9123 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
9124 * configure: Regenerate.
9125
9126 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
9127
9128 * gdb.python/py-type.exp: Check for Python support.
9129
9130 2010-02-17 Pedro Alves <pedro@codesourcery.com>
9131
9132 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
9133 `regsub' syntax available.
9134
9135 2010-02-17 Pedro Alves <pedro@codesourcery.com>
9136
9137 * gdb.base/shmain.c (main): Remove printf call.
9138 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
9139 * gdb.base/unload.c (main): Make format of fprintf a string
9140 literal. Add missing endlines to prints to stderr.
9141 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
9142
9143 2010-02-17 Tom Tromey <tromey@redhat.com>
9144
9145 * gdb.java/jprint.java (jprint.props): New field.
9146 * gdb.java/jprint.exp (set_lang_java): Add regression test.
9147
9148 2010-02-17 Pedro Alves <pedro@codesourcery.com>
9149
9150 * gdb.base/charset.exp: Don't assume new `regsub' syntax
9151 available.
9152
9153 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9154
9155 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
9156 creation to support remote host testing.
9157
9158 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9159
9160 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
9161 Recognize "command not found".
9162
9163 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9164
9165 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
9166 single-stepping.
9167
9168 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9169
9170 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
9171 if arguments are not supported.
9172
9173 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9174
9175 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
9176 be const or non-const.
9177
9178 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9179
9180 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
9181 mi_send_resuming_command to send -exec-continue.
9182
9183 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9184
9185 * gdb.base/list.exp (test_list_filename_and_function): Add test
9186 with single quotes.
9187 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
9188 matching.
9189 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
9190 Add KFAIL'd tests for PR gdb/11289.
9191
9192 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9193
9194 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
9195
9196 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9197
9198 * gdb.base/comp-dir/subdir/dummy.txt: New file.
9199 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
9200 a temporary directory.
9201
9202 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9203
9204 * gdb.base/charset.exp: Use a single regular expression to match
9205 show host-charset and show target-charset output.
9206
9207 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9208
9209 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
9210 "Illegal process-id" expect string more exact.
9211 (attach to digits-starting nonsense is prohibited): New.
9212
9213 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9214
9215 * gdb.base/prelink.exp (set verbose on): New.
9216
9217 2010-02-12 Tomas Holmberg <th@virtutech.com>
9218
9219 * mi-reverse.exp: New file. Test for reverse option to the
9220 following MI commands: exec-continue, exec-finish, exec-next,
9221 exec-step, exec-next-instruction, exec-step-instruction.
9222
9223 2010-02-09 Joel Brobecker <brobecker@adacore.com>
9224
9225 * gdb.ada/ptype_tagged_param: New testcase.
9226
9227 2010-02-08 Tom Tromey <tromey@redhat.com>
9228
9229 PR c++/8017:
9230 * gdb.cp/overload.exp: Add tests.
9231 * gdb.cp/overload.cc (struct K): New.
9232 (namespace N): New.
9233 (main): Call new functions.
9234 (K::staticoverload): Define.
9235
9236 2010-02-08 Chris Moller <moller@mollerware.com>
9237
9238 PR gdb/10728
9239 * gdb.cp/pr10728-x.h: New file.
9240 * gdb.cp/pr10728-x.cc: New file.
9241 * gdb.cp/pr10728-y.cc: New file.
9242 * gdb.cp/pr10728.exp: New file.
9243 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
9244
9245 2010-02-08 Chris Moller <moller@mollerware.com>
9246
9247 PR gdb/9067
9248 * gdb.cp/pr9067.exp: New
9249 * gdb.cp/pr9067.cc: New
9250 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
9251
9252 2010-02-08 Joel Brobecker <brobecker@adacore.com>
9253
9254 * lib/gdb.exp (gdb_test_timeout): New global variable.
9255 Set it to timeout if not already set.
9256 (gdb_init): Reset the value of timeout to gdb_test_timeout.
9257
9258 2010-02-05 Doug Evans <dje@google.com>
9259
9260 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
9261 user.
9262
9263 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
9264
9265 PR c++/7935:
9266 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
9267
9268 2010-02-04 Tom Tromey <tromey@redhat.com>
9269
9270 * gdb.cp/virtbase.exp: Make test case names unique.
9271
9272 2010-02-02 Tom Tromey <tromey@redhat.com>
9273
9274 * gdb.cp/virtbase.exp: Add regression tests.
9275 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
9276 (main): Instantiate RHC.
9277
9278 2010-02-02 Tom Tromey <tromey@redhat.com>
9279
9280 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
9281 type-printing change.
9282
9283 2010-02-02 Tom Tromey <tromey@redhat.com>
9284
9285 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
9286 * gdb.cp/virtbase.cc: New file.
9287 * gdb.cp/virtbase.exp: New file.
9288 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
9289
9290 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9291
9292 PR libc/11214:
9293 * gdb.threads/current-lwp-dead.c: Include features.h.
9294 (HAS_NOMMU): New.
9295 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
9296
9297 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9298
9299 * gdb.base/symbol-without-target_section.exp,
9300 gdb.base/symbol-without-target_section.c: New.
9301
9302 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9303
9304 * gdb.base/bigcore.exp: Reset increased timeout.
9305 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
9306
9307 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9308
9309 * gdb.base/gcore.exp (capture_command_output): Use
9310 gdb_test_multiple.
9311
9312 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9313
9314 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
9315 * gdb.arch/thumb2-it.exp (test_it_break): New function.
9316 (Top level): Call it.
9317
9318 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9319
9320 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
9321
9322 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9323
9324 * gdb.base/call-strs.exp, gdb.base/default.exp,
9325 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
9326 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
9327 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
9328 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
9329 gdb.base/watchpoint-solib.exp: Save and restore timeout.
9330 * gdb.base/ending-run.exp: Correct restore of timeout.
9331 * gdb.base/page.exp: Remove unnecessary timeout setting.
9332
9333 2010-01-29 Joel Brobecker <brobecker@adacore.com>
9334
9335 * gdb.ada/rec_return: New testcase.
9336
9337 2010-01-29 Joel Brobecker <brobecker@adacore.com>
9338
9339 * gdb.ada/call_pn: New testcase.
9340
9341 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9342
9343 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
9344 (Top level): Use it to resume.
9345 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
9346 the Thumb mode displaced stepping error as unsupported.
9347
9348 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
9349
9350 * gdb.cp/nsusing.exp: Added more tests.
9351 * gdb.cp/nsrecurs.exp: Ditto.
9352 * gdb.cp/nsusing.cc: Added test functions.
9353 * gdb.cp/nsrecurs.cc: Ditto.
9354
9355 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9356
9357 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
9358 absolute directory pathnames in gdb.sum file.
9359
9360 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
9361
9362 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
9363 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
9364
9365 2010-01-26 Tom Tromey <tromey@redhat.com>
9366
9367 PR exp/7643:
9368 * gdb.base/printcmds.exp (test_print_string_constants): Remove
9369 setup_kfail.
9370
9371 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
9372
9373 * gdb.cp/nsrecurs.exp: New test.
9374 * gdb.cp/nsrecurs.cc: New test program.
9375 * gdb.cp/nsstress.exp: New test.
9376 * gdb.cp/nsstress.cc: New test program.
9377 * gdb.cp/nsdecl.exp: New test.
9378 * gdb.cp/nsdecl.cc: New test program.
9379
9380 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
9381
9382 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
9383 imported into file scope.
9384 Marked test as xfail.
9385 * gdb.cp/namespace-using.cc (marker5): New function.
9386 * gdb.cp/shadow.exp: New test.
9387 * gdb.cp/shadow.cc: New test program.
9388 * gdb.cp/nsimport.exp: New test.
9389 * gdb.cp/nsimport.cc: New test program.
9390
9391 2010-01-25 Tom Tromey <tromey@redhat.com>
9392
9393 PR gdb/11049:
9394 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
9395 with "set print null-stop on".
9396
9397 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9398
9399 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
9400 Adjust it for DISASSEMBLY_OMIT_FNAME.
9401
9402 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9403
9404 PR symtab/11199:
9405 * gdb.dwarf2/member-ptr-forwardref.exp,
9406 gdb.dwarf2/member-ptr-forwardref.S: New.
9407
9408 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9409
9410 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
9411 (thread1_func): Protect thread1_tid with thread1_tid_cond by
9412 thread1_tid_mutex. Remove gdbstop_mutex handling.
9413 (thread2_func): Protect thread2_tid with thread2_tid_cond by
9414 thread2_tid_mutex. Remove gdbstop_mutex handling.
9415 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
9416 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
9417 pthread_cond_wait conditionalizations by while loops.
9418
9419 2010-01-20 Tom Tromey <tromey@redhat.com>
9420
9421 PR backtrace/10770:
9422 * gdb.dwarf2/pr10770.exp: New file.
9423 * gdb.dwarf2/pr10770.c: New file.
9424 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
9425
9426 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
9427
9428 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
9429 that target was removed, and the test always runs native anyway.
9430
9431 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9432
9433 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
9434 gdb.base/watchpoint-cond-gone-stripped.c: New.
9435
9436 2010-01-19 Tom Tromey <tromey@redhat.com>
9437
9438 PR c++/8000:
9439 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
9440 existing tests.
9441 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
9442 (main): Use AAA::SomeEnum.
9443
9444 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9445
9446 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
9447 (test_ignore_count): Declare line_callme_body global.
9448 (run to breakpoint with ignore count): Use line_callme_body.
9449 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
9450 (set line_main_hello, set line_main_return): Reindent.
9451 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
9452 New.
9453 (continue to callee4): Use line_callee4_body.
9454 (check *stopped from CLI command): Use line_callee4_next.
9455 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
9456 (set line_main_hello, set line_main_return): Reindent.
9457 (set line_callee4_head, set line_callee4_body): New.
9458 (continue to callee4): Use line_callee4_body.
9459
9460 2010-01-18 Tom Tromey <tromey@redhat.com>
9461
9462 PR c++/9680:
9463 * gdb.cp/casts.cc: Add new classes and variables.
9464 * gdb.cp/casts.exp: Test new operators.
9465
9466 2010-01-18 Tom Tromey <tromey@redhat.com>
9467 Thiago Jung Bauermann <bauerman@br.ibm.com>
9468
9469 * gdb.python/source2.py: New file.
9470 * gdb.python/source1: New file.
9471 * gdb.python/python.exp: Test "source" command.
9472
9473 2010-01-15 Stan Shebs <stan@codesourcery.com>
9474
9475 * gdb.trace/tfile.c: New file.
9476 * gdb.trace/tfile.exp: New file.
9477
9478 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
9481
9482 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9483
9484 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
9485
9486 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9487
9488 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
9489 (libfunc): New parameter action. Implement also selectable "sleep".
9490 * gdb.base/break-interp-main.c: Include assert.h.
9491 (libfunc): New parameter action.
9492 (main): New parameters argc and argv. Assert argc. Pass argv.
9493 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
9494 (test_attach): New proc.
9495 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
9496 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
9497
9498 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9499
9500 * gdb.base/break-interp.exp (test_core): New proc.
9501 (test_ld): Call it.
9502
9503 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9504
9505 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
9506 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
9507 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
9508 and gdb_compile_shlib. Use new -Wl compiler options.
9509 (dl bt, main bt): New tests.
9510
9511 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9512
9513 Support PIEs with no symfile_objfile.
9514 * gdb.base/break-interp.exp: New argument at the test_ld calls.
9515 (test_ld): New parameter trynosym.
9516 (test_ld <$trynosym>): New block.
9517
9518 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9519
9520 * gdb.base/break-interp.exp: New file.
9521
9522 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
9523
9524 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
9525 * gdb.python/py-prettyprint.py (pp_ls): New printer.
9526 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
9527 test.
9528 * gdb.python/py-prettyprint.c: Define lazystring test structure.
9529 * gdb.python/py-mi.exp: Add lazy string test.
9530
9531 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
9532
9533 * lib/mi-support.exp (mi_check_thread_states): Handle
9534 core number in thread listing.
9535
9536 2010-01-12 Joel Brobecker <brobecker@adacore.com>
9537
9538 * gdb.base/maint.exp: Adjust the expected output for the
9539 "maint print type" test. Use gdb_test_multiple instead of
9540 gdb_sent/gdb_expect.
9541
9542 2010-01-11 Doug Evans <dje@google.com>
9543
9544 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
9545 from gdbserver_download. All callers updated.
9546
9547 * gdb.server/ext-run.exp: "info os processes" requires xml support.
9548
9549 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9550
9551 Implement binary numbers parsing.
9552 * gdb.base/printcmds.exp (test_integer_literals_accepted)
9553 (test_integer_literals_rejected): New binary tests.
9554
9555 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9556
9557 * gdb.cell/configure: Regenerate.
9558
9559 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9560
9561 * gdb.base/corefile.exp: Move the core finding block out and call it as
9562 core_find, new variable $corefile, replace corefile by $corefile and
9563 [file tail $corefile] for usage vs. test names resp.
9564 * lib/gdb.exp (core_find): Move it as a new function here. New
9565 parameter binfile and deletefiles. New variable $destcore. Pre-delete
9566 $destcore. Return "" on error.
9567
9568 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9569
9570 Workaround PR binutils/10802.
9571 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
9572 (twice).
9573
9574 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9575
9576 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
9577
9578 2010-01-08 Joel Brobecker <brobecker@adacore.com>
9579
9580 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
9581 call, to avoid interruption.
9582
9583 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9584
9585 * gdb.stabs/weird.def (args93): New.
9586
9587 2010-01-07 Doug Evans <dje@google.com>
9588
9589 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
9590
9591 2010-01-07 Tom Tromey <tromey@redhat.com>
9592
9593 * gdb.base/source.exp: Use correct line number.
9594
9595 2010-01-05 Stan Shebs <stan@codesourcery.com>
9596
9597 * gdb.trace/tracecmd.exp: Test ftrace.
9598
9599 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9600
9601 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
9602
9603 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9604
9605 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
9606 "uint_for_mi_testing".
9607
9608 2010-01-01 Joel Brobecker <brobecker@adacore.com>
9609
9610 Test indented comment in file being sourced.
9611 * gdb.base/commands.exp: Test indented comment in file being sourced.
9612
9613 2010-01-01 Joel Brobecker <brobecker@adacore.com>
9614
9615 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
9616 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
9617 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
9618 notice.
9619
9620 2010-01-01 Joel Brobecker <brobecker@adacore.com>
9621
9622 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
9623 notice.
9624
9625 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9626
9627 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
9628 missing $after_stopped and comma (,) expectation.
9629
9630 2009-12-31 Stan Shebs <stan@codesourcery.com>
9631
9632 * gdb.trace/actions.exp: Test teval action.
9633
9634 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9635
9636 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
9637 (top level): Call test_watchpoint_in_big_blob.
9638 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
9639 watchpoints.
9640 (func3): Write to buf.
9641
9642 2009-12-29 Stan Shebs <stan@codesourcery.com>
9643
9644 * gdb.trace/actions.exp: Test default-collect.
9645
9646 2009-12-28 Stan Shebs <stan@codesourcery.com>
9647
9648 * gdb.trace/tsv.exp: New file.
9649 * gdb.base/completion.exp: Update ambiguous info output.
9650
9651 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
9652
9653 * gdb.base/find.c (main): Reference search buffers.
9654 * gdb.base/included.c (main): Reference integer.
9655 * gdb.base/ptype.c (charfoo): Declare.
9656 (intfoo): Call charfoo.
9657 * gdb.base/scope0.c (useitp): New function.
9658 (usestatics): Use useitp.
9659 (useit): Add a type for val.
9660 * gdb.base/scope1.c (useit1): Take a pointer argument.
9661 (usestatics1): Update calls to useit1.
9662 * gdb.cp/call-c.cc: Declare foo.
9663 (main): Call foo.
9664 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
9665 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
9666 (main): Call C::ensureRefs and ensureOtherRefs.
9667 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
9668 variables.
9669 (ensureOtherRefs): New function.
9670 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
9671 * gdb.cp/templates.cc (main): Call t5i.value.
9672
9673 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9674
9675 Fix compatibility with G++-4.5.
9676 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
9677 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
9678 (uncaught return): Remove.
9679
9680 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9681 Phil Muldoon <pmuldoon@redhat.com>
9682
9683 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
9684 (bp_location13, bp_location14, bp_location17, bp_location18)
9685 (marker3_proto, marker4_proto): New variables.
9686 (breakpoint info): Update output.
9687 (run until breakpoint at marker3, run until breakpoint at marker4): New
9688 tests.
9689
9690 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9691
9692 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
9693 Replace the printf call of Y by provided "y-set-1" label. New block
9694 for the second shared library.
9695 * gdb.base/unload.exp: Compile also the second library, call
9696 gdb_load_shlibs also for it. Use now gdb_breakpoint.
9697 (single pending breakpoint info): Rename to ...
9698 (pending breakpoint info before run): ... this extended test.
9699 (libfile2, libname2, libsrcfile2, libsrc2)
9700 (lib_sl2): New variables.
9701 (exec_opts): Set also SHLIB_NAME2.
9702 (pending breakpoint info on first run at shrfunc1)
9703 (pending breakpoint info on second run at shrfunc1)
9704 (pending breakpoint info on second run at shrfunc2)
9705 (print y from libfile, print y from libfile2): New tests.
9706 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
9707 * gdb.base/unloadshr2.c: New.
9708
9709 2009-12-22 Hui Zhu <teawater@gmail.com>
9710
9711 * gdb.reverse/sigall-reverse.exp: Adjust.
9712
9713 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
9714
9715 PR gdb/10884
9716
9717 * gdb.mi/var-cmd.c (do_bitfield_tests): New
9718 (main): Call do_bitfield_tests.
9719 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9720
9721 2009-12-20 Joel Brobecker <brobecker@adacore.com>
9722
9723 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
9724 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
9725 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
9726 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
9727 gdb.modula2/unbounded1.c: Update copyright header.
9728
9729 2009-12-10 Chris Moller <moller@mollerware.com>
9730
9731 PR gdb/9399
9732 * gdb.cp/virtfunc2.exp: New tests
9733 * gdb.cp/virtfunc2.cc: New tests
9734 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
9735
9736 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
9737
9738 * gdb.reverse/i387-env-reverse.c: New file.
9739 * gdb.reverse/i387-env-reverse.exp: New file.
9740 * gdb.reverse/i387-stack-reverse.c: New file.
9741 * gdb.reverse/i387-stack-reverse.exp: New file.
9742
9743 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
9744
9745 * gdb.python/py-type.exp (test_range): New test.
9746
9747 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
9748
9749 PR python/10805
9750
9751 * gdb.python/py-type.exp: New file.
9752 * gdb.python/py-type.c: New file.
9753 * Makefile.in: Add py-type.
9754
9755 2009-12-03 Tom Tromey <tromey@redhat.com>
9756
9757 * gdb.python/py-value.exp (test_parse_and_eval): New
9758 function.
9759
9760 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9761
9762 PR gdb/11022
9763
9764 * gdb.base/pr11022.exp: New test.
9765 * gdb.base/pr11022.c: New test.
9766
9767 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9768
9769 Fix spurious false FAILs.
9770 * gdb.base/structs.c (chartest): New.
9771 (main): Fill-in chartest.
9772 * gdb.base/structs.exp (anychar_re, first): New.
9773 (start_structs_test): Import global anychar_re and first.
9774 New gdb_test call "set print elements 300; ${testfile}"
9775 (start_structs_test <$first>): New block.
9776 (any): Import global anychar_re. New variable ac. Use ${ac}.
9777
9778 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9779
9780 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
9781
9782 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9783
9784 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
9785 Force $srcfile file.
9786 * gdb.base/foll-fork.c (callee): Comment out the printf call.
9787
9788 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9789
9790 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
9791 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9792 * gdb.threads/watchthreads-reorder.exp: Likewise.
9793
9794 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
9795
9796 PR gdb/8704
9797
9798 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
9799 "if", and "thread". Correct matching in the previous test.
9800
9801 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
9802
9803 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
9804
9805 2009-11-23 Michael Snyder <msnyder@vmware.com>
9806
9807 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
9808 * gdb.reverse-watch-precsave.exp: Ditto.
9809
9810 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
9811
9812 * gdb.asm/asm-source.exp: Adjust.
9813 * gdb.base/help.exp: Adjust.
9814
9815 2009-11-22 Pedro Alves <pedro@codesourcery.com>
9816
9817 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
9818 (do_syscall_tests_without_xml): Set data-directory to
9819 /the/path/to/nowhere.
9820
9821 2009-11-21 Pedro Alves <pedro@codesourcery.com>
9822
9823 * gdb.threads/local-watch-wrong-thread.c,
9824 gdb.threads/local-watch-wrong-thread.exp: New files.
9825
9826 2009-11-21 Pedro Alves <pedro@codesourcery.com>
9827
9828 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
9829 assume new `regsub' syntax available.
9830
9831 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9832
9833 * gdb.base/watchpoint-hw-hit-once.exp,
9834 gdb.base/watchpoint-hw-hit-once.c: New.
9835
9836 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9837
9838 * gdb.threads/watchthreads-reorder.exp,
9839 gdb.threads/watchthreads-reorder.c: New.
9840
9841 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
9842
9843 * gdb.xml/tdesc-regs.exp: Use for m68k.
9844
9845 2009-11-15 Pedro Alves <pedro@codesourcery.com>
9846
9847 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
9848
9849 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9850
9851 * lib/gdb.exp (current_target_name): New procedure.
9852 (gdb_wrapper_target): New variable.
9853 (gdb_wrapper_init): Set gdb_wrapper_target.
9854 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
9855 wrapper.
9856
9857 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9858
9859 * gdb.base/remote.exp: Delete the slowest load test.
9860 Do not load with fixed packet sizes.
9861
9862 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9863
9864 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
9865
9866 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9867
9868 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
9869 srcfile when setting a breakpoint.
9870
9871 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
9872
9873 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
9874 macros.
9875
9876 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9877
9878 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
9879 to be in memory.
9880 * gdb.base/display.c (force_mem): New.
9881 (do_loops): Use it. Add breakpoint comments.
9882 (do_vars): Add a breakpoint comment.
9883 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
9884 line numbers.
9885
9886 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
9887
9888 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
9889 instead of a bare "run".
9890
9891 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9892
9893 * gdb.python/py-prettyprint.exp: Adjust.
9894
9895 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9896
9897 * lib/cell.exp (skip_cell_tests): Clean up test files before
9898 returning.
9899
9900 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9901
9902 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
9903 and the breakpoint menu. Do not call perror if a prompt is seen.
9904 Consume the following GDB prompt.
9905 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
9906 * gdb.cp/namespace.exp: Use gdb_test.
9907 * gdb.cp/templates.exp: Use gdb_test.
9908 (test_template_breakpoints): Use gdb_test_multiple.
9909
9910 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9911
9912 * gdb.base/break1.c (struct some_struct, values): Move earlier.
9913 (marker4): Reference values.
9914
9915 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9916
9917 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
9918 is missing.
9919
9920 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9921
9922 * gdb.base/break.c (need_malloc): New.
9923 * gdb.base/constvars.c (main): Reference crass and crisp.
9924 * gdb.base/gdb1821.c (main): Reference bar.
9925 * gdb.cp/gdb1355.cc (main): Reference s1.
9926 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
9927 (main): Call them.
9928 * gdb.cp/hang2.cc (dummy2): Define.
9929 * gdb.cp/hang3.cc (dummy3): Define.
9930 * gdb.cp/m-data.cc (main): Reference shadow.
9931
9932 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9933 Nathan Froyd <froydnj@codesourcery.com>
9934
9935 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
9936 remote host.
9937
9938 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
9939
9940 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
9941 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
9942 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9943 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9944 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9945 * gdb.dwarf2/dw2-producer.exp: Likewise.
9946 * gdb.dwarf2/mac-fileno.exp: Likewise.
9947 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
9948 py-prettyprint.py to the remote host.
9949 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
9950
9951 2009-11-11 Keith Seitz <keiths@redhat.com>
9952
9953 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
9954 use it instead of "Foo".
9955 * gdb.cp/classes.exp (do_tests): Add a test to access
9956 a method through a typedef'd class name.
9957
9958 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
9959
9960 * gdb.base/long_long.exp: Permit leading zeros on floating-point
9961 exponents.
9962 * gdb.base/pointers.exp: Likewise.
9963 * gdb.cp/ref-types.exp: Likewise.
9964
9965 2009-11-11 Keith Seitz <keiths@redhat.com>
9966
9967 * gdb.cp/cplusfuncs.cc (class foo): Add operators
9968 new[] and delete[].
9969 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
9970 "void".
9971 (probe_demangler): Remove all single-quoting of
9972 method and variable names.
9973 (info_func_regexp): Remove the word "void" from any
9974 occurrence of "(void)".
9975 (print_addr_2): Remove all single-quoting of
9976 method names.
9977 (print_addr_2_kfail): Likewise.
9978 (print_addr): Single-quote C function names before
9979 passing to print_addr_2.
9980 (test_paddr_operator_functions): Remove single-quoting
9981 for method names.
9982 Add tests for operator new[] and operator delete[].
9983
9984 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9985
9986 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
9987
9988 2009-11-09 Keith Seitz <keiths@redhat.com>
9989
9990 * gdb.cp/overload.exp: Add tests for resolving overloaded
9991 methods in expression parsing/evaluation.
9992
9993 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
9994
9995 * lib/gdb.exp (default_gdb_version): Use --version instead of
9996 --command.
9997
9998 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
9999
10000 * lib/gdb.exp (gdb_compile_test): New.
10001 (skip_ada_tests, skip_java_tests): New.
10002 (gdb_compile): Use gdb_compile_test for f77.
10003 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
10004 * lib/java.exp (compile_java_from_source): Remove runtests check,
10005 use gdb_compile_test to record result.
10006 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
10007 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
10008 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
10009 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
10010 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
10011 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
10012 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
10013 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
10014 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
10015 adjust gdb_compile invocations.
10016
10017 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10018
10019 * Makefile.in (abs_builddir): New.
10020 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
10021 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
10022 `$(abs_builddir)/site.exp'.
10023
10024 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
10025
10026 * config/m68k-emc.exp, lib/emc-support.exp,
10027 gdb.trace/gdb_c_test.c: Delete.
10028 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
10029 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10030 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10031 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10032 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10033 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
10034 casing for m68k-*-elf.
10035
10036 2009-11-03 Pedro Alves <pedro@codesourcery.com>
10037
10038 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
10039 * gdb.arch/i386-prologue.exp: Likewise.
10040 * gdb.arch/i386-unwind.exp: Likewise.
10041
10042 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10043
10044 * lib/gdb.exp (gdb_expect): Fix timeout typo.
10045
10046 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10047
10048 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
10049
10050 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10051
10052 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
10053
10054 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10055
10056 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
10057
10058 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10059
10060 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
10061 * gdb.base/sepdebug2.c: New file.
10062
10063 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
10064
10065 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
10066 the modified warnings for catch syscall. Verify if GDB was compiled
10067 with support for lib expat, and choose which tests to run depending
10068 on this.
10069
10070 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
10071
10072 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
10073 that composite commands are parsed OK. And also test
10074 that breakpoint commands do work.
10075
10076 2009-10-23 Michael Snyder <msnyder@vmware.com>
10077
10078 gdb.reverse/consecutive-precsave.exp: Change expect pattern
10079 to allow for new disassembly style.
10080
10081 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10082
10083 * gdb.asm/asm-source.exp: Adjust.
10084
10085 2009-10-22 Michael Snyder <msnyder@vmware.com>
10086
10087 * gdb.reverse/break-precsave.exp: New test.
10088 * gdb.reverse/consecutive-precsave.exp: Ditto.
10089 * gdb.reverse/finish-precsave.exp: Ditto.
10090 * gdb.reverse/i386-precsave.exp: Ditto.
10091 * gdb.reverse/machinestate-precsave.exp: Ditto.
10092 * gdb.reverse/sigall-precsave.exp: Ditto.
10093 * gdb.reverse/solilb-precsave.exp: Ditto.
10094 * gdb.reverse/step-precsave.exp: Ditto.
10095 * gdb.reverse/until-precsave.exp: Ditto.
10096 * gdb.reverse/watch-precsave.exp: Ditto.
10097
10098 2009-10-22 Michael Snyder <msnyder@vmware.com>
10099
10100 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
10101 for gdb_expect. Adjust one test's expect strings for the new
10102 format of disassemble.
10103 * gdb.reverse/finish-reverse.exp: Delete 'return'.
10104 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
10105 gdb_test_multiple.
10106 * gdb.reverse/step-reverse.exp: Delete 'return'.
10107 * gdb.reverse/until-reverse.exp: Delete blank lines.
10108 * gdb.reverse/watch-reverse.exp: Delete blank lines.
10109
10110 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10111
10112 * gdb.base/consecutive.exp: Adjust.
10113 * gdb.base/display.exp: Likewise.
10114 * gdb.base/pc-fp.exp: Likewise.
10115 * gdb.base/sigbpt.exp: Likewise.
10116
10117 2009-10-19 Michael Snyder <msnyder@vmware.com>
10118
10119 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
10120 * gdb.reverse/finish-reverse.c: Ditto.
10121 * gdb.reverse/sigall-reverse.c: Ditto.
10122 * gdb.reverse/solib-reverse.c: Ditto.
10123 * gdb.reverse/step-reverse.c: Ditto.
10124 * gdb.reverse/watch-reverse.c: Ditto.
10125
10126 2009-10-19 Pedro Alves <pedro@codesourcery.com>
10127 Stan Shebs <stan@codesourcery.com>
10128
10129 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
10130 * gdb.base/foll-exec.exp: Adjust to expect a process id before
10131 "Executing new program".
10132 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
10133 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
10134 left listed after having been killed.
10135 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
10136 * gdb.base/maint.exp: Adjust test.
10137
10138 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
10139 * gdb.multi/Makefile.in: New.
10140 * gdb.multi/base.exp: New.
10141 * gdb.multi/goodbye.c: New.
10142 * gdb.multi/hangout.c: New.
10143 * gdb.multi/hello.c: New.
10144 * gdb.multi/bkpt-multi-exec.c: New.
10145 * gdb.multi/bkpt-multi-exec.exp: New.
10146 * gdb.multi/crashme.c: New.
10147
10148 2009-10-13 Tristan Gingold <gingold@adacore.com>
10149
10150 * gdb.base/sepdebug.exp: Check debug info are found.
10151
10152 2009-10-08 Pedro Alves <pedro@codesourcery.com>
10153
10154 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
10155 bits.
10156
10157 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10158
10159 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
10160
10161 2009-10-07 Joel Brobecker <brobecker@adacore.com>
10162
10163 * gdb.base/watchpoints.c: Add copyright header. Reformat one
10164 of the comments.
10165
10166 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
10167
10168 * gdb.base/annota1.exp: Remove obsolete match_max increase.
10169 * gdb.base/annota3.exp: Idem.
10170 * gdb.base/maint.exp: Idem.
10171
10172 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
10173
10174 * lib/gdb.exp (default_gdb_init): Set current value of match_max
10175 to default.
10176
10177 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10178
10179 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
10180 mingw and cygwin targets.
10181
10182 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10183 Pedro Alves <pedro@codesourcery.com>
10184
10185 * lib/gdb.exp (gdb_compile): Avoid adding
10186 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
10187
10188 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10189
10190 * gdb.base/shr1.c: Use %p in format string.
10191 * gdb.base/unload.c: Avoid warning in fprintf.
10192 * gdb.base/watchpoint-solib.c: Idem.
10193
10194 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10195
10196 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
10197 long type.
10198 (test_unlink): Correct printf string.
10199 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
10200 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
10201
10202 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10203
10204 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
10205 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
10206 * gdb.arch/ia64-breakpoint-shadow.S: New file.
10207
10208 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10209
10210 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
10211 * gdb.objc/nondebug.exp: Likewise.
10212
10213 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10214
10215 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
10216 target_info setting.
10217
10218 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
10219 that detect new threads during "info threads".
10220
10221 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10222
10223 * gdb.threads/manythreads.c (main): Increase thread stack size
10224 to 2*PTHREAD_STACK_MIN.
10225 * gdb.threads/multi-create.c (main): Likewise.
10226 (create_function): Likewise.
10227
10228 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10229
10230 * gdb.base/dump.exp: Pass difference of pointer types instead
10231 of integer types as offset to restore in intarr3.srec case.
10232
10233 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10234
10235 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
10236
10237 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10238
10239 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
10240
10241 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
10242
10243 New test for two watchpoints, with disabling of
10244 the first inserted.
10245 * testsuite/gdb.base/watchpoints.c: New file.
10246 * testsuite/gdb.base/watchpoints.exp: New file.
10247
10248 2009-09-25 Tom Tromey <tromey@redhat.com>
10249
10250 * gdb.base/charset.exp: Test utf-16 strings with Python.
10251
10252 2009-09-25 Tom Tromey <tromey@redhat.com>
10253
10254 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
10255 UCS-4.
10256 * gdb.base/charset.c (utf_32_string): Rename.
10257 (init_utf32): Rename.
10258 (main): Update.
10259
10260 2009-09-22 Tom Tromey <tromey@redhat.com>
10261
10262 * gdb.python/py-function.exp: Add regression tests.
10263
10264 2009-09-21 Keith Seitz <keiths@redhat.com>
10265
10266 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
10267 with invalid operator.
10268
10269 2009-09-21 Keith Seitz <keiths@redhat.com>
10270
10271 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
10272 and destructor using typedef name of class.
10273 * gdb.cp/classes.cc (class Base1): Add a destructor.
10274 (base1): New typedef.
10275 (use_methods): Instanitate an object of type base1.
10276 * gdb.cp/templates.exp (test_template_typedef): New procedure.
10277 (do_tests): Call test_template_typedef.
10278 * gdb.cp/templates.cc (Baz::~Baz): New method.
10279 (intBazOne): New typedef.
10280 (main): Instantiate intBazOne.
10281
10282 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10283
10284 PR python/10633
10285
10286 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
10287 Function.
10288 (run_lang_tests): Add print elements test.
10289
10290 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10291
10292 * gdb.python/py-value.exp (test_subscript_regression): New
10293 function. Test for invalid subscripts.
10294 * gdb.python/py-value.c (main): Add test array, and pointer to it.
10295 (ptr_ref): New function.
10296
10297 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10298
10299 * gdb.base/default.exp: Fix "show convenience".
10300
10301 2009-09-15 Tom Tromey <tromey@redhat.com>
10302
10303 * lib/mi-support.exp (mi_create_varobj): Update.
10304 (mi_create_floating_varobj): Likewise.
10305 (mi_create_dynamic_varobj): New proc.
10306 (mi_varobj_update): Update.
10307 (mi_varobj_update_with_type_change): Likewise.
10308 (mi_varobj_update_kv_helper): New proc.
10309 (mi_varobj_update_dynamic_helper): Rewrite.
10310 (mi_varobj_update_dynamic): New proc.
10311 (mi_list_varobj_children): Update.
10312 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
10313 * gdb.python/python-prettyprint.py (pp_outer): New class.
10314 (pp_nullstr): Likewise.
10315 (lookup_function): Register new printers.
10316 * gdb.python/python-prettyprint.c (struct substruct): New type.
10317 (struct outerstruct): Likewise.
10318 (substruct_test): New function.
10319 (struct nullstr): New type.
10320 (string_1, string_2): New globals.
10321 (main): Add new tests.
10322 * gdb.python/python-mi.exp: Added regression tests.
10323 * gdb.mi/mi2-var-display.exp: Update.
10324 * gdb.mi/mi2-var-cmd.exp: Update.
10325 * gdb.mi/mi2-var-child.exp: Update.
10326 * gdb.mi/mi2-var-block.exp: Update.
10327 * gdb.mi/mi-var-invalidate.exp: Update.
10328 * gdb.mi/mi-var-display.exp: Update.
10329 * gdb.mi/mi-var-cmd.exp: Update.
10330 * gdb.mi/mi-var-child.exp: Update.
10331 * gdb.mi/mi-var-block.exp: Update.
10332 * gdb.mi/mi-break.exp: Update.
10333 * gdb.mi/gdb701.exp: Update.
10334
10335 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
10336
10337 * Makefile.in: Inclusion of catch-syscall object.
10338 * gdb.base/catch-syscall.c: New file.
10339 * gdb.base/catch-syscall.exp: New file.
10340
10341 2009-09-12 Michael Snyder <msnyder@vmware.com>
10342
10343 * gdb.reverse/step-reverse.exp: Explicitly check for targets
10344 that can support reverse debuggnig.
10345
10346 2009-09-11 Tom Tromey <tromey@redhat.com>
10347
10348 * gdb.dwarf2/valop.S: New file.
10349 * gdb.dwarf2/valop.exp: New file.
10350
10351 2009-09-11 Mark Kettenis <kettenis@gnu.org>
10352
10353 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
10354
10355 2009-09-10 Doug Evans <dje@google.com>
10356
10357 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
10358 Add $gdb_prompt to second breakpoint regexp.
10359
10360 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
10361
10362 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
10363 names, add missing ones.
10364 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
10365 * gdb.python/py-frame.c: Rename from python-frame.c.
10366 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
10367 testfile name.
10368 * gdb.python/py-function.exp: Rename from python-function.exp.
10369 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
10370 testfile name.
10371 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
10372 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
10373 Adjust testfile name.
10374 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
10375 * gdb.python/py-template.cc: Rename from python-template.cc.
10376 * gdb.python/py-template.exp: Rename from python-template.exp.
10377 Adjust testfile name.
10378 * gdb.python/py-value.c: Rename from python-value.c.
10379 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
10380 testfile name.
10381
10382 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10383
10384 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
10385 $bpt2address.
10386 (Second breakpoint address is valid on ia64)
10387 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
10388
10389 2009-09-03 Joseph Myers <joseph@codesourcery.com>
10390
10391 * gdb.base/ending-run.exp: Restrict regular expression matching
10392 line number to require closing brace following.
10393
10394 2009-09-03 Doug Evans <dje@google.com>
10395
10396 * gdb.base/store.exp (check_set): Fix typo in expected value message.
10397
10398 2009-09-02 Tom Tromey <tromey@redhat.com>
10399
10400 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
10401
10402 2009-09-02 Tom Tromey <tromey@redhat.com>
10403
10404 * gdb.dwarf2/callframecfa.exp: New file.
10405 * gdb.dwarf2/callframecfa.S: New file.
10406
10407 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10408
10409 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
10410 gdb.base/solib-overlap-main.c: New.
10411
10412 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
10413
10414 PR gdb/10565
10415
10416 * gdb.base/bitfields.c (struct container, container): New.
10417 (main): Initialize it and call break5.
10418 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
10419
10420 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10421
10422 Support constant DW_AT_data_member_location by GCC PR debug/40659.
10423 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
10424
10425 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10426
10427 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
10428
10429 2009-08-26 Michael Snyder <msnyder@vmware.com>
10430
10431 * gdb.base/i386-reverse.c: New file.
10432 * gdb.base/i386-reverse.exp: New file.
10433 * gdb.base/Makefile.in: Add new files to be removed.
10434
10435 2009-08-26 Joseph Myers <joseph@codesourcery.com>
10436
10437 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
10438 environment-pwd for remote host.
10439 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
10440
10441 2009-08-24 Keith Seitz <keiths@redhat.com>
10442
10443 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
10444 Add two new C++ completer tests which limit the output to a
10445 given class.
10446
10447 2009-08-24 Michael Snyder <msnyder@vmware.com>
10448
10449 * gdb.base/del.exp: Fix typo in comment.
10450 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
10451
10452 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10453
10454 * configure: Regenerate.
10455 * gdb.hp/configure: Likewise.
10456 * gdb.hp/gdb.aCC/configure: Likewise.
10457 * gdb.hp/gdb.base-hp/configure: Likewise.
10458 * gdb.hp/gdb.compat/configure: Likewise.
10459 * gdb.hp/gdb.defects/configure: Likewise.
10460 * gdb.hp/gdb.objdbg/configure: Likewise.
10461 * gdb.stabs/configure: Likewise.
10462
10463 2009-08-19 Doug Evans <dje@google.com>
10464
10465 * gdb.base/gdbvars.c: New file.
10466 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
10467
10468 2009-08-14 Pedro Alves <pedro@codesourcery.com>
10469
10470 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10471 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
10472
10473 2009-08-13 Pedro Alves <pedro@codesourcery.com>
10474
10475 * gdb.base/default.exp: Adjust "set language test": it's now an
10476 enum command. Larger help string moved to "help set language".
10477 * gdb.base/help.exp: Adjust "help set language" expected output,
10478 now lists all known languages.
10479
10480 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
10481
10482 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
10483 all frame arguments.
10484 * gdb.arch/altivec-regs.exp: Likewise.
10485
10486 2009-08-07 Tom Tromey <tromey@redhat.com>
10487
10488 * gdb.base/setshow.exp: Add tests for changes to set language, set
10489 check range, and set check type.
10490
10491 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
10492
10493 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
10494 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
10495 Call it.
10496
10497 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10498
10499 * configure.ac: Run gdb.cell tests when appropriate.
10500 * configure: Regenerate.
10501 * lib/cell.exp: New file.
10502 * gdb.cell: New directory.
10503 * gdb.cell/configure.ac: New file.
10504 * gdb.cell/configure: New file.
10505 * gdb.cell/Makefile.in: New file.
10506 * gdb.cell/arch.exp: New file.
10507 * gdb.cell/break.c: New file.
10508 * gdb.cell/break.exp: New file.
10509 * gdb.cell/break-spu.c: New file.
10510 * gdb.cell/bt.c: New file.
10511 * gdb.cell/bt2-spu.c: New file.
10512 * gdb.cell/bt-spu.c: New file.
10513 * gdb.cell/bt.exp: New file.
10514 * gdb.cell/coremaker.c: New file.
10515 * gdb.cell/coremaker-spu.c: New file.
10516 * gdb.cell/core.exp: New file.
10517 * gdb.cell/gcore.exp: New file.
10518 * gdb.cell/data.c: New file.
10519 * gdb.cell/data.exp: New file.
10520 * gdb.cell/data-spu.c: New file.
10521 * gdb.cell/ea-cache.exp: New file.
10522 * gdb.cell/ea-cache.c: New file.
10523 * gdb.cell/ea-cache-spu.c: New file.
10524 * gdb.cell/ea-standalone.c: New file.
10525 * gdb.cell/ea-standalone.exp: New file.
10526 * gdb.cell/ea-test.c: New file.
10527 * gdb.cell/ea-test.exp: New file.
10528 * gdb.cell/f-regs.exp: New file.
10529 * gdb.cell/mem-access.c: New file.
10530 * gdb.cell/mem-access.exp: New file.
10531 * gdb.cell/mem-access-spu.c: New file.
10532 * gdb.cell/ptype.exp: New file.
10533 * gdb.cell/registers.exp: New file.
10534 * gdb.cell/size.c: New file.
10535 * gdb.cell/sizeof.exp: New file.
10536 * gdb.cell/size-spu.c: New file.
10537 * gdb.cell/solib.exp: New file.
10538 * gdb.cell/solib-symbol.exp: New file.
10539
10540 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10541
10542 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
10543
10544 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10545
10546 * gdb.base/float.exp: Handle VFP registers.
10547
10548 2009-07-14 Michael Snyder <msnyder@vmware.com>
10549
10550 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
10551 to bring gdb to the beginning of the calling line.
10552
10553 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
10554 confusing the i386 epilogue unwinder.
10555
10556 2009-07-14 Stan Shebs <stan@codesourcery.com>
10557
10558 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
10559
10560 2009-07-14 Michael Snyder <msnyder@vmware.com>
10561
10562 * gdb.reverse/step-reverse.exp (stepi into function call):
10563 Call instruction may not be first instruction in the line.
10564 (reverse stepi from a function call): Used wrong line number.
10565
10566 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10567
10568 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
10569
10570 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10571
10572 Fix gdb.base/macscp.exp when using custom inputrc.
10573 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
10574 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
10575 env(TERM) set.
10576 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
10577 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
10578
10579 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10580
10581 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
10582 * gdb.base/annota1.exp (thread_test): Import global $testfile.
10583 Change the compilation target to match the testcase name.
10584 * gdb.base/sect-cmd.exp: Change the compilation target to match the
10585 testcase name.
10586 * a2-run.exp: Use for setup prepare_for_testing. Change the
10587 compilation target to match the testcase name.
10588 * gdb.base/commands.exp: Likewise.
10589 * gdb.base/finish.exp: Likewise.
10590 * gdb.base/float.exp: Likewise.
10591 * gdb.base/info-target.exp: Likewise.
10592 * gdb.base/relational.exp: Likewise.
10593 * gdb.base/term.exp: Likewise.
10594 * gdb.base/until.exp: Likewise.
10595 * gdb.base/volatile.exp: Likewise.
10596 * gdb.base/whatis-exp.exp: Likewise.
10597
10598 2009-07-11 Hui Zhu <teawater@gmail.com>
10599
10600 * gdb.base/help.exp (disassemble): Update expected help text.
10601
10602 2009-07-09 Tom Tromey <tromey@redhat.com>
10603
10604 * lib/gdb.exp: Handle TRANSCRIPT.
10605 (remote_spawn, remote_close, send_gdb): New procs.
10606
10607 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
10608
10609 * gdb.python/python-prettyprint.c: Add counted null string
10610 structure.
10611 * gdb.python/python-prettyprint.exp: Print null string. Test for
10612 embedded nulls.
10613 * gdb.python/python-prettyprint.py (pp_ns): New Function.
10614 * gdb.python/python-value.exp (test_value_in_inferior): Add
10615 variable length string fetch tests.
10616 * gdb.python/python-value.c (main): Add strings for string fetch tests.
10617
10618 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10619
10620 * gdb.base/dump.exp (inaccessible memory is reported): New test.
10621
10622 2009-07-07 Tom Tromey <tromey@redhat.com>
10623
10624 * gdb.base/call-rt-st.exp: Update for change to escape output.
10625 * gdb.base/callfuncs.exp: Likewise.
10626 * gdb.base/charset.exp: Likewise.
10627 * gdb.base/constvars.exp: Likewise.
10628 * gdb.base/long_long.exp: Likewise.
10629 * gdb.base/pointers.exp: Likewise.
10630 * gdb.base/printcmds.exp: Likewise.
10631 * gdb.base/setvar.exp: Likewise.
10632 * gdb.base/store.exp: Likewise.
10633 * gdb.cp/ref-types.exp: Likewise.
10634 * gdb.mi/mi-var-child.exp: Likewise.
10635 * gdb.mi/mi-var-display.exp: Likewise.
10636 * gdb.mi/mi2-var-display.exp: Likewise.
10637 * gdb.base/charset.exp: Test octal escape sequence length.
10638 Update for change to escape output.
10639
10640 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10641
10642 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
10643
10644 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
10645
10646 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
10647
10648 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10649
10650 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
10651 gdbserver increasing $portnum if "Can't bind address" has been seen.
10652
10653 2009-07-05 Pedro Alves <pedro@codesourcery.com>
10654
10655 * gdb.base/ending-run.exp: Add "step out of main" pattern for
10656 mingw32ce.
10657
10658 2009-07-05 Pedro Alves <pedro@codesourcery.com>
10659
10660 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
10661 VFP format.
10662
10663 2009-07-02 Pedro Alves <pedro@codesourcery.com>
10664
10665 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
10666 linux. Adjust to use "inferior", "info inferiors", "detach
10667 inferior" and "kill inferior" instead of "restart", "info fork",
10668 "detach fork" and "delete fork".
10669 * gdb.base/ending-run.exp: Spell out "info".
10670 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
10671 the "kill" command.
10672
10673 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10674
10675 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
10676 change to prefix TLS offset in hex with 0x.
10677
10678 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10679
10680 * gdb.base/default.exp: Update test case for "x" changes.
10681
10682 2009-07-01 Tristan Gingold <gingold@adacore.com>
10683
10684 * gdb.base/bigcore.exp: Make darwin untested.
10685
10686 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10687
10688 * gdb.base/completion.exp (directory completion): Create the directory.
10689 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
10690 escapeuniquesub.
10691 (directory completion 2): Expect now ${escapeuniquesub}.
10692 (Glob remaining of directory test): Remove one excessive newline.
10693 Expect the real output.
10694
10695 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10696
10697 Fix `make check//%' target after `make check' has been ran.
10698 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
10699 a mkdir call.
10700 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
10701 (%/.dir): Remove.
10702
10703 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10704
10705 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
10706 the expected result record.
10707
10708 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10709
10710 Remove racy FAILs relying just on the timeouts.
10711 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
10712 (annotation_level 2): Remove racy FAILs.
10713
10714 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10715
10716 gdb/10275
10717 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
10718
10719 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
10720
10721 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
10722
10723 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
10724
10725 * gdb.mi/mi-stack.exp: Testing symbolic options
10726 to -stack-list-locals and -stack-list-arguments.
10727
10728 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10729
10730 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
10731
10732 2009-06-29 Tom Tromey <tromey@redhat.com>
10733
10734 * dg-extract-results.sh: New file.
10735 * Makefile.in (FORCE_PARALLEL): New variable.
10736 (CHECK_TARGET): New conditional variable.
10737 (check): Use CHECK_TARGET.
10738 (DO_RUNTEST): New variable.
10739 (check-single): New target.
10740 (TEST_DIRS): New variable.
10741 (TEST_TARGETS): Likewise.
10742 (check-parallel): New target.
10743 (check-gdb.%): New pattern.
10744 (BASE1_FILES): New variable.
10745 (BASE2_FILES): Likewise.
10746 (check-gdb.base%): New pattern.
10747 (%/.dir): New pattern.
10748 * configure: Rebuild.
10749 * aclocal.m4 (AM_CONDITIONAL): New defun.
10750 * configure.ac: Check whether user is using GNU make.
10751 (GMAKE): New conditional.
10752
10753 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
10754
10755 * gdb.cp/namespace-nested-import.cc: New test.
10756 * gdb.cp/namespace-nested-import.exp: New test.
10757
10758 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
10759
10760 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
10761 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
10762 * gdb.opt/Makefile.in (EXECUTABLES): Update.
10763 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
10764 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
10765 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
10766 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
10767 gdb.opt/inline-markers.c: New files.
10768 * lib/gdb.exp (skip_inline_frame_tests): New function.
10769 (skip_inline_var_tests): New function.
10770
10771 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
10772
10773 * gdb.cp/exception.exp: Don't require $hex before inner frame in
10774 backtrace.
10775
10776 2009-06-27 Michael Snyder <msnyder@vmware.com>
10777
10778 * gdb.reverse: New directory.
10779 * gdb.reverse/break-reverse.c: New test.
10780 * gdb.reverse/break-reverse.exp: New test.
10781 * gdb.reverse/consecutive-reverse.c: New test.
10782 * gdb.reverse/consecutive-reverse.exp: New test.
10783 * gdb.reverse/finish-reverse.c: New test.
10784 * gdb.reverse/finish-reverse.exp: New test.
10785 * gdb.reverse/machinestate.c: New test.
10786 * gdb.reverse/ms1.c: New test.
10787 * gdb.reverse/machinestate.exp: New test.
10788 * gdb.reverse/Makefile.in: New file.
10789 * gdb.reverse/shr2.c: New test.
10790 * gdb.reverse/solib-reverse.c: New test.
10791 * gdb.reverse/solib-reverse.exp: New test.
10792 * gdb.reverse/step-reverse.c: New test.
10793 * gdb.reverse/step-reverse.exp: New test.
10794 * gdb.reverse/until-reverse.c: New test.
10795 * gdb.reverse/ur1.c: New test.
10796 * gdb.reverse/until-reverse.exp: New test.
10797 * gdb.reverse/watch-reverse.c: New test.
10798 * gdb.reverse/watch-reverse.exp: New test.
10799 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
10800 * configure: Regenerate.
10801
10802 2009-06-26 Doug Evans <dje@google.com>
10803
10804 * gdb.base/psymtab.exp: Turn off pending breakpoints.
10805
10806 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
10807
10808 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
10809 windows problem for 'file delete $binfile'.
10810
10811 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
10812
10813 * gdb.cp/namespace-using.exp: New test.
10814 * gdb.cp/namespace-using.cc: New test.
10815
10816 2009-05-20 Joel Brobecker <brobecker@adacore.com>
10817
10818 * gdb.ada/variant_record_packed_array: New testcase.
10819
10820 2009-06-23 Tom Tromey <tromey@redhat.com>
10821
10822 * gdb.base/charset.exp (test_combination): Regression test.
10823 * gdb.base/charset.c (my_wchar_t): New typedef.
10824 (myvar): New global.
10825 (main): Set myvar.
10826
10827 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
10828
10829 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
10830 target.
10831
10832 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10833
10834 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
10835
10836 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10837
10838 * gdb.mi/gdb680.exp: Update test for error message.
10839
10840 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10841
10842 * gdb.base/annota1.exp: Allow multiple occurrences of the
10843 frames-invalid annotation.
10844 * gdb.cp/annota2.exp: Likewise.
10845
10846 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
10847
10848 * gdb.cp/gdb2495.cc: New file.
10849 * gdb.cp/gdb2495.exp: New file.
10850
10851 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10852
10853 Report error on GDB crash during runto.
10854 * lib/gdb.exp (runto <eof>): New.
10855
10856 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
10857
10858 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
10859 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
10860 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
10861 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
10862 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
10863 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
10864 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
10865 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
10866 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
10867 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
10868 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
10869 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
10870 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10871 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
10872 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
10873 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
10874 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
10875 gdb.server/server-mon.exp, gdb.server/server-run.exp,
10876 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10877 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
10878 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
10879 gdb.trace/passcount.exp, gdb.trace/report.exp,
10880 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
10881 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
10882 gdb.trace/while-stepping.exp: Use a unique name for the compiled
10883 executable.
10884
10885 2009-06-07 Pedro Alves <pedro@codesourcery.com>
10886
10887 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
10888 defined before referencing it.
10889
10890 2009-06-03 Doug Evans <dje@google.com>
10891
10892 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
10893 * gdb.arch/i386-see.c: Ditto.
10894
10895 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
10896
10897 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
10898 (check_macro): Return 1 if undefined.
10899 If first test fails, check if macro debug information is available,
10900 and report unsupported test if no macro information is found.
10901
10902 2009-05-29 Doug Evans <dje@google.com>
10903
10904 * gdb.threads/hand-call-in-threads.exp: New.
10905 * gdb.threads/hand-call-in-threads.c: New.
10906
10907 2009-05-29 Michael Snyder <msnyder@vmware.com>
10908
10909 * gdb.base/break-always.exp: Change "1" to "on".
10910 Add confirmation check.
10911
10912 2009-05-28 Pedro Alves <pedro@codesourcery.com>
10913
10914 * gdb.threads/threxit-hop-specific.c: New.
10915 * gdb.threads/threxit-hop-specific.exp: New.
10916 * gdb.threads/thread-execl.c: New.
10917 * gdb.threads/thread-execl.exp: New.
10918
10919 2009-05-27 Tom Tromey <tromey@redhat.com>
10920 Thiago Jung Bauermann <bauerman@br.ibm.com>
10921
10922 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
10923 (mi_child_regexp): Likewise.
10924 (mi_list_varobj_children_range): Likewise.
10925 (mi_get_features): Likewise.
10926 (mi_list_varobj_children): Rewrite.
10927 * gdb.python/python-mi.exp: New file.
10928
10929 2009-05-27 Tom Tromey <tromey@redhat.com>
10930 Thiago Jung Bauermann <bauerman@br.ibm.com>
10931 Phil Muldoon <pmuldoon@redhat.com>
10932 Paul Pluzhnikov <ppluzhnikov@google.com>
10933
10934 * gdb.python/python-prettyprint.exp: New file.
10935 * gdb.python/python-prettyprint.c: New file.
10936 * gdb.python/python-prettyprint.py: New file.
10937 * gdb.base/display.exp: print/r is now valid.
10938
10939 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
10940 Tom Tromey <tromey@redhat.com>
10941 Pedro Alves <pedro@codesourcery.com>
10942 Paul Pluzhnikov <ppluzhnikov@google.com>
10943
10944 * gdb.python/python-template.exp: New file.
10945 * gdb.python/python-template.cc: New file.
10946 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
10947 tests.
10948 * gdb.python/python-value.exp (py_objfile_tests): New proc.
10949 Call it.
10950 (test_value_after_death): New proc.
10951 * gdb.python/python-value.c (PTR): New typedef.
10952 (main): New variable 'x'.
10953
10954 2009-05-27 Tom Tromey <tromey@redhat.com>
10955
10956 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
10957 tests.
10958 * gdb.python/python-value.exp (py_objfile_tests): New proc.
10959 Call it.
10960
10961 2009-05-27 Pedro Alves <pedro@codesourcery.com>
10962
10963 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
10964
10965 2009-05-24 Pedro Alves <pedro@codesourcery.com>
10966
10967 * gdb.threads/fork-thread-pending.c: New.
10968 * gdb.threads/fork-thread-pending.exp: New.
10969
10970 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10971
10972 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
10973 * gdb.dwarf2/dw2-strp.S (a_string2): New.
10974
10975 2009-05-18 Jon Beniston <jon@beniston.com>
10976
10977 * gdb.asm/asm-source.exp: Add lm32 target.
10978
10979 2009-05-17 Pedro Alves <pedro@codesourcery.com>
10980
10981 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
10982 `gdb_get_line_number'. Call `callee' in both parent and child.
10983 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
10984 `gdb_get_line_number' instead of hardcoding line numbers.
10985 (catch_fork_unpatch_child): New procedure to test detaching
10986 breakpoints from child fork.
10987 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
10988 hardcoding line numbers.
10989 (do_fork_tests): Run `catch_fork_unpatch_child'.
10990
10991 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
10992
10993 * gdb.mi/mi-cmd-var.exp: Check that when varobj
10994 of structure type enters or leaves the scope, it
10995 is reported by -var-update.
10996
10997 2009-05-11 Doug Evans <dje@sebabeach.org>
10998
10999 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
11000 * gdb.threads/pending-step.c (main): Fix off-by-one error.
11001 * gdb.threads/schedlock.c (main): Fix off-by-one error.
11002
11003 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11004
11005 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
11006
11007 2009-04-30 Doug Evans <dje@google.com>
11008
11009 * gdb.threads/watchthreads2.exp: New testcase.
11010 * gdb.threads/watchthreads2.c: New testcase.
11011
11012 2009-04-29 Doug Evans <dje@google.com>
11013
11014 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
11015 * gdb.cp/mb-ctor.cc: Ditto.
11016 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
11017 * gdb.cp/mb-inline.h (multi_line_foo): New function.
11018 * gdb.cp/mb-inline1.cc: Call it.
11019 * gdb.cp/mb-inline2.cc: Ditto.
11020 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
11021 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
11022
11023 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11024
11025 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
11026 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
11027 Replace all uses of `decimal' by `nonzero'.
11028 (info macro FROM_COMMANDLINE): New test.
11029
11030 2009-04-27 Tom Tromey <tromey@redhat.com>
11031
11032 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
11033
11034 2009-04-27 Doug Evans <dje@google.com>
11035
11036 * gdb.threads/watchthreads.c (main): Initialize args before starting
11037 the threads. Plus formatting cleanup.
11038 * gdb.threads/watchthreads.exp: Avoid errant failures due to
11039 biased scheduling of one thread.
11040
11041 2009-04-27 Jerome Guitton <guitton@adacore.com>
11042
11043 * gdb.cp/templates.cc (GetMax): New template.
11044 (main): Declare two instances of GetMax.
11045 * gdb.cp/templates.exp: Add new test.
11046
11047 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11048
11049 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
11050
11051 2009-04-22 Joseph Myers <joseph@codesourcery.com>
11052
11053 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
11054
11055 2009-04-15 Tom Tromey <tromey@redhat.com>
11056
11057 * gdb.base/charset.exp: Add regression test.
11058
11059 2009-04-14 Joel Brobecker <brobecker@adacore.com>
11060
11061 * gdb.base/exe-lock.exp: New testcase.
11062
11063 2009-04-13 Tom Tromey <tromey@redhat.com>
11064
11065 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
11066 operator on Frame.
11067
11068 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11069
11070 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
11071 * gdb.server/ext-attach.exp: Likewise.
11072
11073 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
11074
11075 Eliminate some sleep usage.
11076
11077 * gdb.mi/basics.c (do_nothing): New.
11078 (main): Use do_nothing instead of printf, so that
11079 not to introduce race condition between output of
11080 inferiour and output of gdb. Do not use sleep as it
11081 is not generally available on embedded targets.
11082
11083 2009-04-02 Pedro Alves <pedro@codesourcery.com>
11084
11085 * gdb.server/ext-attach.exp: Expect an optional process id after
11086 "Detached from remote process".
11087
11088 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11089
11090 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
11091 gdb.dwarf2/dw2-unresolved.exp: New.
11092
11093 2009-04-02 Pedro Alves <pedro@codesourcery.com>
11094
11095 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
11096 mi_run_to_main.
11097
11098 2009-04-02 Pedro Alves <pedro@codesourcery.com>
11099
11100 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
11101 mi_run_to_main. Skip thread exit test on remote targets.
11102 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
11103 mi_run_to_main.
11104 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
11105 mi_run_to_main.
11106 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
11107 when expecting ^connected. Detect when the target doesn't support
11108 non-stop mode.
11109 (mi_run_cmd): Detect if non-stop mode was requested by isn't
11110 supported. Return -1 on error, 0 on success.
11111 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
11112 (mi_runto): Return mi_runto_helper's result explicitly.
11113
11114 2009-04-01 Pedro Alves <pedro@codesourcery.com>
11115
11116 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
11117
11118 2009-04-01 Tom Tromey <tromey@redhat.com>
11119
11120 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
11121 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
11122 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
11123 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
11124
11125 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
11126 Jan Kratochvil <jan.kratochvil@redhat.com>
11127
11128 PR gdb/931
11129 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
11130 output.
11131 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
11132 for gdb/931.
11133 * dw2-strp.S (DW_AT_language): Change to C++.
11134 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
11135
11136 2009-03-31 Joel Brobecker <brobecker@adacore.com>
11137
11138 * gdb.ada/tasks: New testcase.
11139
11140 2009-03-30 Stan Shebs <stan@codesourcery.com>
11141
11142 * gdb.trace/actions.exp: Update to match new info trace format.
11143 * gdb.trace/deltrace.exp: Ditto.
11144 * gdb.trace/infotrace.exp: Ditto.
11145 * gdb.trace/passcount.exp: Ditto.
11146 * gdb.trace/save-trace.exp: Ditto.
11147 * gdb.trace/while-stepping.exp: Ditto.
11148 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
11149
11150 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11151
11152 * gdb.python/python-frame.c: New file.
11153 * gdb.python/python-frame.exp: New file.
11154
11155 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
11156
11157 * gdb.python/python-value.exp: Add tests for the address
11158 attribute.
11159
11160 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
11161
11162 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
11163
11164 2009-03-26 Doug Evans <dje@google.com>
11165
11166 * gdb.mi/mi-nonstop-exit.exp: New file.
11167 * gdb.mi/non-stop-exit.c: New file.
11168
11169 2009-03-26 Tom Tromey <tromey@redhat.com>
11170
11171 Update for change to prologue skipping:
11172 * gdb.mi/mi2-simplerun.exp: Update.
11173 * gdb.mi/mi2-break.exp: Update.
11174 * gdb.mi/mi-simplerun.exp: Update.
11175 * gdb.mi/mi-break.exp: Update.
11176 * gdb.base/ending-run.exp: Update.
11177
11178 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
11179
11180 * gdb.python/python-value.exp (test_value_in_inferior): Test
11181 gdb.Value.is_optimized_out attribute.
11182
11183 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11184
11185 * gdb.dwarf2/dw2-noloc-main.c: New file.
11186 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
11187 (.text): Remove.
11188 (.data): New.
11189 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
11190 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
11191 (DW_TAG_subprogram func_cu1, noloc): Remove.
11192 (main): New.
11193 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
11194 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
11195 (file_symbols): New procedure.
11196
11197 2009-03-25 Tom Tromey <tromey@redhat.com>
11198
11199 * gdb.base/charset.exp (valid_target_charset): New proc.
11200 Use it to skip tests on invalid charsets.
11201
11202 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
11203
11204 * gdb.base/completion.exp: Add a test for directory completion.
11205
11206 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11207
11208 Fix a racy FAIL.
11209 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
11210 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
11211
11212 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
11213
11214 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
11215 * gdb.python/python-function.exp: Add test for function returning
11216 a GDB value.
11217
11218 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
11219
11220 * gdb.python/python-function.exp: New file.
11221
11222 2009-03-20 Tom Tromey <tromey@redhat.com>
11223
11224 * gdb.base/store.exp: Update for change to escape output.
11225 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
11226 to escape output.
11227 * gdb.base/pointers.exp: Update for change to escape output.
11228 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
11229 to escape output.
11230 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
11231 escape output.
11232 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
11233 to escape output.
11234 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
11235 escape output.
11236 * gdb.base/setvar.exp: Update for change to escape output.
11237 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
11238 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
11239 to escape output.
11240 (test_print_string_constants): Likewise.
11241 * gdb.base/charset.exp (valid_host_charset): Check size of
11242 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
11243 cases. Handle "auto"-related output.
11244 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
11245 (uvar, Uvar): New globals.
11246
11247 2009-03-19 Jerome Guitton <guitton@adacore.com>
11248
11249 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
11250 deltas.
11251 * gdb.ada/fixed_points.exp: Ditto.
11252
11253 2009-03-18 Pedro Alves <pedro@codesourcery.com>
11254
11255 * return-nodebug.c: Don't include stdio.h.
11256 (init): Delete.
11257 (func): Delete definition and provide extern declaration.
11258 (t): New.
11259 (main): Don't call printf. Call func and store its result in t.
11260 * return-nodebug1.c: New.
11261 * return-nodebug.exp: Don't expect stdio output. Instead, print
11262 the global variable t. Drop printf formatters and cast types from
11263 foreach loop. Don't use prepare_for_testing. Compile
11264 return-nodebug.c and return-nodebug1.c in separate steps. Don't
11265 define FORMAT or CAST.
11266
11267 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11268
11269 * gdb.base/solib-display.exp: Disable test for remote targers.
11270
11271 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11272
11273 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
11274
11275 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11276
11277 Fix a racy FAIL.
11278 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
11279 code from `follow parent, print pids'.
11280 (`follow child, print pids', `follow parent, print pids'): Call it.
11281 Replace `gdb_test "break..."' by gdb_breakpoint.
11282
11283 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
11284
11285 * gdb.mi/mi-cli.exp: Adjust for output difference in
11286 sync and async modes.
11287
11288 2009-03-12 Joel Brobecker <brobecker@adacore.com>
11289
11290 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
11291 that was checked in by mistake. Remove loading of ada.exp, since
11292 this is not necessary in this case.
11293
11294 2009-03-12 Joel Brobecker <brobecker@adacore.com>
11295
11296 * gdb.ada/ptype_arith_binop.exp: New testcase.
11297
11298 2009-03-12 Joel Brobecker <brobecker@adacore.com>
11299
11300 * gdb.ada/mod_from_name: New testcase.
11301
11302 2009-03-12 Joel Brobecker <brobecker@adacore.com>
11303
11304 * gdb.ada/tick_last_segv: New testcase.
11305
11306 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11307
11308 * gdb.mi/mi-cli.exp: Remove debug print.
11309
11310 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11311
11312 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
11313 include the token in ^running and frame info in *stopped.
11314
11315 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11316
11317 * solib-display.exp: New file.
11318 * solib-display-main.c: New file.
11319 * solib-display-lib.c: New file.
11320
11321 2009-03-05 Pedro Alves <pedro@codesourcery.com>
11322
11323 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
11324
11325 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11326
11327 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
11328 (list_and_check_macro): Use more specific test name.
11329 (next to definition): Make the test names unique.
11330
11331 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
11332
11333 * gdb.pascal/floats.exp: Accept approximate results everywhere.
11334
11335 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11336
11337 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
11338 notifications.
11339 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
11340 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
11341 * lib/mi-support.exp (library_loaded_re): New.
11342 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
11343
11344 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11345
11346 * gdb.gdb/observer.exp: Use test_notification observer, not
11347 normal_stop, everywhere.
11348 (test_normal_stop_notifications): Rename to...
11349 (test_notifications): ...this.
11350 (test_observer_normal_stop): Rename to...
11351 (test_observer): ...this.
11352
11353 2009-02-16 Doug Evans <dje@google.com>
11354
11355 * gdb.arch/amd64-disp-step.S (test_int3): New test.
11356 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
11357 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
11358 (test_prefixed_syscall,test_int3): New tests.
11359 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
11360 (test_prefixed_syscall,test_int3): New tests.
11361
11362 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
11363
11364 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
11365 (mi_expect_interrupt): Likewise.
11366 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
11367 response.
11368
11369 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11370
11371 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
11372 * gdb.base/pc-fp.exp (get_valueofx): Remove.
11373 Replace calls to get_valueofx by get_hexadecimal_valueof.
11374
11375 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11376
11377 * lib/gdb.exp (get_valueof): Accept anything as a return value.
11378 (get_integer_valueof): New procedure.
11379 (get_sizeof): Use new get_integer_value_of.
11380 * gdb.base/sizeof.exp: Replace all uses of get_valueof
11381 by get_integer_valueof.
11382
11383 2009-02-13 Tom Tromey <tromey@redhat.com>
11384
11385 * gdb.base/remote.exp (get_sizeof): Remove.
11386 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
11387 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
11388 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
11389 * lib/gdb.exp (get_valueof): Move from long_long.exp.
11390 (get_sizeof): Likewise.
11391
11392 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11393
11394 PR fortran/9806
11395 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
11396
11397 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11398
11399 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
11400
11401 2009-02-06 Pedro Alves <pedro@codesourcery.com>
11402
11403 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
11404
11405 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
11406
11407 * gdb.python/python-cmd.exp: New file.
11408
11409 2009-02-06 Tristan Gingold <gingold@adacore.com>
11410
11411 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
11412
11413 2009-02-05 Tristan Gingold <gingold@adacore.com>
11414
11415 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
11416 pointer is dereferenced and use this signal name in regexp.
11417 * gdb.base/signull.exp: Ditto.
11418 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
11419 * gdb.base/signull.c (main): Ditto.
11420
11421 2009-02-04 Tom Tromey <tromey@redhat.com>
11422 Thiago Jung Bauermann <bauerman@br.ibm.com>
11423
11424 * gdb.python/python-value.exp: Use `gdb.history' instead of
11425 `gdb.value_from_history'.
11426 (test_value_numeric_ops): Add test for conversion of enum constant.
11427 * gdb.python/python-value.c (enum e): New type.
11428 (evalue): New global.
11429 (main): Use argv.
11430
11431 2009-02-04 Jerome Guitton <guitton@adacore.com>
11432
11433 * gdb.ada/uninitialized_vars: New test program.
11434 * gdb.ada/uninitialized_vars.exp: New testcase.
11435
11436 2009-02-02 Tom Tromey <tromey@redhat.com>
11437
11438 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
11439 * gdb.cp/pr2489.cc: Rename...
11440 * gdb.cp/pr9594.cc: ... to this.
11441
11442 2009-02-02 Tom Tromey <tromey@redhat.com>
11443
11444 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
11445 * gdb.cp/pr2489.cc: New file.
11446 * gdb.cp/cpcompletion.exp: New file.
11447
11448 2009-02-02 Tom Tromey <tromey@redhat.com>
11449
11450 PR exp/9059:
11451 * gdb.cp/call-c.exp: Add regression test.
11452 * gdb.cp/call-c.cc (FooHandle): New typedef.
11453 (main): New variable 'handle'.
11454
11455 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11456
11457 * lib/mi-support.exp (et_mi_thread_list)
11458 (check_mi_and_console_threads): Adjust for current thread in
11459 -thread-list-ids output.
11460
11461 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11462
11463 * gdb.mi/mi-break.exp (test_disabled_creation): New.
11464 Call it.
11465
11466 2009-01-28 Doug Evans <dje@google.com>
11467
11468 * gdb.arch/amd64-disp-step.S: New file.
11469 * gdb.arch/amd64-disp-step.exp: New file.
11470 * gdb.arch/i386-disp-step.S: New file.
11471 * gdb.arch/i386-disp-step.exp: New file.
11472
11473 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
11474
11475 * gdb.base/find.exp: Set newline variable
11476 using quotes instead of braces to fix cygwin failures.
11477
11478 2009-01-23 Pedro Alves <pedro@codesourcery.com>
11479
11480 * gdb.base/radix.exp: Add tests to ensure that that set
11481 input-radix 0 and set output-radix 0 are really rejected.
11482
11483 2009-01-23 Pedro Alves <pedro@codesourcery.com>
11484
11485 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
11486 copyright years.
11487
11488 2009-01-23 Pedro Alves <pedro@codesourcery.com>
11489
11490 PR gdb/9664:
11491 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
11492
11493 2009-01-22 Pedro Alves <pedro@codesourcery.com>
11494
11495 PR c++/9631:
11496 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
11497
11498 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
11499
11500 * gdb.server/file-transfer.exp: Use EXEEXT variable for
11501 binfile definition to fix Windows OS failure.
11502
11503 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11504
11505 PR gdb/9346
11506 * gdb.base/interrupt.c (sigint_handler): New.
11507 (main): Install a SIGINT handler if SIGNALS is defined. Exit
11508 on error.
11509 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
11510 Test "signal SIGINT".
11511
11512 2009-01-19 Doug Evans <dje@google.com>
11513
11514 * gdb.base/break.exp: Update expected gdb output.
11515 * gdb.base/sepdebug.exp: Ditto.
11516 * gdb.mi/mi-syn-frame.exp: Ditto.
11517 * gdb.mi/mi2-syn-frame.exp: Ditto.
11518 * gdb.base/call-signal-resume.exp: New file.
11519 * gdb.base/call-signals.c: New file.
11520 * gdb.base/unwindonsignal.exp: New file.
11521 * gdb.base/unwindonsignal.c: New file.
11522 * gdb.threads/interrupted-hand-call.exp: New file.
11523 * gdb.threads/interrupted-hand-call.c: New file.
11524 * gdb.threads/thread-unwindonsignal.exp: New file.
11525
11526 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
11527
11528 * gdb.base/define.exp: Test defining and hooking prefix commands.
11529 * gdb.python/python.exp: Update test for "show user" output.
11530
11531 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11532
11533 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
11534 now the output exactly, using less wildcards. Expect also the output
11535 of gfortran-4.3. Update for the f-valprint.c modification from
11536 2008-04-22.
11537 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
11538 Remove gdb_test test names where matching the command.
11539
11540 2009-01-01 Pedro Alves <pedro@codesourcery.com>
11541
11542 PR breakpoints/9681:
11543 * gdb.base/watchpoint.exp: Add regression test.
11544
11545 2008-12-31 Pedro Alves <pedro@codesourcery.com>
11546
11547 * gdb.threads/attach-into-signal.exp: Don't use
11548 gdb_suppress_entire_file.
11549 * gdb.threads/attach-stopped.exp: Ditto.
11550 * gdb.threads/attachstop-mt.exp: Ditto.
11551
11552 2008-12-31 Pedro Alves <pedro@codesourcery.com>
11553
11554 PR gdb/8812:
11555 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
11556
11557 2008-12-29 Pedro Alves <pedro@codesourcery.com>
11558
11559 PR gdb/7536:
11560 * gdb.base/radix.exp: Add tests to ensure invalid input radices
11561 and unsupported output radices are really rejected.
11562
11563 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11564
11565 * gdb.cp/punctuator.exp: Backslash the '$' signs.
11566
11567 2008-12-22 Tom Tromey <tromey@redhat.com>
11568
11569 * gdb.cp/punctuator.exp: New file.
11570
11571 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11572
11573 * gdb.base/completion.exp (Completing non-existing component): New test.
11574
11575 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11576
11577 Fix for PR gdb/8648.
11578 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
11579 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
11580 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
11581 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
11582
11583 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11584
11585 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
11586
11587 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
11588
11589 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
11590 compiler actually generate code at the expected line number.
11591
11592 2008-12-15 Jie Zhang <jie.zhang@analog.com>
11593
11594 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
11595
11596 2008-12-12 Tom Tromey <tromey@redhat.com>
11597
11598 * gdb.base/commands.exp (redefine_hook_test): New proc.
11599 Call it.
11600
11601 2008-12-11 Tom Tromey <tromey@redhat.com>
11602
11603 * gdb.base/macscp.exp: New regression test.
11604
11605 2008-12-11 Tom Tromey <tromey@redhat.com>
11606
11607 * gdb.base/macscp.exp: Print "address.addr".
11608 * gdb.base/macscp1.c (struct outer): New struct.
11609 (address): New global.
11610
11611 2008-12-09 Tom Tromey <tromey@redhat.com>
11612
11613 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
11614 Call it.
11615
11616 2008-12-04 Doug Evans <dje@google.com>
11617
11618 * gdb.server/ext-run.exp: Relax regexp for init program.
11619
11620 2008-12-03 Tristan Gingold <gingold@adacore.com>
11621
11622 * gdb.base/macscp.exp: Generate an object file during compilation
11623 to work around Darwin dsymutil limitations.
11624
11625 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11626
11627 Test resolving external references to TLS variables.
11628 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
11629 FILE2_THREAD_LOCAL.
11630 (testfile2, srcfile2): New variables.
11631 * gdb.threads/tls.c (file2_thread_local)
11632 (function_referencing_file2_thread_local): New.
11633 * gdb.threads/tls2.c: New file.
11634
11635 2008-11-28 Joel Brobecker <brobecker@adacore.com>
11636
11637 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
11638 rather than integer, as integer might not be big enough when
11639 on 64bit targets.
11640
11641 2008-11-27 Jerome Guitton <guitton@adacore.com>
11642
11643 * gdb.cp/formatted-ref.exp: Add equality test.
11644 * gdb.ada/formatted_ref.exp: Ditto.
11645
11646 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11647
11648 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
11649 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
11650
11651 2008-11-20 Andreas Schwab <schwab@suse.de>
11652
11653 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
11654 matching syscall entry point.
11655 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11656 (tcatch_vfork_then_child_follow): Likewise. Finish through
11657 vfork even if we stopped at the syscall trampoline.
11658
11659 2008-11-20 Doug Evans <dje@google.com>
11660
11661 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
11662
11663 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
11664
11665 * gdb.arch/ppc-dfp.exp: New file.
11666 * gdb.arch/ppc-dfp.c: New file.
11667
11668 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11669
11670 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
11671
11672 2008-11-17 Doug Evans <dje@google.com>
11673
11674 * gdb.mi/mi-syn-frame.exp: Update expected output.
11675 * gdb.mi/mi2-syn-frame.exp: Update expected output.
11676
11677 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11678
11679 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
11680 "thread N" results in =thread-selected.
11681 * lib/mi-support (mi_run_cmd, mi_expect_stop)
11682 (mi_send_resuming_command_raw): Be prepared for
11683 =thread-selected.
11684
11685 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11686
11687 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
11688 * lib/mi-support.exp: Likewise.
11689
11690 2008-11-16 Joel Brobecker <brobecker@adacore.com>
11691
11692 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
11693 commands from the expected output for "help catch".
11694
11695 2008-11-15 Joel Brobecker <brobecker@adacore.com>
11696
11697 * gdb.ada/int_deref.exp: New testcase.
11698
11699 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
11700
11701 * gdb.mi/gdb2549.exp: New file.
11702
11703 2008-11-11 Doug Evans <dje@google.com>
11704
11705 * gdb.base/callexit.exp: New file.
11706 * gdb.base/callexit.c: New file.
11707
11708 2008-11-10 Doug Evans <dje@google.com>
11709
11710 * lib/gdb.exp (GDBFLAGS): Move -nx ...
11711 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
11712 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
11713 (default_gdb_start,default_gdb_exit): Ditto.
11714 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
11715 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
11716 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
11717 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
11718 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
11719 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
11720
11721 2008-11-03 Andreas Schwab <schwab@suse.de>
11722
11723 * gdb.base/hashline2.exp: Fix typo.
11724 * gdb.base/hashline3.exp: Likewise.
11725
11726 2008-10-30 Tom Tromey <tromey@redhat.com>
11727
11728 * gdb.base/pointers.exp: Add test.
11729 * gdb.base/pointers.c (k, S): New typedefs.
11730 (instance): New global.
11731
11732 2008-10-30 Andreas Schwab <schwab@suse.de>
11733
11734 * gdb.base/args.exp: Add tests for newlines.
11735
11736 2008-10-30 Joel Brobecker <brobecker@adacore.com>
11737
11738 gdb.base/foll-exec.exp: Update the expected output of a couple
11739 of "info breakpoints" tests.
11740
11741 2008-10-28 Tom Tromey <tromey@redhat.com>
11742
11743 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
11744
11745 2008-10-24 Pedro Alves <pedro@codesourcery.com>
11746
11747 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
11748 gdb_start_cmd.
11749 Use runto_main before any test that requires execution.
11750
11751 2008-10-23 Pedro Alves <pedro@codesourcery.com>
11752
11753 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
11754 instead of SIGINT.
11755
11756 2008-10-22 Joel Brobecker <brobecker@adacore.com>
11757
11758 * gdb.base/completion.exp: Update expected output following
11759 the addition of the "info tasks" command.
11760
11761 2008-10-22 Tom Tromey <tromey@redhat.com>
11762
11763 * gdb.base/exprs.exp (test_expr): Add test for string
11764 concatenation.
11765
11766 2008-10-19 Pedro Alves <pedro@codesourcery.com>
11767
11768 * configure.ac: Output gdb.python/Makefile.
11769 * configure: Regenerate.
11770 * gdb.python/Makefile.in: New.
11771
11772 2008-10-16 Joel Brobecker <brobecker@adacore.com>
11773
11774 * gdb.base/foll-fork.exp: Adjust the expected output to match
11775 the new description for fork/vfork catchpoints in the "info
11776 breakpoints" output.
11777
11778 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11779
11780 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
11781
11782 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11783
11784 * gdb.python/python-value.c: New file.
11785 * gdb.python/python-value.exp: New file.
11786
11787 2008-10-15 Pedro Alves <pedro@codesourcery.com>
11788
11789 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
11790
11791 2008-10-15 Denis Pilat <denis.pilat@st.com>
11792
11793 * gdb.cp/mb-ctor.exp: Fix a typo.
11794
11795 2008-10-09 Tom Tromey <tromey@redhat.com>
11796
11797 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
11798 'fprintf' and 'stderr'.
11799
11800 2008-10-07 Joel Brobecker <brobecker@adacore.com>
11801
11802 * gdb.ada/ref_tick_size.exp: New testcase.
11803
11804 2008-10-06 Doug Evans <dje@google.com>
11805
11806 * gdb.dwarf2/dw2-cu-size.exp: New file.
11807 * gdb.dwarf2/dw2-cu-size.S: New file.
11808
11809 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
11810 .Ltype_int for clarity.
11811
11812 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11813
11814 PR gdb/2384:
11815 * gdb.cp/gdb2384.exp: Extended to test more cases.
11816 * gdb.cp/gdb2384.cc: Likewise.
11817 * gdb.cp/gdb2384-base.h: Likewise.
11818 * gdb.cp/gdb2384-base.cc: Likewise.
11819
11820 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11821
11822 * gdb.base/maint.exp (maint print type): Remove printing
11823 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
11824
11825 2008-09-30 Tom Tromey <tromey@redhat.com>
11826
11827 * gdb.base/macscp.exp: Add completion tests.
11828 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
11829 (TWENTY_THREE): Likewise.
11830 (FORTY_EIGHT): Likewise.
11831
11832 2008-09-30 Tom Tromey <tromey@redhat.com>
11833
11834 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
11835 everywhere.
11836 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
11837
11838 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11839
11840 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
11841 testcase is derived from. Fix racy dependency on an expected PID
11842 number. No longer support the testcase on Linux kernel 2.4.x.
11843
11844 2008-09-27 Tom Tromey <tromey@redhat.com>
11845
11846 * gdb.base/macscp.exp: Add tests for stringification, splicing,
11847 and varargs.
11848
11849 2008-09-22 Pedro Alves <pedro@codesourcery.com>
11850
11851 * lib/mi-support.exp (mi_expect_interrupt): New.
11852 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
11853 from gdb.mi/mi-nonstop.exp.
11854 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
11855 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
11856 lib/mi-support.exp.
11857 Use mi_check_thread_states throughout. Avoid ".*" and do not
11858 require an anchor after -exec-run.
11859
11860 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
11861
11862 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
11863 stop is pending. Avoid ".*" when two stops are pending.
11864 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
11865 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
11866 newlines in fullnames.
11867 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
11868 (mi_expect_stop): Update comments. Only anchor in sync mode.
11869 Do not match newlines.
11870 (mi_send_resuming_command_raw): Always return status.
11871 (mi_get_stop_line): Do not match more than one line by accident.
11872 Only anchor in sync mode.
11873 (mi_run_inline_test): If -exec-next fails, give up.
11874
11875 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11876
11877 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
11878 on SPU.
11879
11880 2008-09-10 Joel Brobecker <brobecker@adacore.com>
11881
11882 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
11883
11884 2008-09-10 Joel Brobecker <brobecker@adacore.com>
11885
11886 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
11887 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11888 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
11889 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11890 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
11891 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
11892 gdb.ada/interface.exp, gdb.ada/null_array.exp,
11893 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11894 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11895 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11896 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
11897 Include the "= " sequence in the expected output of print tests.
11898
11899 2008-09-10 Joel Brobecker <brobecker@adacore.com>
11900
11901 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
11902 description for boolean types.
11903
11904 2008-09-09 Pedro Alves <pedro@codesourcery.com>
11905
11906 * gdb.base/hook-stop-continue.c: New.
11907 * gdb.base/hook-stop-continue.exp: New.
11908
11909 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11910
11911 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
11912
11913 2008-09-08 Jerome Guitton <guitton@adacore.com>
11914
11915 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
11916 (stack_check_probe_2, stack_check_probe_loop_1)
11917 (stack_check_probe_loop_2): New functions.
11918 (main): Add call to these new functions.
11919 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
11920 functions, check that the breakpoint is inserted at the appropriate
11921 location.
11922 (insert_breakpoint): Slightly refine this procedure so that it can
11923 be called several times in the test.
11924
11925 2008-09-08 Jerome Guitton <guitton@adacore.com>
11926
11927 * gdb.base/stack-checking.c: New file.
11928 * gdb.base/stack-checking.exp: New file.
11929
11930 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11931
11932 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
11933 * gdb.arch/altivec-regs.exp: Likewise.
11934 * gdb.arch/vsx-regs.exp: Likewise.
11935
11936 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11937
11938 * gdb.arch/ppc-fp.exp: New file.
11939 * gdb.arch/ppc-fp.c: New file.
11940
11941 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11942
11943 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
11944 lest gcc-4.3.1 optimizes the whole thing away.
11945
11946 2008-09-04 Michael Snyder <msnyder@vmware.com>
11947
11948 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
11949 as "at" (for non-debug functions such as _start).
11950
11951 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11952
11953 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
11954 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
11955 software watchpoints.
11956 * gdb.base/watch_thread_num.exp: Likewise.
11957
11958 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
11959
11960 * gdb.arch/i386-bp_permanent.exp: New test.
11961
11962 2008-08-24 Tom Tromey <tromey@redhat.com>
11963
11964 * gdb.base/maint.exp: Update "maint print type".
11965
11966 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
11967
11968 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
11969 support. Adjust the order of "*running" notifications.
11970 * gdb.mi/non-stop.c: Don't cast from int to void* and
11971 back.
11972
11973 2008-08-20 Mark Kettenis <kettenis@gnu.org>
11974
11975 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
11976 expect to find it in the "info frame" output.
11977
11978 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
11979
11980 * gdb.base/interp.exp: Always consume both prompts.
11981
11982 2008-08-20 Pedro Alves <pedro@codesourcery.com>
11983
11984 * gdb.base/pending.exp: Test pending breakpoints without symbols
11985 loaded.
11986
11987 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
11988
11989 * lib/mi-support.exp (mi_expect_stop): Produce
11990 more details on failures.
11991 * gdb.mi/mi-nonstop.exp: New.
11992 * gdb.mi/non-stop.c: New.
11993
11994 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
11995
11996 * gdb.mi/mi-async.exp: Use 'set target-async'.
11997 * lib/mi-support.exp: Use 'set/show target-async'.
11998
11999 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
12000
12001 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
12002
12003 2008-08-17 Tom Tromey <tromey@redhat.com>
12004
12005 * gdb.base/help.exp (help catch): Rewrite.
12006
12007 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
12008
12009 * gdb.base/define.exp: Test indented command documentation.
12010 * gdb.python/python.exp: Test indented multi-line command.
12011
12012 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
12013
12014 * testsuite/gdb.arch/vsx-regs.c: New source file.
12015 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
12016 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
12017
12018 2008-08-14 Tom Tromey <tromey@redhat.com>
12019
12020 * gdb.base/macscp.exp: Add regression test for "macro define" or
12021 "macro undef" with no arguments.
12022
12023 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12024
12025 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
12026
12027 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12028
12029 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
12030
12031 2008-08-06 Tom Tromey <tromey@redhat.com>
12032
12033 * gdb.python/python.exp: New file.
12034
12035 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12036
12037 Fix for PR gdb/1543.
12038 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
12039 $LOCATION.
12040 (location): New variable.
12041 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
12042 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
12043 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
12044 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
12045 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
12046 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
12047 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
12048 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
12049 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
12050 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
12051 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
12052 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
12053 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
12054 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
12055 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
12056 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
12057 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
12058 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
12059 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
12060 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
12061 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
12062 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
12063 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
12064 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
12065 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
12066 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
12067 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
12068 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
12069 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
12070 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
12071 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
12072 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
12073 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
12074 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
12075 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
12076 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
12077 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
12078 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
12079 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
12080 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
12081 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
12082 gdb.base/type-opaque.exp, gdb.base/until.exp,
12083 gdb.base/value-double-free.c, gdb.base/varargs.exp,
12084 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
12085 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
12086 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12087 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
12088 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
12089 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12090 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12091 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12092 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
12093 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
12094 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
12095 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
12096 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
12097 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
12098 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
12099 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
12100 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
12101 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
12102 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
12103 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12104 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
12105 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
12106 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
12107 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12108 gdb.pascal/types.exp, gdb.stabs/weird.exp,
12109 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
12110 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
12111 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
12112 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
12113 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
12114 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
12115 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12116 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12117 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12118 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12119 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12120 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
12121 lib/mi-support.exp, lib/trace-support.exp: Remove reference
12122 to bug-gdb@prep.ai.mit.edu .
12123
12124 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
12125
12126 * lib/mi-support.exp (mi_load_shlibs): New.
12127 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
12128
12129 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
12130
12131 * lib/mi-support.exp (get_mi_thread_list)
12132 (check_mi_and_console_threads): New, moved from ...
12133 * gdb.mi/mi-pthread.exp: ...here.
12134 * gdb.mi/gdb669.exp (get_mi_thread_list)
12135 (check_mi_and_console_threads): Delete.
12136 * gdb.mi/mi2-pthread.exp: Likewise.
12137
12138 2008-07-28 Tom Tromey <tromey@redhat.com>
12139
12140 * Makefile.in (just-check): Remove. Move body to...
12141 (check): ... here.
12142
12143 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12144
12145 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
12146 Add a test for duplicated SIGINTs.
12147
12148 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12149
12150 * gdb.threads/schedlock.exp (get_args): Update to work for any
12151 value of NUM.
12152 (Top level): Report the number of threads that did not resume.
12153
12154 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12155
12156 * gdb.dwarf2/dw2-compressed.S: Also define __start.
12157
12158 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12159
12160 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
12161 non-MI prompt.
12162
12163 2008-07-26 Tom Tromey <tromey@redhat.com>
12164
12165 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
12166 (function_struct, function_struct_ptr): New globals.
12167 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
12168 function pointer in a struct.
12169
12170 2008-07-26 Tom Tromey <tromey@redhat.com>
12171
12172 * gdb.base/macscp.exp: Add test for macro lexing bug.
12173
12174 2008-07-18 Tom Tromey <tromey@redhat.com>
12175
12176 * gdb.base/macscp.exp: Add macro tests.
12177
12178 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12179
12180 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
12181
12182 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12183
12184 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
12185
12186 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
12187
12188 * gdb.cp/class2.exp: fix for failure on spu-elf
12189
12190 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12191
12192 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
12193
12194 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12195
12196 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
12197
12198 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
12199
12200 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
12201
12202 2008-07-11 Kevin Buettner <kevinb@redhat.com>
12203
12204 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
12205 of regexp to account for changes made to GDB in the printing of
12206 byte vectors.
12207
12208 2008-07-11 Tom Tromey <tromey@redhat.com>
12209
12210 * gdb.base/completion.exp: Add 'help' completion test.
12211
12212 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12213
12214 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
12215
12216 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12217
12218 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
12219
12220 2008-07-09 Pedro Alves <pedro@codesourcery.com>
12221
12222 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
12223
12224 2008-07-09 Pedro Alves <pedro@codesourcery.com>
12225
12226 * gdb.base/fullname.exp: Restore pwd if compiling failed.
12227
12228 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12229
12230 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
12231
12232 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12233
12234 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
12235 previous commit. Add a comment.
12236
12237 2008-06-28 Pedro Alves <pedro@codesourcery.com>
12238
12239 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
12240
12241 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12242
12243 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
12244
12245 2008-06-27 Pedro Alves <pedro@codesourcery.com>
12246
12247 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
12248 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
12249 compiling an executable, link in an object that forces unbuffered
12250 output.
12251 * lib/set_unbuffered_mode.c: New file.
12252
12253 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12254
12255 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
12256
12257 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
12258
12259 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
12260 mi_expect_stop.
12261 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
12262 Demand that *running is output.
12263 (detect_async): Perform checking every time.
12264 (mi_send_resuming_command): Extract everything into...
12265 (mi_send_resuming_command_raw): ...this.
12266 (mi_expect_stop): Don't accept any output before *stopped.
12267
12268 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
12269
12270 Robustify mi-simplerun.
12271 * gdb.mi/basics.c (main): Add a call to sleep.
12272 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
12273 * gdb.mi/mi2-cli.exp: Likewise.
12274 * gdb.mi/mi-break.exp: Likewise.
12275
12276 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
12277
12278 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
12279
12280 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12281
12282 * gdb.mi/mi-console.exp: Adjust.
12283 * gdb.mi/mi-syn-frame.exp: Adjust.
12284 * gdb.mi/mi2-console.exp: Adjust.
12285 * gdb.mi/mi2-syn-frame.exp: Adjust.
12286 * lib/mi-support.exp (mi_run_cmd): Adjust.
12287 (mi_send_resuming_command): Adjust.
12288
12289 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12290
12291 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
12292 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
12293 testing of stopped.
12294 * gdb.mi/mi2-syn-frame.exp: Likewise.
12295 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
12296 (async, detect_async): New.
12297 (mi_expect_stop, mi_continue_to_line): Adjust expectation
12298 depending on if we're running in sync or async mode.
12299
12300 2008-06-09 Tom Tromey <tromey@redhat.com>
12301
12302 * gdb.base/completion.exp: New tests for field name completion
12303 with spaces, and field name completion with '->'.
12304
12305 2008-06-06 Tom Tromey <tromey@redhat.com>
12306
12307 * gdb.base/break1.c (struct some_struct): New struct.
12308 (values): New global.
12309 * gdb.base/completion.exp: Add field name completion test.
12310
12311 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12312
12313 * gdb.cp/call-c.exp: Test for incorrect handling of reference
12314 to pointer.
12315 * gdb.cp/call-c.cc: Likewise.
12316
12317 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
12318
12319 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
12320 annotation.
12321
12322 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12323 Pedro Alves <pedro@codesourcery.com>
12324
12325 * gdb.threads/execl.c, gdb.threads/execl1.c,
12326 gdb.threads/execl.exp: New tests.
12327
12328 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
12329 Daniel Jacobowitz <dan@codesourcery.com>
12330
12331 * gdb.cp/exception.exp: Activate test, make it work with pending
12332 catchpoints.
12333
12334 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12335
12336 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
12337
12338 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
12339
12340 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
12341 now printed.
12342 * gdb.mi/mi2-var-cmd.exp: Likewise.
12343
12344 2008-05-27 Andreas Schwab <schwab@suse.de>
12345
12346 * gdb.base/frame-args.exp: Handle arguments that are optimized
12347 out.
12348
12349 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
12350
12351 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
12352 quiet for ppc32 and group options into a single variable.
12353
12354 2008-05-23 Joel Brobecker <brobecker@adacore.com>
12355
12356 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
12357 of zero-size elements.
12358 * gdb.ada/null_array.exp: Test printing this new array.
12359
12360 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12361
12362 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
12363
12364 2008-05-21 Joel Brobecker <brobecker@adacore.com>
12365
12366 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
12367 of the "finish" command.
12368
12369 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
12370
12371 * gdb.base/annota1.exp: Test for new annotation.
12372
12373 2008-05-16 Pedro Alves <pedro@codesourcery.com>
12374
12375 * gdb.base/fixsection.exp: New file.
12376 * gdb.base/fixsection0.c: New file.
12377 * gdb.base/fixsection1.c: New file.
12378
12379 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12380
12381 * gdb.base/annota1.exp: Accept printf@... in place of printf.
12382 * gdb.base/annota3.exp: Likewise.
12383
12384 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
12385
12386 * gdb.base/watch_thread_num.exp: Don't run tests that require
12387 watchpoints if the target doesn't support them.
12388
12389 2008-05-12 Doug Evans <dje@google.com>
12390
12391 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
12392
12393 2008-05-09 Joel Brobecker <brobecker@adacore.com>
12394
12395 * gdb.ada/assign_1.exp: New testcase.
12396
12397 2008-05-09 Doug Evans <dje@google.com>
12398
12399 * gdb.base/find.exp: New file.
12400 * gdb.base/find.c: New file.
12401
12402 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
12403
12404 * gdb.base/commands.exp (watchpoint_command_test): Handle
12405 gdb,no_hardware_watchpoints.
12406 * gdb.base/float.exp: Allow ARM targets without floating point.
12407 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
12408
12409 2008-05-06 Jerome Guitton <guitton@adacore.com>
12410 Joel Brobecker <brobecker@adacore.com>
12411
12412 * gdb.ada/lang_switch: New test program.
12413 * gdb.ada/lang_switch.exp: New testcase.
12414
12415 2008-05-05 Doug Evans <dje@google.com>
12416
12417 * gdb.base/help.exp (disassemble): Update expected help text.
12418
12419 2008-05-04 Pedro Alves <pedro@codesourcery.com>
12420
12421 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
12422
12423 2008-05-04 Pedro Alves <pedro@codesourcery.com>
12424
12425 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
12426 different times.
12427
12428 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12429
12430 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
12431 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
12432 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
12433 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
12434
12435 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
12436
12437 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
12438 notification to appear.
12439
12440 2008-05-04 Daniel Jacobowitz <dan@debian.org>
12441
12442 * gdb.base/fullname.c: New file.
12443 * gdb.base/fullname.exp: New file.
12444 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
12445
12446 2008-05-03 Pedro Alves <pedro@codesourcery.com>
12447
12448 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
12449 expressions with macros.
12450
12451 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12452
12453 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
12454
12455 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
12456
12457 * gdb.base/completion.exp: Handle lack of other symbols beginning
12458 with "a".
12459
12460 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
12461
12462 2008-05-02 Jim Blandy <jimb@codesourcery.com>
12463
12464 * gdb.asm/asmsrc1.s: Add scratch space.
12465
12466 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12467 Daniel Jacobowitz <dan@codesourcery.com>
12468
12469 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
12470 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
12471 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
12472
12473 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
12474
12475 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
12476
12477 2008-05-01 Joel Brobecker <brobecker@adacore.com>
12478
12479 * gdb.base/info-target.exp: New testcase.
12480
12481 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12482
12483 * gdb.cp/hang.exp: Use .cc instead of .C.
12484 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
12485 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
12486
12487 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12488
12489 * gdb.base/gdb1250.exp: Remove perror.
12490 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
12491
12492 2008-04-30 Pedro Alves <pedro@codesourcery.com>
12493
12494 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
12495 .2byte.
12496
12497 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
12498
12499 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
12500 (maybe_kfail): New.
12501
12502 2008-04-25 Pedro Alves <pedro@codesourcery.com>
12503
12504 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
12505
12506 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12507
12508 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
12509 * gdb.mi/mi2-syn-frame.exp: Likewise.
12510 * lib/mi-support.exp: Likewise.
12511
12512 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12513
12514 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
12515 to specify regexp for the location to stop at.
12516 * gdb.base/break-always.c: New.
12517 * gdb.base/break-always.exp: New.
12518
12519 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12520
12521 * lib/mi-support.exp (mi_runto_helper): Adjust
12522 for the original-location field.
12523 (mi_create_breakpoint, mi_list_breakpoints): New.
12524 * gdb.mi/mi-break.exp: Adjust.
12525 * gdb.mi/mi2-break.exp: Adjust.
12526 * gdb.mi/mi-pending.exp: Adjust.
12527 * gdb.mi/mi-simplerun.exp: Adjust.
12528 * gdb.mi/mi2-simplerun.exp: Adjust.
12529 * gdb.mi/mi-syn-frame.exp: Adjust.
12530 * gdb.mi/mi2-syn-frame.exp: Adjust.
12531 * gdb.mi/mi-until.exp: Adjust.
12532 * gdb.mi/mi2-until.exp: Adjust.
12533 * gdb.mi/mi-var-display.exp: Adjust.
12534 * gdb.mi/mi2-var-display.exp: Adjust.
12535 * gdb.mi/mi-watch.exp: Adjust.
12536 * gdb.mi/mi2-watch.exp: Adjust.
12537
12538 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
12539
12540 * aclocal.m4: Add override.m4.
12541 * configure: Regenerate.
12542
12543 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
12544
12545 * gdb.mi/var-cmd.c (do_at_tests): Verify that
12546 '-var-update --all-values' reports new value even the type
12547 of a variable object has changed.
12548
12549 2008-04-18 Craig Silverstein <csilvers@google.com>
12550
12551 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
12552 files.
12553
12554 2008-04-18 Joel Brobecker <brobecker@adacore.com>
12555
12556 * gdb.ada/atomic_enum: New test program.
12557 * gdb.ada/atomic_enum.exp: New testcase.
12558
12559 2008-04-17 Doug Evans <dje@google.com>
12560
12561 * gdb.opt/Makefile.in: Fix whitespace.
12562
12563 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
12564
12565 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
12566
12567 2008-04-17 Doug Evans <dje@google.com>
12568
12569 * gdb.base/hashline1.exp: New testcase.
12570 * gdb.base/hashline2.exp: New testcase.
12571 * gdb.base/hashline2.exp: New testcase.
12572
12573 2008-04-17 Pedro Alves <pedro@codesourcery.com>
12574
12575 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
12576
12577 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
12578
12579 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
12580 temporary breakpoint to match "Temporary breakpoint".
12581 * gdb.base/break.exp (delete_breakpoints): Likewise.
12582 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
12583 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
12584 * gdb.base/display.exp: Likewise.
12585 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
12586 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
12587 * gdb.base/restore.exp (restore_tests): Likewise.
12588 * gdb.base/sepdebug.exp: Likewise.
12589 * gdb.base/watchpoint.exp: Likewise.
12590 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
12591 * gdb.mi/mi-pending.exp: Likewise.
12592 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
12593 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
12594 * gdb.mi/mi-var-cmd.exp: Likewise.
12595 * gdb.mi/mi-var-display.exp: Likewise.
12596 * gdb.mi/mi2-cli.exp: Likewise.
12597 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
12598 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
12599 * gdb.mi/mi2-var-display.exp: Likewise.
12600 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
12601 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
12602 new "disp" field.
12603 (mi_expect_stop): Move after_reason argument to be really after
12604 reason. This is to support fix for PR2424.
12605
12606 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12607
12608 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
12609
12610 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
12611
12612 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
12613 field. Add more floating varobj tests.
12614 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
12615 field.
12616 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
12617 (main): Call do_at_tests.
12618 * lib/mi-support.exp (mi_create_floating_varobj)
12619 (mi_varobj_update_with_type_change): New.
12620
12621 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
12622
12623 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
12624 option of -var-evaluate-expression.
12625 * gdb.mi/mi2-var-display.exp: Likewise.
12626
12627 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
12628
12629 Introduce test setup helpers.
12630 * lib/gdb.exp (build_executable, clean_restart)
12631 (prepare_for_testing): New.
12632 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
12633 * gdb.base/return.exp: Likewise.
12634 * gdb.base/ending-run.exp: Likewise.
12635
12636 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
12637
12638 * gdb.mi/mi-async.exp: New test for asynchronous Machine
12639 Interface (MI) responses.
12640
12641 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
12642
12643 * gdb.cp/breakpoint.cc: New code to test conditions involving
12644 member variables.
12645 * gdb.cp/breakpoint.exp: Test condition involving member
12646 variables.
12647
12648 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
12649
12650 * lib/mi-support.exp (mi_expect_stop): New.
12651 (mi_run_cmd): Change the
12652 token. Use mi_send_resuming_command, use
12653 mi_expect_stop.
12654 (mi_execute_to_helper): Rename to mi_execute_to.
12655 (mi_send_resuming_command): Add more error patterns.
12656 (mi_wait_for_stop): Renamed to...
12657 (mi_get_stop_line): ...this.
12658 (mi_run_inline_test): Adjust.
12659
12660 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
12661 * gdb.mi/mi-console.exp: Likewise.
12662 * gdb.mi/mi-pending.exp: Likewise.
12663 * gdb.mi/mi-simplerun.exp: Likewise.
12664 * gdb.mi/mi-stack.exp: Likewise.
12665 * gdb.mi/mi-stepi.exp: Likewise.
12666 * gdb.mi/mi-syn-frame.exp: Add comment.
12667 * gdb.mi/mi-until.exp: Likewise.
12668 * gdb.mi/mi-var-display.exp: Likewise.
12669 * gdb.mi/mi-watch.exp: Likewise.
12670 * gdb.mi/mi2-cli.exp: Likewise.
12671 * gdb.mi/mi2-console.exp: Likewise.
12672 * gdb.mi/mi2-simplerun.exp: Likewise.
12673 * gdb.mi/mi2-stack.exp: Likewise.
12674 * gdb.mi/mi2-stepi.exp: Likewise.
12675 * gdb.mi/mi2-until.exp: Likewise.
12676 * gdb.mi/mi2-var-display.exp: Likewise.
12677 * gdb.mi/mi2-watch.exp: Likewise.
12678
12679 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12680
12681 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
12682
12683 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
12684
12685 2008-04-04 Pedro Alves <pedro@codesourcery.com>
12686
12687 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
12688 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
12689 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12690 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
12691 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
12692 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
12693 expect an mi error duplicated in stderr.
12694
12695 2008-04-03 Joel Brobecker <brobecker@adacore.com>
12696
12697 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
12698 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
12699 Add a couple of tests that verify the behavior when the new setting
12700 is set to "cancel" and "all".
12701 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
12702 "ask" before we start the testing.
12703
12704 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
12705
12706 * gdb.cp/casts.cc: Add class reference variables.
12707 * gdb.cp/casts.exp: New test cases for up/down casting references.
12708
12709 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
12710
12711 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
12712 instead of beginning to make an extra test pass.
12713 * gdb.mi/mi2-var-display.exp: Likewise.
12714
12715 2008-03-31 Maciej W. Rozycki <macro@mips.com>
12716
12717 * gdb.base/break.exp: Mark failures as such. Fix formatting.
12718
12719 2008-03-31 Markus Deuling <deuling@de.ibm.com>
12720 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12721
12722 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
12723 value. Add xfail for older kernels.
12724
12725 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
12726
12727 Bring mi-support in line with gdb.exp.
12728 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
12729 (mi_gdb_start): New function.
12730
12731 2008-03-28 Maciej W. Rozycki <macro@mips.com>
12732
12733 * gdb.mi/mi-var-cmd.exp: Fix a typo.
12734
12735 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12736
12737 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
12738 * gdb.mi/mi2-var-display.exp: Likewise.
12739
12740 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12741
12742 * lib/mi-support.exp (mi_create_varobj_checked): New.
12743 (mi_list_varobj_children): Allow to check for a
12744 value.
12745 (mi_list_array_varobj_children): New.
12746
12747 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
12748 and mi_list_varobj_children, as opposed to hardcoding
12749 expected strings.
12750 * gdb.mi/gdb701.exp: Likewise.
12751 * gdb.mi/gdb792.exp: Likewise.
12752 * gdb.mi/mi-var-block.exp: Likewise.
12753 * gdb.mi/mi-var-cmd.exp: Likewise.
12754 * gdb.mi/mi-var-invalidate.exp: Likewise.
12755 * gdb.mi/mi2-var-block.exp: Likewise.
12756 * gdb.mi/mi2-var-child.exp: Likewise.
12757 * gdb.mi/mi2-var-cmd.exp: Likewise.
12758 * gdb.mi/mi2-var-display.exp: Likewise.
12759
12760 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12761
12762 Fix random false FAILs on i386.
12763 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
12764
12765 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12766
12767 PR gdb/544
12768 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
12769
12770 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12771
12772 PR gdb/544
12773 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
12774
12775 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12776
12777 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
12778 fixed PR gdb/544.
12779
12780 2008-03-21 Pedro Alves <pedro@codesourcery.com>
12781
12782 * gdb.threads/fork-child-threads.exp: Test next over fork.
12783
12784 2008-03-21 Chris Demetriou <cgd@google.com>
12785
12786 * gdb.base/break.exp (rbreak junk): New test for rbreak
12787 "Junk at end of arguments" issue.
12788
12789 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12790
12791 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
12792 *& to work on created array elements.
12793 (Top level): Test print $pc with a file. Test string operations
12794 without a target.
12795 * gdb.base/ptype.exp: Do not expect *& to work on created array
12796 elements.
12797
12798 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12799
12800 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12801 gdb.threads/staticthreads.exp: Update exit query.
12802
12803 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
12804
12805 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
12806
12807 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
12808
12809 * gdb.base/watchpoint.c (global_ptr, func4): New.
12810 (main): Call func4.
12811 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
12812 (test_inaccessible_watchpoint): New.
12813
12814 2008-02-29 Maciej W. Rozycki <macro@mips.com>
12815
12816 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
12817 select the largest.
12818
12819 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12820
12821 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
12822 frames-invalid annotations.
12823
12824 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
12825
12826 * gdb.base/assign.exp: avoid same output for different tests.
12827
12828 2008-02-27 Doug Evans <dje@google.com>
12829
12830 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
12831 for bug 1738.
12832 (breakpoint_to_handler_entry): Ditto.
12833
12834 2008-02-27 Joel Brobecker <brobecker@adacore.com>
12835
12836 * gdb.base/ending-run.exp: Use the first line of code inside
12837 function body to test breakpoints.
12838 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
12839 location where the breakpoint is inserted when using the line
12840 where a function is declared. Fix typo in the description of
12841 one of the tests.
12842 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
12843
12844 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12845
12846 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
12847 tests.
12848
12849 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12850
12851 * gdb.base/args.exp: avoid same output for tests
12852 with single quotes.
12853
12854 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
12855
12856 * gdb.base/annota1.exp: Adjust for 'info break'
12857 format changes.
12858 * gdb.base/annota3.exp: Likewise.
12859 * gdb.base/break.exp: Likewise.
12860 * gdb.base/condbreak.exp: Likewise.
12861 * gdb.base/pending.exp: Likewise.
12862 * gdb.base/sepdebug.exp: Likewise.
12863 * gdb.base/unload.exp: Likewise.
12864 * gdb.cp/ovldbreak.exp: Likewise.
12865 * gdb.mi/mi-pending.exp: Likewise.
12866
12867 2008-02-07 Doug Evans <dje@google.com>
12868
12869 * gdb.cp/mb-inline.exp: New.
12870 * gdb.cp/mb-inline.h: New.
12871 * gdb.cp/mb-inline1.cc: New.
12872 * gdb.cp/mb-inline2.cc: New.
12873
12874 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
12875
12876 * gdb.pascal/floats.pas: New test program.
12877 * gdb.pascal/floats.exp: New testcase.
12878
12879 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12880
12881 * gdb.base/callfuncs.c (t_float_many_args): New function.
12882 (t_double_many_args): New function.
12883 * gdb.base/callfuncs.exp: Add tests for exceeding float
12884 and double parameters passed through the stack.
12885
12886 2008-02-05 Joel Brobecker <brobecker@adacore.com>
12887
12888 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
12889 gdb.ada/complete/foo.adb: New files.
12890 * gdb.ada/complete.exp: New testcase.
12891
12892 2008-02-03 Doug Evans <dje@google.com>
12893
12894 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
12895
12896 * gdb.cp/gdb2384.exp: New file.
12897 * gdb.cp/gdb2384.cc: New file.
12898 * gdb.cp/gdb2384-base.h: New file.
12899 * gdb.cp/gdb2384-base.cc: New file.
12900
12901 2008-02-02 Doug Evans <dje@google.com>
12902
12903 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
12904
12905 2007-02-01 Joel Brobecker <brobecker@adacore.com>
12906
12907 * gdb.ada/sym_print_name: New test program.
12908 * gdb.ada/sym_print_name.exp: New testcase.
12909
12910 2007-02-01 Joel Brobecker <brobecker@adacore.com>
12911
12912 * gdb.ada/nested/hello.adb: New file.
12913 * gdb.ada/nested.exp: New testcase.
12914 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
12915
12916 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12917
12918 * gdb.mi/basic.c (return_1): New function.
12919 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
12920 don't cause future evaluations of function to report
12921 creation of internal breakpoints.
12922
12923 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12924
12925 * gdb.mi/mi-break.exp (test_error): New.
12926 Call it.
12927
12928 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
12929
12930 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
12931 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
12932
12933 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12934
12935 * gdb.pascal/integers.pas: New test program.
12936 * gdb.pascal/integers.exp: New testcase.
12937
12938 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12939
12940 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
12941
12942 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
12943
12944 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
12945 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
12946
12947 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
12948
12949 * gdb.ada/formatted_ref: New test program.
12950 * gdb.ada/formatted_ref.exp: New testcase.
12951
12952 * gdb.cp/formatted-ref.cc: New file.
12953 * gdb.cp/formatted-ref.exp: New testcase.
12954
12955 2008-01-30 Joel Brobecker <brobecker@adacore.com>
12956
12957 * gdb.base/ptype.exp: Add testing of "ptype $pc".
12958
12959 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
12960
12961 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
12962 (test_file_list_exec_source_file): Update to new macro-info field.
12963
12964 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
12965
12966 * gdb.ada/exprs: New test program.
12967 * gdb.ada/exprs.exp: New testcase.
12968
12969 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12970
12971 * dfp-test.c (DELTA, DELTA_B): New definitions.
12972 (double_val1, double_val2, double_val3, double_val4, double_val5,
12973 double_val6, double_val7, double_val8, double_val9, double_val10,
12974 double_val11, double_val12, double_val13, double_val14, dec32_val1,
12975 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
12976 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
12977 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
12978 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
12979 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
12980 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
12981 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
12982 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
12983 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
12984 dec128_val16): New global variables.
12985 (decimal_dec128_align): New function.
12986 (decimal_mixed): Likewise.
12987 (decimal_many_args_dec32): Likewise.
12988 (decimal_many_args_dec64): Likewise.
12989 (decimal_many_args_dec128): Likewise.
12990 (decimal_many_args_mixed): Likewise.
12991 * dfp-test.exp: Add tests calling new inferior functions.
12992
12993 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12994
12995 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
12996 gdb.server/ext-run.exp: New files.
12997 * lib/gdbserver-support.exp (gdbserver_download): New.
12998 (gdbserver_start): New. Update gdbserver expected
12999 output.
13000 (gdbserver_spawn): Use them.
13001 (gdbserver_start_extended): New.
13002
13003 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13004
13005 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
13006 Run on GNU/Linux.
13007 (do_exec_tests): Check for systems which do not support catchpoints.
13008 Do not match START.
13009 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
13010 Run on GNU/Linux. Enable verbose output.
13011 (check_fork_catchpoints): New.
13012 (explicit_fork_child_follow, catch_fork_child_follow)
13013 (tcatch_fork_parent_follow): Update expected messages.
13014 (do_fork_tests): Use check_fork_catchpoints.
13015 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
13016 Run on GNU/Linux. Enable verbose output.
13017 (check_vfork_catchpoints): New.
13018 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
13019 expected messages.
13020 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
13021
13022 2008-01-29 Jim Blandy <jimb@red-bean.com>
13023
13024 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
13025 host' errors.
13026 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
13027
13028 2008-01-29 Jim Blandy <jimb@red-bean.com>
13029
13030 * gdb.threads/sigthread.c: Use barriers to ensure that
13031 child_thread and child_thread_two are always initialized before we
13032 start to use them.
13033
13034 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
13035
13036 * gdb.base/watchpoint-solib.exp: New.
13037 * gdb.base/watchpoint-solib.c: New.
13038 * gdb.base/watchpoint-solib-shr.c: New.
13039
13040 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
13041
13042 * gdb.base/gdb1056.exp: Add unsigned integer test.
13043
13044 2008-01-28 Doug Evans <dje@google.com>
13045
13046 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
13047
13048 2008-01-27 Jim Blandy <jimb@codesourcery.com>
13049
13050 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
13051
13052 * gdb.base/expand-psymtabs.exp: Doc fix.
13053
13054 2008-01-26 Mark Kettenis <kettenis@gnu.org>
13055
13056 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
13057
13058 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
13059
13060 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
13061 -var-set-format.
13062
13063 2008-01-23 Chris Demetriou <cgd@google.com>
13064
13065 * gdb.threads/thread_events.c: New testcase source file.
13066 * gdb.threads/thread_events.exp: New testcase expect file.
13067
13068 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
13069
13070 * lib/gdb.exp: Add the variable octal.
13071
13072 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
13073 -var-set-format.
13074
13075 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13076 Vladimir Prus <vladimir@codesourcery.com>
13077
13078 * gdb.base/float.exp: Allow missing floating point for m68k and
13079 PowerPC.
13080
13081 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
13082
13083 * gdb.mi/basics.c: Setup for testing breakpoints
13084 ignore count.
13085 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
13086 * gdb.mi/mi-cli.exp: Adjust.
13087 * gdb.mi/mi2-cli.exp: Adjust.
13088
13089 2008-01-17 Pedro Alves <pedro@codesourcery.com>
13090
13091 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
13092 and 'dummy_ptr' integer pointer. Initialize struct_declarations
13093 with dummy_ptr's address.
13094 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
13095 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
13096 all targets.
13097 * gdb.mi/mi2-var-child.exp: Likewise.
13098
13099 2008-01-09 Joel Brobecker <brobecker@adacore.com>
13100
13101 * gdb.ada/null_array: New test program.
13102 * gdb.ada/null_array.exp: New testcase.
13103
13104 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
13105
13106 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
13107 with required float modifiers.
13108
13109 2008-01-08 Joel Brobecker <brobecker@adacore.com>
13110
13111 * gdb.ada/funcall_param: New test program.
13112 * gdb.ada/funcall_param.exp: New testcase.
13113
13114 2008-01-08 Joel Brobecker <brobecker@adacore.com>
13115
13116 * gdb.ada/arrayparam: New test program.
13117 * gdb.ada/arrayparam.exp: New testcase.
13118
13119 2008-01-08 Joel Brobecker <brobecker@adacore.com>
13120
13121 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
13122 landed. Should also fix random failures in the test following it.
13123
13124 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
13125
13126 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
13127 for expressions with decimal float values.
13128 (test_dfp_conversions): New function to test casts to and from
13129 decimal float types.
13130 Call test_dfp_conversions.
13131 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
13132 elements.
13133 (main): Initialize ds.float4 and ds.double8 elements.
13134 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
13135 string to new error message.
13136 (d64_set_tests): Likewise.
13137 (d128_set_tests): Likewise.
13138 Add tests for expressions with decimal float variables. Add tests for
13139 conversions to and from decimal float types.
13140
13141 2008-01-05 Joel Brobecker <brobecker@adacore.com>
13142
13143 * gdb.ada/packed_tagged/comp_bug.adb: New file.
13144 * gdb.ada/packed_tagged.exp: New testcase.
13145
13146 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13147
13148 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
13149 gdb.ada/homonym/homonym_main.adb: New files.
13150 * gdb.ada/homonym.exp: New testcase.
13151
13152 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13153
13154 * gdb.ada/packed_array.exp: Add testing of references to
13155 a packed array.
13156
13157 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13158
13159 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
13160 New files.
13161 * gdb.ada/type_coercion.exp: New testcase.
13162
13163 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13164
13165 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
13166 gdb.ada/tagged/foo.adb: New file.
13167 * gdb.ada/tagged.exp: New testcase.
13168
13169 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13170
13171 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
13172 gdb.ada/ptype_field/foo.adb: New files.
13173 * gdb.ada/ptype_field.exp: New testcase.
13174
13175 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13176
13177 * gdb.ada/print_pc.exp: New testcase.
13178
13179 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13180
13181 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
13182 gdb.ada/taft_type/p.adb: New files.
13183 * gdb.ada/taft_type.exp: New testcase.
13184
13185 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13186
13187 * gdb.ada/array_bounds/bar.adb: New file.
13188 * gdb.ada/array_bounds.exp: New testcase.
13189
13190 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13191
13192 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
13193 gdb.ada/arrayptr/foo.adb: New files.
13194 * gdb.ada/arrayptr.exp: New testcase.
13195
13196 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13197
13198 * gdb.base/set-lang-auto.exp: New testcase.
13199
13200 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13201
13202 * gdb.ada/fun_addr/foo.adb: New file.
13203 * gdb.ada/fun_addr.exp: New testcase.
13204
13205 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13206
13207 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
13208 New files
13209
13210 2008-01-02 Joel Brobecker <brobecker@adacore.com>
13211
13212 * array_subscript_addr/p.adb: New file.
13213 * array_subscript_addr.exp: New testcase.
13214
13215 2008-01-02 Joel Brobecker <brobecker@adacore.com>
13216
13217 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
13218 New files.
13219 * gdb.ada/str_cmp_ref.exp: New testcase.
13220
13221 2008-01-01 Joel Brobecker <brobecker@adacore.com>
13222
13223 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
13224 gdb.ada/fun_in_declare/foo.adb: New files.
13225 * gdb.ada/fun_in_declare.exp: New testcase.
13226
13227 2008-01-01 Joel Brobecker <brobecker@adacore.com>
13228
13229 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
13230 gdb.ada/ref_param/pck.ads: New files.
13231 * gdb.ada/ref_param.exp: New testcase.
13232
13233 2008-01-01 Joel Brobecker <brobecker@adacore.com>
13234
13235 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
13236 gdb.ada/interface/foo.adb: New files.
13237 * gdb.ada/interface.exp: New testcase.
13238
13239 2007-12-31 Jim Blandy <jimb@codesourcery.com>
13240
13241 * gdb.base/multi-forks.exp: Consume all output from child
13242 processes before proceeding to next test.
13243
13244 2007-12-29 Jim Blandy <jimb@codesourcery.com>
13245
13246 * configure: Regenerated.
13247
13248 2007-12-27 Joel Brobecker <brobecker@adacore.com>
13249
13250 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
13251 gdb.ada/fixed_cmp/fixed.adb: New files.
13252 * gdb.ada/fixed_cmp.exp: New testcase.
13253
13254 2007-12-27 Joel Brobecker <brobecker@adacore.com>
13255
13256 * gdb.ada/boolean_expr.exp: New testcase.
13257
13258 2007-12-26 Jim Blandy <jimb@codesourcery.com>
13259
13260 * gdb.base/multi-forks.exp: Doc fix.
13261
13262 2007-12-26 Joel Brobecker <brobecker@adacore.com>
13263
13264 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13265 * gdb.ada/char_param.exp: Do not compile our test program with
13266 -gnata, this is unnecessary.
13267 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
13268
13269 2007-12-24 Joel Brobecker <brobecker@adacore.com>
13270
13271 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
13272 gdb.ada/print_chars/foo.adb: New files.
13273 * gdb.ada/print_chars.exp: New testcase.
13274
13275 2007-12-24 Joel Brobecker <brobecker@adacore.com>
13276
13277 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
13278 gdb.ada/char_param/foo.adb: New files.
13279 * gdb.ada/char_param.exp: New testcase.
13280
13281 2007-12-22 Jim Blandy <jimb@codesourcery.com>
13282
13283 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
13284 hard-coding source line numbers into the test.
13285 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
13286 gdb_get_line_number to find.
13287
13288 2007-12-22 Joel Brobecker <brobecker@adacore.com>
13289
13290 * gdb.base/ptype.c (highest): New struct type.
13291 (the_highest): New variable of that type.
13292 (main): Add dummy assignment to a field of variable the_highest.
13293 * gdb.base/ptype.exp: Test type printing of our new variable.
13294
13295 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
13296
13297 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
13298 and record first explicitly generated thread number.
13299 Use that thread number for thread specific watchpoint test.
13300 Add iteration number to repetitive tests.
13301
13302 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13303 Jim Blandy <jimb@codesourcery.com>
13304
13305 * gdb.base/expand-psymtabs.c: New testcase
13306 source file.
13307 * gdb.base/expand-psymtabs.exp: New testcase
13308 expect file.
13309
13310 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
13311
13312 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
13313 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
13314
13315 2007-12-17 Joel Brobecker <brobecker@adacore.com>
13316
13317 * gdb.ada/frame_args/foo.adb: New file.
13318 * gdb.ada/frame_args/pck.ads: New file.
13319 * gdb.ada/frame_args/pck.adb: New file.
13320 * gdb.ada/frame_args.exp: New testcase.
13321
13322 2007-12-17 Joel Brobecker <brobecker@adacore.com>
13323
13324 * gdb.base/frame-args.c: New file.
13325 * gdb.base/frame-args.exp: New testcase.
13326
13327 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
13328 Joseph Myers <joseph@codesourcery.com>
13329
13330 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
13331
13332 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
13333
13334 * gdb.mi/mi-pending.exp: New.
13335 * gdb.mi/mi-pending.c: New.
13336 * gdb.mi/mi-pendshr.c: New.
13337
13338 2007-12-06 Jim Blandy <jimb@codesourcery.com>
13339
13340 * gdb.base/default.exp: Update expected output for 'info catch'.
13341
13342 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13343
13344 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
13345 must be set to binary.
13346
13347 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
13348
13349 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
13350
13351 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
13352
13353 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
13354 gdb.mi/mi-file-transfer.exp: New.
13355
13356 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13357
13358 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
13359
13360 2007-11-22 Maciej W. Rozycki <macro@mips.com>
13361
13362 * gdb.trace/backtrace.exp: Fix a typo.
13363 * gdb.trace/circ.exp: Likewise.
13364 * gdb.trace/collection.exp: Likewise.
13365 * gdb.trace/limits.exp: Likewise.
13366 * gdb.trace/report.exp: Likewise.
13367 * gdb.trace/tfind.exp: Likewise.
13368 * gdb.trace/while-dyn.exp: Likewise.
13369
13370 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
13371
13372 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
13373 objects of pointers that can't be dereferenced are now
13374 "noneditable".
13375
13376 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13377
13378 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
13379 (target_cpu): Remove.
13380
13381 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
13382
13383 * gdb.base/ending-run.exp: Expect the list of cleared
13384 breakpoint to come in natural order, not the reversed one.
13385
13386 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
13387
13388 * gdb.mi/mi-var-child.c (do_child_deletion): New.
13389 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
13390
13391 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
13392
13393 * gdb.base/printcmds.exp: New function
13394 test_printf_with_dfp.
13395
13396 2007-11-02 Doug Evans <dje@google.com>
13397
13398 * gdb.disasm/t01_mov.s: Remove carriage returns.
13399 * gdb.disasm/t02_mova.s: Ditto.
13400 * gdb.disasm/t03_add.s: Ditto.
13401 * gdb.disasm/t04_sub.s: Ditto.
13402 * gdb.disasm/t05_cmp.s: Ditto.
13403 * gdb.disasm/t06_ari2.s: Ditto.
13404 * gdb.disasm/t07_ari3.s: Ditto.
13405 * gdb.disasm/t08_or.s: Ditto.
13406 * gdb.disasm/t09_xor.s: Ditto.
13407 * gdb.disasm/t10_and.s: Ditto.
13408 * gdb.disasm/t11_logs.s: Ditto.
13409 * gdb.disasm/t12_bit.s: Ditto.
13410 * gdb.disasm/t13_otr.s: Ditto.
13411
13412 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13413
13414 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
13415
13416 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13417
13418 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
13419 provide DFP support.
13420
13421 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
13422
13423 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
13424 Test "set powerpc vector-abi". Skip auto-detection tests for old
13425 toolchains.
13426
13427 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13428
13429 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
13430 with [string compare].
13431
13432 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13433
13434 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
13435 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
13436
13437 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
13438
13439 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
13440 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
13441 * gdb.opt/Makefile.in: New makefile.
13442 * Makefile.in: Create new directory "gdb.opt".
13443 * configure.ac: Add "gdb.opt" directory.
13444 * configure: Regenerated.
13445
13446 2007-10-25 Doug Evans <dje@google.com>
13447
13448 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
13449 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
13450
13451 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
13452 Thiago Jung Bauermann <bauerman@br.ibm.com>
13453
13454 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
13455 Floating Point expressions.
13456 * gdb.base/dfp-test.exp: new file adding tests for Decimal
13457 Floating Point variables.
13458 * gdb.base/dfp-test.c: new file containing program with Decimal
13459 Floating variables, used by gdb.base/dfp-test.exp.
13460
13461 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
13462
13463 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
13464
13465 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13466
13467 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
13468 compiling test case with GCC.
13469 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
13470
13471 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13472
13473 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
13474 format changes.
13475
13476 2007-10-18 Michael Snyder <msnyder@specifix.com>
13477
13478 * gdb.base/dbx.exp: Add missing "-re " operator.
13479
13480 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
13481
13482 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
13483 * configure.ac: Removed trailing spaces after backslash.
13484 * gdb.modula2: New directory.
13485 * gdb.modula2/Makefile.in: New file.
13486 * gdb.modula2/unbounded-array.exp: New file.
13487 * gdb.modula2/unbounded1.c: New file.
13488
13489 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
13490
13491 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
13492
13493 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
13494
13495 * gdb.base/sigstep.c (main): Add checks for
13496 return values for setitimer call.
13497 Call setitimer again with itimer = ITIMER_REAL
13498 if first call to setitimer fails.
13499
13500 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
13501
13502 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
13503 of $timeout.
13504
13505 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
13506
13507 * gdb.server/server-run.exp: Test for dynamic linker symbols.
13508
13509 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
13510
13511 * lib/gdb.exp (gdb_run_cmd): Move comment outside
13512 of gdb_expect call, to avoid interruption.
13513
13514 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
13515
13516 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
13517 (v_unsigned_long_long, v_long_long_array)
13518 (v_signed_long_long_array, v_unsigned_long_long_array)
13519 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
13520 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
13521 [!NO_LONG_LONG]: New.
13522 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
13523 v_long_long_member.
13524
13525 (v_long_long_func, v_signed_long_long_func)
13526 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
13527 (main) [!NO_LONG_LONG]: Initialize long long variants.
13528
13529 * gdb.base/whatis.exp: If board file requests no_long_long, build
13530 test with NO_LONG_LONG defined. Test long long, signed long long,
13531 and unsigned long long variants but only if board file doesn't
13532 disable it.
13533
13534 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
13535 Daniel Jacobowitz <dan@codesourcery.com>
13536
13537 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
13538 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
13539 * configure: Regenerated.
13540 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
13541 gdb.pascal/types.exp, lib/pascal.exp: New files.
13542
13543 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
13544
13545 * gdb.cp/classes.exp (do_tests): Always step to the line after the
13546 call.
13547 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
13548 to return to the call.
13549 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
13550 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
13551 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
13552 * gdb.mi/mi-until.exp (test_until): Likewise.
13553 * gdb.mi/mi2-until.exp (test_until): Likewise.
13554
13555 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
13556
13557 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
13558 two-char array.
13559 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
13560
13561 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
13562
13563 * gdb.threads/watchthreads.c (thread_function): Sleep between
13564 iterations.
13565 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
13566 at once for S/390. Generate matching fails and passes.
13567
13568 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
13569
13570 * gdb.mi/var-cmd.c (do_children_tests): Initialize
13571 the 'struct_declarations' variable to zeros.
13572
13573 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
13574
13575 * gdb.cp/mb-ctor.cc: New.
13576 * gdb.cp/mb-ctor.exp: New.
13577 * gdb.cp/mb-templates.cc: New.
13578 * gdb.cp/mb-templates.exp: New.
13579
13580 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
13581
13582 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
13583
13584 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
13585
13586 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
13587 targets.
13588 * configure: Regenerate.
13589
13590 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
13591
13592 * gdb.base/annota1.exp: Adjust for 'info break'
13593 format changes.
13594 * gdb.base/annota3.exp: Likewise.
13595 * gdb.base/break.exp: Likewise.
13596 * gdb.base/condbreak.exp: Likewise.
13597 * gdb.base/pending.exp: Likewise.
13598 * gdb.base/sepdebug.exp: Likewise.
13599 * gdb.base/unload.exp: Likewise.
13600 * gdb.base/ovldbreak.exp: Likewise.
13601
13602 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
13603
13604 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
13605 messages.
13606 * gdb.base/chng-syms.exp: Likewise.
13607 * gdb.base/unload.exp: Likewise.
13608
13609 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
13610
13611 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
13612
13613 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
13614
13615 * schedlock.c (NUM): Change to 1.
13616 (main): Use args[0] for the main thread.
13617 * schedlock.exp: Only expect two threads. Only issue one pass or fail
13618 regardless of the number of threads.
13619
13620 2007-09-14 Maciej W. Rozycki <macro@mips.com>
13621
13622 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
13623 type down.
13624 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13625 test.
13626 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
13627 watchpoint type down.
13628 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13629 test.
13630
13631 2007-09-14 Maciej W. Rozycki <macro@mips.com>
13632
13633 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
13634 Move all the tests here and run them twice, once using software
13635 watchpoints and once using hardware watchpoints.
13636 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
13637
13638 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
13639
13640 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
13641 test.
13642
13643 2007-09-10 Mark Kettenis <kettenis@gnu.org>
13644
13645 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
13646 build-id.
13647
13648 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
13649 know about $ORIGIN. Calculate output dir from $dest instead of
13650 using ${objdir}/{$subdir}.
13651
13652 2007-09-09 Mark Kettenis <kettenis@gnu.org>
13653
13654 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
13655 gcore, before continuing with the test.
13656
13657 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
13658
13659 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
13660 * gdb.mi/mi-watch.exp: Likewise.
13661
13662 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13663 Jim Blandy <jimb@codesourcery.com>
13664
13665 * gdb.arch/i386-sse.exp: Do not expect character constants.
13666 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
13667 * gdb.base/display.exp: Allow print/s.
13668 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
13669 and unsigned char array changes.
13670
13671 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13672
13673 * gdb.base/display.exp: Add tests for printf %p.
13674
13675 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
13676
13677 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
13678 the dll name to unicode.
13679
13680 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13681
13682 * gdb.base/default.exp (show version): Update the version text.
13683 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
13684
13685 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13686
13687 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
13688 New files.
13689
13690 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13691
13692 * lib/gdb.exp (build_id_debug_filename_get): New function.
13693 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
13694 Remove the generate DEBUG file for the future testcase runs.
13695 New testcase for the NT_GNU_BUILD_ID retrieval.
13696 Move the final testing step to ...
13697 (test_different_dir): ... a new function.
13698 New parameter XFAIL to XFAIL all the tests performed.
13699 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
13700 New parameter TYPE to PF_PREFIX all the tests performed.
13701
13702 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
13703
13704 * gdb.mi/mi-var-cp.cc (path_expression): New
13705 function.
13706 * gdb.mi/mi-var-cp.exp: Run path exression tests.
13707
13708 2007-08-27 Markus Deuling <deuling@de.ibm.com>
13709
13710 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
13711 to fit into SPU Local Store memory.
13712
13713 2007-08-23 Joel Brobecker <brobecker@adacore.com>
13714
13715 * gdb.base/default.exp: Adjust the expected output of "info
13716 warranty" after the switch to GPLv3.
13717
13718 2007-08-23 Joel Brobecker <brobecker@adacore.com>
13719
13720 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
13721 to 30000 (from 20000).
13722
13723 2007-08-23 Joel Brobecker <brobecker@adacore.com>
13724
13725 Switch the license of all .exp files to GPLv3.
13726 Switch the license of all .f and .f90 files to GPLv3.
13727 Switch the license of all .s and .S files to GPLv3.
13728
13729 2007-08-23 Joel Brobecker <brobecker@adacore.com>
13730
13731 * configure.ac: Switch license to GPLv3.
13732
13733 2007-08-23 Joel Brobecker <brobecker@adacore.com>
13734
13735 Switch the licensing to GPLv3 for all .ads and .adb files.
13736
13737 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
13738
13739 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
13740 and t_int_double.
13741 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
13742
13743 2007-08-17 Joel Brobecker <brobecker@adacore.com>
13744
13745 * gdb.base/step-line.c: Switch license to GPL version 3, and
13746 update copyright year.
13747 * gdb.base/step-line.inp: Likewise.
13748
13749 2007-08-17 Joel Brobecker <brobecker@adacore.com>
13750
13751 * gdb.base/gdb1555.exp: Make expected output immune to formatting
13752 changes inside gdb1555.c.
13753 * gdb.base/pending.exp: Likewise.
13754
13755 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
13756
13757 * config/default.exp: New file.
13758
13759 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13760
13761 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
13762 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
13763
13764 2007-07-30 Maciej W. Rozycki <macro@mips.com>
13765
13766 * gdb.base/dump.exp: Force the correct endianness for binary
13767 formats not carrying this information.
13768
13769 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13770
13771 * gdb.threads/staticthreads.exp: Match .*sem_post.
13772
13773 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13774
13775 * gdb.base/readline.exp (operate_and_get_next): Match the final
13776 prompt.
13777
13778 2007-07-23 Kevin Buettner <kevinb@redhat.com>
13779
13780 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
13781 to restarting SID.
13782
13783 2007-07-18 Kevin Buettner <kevinb@redhat.com>
13784
13785 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
13786 prior to `gdb_start'.
13787
13788 2007-07-18 Kevin Buettner <kevinb@redhat.com>
13789
13790 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
13791 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
13792 Remove call to gdb_unload.
13793
13794 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
13795 Daniel Jacobowitz <dan@codesourcery.com>
13796
13797 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
13798 for __WIN32__.
13799 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
13800 * gdb.base/unload.exp: Use shared library test routines.
13801
13802 2007-07-03 Markus Deuling <deuling@de.ibm.com>
13803
13804 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
13805 * gdb.base/solib-symbol-lib.c: Likewise.
13806 * gdb.base/solib-symbol-main.c: Likewise.
13807
13808 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
13809
13810 * config/gdbserver.exp (gdb_reconnect): New.
13811 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
13812 gdb.base/solib-disc.exp: New files.
13813 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
13814 remote debugging".
13815 (gdb_compile): Add shlib_load flag.
13816 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
13817 port.
13818 (gdbserver_reconnect): New.
13819
13820 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
13821 Daniel Jacobowitz <dan@codesourcery.com>
13822
13823 * gdb.base/annota3.exp: Test for if construct.
13824
13825 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
13826
13827 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
13828
13829 2007-06-21 Chris Dearman <chris@mips.com>
13830 Maciej W. Rozycki <macro@mips.com>
13831
13832 * gdb.base/display.exp: Allow a newline after display/i.
13833 * gdb.base/pc-fp.exp: Likewise.
13834 * gdb.base/sigbpt.exp: Likewise.
13835
13836 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13837
13838 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
13839 required features to be included.
13840
13841 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13842
13843 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
13844 in info threads output.
13845
13846 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13847 Markus Deuling <deuling@de.ibm.com>
13848
13849 * gdb.arch/spu-info.exp: New testcase.
13850 * gdb.arch/spu-info.c: New file.
13851
13852 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
13853
13854 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
13855 tpcs_offset. Restore lr after the call.
13856 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
13857
13858 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
13859
13860 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
13861 (gdbserver_run): Kill any running gdbserver.
13862 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
13863
13864 2007-05-17 Maciej W. Rozycki <macro@mips.com>
13865
13866 * gdb.base/sigbpt.exp: Preset segv_addr.
13867
13868 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
13869
13870 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
13871 (gdb_compile_shlib): Likewise.
13872 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
13873 (default_gdb_init): Clear cleanfiles.
13874 (gdb_finish): Delete recorded cleanfiles.
13875 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
13876
13877 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
13878 Do not use isnative.
13879 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
13880 gdb.base/so-impl-ld.exp: Likewise.
13881 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
13882 * gdb.base/unload.exp: Likewise. Do not pass empty option to
13883 gdb_compile.
13884
13885 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
13886
13887 * config/unknown.exp: Remove.
13888
13889 2007-05-15 Markus Deuling <deuling@de.ibm.com>
13890
13891 * gdb.base/info-proc.exp: Check is_remote.
13892
13893 2007-05-14 Markus Deuling <deuling@de.ibm.com>
13894
13895 * gdb.base/gcore.exp: Initialize variable core_supported.
13896
13897 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13898
13899 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
13900
13901 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13902
13903 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
13904 * gdb.threads/print-threads.exp (test_all_threads): Allow
13905 negative and hexadecimal thread IDs.
13906
13907 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13908
13909 * gdb.java/jprint.java (public): Avoid invalid call to static
13910 method.
13911
13912 2007-05-14 Denis Pilat <denis.pilat@st.com>
13913
13914 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
13915 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
13916 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13917 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
13918 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
13919
13920 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13921
13922 * gdb.base/overlays.exp: Add support for targets with only code
13923 overlay support, not data overlay. Support spu-*-* target in
13924 this mode.
13925 * gdb.base/ovlymgr.c: Provide stubs for spu target.
13926 * gdb.base/spu.ld: New file.
13927
13928 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
13929
13930 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
13931
13932 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
13933
13934 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
13935
13936 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13937
13938 * gdb.java/jmain.exp: Handle demangled names with and without method
13939 signatures.
13940
13941 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13942
13943 * gdb.mi/mi-syn-frame.c (main, foo, bar)
13944 (have_a_very_merry_interrupt): Remove calls to puts.
13945 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
13946 inferior output.
13947 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
13948 test names.
13949
13950 2007-04-29 Markus Deuling <deuling@de.ibm.com>
13951 Daniel Jacobowitz <dan@codesourcery.com>
13952
13953 * gdb.base/auxv.exp (core_works): Also check is_remote.
13954 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
13955
13956 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
13957
13958 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
13959 message, not the undefined 'module' variable.
13960 * gdb.base/siginfo.exp: Likewise.
13961 * gdb.base/sigstep.exp: Likewise.
13962 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
13963 serialport.
13964 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
13965
13966 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
13967
13968 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
13969 target sim fails. Return 0 otherwise.
13970 (gdb_load): Return prematurely if gdb_target_sim fails.
13971
13972 2007-04-16 Denis Pilat <denis.pilat@st.com>
13973
13974 * gdb.base/setshow.exp: Reset height after having set it to 100.
13975
13976 2007-04-16 Denis Pilat <denis.pilat@st.com>
13977
13978 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
13979
13980 2007-04-16 Denis Pilat <denis.pilat@st.com>
13981
13982 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
13983
13984 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
13985
13986 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
13987 tests. Run the frozen varobjs test.
13988 * gdb.mi/var-cmd.c (do_frozen_tests): New.
13989 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
13990
13991 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13992
13993 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
13994 gdb.base/type-opaque.exp: New files.
13995
13996 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
13997
13998 * gdb.mi/mi-var-child.c
13999 (do_children_tests): User char[2] instead of
14000 char so that automatic printing of pointers to char
14001 don't give unpredicable result.
14002 * gdb.mi/var-cmd.c (do_locals_test): Initialize
14003 local variables.
14004 * gdb.mi/mi-var-child.exp: Step to right line
14005 of do_children_tests.
14006 * gdb.mi/mi2-var-child.exp: Likewise.
14007 * gdb.mi/mi-var-cmd.exp: Step to right line of
14008 do_locals_tests.
14009 (do_children_tests): User char[2] instead of
14010 char so that automatic printing of pointers to char
14011 don't give unpredicable result.
14012 * gdb.mi/mi2-var-cmd.exp: Likewise.
14013 * lib/mi-support.exp (mi_continue_to_line):
14014 Pass test name to mi_wait_for_stop.
14015
14016 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14017
14018 * gdb.asm/asm-source.exp: Remove d10v case.
14019 * lib/gdb.exp (skip_cplus_tests): Likewise.
14020 * gdb.asm/d10v.inc: Deleted.
14021
14022 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14023
14024 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
14025
14026 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14027
14028 * config/netware.exp: Delete file.
14029
14030 2007-03-29 Joel Brobecker <brobecker@adacore.com>
14031
14032 * gdb.dwarf2/dw2-noloc.S: New file.
14033 * gdb.dwarf2/dw2-noloc.exp: New file.
14034
14035 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
14036
14037 * gdb.cp/method2.cc: New test.
14038 * gdb.cp/method2.exp: New test.
14039 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
14040
14041 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14042
14043 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
14044
14045 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
14046
14047 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
14048
14049 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14050
14051 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
14052 (gdb_load): Delete, replace with...
14053 (gdb_reload): ...this.
14054 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
14055 * gdb.server/server-mon.exp: Likewise.
14056 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
14057 (gdb_start_cmd): New.
14058 (gdb_file_cmd): Save the last loaded file.
14059 (gdb_reload): New.
14060 (gdb_gnu_strip_debug): Use transform.
14061 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
14062 support here. Use new $last_loaded_file. Check mtime.
14063 (gdb_target_cmd): Handle ObjC failure case.
14064 (infer_host_exec): Delete.
14065 (gdbserver_load): Rename to...
14066 (gdbserver_run): ...this. Simplify.
14067 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
14068 (mi_gdb_load): Move most contents to a new function...
14069 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
14070 (mi_run_cmd): Use mi_gdb_target_load.
14071 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
14072 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
14073 Use gdb_run_cmd.
14074 * gdb.base/charsign.exp: Remove incorrect comment.
14075 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
14076 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
14077 gdb.base/start.exp: Use gdb_start_cmd.
14078
14079 2007-03-23 Nigel Stephens <nigel@mips.com>
14080 Maciej W. Rozycki <macro@mips.com>
14081
14082 * gdb.base/sigbpt.exp: Fix the message when skipping test.
14083 * gdb.base/signull.exp: Similarly.
14084
14085 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14086
14087 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
14088 messages available to test cases (like chng-sym.exp).
14089
14090 2007-03-14 Andreas Schwab <schwab@suse.de>
14091
14092 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14093 format changes.
14094
14095 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
14096
14097 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
14098 (optimized_1): New.
14099 (main): Call optimized_1.
14100 (gdb2029): Correct typos. Call gdb2029_marker.
14101 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
14102 for gdb2029.
14103
14104 2007-03-12 Mark Kettenis <kettenis@gnu.org>
14105
14106 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
14107 as tabs. Remove redundant test pattern.
14108
14109 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14110
14111 * gdb.base/long_long.exp: Accept optional symbol name in <...>
14112 for /a format output.
14113
14114 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
14115
14116 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
14117 collect output incrementally.
14118
14119 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14120
14121 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
14122 for -var-create lpcharacter test.
14123 * gdb.mi/mi2-var-cmd.exp: Likewise.
14124
14125 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14126
14127 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
14128 pass on targets where address zero is readable.
14129
14130 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14131
14132 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
14133 just a single architecture.
14134
14135 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14136
14137 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
14138 (fetch_all_registers): New function, uses gdb_test_multiple and
14139 exp_continue to fetch inferior output line-by-line.
14140 Replace all uses of do_get_all_registers by fetch_all_registers.
14141
14142 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14143
14144 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
14145 in target_info.
14146
14147 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14148
14149 * gdb.threads/manythreads.exp: Use $message string for
14150 consistancy; add a default (timeout) case.
14151
14152 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14153
14154 * gdb.base/watchpoint.exp: Fix truncated comment.
14155
14156 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14157
14158 * Makefile.in: Remove spurious single-quotes from sed command.
14159
14160 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14161
14162 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
14163 func.
14164 * gdb.mi/mi2-var-cmd.exp: Likewise.
14165
14166 2007-02-27 Joel Brobecker <brobecker@adacore.com>
14167
14168 * gdb.dwarf2/dw2-producer.S: New file.
14169 * gdb.dwarf2/dw2-producer.exp: New testcase.
14170
14171 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
14172
14173 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14174 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14175 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14176 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14177 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14178 Revert tests to use mi_gdb_test and include value field in output
14179 of -var-create.
14180
14181 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14182
14183 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
14184
14185 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14186
14187 * gdb.base/maint.exp: Remove full paths from test names.
14188 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
14189 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
14190
14191 2007-02-27 Joel Brobecker <brobecker@adacore.com>
14192
14193 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
14194
14195 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14196
14197 * gdb.server/server-mon.exp: New test.
14198
14199 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14200
14201 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
14202
14203 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14204
14205 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
14206 register capitalization.
14207
14208 2007-02-13 Denis Pilat <denis.pilat@st.com>
14209
14210 * gdb.mi/mi-var-invalidate.exp: New file.
14211
14212 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14213
14214 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
14215
14216 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14217
14218 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
14219
14220 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14221
14222 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
14223 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
14224
14225 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
14226
14227 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14228 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14229 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14230 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14231 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14232 * gdb.mi/gdb792.exp, lib/mi-support.exp:
14233 Update tests to include value field in output of -var-create.
14234
14235 2007-02-08 Andreas Schwab <schwab@suse.de>
14236
14237 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
14238
14239 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
14240
14241 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
14242 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
14243
14244 2007-02-02 Denis Pilat <denis.pilat@st.com>
14245
14246 * gdb.threads/threadapply.exp: check that frame is not changed by
14247 the thread apply all command.
14248
14249 2007-01-31 Andreas Schwab <schwab@suse.de>
14250
14251 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14252
14253 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
14254 in the dwarf sections.
14255 * gdb.dwarf2/mac-fileno.S: Likewise.
14256
14257 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
14258 bspstore register on ia64.
14259
14260 2007-01-29 Andreas Schwab <schwab@suse.de>
14261
14262 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
14263 "frame-begin" annotation.
14264
14265 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
14266 number of "frames-invalid" annotations.
14267
14268 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14269
14270 * gdb.base/commands.exp: Call if_commands_test.
14271 (gdb_test_no_prompt, if_commands_test): New.
14272
14273 2007-01-28 Mark Kettenis <kettenis@gnu.org>
14274
14275 * gdb.threads/sigthread.c (NSIGS): Make bigger.
14276
14277 2007-01-27 Andreas Schwab <schwab@suse.de>
14278
14279 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
14280 .short/.int/.quad in the dwarf sections.
14281 * gdb.dwarf2/dw2-intercu.S: Likewise.
14282 * gdb.dwarf2/dw2-intermix.S: Likewise.
14283
14284 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14285
14286 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
14287 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
14288 array.
14289 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
14290 * gdb.base/setvar.exp: Likewise.
14291
14292 2007-01-26 Andreas Schwab <schwab@suse.de>
14293
14294 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
14295 test.
14296
14297 * gdb.base/multi-forks.exp ("restart $i"): Also match
14298 __kernel_syscall_via_break.
14299
14300 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
14301
14302 * lib/mi-support.exp (mi_delete_varobj): New.
14303 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
14304 testcase.
14305 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
14306 (main): Call the above.
14307 (reference_update_test, base_in_reference_test)
14308 (reference_to_pointer): Delete the created varobjs.
14309
14310 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
14311
14312 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
14313 * configure: Regenerated.
14314 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
14315 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
14316 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
14317 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
14318 * lib/gdb.exp (gdb_skip_xml_test): New function.
14319
14320 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
14321
14322 * gdb.base/sigrepeat.exp: Correct error message.
14323
14324 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14325 Daniel Jacobowitz <dan@codesourcery.com>
14326
14327 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
14328 gdb.arch/i386-gnu-cfi-asm.S: New files.
14329
14330 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14331
14332 * lib/gdb.exp: Abort on missing `site.exp'.
14333
14334 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14335 Daniel Jacobowitz <dan@codesourcery.com>
14336
14337 * gdb.base/included.c, gdb.base/included.exp,
14338 gdb.base/included.h: New files.
14339
14340 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14341
14342 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
14343 (maximize_rlimit): Reduce limits on 64-bit systems.
14344
14345 2007-01-19 Mark Kettenis <kettenis@gnu.org>
14346
14347 From Marcus Deuling <deuling@de.ibm.com>:
14348 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
14349 every case.
14350
14351 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
14352
14353 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
14354 (test_path_specification): Use objdir instead of srcdir to always
14355 get an absolute filename.
14356
14357 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
14358
14359 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
14360
14361 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
14362
14363 * gdb.mi/mi-var-cp.cc (reference_update_tests):
14364 Make sure the variable we're using is in scope.
14365 (reference_to_pointer): Likewise.
14366
14367 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14368
14369 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
14370 has no debug information.
14371
14372 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14373
14374 * gdb.base/annota1.exp: Remove extra send_gdb.
14375
14376 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14377
14378 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
14379
14380 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14381
14382 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
14383
14384 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
14385 Daniel Jacobowitz <dan@codesourcery.com>
14386
14387 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
14388 lcharacter or linteger change. Correct duplicated test name.
14389 * gdb.mi/mi2-var-cmd.exp: Likewise.
14390
14391 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14392
14393 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
14394
14395 2007-01-05 Joel Brobecker <brobecker@adacore.com>
14396
14397 * gdb.base/nofield.c: New file.
14398 * gdb.base/nofield.exp: New testcase.
14399
14400 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
14401
14402 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
14403
14404 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
14405 test.
14406
14407 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14408
14409 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
14410
14411 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14412
14413 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
14414 when continuing.
14415
14416 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14417
14418 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
14419 Expect ".exe" extension.
14420
14421 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14422
14423 * gdb.base/charset.exp: Add explicit filename to break.
14424 * gdb.base/dbx.exp: Add explicit filename to breaks.
14425
14426 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14427
14428 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
14429 * gdb.mi/mi2-file.exp: Likewise.
14430
14431 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14432
14433 Implement specification of MI tests as comments
14434 in C and C++ sources.
14435 * lib/mi-support.exp (mi_autotest_data): New variable.
14436 (mi_autotest_source): New variable.
14437 (count_newlines, mi_prepare_inline_tests)
14438 (mi_get_inline_test, mi_continue_to_line)
14439 (mi_run_inline_test, mi_tbreak)
14440 (mi_send_resuming_command, mi_wait_for_stop): New functions.
14441 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
14442 Run inline tests.
14443 * gdb.mi/mi-var-cp.cc: Define tests here.
14444
14445 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14446
14447 Simplify usage of mi_continue_to.
14448 * lib/mi-support.exp (mi_runto_helper): Renamed
14449 from mi_runto, added new parameter 'run_or_continue'.
14450 (mi_runto): Use mi_runto_helper.
14451 (mi_continue_to): Accept just function name as parameter.
14452 Use mi_runto_helper.
14453 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
14454 * gdb.mi/mi2-var-cmd.exp: Likewise.
14455
14456 2006-01-04 Joel Brobecker <brobecker@adacore.com>
14457
14458 Make this testcase a bit more realistic. The current code
14459 is too simplistic, and allows the compiler to optimize out
14460 some of the entities we need for this testcase.
14461 * gdb.ada/null_record/bar.ads (Void_Star): New type.
14462 (Do_Nothing): Add extra parameter.
14463 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
14464 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
14465 by using a variable of type Void_Star.
14466
14467 2006-01-04 Joel Brobecker <brobecker@adacore.com>
14468
14469 * gdb.ada/catch_ex/foo.adb: New file.
14470 * gdb.ada/catch_ex.exp: New testcase.
14471
14472 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
14473
14474 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
14475 pass --image-base to linker.
14476
14477 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14478 Daniel Jacobowitz <dan@codesourcery.com>
14479
14480 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
14481 secondary prompts.
14482
14483 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14484
14485 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
14486 output. Test the types of members and member pointers.
14487 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
14488 gdb/2092.
14489 * gdb.cp/member-ptr.exp: Search for a comment instead of a
14490 statement. Enable for GCC. Update expected output for some tests
14491 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
14492 layout.
14493 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
14494 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
14495 (Diamond::vget_base): New.
14496 (main): Add new tests.
14497 * gdb.cp/printmethod.exp: Update expected output for member functions.
14498 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
14499 print pEe->D::vg().
14500
14501 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14502
14503 * gdb.threads/tls.exp: Allow stops in sem_post.
14504
14505 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
14506
14507 * gdb.base/annota1.exp: Allow .*printf in backtraces.
14508 * gdb.base/annota3.exp: Likewise.
14509 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
14510 again (instead of timing out).
14511 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
14512 GCC bug 26475.
14513 * gdb.java/jmisc.exp: Adjust to work with method signatures including
14514 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
14515 test from jmisc1.exp.
14516 * gdb.java/jmisc1.exp: Delete.
14517 * gdb.java/jprint.exp: Adjust to work with method signatures including
14518 return types.
14519 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
14520 * gdb.threads/linux-dp.exp: Don't be confused by program output.
14521 * lib/java.exp (compile_java_from_source): Pass the correct type
14522 to target_compile.
14523
14524 2006-12-31 Joel Brobecker <brobecker@adacore.com>
14525
14526 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
14527 (stack_align_edx): New function.
14528 (stack_align_eax): New function.
14529 (main): Add calls to stack_align_edx and stack_align_eax.
14530 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
14531 Add testing for the cases where the register used during a stack
14532 realignment is edx. Same for eax.
14533
14534 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
14535
14536 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
14537 and generic PE targets.
14538
14539 2006-12-29 Joel Brobecker <brobecker@adacore.com>
14540
14541 * gdb.ada/array_return.exp: Update copyright date list.
14542
14543 2006-12-27 Joel Brobecker <brobecker@adacore.com>
14544
14545 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
14546 (Create_Small_Float_Vector): New function.
14547 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
14548 function body.
14549 * gdb.ada/array_return/p.adb: Use new type and function from
14550 package Pck.
14551 * gdb.ada/array_return.exp: Add a test verifying that GDB is
14552 able to print the value returned by a function returning an
14553 array of float.
14554
14555 2006-12-20 Joel Brobecker <brobecker@adacore.com>
14556
14557 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
14558 The associated tests should be PASSing.
14559
14560 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14561
14562 Test for base in references.
14563 * gdb.mi/mi-var-cp.cc: Add test code.
14564 * gdb.mi/mi-var-cp.exp: Test for bases in references.
14565 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
14566 * gdb.mi/mi2-watch.exp: Likewise.
14567 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
14568 (mi_list_varobj_children): New function.
14569
14570 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14571
14572 * lib/mi-support.exp
14573 (mi_runto): Accept "()" after function name.
14574 (mi_create_varobj): New function.
14575 (mi_varobj_update): New function.
14576 (mi_Check_varobj_value): New function.
14577 * gdb.mi/mi-var-cp.exp: New file.
14578 * gdb.mi/mi-var-cp.cc: New file.
14579
14580 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
14581
14582 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
14583 gdb.base/weaklib2.c: New files.
14584
14585 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
14586
14587 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
14588 info. Adjust test names.
14589
14590 * gdb.base/break.c (main): Move position of malloc.
14591 * gdb.base/break.exp: Revert mistaken checkin.
14592
14593 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
14594
14595 * gdb.mi/mi-var-cmd.exp: Check -var-update after
14596 assignement of arrays and function pointers.
14597 * gdb.mi/var-cmd.c: Add declaration necessary for above
14598 tests.
14599
14600 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14601
14602 * gdb.base/break.c (main): Call malloc.
14603
14604 * gdb.threads/linux-dp.exp: Read thread table before and after
14605 creating each philosopher and verify it.
14606
14607 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14608 Paul Brook <paul@codesourcery.com>
14609 Daniel Jacobowitz <dan@codesourcery.com>
14610
14611 * gdb.base/ending-run.exp: Flatten expect script stepping out of
14612 main to remove duplication. Add start function of the form
14613 '_*start[1-9]*'. Add RVDS start function.
14614
14615 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14616
14617 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
14618
14619 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14620
14621 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
14622 * gdb.asm/spu.inc: New file.
14623 * gdb.base/term.exp: Disable if [target_info exists noargs].
14624 * gdb.gdb/complaints.exp: Disable if ![isnative].
14625 * gdb.gdb/selftest.exp: Likewise.
14626 * gdb.gdb/observer.exp: Likewise.
14627 * gdb.gdb/xfullpath.exp: Likewise.
14628 * gdb.base/attach.exp: Disable on SPU target.
14629 * gdb.cp/bs145503.exp: Likewise.
14630 * gdb.cp/exception.exp: Likewise.
14631 * gdb.cp/userdef.exp: Likewise.
14632
14633 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14634
14635 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
14636
14637 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
14638
14639 * gdb.base/completion.exp: Fix completion tests for
14640 'info' and 'info '.
14641 * gdb.base/help.exp (help_test_raw, test_class_help)
14642 (test_prefix_command_help): Move...
14643 * lib/gdb.exp: Here.
14644 * gdb.base/main.exp: Adjust.
14645 * gdb.cp/maint.exp: Adjust.
14646 * gdb.trace/tracecmd.exp: Use test_help_class.
14647
14648 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14649
14650 * gdb.stabs/weird.exp (print_weird_var): Use
14651 gdb_test_multiple instead of gdb_expect.
14652
14653 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14654
14655 * gdb.base/help.exp (help_test_raw): New.
14656 (test_class_help): New.
14657 (test_prefix_command_help): New.
14658 Adjust testcases.
14659
14660 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
14661
14662 * gdb.base/constvars.c (main): Write to crass and crips, so that
14663 they are allocated by the compiler.
14664
14665 2006-10-27 Andreas Schwab <schwab@suse.de>
14666
14667 * gdb.base/multi-forks.exp: Use "detach fork" instead of
14668 "detach-fork".
14669
14670 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
14671
14672 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
14673 of patterns.
14674
14675 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14676
14677 * gdb.base/sepdebug.exp: Remove debug format test.
14678 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
14679 Handle no-symtab.
14680 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
14681
14682 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14683
14684 * gdb.threads/manythreads.c (thread_function, main): Don't cast
14685 int to pointer or pointer to int.
14686 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
14687
14688 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
14689
14690 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
14691
14692 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14693
14694 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
14695
14696 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14697
14698 PR c++/2116
14699 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
14700
14701 2006-10-06 Joel Brobecker <brobecker@adacore.com>
14702
14703 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
14704 the corresponding bug has been fixed in GDB (PR/2018).
14705
14706 2006-10-06 Joel Brobecker <brobecker@adacore.com>
14707
14708 * gdb.base/subst.exp: New testcase.
14709
14710 2006-10-06 Joel Brobecker <brobecker@adacore.com>
14711
14712 * gdb.ada/array_return/pck.ads: Add copyright notice.
14713 * gdb.ada/array_return/pck.adb: Likewise.
14714 * gdb.ada/array_return/p.adb: Likewise.
14715 * gdb.ada/exec_changed/first.adb: Likewise.
14716 * gdb.ada/exec_changed/second.adb: Likewise.
14717
14718 2006-10-06 Joel Brobecker <brobecker@adacore.com>
14719
14720 * gdb.ada/watch_arg/watch.adb: New file.
14721 * gdb.ada/watch_arg.exp: New testcase.
14722
14723 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
14724
14725 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
14726 via string_to_regexp.
14727 * gdb.mi/mi2-basics.exp: Likewise.
14728
14729 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
14730
14731 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
14732 Remove unused / obsolete files.
14733
14734 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
14735
14736 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
14737
14738 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
14739
14740 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
14741 HIGH_FRAME argument to -stack-list-arguments can be larger than
14742 the number of frames.
14743
14744 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
14745
14746 * gdb.base/args.c (main): Add breakpoint marker.
14747 * gdb.base/args.exp: Use args_test for tests. Add new tests which
14748 really test empty arguments.
14749 (args_load): Delete.
14750 (args_test): New.
14751
14752 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
14753
14754 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
14755 check for one file.
14756
14757 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
14758
14759 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
14760 HIGH_FRAME argument to -stack-list-locals can be larger than
14761 the number of frames.
14762
14763 2006-08-18 Fred Fish <fnf@specifix.com>
14764
14765 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
14766 '$' in front of skip_vmx_tests_saved when setting that.
14767
14768 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
14769
14770 * gdb.base/trace-commands.exp: New file.
14771
14772 2006-08-10 Joel Brobecker <brobecker@adacore.com>
14773 Daniel Jacobowitz <dan@codesourcery.com>
14774
14775 * gdb.base/step-bt.exp: Make hexadecimal address optional in
14776 expected output of the backtrace commands.
14777
14778 2006-08-09 Joel Brobecker <brobecker@adacore.com>
14779
14780 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
14781 untested followed by return combination.
14782 * gdb.arch/altivec-regs.exp: Likewise.
14783 * gdb.arch/e500-abi.exp: Likewise.
14784 * gdb.arch/e500-regs.exp: Likewise.
14785 * gdb.arch/gdb1291.exp: Likewise.
14786 * gdb.arch/gdb1431.exp: Likewise.
14787 * gdb.arch/gdb1558.exp: Likewise.
14788 * gdb.arch/i386-prologue.exp: Likewise.
14789 * gdb.arch/i386-unwind.exp: Likewise.
14790 * gdb.asm/asm-source.exp: Likewise.
14791 * gdb.base/a2-run.exp: Likewise.
14792 * gdb.base/advance.exp: Likewise.
14793 * gdb.base/all-bin.exp: Likewise.
14794 * gdb.base/annota1.exp: Likewise.
14795 * gdb.base/annota3.exp: Likewise.
14796 * gdb.base/args.exp: Likewise.
14797 * gdb.base/arithmet.exp: Likewise.
14798 * gdb.base/assign.exp: Likewise.
14799 * gdb.base/async.exp: Likewise.
14800 * gdb.base/attach.exp: Likewise.
14801 * gdb.base/bang.exp: Likewise.
14802 * gdb.base/bigcore.exp: Likewise.
14803 * gdb.base/bitfields.exp: Likewise.
14804 * gdb.base/bitfields2.exp: Likewise.
14805 * gdb.base/break.exp: Likewise.
14806 * gdb.base/call-sc.exp: Likewise.
14807 * gdb.base/call-strs.exp: Likewise.
14808 * gdb.base/callfuncs.exp: Likewise.
14809 * gdb.base/checkpoint.exp: Likewise.
14810 * gdb.base/chng-syms.exp: Likewise.
14811 * gdb.base/code-expr.exp: Likewise.
14812 * gdb.base/commands.exp: Likewise.
14813 * gdb.base/completion.exp: Likewise.
14814 * gdb.base/cond-expr.exp: Likewise.
14815 * gdb.base/condbreak.exp: Likewise.
14816 * gdb.base/consecutive.exp: Likewise.
14817 * gdb.base/constvars.exp: Likewise.
14818 * gdb.base/corefile.exp: Likewise.
14819 * gdb.base/cvexpr.exp: Likewise.
14820 * gdb.base/dbx.exp: Likewise.
14821 * gdb.base/define.exp: Likewise.
14822 * gdb.base/detach.exp: Likewise.
14823 * gdb.base/display.exp: Likewise.
14824 * gdb.base/dump.exp: Likewise.
14825 * gdb.base/ena-dis-br.exp: Likewise.
14826 * gdb.base/ending-run.exp: Likewise.
14827 * gdb.base/environ.exp: Likewise.
14828 * gdb.base/eval-skip.exp: Likewise.
14829 * gdb.base/exprs.exp: Likewise.
14830 * gdb.base/fileio.exp: Likewise.
14831 * gdb.base/finish.exp: Likewise.
14832 * gdb.base/float.exp: Likewise.
14833 * gdb.base/foll-exec.exp: Likewise.
14834 * gdb.base/foll-fork.exp: Likewise.
14835 * gdb.base/foll-vfork.exp: Likewise.
14836 * gdb.base/freebpcmd.exp: Likewise.
14837 * gdb.base/funcargs.exp: Likewise.
14838 * gdb.base/gcore.exp: Likewise.
14839 * gdb.base/gdb1090.exp: Likewise.
14840 * gdb.base/gdb1250.exp: Likewise.
14841 * gdb.base/huge.exp: Likewise.
14842 * gdb.base/info-proc.exp: Likewise.
14843 * gdb.base/interrupt.exp: Likewise.
14844 * gdb.base/jump.exp: Likewise.
14845 * gdb.base/langs.exp: Likewise.
14846 * gdb.base/lineinc.exp: Likewise.
14847 * gdb.base/list.exp: Likewise.
14848 * gdb.base/logical.exp: Likewise.
14849 * gdb.base/long_long.exp: Likewise.
14850 * gdb.base/macscp.exp: Likewise.
14851 * gdb.base/maint.exp: Likewise.
14852 * gdb.base/mips_pro.exp: Likewise.
14853 * gdb.base/miscexprs.exp: Likewise.
14854 * gdb.base/multi-forks.exp: Likewise.
14855 * gdb.base/opaque.exp: Likewise.
14856 * gdb.base/overlays.exp: Likewise.
14857 * gdb.base/pc-fp.exp: Likewise.
14858 * gdb.base/pointers.exp: Likewise.
14859 * gdb.base/printcmds.exp: Likewise.
14860 * gdb.base/psymtab.exp: Likewise.
14861 * gdb.base/ptype.exp: Likewise.
14862 * gdb.base/recurse.exp: Likewise.
14863 * gdb.base/relational.exp: Likewise.
14864 * gdb.base/relocate.exp: Likewise.
14865 * gdb.base/remote.exp: Likewise.
14866 * gdb.base/reread.exp: Likewise.
14867 * gdb.base/restore.exp: Likewise.
14868 * gdb.base/return.exp: Likewise.
14869 * gdb.base/return2.exp: Likewise.
14870 * gdb.base/scope.exp: Likewise.
14871 * gdb.base/sect-cmd.exp: Likewise.
14872 * gdb.base/sep.exp: Likewise.
14873 * gdb.base/sepdebug.exp: Likewise.
14874 * gdb.base/setshow.exp: Likewise.
14875 * gdb.base/setvar.exp: Likewise.
14876 * gdb.base/sigall.exp: Likewise.
14877 * gdb.base/sigbpt.exp: Likewise.
14878 * gdb.base/signals.exp: Likewise.
14879 * gdb.base/signull.exp: Likewise.
14880 * gdb.base/sizeof.exp: Likewise.
14881 * gdb.base/solib.exp: Likewise.
14882 * gdb.base/step-line.exp: Likewise.
14883 * gdb.base/step-test.exp: Likewise.
14884 * gdb.base/structs.exp: Likewise.
14885 * gdb.base/structs2.exp: Likewise.
14886 * gdb.base/term.exp: Likewise.
14887 * gdb.base/twice.exp: Likewise.
14888 * gdb.base/until.exp: Likewise.
14889 * gdb.base/varargs.exp: Likewise.
14890 * gdb.base/volatile.exp: Likewise.
14891 * gdb.base/watchpoint.exp: Likewise.
14892 * gdb.base/whatis-exp.exp: Likewise.
14893 * gdb.base/whatis.exp: Likewise.
14894 * gdb.cp/ambiguous.exp: Likewise.
14895 * gdb.cp/annota2.exp: Likewise.
14896 * gdb.cp/annota3.exp: Likewise.
14897 * gdb.cp/bool.exp: Likewise.
14898 * gdb.cp/breakpoint.exp: Likewise.
14899 * gdb.cp/casts.exp: Likewise.
14900 * gdb.cp/class2.exp: Likewise.
14901 * gdb.cp/classes.exp: Likewise.
14902 * gdb.cp/cplusfuncs.exp: Likewise.
14903 * gdb.cp/ctti.exp: Likewise.
14904 * gdb.cp/derivation.exp: Likewise.
14905 * gdb.cp/exception.exp: Likewise.
14906 * gdb.cp/gdb1355.exp: Likewise.
14907 * gdb.cp/hang.exp: Likewise.
14908 * gdb.cp/inherit.exp: Likewise.
14909 * gdb.cp/local.exp: Likewise.
14910 * gdb.cp/m-data.exp: Likewise.
14911 * gdb.cp/m-static.exp: Likewise.
14912 * gdb.cp/member-ptr.exp: Likewise.
14913 * gdb.cp/method.exp: Likewise.
14914 * gdb.cp/misc.exp: Likewise.
14915 * gdb.cp/namespace.exp: Likewise.
14916 * gdb.cp/overload.exp: Likewise.
14917 * gdb.cp/ovldbreak.exp: Likewise.
14918 * gdb.cp/pr-1023.exp: Likewise.
14919 * gdb.cp/pr-1210.exp: Likewise.
14920 * gdb.cp/pr-574.exp: Likewise.
14921 * gdb.cp/printmethod.exp: Likewise.
14922 * gdb.cp/psmang.exp: Likewise.
14923 * gdb.cp/ref-params.exp: Likewise.
14924 * gdb.cp/ref-types.exp: Likewise.
14925 * gdb.cp/rtti.exp: Likewise.
14926 * gdb.cp/templates.exp: Likewise.
14927 * gdb.cp/try_catch.exp: Likewise.
14928 * gdb.cp/userdef.exp: Likewise.
14929 * gdb.cp/virtfunc.exp: Likewise.
14930 * gdb.disasm/am33.exp: Likewise.
14931 * gdb.disasm/h8300s.exp: Likewise.
14932 * gdb.disasm/mn10300.exp: Likewise.
14933 * gdb.disasm/sh3.exp: Likewise.
14934 * gdb.disasm/t01_mov.exp: Likewise.
14935 * gdb.disasm/t02_mova.exp: Likewise.
14936 * gdb.disasm/t03_add.exp: Likewise.
14937 * gdb.disasm/t04_sub.exp: Likewise.
14938 * gdb.disasm/t05_cmp.exp: Likewise.
14939 * gdb.disasm/t06_ari2.exp: Likewise.
14940 * gdb.disasm/t07_ari3.exp: Likewise.
14941 * gdb.disasm/t08_or.exp: Likewise.
14942 * gdb.disasm/t09_xor.exp: Likewise.
14943 * gdb.disasm/t10_and.exp: Likewise.
14944 * gdb.disasm/t11_logs.exp: Likewise.
14945 * gdb.disasm/t12_bit.exp: Likewise.
14946 * gdb.disasm/t13_otr.exp: Likewise.
14947 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
14948 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
14949 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14950 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
14951 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
14952 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
14953 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
14954 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
14955 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
14956 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
14957 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
14958 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14959 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14960 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14961 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14962 * gdb.mi/gdb701.exp: Likewise.
14963 * gdb.mi/gdb792.exp: Likewise.
14964 * gdb.mi/mi-basics.exp: Likewise.
14965 * gdb.mi/mi-break.exp: Likewise.
14966 * gdb.mi/mi-cli.exp: Likewise.
14967 * gdb.mi/mi-console.exp: Likewise.
14968 * gdb.mi/mi-disassemble.exp: Likewise.
14969 * gdb.mi/mi-eval.exp: Likewise.
14970 * gdb.mi/mi-file.exp: Likewise.
14971 * gdb.mi/mi-read-memory.exp: Likewise.
14972 * gdb.mi/mi-regs.exp: Likewise.
14973 * gdb.mi/mi-return.exp: Likewise.
14974 * gdb.mi/mi-simplerun.exp: Likewise.
14975 * gdb.mi/mi-stack.exp: Likewise.
14976 * gdb.mi/mi-stepi.exp: Likewise.
14977 * gdb.mi/mi-syn-frame.exp: Likewise.
14978 * gdb.mi/mi-until.exp: Likewise.
14979 * gdb.mi/mi-var-block.exp: Likewise.
14980 * gdb.mi/mi-var-child.exp: Likewise.
14981 * gdb.mi/mi-var-cmd.exp: Likewise.
14982 * gdb.mi/mi-var-display.exp: Likewise.
14983 * gdb.mi/mi-watch.exp: Likewise.
14984 * gdb.mi/mi2-basics.exp: Likewise.
14985 * gdb.mi/mi2-break.exp: Likewise.
14986 * gdb.mi/mi2-cli.exp: Likewise.
14987 * gdb.mi/mi2-console.exp: Likewise.
14988 * gdb.mi/mi2-disassemble.exp: Likewise.
14989 * gdb.mi/mi2-eval.exp: Likewise.
14990 * gdb.mi/mi2-file.exp: Likewise.
14991 * gdb.mi/mi2-read-memory.exp: Likewise.
14992 * gdb.mi/mi2-regs.exp: Likewise.
14993 * gdb.mi/mi2-return.exp: Likewise.
14994 * gdb.mi/mi2-simplerun.exp: Likewise.
14995 * gdb.mi/mi2-stack.exp: Likewise.
14996 * gdb.mi/mi2-stepi.exp: Likewise.
14997 * gdb.mi/mi2-syn-frame.exp: Likewise.
14998 * gdb.mi/mi2-until.exp: Likewise.
14999 * gdb.mi/mi2-var-block.exp: Likewise.
15000 * gdb.mi/mi2-var-child.exp: Likewise.
15001 * gdb.mi/mi2-var-cmd.exp: Likewise.
15002 * gdb.mi/mi2-var-display.exp: Likewise.
15003 * gdb.mi/mi2-watch.exp: Likewise.
15004 * gdb.stabs/exclfwd.exp: Likewise.
15005 * gdb.stabs/weird.exp: Likewise.
15006 * gdb.threads/gcore-thread.exp: Likewise.
15007 * gdb.trace/actions.exp: Likewise.
15008 * gdb.trace/backtrace.exp: Likewise.
15009 * gdb.trace/circ.exp: Likewise.
15010 * gdb.trace/collection.exp: Likewise.
15011 * gdb.trace/deltrace.exp: Likewise.
15012 * gdb.trace/infotrace.exp: Likewise.
15013 * gdb.trace/limits.exp: Likewise.
15014 * gdb.trace/packetlen.exp: Likewise.
15015 * gdb.trace/passc-dyn.exp: Likewise.
15016 * gdb.trace/passcount.exp: Likewise.
15017 * gdb.trace/report.exp: Likewise.
15018 * gdb.trace/save-trace.exp: Likewise.
15019 * gdb.trace/tfind.exp: Likewise.
15020 * gdb.trace/tracecmd.exp: Likewise.
15021 * gdb.trace/while-dyn.exp: Likewise.
15022 * gdb.trace/while-stepping.exp: Likewise.
15023
15024 2006-08-08 Joel Brobecker <brobecker@adacore.com>
15025
15026 * gdb.base/step-bt.c: New file.
15027 * gdb.base/step-bt.exp: New testcase.
15028
15029 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
15030
15031 * config/monitor.exp (gdb_load): Remove support for obsolete
15032 download-write-size.
15033 * gdb.base/remote.exp: Likewise. Update all callers of
15034 gdb_timed_load.
15035
15036 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
15037
15038 * cursal.exp: Pass binfile to gdb_load.
15039
15040 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
15041
15042 * gdb.base/cursal.exp: Add "" to gdb_load call.
15043
15044 2006-07-29 Mark Kettenis <kettenis@gnu.org>
15045
15046 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
15047 NetBSD/ELF targets.
15048
15049 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
15050
15051 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
15052 operator*.
15053
15054 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
15055
15056 * gdb.base/completion.exp: Update for change in "file" behavior.
15057 * gdb.stabs/weird.exp: Likewise.
15058 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
15059 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
15060
15061 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
15062
15063 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
15064 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
15065
15066 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
15067
15068 * gdb.base/default.exp: Update source command error message.
15069 * gdb.base/help.exp: Update 'help source' message.
15070
15071 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
15072
15073 * gdb.cp/bs15503.exp: Update comment for no longer crashing
15074 test.
15075
15076 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
15077
15078 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
15079
15080 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15081
15082 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
15083
15084 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15085
15086 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
15087
15088 2006-07-17 Mark Kettenis <kettenis@gnu.org>
15089
15090 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
15091 *-*-openbsd* from targets for wich we expect ARM FPA floating
15092 point format.
15093
15094 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
15095
15096 * gdb.cp/annota3.exp: Expect frame-begin annotation.
15097
15098 2006-07-17 Mark Kettenis <kettenis@gnu.org>
15099
15100 * gdb.base/annota3.exp: Expect frame-begin annotation.
15101
15102 2006-07-14 Joel Brobecker <brobecker@adacore.com>
15103
15104 * gdb.base/help.exp: Adjust "help unset" test to accept
15105 any list of unset commands.
15106
15107 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
15108 Daniel Jacobowitz <dan@codesourcery.com>
15109
15110 * gdb.cp/ref-params.exp: New test.
15111 * gdb.cp/ref-params.cc: New source file.
15112 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
15113
15114 2006-07-08 Mark Kettenis <kettenis@gnu.org>
15115
15116 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
15117 spaces/tabs in regular expressions since they might not be there.
15118
15119 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
15120
15121 * gdb.base/ifelse.exp: New file.
15122
15123 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
15124
15125 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
15126 line.
15127 * gdb.base/huge.exp: Loop over compilation to find a size that
15128 is acceptable.
15129 * gdb.base/remote.exp: Correct expected strings.
15130 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
15131
15132 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15133
15134 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
15135
15136 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15137
15138 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
15139 native.
15140
15141 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15142
15143 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
15144 enable stabs testing.
15145
15146 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15147
15148 * gdb.base/auxv.exp: Intercept undefined command messages before
15149 gdb_test_multiple does.
15150
15151 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15152
15153 * Makefile.in (host_alias): Remove.
15154 (target_alias): Use @target_noncanonical@.
15155 (site.exp): Don't set host_alias.
15156 * aclocal.m4: Remove contents. Include acx.m4.
15157 * configure: Regenerated.
15158 * configure.ac: Use ACX_NONCANONICAL_TARGET.
15159
15160 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
15161
15162 * lib/gdb.exp (gdb_load_cmd): New.
15163
15164 * gdb.base/fileio.c: Add system(NULL) test.
15165 * gdb.base/fileio.exp: Check it.
15166
15167 * gdb.base/break.c: Add 10a breakpoint at }
15168 * gdb.base/break.exp: Add test for breakpoint at }
15169 * gdb.cp/anon-union.cc: Add code at end of function.
15170 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
15171 * gdb.mi/var-cmd.c: Add code at end of function.
15172 * gdb.mi/mi-var-display.exp: Adjust end of next.
15173 * gdb.mi/mi2-var-display.exp: Likewise.
15174 * gdb.base/fileio.c: Add stop function and insert calls at
15175 stopping places.
15176 * gdb.base/fileio.exp: Breakpoint stop function and remove
15177 explicit line number references.
15178
15179 2006-05-19 Joel Brobecker <brobecker@adacore.com>
15180
15181 * gdb.base/del.exp (test_delete_alias): New function.
15182 Now check that both "del" and "d" work as aliases for "delete".
15183
15184 2006-05-18 Fred Fish <fnf@specifix.com>
15185
15186 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
15187 required. Check for spurious output after program exits normally.
15188
15189 2006-05-17 Fred Fish <fnf@specifix.com>
15190
15191 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
15192 gdb_load, so it works in the simulator.
15193
15194 2006-05-11 Fred Fish <fnf@specifix.com>
15195
15196 * gdb.base/bang.exp: Ignore unexpected output between the
15197 "program exited normally" and the gdb prompt, as many other
15198 tests do.
15199
15200 2006-05-07 Mark Kettenis <kettenis@gnu.org>
15201
15202 * gdb.base/help.exp: Make "delete checkpoint" part option for
15203 "help d" and "help delete" tests.
15204
15205 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15206
15207 * gdb.mi/mi-basics.exp: Add missing serial number to
15208 expected output in some mi_gdb_test statements.
15209 * gdb.mi/mi2-basics.exp: Likewise.
15210
15211 2006-05-05 Joel Brobecker <brobecker@adacore.com>
15212
15213 * gdb.base/del.c: New file.
15214 * gdb.base/del.exp: New testcase.
15215
15216 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
15217
15218 * gdb.base/break.exp: Do not assume a breakpoint on
15219 main will actually be in $srcfile when optimizing.
15220 * gdb.base/savedregs.exp: Do not require that the dummy
15221 frame location match up to a symbol and source file location.
15222 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
15223 will get printed without a mi_cmd_data_list_register_values prefix.
15224 (*-data-list-register-*): Correct regular expressions to expect the new
15225 pseudo d? floating point registers.
15226 * gdb.mi/mi2-regs.exp: Likewise.
15227
15228 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
15229
15230 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
15231 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
15232 is allocated by the compiler.
15233 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
15234 anons, e, anone to force their allocation by the compiler.
15235
15236 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
15237
15238 * gdb.base/help.exp: Update expected text for help d and
15239 help delete.
15240
15241 2006-05-02 Mark Kettenis <kettenis@gnu.org>
15242
15243 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
15244 NetBSD/ELF targets.
15245
15246 2006-04-30 Mark Kettenis <kettenis@gnu.org>
15247
15248 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
15249 single-step breakpoint fails; make this a KFAIL on
15250 sparc*-*-openbsd*.
15251 * gdb.base/siginfo.exp: Likewise.
15252 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15253
15254 2006-04-26 Michael Snyder <msnyder@redhat.com>
15255
15256 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
15257 which may have to consume output from other forks.
15258 Add tests to make sure that "delete fork" succeeded.
15259
15260 2006-04-20 Michael Snyder <msnyder@redhat.com>
15261
15262 * 2006-03-22 Jim Blandy <jimb@redhat.com>
15263 Add support for the Renesas M32C and M16C.
15264
15265 * gdb.asm/asm-source.exp: Add m32c target.
15266 * gdb.asm/m32c.inc: Support for m32c target.
15267
15268 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
15269
15270 * gdb.base/commands.exp (recursive_source_test): New test.
15271
15272 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
15273
15274 * gdb.base/float.exp: Add pattern for sparc targets.
15275
15276 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15277
15278 * gdb.base/commands.exp (stray_arg0_test): New test.
15279
15280 2006-03-30 Paul Brook <paul@codesourcery.com>
15281
15282 * gdb.mi/mi-until.exp: kfail broken until command.
15283 * gdb.mi/mi2-until.exp: Ditto.
15284
15285 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
15286
15287 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
15288
15289 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
15290
15291 * gdb.base/prelink.exp: Anchor tested-for regular expression
15292 on gdb prompt.
15293
15294 2006-03-07 Paul Brook <paul@codesourcery.com>
15295
15296 * gdb.base/assign.exp: Correct fail message.
15297
15298 2006-03-07 Paul Brook <paul@codesourcery.com>
15299
15300 * lib/compiler.c: Extract armcc version number.
15301 * lib/compiler.cc: Ditto.
15302
15303 2006-03-07 Paul Brook <paul@codesourcery.com>
15304
15305 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
15306 additional_flags=-w.
15307 * gdb.arch/altivec-regs.exp: Ditto.
15308 * gdb.arch/e500-abi.exp: Ditto.
15309 * gdb.arch/e500-regs.exp: Ditto.
15310 * gdb.base/all-bin.exp: Ditto.
15311 * gdb.base/annota1.exp: Ditto.
15312 * gdb.base/annota3.exp: Ditto.
15313 * gdb.base/args.exp: Ditto.
15314 * gdb.base/arithmet.exp: Ditto.
15315 * gdb.base/assign.exp: Ditto.
15316 * gdb.base/async.exp: Ditto.
15317 * gdb.base/bang.exp: Ditto.
15318 * gdb.base/break.exp: Ditto.
15319 * gdb.base/call-rt-st.exp: Ditto.
15320 * gdb.base/completion.exp: Ditto.
15321 * gdb.base/cond-expr.exp: Ditto.
15322 * gdb.base/condbreak.exp: Ditto.
15323 * gdb.base/consecutive.exp: Ditto.
15324 * gdb.base/define.exp: Ditto.
15325 * gdb.base/display.exp: Ditto.
15326 * gdb.base/ena-dis-br.exp: Ditto.
15327 * gdb.base/environ.exp: Ditto.
15328 * gdb.base/eval-skip.exp: Ditto.
15329 * gdb.base/info-proc.exp: Ditto.
15330 * gdb.base/jump.exp: Ditto.
15331 * gdb.base/logical.exp: Ditto.
15332 * gdb.base/long_long.exp: Ditto.
15333 * gdb.base/maint.exp: Ditto.
15334 * gdb.base/miscexprs.exp: Ditto.
15335 * gdb.base/pc-fp.exp: Ditto.
15336 * gdb.base/pointers.exp: Ditto.
15337 * gdb.base/relational.exp: Ditto.
15338 * gdb.base/reread.exp: Ditto.
15339 * gdb.base/sect-cmd.exp: Ditto.
15340 * gdb.base/sep.exp: Ditto.
15341 * gdb.base/sepdebug.exp: Ditto.
15342 * gdb.base/until.exp: Ditto.
15343 * gdb.base/whatis-exp.exp: Ditto.
15344 * gdb.cp/annota2.exp: Ditto.
15345 * gdb.cp/annota3.exp: Ditto.
15346 * gdb.trace/actions.exp: Ditto.
15347 * gdb.trace/backtrace.exp: Ditto.
15348 * gdb.trace/circ.exp: Ditto.
15349 * gdb.trace/collection.exp: Ditto.
15350 * gdb.trace/deltrace.exp: Ditto.
15351 * gdb.trace/infotrace.exp: Ditto.
15352 * gdb.trace/limits.exp: Ditto.
15353 * gdb.trace/packetlen.exp: Ditto.
15354 * gdb.trace/passc-dyn.exp: Ditto.
15355 * gdb.trace/passcount.exp: Ditto.
15356 * gdb.trace/report.exp: Ditto.
15357 * gdb.trace/save-trace.exp: Ditto.
15358 * gdb.trace/tfind.exp: Ditto.
15359 * gdb.trace/tracecmd.exp: Ditto.
15360 * gdb.trace/while-dyn.exp: Ditto.
15361 * gdb.trace/while-stepping.exp: Ditto.
15362 * lib/gdb.exp: Ditto.
15363 (gdb_compile): Handle nowarning option.
15364
15365 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
15366
15367 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
15368 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
15369 Rename executable to prelinkt. Don't re-prelink if we didn't
15370 get a core file. Test prelink -u exit status to tell whether
15371 prelinking failed. Use gdb_test_multiple.
15372
15373 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
15374
15375 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
15376 (do_tests): Call it.
15377
15378 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
15379
15380 * gdb.base/prelink.exp: New test.
15381 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
15382
15383 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
15384
15385 * gdb.fortran/derived-type.f90: New file.
15386 * gdb.fortran/derived-type.exp: New testcase.
15387
15388 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
15389
15390 * gdb.base/default.exp: Allow ';' as a directory separator.
15391
15392 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15393
15394 * gdb.base/help.exp (help add-symbol-file): Update.
15395
15396 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15397
15398 * gdb.base/help.exp (help load): Update expected results.
15399
15400 2006-02-19 Fred Fish <fnf@specifix.com>
15401
15402 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
15403 specifix hex value as part of results.
15404 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
15405
15406 2006-02-16 Fred Fish <fnf@specifix.com>
15407
15408 * gdb.base/whatis.c: Define variables using typedefs char_addr,
15409 ushort_addr, and slong_addr, so the typedefs are not optimized
15410 away.
15411 * gdb.base/whatis.exp: Add tests using type name for struct type,
15412 union type, enum type, and typedef.
15413
15414 2006-02-13 Mark Kettenis <kettenis@gnu.org>
15415
15416 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
15417
15418 2006-02-13 Jim Blandy <jimb@redhat.com>
15419
15420 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
15421 case where it takes two "next" commands to skip past the init
15422 call.
15423
15424 2006-02-12 Fred Fish <fnf@specifix.com>
15425
15426 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
15427 to handle cases where it takes two "next" commands to skip
15428 past the init call.
15429
15430 2006-02-07 Joel Brobecker <brobecker@adacore.com>
15431
15432 * gdb.ada/array_return.exp: Mark the last test as expected to fail
15433 on hppa32 targets.
15434
15435 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
15436
15437 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
15438 field.
15439
15440 2006-01-29 Mark Kettenis <kettenis@gnu.org>
15441
15442 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
15443
15444 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15445
15446 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
15447 files.
15448
15449 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15450
15451 * gdb.cp/maint.exp: Set complaints to a positive value.
15452
15453 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15454
15455 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
15456 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
15457 function name.
15458
15459 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15460
15461 * gdb.base/checkpoint.c: Update copyright notice. Include
15462 <stdlib.h>.
15463
15464 2006-01-04 Jim Blandy <jimb@redhat.com>
15465
15466 * gdb.asm/asm-source.exp: Independently provide default values for
15467 asm-flags and debug-flags. Use 'string equal' to do the
15468 comparison, not the implicit expr's '==' operator. Remove
15469 now-unneeded assignments to asm-flags. In h8300 case, place
15470 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
15471
15472 2006-01-04 Michael Snyder <msnyder@redhat.com>
15473
15474 * gdb.base/checkpoint.c: New file.
15475 * gdb.base/checkpoint.exp: New file.
15476 * gdb.base/multi-fork.c: New file.
15477 * gdb.base/multi-fork.exp: New file.
15478 * gdb.base/pi.txt: New file (data for checkpoint.c test).
15479
15480 2006-01-04 Fred Fish <fnf@specifix.com>
15481
15482 * gdb.base/ptype.c (foo): Add typedef.
15483 (intfoo): Add function.
15484 * gdb.base/ptype1.c: New file.
15485 * gdb.base/ptype.exp: Handle compilation and linking with two
15486 source files. Test that proper type for "foo" is found based
15487 on source context rather than first match found in symtabs.
15488
15489 2005-12-28 Mark Kettenis <kettenis@gnu.org>
15490
15491 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
15492 * gdb.asm/openbsd.inc: Indent commands.
15493
15494 2005-12-26 Mark Kettenis <kettenis@gnu.org>
15495
15496 * gdb.base/freebpcmd.exp: Increase timeout.
15497
15498 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
15499
15500 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
15501
15502 * gdb.base/default.exp: Update check for "show version".
15503
15504 2005-12-09 Randolph Chung <tausq@debian.org>
15505
15506 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
15507 * gdb.asm/pa64.inc: New file.
15508
15509 2005-12-09 Randolph Chung <tausq@debian.org>
15510
15511 * gdb.asm/common.inc: Indent commands.
15512 * gdb.asm/asmsrc1.s: Likewise.
15513 * gdb.asm/asmsrc2.s: Likewise.
15514
15515 2005-12-09 Randolph Chung <tausq@debian.org>
15516
15517 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
15518 (get_addr_of_sym): Remove duplicate print.
15519 (gen_core): xfail hppa*-*-hpux*, update expected output.
15520 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
15521 * gdb.arch/pa64-nullify.s: New file.
15522
15523 2005-12-09 Randolph Chung <tausq@debian.org>
15524
15525 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
15526
15527 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
15528
15529 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
15530 code generation for these functions.
15531 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
15532 error message.
15533
15534 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
15535
15536 * gdb.base/help.exp (help b, help br, help bre, help brea)
15537 (help break): Update the expected message.
15538
15539 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
15540
15541 * gdb.asm/m68hc11.inc: Setup the data section.
15542 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
15543 script for this test.
15544 (m6812-*-*): Likewise.
15545
15546 2005-11-09 Randolph Chung <tausq@debian.org>
15547
15548 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
15549
15550 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
15551
15552 * gdb.base/break.exp: Fix a comment typo.
15553
15554 2005-11-03 Jim Blandy <jimb@redhat.com>
15555
15556 Checked in by Elena Zannoni <ezannoni@redhat.com>
15557
15558 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
15559
15560 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
15561
15562 * gdb.arch/gdb1558.c: Include stdio.h.
15563
15564 2005-10-31 Mark Kettenis <kettenis@gnu.org>
15565
15566 * gdb.asm/asm-source.exp: Use -e instead of --entry.
15567
15568 2005-10-31 Mark Kettenis <kettenis@gnu.org>
15569
15570 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
15571
15572 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
15573
15574 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15575 vscr" tests to better match output.
15576
15577 2005-10-12 Jim Blandy <jimb@redhat.com>
15578
15579 * gdb.base/structs.exp (any): New function.
15580 (test_struct_returns): Don't make any assumptions at all about
15581 what value the function returns when GDB can't set the return
15582 value.
15583
15584 2005-10-09 Joel Brobecker <brobecker@adacore.com>
15585
15586 * gdb.ada/arrayidx/p.adb: New file.
15587 * gdb.ada/arrayidx.exp: New testcase
15588
15589 2005-10-09 Joel Brobecker <brobecker@adacore.com>
15590
15591 * gdb.ada/array_return/pck.ads: New file.
15592 * gdb.ada/array_return/pck.adb: New file.
15593 * gdb.ada/array_return/p.adb: New file.
15594 * gdb.ada/array_return.exp: New testcase.
15595
15596 2005-10-03 Joel Brobecker <brobecker@adacore.com>
15597
15598 * gdb.base/arrayidx.c: New file.
15599 * gdb.base/arrayidx.exp: New testcase.
15600
15601 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
15602
15603 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
15604 frames-invalid and breakpoints-invalid are no longer generated
15605 with level 3 so don't expect them in the output.
15606
15607 2005-09-27 Bob Rossi <bob@brasko.net>
15608
15609 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
15610 from test. Escape the | in mi_gdb_test call.
15611 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
15612 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
15613 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
15614 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
15615 expected regex's in mi_gdb_test calls.
15616 * lib/mi-support.exp: Remove arbitrary .* from tests.
15617 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
15618 Fully anchor GDB/MI expected results in mi_gdb_test.
15619 * lib/gdb.exp (string_to_regexp): Escape the ] character.
15620 * gdb.base/sizeof.exp: Remove escape character. Correct test.
15621
15622 2005-09-26 Paul Brook <paul@codesourcery.com>
15623
15624 * long_long.exp: Exclude eabi targets from arm FPA float format test.
15625
15626 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15627
15628 * bfp-test.c: New file.
15629 * bfp-test.exp: New testcase.
15630
15631 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15632
15633 * gdb.fortran/subarray.exp: New testcase to test the evaluation
15634 of subarray and substring variable.
15635 * gdb.fortran/subarray.f: New source file for the test of subarray
15636 and substring variable evaluation.
15637 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
15638 of string constant.
15639
15640 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
15641
15642 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
15643 copyright dates.
15644
15645 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
15646
15647 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
15648 powerpc altivec' test with an almost identical 'info vector' test.
15649
15650 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15651
15652 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15653 vscr" tests to match output.
15654
15655 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15656
15657 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
15658 output.
15659
15660 2005-09-11 Bob Rossi <bob@brasko.net>
15661
15662 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
15663 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
15664 commands that return an MI output command and an asyncronous MI output
15665 command.
15666 * gdb.mi/mi-console.exp: Ditto.
15667
15668 2005-09-11 Bob Rossi <bob@brasko.net>
15669
15670 * gdb.mi/mi-var-child.c: Include <string.h>.
15671
15672 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
15673
15674 * killed.exp: Correct gdb_expect syntax.
15675
15676 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
15677
15678 * lib/mi-support.exp (mi_gdb_load): Fix typo.
15679
15680 2005-08-02 Bob Rossi <bob@brasko.net>
15681
15682 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
15683 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
15684 Change tests to inferior-tty-set/show.
15685 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
15686 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
15687 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
15688 inferior. Use mi_gdb_test to get GDB and Inferior output.
15689 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
15690 descriptor.
15691 (mi_inferior_tty_name): Add inferior PTY file name.
15692 (mi_gdb_start): Add INFERIOR_PTY parameter.
15693 (mi_gdb_test): Add IPATTERN parameter.
15694
15695 2005-08-02 Bob Rossi <bob@brasko.net>
15696
15697 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
15698 parameter to mi_gdb_test.
15699 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
15700
15701 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15702
15703 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
15704 struct_declarations.
15705 * gdb.mi/mi-var-child.exp: Step over the initialization of
15706 struct_declarations.
15707
15708 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15709
15710 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
15711 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
15712 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
15713 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
15714 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
15715 file.
15716
15717 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
15718
15719 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
15720 (do_children_tests): Assign values to the extra elements.
15721
15722 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
15723 them for tests for "-var-update --no-values" and
15724 "-var-update --all-values".
15725 Add test for "-var-list-children --simple-values".
15726
15727 * gdb.mi/basics.c (callee4): Add integer array D[3]...
15728
15729 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
15730 "-stack-list-locals --simple-values" Improve doc strings and
15731 comments.
15732
15733 2005-07-18 Mark Kettenis <kettenis@gnu.org>
15734
15735 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
15736 *-*-openbsd*.
15737 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
15738
15739 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
15740 sigaltsatck'.
15741
15742 2005-07-14 Bob Rossi <bob@brasko.net>
15743
15744 * gdb.base/default.exp (tty): Changed output of command.
15745 * gdb.base/help.exp (help tty): Ditto.
15746
15747 2005-07-12 Mark Kettenis <kettenis@gnu.org>
15748
15749 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
15750
15751 2005-07-10 Mark Kettenis <kettenis@gnu.org>
15752
15753 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
15754 -stack-select-frame without arguments.
15755 (test_stack_frame_listing): Add test for newly implemented command
15756 -stack-info-frame.
15757
15758 2005-07-06 Bob Rossi <bob@brasko.net>
15759
15760 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
15761 command.
15762 (Copyright): Update copyright.
15763
15764 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
15765
15766 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
15767 tests to evaluate exponentiation expression.
15768
15769 2005-06-29 Andreas Schwab <schwab@suse.de>
15770
15771 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
15772 main to avoid warnings.
15773
15774 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
15775
15776 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
15777
15778 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
15779 -stack-select-frame without arguments.
15780 (test_stack_frame_listing): Add test for newly implemented command
15781 -stack-info-frame.
15782
15783 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
15784
15785 * gdb.fortran/array-element.f: New file.
15786 * gdb.fortran/array-element.exp: New testcase.
15787
15788 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15789
15790 * gdb.base/bigcore.exp: Correct checks for systems which can
15791 not dump a large core file.
15792
15793 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15794
15795 * gdb.base/relocate.c: Add a copyright notice.
15796 (dummy): Remove.
15797 * gdb.base/relocate.exp: Test printing the values of variables
15798 from a relocatable file.
15799
15800 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15801
15802 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
15803 excess MI output after an error.
15804
15805 2005-05-29 Joel Brobecker <brobecker@adacore.com>
15806
15807 * gdb.arch/alpha-step.c: New file.
15808 * gdb.arch/alpha-step.exp: New testcase.
15809
15810 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
15811 Dennis Brueni <dennis@slickedit.com>
15812
15813 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
15814 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
15815 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
15816 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
15817 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15818 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
15819 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
15820
15821 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
15822 Wu Zhou <woodzltc@cn.ibm.com>
15823
15824 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
15825 IBM's xlc compiler.
15826 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
15827 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
15828
15829 2005-05-13 Jim Blandy <jimb@redhat.com>
15830
15831 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
15832 calling gdb_suppress_entire_file.
15833 * gdb.base/charset.exp: Same.
15834 * gdb.base/call-rt-st.exp: Same.
15835
15836 2005-05-05 Bob Rossi <bob_rossi@cox.net>
15837
15838 * lib/gdb.exp (fullname_syntax): Added global regex.
15839 (fullname_syntax_POSIX): Ditto.
15840 (fullname_syntax_UNC): Ditto.
15841 (fullname_syntax_DOS_CASE): Ditto.
15842 (fullname_syntax_DOS): Ditto.
15843 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
15844 fullname_syntax variable to scope and use it.
15845 (test_file_list_exec_source_files): Ditto.
15846 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
15847
15848 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
15849
15850 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
15851
15852 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
15853
15854 * lib/gdb.exp (skip_altivec_tests): New function, based on
15855 check_vmx_hw_available from the GCC testsuite.
15856 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
15857 * lib/gdb.arch/altivec-regs.exp: Likewise.
15858
15859 2005-05-02 Jim Blandy <jimb@redhat.com>
15860
15861 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
15862 calling gdb_suppress_entire_file.
15863
15864 2005-04-30 Randolph Chung <tausq@debian.org>
15865
15866 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
15867 Slightly relax "sem_post" name checking.
15868
15869 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15870
15871 * gdb.base/unload.exp: Use new shared library infrastructure.
15872
15873 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15874
15875 * gdb.base/so-impl-ld.exp: Use new shared library
15876 infrastructure.
15877
15878 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
15879
15880 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
15881 * gdb.asm/h8300.inc: New file.
15882
15883 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15884
15885 * gdb.base/shlib-call.exp: Change to use new shared library
15886 infrastructure.
15887
15888 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15889
15890 * gdb.base/pending.exp: Change to use new shared library
15891 infrastructure.
15892
15893 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15894
15895 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
15896 use test_compiler_info instead of gcc_compiled, and update copyright.
15897
15898 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
15899
15900 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
15901 shared objects being adjusted and update copyright years.
15902
15903 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
15904
15905 * ChangeLog: Correct some 2003-01-13 dates.
15906 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
15907 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
15908 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
15909 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
15910 gdb.trace/tfind.exp: Update copyright years.
15911
15912 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
15913 Daniel Jacobowitz <dan@codesourcery.com>
15914
15915 * lib/gdb.exp (gdb_compile): Handle shlib=.
15916 (gdb_compile_shlib): New function.
15917
15918 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
15919
15920 * lib/gdb.exp (test_compiler_info): Give argument a default value.
15921
15922 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15923
15924 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
15925 gdb.server.
15926 * configure.ac: Likewise.
15927 * configure: Regenerated.
15928 * gdb.gdbserver/Makefile.in: Moved to...
15929 * gdb.server/Makefile.in: ... here.
15930 * gdb.gdbserver/server.c: Moved to...
15931 * gdb.server/server.c: ... here.
15932 * gdb.gdbserver/server-run.exp: Moved to...
15933 * gdb.server/server-run.exp: ... here.
15934
15935 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15936
15937 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
15938 * configure.ac: Create gdb.gdbserver/Makefile.
15939 * configure: Regenerated.
15940 * lib/gdbserver-support.exp: New file, derived from
15941 config/gdbserver.exp.
15942 * config/gdbserver.exp: Use gdbserver-support.exp.
15943 * gdb.gdbserver/Makefile.in: New file.
15944 * gdb.gdbserver/server.c: New file.
15945 * gdb.gdbserver/server-run.exp: New file.
15946
15947 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
15948
15949 * lib/gdb.exp (test_compiler_info): Return compiler_info
15950 if no arguments are given.
15951
15952 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
15953
15954 * gdb.arch/altivec-abi.exp: Check for compiler and set
15955 use altivec' flag accordingly.
15956 * gdb.arch/altivec-regs.exp: Likewise.
15957
15958 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
15959
15960 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
15961
15962 2005-03-27 Andreas Schwab <schwab@suse.de>
15963
15964 * gdb.base/bigcore.c (main): Add missing mode argument in open
15965 call.
15966
15967 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
15968
15969 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
15970 downloads.
15971 * config/gdbserver.exp (gdb_load): Likewise.
15972
15973 2005-03-14 Paul Brook <paul@codesourcery.com>
15974
15975 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
15976 targets.
15977
15978 2005-03-09 Joel Brobecker <brobecker@adacore.com>
15979
15980 * gdb.dwarf2/dup-psym.S: New file.
15981 * gdb.dwarf2/dup-psym.exp: New testcase.
15982
15983 2005-03-09 Joel Brobecker <brobecker@adacore.com>
15984
15985 * gdb.ada/exec_changed/first.adb: New file.
15986 * gdb.ada/exec_changed/second.adb: New file.
15987 * gdb.ada/exec_changed.exp: New testcase.
15988
15989 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
15990
15991 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
15992 (A2): New class.
15993 (main): Test operator+.
15994 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
15995 breakpoint test.
15996
15997 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
15998 * gdb.base/signull.exp: Disable if gdb,nosignals.
15999 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
16000 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
16001 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
16002 * gdb.mi/mi2-console.exp: Likewise.
16003 * gdb.trace/collection.exp (run_trace_experiment): Consume the
16004 continue output at start.
16005 (gdb_collect_locals_test): Robustify regexp.
16006 * gdb.trace/passc-dyn.exp: Fix comment typo.
16007 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
16008
16009 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
16010
16011 * gdb.asm/asm-source.exp: Add iq2000 case.
16012 * gdb.asm/iq2000.inc: New file.
16013
16014 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
16015
16016 * gdb.base/command.exp: Change hardcoded value to regular expression.
16017 * gdb.base/float.exp: Add powerpc to the list of targets checked.
16018
16019 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
16020
16021 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
16022 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
16023 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
16024 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
16025 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
16026
16027 2005-03-05 Mark Kettenis <kettenis@gnu.org>
16028
16029 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
16030 changes.
16031
16032 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
16033
16034 * lib/compiler.c: Add test for IBM's xlc compiler.
16035 * lib/compiler.cc: Likewise.
16036
16037 2004-02-24 Joel Brobecker <brobecker@adacore.com>
16038
16039 * gdb.ada/fixed_points.exp: Create compilation object directory
16040 before running the test.
16041 * gdb.ada/null_record.exp: Likewise.
16042 * gdb.ada/packed_array.exp: Likewise.
16043 * gdb.ada/start.exp: Likewise.
16044
16045 2005-02-15 Joel Brobecker <brobecker@adacore.com>
16046
16047 * gdb.ada/packed_array/pa.adb: New file.
16048 * gdb.ada/packed_array.exp: New testcase.
16049
16050 2005-02-10 Mark Kettenis <kettenis@gnu.org>
16051
16052 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
16053 files.
16054
16055 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
16056 on *-*-openbsd*. Correctly match whitespace in regukar
16057 expressions.
16058
16059 2005-02-10 Daniel Jacobowitz <dan@debian.org>
16060
16061 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
16062 PR exp/1821
16063 * gdb.base/gdb1821.c: New test file.
16064 * gdb.base/gdb1821.exp: New test file.
16065
16066 2005-02-09 Joel Brobecker <brobecker@adacore.com>
16067
16068 * gdb.base/start.c: New file.
16069 * gdb.base/start.exp: New testcase.
16070
16071 2005-02-09 Joel Brobecker <brobecker@adacore.com>
16072
16073 * gdb.ada/start/dummy.adb: New file.
16074 * gdb.ada/start.exp: New testcase.
16075
16076 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
16077
16078 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
16079 for printing symbols and statistics.
16080 Add test for using relative pathnames in "maint print msymbols" test.
16081 Mark "maint info sections DATA" XFAIL on Cygwin.
16082 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
16083 tests.
16084
16085 2005-02-09 Andreas Schwab <schwab@suse.de>
16086
16087 Committed by Andrew Cagney <cagney@gnu.org>
16088 * gdb.base/remotetimeout.exp: New file.
16089
16090 2005-02-07 Mark Kettenis <kettenis@gnu.org>
16091
16092 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
16093
16094 2005-02-03 Joel Brobecker <brobecker@adacore.com>
16095
16096 * gdb.ada/gnat_ada.gpr: New file.
16097 * gdb.ada/gnat_ada.gin: Delete, no longer used.
16098 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
16099 * configure.ac: No longer generate gnat_ada.gpr.
16100 * configure: Regenerate.
16101 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
16102 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
16103 * gdb.ada/null_record/bar.ads: Likewise.
16104 * gdb.ada/null_record/bar.adb: Likewise.
16105 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
16106 * gdb.ada/null_record.exp (testdir): New variable.
16107 (testfile): executable is now in testdir subdirectory.
16108 (srcfile): Use full path to the main compilation unit.
16109 * gdb.ada/fixed_points.exp: Same changes as above.
16110
16111 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
16112
16113 * gdb.base/interp.exp: New test.
16114
16115 2005-01-24 Andrew Cagney <cagney@gnu.org>
16116
16117 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
16118
16119 2005-01-19 Andrew Cagney <cagney@gnu.org>
16120
16121 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
16122 configure.ac not configure.in.
16123
16124 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
16125 of powerpc*-*-*.
16126 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
16127 * gdb.base/list.exp (test_list_function)
16128 (test_list_filename_and_function): Ditto.
16129 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
16130
16131 2005-01-16 Andrew Cagney <cagney@gnu.org>
16132
16133 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
16134
16135 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
16136
16137 2005-01-14 Andrew Cagney <cagney@gnu.org>
16138
16139 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
16140 * gdb.mi/mi2-var-cmd.exp: Ditto.
16141
16142 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
16143
16144 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
16145
16146 2005-01-07 Andrew Cagney <cagney@gnu.org>
16147
16148 * configure.ac: Rename configure.in, require autoconf 2.59.
16149 * configure: Re-generate.
16150 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
16151 * gdb.stabs/configure: Re-generate.
16152 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
16153 * gdb.hp/configure: Re-generate.
16154 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
16155 autoconf 2.59.
16156 * gdb.hp/gdb.objdbg/configure: Re-generate.
16157 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
16158 autoconf 2.59.
16159 * gdb.hp/gdb.defects/configure: Re-generate.
16160 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
16161 autoconf 2.59.
16162 * gdb.hp/gdb.compat/configure: Re-generate.
16163 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
16164 autoconf 2.59.
16165 * gdb.hp/gdb.base-hp/configure: Re-generate.
16166 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
16167 autoconf 2.59.
16168 * gdb.hp/gdb.aCC/configure: Re-generate.
16169
16170 2004-12-15 Jim Blandy <jimb@redhat.com>
16171
16172 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
16173 under NPTL when there is debugging info available for libpthread.
16174
16175 2004-12-13 Jerome Guitton <guitton@gnat.com>
16176
16177 * gdb.ada/fixed_points.c: New file.
16178 * gdb.ada/fixed_points.exp: New file.
16179
16180 2004-12-03 Randolph Chung <tausq@debian.org>
16181
16182 * gdb.arch/pa-nullify.exp: New file.
16183 * gdb.arch/pa-nullify.s: New file.
16184
16185 2004-11-30 Randolph Chung <tausq@debian.org>
16186
16187 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
16188 instead of "tbug". Fix regexp to work properly with gdb_test.
16189
16190 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
16191
16192 * gdb.base/bitfields2.exp: New test.
16193 * gdb.base/bitfields2.c: New file.
16194
16195 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
16196
16197 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
16198
16199 2004-11-16 Randolph Chung <tausq@debian.org>
16200
16201 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
16202
16203 2004-11-14 Daniel Jacobowitz <dan@debian.org>
16204
16205 * gdb.threads/threadapply.exp: Correct "macro details" test.
16206
16207 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
16208
16209 * gdb.threads/threadapply.exp: New test.
16210 * gdb.threads/threadapply.c: New file.
16211
16212 2004-11-07 Mark Kettenis <kettenis@gnu.org>
16213
16214 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
16215 frames.
16216
16217 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
16218
16219 * gdb.base/cursal.exp: New file.
16220 * gdb.base/cursal.c: New file.
16221
16222 2004-11-03 Andrew Cagney <cagney@gnu.org>
16223
16224 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
16225
16226 2004-10-30 Mark Kettenis <kettenis@gnu.org>
16227
16228 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
16229 NetBSD/ELF targets.
16230
16231 2004-10-29 Joel Brobecker <brobecker@gnat.com>
16232
16233 * gdb.threads/bp_in_thread.c: New file, copied from
16234 pthread_cond_wait.c.
16235 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
16236 file, rather than reusing the .c file from another testcase.
16237
16238 2004-10-20 Joel Brobecker <brobecker@gnat.com>
16239
16240 * gdb.ada/null_record.exp: Check where we stopped after
16241 sending the start command, instead of where the associated
16242 temporary breakpoint was inserted.
16243
16244 2004-10-14 Andrew Cagney <cagney@gnu.org>
16245
16246 * gdb.mi/gdb701.c (main): Return 0.
16247
16248 2004-10-13 Daniel Jacobowitz <dan@debian.org>
16249
16250 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
16251
16252 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
16253
16254 * gdb.threads/schedlock.c: Add comment markers to use to find
16255 line numbers.
16256 * gdb.threads/schedlock.exp: Adjust regex to handle the new
16257 comments.
16258 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
16259 breakpoint lines.
16260
16261 2004-10-12 Daniel Jacobowitz <dan@debian.org>
16262
16263 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
16264
16265 2004-10-12 Daniel Jacobowitz <dan@debian.org>
16266
16267 * configure.in: Add gdb.dwarf2.
16268 * configure: Regenerated.
16269 * Makefile.in: Add gdb.dwarf2.
16270 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
16271 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
16272 gdb.dwarf2/file1.txt: New files.
16273
16274 2004-10-11 Orjan Friberg <orjanf@axis.com>
16275
16276 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
16277 of "run", since the latter doesn't work with remote targets. Adjust
16278 the breakpoint numbering accordingly.
16279 * gdb.threads/pthread_cond_wait.exp: Ditto.
16280
16281 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
16282
16283 * gdb.base/overlays.exp: Update copyright years.
16284
16285 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
16286
16287 * gdb.base/overlays.exp: Disable if target is Linux.
16288
16289 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
16290
16291 * config/gdbserver.exp (gdb_load): Use right filename on remote.
16292
16293 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
16294
16295 * gdb.asm/asm-source.exp: Add m32r-linux target.
16296 * gdb.asm/m32r-linux.inc: New file.
16297
16298 2004-09-24 Andrew Cagney <cagney@redhat.com>
16299 David Anderson <anderson@redhat.com>
16300
16301 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
16302 command fails, assume things will work.
16303 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
16304 (_GNU_SOURCE): Define.
16305 (print_unsigned, print_hex): Change parameter to "long long".
16306 (print_byte_count): New function, use to print byte counts.
16307 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
16308 O_LARGEFILE.
16309 (main): Compute an upper bound on a corefile in max_core_size.
16310 Limit memory chunk size to max_core_size. Limit total memory
16311 allocated to max_core_size.
16312
16313 2004-09-23 Andrew Cagney <cagney@gnu.org>
16314
16315 * gdb.base/bigcore.exp: Replace the code that creates a corefile
16316 from a separate process with code that creates a corefile by
16317 making the inferior dump core.
16318
16319 2004-09-23 Mark Kettenis <kettenis@gnu.org>
16320
16321 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
16322 block.
16323
16324 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
16325
16326 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
16327 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
16328 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
16329 Likewise.
16330
16331 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
16332
16333 * gdb.java/jprint.exp: New test case for java inferior call.
16334 * gdb.java/jprint.java: Ditto.
16335
16336 2004-09-15 Joel Brobecker <brobecker@gnat.com>
16337
16338 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
16339
16340 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16341
16342 * gdb.threads/killed.c: Include <stdlib.h>.
16343 * gdb.threads/pthreads.c: Likewise.
16344
16345 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16346
16347 * gdb.threads/killed.c: Add copyright notice.
16348
16349 2004-09-10 Jason Molenda (jmolenda@apple.com)
16350
16351 * gdb.base/define.exp: Two new tests to verify zero space chars
16352 after 'if' and 'while' commands in a user-defined command is correctly
16353 parsed.
16354
16355 2004-09-08 Andrew Cagney <cagney@gnu.org>
16356
16357 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
16358 delivery test with duplicate at end of file.
16359
16360 2004-09-06 Mark Kettenis <kettenis@jive.nl>
16361
16362 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
16363
16364 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16365
16366 * config/hppro.exp: Removed.
16367
16368 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16369
16370 * config/sparclet.exp: Removed.
16371
16372 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16373
16374 * config/udi.exp: Removed.
16375
16376 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
16377
16378 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
16379 of "exp_continue".
16380 (advancei): Likewise.
16381
16382 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16383
16384 * gdb.base/unload.exp: Fix so messages aren't duplicated.
16385
16386 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
16387
16388 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
16389 to check for nodebug in executable.
16390 * gdb.gdb/observer.exp (setup_test): Likewise.
16391 * gdb.gdb/selftest.exp (test_with_self): Likewise.
16392 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
16393
16394 2004-09-01 Andrew Cagney <cagney@gnu.org>
16395
16396 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16397 files.
16398
16399 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16400
16401 * gdb.base/unload.exp: Fix expected warning message to match
16402 latest format.
16403
16404 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
16405
16406 * gdb.base/call-rt-st.exp: Fix typos.
16407
16408 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
16409
16410 * gdb.threads/thread_check.exp: New testcase.
16411 * gdb.threads/thread_check.c: New testcase.
16412
16413 2004-08-31 Andrew Cagney <cagney@gnu.org>
16414
16415 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
16416 (skip_to_handler_entry): New procedures. Test stepping into a
16417 handler when the breakpoint is at the handler's entry point.
16418
16419 2004-08-30 Andrew Cagney <cagney@gnu.org>
16420
16421 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
16422 gdb/1757.
16423
16424 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16425
16426 With code from Manoj Iyer <manjo@austin.ibm.com>:
16427 * lib/gdb.exp (gdb_file_cmd): Return more information in the
16428 return value. Add an arm for "no debugging symbols found".
16429 Change a stray "error" to "perror".
16430 (gdb_run_cmd): Adapt to new return value.
16431 * gdb.base/remote.exp: Adapt to new return value.
16432 * gdb.gdb/complaints.exp: Likewise.
16433 * gdb.gdb/observer.exp: Likewise.
16434 * gdb.gdb/selftest.exp: Likewise.
16435 * gdb.gdb/xfullpath.exp: Likewise.
16436
16437 2004-08-27 Joel Brobecker <brobecker@gnat.com>
16438
16439 * gdb.threads/bp_in_thread.exp: New testcase.
16440
16441 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16442
16443 Fix PR testsuite/1735.
16444 * gdb.threads/schedlock.c (thread_function): Add a cast
16445 to suppress a gcc warning.
16446 * gdb.threads/thread-specific.c (thread_function): Likewise.
16447
16448 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16449
16450 * gdb.base/unload.c: Include <stdlib.h>.
16451
16452 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16453
16454 From Paul Gilliam <pgilliam@us.ibm.com>:
16455 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
16456 synchronized after the "return".
16457
16458 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16459
16460 * gdb.mi/basics.c: Include <stdio.h>.
16461 * gdb.mi/pthreads.c: Include <stdlib.h>.
16462 * gdb.mi/var-cmd.c: Include <stdlib.h>.
16463
16464 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16465
16466 * gdb.threads/schedlock.c: Add copyright notice.
16467
16468 2004-08-25 Andrew Cagney <cagney@gnu.org>
16469
16470 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
16471 (skip_over_handler, breakpoint_over_hander): New test procedures.
16472 (advance, advancei): Add a proper prefix, do not use
16473 rerun_to_main.
16474 * gdb.base/sigstep.c (main): Change to use an infinite loop.
16475
16476 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
16477
16478 * gdb.mi/basics.c: Add copyright notice.
16479 * gdb.mi/var-cmd.c: Add copyright notice.
16480
16481 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16482
16483 * lib/gdb.exp: Remove signed_keyword_not_used.
16484 * lib/compiler.c: Likewise.
16485 * lib/compiler.cc: Likewise.
16486
16487 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16488
16489 * gdb.base/whatis.c: Remove conditional disabling of "signed".
16490 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
16491
16492 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16493
16494 * gdb.base/whatis.c: Add copyright notice.
16495
16496 2004-08-20 Mark Kettenis <kettenis@gnu.org>
16497
16498 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
16499 it to skip the breakpoints encoded in the inline assembly.
16500
16501 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16502
16503 * Makefile.in: Add gdb.fortran.
16504
16505 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16506
16507 * gdb.base/call-sc.exp (test_scalar_returns):
16508 Fix cut-and-paste glitch in "Make fun return now".
16509
16510 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16511
16512 * configure.in: Add gdb.fortran.
16513 * configure: Regenerate.
16514 * gdb.fortran/Makefile.in: New file.
16515 * lib/gdb.exp (skip_fortran_tests): New procedure.
16516
16517 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16518
16519 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
16520 reference to bug-gnu@prep.ai.mit.edu.
16521 * gdb.mi/mi-var-child.exp: Likewise.
16522 * gdb.mi/mi-var-cmd.exp: Likewise.
16523 * gdb.mi/mi-var-display.exp: Likewise.
16524 * gdb.mi/mi2-var-block.exp: Likewise.
16525 * gdb.mi/mi2-var-child.exp: Likewise.
16526 * gdb.mi/mi2-var-cmd.exp: Likewise.
16527 * gdb.mi/mi2-var-display.exp: Likewise.
16528
16529 2004-08-15 Mark Kettenis <kettenis@gnu.org>
16530
16531 * gdb.base/unload.c (main): Make local variable msg const.
16532
16533 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16534
16535 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
16536 to bug-gnu@prep.ai.mit.edu.
16537 * gdb.mi/mi-disassemble.exp: Likewise.
16538 * gdb.mi/mi-eval.exp: Likewise.
16539 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
16540 default line number.
16541 * gdb.mi/mi-return.exp: Likewise.
16542 * gdb.mi/mi-simplerun.exp: Likewise.
16543 * gdb.mi/mi-stack.exp: Likewise.
16544 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
16545 number with explicit range test.
16546 * gdb.mi/mi-watch.exp: Likewise.
16547 * gdb.mi/mi2-break.exp: Likewise.
16548 * gdb.mi/mi2-cli.exp: Likewise.
16549 * gdb.mi/mi2-disassemble.exp: Likewise.
16550 * gdb.mi/mi2-eval.exp: Likewise.
16551 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
16552 default line number.
16553 * gdb.mi/mi2-return.exp: Likewise.
16554 * gdb.mi/mi2-simplerun.exp: Likewise.
16555 * gdb.mi/mi2-stack.exp: Likewise.
16556 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
16557 number with explicit range test.
16558 * gdb.mi/mi2-watch.exp: Likewise.
16559
16560 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16561
16562 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
16563 * gdb.cp/m-static.exp: Likewise.
16564 * gdb.cp/rtti.exp: Likewise.
16565
16566 2004-08-14 Mark Kettenis <kettenis@gnu.org>
16567
16568 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
16569
16570 2004-08-14 Eli Zaretskii <eliz@gnu.org>
16571
16572 * ChangeLog: Prefix Local Variables with semi-colons and indent
16573 the reference to older ChangeLog files, to fix fontification in
16574 Emacs.
16575
16576 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16577
16578 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
16579 * gdb.mi/mi2-break.exp: Likewise.
16580
16581 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16582
16583 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
16584
16585 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16586
16587 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
16588
16589 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16590
16591 * gdb.cp/classes.exp: Remove unused declarations. Just let
16592 test names default instead of providing special names. Remove
16593 extraneous demangler test.
16594
16595 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
16596
16597 * gdb.base/unload.exp: New test for breakpoints in dynamically
16598 loaded libraries.
16599 * gdb.base/unload.c: Ditto.
16600 * gdb.base/unloadshr.c: Ditto.
16601
16602 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
16603
16604 * gdb.cp/classes.exp (test_ptype_class_objects): Call
16605 cp_test_ptype_class.
16606 (test_enums): Likewise.
16607
16608 2004-08-10 Andrew Cagney <cagney@gnu.org>
16609
16610 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16611 files.
16612
16613 2004-08-10 Andrew Cagney <cagney@gnu.org>
16614
16615 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
16616 init_malloc call.
16617
16618 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
16619
16620 * ChangeLog: Add copyright notice. The notice is copied
16621 from emacs 21.3 top level ChangeLog.
16622
16623 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16624
16625 * lib/cp-support.exp: New file.
16626 * lib/cp-support.exp (cp_test_type_class): New function.
16627 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
16628 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
16629 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
16630 cp_test_ptype_class.
16631
16632 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16633
16634 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
16635 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16636 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
16637 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
16638 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16639 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
16640 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
16641 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
16642 gdb.mi/mi2-watch.exp: Update copyright years.
16643
16644 2004-08-09 Mark Kettenis <kettenis@gnu.org>
16645
16646 * gdb.base/sigaltstack.exp: Provide proper anchoring.
16647
16648 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16649
16650 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
16651 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
16652 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
16653 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16654 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
16655 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
16656 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
16657 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16658 gdb.mi/mi-watch.exp: Update copyright years.
16659
16660 2004-08-08 Daniel Jacobowitz <dan@debian.org>
16661
16662 PR gdb/1738
16663 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
16664 from a breakpoint with a pending signal.
16665
16666 2004-08-08 Daniel Jacobowitz <dan@debian.org>
16667
16668 PR gdb/1736
16669 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
16670 * gdb.base/sigaltstack.exp (finish_test): Consume output until
16671 the prompt.
16672 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
16673
16674 2004-08-08 Daniel Jacobowitz <dan@debian.org>
16675
16676 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
16677
16678 2004-08-08 Daniel Jacobowitz <dan@debian.org>
16679
16680 PR gdb/1736
16681 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
16682 for i?86-*-linux*.
16683
16684 2004-08-08 Daniel Jacobowitz <dan@debian.org>
16685
16686 * gdb.arch/i386-prologue.exp: Compile without debug information.
16687
16688 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
16689
16690 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
16691 rather than asking gdb to search.
16692
16693 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16694
16695 * gdb.base/gcore.c: Include <string.h>.
16696
16697 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16698
16699 * gdb.base/gcore.c: Add copyright notice.
16700
16701 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16702
16703 * gdb.base/freebpcmd.c: Include <stdio.h>.
16704 * gdb.base/long_long.c: Include <string.h>.
16705 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
16706 * gdb.base/siginfo.c: Include <string.h>.
16707 * gdb.base/sigstep.c: Include <string.h>.
16708
16709 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16710
16711 * gdb.base/complex.c: Include <stdlib.h>.
16712
16713 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16714
16715 * gdb.base/complex.c: Add copyright notice.
16716
16717 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16718
16719 * gdb.base/charset.c: Include <stdlib.h>.
16720
16721 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16722
16723 * gdb.base/auxv.c: Include <stdlib.h>.
16724
16725 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16726
16727 * gdb.base/auxv.c: Add copyright notice.
16728
16729 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16730
16731 * gdb.base/coremaker.c: Add copyright notice.
16732 * gdb.base/coremaker2.c: Add copyright notice.
16733
16734 2004-08-04 Andrew Cagney <cagney@gnu.org>
16735
16736 * gdb.base/store.exp: Update copyright.
16737 (check_set, up_set, check_struct, up_struct): Add a prefix to test
16738 names, do not import gdb_prompt.
16739
16740 2004-08-01 Andrew Cagney <cagney@gnu.org>
16741
16742 Fix PR testsuite/1729.
16743 * gdb.base/dump.exp: Add test name to callers of capture_value, do
16744 not use capture_value with value 4.
16745 (capture_value): Add optional test name parameter.
16746 (test_reload_saved_value, test_restore_saved_value): Use $msg as
16747 the prefix, pass to capture_value.
16748
16749 2004-08-01 Mark Kettenis <kettenis@gnu.org>
16750
16751 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
16752 * gdb.arch/i386-prologue.c (standard): New prototype and function.
16753 (main): Call new function.
16754
16755 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16756
16757 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
16758
16759 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16760
16761 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
16762
16763 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16764
16765 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
16766 Accept more values of vtbl pointer. Remove some messages
16767 about "obsolete gcc or gdb".
16768
16769 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16770
16771 * gdb.cp/classes.exp: Accept more varieties of ptype output.
16772
16773 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16774
16775 * gdb.base/asm-source.exp: Properly convert target board
16776 debug flags from gcc format to binutils format.
16777
16778 2004-07-28 Mark Kettenis <kettenis@gnu.org>
16779
16780 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
16781 gdb1718". PR backtrace/1718 partially fixed.
16782
16783 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
16784
16785 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
16786
16787 2004-07-26 Nick Clifton <nickc@redhat.com>
16788
16789 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
16790 good default value for a specific architecture is available then
16791 set it to that value. Otherwise default to the -gstabs switch.
16792 Remove the -g... switches from the asm-flags variable. Allow the
16793 target board info to override the value if it wants to. Pass the
16794 switch on the assembler command line.
16795
16796 2004-07-23 Mark Kettenis <kettenis@gnu.org>
16797
16798 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
16799 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
16800 (main): Call new function.
16801
16802 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
16803
16804 Test for PR exp/1715.
16805 * gdb.base/radix.exp: Refactor common procedures. Make all
16806 test names unique. Change XFAIL to KFAIL.
16807
16808 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
16809
16810 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
16811 * gdb.ada/gnat_ada.gin: ... to here.
16812 * configure.in: Use gnat_ada.gin.
16813 * configure: Regenerate.
16814
16815 2004-07-20 Andrew Cagney <cagney@gnu.org>
16816
16817 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
16818 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
16819 XFAILs. Clean up test messages and comments. Check backtraces.
16820 Delete re-sync code.
16821
16822 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16823
16824 Fix PR cli/740.
16825 * gdb.base/annota1.exp: Honor gdb,nosignals.
16826 * gdb.base/annota3.exp: Likewise.
16827
16828 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16829
16830 * lib/java.exp: Update copyright notice.
16831
16832 2004-07-19 Andrew Cagney <cagney@gnu.org>
16833
16834 * gdb.base/selftest.exp: Copy file from here ...
16835 * gdb.gdb/selftest.exp: ... to here.
16836
16837 2004-07-16 Andrew Cagney <cagney@redhat.com>
16838
16839 * lib/insight-support.exp: Delete file.
16840 * lib/java.exp (java_init): Fix copyright.
16841
16842 2004-07-16 Andrew Cagney <cagney@gnu.org>
16843
16844 * gdb.base/restore.c: Append "prologue" to comments marking the a
16845 function's prologue.
16846 * gdb.base/restore.exp: Update copyright, re-indent.
16847 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
16848 callerN" prefix where needed. Update patterns that match a
16849 function's prologue.
16850
16851 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
16852
16853 * gdb.base/restore.c: Add copyright notice.
16854
16855 2004-07-16 Andrew Cagney <cagney@gnu.org>
16856
16857 * gdb.base/logical.exp: Update copyright.
16858 (evaluate): New procedure. Use to re-implement tests using
16859 several tables.
16860
16861 2004-07-14 Martin Hunt <hunt@redhat.com>
16862
16863 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
16864 which fixes some problems where init.tcl was not found.
16865
16866 2004-07-13 Andrew Cagney <cagney@gnu.org>
16867
16868 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
16869 (check_sizeof, check_valueof): Do not include the output in the
16870 test name. Use gdb_test.
16871 (get_valueof): Use gdb_test_multiple.
16872
16873 * gdb.base/step-test.exp: Update copyright. Use
16874 gdb_test_multiple. Ensure that test names do not include
16875 architecture dependent output.
16876
16877 * gdb.gdb/observer.exp: Update copyright.
16878 (setup_test): Use gdb_test_multiple.
16879 (attach_first_observer, attach_second_observer)
16880 (attach_third_observer, detach_first_observer)
16881 (detach_second_observer, detach_third_observer)
16882 (reset_counters, check_counters): Make $message a prefix.
16883 (test_normal_stop_notifications): Add "args" parameter - a list of
16884 init functions to be called. Make $message a prefix,
16885 (test_observer_normal_stop): Change the message prefixes so that
16886 they are unique, pass the attach / detach procedures to
16887 test_normal_stop_notifications.
16888
16889 * gdb.base/signull.exp (test_segv): Prefix all tests with
16890 "${name}". Clean up test messages.
16891
16892 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
16893
16894 * gdb.base/ena-dis-br.exp: Update copyright.
16895 (break_at): New function. Replace send_gdb with gdb_test,
16896 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
16897 ignore count, not stopped at bpt", with KFAIL.
16898
16899 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
16900
16901 * gdb.base/attach.exp: Remove cleanupfile handling.
16902
16903 2004-07-12 Andrew Cagney <cagney@gnu.org>
16904
16905 * gdb.base/annota1.exp: Cleanup corefile test name.
16906 * gdb.base/annota3.exp: Ditto.
16907
16908 2004-07-12 Andrew Cagney <cagney@gnu.org>
16909
16910 * gdb.base/signals.exp: Clean up copyright, re-indent.
16911
16912 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
16913 gdb_test and gdb_test_multiple.
16914
16915 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
16916
16917 * gdb.java/jmain.exp: Fix expected line number for main to
16918 break at. Set XFAIL for break at main test since gcj does not
16919 provide line number info for first statement in main.
16920
16921 2004-07-08 Andrew Cagney <cagney@gnu.org>
16922
16923 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
16924
16925 * gdb.base/sigbpt.exp: Make the common part of each test name a
16926 prefix instead of suffix.
16927
16928 2004-07-07 Bob Rossi <bob_rossi@cox.net>
16929
16930 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
16931 test from test_tbreak_creation_and_listing to
16932 test_file_list_exec_source_file
16933 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
16934 Changed name of test from test_tbreak_creation_and_listing to
16935 test_file_list_exec_source_file
16936
16937 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
16938
16939 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
16940 the jmisc() constructor instead of <init>.
16941 * gdb.java/jmisc1.exp: Ditto.
16942
16943 2004-07-07 Andrew Cagney <cagney@gnu.org>
16944
16945 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
16946 corrupting the PC.
16947
16948 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
16949
16950 * gdb.cp/templates.exp: Accept whitespace change in demangler
16951 output.
16952
16953 2004-07-06 Andrew Cagney <cagney@gnu.org>
16954
16955 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
16956
16957 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
16958
16959 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
16960 * lib/compiler.cc: Likewise.
16961
16962 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
16963
16964 * lib/compiler.cc: Work around string preprocessing problem
16965 with old hp c++ compiler.
16966 * lib/compiler.c: Likewise.
16967
16968 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
16969
16970 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
16971 directives to conditionalize symbol prefixing.
16972 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
16973 additional_flags handling. Add underscore prefix for Cygwin.
16974 * gdb.arch/i386-unwind.c: Use preprocessor directives to
16975 conditionalize symbol prefixing.
16976 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
16977 additional_flags handling. Add underscore prefix for Cygwin.
16978
16979 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
16980
16981 * gdb.base/bigcore.exp: Skip test on Cygwin.
16982
16983 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
16984
16985 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
16986 formats for "info register". Use gdb_test_multiple. Fix
16987 the "invalid register" test.
16988
16989 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
16990
16991 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
16992 PID for Cygwin. Add Cygwin specific strings to check for in some
16993 tests.
16994 (do_attach_tests): Add a test for user interaction when attaching
16995 to a process with no matching symbol table already loaded.
16996
16997 2004-06-26 Andrew Cagney <cagney@gnu.org>
16998
16999 Test PR java/1567 and PR java/1565.
17000 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
17001 * gdb.java/jmisc2.exp: Delete file.
17002
17003 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
17004
17005 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
17006
17007 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
17008
17009 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
17010 attach process.
17011
17012 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
17013
17014 * gdb.cp/pr-1553.exp: Remove.
17015
17016 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
17017
17018 * gdb.cp/pr-1553.cc: Remove.
17019 * gdb.cp/pr-1553.exp: Disable this test.
17020
17021 2004-06-20 Jim Blandy <jimb@redhat.com>
17022
17023 Fix PR testsuite/1680.
17024 * gdb.arch/i386-sse.exp: Properly quote curly braces in
17025 regular expressions.
17026
17027 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
17028
17029 Fix PR testsuite/1679.
17030 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
17031 Issue an UNSUPPORTED result instead.
17032
17033 2004-06-18 Jim Blandy <jimb@redhat.com>
17034
17035 * gdb.base/charset.exp: Only send a control-C if we see a new
17036 prompt and incomplete command.
17037
17038 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
17039
17040 * gdb.cp/pr-574.cc: Add copyright notice.
17041
17042 2004-06-17 Jim Blandy <jimb@redhat.com>
17043
17044 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
17045 cases where the regexp has no groups; this grabs random text from
17046 the previous test suite, whatever that was.
17047
17048 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
17049
17050 * gdb.cp/printmethod.cc: Add copyright notice.
17051
17052 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
17053
17054 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
17055
17056 2004-06-16 Andrew Cagney <cagney@gnu.org>
17057
17058 * gdb.base/signull.c: Update copyright. Include <string.h>.
17059 (bowler): Replace data_pointer with data_read
17060 and data_write cases. Add code_descriptor case.
17061 (zero, desc): New array and pointer.
17062 (data, code): Change to simple pointers.
17063 * gdb.base/signull.exp: Fix probe pattern matching a function
17064 descriptor SIGSEGV. Replace data_pointer with data_read and
17065 data_write tests.
17066
17067 2004-06-16 Andrew Cagney <cagney@gnu.org>
17068
17069 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
17070
17071 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17072
17073 * gdb.base/long_long.c: Add copyright notice.
17074
17075 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17076
17077 * gdb.base/long_long.exp: Remove reference to
17078 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
17079 to gdb_breakpoint and gdb_continue_to_breakpoint.
17080
17081 2004-06-14 Jim Blandy <jimb@redhat.com>
17082
17083 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
17084 endian case.
17085
17086 2004-06-14 Andrew Cagney <cagney@gnu.org>
17087
17088 * gdb.base/gcore.exp (capture_command_output): Delete the always
17089 passing tests containing inferior values.
17090 * gdb.base/ending-run.exp: Do not include the breakpoint address
17091 in the test message. Update copyright.
17092 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
17093 size in the test name, use gdb_test_multiple. Update copyright.
17094
17095 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17096
17097 * gdb.cp/ref-types.cc: Add copyright notice.
17098
17099 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17100
17101 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
17102 hp_aCC_compiler.
17103 * lib/compiler.cc: Likewise.
17104 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
17105 'set' commands. Log diagnostics for other lines. Set
17106 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
17107
17108 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
17109
17110 * gdb.cp/try_catch.cc: Add copyright notice.
17111
17112 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
17113
17114 * gdb.cp/userdef.cc: Add copyright notice.
17115
17116 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
17117
17118 * gdb.cp/virtfunc.cc: Add copyright notice.
17119
17120 2004-06-11 Randolph Chung <tausq@debian.org>
17121
17122 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
17123 problem.
17124
17125 2004-06-10 Andrew Cagney <cagney@gnu.org>
17126
17127 * lib/compiler.cc, lib/compiler.c: Append either
17128 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
17129 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
17130 instead of gcc-3-3.
17131
17132 2004-06-09 Andrew Cagney <cagney@gnu.org>
17133
17134 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
17135 gdb/1455, bug is specific to "long long" and "double".
17136
17137 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
17138 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
17139 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
17140 fixed.
17141
17142 2004-06-09 Andrew Cagney <cagney@gnu.org>
17143
17144 * gdb.base/structs.exp (test_struct_returns): Replace
17145 "return_value_unknown" and "finish_value_unknown" by
17146 "return_value_known" and "finish_value_known". Instead of
17147 "return_value_unknown" iff "finish_value_unknown", check
17148 "return_value_known" implies "finish_value_known".
17149
17150 2004-06-08 Martin Hunt <hunt@redhat.com>
17151
17152 * gdb.base/float.exp: Add pattern for mips targets.
17153
17154 2004-06-08 Randolph Chung <tausq@debian.org>
17155
17156 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
17157 message for unknown architectures more clear.
17158
17159 2004-06-08 Joel Brobecker <brobecker@gnat.com>
17160
17161 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
17162 start the execution of the program.
17163
17164 2004-06-07 Jim Blandy <jimb@redhat.com>
17165
17166 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
17167 * gdb.arch/i386-cpuid.h: New helper file.
17168
17169 2004-06-07 Randolph Chung <tausq@debian.org>
17170
17171 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
17172 has started.
17173
17174 2004-06-04 Roland McGrath <roland@redhat.com>
17175
17176 Fix PR gdb/1647.
17177 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
17178 differently to be robust to output buffering differences.
17179
17180 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
17181
17182 * gdb.threads/pthreads.exp: Update copyright years.
17183 (check_control_c): Change asynchronous 'after' to synchronous.
17184
17185 2004-06-04 Roland McGrath <roland@redhat.com>
17186
17187 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
17188 next gdb prompt.
17189
17190 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
17191
17192 Fix PR gdb/1636.
17193 * gdb.threads/manythreads.exp: Change asynchronous 'after'
17194 calls to synchronous.
17195
17196 2004-05-26 Jim Blandy <jimb@redhat.com>
17197
17198 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
17199
17200 2004-05-24 Randolph Chung <tausq@debian.org>
17201
17202 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
17203 * gdb.asm/pa.inc: New file.
17204
17205 2004-05-22 Mark Kettenis <kettenis@gnu.org>
17206
17207 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
17208
17209 2004-05-21 Joel Brobecker <brobecker@gnat.com>
17210 Daniel Jacobowitz <drow@mvista.com>
17211
17212 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
17213 GDB prompt.
17214
17215 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17216
17217 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
17218 setjmp/longjmp. Use sigaction instead of signal.
17219
17220 2004-05-19 J. Brobecker <brobecker@gnat.com>
17221 Michael Snyder <msnyder@redhat.com>
17222
17223 * gdb.threads/pthread_cond_wait.c: New file.
17224 * gdb.threads/pthread_cond_wait.exp: New testcase.
17225
17226 2004-05-13 Andrew Cagney <cagney@redhat.com>
17227
17228 * gdb.base/signull.exp, gdb.base/signull.c: New files.
17229 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
17230
17231 2004-05-11 Andrew Cagney <cagney@redhat.com>
17232
17233 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
17234 fixed but revealed gdb/1639.
17235
17236 2004-05-10 Andrew Cagney <cagney@redhat.com>
17237
17238 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
17239 func1" and "next to 2nd alarm", kernel bug avoided.
17240
17241 2004-05-10 Daniel Jacobowitz <dan@debian.org>
17242
17243 PR external/1568
17244 * gdb.base/bigcore.exp: Check the size of the dumped core file.
17245 XFAIL if it is smaller than bytes_allocated.
17246 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
17247 (main): Make chunks_allocated unsigned. Correct comment.
17248
17249 2004-05-07 Joel Brobecker <brobecker@gnat.com>
17250
17251 * gdb.arch/powerpc-aix-prologue.c: New file.
17252 * gdb.arch/powerpc-aix-prologue.exp: New file.
17253
17254 2004-05-07 Jim Blandy <jimb@redhat.com>
17255
17256 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
17257 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
17258
17259 2004-05-06 Joel Brobecker <brobecker@gnat.com>
17260
17261 * gdb.base/sep.exp: No longer setup_kfail when the program was
17262 built with dwarf2.
17263
17264 2004-05-05 Jim Ingham <jingham@apple.com>
17265
17266 * gdb.base/pending.exp: Make sure pending breakpoints
17267 preserve the ignore count.
17268
17269 2004-04-27 Jerome Guitton <guitton@gnat.com>
17270
17271 * i386-prologue.exp: Add testcase for jump instruction as first
17272 instruction of the real code.
17273 * i386-prologue.c (jump_at_beginning): New function.
17274
17275 2004-04-28 Mark Kettenis <kettenis@gnu.org>
17276
17277 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
17278 x86_64-*-*.
17279
17280 2004-04-28 Mark Kettenis <kettenis@gnu.org>
17281
17282 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
17283 i*86-*-*.
17284
17285 2004-04-25 Mark Kettenis <kettenis@gnu.org>
17286
17287 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
17288 expression that checks the return type.
17289
17290 2004-04-23 Andrew Cagney <cagney@redhat.com>
17291
17292 * gdb.base/call-sc.exp: New test of scalar call/return values.
17293 * gdb.base/call-sc.c: Ditto.
17294
17295 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17296
17297 * gdb.threads/manythreads.c: Reduce thread stack size.
17298
17299 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
17300
17301 * gdb.threads/manythreads.c: Add copyright notice.
17302
17303 2004-04-23 Andrew Cagney <cagney@redhat.com>
17304
17305 * gdb.base/siginfo.exp: Better handle step out of signal.
17306 * gdb.base/sigstep.exp: Ditto.
17307
17308 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
17309 Daniel Jacobowitz <drow@mvista.com>
17310
17311 * gdb.threads/manythreads.c: New testcase.
17312 * gdb.threads/manythreads.exp: Ditto.
17313
17314 2004-04-22 Jim Blandy <jimb@redhat.com>
17315
17316 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
17317 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
17318
17319 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
17320
17321 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
17322
17323 2004-04-21 Andrew Cagney <cagney@redhat.com>
17324
17325 * gdb.base/sigstep.c: New file.
17326 * gdb.base/sigstep.exp: New file.
17327
17328 2004-04-16 Joel Brobecker <brobecker@gnat.com>
17329
17330 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
17331 call to observer_notify_normal_stop.
17332
17333 2004-04-15 Andrew Cagney <cagney@redhat.com>
17334
17335 * gdb.base/siginfo.c: New file.
17336 * gdb.base/siginfo.exp: New file.
17337
17338 2004-04-12 J. Brobecker <brobecker@gnat.com>
17339
17340 * gdb.base/sep.exp: Fix typo in comment.
17341
17342 2004-04-12 J. Brobecker <brobecker@gnat.com>
17343
17344 * gdb.base/sep.c: New file.
17345 * gdb.base/sep-proc.c: New file.
17346 * gdb.base/sep.exp: New testcase.
17347
17348 2004-04-09 Mark Kettenis <kettenis@gnu.org>
17349
17350 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
17351 support.
17352
17353 2004-04-05 Andrew Cagney <cagney@redhat.com>
17354
17355 * gdb.base/sigaltstack.c: New file.
17356 * gdb.base/sigaltstack.exp: New file.
17357
17358 2004-04-04 Joel Brobecker <brobecker@gnat.com>
17359
17360 * gdb.base/foll-fork.exp: Update the expected output for
17361 "help set follow-fork-mode", to match a change that was made
17362 to the help of this variable on 2004-01-13.
17363
17364 2004-04-01 Joel Brobecker <brobecker@gnat.com>
17365
17366 * lib/ada.exp: Add copyright notice.
17367 * bar.ads: Likewise.
17368 * bar.adb: Likewise.
17369 * null_record.adb: Likewise.
17370 * null_record.exp: Likewise.
17371 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
17372
17373 2004-04-01 Joel Brobecker <brobecker@gnat.com>
17374
17375 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
17376 * configure: Regenerate.
17377
17378 2004-04-01 Joel Brobecker <brobecker@gnat.com>
17379
17380 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
17381 to build the application. Remove the message printed when in
17382 verbose mode, redundant with the UNSUPPORTED message above.
17383
17384 2004-03-31 Joel Brobecker <brobecker@gnat.com>
17385
17386 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
17387 * gdb.ada (null_record.exp): New testcase.
17388
17389 2004-03-31 Joel Brobecker <brobecker@gnat.com>
17390
17391 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
17392
17393 2004-03-31 Joel Brobecker <brobecker@gnat.com>
17394
17395 * gdb.ada: New subdirectory.
17396 * gdb.ada/Makefile.in: New file.
17397 * gdb.ada/gnat_ada.gpr.in: New file.
17398
17399 2004-03-31 Joel Brobecker <brobecker@gnat.com>
17400
17401 * lib/ada.exp: New file.
17402
17403 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
17404
17405 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
17406 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
17407
17408 2004-03-22 Andrew Cagney <cagney@redhat.com>
17409
17410 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
17411 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
17412 Problem identified by Ulrich Weigand.
17413
17414 2004-03-17 David Carlton <carlton@kealia.com>
17415
17416 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
17417 PR c++/826.
17418
17419 2004-03-16 Roland McGrath <roland@redhat.com>
17420
17421 * gdb.base/auxv.exp: New file.
17422 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
17423
17424 2004-03-12 David Carlton <carlton@kealia.com>
17425
17426 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
17427 * gdb.cp/pr-1553.cc: Ditto.
17428 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
17429 pass branch.
17430
17431 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
17432
17433 * gdb.cp/templates.exp: Accept more template types.
17434
17435 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17436
17437 From Corinna Vinschen with modifications.
17438 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
17439 local variable obj_with_enum.
17440 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
17441 results with obj_with_enum.
17442
17443 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17444
17445 * gdb.cp/classes.cc: New file, copied from misc.cc.
17446 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
17447
17448 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17449
17450 * gdb.cp/misc.cc: Add copyright notice.
17451
17452 2004-03-05 David Carlton <carlton@kealia.com>
17453
17454 * gdb.cp/rtti.exp: Add 'print *obj3' test.
17455 * gdb.cp/rtti.h: Update copyright.
17456 (namespace n2::n3): New.
17457 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
17458 (n2::n3::func3): New.
17459 (main): Call n2::n3::func3.
17460 * gdb.cp/rtti2.cc: Update copyright.
17461 (n2::create3): New.
17462
17463 2004-03-04 Mark Kettenis <kettenis@gnu.org>
17464
17465 * gdb.asm/openbsd.inc: Fix typo.
17466
17467 2004-03-03 Fred Fish <fnf@redhat.com>
17468
17469 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
17470 "val" instead of unused "size". Update copyright year.
17471
17472 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
17473
17474 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
17475 to use unsigned char.
17476 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
17477 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
17478
17479 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
17480
17481 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
17482 line of output.
17483
17484 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
17485
17486 * gdb.base/relocate.c (dummy): Initialize.
17487
17488 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
17489
17490 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
17491 a breakpoint at exit.
17492
17493 2004-02-27 Fred Fish <fnf@redhat.com>
17494
17495 * gdb.base/chng-syms.exp: Add expect condition to match failing
17496 case that isn't a timeout.
17497
17498 2004-02-27 Andrew Cagney <cagney@redhat.com>
17499
17500 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
17501 support.
17502
17503 2004-02-26 Fred Fish <fnf@redhat.com>
17504
17505 * gdb.arch/gdb1431.c: Remove.
17506 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
17507 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
17508 of "until" incorrectly.
17509
17510 2004-02-26 J. Brobecker <brobecker@gnat.com>
17511
17512 * gdb.cp/class2.cc (empty): New class.
17513 (refer): New function.
17514 (main): Declare an object of type empty and use it.
17515 * gdb.cp/class2.exp: Print the value of an object of type empty.
17516
17517 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
17518
17519 * gdb.base/langs.exp: Update query string to match the
17520 new nquery format used for pending breakpoints.
17521
17522 2004-02-26 Andrew Cagney <cagney@redhat.com>
17523
17524 Fix PR i18n/1570.
17525 * gdb.base/charset.c: Update copyright notice.
17526 (main, init_string): Remove the escape character '\e' tests.
17527 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
17528 * gdb.base/charset.exp (valid_host_charset): Ditto.
17529 * gdb.base/setvar.exp: Ditto.
17530
17531 2004-02-24 Andrew Cagney <cagney@redhat.com>
17532
17533 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
17534 mmapped data in core file" PASS and FAIL messages consistent.
17535
17536 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
17537 setting a breakpoint. Work around PR java/1565.
17538
17539 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
17540
17541 * lib/gdb.exp (gdb_breakpoint): Update query string to match
17542 new nquery format.
17543 * gdb.base/pending.exp: Ditto.
17544
17545 2004-02-22 Mark Kettenis <kettenis@gnu.org>
17546
17547 * configure.in: Run stabs tests on *BSD.
17548 * configure: Regenerated.
17549
17550 2004-02-21 Mark Kettenis <kettenis@gnu.org>
17551
17552 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
17553
17554 2004-02-20 Fred Fish <fnf@redhat.com>
17555
17556 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
17557 blank in test for "returns short", for consistency with other
17558 "returns xxx" tests. Update copyright year.
17559
17560 2004-02-19 Fred Fish <fnf@redhat.com>
17561
17562 New testcase for PR breakpoint/1558.
17563 * gdb.arch/gdb1558.exp: New file.
17564 * gdb.arch/gdb1558.c: New file.
17565
17566 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
17567
17568 * gdb.base/nodebug.exp: Fix typo.
17569
17570 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17571
17572 Committed by Jim Blandy <jimb@redhat.com>.
17573
17574 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
17575
17576 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
17577
17578 * gdb.base/float.exp: Support s390*-*-* targets.
17579
17580 2004-02-17 Adam Fedor <fedor@gnu.org>
17581
17582 * gdb.base/gdb1555.exp: New file.
17583 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
17584
17585 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
17586
17587 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
17588
17589 2004-02-16 Fred Fish <fnf@redhat.com>
17590
17591 * gdb.arch/gdb1291.c: Remove
17592 * gdb.arch/gdb1291.s: New test input file.
17593 * gdb.arch/gdb1291.exp: Expand test to check case that should not
17594 fail. Test for correct result, known incorrect result, other
17595 failures and timeouts.
17596
17597 2004-02-16 Andrew Cagney <cagney@redhat.com>
17598
17599 * gdb.base/bigcore.exp: New file.
17600 * gdb.base/bigcore.c: New file.
17601
17602 2004-02-13 Andrew Cagney <cagney@redhat.com>
17603
17604 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
17605 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
17606 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
17607 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
17608 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
17609 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
17610 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
17611 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
17612 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
17613 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
17614
17615 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
17616
17617 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
17618 executed is an alloc instruction.
17619
17620 2004-02-11 David Carlton <carlton@kealia.com>
17621
17622 * gdb.cp/breakpoint.exp: New.
17623 * gdb.cp/breakpoint.cc: New.
17624
17625 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
17626
17627 Partial fix for PR gdb/1543.
17628 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
17629 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
17630 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
17631 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
17632 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
17633 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
17634 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
17635 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
17636 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
17637 to bug-gdb@prep.ai.mit.edu .
17638 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
17639 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
17640 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
17641 Likewise.
17642
17643 2004-02-10 Andrew Cagney <cagney@redhat.com>
17644
17645 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
17646 using gdb_internal_error_resync.
17647
17648 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
17649
17650 * gdb.threads/thread-specific.exp: Stop early if no threads are
17651 found.
17652
17653 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
17654
17655 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
17656
17657 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
17658
17659 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
17660 breakpoints.
17661
17662 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
17663
17664 * config/sim.exp (gdb_load): Handle $arg == "".
17665 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
17666 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
17667
17668 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
17669
17670 * gdb.base/maint.exp: Update test to reflect
17671 obstack changes.
17672
17673 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
17674
17675 * gdb.base/pendshr.c (pendfunc): New function that calls
17676 pendfunc1.
17677 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
17678
17679 2004-02-04 Fred Fish <fnf@redhat.com>
17680
17681 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
17682 function symbols and update copyright years.
17683 * gdb.arch/gdb1291.c: Ditto.
17684
17685 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17686
17687 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
17688
17689 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17690
17691 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
17692
17693 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17694
17695 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
17696
17697 2004-02-02 Fred Fish <fnf@redhat.com>
17698
17699 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
17700 remote targets. Update copyright years.
17701
17702 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
17703
17704 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
17705 support.
17706 * gdb.base/langs.exp: Fix test which attempts to create
17707 breakpoint on non-existent function to handle new pending
17708 support.
17709 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
17710 a breakpoint.
17711 * gdb.base/pending.exp: New test.
17712 * gdb.base/pending.c: New file.
17713 * gdb.base/pendshr.c: Ditto.
17714
17715 2004-02-02 David Carlton <carlton@kealia.com>
17716
17717 * gdb.cp/overload.exp: Add overloadNamespace tests.
17718 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
17719 (overloadNamespace, XXX): New.
17720 (main): Call XXX::marker2.
17721
17722 2004-02-01 Fred Fish <fnf@redhat.com>
17723
17724 * gdb.base/dump.exp: Use runto_main instead of "runto main".
17725 * gdb.base/finish.exp: Ditto.
17726 * gdb.base/gcore.exp: Ditto.
17727 * gdb.base/huge.exp: Ditto.
17728 * gdb.base/info-proc.exp: Ditto.
17729 * gdb.base/return2.exp: Ditto.
17730 * gdb.threads/gcore-thread.exp: Ditto.
17731
17732 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
17733
17734 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
17735
17736 2004-02-01 Mark Kettenis <kettenis@gnu.org>
17737
17738 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
17739 that opening the file succeeds on OpenBSD.
17740
17741 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
17742
17743 * gdb.threads/thread-specific.c: New file.
17744 * gdb.threads/threads-specific.exp: New test script.
17745 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
17746 to expect_out.
17747
17748 2004-02-01 Mark Kettenis <kettenis@gnu.org>
17749
17750 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
17751 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
17752 only on the "print_small_structs from print_long_arg_list" test.
17753
17754 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
17755
17756 * gdb.base/completion.exp: Kill a stray backslash.
17757
17758 From Jim Ingham <jingham@apple.com>:
17759 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
17760 agrees with the result from sending a tab.
17761
17762 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
17763
17764 * gdb.base/chng-syms.exp: Remove stray newline.
17765
17766 2004-01-31 Mark Kettenis <kettenis@gnu.org>
17767
17768 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
17769 *-*-openbsd*.
17770 * gdb.asm/openbsd.inc: New file.
17771
17772 2004-01-30 Mark Kettenis <kettenis@gnu.org>
17773
17774 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
17775 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
17776 *-*solaris2*. Remove commented out default settings for
17777 asm-flags. Replace gdb_compile with target_link.
17778
17779 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
17780
17781 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
17782 for all tests. Remove old hp-ux and cygnus xfail cases.
17783
17784 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
17785
17786 * gdb.base/chng-syms.exp: New file.
17787 * gdb.base/chng-syms.c: New file.
17788
17789 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17790
17791 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
17792 Provide arms for current output in all my configurations.
17793
17794 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17795
17796 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
17797 * lib/compiler.cc: Likewise.
17798 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
17799 get the right preprocessor. Eval the output directly. Remove
17800 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
17801 hp_f77_compiler and hp_f90_compiler completely.
17802 (gdb_preprocess): Delete.
17803 (get_compiler): Delete.
17804
17805 2004-01-24 Mark Kettenis <kettenis@gnu.org>
17806
17807 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
17808 <string.h>.
17809
17810 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
17811
17812 * gdb.mi/mi-stack.exp: Update copyright.
17813
17814 2004-01-23 David Carlton <carlton@kealia.com>
17815
17816 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
17817 test for cp_lookup_transparent_type.
17818 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
17819 call them.
17820
17821 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
17822
17823 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
17824 after -var-update.
17825
17826 2004-01-23 David Carlton <carlton@kealia.com>
17827
17828 * gdb.cp/namespace.cc (C::ensureRefs): New.
17829 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
17830
17831 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
17832
17833 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
17834 case "-stack-list-locals 2".
17835 * gdb.mi/mi-var-child.exp: Test for case
17836 "-var-list-children --all-values NAME".
17837
17838 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
17839
17840 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
17841
17842 2004-01-18 Mark Kettenis <kettenis@gnu.org>
17843
17844 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
17845 used with gdb_test_multiple.
17846
17847 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
17848 read at address 0. This fixes PR testsuite/1504.
17849
17850 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
17851
17852 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
17853 Remove downloading, guessing the host executable, the calls to
17854 gdb_file_cmd and gdb_target_cmd, and "load" support.
17855 (infer_host_exec): New function broken out from gdb_load.
17856 (gdb_load): New wrapper for gdbserver_gdb_load.
17857 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
17858 gdb_target_cmd. Use -target-select.
17859 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
17860 Download binaries to the host. Clear last_mi_remote_file when
17861 we load a new binary.
17862 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
17863 call gdbserver_gdb_load and mi_gdb_target_cmd.
17864
17865 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17866
17867 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
17868 type patterns.
17869
17870 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17871
17872 * gdb.cp/templates.exp: Fix typo in test name of
17873 "print Foo<volatile char*>::foo".
17874
17875 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17876
17877 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
17878
17879 2004-01-16 Ben Elliston <bje@wasabisystems.com>
17880
17881 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
17882 (clean mostlyclean): Remove empty rm.
17883
17884 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17885
17886 * gdb.base/setvar.exp: Add copyright years.
17887
17888 2004-01-14 David Carlton <carlton@bactrian.org>
17889
17890 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
17891 PR c++/1511 and update coment.
17892 * gdb.cp/templates.exp: Update patterns to match current output.
17893 If changes involve something other than whitespace, KFAIL
17894 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
17895
17896 2004-01-14 David Carlton <carlton@kealia.com>
17897
17898 * gdb.cp/namespace.exp: Add tests involving classes defined within
17899 namespaces.
17900 * gdb.cp/namespace.cc (C::CClass): New.
17901 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
17902
17903 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
17904
17905 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
17906 what debug info we have. Print a better message if something goes
17907 wrong while producing the separate debug info file.
17908
17909 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17910
17911 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
17912
17913 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17914
17915 * gdb.base/callfuncs.c: Add copyright notice.
17916
17917 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
17918
17919 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
17920 inheritance. PR gdb/1498, PR gcc/13539.
17921
17922 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
17923
17924 * gdb.threads/gcore-thread.exp: Prefix name of binary with
17925 test specific name.
17926 * gdb.mi/gdb669.exp: Ditto.
17927 * gdb.mi/mi-pthreads.exp: Ditto.
17928 * gdb.mi/mi1-pthreads.exp: Ditto.
17929 * gdb.mi/mi2-pthreads.exp: Ditto.
17930
17931 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17932
17933 * gdb.cp/member-ptr.cc: Add copyright notice.
17934
17935 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17936
17937 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
17938 some patterns for recent versions of gcc and hpacc. Delete
17939 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
17940 Delete tests that access a NULL pointer-to-member-data. This
17941 script is still disabled for gcc.
17942
17943 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
17944
17945 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
17946 escaped correctly.
17947
17948 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
17949
17950 * gdb.base/sepdebug.exp: New file.
17951 * gdb.base/sepdebug.c: New file.
17952 * lib/gdb.exp (separate_debug_filename): New procedure.
17953 (gdb_gnu_strip_debug): New procedure.
17954
17955 2004-01-12 Andrew Cagney <cagney@redhat.com>
17956
17957 * gdb.mi/ChangeLog: Delete file. Renamed to ...
17958 * gdb.mi/ChangeLog-1999-2003: New file.
17959
17960 2004-01-12 Andrew Cagney <cagney@redhat.com>
17961
17962 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
17963 "Renaming a directory to a non-empty directory returns ENOTEMPTY
17964 or EEXIST", treat EBUSY as an XFAIL.
17965
17966 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
17967
17968 * gdb.base/scope.exp: Remove obsolete setup_xfail for
17969 hp_cc_compiler.
17970
17971 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
17972
17973 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
17974 decorations.
17975
17976 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
17977
17978 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
17979 and "(aCC)" decorations. Remove obsolete doco about old
17980 test results.
17981
17982 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17983
17984 * gdb.cp/exception.exp: Fix typo in doco.
17985
17986 2004-01-09 Mark Kettenis <kettenis@gnu.org>
17987
17988 * gdb.base/gdb1476.exp: Fix typo.
17989
17990 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17991
17992 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
17993 file.
17994
17995 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17996
17997 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
17998 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
17999 Use gdb_compile. Remove restriction on gcc. Add some patterns
18000 for recent version of gdb. Delete second half, which was a copy
18001 of the first half with different build flags. This test is
18002 still disabled because it is still not ready for production.
18003
18004 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18005
18006 * gdb.cp/exception.cc: Add copyright notice.
18007 * gdb.cp/exception.exp: Add a notice that this file is broken
18008 because of line number changes caused by addition of copyright
18009 notice.
18010
18011 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18012
18013 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
18014 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
18015
18016 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18017
18018 * gdb.cp/classes.exp: Accept gnu abi 2.
18019 * gdb.cp/derivation.exp: Likewise.
18020 * gdb.cp/overload.exp: Likewise.
18021 * gdb.cp/virtfunc.exp: Likewise.
18022
18023 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18024
18025 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
18026 semicolon after end of function.
18027
18028 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18029
18030 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
18031 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
18032 boilerplate code for compiling and running the program under
18033 test. Add some string method tests.
18034
18035 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18036
18037 * gdb.cp/bs15503.cc: Add copyright notice.
18038 * gdb.cp/bs15503.exp: Adjust line number.
18039
18040 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18041
18042 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
18043 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
18044
18045 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18046
18047 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
18048 hp_cc_compiler.
18049
18050 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18051
18052 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
18053 * gdb.cp/ctti.exp: Use the marker instead of "next".
18054 With gcc, run further before bailing.
18055
18056 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18057
18058 * gdb.cp/cttiadd.cc: Add copyright notice.
18059 * gdb.cp/cttiadd1.cc: Likewise.
18060 * gdb.cp/cttiadd2.cc: Likewise.
18061 * gdb.cp/cttiadd3.cc: Likewise.
18062
18063 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18064
18065 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
18066 Use gdb_test, gdb_test_multiple. Use floating-point values that
18067 have exact representations in IEEE-ish formats.
18068
18069 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18070
18071 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
18072 compilers. Delete duplicate call to get_compiler_info.
18073 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
18074 * gdb.base/volatile.exp: Likewise.
18075
18076 2004-01-07 Mark Kettenis <kettenis@gnu.org>
18077
18078 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
18079 memory at address 0.
18080
18081 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18082
18083 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
18084 to test for hp-ux assembler. Fix copyright years.
18085
18086 2004-01-07 Andrew Cagney <cagney@redhat.com>
18087
18088 * gdb.base/fileio.c (strerrno): Add "EBUSY".
18089
18090 2004-01-07 Andrew Cagney <cagney@redhat.com>
18091
18092 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
18093 when creating the read-only file. From analysis by Roland McGrath
18094 and Elena Zannoni.
18095
18096 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18097
18098 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
18099
18100 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18101
18102 * gdb.base/cvexpr.c: Be type-safe with function pointers and
18103 data pointers.
18104
18105 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18106
18107 * gdb.cp/m-static.exp: Compile one source file at a time.
18108 Delete unused call to get_compiler_info.
18109
18110 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18111
18112 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
18113 * gdb.base/call-rt-st.exp: Likewise.
18114 * gdb.base/nodebug.exp: Likewise.
18115 * gdb.base/volatile.exp: Likewise.
18116 * gdb.cp/ref-types.exp: Likewise.
18117 * gdb.cp/templates.exp: Likewise.
18118
18119 2004-01-05 Mark Kettenis <kettenis@gnu.org>
18120
18121 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
18122
18123 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
18124
18125 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
18126 hppa*-hp-hpux*.
18127
18128 2004-01-04 Mark Kettenis <kettenis@gnu.org>
18129
18130 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18131 x86_64-*-*.
18132
18133 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18134 sparc64-*-* and sparc*-solaris2*.
18135
18136 2004-01-04 Mark Kettenis <kettenis@gnu.org>
18137
18138 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
18139 return ${tests}" test. The ${tests} already mentions the
18140 filename.
18141
18142 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18143
18144 * gdb.cp/local.exp: Accept gcc abi 2.
18145
18146 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18147
18148 * gdb.cp/templates.exp: Accept gcc abi 2.
18149
18150 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18151
18152 * lib/compiler.cc: Remove supports_template_debugging.
18153 * gdb.cp/templates.exp: Do not test supports_template_debugging.
18154
18155 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18156
18157 * gdb.cp/namespace.exp: Accept gcc abi 2.
18158
18159 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18160
18161 * gdb.cp/method.exp: Accept gcc abi 2.
18162
18163 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18164
18165 * gdb.cp/classes.exp: Generate identical results as old version.
18166 * gdb.cp/derivation.exp: Likewise.
18167 * gdb.cp/overload.exp: Likewise.
18168 * gdb.cp/virtfunc.exp: Likewise.
18169
18170 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18171
18172 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
18173 mysterious bug with sourceware version of expect.
18174
18175 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18176
18177 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
18178 current versions of gcc, including gcc abi 2. Remove gratuitous
18179 restart of test program. Use gdb_test_multiple and gdb_test for
18180 all tests. Add patterns to xfail missing "const" in "const char *"
18181 and kfail PR gdb/1155.
18182
18183 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18184
18185 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
18186 current versions of gcc, including gcc abi 2. Remove gratuitous
18187 restart of test program. Use gdb_test_multiple and gdb_test for
18188 all tests. Add patterns to kfail PR gdb/1498.
18189
18190 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18191
18192 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
18193 current versions of gcc, including gcc abi 2. Use "breakpoint"
18194 and "continue" instead of restarting the target program. Use
18195 gdb_test_multiple and gdb_test for all tests.
18196
18197 2004-01-01 Mark Kettenis <kettenis@gnu.org>
18198
18199 * gdb.asm/asm-source.exp: Update copyright year. Link statically
18200 for *-*-solaris2*.
18201
18202 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18203
18204 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
18205 current versions of gcc, including gcc abi 2. Use "breakpoint"
18206 and "continue" instead of restarting the target program several
18207 times. Use gdb_test_multiple and gdb_test for all tests.
18208
18209 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
18210
18211 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
18212 source files.
18213
18214 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18215
18216 * gdb.base/environ.exp: Handle compiling test case from multiple
18217 source files.
18218
18219 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18220
18221 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
18222
18223 2003-12-17 Jim Blandy <jimb@redhat.com>
18224
18225 * gdb.base/freebpcmd.c: Add copyright notice.
18226
18227 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
18228
18229 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18230
18231 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
18232
18233 2003-12-13 Jim Blandy <jimb@redhat.com>
18234
18235 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
18236
18237 2003-12-12 Kevin Buettner <kevinb@redhat.com>
18238
18239 * gdb.asm/frv.inc: New file.
18240 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
18241
18242 2003-12-09 Fred Fish <fnf@redhat.com>
18243
18244 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
18245 functions to break1.c and leave prototypes behind. Add more
18246 "set breakpoint NN here" comments.
18247 * gdb.base/break1.c: New file.
18248
18249 * gdb.base/break.exp: Handle compiling test case from multiple
18250 source files and change source file references as needed.
18251 * gdb.base/completion.exp: Ditto.
18252 * gdb.base/condbreak.exp: Ditto.
18253 * gdb.base/define.exp: Ditto.
18254 * gdb.base/ena-dis-br.exp: Ditto.
18255 * gdb.base/info-proc.exp: Ditto.
18256 * gdb.base/maint.exp: Ditto.
18257 * gdb.base/until.exp: Ditto.
18258
18259 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
18260 hardcoded line numbers.
18261 * gdb.base/define.exp: Ditto.
18262 * gdb.base/ena-dis-br.exp: Ditto.
18263 * gdb.base/maint.exp: Ditto.
18264 * gdb.base/until.exp: Ditto.
18265
18266 * gdb.base/completion.exp: Use "break1" for completion tests since
18267 "break" is no longer a unique prefix.
18268
18269 2003-12-06 Andrew Cagney <cagney@redhat.com>
18270
18271 * gdb.base/structs.exp (test_struct_returns): When applicable, set
18272 "return_value_unimplemented". When an unimplemented struct return
18273 architecture, report incorrect values as a KFAIL
18274
18275 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18276
18277 * gdb.cp/rtti.exp: Accept new wording of warning from
18278 cp_lookup_rtti_type.
18279
18280 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18281
18282 Partial fix for PR testsuite/1456.
18283 * gdb.base/scope.exp (test_at_main): Replace references to
18284 gcc_compiled with calls to test_compiler_info.
18285 (test_at_foo): Likewise.
18286 (test_at_bar): Likewise.
18287
18288 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
18289
18290 Partial fix for PR testsuite/1456.
18291 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
18292 to test_compiler_info.
18293
18294 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
18295
18296 * gdb.base/so-impl-ld.exp: Update copyright notice.
18297
18298 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
18299
18300 Partial fix for PR testsuite/1456.
18301 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
18302 to test_compiler_info.
18303
18304 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18305
18306 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
18307 from current versions of gdb. Clean up regular expressions.
18308 Delete redundant timeout case.
18309
18310 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18311
18312 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
18313 from current versions of gdb. Clean up regular expressions.
18314 Delete redundant timeout case.
18315
18316 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
18317
18318 Partial fix for PR testsuite/1456.
18319 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
18320 gcc_compiled with call to test_compiler_info.
18321
18322 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
18323
18324 Partial fix for PR testsuite/1456.
18325 * gdb.base/list.exp (test_list_function): Delete unused declaration
18326 of gcc_compiled.
18327
18328 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
18329
18330 Partial fix for PR testsuite/1456.
18331 * gdb.base/complex.exp: Replace reference to gcc_compiled with
18332 call to test_compiler_info.
18333
18334 2003-11-29 Mark Kettenis <kettenis@gnu.org>
18335
18336 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
18337 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
18338 it to create the appropriate note.inc.
18339 * gdb.asm/asmsrc1.s: Include "note.inc".
18340 * gdb.asm/netbsd.inc: New file.
18341 * gdb.asm/empty.inc: New file.
18342
18343 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18344
18345 Partial fix for PR testsuite/1456.
18346 * gdb.base/constvars.exp: Replace references to gcc_compiled with
18347 calls to test_compiler_info.
18348
18349 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
18350
18351 Partial fix for PR testsuite/1456.
18352 * gdb.base/volatile.exp: Replace references to gcc_compiled with
18353 calls to test_compiler_info.
18354
18355 2003-11-27 Mark Kettenis <kettenis@gnu.org>
18356
18357 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
18358 pattern for the KFAILs.
18359
18360 2003-11-25 Adam Fedor <fedor@gnu.org>
18361
18362 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
18363 * gdb.objc/objcdecode.m: New file.
18364
18365 2003-11-25 Adam Fedor <fedor@gnu.org>
18366
18367 * gdb.objc/nondebug.exp: Test for PR objc/1236.
18368 * gdb.objc/nondebug.m: New file.
18369
18370 2003-11-26 Ben Elliston <bje@wasabisystems.com>
18371
18372 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
18373 NetBSD as it does on FreeBSD. Modelled on a similar change by
18374 Mark Kettenis on 2003-05-30.
18375 (link-flags): Set to "--entry _start" regardless of target.
18376 Special linker flags are to be appended to $link-flags.
18377 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
18378
18379 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18380
18381 * gdb.cp/method.exp: Accept output of new demangler.
18382
18383 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18384
18385 * gdb/class2.exp: New file.
18386 * gdb/class2.cc: New file.
18387
18388 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18389
18390 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
18391 of new demangler.
18392
18393 2003-11-23 Mark Kettenis <kettenis@gnu.org>
18394
18395 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
18396 of gdb_test "run".
18397
18398 2003-11-23 Mark Kettenis <kettenis@gnu.org>
18399
18400 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
18401 "continue" into "run".
18402
18403 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
18404
18405 Partial fix for PR testsuite/1456.
18406 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
18407 call to test_compiler_info.
18408 * gdb.cp/ctti.exp: Likewise.
18409 * gdb.cp/derivation.exp: Likewise.
18410 * gdb.cp/member-ptr.exp: Likewise.
18411 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
18412 reference to gcc_compiled.
18413
18414 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
18415
18416 Fix PR testsuite/1463.
18417 * gdb.base/structs.exp (start_structs_test): Call
18418 get_debug_format before using the debug format.
18419
18420 2003-11-22 Andrew Cagney <cagney@redhat.com>
18421
18422 * lib/gdb.exp (gdb_test_multiple): Add simple example.
18423 * gdb.base/structs.exp: Use gdb_test_multiple.
18424
18425 2003-11-20 Andrew Cagney <cagney@redhat.com>
18426
18427 * gdb.base/structs.exp: Handle and recover from internal errors.
18428 Replace "foo${n}" with "foo<n>" in test messages.
18429
18430 * gdb.base/structs.exp: Update copyright. Rewrite.
18431 * gdb.base/structs.c: Update copyright. Rewrite.
18432
18433 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
18434 resync count exceeded.
18435
18436 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
18437 from the internal error.
18438 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
18439 Original from Jim Blandy.
18440 (gdb_test_multiple): Use gdb_internal_error_resync.
18441
18442 2003-11-19 Andrew Cagney <cagney@redhat.com>
18443
18444 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
18445 KFAIL.
18446
18447 2003-11-17 Mark Kettenis <kettenis@gnu.org>
18448
18449 New testcase for PR backtrace/1435.
18450 * gdb.arch/i386-unwind.exp: New file.
18451 * gdb.arch/i386-unwind.c: New file.
18452
18453 2003-11-17 Andrew Cagney <cagney@redhat.com>
18454
18455 * lib/gdb.exp (compiler_info): New global.
18456 (test_compiler_info): New function.
18457 (get_compiler_info): Set compiler_info.
18458 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
18459 "compiler_info" to gcc-<major>-<minor>.
18460
18461 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
18462
18463 * gdb.trace/configure: Remove.
18464
18465 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
18466
18467 * gdb.base/break.c: Add comments to aid finding line numbers for
18468 breakpoints.
18469 * gdb.base/break.exp: Remove all references to explicit line
18470 numbers.
18471
18472 2003-11-11 Nick Clifton <nickc@redhat.com>
18473
18474 * gdb.base/shreloc.exp: Do not run for targets which do not
18475 support shared objects.
18476
18477 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
18478
18479 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
18480 Don't run tests if nofileio flag is given.
18481
18482 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
18483
18484 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
18485 as well as 'Watchpoint'.
18486
18487 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
18488
18489 Reported by Jim Ingham <jingham@apple.com>:
18490 * gdb.base/annota1.exp: Match at least one occurrence of the
18491 signal handler annotation.
18492
18493 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
18494
18495 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
18496 as well as 'Watchpoint'.
18497
18498 2003-11-05 Michael Chastain <mec@shout.net>
18499
18500 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
18501
18502 2003-11-03 Kris Warkentin <kewarken@qnx.com>
18503
18504 * gdb.arch/gdb1291.c: New test file.
18505 * gdb.arch/gdb1291.exp: New test script.
18506 * gdb.arch/gdb1431.c: New test file.
18507 * gdb.arch/gdb1431.exp: New test script.
18508
18509 2003-10-22 Michael Chastain <mec@shout.net>
18510
18511 * gdb.mi/pthreads.c: Add copyright notice.
18512
18513 2003-10-22 Michael Chastain <mec@shout.net>
18514
18515 * gdb.threads/pthreads.c: Add copyright notice.
18516
18517 2003-10-20 Michael Chastain <mec@shout.net>
18518
18519 * gdb.base/gdb1056.exp: New test script.
18520
18521 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
18522
18523 * gdb.threads/killed.exp: Use gdb_run_cmd.
18524
18525 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
18526
18527 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
18528 create a core file.
18529 * gdb.threads/gcore-thread.exp: Likewise.
18530
18531 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
18532
18533 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
18534 type, based on char type.
18535 (struct bit_flags_short_t): New bitfield type, based on short type.
18536 (init_bit_flags_char): New fuction.
18537 (init_bit_flags_short): Ditto.
18538 (print_bit_flags_char): Ditto.
18539 (print_bit_flags_short): Ditto.
18540 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
18541
18542 2003-10-11 Michael Chastain <mec@shout.net>
18543
18544 * gdb.base/call-rt-st.exp: Update copyright year.
18545
18546 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
18547
18548 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
18549 * gdb.disasm/sh3.s: Ditto.
18550
18551 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
18552
18553 * gdb.threads/switch-threads.exp: New test.
18554 * gdb.threads/switch-threads.c: New source file.
18555
18556 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
18557
18558 * gdb.base/ending-run.exp: Add sh specific case.
18559
18560 2003-10-06 Andrew Cagney <cagney@redhat.com>
18561
18562 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
18563 * gdb.disasm/mn10200.exp: Delete obsolete file.
18564
18565 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
18566
18567 * ChangeLog: Correct an entry command.exp -> commands.exp.
18568 * gdb.base/commands.exp (bp_deleted_in_command_test)
18569 (temporary_breakpoint_commands): Check noargs.
18570
18571 2003-09-25 David Carlton <carlton@kealia.com>
18572
18573 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
18574 of some print tests, where appropriate. Add tests for C::D::cd,
18575 E::ce, F::cXfX, G::XgX.
18576 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
18577
18578 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
18579
18580 * lib/java.exp (java_init): Import target_alias before using it.
18581
18582 2003-09-25 David Carlton <carlton@kealia.com>
18583
18584 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
18585
18586 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
18587
18588 * gdb.base/selftest.exp: Accomodate more instruction reordering
18589 weirdness.
18590
18591 2003-09-17 Michael Chastain <mec@shout.net>
18592
18593 * gdb.cp/gdb1355.exp: New file.
18594 * gdb.cp/gdb1355.c: New file.
18595
18596 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
18597
18598 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
18599 * gdb.asm/sh.inc: New file.
18600
18601 2003-09-11 David Carlton <carlton@kealia.com>
18602
18603 * gdb.cp/namespace.exp: Add tests for namespace types.
18604 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
18605 (test_namespace): New.
18606
18607 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
18608
18609 * gdb.base/relocate.exp: Handle new gdb output at startup.
18610 * gdb.stabs/weird.exp: Ditto.
18611
18612 2003-09-08 Michael Chastain <mec@shout.net>
18613
18614 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
18615
18616 2003-09-07 Michael Chastain <mec@shout.net>
18617
18618 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
18619 'parse error'.
18620
18621 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
18622
18623 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
18624
18625 2003-08-30 Michael Chastain <mec@shout.net>
18626
18627 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
18628 * gdb.gdb/observer.exp: Ditto.
18629 * gdb.gdb/xfullpath.exp: Ditto.
18630
18631 2003-08-29 Mark Kettenis <kettenis@gnu.org>
18632
18633 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
18634 *-*-*bsd*.
18635
18636 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
18637
18638 * gdb.base/dump.exp: Skip for ia64.
18639
18640 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
18641
18642 * gdb.asm/asm-source.exp: Add ia64 support.
18643 * gdb.asm/ia64.inc: New file.
18644
18645 2003-08-22 Michael Chastain <mec@shout.net>
18646
18647 * gdb.cp: New directory.
18648 * gdb.cp/*: Copy from gdb.c++/*.
18649 * gdb.c++/*: Remove.
18650 * Makefile.in: Change gdb.c++ to gdb.cp.
18651 * configure.in: Ditto.
18652 * configure: Regnerate.
18653
18654 2003-08-18 Mark Kettenis <kettenis@gnu.org>
18655
18656 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
18657 * gdb.arch/i386-prologue.c (gdb1338): Add function.
18658
18659 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
18660
18661 * mi-var-display.exp (-var-list-children weird): Accept function
18662 pointers with argument types.
18663 * mi1-var-display.exp (-var-list-children weird): Likewise.
18664 * mi2-var-display.exp (-var-list-children weird): Likewise.
18665
18666 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
18667
18668 * gdb.base/annota3.exp: Add missing newline.
18669
18670 2003-08-06 Michael Chastain <mec@shout.net>
18671
18672 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
18673
18674 2003-08-12 Michael Snyder <msnyder@redhat.com>
18675
18676 * gdb.base/float.exp: Add test for SH.
18677
18678 2003-08-10 Mark Kettenis <kettenis@gnu.org>
18679
18680 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
18681
18682 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
18683
18684 * gdb.base/completion.exp: Remove reduntant completion test
18685 on filename.
18686
18687 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
18688
18689 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
18690 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
18691 gdb.trace/save-trace.exp: Make sure that full pathnames are
18692 escaped correctly.
18693
18694 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
18695
18696 * configure.in: Don't generate config.h from config.hin.
18697 * configure: Regenerate.
18698 * config.hin: Remove file.
18699 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
18700 * gdb.threads/pthreads.c: Ditto.
18701
18702 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
18703
18704 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18705 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
18706 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
18707 Replace ld24 with seth/add3.
18708
18709 2003-08-02 Andrew Cagney <cagney@redhat.com>
18710
18711 * gdb.base/annota3.exp: New file.
18712 * gdb.base/annota3.c: New file.
18713 * gdb.c++/annota3.exp: New file.
18714 * gdb.c++/annota3.cc: New file.
18715
18716 2003-07-29 Michael Chastain <mec@shout.net>
18717
18718 * gdb.threads/tls.c (spin): Check errno only if sem_wait
18719 actually failed.
18720 (do_pass): Likewise.
18721 * gdb.threads/tls.exp: Always initialize no_of_threads.
18722
18723 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
18724
18725 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
18726 pattern.
18727 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
18728 * gdb.threads/tls.exp: Recognize one case of the host library not
18729 supporting TLS.
18730
18731 2003-07-27 Andrew Cagney <cagney@redhat.com>
18732
18733 * gdb.base/fileio.exp: Use SH when running commands using
18734 remote_exec.
18735
18736 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
18737
18738 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18739 * gdb.base/relocate.c (dummy): New padding array.
18740
18741 2003-07-22 Michael Snyder <msnyder@redhat.com>
18742
18743 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
18744
18745 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
18746 patterns to be more general, accepting old and new output.
18747 Some output chars (such as '+') also must be quoted.
18748 Some addresses are displayed numerically instead of
18749 symbolically.
18750
18751 2003-07-23 Michael Snyder <msnyder@redhat.com>
18752
18753 * gdb.base/return2.exp: Don't test long-long return.
18754
18755 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
18756 * gdb.disasm/t01_mov.exp: Ditto.
18757 * gdb.disasm/t02_mova.s: Ditto.
18758 * gdb.disasm/t02_mova.exp: Ditto.
18759 * gdb.disasm/t03_add.s: Ditto.
18760 * gdb.disasm/t03_add.exp: Ditto.
18761 * gdb.disasm/t04_sub.s: Ditto.
18762 * gdb.disasm/t04_sub.exp: Ditto.
18763 * gdb.disasm/t05_cmp.s: Ditto.
18764 * gdb.disasm/t05_cmp.exp: Ditto.
18765 * gdb.disasm/t06_ari2.s: Ditto.
18766 * gdb.disasm/t06_ari2.exp: Ditto.
18767 * gdb.disasm/t07_ari3.s: Ditto.
18768 * gdb.disasm/t07_ari3.exp: Ditto.
18769 * gdb.disasm/t08_or.s: Ditto.
18770 * gdb.disasm/t08_or.exp: Ditto.
18771 * gdb.disasm/t09_xor.s: Ditto.
18772 * gdb.disasm/t09_xor.exp: Ditto.
18773 * gdb.disasm/t10_and.s: Ditto.
18774 * gdb.disasm/t10_and.exp: Ditto.
18775 * gdb.disasm/t11_logs.s: Ditto.
18776 * gdb.disasm/t11_logs.exp: Ditto.
18777 * gdb.disasm/t12_bit.s: Ditto.
18778 * gdb.disasm/t12_bit.exp: Ditto.
18779 * gdb.disasm/t13_otr.s: Ditto.
18780 * gdb.disasm/t13_otr.exp: Ditto.
18781
18782 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
18783
18784 * gdb.threads/tls.exp :Add kfail for 'info address' case.
18785
18786 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
18787
18788 * gdb.threads/tls.c : New file.
18789 * gdb.threads/tls.exp : New file.
18790 * gdb.threads/tls-main.c : New file.
18791 * gdb.threads/tls-shared.c : New file.
18792 * gdb.threads/tls-shared.exp : New file.
18793
18794 2003-07-22 Andreas Schwab <schwab@suse.de>
18795
18796 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
18797
18798 2003-07-20 Andreas Schwab <schwab@suse.de>
18799
18800 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
18801 due to insn reordering.
18802
18803 2003-07-15 Andrew Cagney <cagney@redhat.com>
18804
18805 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
18806
18807 2003-07-15 Michael Chastain <mec@shout.net>
18808
18809 * gdb.base/gdb1250.exp: New file.
18810 * gdb.base/gdb1250.c: New file.
18811
18812 2003-07-09 Michal Ludvig <mludvig@suse.cz>
18813
18814 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
18815 expansion of size_t to 'unsigned long', not only to 'unsigned'.
18816
18817 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
18818
18819 * gdb.threads/tls.c: New file.
18820 * gdb.threads/tls.exp: New file.
18821 * gdb.threads/tls-main.c: New file.
18822 * gdb.threads/tls-shared.c: New file.
18823 * gdb.threads/tls-shared.exp: New file.
18824
18825 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
18826
18827 * gdb.base/annota1.exp: Make sure that we properly escape the
18828 full path of the source file. Xfail more permissive patterns,
18829 due to a compiler debug info problem.
18830
18831 2003-07-07 Andreas Schwab <schwab@suse.de>
18832
18833 * gdb.asm/m68k.inc: New file.
18834 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
18835
18836 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
18837 arguments"): Also match negative number.
18838
18839 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
18840
18841 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
18842
18843 * gdb.base/store.c (charest): New typedef.
18844 (add_char): Rename to add_charest, update.
18845 (wack_char): Rename to wack_charest, update types. Return l + r
18846 to keep r live across the call.
18847 (wack_short, wack_int, wack_long, wack_longest, wack_float)
18848 (wack_double, wack_doublest): Return l + r to keep r live across
18849 the call.
18850 * gdb.base/store.exp: Accomodate store.c changes.
18851
18852 2003-06-30 David Carlton <carlton@kealia.com>
18853
18854 * gdb.c++/maint.exp (test_invalid_name): New.
18855 (test_first_component): Add tests for invalid names.
18856
18857 2003-06-29 Michael Chastain <mec@shout.net>
18858
18859 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
18860 output of '<VTT for class>' for virtual base classes.
18861
18862 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
18863
18864 * gdb.base/completion.exp: Tab-complete "complet" instead of
18865 "compl".
18866 * gdb.base/complex.exp, gdb.base/complex.c: New files.
18867
18868 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
18869
18870 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
18871 * gdb.base/volatile.exp: Likewise.
18872
18873 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
18874
18875 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
18876 gdb/1265.
18877
18878 2003-06-28 Michael Chastain <mec@shout.net>
18879 Daniel Jacobowitz <drow@mvista.com>
18880
18881 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
18882 initial line count of 'captured_main' from 26 to 32.
18883 (test_with_self): Allow xmalloc call to be interleaved with the
18884 preceding two lines.
18885
18886 2003-06-24 Joel Brobecker <brobecker@gnat.com>
18887
18888 * gdb.base/bang.exp: New testcase.
18889
18890 2003-06-23 Joel Brobecker <brobecker@gnat.com>
18891
18892 * gdb.base/langs.exp: Add some tests for the "minimal" language
18893 support.
18894
18895 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
18896
18897 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
18898 the testcase.
18899
18900 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
18901
18902 * gdb.base/relocate.exp: Test add-symbol-file with a variable
18903 offset.
18904
18905 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
18906
18907 * gdb.c++/pr-1210.cc: New file.
18908 * gdb.c++/pr-1210.exp: New file.
18909
18910 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
18911
18912 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
18913 000-exec-continue.
18914
18915 2003-06-15 Mark Kettenis <kettenis@gnu.org>
18916
18917 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
18918 on *-*-*bsd* instead of *-*-freebsd*.
18919
18920 2003-06-14 Andrew Cagney <cagney@redhat.com>
18921
18922 * gdb.base/store.exp: Test longest and doublest. Test all
18923 parameters. Weaken return statement match.
18924 * gdb.base/store.c: Add longest and doublest - aka long long and
18925 long double functions. Put all parameters into local register
18926 variables. Use negative values.
18927
18928 2003-06-14 Andrew Cagney <cagney@redhat.com>
18929
18930 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
18931 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
18932 exit status.
18933 * gdb.base/fileio.exp: Disable target when nointerrupts and
18934 noinferiorio, instead of limiting it to remote. Use remote_exec
18935 instead of system.
18936
18937 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
18938
18939 * gdb.base/float.exp: Add ia64 support.
18940
18941 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
18942
18943 * gdb.base/fileio.exp: Run only on remote targets.
18944
18945 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
18946
18947 * gdb.base/fileio.c: New file, testing File-I/O.
18948 * gdb.base/fileio.exp: Ditto.
18949
18950 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
18951
18952 * gdb.base/shreloc.exp: New file, check symbol values obtained from
18953 shared objects after relocation at load time (gdb PR/1132).
18954 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
18955 as above, part of the shared object relocation test.
18956
18957 2003-06-08 Mark Kettenis <kettenis@gnu.org>
18958
18959 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
18960 fully filled history list.
18961 * gdb.base/gdb_history: New file.
18962
18963 * gdb.base/signals.exp: XFAIL "continue to func1" on
18964 i*86-*-freebsd*.
18965
18966 * gdb.base/attach.exp: When trying to attach to a nonexistent
18967 process, make it possible to specify the PID based on the target,
18968 and do so for *-*-freebsd*.
18969
18970 2003-06-02 Richard Henderson <rth@redhat.com>
18971
18972 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
18973
18974 2003-06-02 Richard Henderson <rth@redhat.com>
18975
18976 * gdb.base/selftest.exp: Next over lim_at_start initialization.
18977
18978 2003-06-02 Richard Henderson <rth@redhat.com>
18979
18980 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
18981
18982 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
18983
18984 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
18985 of globalvar.
18986
18987 2003-06-01 Mark Kettenis <kettenis@gnu.org>
18988
18989 * gdb.asm/asm-source.exp: Check for memory read errors in
18990 disassembler test on *BSD too.
18991
18992 2003-06-01 Richard Henderson <rth@redhat.com>
18993
18994 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
18995 for .frame.
18996 (gdbasm_call): Lose ldgp.
18997 (gdbasm_startup): Add frame information.
18998 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
18999
19000 2003-05-31 Mark Kettenis <kettenis@gnu.org>
19001
19002 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
19003 i?86-*-*.
19004
19005 2003-05-30 Mark Kettenis <kettenis@gnu.org>
19006
19007 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19008 FreeBSD.
19009
19010 2003-05-29 Richard Henderson <rth@redhat.com>
19011
19012 * gdb.asm/alpha.inc: New file.
19013 * gdb.asm/asm-source.exp: Use it.
19014
19015 2003-05-29 Jim Blandy <jimb@redhat.com>
19016
19017 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
19018 'core.PID'.
19019
19020 2003-05-22 Jim Blandy <jimb@redhat.com>
19021
19022 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
19023 backtrace.
19024
19025 2003-05-20 David Carlton <carlton@math.stanford.edu>
19026
19027 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
19028 this time.
19029
19030 2003-05-19 David Carlton <carlton@bactrian.org>
19031
19032 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
19033 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
19034
19035 2003-05-19 David Carlton <carlton@bactrian.org>
19036
19037 * gdb.c++/namespace.exp: Add namespace scope and anonymous
19038 namespace tests.
19039 Bump copyright date.
19040 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
19041 (main): Call C::D::marker2.
19042 * gdb.c++/namespace1.cc: New file.
19043
19044 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
19045
19046 Roland McGrath <roland@redhat.com>
19047 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
19048 there is no manager thread.
19049
19050 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
19051
19052 * gdb.threads/schedlock.exp: Remove assumption that all threads
19053 will run in a particular small time slice. Also ensure we break
19054 in one of the child threads rather than the main thread.
19055
19056 2003-05-07 Jim Blandy <jimb@redhat.com>
19057
19058 Add support for assembly source testing on the s390x.
19059 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
19060 architecture.
19061 * gdb.asm/s390x.inc: New file.
19062
19063 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
19064 succession of 'if' statements.
19065
19066 2003-05-05 Andrew Cagney <cagney@redhat.com>
19067
19068 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
19069
19070 2003-05-05 Andrew Cagney <cagney@redhat.com>
19071
19072 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
19073 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
19074
19075 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
19076
19077 * gdb.base/charset.exp: Update based on new behavior of set/show
19078 charset commands.
19079
19080 2003-05-01 Andrew Cagney <cagney@redhat.com>
19081
19082 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
19083 variable do not give memory errors.
19084
19085 2003-04-30 Adam Fedor <fedor@gnu.org>
19086
19087 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
19088 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
19089 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
19090 gdb.objc/basicclass.m: : New files
19091
19092 * lib/gdb.exp (gdb_compile_objc): New procedure.
19093
19094 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
19095
19096 * gdb.base/signals.exp: Make backtrace tests more specific.
19097
19098 2003-04-23 David Carlton <carlton@bactrian.org>
19099
19100 * gdb.c++/maint.exp (test_first_component): Add tests for
19101 'operator' in more locations.
19102
19103 2003-04-16 Kevin Buettner <kevinb@redhat.com>
19104
19105 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
19106
19107 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
19108
19109 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
19110 func marke' instead. Update test name.
19111
19112 2003-04-15 David Carlton <carlton@math.stanford.edu>
19113
19114 * gdb.c++/maint.exp: New file.
19115
19116 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
19117
19118 * gdb.threads/schedlock.c: Change type of thread function argument
19119 to long, to avoid warnings on 64-bit platforms.
19120
19121 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
19122
19123 * gdb.base/attach.exp: Add new message from ptrace in case of
19124 attaching to nonexistent process.
19125
19126 2003-04-11 Jim Blandy <jimb@redhat.com>
19127
19128 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19129 gdb.c++/userdef.cc: Place comments on the lines to which the
19130 marker function might return.
19131 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19132 gdb.c++/userdef.exp: Look for those comments to check that we've
19133 returned to the right place, instead of checking line numbers.
19134
19135 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
19136
19137 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
19138 match on sourcefile name, instead of directory name.
19139
19140 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
19141
19142 * gdb.base/completion.exp: Use string_to_regexp to match the
19143 working directory name.
19144
19145 2003-04-09 Jim Blandy <jimb@redhat.com>
19146
19147 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19148 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
19149 after an inferior function call, report the failure, but allow the
19150 test to continue.
19151
19152 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19153
19154 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19155 with -DPROTOTYPES.
19156
19157 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19158
19159 * gdb.base/break.exp: Revert last patch.
19160
19161 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
19162
19163 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19164 with -DPROTOTYPES.
19165
19166 2003-04-02 Andrew Cagney <cagney@redhat.com>
19167
19168 * gdb.base/callfuncs.exp: Make "print add" messages unique.
19169 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
19170 matching directories by the name breakpoint.
19171 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
19172 Make "continue to marker1" consistent.
19173 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
19174 message consistent.
19175 * lib/gdb.exp: Put "the program is no longer running", and "the
19176 program exited" in parenthesis.
19177 * lib/mi-support.exp: Ditto.
19178
19179 2003-04-02 Bob Rossi <bob_rossi@cox.net>
19180
19181 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
19182
19183 2003-03-29 Andrew Cagney <cagney@redhat.com>
19184
19185 * gdb.base/sizeof.c (main): Print the value of '\377'.
19186 * gdb.base/sizeof.exp: Check the sign of '\377'.
19187
19188 2003-03-27 Michael Chastain <mec@shout.net>
19189
19190 * gdb.base/gdb1090.exp: New file.
19191 * gdb.base/gdb1090.cc: New file.
19192
19193 2003-03-27 J. Brobecker <brobecker@gnat.com>
19194
19195 * gdb.gdb/observer.exp: New regression test.
19196
19197 2003-03-27 Michael Chastain <mec@shout.net>
19198
19199 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
19200 * gdb.base/ptype.exp: Likewise.
19201
19202 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
19203
19204 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
19205
19206 2003-03-26 Michael Chastain <mec@shout.net>
19207
19208 * gdb.base/ptype.exp: Actually use some typedef'd types.
19209
19210 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
19211
19212 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
19213 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
19214
19215 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19216
19217 * gdb.base/default.exp: Fix regular expression.
19218
19219 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19220
19221 * gdb.base/args.exp: Fix regular expression.
19222
19223 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19224
19225 * gdb.base/help.exp: Allow Win32 child process.
19226
19227 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19228
19229 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
19230 when stepping out of main().
19231
19232 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19233
19234 * gdb.base/default.exp: Check for win32 specific message when calling
19235 "run" without executable.
19236
19237 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19238
19239 * gdb.base/args.exp: Expect .exe in output.
19240
19241 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19242
19243 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
19244 Cygwin native.
19245
19246 2003-03-17 Andrew Cagney <cagney@redhat.com>
19247
19248 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
19249 vector registes.
19250 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
19251 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
19252
19253 2003-03-17 David Carlton <carlton@math.stanford.edu>
19254
19255 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
19256 test, for PR breakpoints/38.
19257 Call test_watchpoint_and_breakpoint.
19258 * gdb.base/watchpoint.c (func3): New function.
19259 (main): Call func3.
19260
19261 2003-03-04 David Carlton <carlton@math.stanford.edu>
19262
19263 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
19264 Garply<Garply<char> >:: garply".
19265 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
19266 with respect to PR c++/1111; note also PR c++/1113.
19267 (test_template_breakpoints): KFAIL "constructor breakpoint" with
19268 respect to PR c++/1062.
19269 KFAIL "destructor breakpoint" with respect to PR c++/1112.
19270
19271 2003-03-03 David Carlton <carlton@math.stanford.edu>
19272
19273 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
19274 with respect to PR c++/57.
19275 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
19276 c++/826.
19277 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
19278 respect to PR c++/57.
19279
19280 2003-03-03 David Carlton <carlton@math.stanford.edu>
19281
19282 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
19283 respect to PR c++/33 into FAILs.
19284
19285 2003-03-03 Michael Chastain <mec@shout.net>
19286
19287 * configure.in: Update copyright years.
19288
19289 2003-03-03 Michael Chastain <mec@shout.net>
19290
19291 * Makefile.in: Update copyright years.
19292
19293 2003-02-28 David Carlton <carlton@math.stanford.edu>
19294
19295 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
19296 print class instead of struct and/or superfluous protection
19297 specifiers, as long as the resulting output is equivalent to the
19298 source code.
19299 Delete FIXME from end of messages on tests that don't need
19300 fixing.
19301
19302 2003-02-28 David Carlton <carlton@math.stanford.edu>
19303
19304 * gdb.c++/templates.exp (do_tests): Allow const in the two
19305 Foo<volatile char *>::foo tests.
19306
19307 2003-02-27 Michael Snyder <msnyder@redhat.com>
19308
19309 * gdb.base/restore.c (main): Return zero, so exit code
19310 will be consistant.
19311
19312 2003-02-26 David Carlton <carlton@math.stanford.edu>
19313
19314 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
19315 char *>::foo" test with respect to PR c++/33. Create a new test
19316 which is identical to that one except that it doesn't put the
19317 space between the "char" and the "*"; KFAIL it, too.
19318
19319 2003-02-26 David Carlton <carlton@math.stanford.edu>
19320
19321 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
19322 template types into either PASSes or KFAILs (corresponding to PR
19323 c++/57). Tweak indentation. Update copyright.
19324
19325 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
19326
19327 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
19328
19329 2003-02-13 Michael Chastain <mec@shout.net>
19330
19331 * gdb.base/exprs.exp: Remove i960 remnants.
19332 * gdb.base/funcargs.exp: Likewise.
19333 * gdb.base/list.exp: Likewise.
19334 * gdb.base/ptype.exp: Likewise.
19335
19336 2003-02-14 David Carlton <carlton@math.stanford.edu>
19337
19338 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
19339 pEe->D::vg()" from XFAIL to KFAIL.
19340
19341 2003-02-13 Jason Molenda (jmolenda@apple.com)
19342
19343 * gdb.base/maint.exp: Update maint print statistics regexp to include
19344 new entries.
19345
19346 2003-02-13 Michael Chastain <mec@shout.net>
19347
19348 * gdb.c++/inherit.exp: Remove call to get_debug_format.
19349
19350 2003-02-12 Michael Chastain <mec@shout.net>
19351
19352 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
19353 * gdb.c++/inherit.exp: Likewise.
19354 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
19355 * gdb.c++/templates.exp: Likewise.
19356 * gdb.c++/virtfunc.exp: Likewise.
19357
19358 2003-02-06 Jason Molenda (jason-cl@molenda.com)
19359
19360 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
19361 why the code is written that way.
19362
19363 2003-02-05 Michael Chastain <mec@shout.net>
19364
19365 * gdb.base/dump.exp: Add missing copyright line.
19366
19367 2003-02-05 Jason Molenda (jason-cl@molenda.com)
19368
19369 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
19370 at the beginning so the breakpoint doesn't get set on the loop.
19371
19372 2003-02-05 Michael Chastain <mec@shout.net>
19373
19374 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
19375 output for configurations with gcc 2.95.3.
19376
19377 2003-02-05 Keith Seitz <keiths@redhat.com>
19378 Andrew Cagney <ac131313@redhat.com>
19379
19380 * gdb.mi/mi-cli.exp: New file.
19381
19382 2003-02-04 Michael Chastain <mec@shout.net>
19383
19384 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
19385 Call perror and then continue.
19386
19387 2003-02-03 Michael Chastain <mec@shout.net>
19388
19389 * gdb.c++/pr-1023.cc: New file.
19390 * gdb.c++/pr-1023.exp: New file.
19391
19392 2003-02-05 Jim Blandy <jimb@redhat.com>
19393
19394 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
19395 it's local to foobar. Check for it there, and check that it's not
19396 present in main.
19397 * gdb.c++/local.cc (marker2): New function.
19398 (foobar): Call marker1.
19399 (main): Call marker2 instead of marker1.
19400
19401 2003-02-04 Andrew Cagney <ac131313@redhat.com>
19402
19403 * gdb.disasm/mn10200.exp: Obsolete file.
19404 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
19405 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
19406 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
19407
19408 2003-02-04 David Carlton <carlton@math.stanford.edu>
19409
19410 * gdb.c++/overload.exp: Test intToChar(1).
19411 * gdb.c++/overload.cc (intToChar): New.
19412 (main): Call intToChar.
19413
19414 2003-02-03 David Carlton <carlton@math.stanford.edu>
19415
19416 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
19417 'might_kfail' arg.
19418 KFAIL some of the continue_to_bp_overloaded calls, according to
19419 PR c++/1025.
19420
19421 2003-02-01 Michael Chastain <mec@shout.net>
19422
19423 * gdb.base/advance.c (marker1): New marker function.
19424 * gdb.base/advance.exp: When the 'advance' command lands on the
19425 return breakpoint, it can legitimately stop on either the
19426 current line or the next line. Accommodate both outcomes.
19427 * gdb.base/until.exp: Likewise.
19428
19429 2003-02-02 Andrew Cagney <ac131313@redhat.com>
19430
19431 2002-11-10 Jason Molenda (jason-cl@molenda.com):
19432 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
19433 now a list, not a tuple.
19434 * gdb.mi/mi-var-display.exp: Ditto.
19435 * gdb.mi/gdb792.exp: Ditto.
19436
19437 2003-02-01 Andrew Cagney <ac131313@redhat.com>
19438
19439 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
19440 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
19441 stack backtraces.
19442 * gdb.mi/mi-syn-frame.c: Part of same.
19443
19444 2003-02-01 Mark Kettenis <kettenis@gnu.org>
19445
19446 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19447 gdb.mi/mi1-pthreads.exp: Return instead of calling
19448 gdb_suppress_entire_file.
19449
19450 2003-02-01 Mark Salter <msalter@redhat.com>
19451
19452 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
19453
19454 2003-01-31 Mark Salter <msalter@redhat.com>
19455
19456 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
19457 Support empty arg.
19458
19459 2003-01-30 Michael Chastain <mec@shout.net>
19460
19461 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
19462 This was a workaround for a UTF-8 bug in readline 4.3. The bug
19463 has been fixed in gdb/readline on 2003-01-09.
19464
19465 2003-01-29 Michael Snyder <msnyder@redhat.com>
19466
19467 * gdb.base/maint.exp: Allow for leading underscore in symbol.
19468 * gdb.base/display.exp: Allow for leading underscore in symbol.
19469 * gdb.base/args.exp: Skip if target does not support args passing.
19470
19471 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
19472
19473 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
19474 gdb_test. Accept a list of expect arguments as the third
19475 parameter.
19476 (gdb_test): Use it.
19477
19478 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
19479
19480 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
19481 allow for different test tree configurations. Update some
19482 tescases accordingly.
19483 * gdb.arch/altivec-regs.exp: Ditto.
19484 * gdb.asm/asm-source.exp: Ditto.
19485 * gdb.base/advance.exp: Ditto.
19486 * gdb.base/display.exp: Ditto.
19487 * gdb.base/long_long.exp: Ditto.
19488 * gdb.base/mips_pro.exp: Ditto.
19489 * gdb.base/overlays.exp: Ditto.
19490 * gdb.base/relocate.exp: Ditto.
19491 * gdb.base/setshow.exp: Ditto.
19492 * gdb.base/step-line.exp: Ditto.
19493 * gdb.base/step-test.exp: Ditto.
19494 * gdb.base/until.exp: Ditto.
19495 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
19496
19497 2003-01-17 David Carlton <carlton@math.stanford.edu>
19498
19499 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
19500 corresponding to PR c++/945.
19501 Update copyright.
19502
19503 2003-01-17 David Carlton <carlton@math.stanford.edu>
19504
19505 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
19506 corresponding to PR c++/68.
19507
19508 2003-01-17 David Carlton <carlton@math.stanford.edu>
19509
19510 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
19511 (test_paddr_hairy_functions): Call print_addr_2_kfail for
19512 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
19513
19514 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
19515
19516 * gdb.base/break.exp: Fix change of default location, because of
19517 removal of until tests.
19518 * gdb.base/help.exp: Update test for new 'until' help message.
19519 Add test for help on 'advance'.
19520 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
19521
19522 2003-01-15 Mark Kettenis <kettenis@gnu.org>
19523
19524 * gdb.base/default.exp: Adapt "info float" test for recent changes
19525 to that command. Add test for "info vector".
19526 * gdb.base/float.exp: New file. Add test for "info float" that
19527 resembles the old test in gdb.base/default.exp.
19528
19529 2003-01-15 David Carlton <carlton@math.stanford.edu>
19530
19531 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
19532
19533 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
19534
19535 * gdb.base/break.exp: Move the tests of until command from here...
19536 * gdb.base/until.exp: ... to here. New file. Add other tests.
19537 * gdb.base/advance.c: New file.
19538 * gdb.base/advance.exp: New file.
19539
19540 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
19541
19542 * gdb.base/args.c: New file.
19543 * gdb.base/args.exp: New file.
19544
19545 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
19546
19547 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
19548
19549 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
19550
19551 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
19552
19553 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
19554
19555 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
19556 dates.
19557
19558 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
19559
19560 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
19561
19562 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
19563
19564 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
19565 (ptype &*"foo").
19566 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
19567
19568 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
19569
19570 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
19571 * gdb.mi/mi1-console.exp: Likewise.
19572
19573 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
19574
19575 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
19576 * gdb.mi/mi1-console.exp: Likewise.
19577
19578 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
19579
19580 * gdb.c++/overload.exp: Remove some fixed XFAILs.
19581
19582 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
19583
19584 * gdb.base/detach.exp: New test.
19585
19586 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
19587
19588 * Makefile.in (ALL_SUBDIRS): New variable.
19589 (subdirs, clean, distclean): Use it.
19590 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
19591 regenerating Makefile, since it is generated from the top level.
19592 * gdb.asm/Makefile.in: Likewise.
19593 * gdb.base/Makefile.in: Likewise.
19594 * gdb.c++/Makefile.in: Likewise.
19595 * gdb.disasm/Makefile.in: Likewise.
19596 * gdb.java/Makefile.in: Likewise.
19597 * gdb.mi/Makefile.in: Likewise.
19598 * gdb.threads/Makefile.in: Likewise.
19599 * gdb.trace/Makefile.in: Likewise.
19600
19601 2003-01-09 David Carlton <carlton@math.stanford.edu>
19602
19603 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
19604 Add copyright year 2003.
19605
19606 2003-01-06 Michael Chastain <mec@shout.net>
19607
19608 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
19609 When selecting a thread, 'line' and 'file' are optional.
19610 * gdb.mi/mi1-pthreads.exp: Likewise.
19611
19612 2003-01-06 Andreas Schwab <schwab@suse.de>
19613
19614 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
19615 failures.
19616
19617 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
19618
19619 Fix PR gdb/844
19620 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
19621 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
19622
19623 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
19624 instead of calling gdb_suppress_entire_file.
19625 * gdb.threads/print-threads.exp: Likewise.
19626 * gdb.threads/schedlock.exp: Likewise.
19627
19628 * gdb.threads/killed.exp: Return instead of calling
19629 gdb_suppress_entire_file.
19630 * gdb.threads/linux-dp.exp: Likewise.
19631 * gdb.threads/pthreads.exp: Likewise.
19632
19633 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
19634
19635 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
19636 stabs.
19637 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
19638 * gdb.base/whatis.exp: Always allow (void) after function names.
19639
19640 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
19641
19642 * gdb.c++/casts.exp: Correct regexp.
19643
19644 2003-01-04 Mark Kettenis <kettenis@gnu.org>
19645
19646 * configure.in: Call AC_CONFIG_HEADER. Don't call
19647 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
19648 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
19649 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
19650 aforementioned directories in the AC_OUPUT call.
19651 * config.hin: New file.
19652 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19653 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
19654 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
19655 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
19656 pass -I$objdir instead of -I$objdir/$subdir in compilation.
19657 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
19658 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
19659 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
19660 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
19661 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
19662 gdb.threads/configure.in, gdb.threads/configure,
19663 gdb.threads/config.in, gdb.trace/configure.in,
19664 gdb.trace/configure: Removed.
19665
19666 2003-01-03 Michael Chastain <mec@shout.net>
19667
19668 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
19669 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
19670
19671 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
19672
19673 * gdb.base/store.exp: Fix regular expressions.
19674
19675 2002-12-28 Mark Kettenis <kettenis@gnu.org>
19676
19677 * configure.in: Rewrite.
19678 * configure: Regenerated.
19679
19680 2003-01-03 David Carlton <carlton@math.stanford.edu>
19681
19682 * gdb.base/psymtab.exp: New file.
19683 * gdb.base/psymtab1.c: Ditto.
19684 * gdb.base/psymtab2.c: Ditto.
19685
19686 2002-12-23 Adam Fedor <fedor@gnu.org>
19687
19688 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
19689
19690 2002-12-23 David Carlton <carlton@math.stanford.edu>
19691
19692 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
19693 and current_directory initialization.
19694
19695 2002-12-22 Jim Blandy <jimb@redhat.com>
19696
19697 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
19698 rather than as part of the output file name.
19699
19700 * gdb.base/attach.exp: There's no need to copy the test program to
19701 /tmp; that was only ever necessary on HP/UX, and this test is
19702 entirely disabled there anyway.
19703
19704 2002-12-21 Jim Blandy <jimb@redhat.com>
19705
19706 * gdb.c++/psmang.exp: Doc fix.
19707
19708 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
19709 test.
19710
19711 2002-12-20 David Carlton <carlton@math.stanford.edu>
19712
19713 * gdb.c++/annota2.exp: KFAIL annotate-quit.
19714
19715 2002-12-18 Michael Chastain <mec@shout.net>
19716
19717 * gdb.c++/annota2.exp: Add copyright year 2002.
19718
19719 2002-12-17 David Carlton <carlton@math.stanford.edu>
19720
19721 * gdb.c++/try_catch.cc: Add marker comments.
19722 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
19723 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
19724 * gdb.c++/m-static.cc: Ditto.
19725 * gdb.c++/m-static1.cc: Ditto.
19726 * gdb.c++/try_catch.cc: Ditto.
19727
19728 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
19729
19730 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
19731 to see whether we are using the new -environment-directory
19732 command which resets via -r or the old version of the command
19733 which may prompt the user. Part of fix for gdb/741.
19734
19735 2002-12-13 Andrew Cagney <ac131313@redhat.com>
19736
19737 * gdb.fortran/types.exp: Update obsolete comment.
19738 * gdb.fortran/exprs.exp: Ditto.
19739 * lib/gdb.exp: Delete obsolete code.
19740 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
19741 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
19742 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
19743 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
19744 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
19745 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
19746 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
19747 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
19748 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
19749 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
19750 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
19751 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
19752 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
19753 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
19754 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
19755 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
19756 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
19757 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
19758 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
19759 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
19760 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
19761 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
19762 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
19763 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
19764 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
19765 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
19766 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
19767 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
19768 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
19769 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
19770 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
19771 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
19772 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
19773 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
19774 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
19775 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
19776 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
19777
19778 2002-12-11 David Carlton <carlton@math.stanford.edu>
19779
19780 * gdb.c++/m-data.exp: Add test for members that shadow global
19781 variables: see PR gdb/804.
19782 * gdb.c++/m-data.cc: Ditto.
19783
19784 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
19785
19786 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
19787
19788 2002-12-06 David Carlton <carlton@math.stanford.edu>
19789
19790 * gdb.base/store.c: Don't declare functions static.
19791
19792 2002-12-04 Andrew Cagney <ac131313@redhat.com>
19793
19794 * gdb.base/store.exp, gdb.base/store.c: New files.
19795
19796 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
19797
19798 * gdb.base/selftest.exp: Update for current gdb.
19799
19800 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
19801
19802 * gdb.base/maint.exp: Only dump symbols from one source file
19803 or objfile.
19804
19805 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
19806
19807 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
19808 function call.
19809
19810 2002-11-25 Jim Blandy <jimb@redhat.com>
19811
19812 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
19813 function appearing in error message.
19814
19815 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
19816
19817 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
19818
19819 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
19820
19821 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
19822 for mi1 and current mi is in correct format. New mi startup message
19823 should be in mi console format. This is part of fix for PR gdb/604.
19824
19825 2002-09-18 Fernando Nasser <fnasser@redhat.com>
19826
19827 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
19828 which explicitly prints the zero offset as "+0".
19829
19830 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
19831
19832 * gdb.threads/schedlock.c (args): Make unsigned.
19833
19834 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
19835
19836 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
19837 numbers. Allow "foo2|selected stack frame".
19838 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
19839 * gdb.asm/asmsrc2.s: Likewise.
19840 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
19841 comments.
19842 * gdb.asm/mips.inc: New file.
19843
19844 2002-10-18 Adam Fedor <fedor@gnu.org>
19845
19846 * gdb.base/default.exp: Update expected output to include 'ObjC'.
19847 * gdb.base/help.exp: Likewise.
19848
19849 2002-10-17 Kevin Buettner <kevinb@redhat.com>
19850
19851 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
19852 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
19853
19854 2002-10-02 Jim Blandy <jimb@redhat.com>
19855
19856 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
19857
19858 2002-10-01 Andrew Cagney <ac131313@redhat.com>
19859
19860 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
19861 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
19862 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
19863 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
19864 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
19865 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
19866 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
19867
19868 2002-09-29 Andrew Cagney <ac131313@redhat.com>
19869
19870 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
19871 * mi0-disassemble.exp, mi0-eval.exp: Delete.
19872 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
19873 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
19874 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
19875 * mi0-var-block.exp, mi0-var-child.exp: Delete.
19876 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
19877
19878 2002-09-27 Kevin Buettner <kevinb@redhat.com>
19879
19880 * gdb.base/annota1.exp (info break): Make directory components of
19881 path optional since not all compilers emit this debug information.
19882
19883 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
19884 step ends up stepping out of the function instead of stopping on
19885 the epilogue.
19886
19887 2002-09-26 Keith Seitz <keiths@redhat.com>
19888
19889 * lib/insight-support.exp (gdbtk_start): Figure out where
19890 the insight executable is based on where gdb is. Use this
19891 executable to start insight instead of gdb.
19892
19893 2002-09-25 Andrew Cagney <cagney@redhat.com>
19894
19895 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
19896
19897 2002-09-24 Andrew Cagney <ac131313@redhat.com>
19898
19899 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
19900 test_isolated_complaints.
19901 (test_empty_complaint): New function.
19902 (test_empty_complaints): New function. Check no output when no
19903 complaints.
19904
19905 2002-09-19 Jim Blandy <jimb@redhat.com>
19906
19907 * gdb.base/charset.exp, gdb.base/charset.c: New files.
19908
19909 2002-09-19 Andrew Cagney <ac131313@redhat.com>
19910
19911 * gdb.gdb/complaints.exp: New file.
19912
19913 2002-09-18 Andrew Cagney <ac131313@redhat.com>
19914
19915 * gdb.base/maint.exp: Check `help maint internal-warning'.
19916
19917 2002-09-18 David Carlton <carlton@math.stanford.edu>
19918
19919 * gdb.c++/m-static.exp: Remove breakpoints depending on line
19920 numbers, and replace them by a single breakpoint after the
19921 constructors are all finished.
19922 Add test 4.
19923 * gdb.c++/m-static.cc: Add test 4.
19924 * gdb.c++/m-static.h: New file.
19925 * gdb.c++/m-static1.cc: New file.
19926
19927 * gdb.c++/printmethod.exp: New file.
19928 * gdb.c++/printmethod.cc: New file.
19929
19930 * gdb.c++/pr-574.exp: New file.
19931 * gdb.c++/pr-574.cc: New file.
19932
19933 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
19934
19935 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
19936 embedded targets which never actually exit.
19937
19938 2002-09-18 Fernando Nasser <fnasser@redhat.com>
19939
19940 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
19941 "don't step after run" as unresolved or unsupported, instead of xfail.
19942
19943 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
19944
19945 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
19946 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
19947 Add newline to expected string in "step out of main (status wrapper)"
19948 case.
19949
19950 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
19951
19952 * lib/gdb.exp (rerun_to_main): Allow restarting application.
19953 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
19954
19955 2002-09-17 Tom Tromey <tromey@redhat.com>
19956
19957 * gdb.base/printcmds.exp (test_print_string_constants): Expect
19958 \000, not \0, in double-quoted string.
19959
19960 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
19961
19962 * gdb.base/commands.exp: Don't expect a "Program exited normally"
19963 string after running the commands execution on breakpoint tests.
19964
19965 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
19966
19967 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
19968
19969 2002-09-12 Joel Brobecker <brobecker@gnat.com>
19970
19971 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
19972
19973 2002-09-10 Keith Seitz <keiths@redhat.com>
19974
19975 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
19976 runto proc.
19977 (mi_run_to_main): Use mi_runto.
19978 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
19979
19980 2002-09-10 Keith Seitz <keiths@redhat.com>
19981
19982 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
19983 regexp for stopping at main. Could have multiple event notifications.
19984 Don't assume that main was declared with no parameters.
19985 (mi_next): Use mi_step_to.
19986 (mi_step): Use mi_next_to.
19987
19988 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
19989
19990 * gdb.base/default.exp: Fix expected string in `info float' test.
19991
19992 2002-09-09 Ben Elliston <bje@redhat.com>
19993
19994 * config/mips.exp: Update comments.
19995 * config/mips-idt.exp: Likewise.
19996 * config/nind.exp: Likewise.
19997 * config/slite.exp: Likewise.
19998 * config/sparclet.exp: Likewise.
19999 * config/udi.exp: Likewise.
20000 * config/vx.exp: Likewise.
20001 * config/vxworks29k.exp: Likewise.
20002
20003 2002-09-05 Jim Blandy <jimb@redhat.com>
20004
20005 * gdb.threads/killed.exp: Fix test failure message.
20006
20007 2002-09-04 Keith Seitz <keiths@redhat.com>
20008
20009 * lib/mi-support.exp: Update copyright.
20010 (mi_gdb_test): Increase the priority of the expected pattern
20011 so that it matches gdb_test.
20012
20013 2002-09-03 Keith Seitz <keiths@redhat.com>
20014
20015 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
20016 Use integer comparison instead of string comparison for testing
20017 whether binary was built.
20018
20019 2002-09-03 Jim Blandy <jimb@redhat.com>
20020
20021 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
20022
20023 2002-08-29 Jim Blandy <jimb@redhat.com>
20024
20025 * gdb.threads/pthreads.exp: Move the portable thread compilation
20026 code into a function in lib/gdb.exp, and call that from here.
20027 * lib/gdb.exp (gdb_compile_pthreads): New function.
20028
20029 2002-08-29 Keith Seitz <keiths@redhat.com>
20030
20031 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
20032 expect_out so that callers can get at it.
20033
20034 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
20035
20036 * gdb.threads/print-threads.c: New file.
20037 * gdb.threads/print-threads.exp: New file.
20038 * gdb.threads/schedlock.c: New file.
20039 * gdb.threads/schedlock.exp: New file.
20040
20041 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
20042
20043 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
20044 not altivec.c.
20045
20046 2002-08-17 Mark Kettenis <kettenis@gnu.org>
20047
20048 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
20049 targets. The problem should be fixed now.
20050
20051 2002-08-15 Mark Kettenis <kettenis@gnu.org>
20052
20053 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
20054 2002-07-24 change that removes final dots from error messages.
20055
20056 2002-08-13 Tom Tromey <tromey@redhat.com>
20057
20058 * gdb.base/readline.exp: New file.
20059
20060 2002-08-01 Andrew Cagney <ac131313@redhat.com>
20061
20062 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
20063 supress message.
20064
20065 2002-08-01 Andrew Cagney <cagney@redhat.com>
20066
20067 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
20068 CHILL_FOR_TARGET and CHILL_LIB.
20069 * configure.in (configdirs): Remove gdb.chill.
20070 * configure: Regenerate.
20071 * lib/gdb.exp: Obsolete references to chill.
20072 * gdb.fortran/types.exp: Ditto.
20073 * gdb.fortran/exprs.exp: Ditto.
20074
20075 2002-07-30 Kevin Buettner <kevinb@redhat.com>
20076
20077 * gdb.base/shlib-call.exp (additional_flags): Conditionally
20078 set Irix-specific compile and link flags.
20079
20080 2002-07-29 Kevin Buettner <kevinb@redhat.com>
20081
20082 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
20083 source files. The ``-o'' option doesn't work with the ``-E'' option
20084 when using the Irix compiler.
20085
20086 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
20087
20088 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
20089 Improve support for reusing an exec file. Copy exec file
20090 to target, and run gdbserver on the target instead of on the host.
20091
20092 2002-07-18 Jim Blandy <jimb@redhat.com>
20093
20094 * gdb.base/ending-run.exp: Don't expect to see the program end in
20095 some orderly fashion when we're running on a real stand-alone
20096 board.
20097
20098 * gdb.base/interrupt.exp: Correct logic for skipping tests on
20099 targets that don't support interrupts.
20100
20101 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
20102
20103 * gdb.base/attach.exp: Add patterns to match output from /proc-based
20104 systems.
20105 Move comments in expect statements to inside the actions, so that they
20106 don't get matched against.
20107
20108 2002-07-10 Mark Kettenis <kettenis@gnu.org>
20109
20110 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
20111 function when asleep" test.
20112
20113 2002-07-10 Andrew Cagney <ac131313@redhat.com>
20114
20115 * gdb.base/page.exp: Rewrite to handle problems with very long
20116 `info set' output. Update copyright.
20117
20118 2002-06-26 Andrew Cagney <ac131313@redhat.com>
20119
20120 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
20121 gdb.threads-hp.
20122 * gdb.hp/configure: Regenerate.
20123 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
20124 * gdb.hp/gdb.threads-hp/configure: Delete file.
20125 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
20126
20127 2002-06-22 Andrew Cagney <ac131313@redhat.com>
20128
20129 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
20130 setlocale, bindtextdomain and textdomain.
20131
20132 2002-06-11 Jim Blandy <jimb@redhat.com>
20133
20134 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
20135 preprocessor macro information is present.
20136
20137 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
20138 tests.
20139
20140 2002-06-06 Michael Snyder <msnyder@redhat.com>
20141
20142 * gdb.base/overlays.exp: Record addresses of overlay
20143 functions in TCL variables rather than in GDB variables,
20144 to avoid having GDB convert them to pointers (with loss
20145 of information).
20146
20147 * gdb.base/d10v.ld: Merge in several years worth of
20148 default linker script changes.
20149 * gdb.base/long_long.exp: Add check for sizeof (long double).
20150
20151 2002-06-06 Michal Ludvig <mludvig@suse.cz>
20152
20153 * gdb.asm/asm-source.exp: Add x86-64 target.
20154 * gdb.asm/x86_64.inc: New.
20155
20156 2002-05-30 Michael Chastain <mec@shout.net>
20157
20158 From Benjamin Kosnik <bkoz@redhat.com>:
20159 * gdb.c++/m-static.cc: New file.
20160 * gdb.c++/m-static.exp: New file.
20161
20162 2002-05-28 Michael Snyder <msnyder@redhat.com>
20163
20164 * gdb.base/call-ar-st.exp: Allow for reduced floating point
20165 precision.
20166
20167 2002-05-27 Michael Chastain <mec@shout.net>
20168
20169 From Benjamin Kosnik <bkoz@redhat.com>:
20170 * gdb.c++/m-data.cc: New file.
20171 * gdb.c++/m-data.exp: New file.
20172
20173 2002-05-27 Michael Chastain <mec@shout.net>
20174
20175 From Benjamin Kosnik <bkoz@redhat.com>:
20176 * gdb.c++/try_catch.cc: New file.
20177 * gdb.c++/try_catch.exp: New file.
20178
20179 2002-05-27 Michael Chastain <mec@shout.net>
20180
20181 * gdb.c++/local.exp: Accept more nested types in output.
20182
20183 2002-05-26 Michael Chastain <mec@shout.net>
20184
20185 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
20186
20187 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
20188
20189 * lib/gdb.exp (gdb_wrapper_init): Just because
20190 gdb_wrapper_file exists, this does not mean that the file
20191 should not be rebuilt. That is what gdb_wrapper_initialized
20192 is for.
20193 (default_gdb_init): Reset gdb_wrapper_initialized.
20194
20195 2002-05-23 Michael Snyder <msnyder@redhat.com>
20196
20197 * gdb.base/all-bin.exp: Revise previous patch by just reducing
20198 the precision of the floating point test results.
20199 * gdb.base/call-rt-st.exp: Ditto.
20200
20201 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
20202 * gdb.base/call-rt-st.exp: Ditto.
20203
20204 2002-05-19 Michael Chastain <mec@shout.net>
20205
20206 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
20207
20208 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
20209
20210 * configure.in (configdirs): Add gdb.arch.
20211 * configure: Regenerate.
20212
20213 2002-05-17 Jim Blandy <jimb@redhat.com>
20214
20215 * gdb.base/completion.exp: Recognize the more detailed error
20216 messages produced by the macro expander's lexical analyzer.
20217
20218 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
20219
20220 * gdb.arch/altivec-abi.c: New file.
20221 * gdb.arch/altivec-abi.exp: New file.
20222 * gdb.arch/altivec-regs.c: New file.
20223 * gdb.arch/altivec-regs.exp: New file.
20224
20225 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
20226
20227 * gdb.base/maint.exp (maint print type): Update for new type
20228 structure.
20229
20230 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
20231
20232 * gdb.arch: New directory.
20233 * gdb.arch/configure.in: New file.
20234 * gdb.arch/configure: New file.
20235 * gdb.arch/Makefile.in: New file.
20236
20237 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
20238
20239 * gdb.asm/asm-source.exp: Add v850 as supported target.
20240 * gdb.asm/v850.inc: New file.
20241
20242 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
20243
20244 * gdb.c++/annota2.exp (annotate-quit): Add comment.
20245
20246 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
20247
20248 * gdb.base/break.exp: Check 'break "marker2"'.
20249
20250 2002-05-10 Michael Snyder <msnyder@redhat.com>
20251
20252 * gdb.base/long_long.exp: Fix typo.
20253
20254 2002-05-10 Jim Blandy <jimb@redhat.com>
20255
20256 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
20257 a bug.
20258
20259 * gdb.base/printcmds.exp (test_integer_literals_rejected):
20260 Recognize more detailed error message produced by the macro
20261 expander's lexical analyzer.
20262 * lib/gdb.exp (test_print_reject): Same.
20263
20264 2002-05-09 Mark Kettenis <kettenis@gnu.org>
20265
20266 * gdb.c++/method.exp: Fix typo.
20267
20268 2002-05-08 Michael Snyder <msnyder@redhat.com>
20269
20270 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
20271 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
20272 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
20273 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
20274 Add iftarget clause for strongarm.
20275
20276 2002-05-06 Michael Snyder <msnyder@redhat.com>
20277
20278 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
20279 (gdb_continue_to_end): Accept output from status wrapper.
20280 * gdb.base/ending-run.exp: Add case for output from status wrapper.
20281 Clean up fail messages to match pass messages.
20282
20283 Enable the "needs_status_wrapper" testsuite feature.
20284 * lib/gdb.exp (gdb_wrapper_init): New procedure.
20285 (gdb_compile): Conditionally call gdb_wrapper_init.
20286 * gdb.base/a2-run.exp: Recognize output from status wrapper.
20287 * gdb.c++/method.exp: Recognize output from status wrapper.
20288
20289 2002-05-06 Ben Elliston <bje@redhat.com>
20290 From Graydon Hoare <graydon@redhat.com>
20291
20292 * config/sid.exp: Include support for "rawsid" protocol.
20293
20294 2002-05-03 Jim Blandy <jimb@redhat.com>
20295
20296 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
20297 * gdb.c++/hang3.C: New file.
20298
20299 2002-05-04 Andrew Cagney <ac131313@redhat.com>
20300
20301 * gdb.base/default.exp: Remove obsolete code.
20302 * gdb.c++/misc.exp: Ditto. Update copyright.
20303 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
20304 * gdb.base/whatis.exp: Ditto. Update copyright.
20305 * gdb.base/scope.exp: Ditto. Update copyright.
20306 * gdb.base/ptype.exp: Ditto. Update copyright.
20307 * gdb.base/printcmds.exp: Ditto. Update copyright.
20308 * gdb.base/opaque.exp: Ditto. Update copyright.
20309 * gdb.base/list.exp: Ditto.
20310 * gdb.base/funcargs.exp: Ditto. Update copyright.
20311 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
20312 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
20313 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
20314 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
20315 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
20316 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
20317
20318 2002-05-02 Michael Snyder <msnyder@redhat.com>
20319
20320 * gdb.base/watchpoint.exp: Add xscale target.
20321 * gdb.base/long_long.exp: Add xscale target.
20322 * gdb.base/default.exp: Add xscale target.
20323
20324 2002-05-01 Jim Blandy <jimb@redhat.com>
20325
20326 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
20327 gdb.c++/hang.exp: New test.
20328
20329 2002-05-01 Fred Fish <fnf@redhat.com>
20330
20331 * gdb.base/completion.exp: Handle completions of "./Make" for
20332 more than one completion possibility, as is the case when we
20333 build and test in the source tree.
20334
20335 2002-04-29 Anthony Green <green@redhat.com>
20336
20337 * gdb.java/jmisc1.exp: New file.
20338 * gdb.java/jmisc2.exp: New file.
20339
20340 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
20341
20342 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
20343
20344 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
20345
20346 * gdb.base/help.exp: Change 'help status' to allow for target
20347 dependent output differences.
20348
20349 2002-04-22 Michael Chastain <mec@shout.net>
20350
20351 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
20352
20353 2002-04-22 Michael Chastain <mec@shout.net>
20354
20355 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
20356
20357 2002-04-17 David S. Miller <davem@redhat.com>
20358
20359 * gdb.asm/sparc64.inc: New file.
20360 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
20361
20362 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
20363
20364 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
20365 instruction file directly into the build tree. Clean up at end of
20366 test.
20367
20368 2002-04-18 David S. Miller <davem@redhat.com>
20369
20370 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
20371 handle 64-bit platforms correctly.
20372 * gdb.base/maint.exp: Likewise.
20373
20374 2002-04-18 Kevin Buettner <kevinb@redhat.com>
20375
20376 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
20377 ``-fpic'' when compiling files comprising a shared library, but
20378 it does need additional linker flags in order to find shared
20379 libraries at run time.
20380
20381 2002-04-18 Kevin Buettner <kevinb@redhat.com>
20382
20383 * gdb.base/cvexpr.c (use): New function.
20384 (main): Invoke use() on all global variables to prevent
20385 some linkers from deleting these otherwise unused symbols.
20386
20387 2002-04-17 Michael Chastain <mec@shout.net>
20388 From David S. Miller <davem@redhat.com>
20389
20390 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
20391 handle 64-bit platforms correctly.
20392
20393 2002-04-12 Michael Snyder <msnyder@redhat.com>
20394 From Jim Blandy <jimb@redhat.com>
20395 * gdb.base/foo.c (foox): Remove section attribute; the linker
20396 script can handle this instead.
20397 * gdb.base/bar.c (barx): Same.
20398 * gdb.base/baz.c (bazx): Same.
20399 * gdb.base/grbx.c (grbxx): Same.
20400
20401 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
20402 manager doesn't automatically unmap overlays unnecessarily.
20403
20404 2002-04-10 Martin M. Hunt <hunt@redhat.com>
20405
20406 * gdb.base/ending-run.exp: Fix pattern for Mips targets
20407 stepping out of main.
20408
20409 2002-04-09 Michael Chastain <mec@shout.net>
20410
20411 * gdb.c++/local.cc (main): Move call to marker1() inside nested
20412 scope so that the nested scope tests will make sense.
20413 * gdb.c++/local.exp: Write patterns that actually work with gcc
20414 (the HP patterns "were never known to work with gcc").
20415 Keep the old aCC patterns too.
20416
20417 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
20418
20419 * gdb.base/attach.exp: Correct target board test.
20420
20421 2002-04-08 Michael Chastain <mec@shout.net>
20422
20423 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
20424 in a const method. Add some xfail and fail cases for configurations
20425 that do not emit the "const ...".
20426
20427 2002-04-07 Michael Chastain <mec@shout.net>
20428
20429 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
20430 Accept "A * const" and "const A * const" as type of "this".
20431 Fix spelling of getFunky throughout. Make messages uniform.
20432
20433 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
20434
20435 Work around for PR gdb/285:
20436 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
20437
20438 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
20439
20440 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
20441 instructions file at run time instead of configure time.
20442 Sometimes we run the test in a directory that is not the one we
20443 configured in.
20444 * gdb.asm/configure.in: Delete creation of symlink.
20445 * gdb.asm/configure: Regenerate.
20446
20447 2002-04-05 J. Brobecker <brobecker@gnat.com>
20448
20449 * gdb.gdb/xfullpath.exp: New test, to exercise the new
20450 xfullpath () function.
20451
20452 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
20453
20454 * gdb.asm/Makefile.in: Correct dependencies.
20455
20456 * gdb.asm/powerpc.inc: New file.
20457 * gdb.asm/asm-source.exp: Add PowerPC.
20458 * gdb.asm/configure.in: Likewise.
20459 * gdb.asm/configure: Regenerated.
20460
20461 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
20462
20463 * gdb.base/relocate.exp: New file.
20464 * gdb.base/relocate.c: New file.
20465
20466 2002-04-04 Fred Fish <fnf@redhat.com>
20467
20468 * gdb.base/step-test.exp: Update comment regarding stopping in
20469 memcpy/bcopy calls inserted as part of the compiler runtime.
20470
20471 2002-04-04 Michael Snyder <msnyder@redhat.com>
20472
20473 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
20474
20475 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
20476
20477 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
20478 (gdb_expect): Remove $notransfer hack.
20479
20480 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
20481
20482 * gdb.c++/classes.exp ("calling method for small class"): Match
20483 updated register output.
20484
20485 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
20486
20487 Fix PR gdb/452
20488 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
20489 when finished. Make gdb_file_cmd send "exec-file" when
20490 appropriate.
20491
20492 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
20493
20494 * gdb.base/attach.exp: Remove extra setup_xfail.
20495
20496 2002-03-26 Michael Snyder <msnyder@redhat.com>
20497
20498 * gdb.base/default.exp: Add tests for dump, append, and restore.
20499 * gdb.base/help.exp: Add tests for dump, append, and restore.
20500 * gdb.base/dump.exp: New file, test dump, append and restore.
20501 * gdb.base/dump.c: New file.
20502
20503 2002-03-27 Michael Snyder <msnyder@redhat.com>
20504
20505 * gdb.base/help.exp: Modify expect strings to reflect
20506 clean-ups in help messages.
20507
20508 2002-03-26 Fred Fish <fnf@redhat.com>
20509
20510 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
20511 have debugging info for those functions and the compiler uses them
20512 internally to copy structs around.
20513
20514 2002-03-26 Fred Fish <fnf@redhat.com>
20515
20516 * gdb.base/list.exp: Revert the change made yesterday and add note
20517 about why we don't list the default lines for remote targets.
20518
20519 2002-03-25 Michael Snyder <msnyder@redhat.com>
20520
20521 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
20522
20523 2002-03-25 Fred Fish <fnf@redhat.com>
20524
20525 * gdb.base/list.exp: This test works on remote targets so remove
20526 the short circuit for remote targets. Update copyright.
20527
20528 2002-03-25 Fred Fish <fnf@redhat.com>
20529
20530 * gdb.base/attach.exp: Fix logic error that was suppressing this
20531 test for all non hppa*-*-hpux* targets, instead of the hp target.
20532 Move comments closer to the suppression point. Also now need to
20533 check that we are running natively.
20534
20535 2002-03-22 Michael Snyder <msnyder@redhat.com>
20536
20537 * gdb.base/default.exp: Add test for gcore. Update copyright.
20538 * gdb.base/help.exp: Add test for gcore. Update copyright.
20539
20540 2002-03-06 Fred Fish <fnf@redhat.com>
20541
20542 * gdb.base/funcargs.c: Remove extraneous ';' character.
20543 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
20544
20545 2002-03-04 Michael Chastain <mec@shout.net>
20546
20547 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
20548 accommodate gcc v3 function signature.
20549 * gdb.mi/mi0-var-cmd-exp: Ditto.
20550
20551 2002-02-24 Andrew Cagney <ac131313@redhat.com>
20552
20553 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
20554 ``GNU/Linux'' or ``Linux kernel''
20555 * testsuite/gdb.threads/pthreads.c: Ditto.
20556
20557 2002-02-24 Michael Chastain <mec@shout.net>
20558
20559 * gdb.threads/pthreads.c (thread1): Add a return statement.
20560 (thread2): Likewise.
20561 (foo): Likewise.
20562
20563 2002-02-23 Michael Chastain <mec@shout.net>
20564
20565 * gdb.threads/linux-dp.c (philosopher): Add a return statement
20566 to placate gcc.
20567
20568 2002-02-23 Michael Chastain <mec@shout.net>
20569
20570 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
20571 test "ptype bint". The test passes on all my stabs configurations.
20572
20573 2002-02-21 Jim Blandy <jimb@redhat.com>
20574
20575 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
20576 filename at a time, and watch for the ones we want to see.
20577
20578 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
20579 types of pointers to prototyped functions.
20580
20581 2002-02-20 Andrew Cagney <ac131313@redhat.com>
20582
20583 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
20584 signed, unsigned and straight char.
20585 (padding_char, padding_short, padding_int, padding_long,
20586 padding_long_long, padding_float, padding_double,
20587 padding_long_double): New global variables.
20588 (fill, fill_structs): New functions.
20589
20590 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
20591 for correctly sized writes. Update copyright.
20592 (get_valueof): New procedure.
20593 (get_sizeof): Call get_valueof.
20594 (check_valueof): New procedure.
20595 (check_padding): New procedure.
20596
20597 2002-02-20 Michael Chastain <mec@shout.net>
20598
20599 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
20600 to setup_xfail. Document some of the remaining calls.
20601
20602 2002-02-18 Michael Chastain <mec@shout.net>
20603
20604 * gdb.c++/userdef.exp: Update copyright year.
20605
20606 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
20607
20608 * gdb.c++/userdef.exp: Test overloaded operators properly.
20609 Remove xfails.
20610
20611 2002-02-14 Michael Snyder <msnyder@redhat.com>
20612
20613 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
20614
20615 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
20616
20617 * gdb.base/a2-run.exp: Check for a remote target properly.
20618 * gdb.base/annota1.exp: Likewise.
20619 * gdb.base/list.exp: Likewise.
20620 * gdb.base/reread.exp: Likewise.
20621 * gdb.base/scope.exp: Likewise.
20622 * gdb.base/shlib-call.exp: Likewise.
20623 * gdb.base/term.exp: Likewise.
20624 * gdb.c++/annota2.exp: Likewise.
20625
20626 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
20627
20628 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
20629
20630 2002-02-10 Michael Chastain <mec@shout.net>
20631
20632 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
20633 (call_after_alloca): Ditto.
20634
20635 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
20636
20637 * gdb.base/ending-run.exp: Guard "cont" test with
20638 gdb_skip_stdio_test.
20639
20640 2002-02-06 Jim Blandy <jimb@redhat.com>
20641
20642 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
20643 from here...
20644 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
20645 To here. Disable this test on non-HP platforms. Add big comment.
20646
20647 2002-02-04 Michael Snyder <msnyder@redhat.com>
20648
20649 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
20650 other than d10v and m32r.
20651
20652 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
20653
20654 * gdb.base/default.exp: Rewrite test patterns to reduce time
20655 taken to match them.
20656
20657 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
20658
20659 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
20660 Allow a start function above main.
20661 * gdb.threads/linux-dp.exp: Fix copyright date.
20662
20663 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
20664
20665 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
20666 (check_philosopher_stack): Check for manager thread before checking
20667 for a just-starting thread.
20668
20669 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
20670
20671 From Neil Booth <neil@daikokuya.demon.co.uk>:
20672 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
20673 warnings.
20674
20675 2002-01-21 Fred Fish <fnf@redhat.com>
20676
20677 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
20678 not caller.
20679
20680 2002-01-21 Jim Blandy <jimb@redhat.com>
20681
20682 * gdb.base/reread.exp: Check that GDB properly re-reads the
20683 executable file when it changes while no inferior is running.
20684
20685 2002-01-21 Fred Fish <fnf@redhat.com>
20686
20687 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
20688 optionally accept the "shlib events" variation.
20689
20690 2002-01-21 Jim Blandy <jimb@redhat.com>
20691
20692 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
20693 call `fflush' after every `printf', so that the output is produced
20694 at predictable points, regardless of whatever buffering does (or
20695 doesn't) take place.
20696 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
20697 at different points.
20698
20699 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
20700
20701 * gdb.c++/inherit.exp: Update copyright years.
20702 * gdb.c++/method.exp: Likewise.
20703
20704 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
20705
20706 * gdb.c++/classes.exp: Update for improved v3 support and skipping
20707 artificial methods/arguments.
20708 * gdb.c++/derivation.exp: Likewise.
20709 * gdb.c++/inherit.exp: Likewise.
20710 * gdb.c++/method.exp: Likewise.
20711 * gdb.c++/virtfunc.exp: Likewise.
20712
20713 2002-01-18 Andrew Cagney <ac131313@redhat.com>
20714
20715 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
20716 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
20717 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
20718 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
20719 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
20720 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
20721
20722 2002-01-17 Jim Blandy <jimb@redhat.com>
20723
20724 * gdb.asm/asm-source.exp (info symbol): Take another shot at
20725 anchoring the pattern matching the entry point symbol's name.
20726
20727 2002-01-17 Andrew Cagney <ac131313@redhat.com>
20728
20729 * gdb.base/maint.exp: Update ``maint internal-error'' to match
20730 continue/quit query. Update copyright.
20731
20732 2002-01-14 Michael Snyder <msnyder@redhat.com>
20733
20734 * gdb.base/gcore.exp: Remove extra debugging output.
20735
20736 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
20737
20738 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
20739 for slightly dubious v2 mangled string.
20740
20741 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
20742
20743 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
20744
20745 2002-01-10 Jason Merrill <jason@redhat.com>
20746
20747 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
20748
20749 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
20750 constructors.
20751 * gdb.c++/derivation.exp: Likewise.
20752 * gdb.c++/templates.exp: Likewise.
20753 * gdb.c++/virtfunc.exp: Likewise.
20754
20755 2002-01-10 Michael Snyder <msnyder@redhat.com>
20756
20757 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
20758
20759 2002-01-08 Michael Snyder <msnyder@redhat.com>
20760
20761 * gdb.base/gcore.exp: New test for generate-core-file command.
20762 * gdb.base/gcore.c: Testcase for above.
20763 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
20764
20765 2002-01-08 Jason Merrill <jason@redhat.com>
20766
20767 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
20768
20769 2002-01-07 Fred Fish <fnf@redhat.com>
20770
20771 * gdb.c++/overload.exp: Remove unconditional xfails for:
20772 print foo_instance1.overloadargs(1)
20773 print foo_instance1.overloadargs(1, 2)
20774 print foo_instance1.overloadargs(1, 2, 3)
20775 print foo_instance1.overloadargs(1, 2, 3, 4)
20776 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
20777 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
20778 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
20779 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
20780 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
20781 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
20782 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
20783 print foo_instance1.overload1arg()
20784 print foo_instance1.overload1arg((char)arg2)
20785 print foo_instance1.overload1arg((signed char)arg3)
20786 print foo_instance1.overload1arg((unsigned char)arg4)
20787 print foo_instance1.overload1arg((int)arg7)
20788 print foo_instance1.overload1arg((unsigned int)arg8)
20789 print foo_instance1.overload1arg((float)arg11)
20790 print foo_instance1.overload1arg((double)arg12)
20791
20792 2002-01-07 Michael Snyder <msnyder@redhat.com>
20793
20794 * gdb.base/huge.exp: New test. Print a very large target data object.
20795 (skip_huge_test): New test variable. Define if you want to skip this
20796 test. The test reads an 8 megabyte data object from the target, so it
20797 might be very time consuming on remote targets with a slow connection.
20798 * gdb.base/huge.c: New file. Test case for above.
20799
20800 2002-01-07 Fred Fish <fnf@redhat.com>
20801
20802 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
20803 g_instance.bfoo, and g_instance.cfoo.
20804
20805 2002-01-07 Jeffrey A Law <law@redhat.com>
20806
20807 * gdb.base/break.c (multi_line_if_conditional): New function.
20808 (multi_ilne_while_conditional): Likewise.
20809 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
20810 IF or WHILE condition puts the breakpoint at the start of
20811 the condition.
20812
20813 * gdb.base/selftest.exp (backtrace through signal handler): Remove
20814 hppa*-*-hpux* expected failure.
20815 * gdb.base/structs.exp (do_function_calls): Similarly.
20816
20817 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
20818 watchpoints.
20819
20820 2002-01-06 Andrew Cagney <ac131313@redhat.com>
20821
20822 Fix PR gdb/66.
20823 * gdb.base/structs.exp: Replace skip for a29k with skip for
20824 gdb,cannot_call_functions.
20825 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
20826 * gdb.base/callfuncs.exp: Ditto.
20827 * gdb.base/call-rt-st.exp: Ditto.
20828 * gdb.base/call-strs.exp: Ditto.
20829 * gdb.base/callfwmall.exp: Ditto.
20830 * gdb.base/scope.exp: Obsolete xfail a29k.
20831 * gdb.c++/misc.exp: Ditto.
20832 * gdb.c++/cplusfuncs.exp: Ditto.
20833 * gdb.base/ptype.exp: Ditto.
20834 * gdb.base/printcmds.exp: Ditto.
20835 * gdb.base/opaque.exp: Ditto.
20836 * gdb.base/list.exp: Ditto.
20837 * gdb.base/funcargs.exp: Ditto.
20838 * gdb.base/default.exp: Ditto.
20839
20840 2002-01-04 Michael Snyder <msnyder@redhat.com>
20841
20842 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
20843 * gdb.base/maint.exp: Add tests for maint info sections options.
20844
20845 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
20846
20847 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
20848
20849 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
20850
20851 * gdb.asm/arm.inc: New file.
20852 * gdb.asm/asm-source.exp: Add arm targets.
20853 * gdb.asm/configure.in: Ditto.
20854 * gdb.asm/configure: Recreated from configure.in.
20855
20856 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
20857
20858 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
20859 with HP's compiler.
20860 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
20861 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
20862 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
20863 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
20864
20865 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
20866 either HP's compilers or GCC.
20867
20868 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
20869 a SIGBUS or SIGSEGV.
20870
20871 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
20872
20873 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
20874 can be compiled with either HP's compiler or GCC.
20875
20876 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
20877 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
20878 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
20879
20880 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
20881 to match current gdb output. Update due to using auto-solib-limit
20882 for limiting instead of overloading auto-solib-add.
20883 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
20884 test program.
20885
20886 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
20887 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
20888 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
20889 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
20890 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
20891 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
20892 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
20893 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
20894 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
20895 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
20896 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
20897 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
20898 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
20899
20900 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
20901 a SIGTRAP to the inferior.
20902
20903 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
20904
20905 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
20906 Substitute call to target_link by call to gdb_compile.
20907
20908 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
20909
20910 * gdb.base/break.exp: Fix HP specific search string when testing
20911 backtracing in a called function.
20912
20913 * gdb.base/constvars.exp: Only set lang to C++ if we're
20914 compiling the test with HP's compilers.
20915 * gdb.base/volatile.exp: Similarly.
20916
20917 2001-12-19 Jim Blandy <jimb@redhat.com>
20918
20919 * gdb.base/printcmds.exp: Expect the null character to be printed
20920 as '\0', and the '\013' to be printed as '\v'.
20921 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
20922 * gdb.base/setvar.exp: Same.
20923
20924 2001-12-17 Jim Blandy <jimb@redhat.com>
20925
20926 * gdb.base/completion.exp: Rather than completing very long
20927 filenames, which can make the readline library produce output we
20928 don't recognize, cd to the directory first, and then complete
20929 using nice, short relative paths.
20930
20931 * gdb.base/completion.exp: On some systems, there is, in fact, a
20932 variable named `b' in scope, since GDB treats all static
20933 variables as being in scope. So use `no_var_named_this'
20934 instead of `b'.
20935
20936 * gdb.base/corefile.exp: Recognize the message saying that GDB
20937 can't find the core file's registers as a failure.
20938
20939 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
20940
20941 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
20942 test expect string more specific.
20943
20944 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
20945
20946 * gdb.asm/asm-source.exp: Add support for xstormy16.
20947 * gdb.asm/configure.in: Ditto.
20948 * gdb.asm/configure: Rebuild.
20949 * gdb.asm/xstormy16.inc: New file.
20950
20951 2001-12-10 Fred Fish <fnf@redhat.com>
20952
20953 * gdb.base/maint.exp: Update to match changes in type dumping code.
20954
20955 2001-12-10 Jim Blandy <jimb@redhat.com>
20956
20957 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
20958 matching the entry point symbol's name at the beginning of the
20959 line.
20960
20961 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
20962
20963 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
20964 gdb.c++/inherit.exp, gdb.c++/method.exp,
20965 gdb.c++/namespace.exp, gdb.c++/templates.exp,
20966 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
20967 and class layout support.
20968
20969 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
20970
20971 * gdb.c++/classes.exp: Add test for static member function.
20972 * gdb.c++/misc.cc: Add class with static member function.
20973
20974 2001-12-07 Jim Blandy <jimb@redhat.com>
20975
20976 If GDB says it can't find the struct the function returned, report
20977 those tests as `unsupported'.
20978 * gdb.base/call-rt-st.exp (print_struct_call): New function.
20979 Rewrite subsequent tests to use it.
20980
20981 If GDB says it can't find the struct the function returned, report
20982 those tests as `unsupported'.
20983 * gdb.base/structs.exp (call_struct_func): New function.
20984 (do_function_calls): Use call_struct_func to call the functions
20985 returning structs.
20986
20987 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
20988 whether functions are prototyped or not, so we can't possibly pass
20989 arguments to t_float_values2 properly.
20990
20991 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
20992 value of `timeout' for targets other than the mips*tx39-*.
20993
20994 2001-12-06 Michael Snyder <msnyder@redhat.com>
20995
20996 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
20997 and detect whether the start symbol has a leading underscore.
20998
20999 2001-12-04 Jim Blandy <jimb@redhat.com>
21000
21001 * gdb.base/completion.exp: Clarify indentation.
21002
21003 2001-12-03 Jim Blandy <jimb@redhat.com>
21004
21005 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
21006 variables on the S/390, not `.word'.
21007
21008 2001-11-30 Jim Blandy <jimb@redhat.com>
21009
21010 Add assembly-source tests for s390-ibm-linux.
21011 * gdb.asm/s390.inc: New file.
21012 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
21013 the S/390 architecture.
21014 * gdb.asm/configure: Regenerated.
21015
21016 2001-11-30 Michael Snyder <msnyder@redhat.com>
21017
21018 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
21019 next, info source, info sources, info line, global and static
21020 variables, and static functions.
21021 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
21022 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
21023 * gdb.asm/asmsrc1.s: Add a static function and some variables.
21024 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
21025 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
21026 (gdbasm_leave): Restore frame pointer.
21027 (gdbasm_startup): Copy stack set-up from crt0.S.
21028
21029 2001-11-26 Fernando Nasser <fnasser@redhat.com>
21030
21031 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
21032 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
21033 to a local (non-static) variable. Copy tstruct.a to a static buffer
21034 and return a pointer to that buffer.
21035 * gdb.base/callfwmall.c (t_structs_a): Ditto.
21036
21037 2001-11-24 Mark Kettenis <kettenis@gnu.org>
21038
21039 * gdb.asm/configure.in: Fix recognition of ix86 target.
21040 * gdb.asm/configure: Regenerate.
21041
21042 2001-11-21 Michael Snyder <msnyder@redhat.com>
21043
21044 * gdb.asm/sparc.inc: New file.
21045 * gdb.asm/asm-source.exp: Recognize sparc target.
21046 * gdb.asm/configure.in: Recognize sparc target.
21047 * gdb.asm/configure: Regenerate.
21048
21049 2001-11-21 Michael Snyder <msnyder@redhat.com>
21050
21051 * gdb.asm/m32r.inc: New file.
21052 * gdb.asm/asm-source.exp: Recognize m32r target.
21053 * gdb.asm/configure.in: Recognize m32r target.
21054 * gdb.asm/configure: Regenerate.
21055
21056 2001-11-20 Michael Snyder <msnyder@redhat.com>
21057
21058 * gdb.asm/i386.inc: New file.
21059 * gdb.asm/asm-source.exp: Recognize ix86 target.
21060 * gdb.asm/configure.in: Recognize ix86 target.
21061 * gdb.asm/configure: Regenerate.
21062
21063 * gdb.c++/namespace.exp: Fix quotes in output messages.
21064
21065 2001-11-14 Michael Snyder <msnyder@redhat.com>
21066
21067 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
21068 qualifier in a type cast expression, to designate an address
21069 in the instruction space (Harvard architecture).
21070
21071 2001-11-13 Michael Snyder <msnyder@redhat.com>
21072
21073 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
21074 Tests for expressions using 'const' and 'volatile'.
21075
21076 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
21077
21078 * gdb.asm/asm-sources.exp: Allow defining linker flags.
21079
21080 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
21081
21082 * lib/mi-support.exp (mi_run_to_helper): Move comments
21083 outside of gdb_expect.
21084
21085 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
21086
21087 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
21088 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
21089 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
21090 mi0_run_to): New functions.
21091 * gdb.mi/mi-simplerun.exp: Use them.
21092 * gdb.mi/mi0-simplerun.exp: Likewise.
21093 * gdb.mi/mi-var-cmd.exp: Likewise.
21094 * gdb.mi/mi0-var-cmd.exp: Likewise.
21095
21096 2001-11-10 Andrew Cagney <ac131313@redhat.com>
21097
21098 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
21099 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
21100
21101 2001-11-09 Andrew Cagney <ac131313@redhat.com>
21102
21103 * gdb.base/restore.exp: Include $expected value in restored test
21104 message.
21105
21106 2001-11-09 Andrew Cagney <ac131313@redhat.com>
21107
21108 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
21109 implemented.
21110
21111 2001-11-08 Michael Snyder <msnyder@redhat.com>
21112
21113 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
21114 Add pass/fail message for stop at breakpoint in call dummy function.
21115
21116 2001-11-07 Michael Snyder <msnyder@redhat.com>
21117
21118 * gdb.c++/templates.exp (test_template_breakpoints):
21119 If we get an overload menu, but it does not match what
21120 we expect, we still need to issue the "cancel" command.
21121 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
21122 making the whitespace optional. Argument for "new" may be
21123 "unsigned" as well as "unsigned int/long".
21124 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
21125 making the whitespace optional. Also replace "(void) with
21126 "((void|)), making the keyword "void" optional.
21127 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
21128 making the whitespace optional. Also replace "(void) with
21129 "((void|)), making the keyword "void" optional.
21130 * gdb.base/callfuncs.c (t_float_values): This function must
21131 _not_ be prototyped, and the following function (t_float_values2)
21132 must be prototyped (if the compiler supports it), so that GDB
21133 can be tested against both cases. Usually one case involves
21134 promotion of float to double, while the other does not.
21135 * gdb.base/callfwmall.c: Ditto.
21136 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
21137 includes a stack frame for "start".
21138
21139 2001-11-05 Jim Blandy <jimb@redhat.com>
21140
21141 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
21142 pointers are 32 bits long, and that offsets of relocs are always
21143 stored in the data (REL-style), and not in the reloc entry itself
21144 (RELA-style).
21145 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
21146 stabs.
21147
21148 2001-11-01 Michael Snyder <msnyder@redhat.com>
21149
21150 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
21151 and regular expression operators by using quoting.
21152
21153 2001-10-31 Michael Snyder <msnyder@redhat.com>
21154
21155 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
21156 depending on what the symbol table contains.
21157 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
21158 the output of the ptype command. Similarly, accept both "const &"
21159 and "const&".
21160
21161 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
21162
21163 * gdb.base/miscexprs.c (main): Add usage of preprocessor
21164 symbol `STORAGE' to allow to choose the storage class of
21165 the local datastructures.
21166 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
21167 compiler directive.
21168
21169 2001-10-30 Michael Snyder <msnyder@redhat.com>
21170
21171 * gdb.base/jump.exp: Allow it to run for all targets.
21172
21173 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
21174
21175 * gdb.base/call-ar-st.c (print_double_array): Match for loop
21176 with new double_array size.
21177 (main): Change storage class of all local variables to static.
21178 Reduce size of double_array to 9.
21179 * gdb.base/call-ar-st.exp: Increase timeout value.
21180 Change expected output for double array to match new size in
21181 call-ar-st.c.
21182
21183 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
21184
21185 * gdb.base/ending-run.exp: Create identical output when passing
21186 `step to end of run' case. Add regular expression branch satisfying
21187 Stormy16 target.
21188
21189 2001-10-28 Mark Kettenis <kettenis@gnu.org>
21190
21191 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
21192 that we catch the expected failure under Linux/x86.
21193
21194 2001-10-29 Orjan Friberg <orjanf@axis.com>
21195
21196 * gdb.base/setvar.exp: Escape curly braces.
21197 * gdb.stabs/weird.exp: Ditto.
21198
21199 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
21200
21201 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
21202 * gdm.mi/mi0-hack-cli.exp: Likewise.
21203
21204 2001-10-25 Andrew Cagney <ac131313@redhat.com>
21205
21206 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
21207 messages.
21208
21209 2001-10-21 Andrew Cagney <ac131313@redhat.com>
21210
21211 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
21212 checking MI enabled.
21213
21214 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
21215
21216 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
21217
21218 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
21219
21220 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
21221 if gdb child process crashes, just signal an error.
21222
21223 2001-10-02 Jim Blandy <jimb@redhat.com>
21224
21225 * lib/gdb.exp (test_xfail_format): Simplify.
21226
21227 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
21228 front of the variable name `format'. Simplify `if'.
21229
21230 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
21231
21232 * gdb.threads/pthreads.exp: Wait for output and delay
21233 before sending ^C.
21234
21235 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
21236
21237 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
21238 some incorrect output instead of timing out.
21239 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
21240
21241 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
21242
21243 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
21244 check to allow additional `int'.
21245
21246 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
21247
21248 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
21249 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
21250
21251 2001-09-27 Michael Snyder <msnyder@redhat.com>
21252
21253 * lib/gdb.exp (test_debug_format): New proc.
21254 (setup_xfail_format): Use new proc test_debug_format.
21255 * gdb.base/constvars.exp (local_compiler_xfail_check): New
21256 proc; use new service proc test_debug_format.
21257 Replace all other "gcc_compiled" tests with this test.
21258 * gdb.base/volatile.exp (local_compiler_xfail_check): New
21259 proc; use new service proc test_debug_format.
21260 Replace all other "gcc_compiled" tests with this test.
21261
21262 2001-09-27 Michael Snyder <msnyder@redhat.com>
21263
21264 * gdb.base/cvexpr.exp: New file.
21265 * gdb.base/cvexpr.c: New file
21266 Test for expressions using const and volatile keywords.
21267
21268 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
21269
21270 * gdb.base/constvars.exp: Check for different orders of keywords
21271 and additional "int" strings in output.
21272
21273 2001-09-22 Andrew Cagney <ac131313@redhat.com>
21274
21275 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
21276 responses from "help maint".
21277
21278 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
21279
21280 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
21281 to localhost:NNN instead of :NNN, in case Xvfb is listening
21282 only on TCP.
21283
21284 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
21285
21286 * gdb.base/recurse.exp: When checking leaving the watchpoint
21287 scope, recognize when gdb is in function's epilogue and pass.
21288
21289 2001-09-18 Keith Seitz <keiths@redhat.com>
21290
21291 * lib/insight-support.exp (_gdbtk_export_target_info): Add
21292 support for running tests against sid targets.
21293 (gdbtk_done): Ditto.
21294
21295 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
21296
21297 * gdb.base/ending-run.c (main): Set stdout buffersize
21298 to the same reasonable value for any target.
21299 * gdb.base/ending-run.exp: Add a regular expression
21300 to make testsuite happy on Sanyo Stormy16 target.
21301
21302 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
21303
21304 * gdb.base/display.c (do_loops): Add float variable `f'.
21305 Increment f in loop.
21306 * gdb.base/display.exp: Increment timeout by 60 seconds.
21307 Change float display test to use variable `f'.
21308
21309 2001-09-17 Jim Blandy <jimb@redhat.com>
21310
21311 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
21312 overflowing the limited breakpoint tables on some ROM monitors
21313 (like the ROM68K).
21314
21315 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
21316
21317 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
21318 the "-ac" (disable access control) flag.
21319
21320 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
21321
21322 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
21323 ints.
21324
21325 2001-08-30 Keith Seitz <keiths@redhat.com>
21326
21327 * lib/gdb.exp: Move all insight-related functionality into
21328 separate file.
21329 * lib/insight-support.exp: New file.
21330
21331 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
21332
21333 * config/sid.exp (sid_start): Never set sid verbosity; disable
21334 expect_background {} that consumed its stdout; tolerate </dev/null.
21335 Attempt to set endianness override in "sid" protocol mode. Cleanup.
21336
21337 2001-08-18 Andrew Cagney <ac131313@redhat.com>
21338
21339 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
21340 CLI jump command to start it.
21341 (mi_run_to_main): Fail immediatly when unexpected output.
21342
21343 2001-08-18 Andrew Cagney <ac131313@redhat.com>
21344
21345 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
21346 beginning of function. Fix PR gdb/191.
21347
21348 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
21349
21350 * config/sid.exp (sid_start): Don't warn if we cannot figure out
21351 what to force sid endianness to.
21352
21353 2001-08-15 Keith Seitz <keiths@redhat.com>
21354
21355 * lib/gdb.exp (gdbtk_start): Don't set environment
21356 variables for TCL_LIBRARY and friends. Insight will
21357 now figure these out for itself.
21358
21359 2001-08-02 Michael Snyder <msnyder@redhat.com>
21360
21361 * gdb.base/completion.exp: Remove the symbol "a64l" from
21362 the expect string; this is target-specific, and not related
21363 to what is being tested.
21364
21365 2001-08-02 Dave Brolley <brolley@redhat.com>
21366
21367 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
21368
21369 2001-07-25 Michael Snyder <msnyder@redhat.com>
21370
21371 * gdb.base/consecutive.exp: New file. Test stepping over
21372 breakpoints on consecutive instructions.
21373 * gdb.base/consecutive.c: New file.
21374
21375 * gdb.base/call-rt-st.exp: Use double-backslash to quote
21376 curly braces in regular expressions.
21377
21378 2001-07-25 Michael Snyder <msnyder@redhat.com>
21379
21380 * gdb.base/ending-run.exp: Accept "Program exited normally" as
21381 legitimate output from stepping out of main.
21382
21383 2001-07-22 Keith Seitz <keiths@redhat.com>
21384
21385 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
21386 the empty string, do not run the tests.
21387
21388 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21389
21390 * gdb.base/long_long.exp: Detect size of pointer. Take into
21391 account 2-byte pointers when testing for p/a results.
21392
21393 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21394
21395 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
21396 and defined to 1K for m68hc11.
21397 (random_data): Reduce table to 1K for embedded platforms (68hc11).
21398 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
21399 (sizeof_random_data): New variable to tell the size of the data table;
21400 don't test past this size; always run to main.
21401
21402 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21403
21404 * gdb.base/return2.exp: return of long long and double fails for
21405 68HC11; don't execute these tests on that platform.
21406 * gdb.base/return.exp: Return of a double fails for 68hc11.
21407
21408 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21409
21410 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
21411 tests that print a float.
21412 * call-rt-st.exp: Likewise.
21413
21414 2001-07-12 Mark Kettenis <kettenis@gnu.org>
21415
21416 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
21417 running this test on Linux.
21418
21419 2001-06-24 Michael Chastain <chastain@redhat.com>
21420
21421 * gdb.base/arithmet.exp: Remove some tests to make all test names
21422 unique.
21423
21424 2001-07-03 Michael Snyder <msnyder@redhat.com>
21425
21426 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
21427 the output of the ptype command.
21428
21429 2001-07-02 Michael Snyder <msnyder@redhat.com>
21430
21431 * gdb.base/completion.exp: Don't assume that break.c is the only
21432 source file that may contain functions named "marker".
21433 * gdb.base/corefile.exp: Quote the curly braces in regexp.
21434
21435 2001-06-28 Andrew Cagney <ac131313@redhat.com>
21436
21437 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
21438 of files to delete.
21439
21440 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
21441 * gdb.disasm/h8300s.exp: New file.
21442 gdb.disasm/h8300s.s: Likewise.
21443
21444 2001-06-27 Andrew Cagney <ac131313@redhat.com>
21445
21446 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
21447 empty breakpoint tables.
21448
21449 2001-06-25 Andrew Cagney <ac131313@redhat.com>
21450
21451 * lib/mi-support.exp: Update args=... part of stop-reason
21452 patterns. Accept either a list or a tuple.
21453
21454 2001-06-23 Andrew Cagney <ac131313@redhat.com>
21455
21456 * lib/mi-support.exp: Remove local emacs variable defining
21457 change-log-default-name.
21458
21459 2001-06-22 Michael Chastain <chastain@redhat.com>
21460
21461 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
21462 This is operationally compatible with the previous version.
21463
21464 2001-06-13 Jim Blandy <jimb@redhat.com>
21465
21466 * lib/gdb.exp (gdb_test): Doc fix.
21467
21468 2001-06-10 Michael Chastain <chastain@redhat.com>
21469
21470 * gdb.base/exprs.exp: Remove a duplicate test.
21471
21472 2001-06-06 Jim Blandy <jimb@redhat.com>
21473
21474 * gdb.base/return2.exp (main): Use values to test float and double
21475 returns that are not NaN's, to avoid being confused by IEEE
21476 comparison rules.
21477
21478 2001-06-04 Michael Snyder <msnyder@redhat.com>
21479
21480 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
21481 non-zero if control_c fails. Terminate the test on failure,
21482 rather than wait for 12 more tests to time out.
21483
21484 2001-06-06 Jim Blandy <jimb@redhat.com>
21485
21486 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
21487 Don't forget to match the GDB prompt.
21488
21489 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
21490
21491 2001-06-04 Jim Blandy <jimb@redhat.com>
21492
21493 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
21494 command.
21495
21496 2001-05-31 Kevin Buettner <kevinb@redhat.com>
21497
21498 * gdb.base/annota1.exp (info break): Match four or more spaces
21499 after "Address".
21500
21501 2001-05-31 Michael Chastain <chastain@redhat.com>
21502
21503 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
21504 (dm_type_int_star): Likewise.
21505 (dm_type_long_star): Likewise.
21506 (dm_type_void_star): Likewise.
21507
21508 2001-05-29 Kevin Buettner <kevinb@redhat.com>
21509
21510 * gdb.base/completion.exp (INPUTRC): Set this environment variable
21511 to a known value in order to get consistent results regardless
21512 of the setting of INPUTRC or the presence or contents of .inputrc.
21513
21514 2001-05-24 Michael Snyder <msnyder@redhat.com>
21515
21516 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
21517 Don't require that the main thread and the manager thread are the
21518 first in the list.
21519
21520 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
21521 debugging. If test fails, issue an "unsupported" not a "fail".
21522
21523 2001-05-24 Jim Blandy <jimb@redhat.com>
21524
21525 Don't assume that short is shorter than int.
21526 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
21527 assume that shorts are smaller than ints. On a 16-bit machine,
21528 this isn't true.
21529 ("print unsigned char == (~0)"): Add test that verifies that ~0,
21530 an int, is not equal to ~0 stored in an unsigned char. This tests
21531 the same thing that the previous test meant to, but works on
21532 16-bit machines, too.
21533 ("print unsigned char != (~0)"): Same test, complemented.
21534
21535 2001-05-24 Michael Snyder <msnyder@redhat.com>
21536
21537 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
21538 test for (full_coverage == 0). This makes the test run faster,
21539 and prevents dejagnu getting out of step.
21540
21541 2001-05-23 Kevin Buettner <kevinb@redhat.com>
21542
21543 * gdb.base/finish.exp (finish_void): Revise pattern for
21544 stopping on the call statement to not permit stopping at
21545 the start of the instructions comprising the call sequence.
21546
21547 2001-05-19 Michael Chastain <chastain@redhat.com>
21548
21549 * gdb.base/callfuncs.exp: Make all test names unique.
21550 * gdb.base/commands.exp: Make all test names unique.
21551 * gdb.base/condbreak.exp: Make all test names unique.
21552 * gdb.base/dbx.exp: Make all test names unique.
21553 * gdb.base/default.exp: Make all test names unique.
21554 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
21555 and TIMEOUT messages to their corresponding PASS message.
21556 * gdb.base/ending-run.exp: Make all test names unique.
21557 * gdb.base/long_long.exp: Remove duplicate test.
21558
21559 2001-05-21 Kevin Buettner <kevinb@redhat.com>
21560
21561 * gdb.base/finish.exp (finish_void): Allow "finish" command to
21562 stop on the call statement as well as the statement after the
21563 call.
21564
21565 2001-05-21 Michael Snyder <msnyder@redhat.com>
21566
21567 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
21568
21569 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
21570
21571 * gdb.base/completion.exp: Revamp test. Make it execute on all
21572 platforms.
21573
21574 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
21575
21576 * config/gdbserver.exp (gdb_load): Handle the case
21577 in which the arguments to gdbserver are given in the
21578 baseboard configuration file.
21579 Also handle the case in which the server needs to do a
21580 load.
21581
21582 2001-05-07 Keith Seitz <keiths@cygnus.com>
21583
21584 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
21585 set up the display for testing.
21586 (gdbtk_start): Convert all paths to paths that tcl will like.
21587 Export target information to environment.
21588 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
21589 necessary.
21590 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
21591 (to_tcl_path): New proc to convert a given pathname into
21592 a path acceptible as an argument to a tcl command.
21593 (_gdbtk_export_target_info): New proc to export target info
21594 into the environment for gdbtk testing.
21595 (gdbtk_done): New proc to signal end-of-test.
21596
21597 2001-05-06 Jim Blandy <jimb@redhat.com>
21598
21599 * restore.c: Make the code of caller0 correspond to its comment.
21600
21601 2001-05-03 Michael Snyder <msnyder@redhat.com>
21602
21603 * config/sid.exp (gdb_target_sid): Check for error messages.
21604 On error or timeout, don't make expect exit (which will terminate
21605 all subsequent tests); instead just make gdb exit.
21606 (gdb_load): Check for error messages. On error or timeout,
21607 return a negative value.
21608
21609 2001-04-24 Jim Blandy <jimb@redhat.com>
21610
21611 * gdb.c++/templates.exp: If we see the prompt for the overload
21612 list, but we haven't recognized any of the longer patterns,
21613 arrange for this test to fail, not hang.
21614
21615 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
21616 variations.
21617
21618 2001-04-22 Michael Chastain <chastain@redhat.com>
21619
21620 * gdb.c++/local.exp: Use the 'runto' library function.
21621 * gdb.c++/namespace.exp: Likewise.
21622 * gdb.c++/overload.exp: Likewise.
21623
21624 2001-03-26 Kevin Buettner <kevinb@redhat.com>
21625
21626 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
21627 * gdb.base/step-line.exp: New file. Test step/next in presence of
21628 #line directives.
21629 * gdb.base/step-line.c: New file. Test program for the above.
21630 * gdb.base/step-line.inp: New file. We pretend that this file has
21631 been transformed by some other tool into step-line.c.
21632
21633 2001-03-21 Jim Blandy <jimb@redhat.com>
21634
21635 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
21636 unmangled operator names.
21637
21638 2001-03-20 Jim Blandy <jimb@redhat.com>
21639
21640 * gdb.threads/linux-dp.exp: Recognize an additional message
21641 generated by GDB when it doesn't understand how to debug threads
21642 on the target system.
21643
21644 2001-03-19 Andrew Cagney <ac131313@redhat.com>
21645
21646 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
21647
21648 2001-03-12 Michael Chastain <chastain@redhat.com>
21649
21650 * gdb.c++/derivation.exp: Use the 'runto' library function.
21651
21652 2001-03-12 Michael Chastain <chastain@redhat.com>
21653
21654 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
21655
21656 2001-02-24 Michael Chastain <chastain@redhat.com>
21657
21658 * gdb.c++/ref-types.exp: Change handwritten code to library
21659 function 'runto'.
21660
21661 2001-03-16 Orjan Friberg <orjanf@axis.com>
21662
21663 * gdb.base/signals.exp: Set count to 0 explicitly.
21664
21665 2001-03-15 Mark Salter <msalter@redhat.com>
21666
21667 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
21668 (gdb_target_monitor): Add check of gdb_target_cmd return value.
21669 (gdb_load): Add support for additional target_info: gdb_download_size
21670 and gdb_load_timeout.
21671
21672 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
21673
21674 * gdb.base/annota1.exp: Move test of isnative to earlier in the
21675 file -- to prevent failing when the compile fails but we have no
21676 intention of running the tests anyway.
21677
21678 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
21679 tests if set.
21680
21681 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
21682 integers.
21683
21684 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
21685 * gdb.c++/namespace.exp: Ditto.
21686
21687 2001-03-07 Orjan Friberg <orjanf@axis.com>
21688
21689 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
21690 * gdb.base/pointers.exp: Relax pattern match of decimals.
21691
21692 2001-03-06 Kevin Buettner <kevinb@redhat.com>
21693
21694 * Makefile.in, config/abug.exp, config/cfdbug.exp,
21695 config/cpu32bug.exp, config/dve.exp, config/est.exp,
21696 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
21697 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
21698 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
21699 config/sh.exp, config/sid.exp, config/slite.exp,
21700 config/sparclet.exp, config/udi.exp, config/unknown.exp,
21701 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
21702 config/vxworks.exp, config/vxworks29k.exp,
21703 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
21704 gdb.base/all-bin.exp, gdb.base/annota1.exp,
21705 gdb.base/arithmet.exp, gdb.base/assign.exp,
21706 gdb.base/async.exp, gdb.base/attach.exp,
21707 gdb.base/bitfields.exp, gdb.base/bitops.exp,
21708 gdb.base/break.exp, gdb.base/call-ar-st.exp,
21709 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
21710 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
21711 gdb.base/commands.exp, gdb.base/completion.exp,
21712 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
21713 gdb.base/constvars.exp, gdb.base/corefile.exp,
21714 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
21715 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
21716 gdb.base/ending-run.exp, gdb.base/environ.exp,
21717 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
21718 gdb.base/finish.exp, gdb.base/foll-exec.exp,
21719 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
21720 gdb.base/funcargs.exp, gdb.base/help.exp,
21721 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
21722 gdb.base/logical.exp, gdb.base/long_long.exp,
21723 gdb.base/maint.exp, gdb.base/mips_pro.exp,
21724 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
21725 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
21726 gdb.base/pointers.exp, gdb.base/printcmds.exp,
21727 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
21728 gdb.base/regs.exp, gdb.base/relational.exp,
21729 gdb.base/remote.exp, gdb.base/reread.exp,
21730 gdb.base/restore.exp, gdb.base/return2.exp,
21731 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
21732 gdb.base/selftest.exp, gdb.base/setshow.exp,
21733 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
21734 gdb.base/sigall.exp, gdb.base/signals.exp,
21735 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
21736 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
21737 gdb.base/step-test.exp, gdb.base/structs.c,
21738 gdb.base/structs.exp, gdb.base/structs2.exp,
21739 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
21740 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
21741 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
21742 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
21743 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
21744 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
21745 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
21746 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
21747 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
21748 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
21749 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
21750 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
21751 gdb.fortran/types.exp, gdb.java/jmisc.exp,
21752 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
21753 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
21754 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
21755 gdb.trace/circ.exp, gdb.trace/collection.exp,
21756 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
21757 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
21758 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
21759 gdb.trace/report.exp, gdb.trace/save-trace.exp,
21760 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
21761 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
21762 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
21763 notices.
21764
21765 2001-02-27 Michael Snyder <msnyder@cygnus.com>
21766
21767 * gdb.base/varargs.c (find_max_double): Fix printf format string:
21768 first arg is int not float.
21769
21770 2001-02-22 Michael Snyder <msnyder@cygnus.com>
21771
21772 * gdb.base/reread.exp: Unsupported for non-native targets;
21773 doesn't work for remote debugging.
21774
21775 2001-02-19 Fernando Nasser <fnasser@redhat.com>
21776
21777 From Drew Moseley <dmoseley@redhat.com>
21778 * gdb.base/ending-run.exp: Properly handle the BSP state when
21779 stepping past the end of main.
21780
21781 2001-02-19 John Moore <jmoore@redhat.com>
21782
21783 * gdb.base/commands.exp (infrun_breakpoint_command_test):
21784 Converted HPUX fix for non-expected items following multiple
21785 step commands into general solution for all platforms.
21786
21787 2001-02-18 Michael Chastain <chastain@redhat.com>
21788
21789 * gdb.c++/classes.exp (do_tests): Change runto statements
21790 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21791 statements demangler agnostic.
21792 * gdb.c++/virtfunc.exp (do_tests): Likewise.
21793 (gdb_virtfunc_restart): Likewise.
21794
21795 2001-02-14 Michael Chastain <chastain@redhat.com>
21796
21797 * gdb.c++/inherit.exp (do_tests): Change runto statements
21798 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21799 statements demangler agnostic.
21800
21801 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
21802
21803 * gdb.threads/pthreads.exp: Unify pass/fail messages for
21804 ``continue to bkpt at common_routine in thread 2'' and ``stopped
21805 before calling common_routine 15 times'' tests.
21806
21807 2001-02-11 Michael Chastain <chastain@redhat.com>
21808
21809 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
21810 Helps the test script figure out which demangler is in use.
21811 (dm_type_foo_ref): Ditto.
21812 (dm_type_int_star): Ditto.
21813 (dm_type_long_star): Ditto.
21814 (dm_type_unsigned_int): Ditto.
21815 (dm_type_void): Ditto.
21816 (dm_type_void_star): Ditto.
21817 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
21818 Probe the gdb demangler and set variables to accommodate
21819 formatting differences.
21820 (info_func_regexp): New function. Same as info_func, but
21821 matches against a regexp.
21822 (info_func): Match against a literal string.
21823 (print_addr_2): New function. Match against a literal string,
21824 which can be different from the input to gdb.
21825 (print_addr): Simply call print_addr_2 with the same argument twice.
21826 (test_lookup_operator_functions): Use demangler formatting variables.
21827 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
21828 the tests in the same order as the C++ class declaration.
21829 (test_paddr_operator_functions): Ditto.
21830 (test_paddr_overloaded_functions): Ditto.
21831 (test_paddr_hairy_functions): Use demangler formatting variables.
21832 Add reference to gdb/19 for related tests.
21833 (do_tests): Call probe_demangler.
21834
21835 2001-01-30 Kevin Buettner <kevinb@redhat.com>
21836
21837 * gdb.c++/templates.cc (printf): Remove unused function definition.
21838
21839 2001-01-26 Felix Lee <flee@redhat.com>
21840
21841 * sid.exp (sid_exit): Pass host, not target, to remote_close.
21842
21843 2001-01-25 matthew green <mrg@redhat.com>
21844
21845 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
21846 up sid.
21847 (sid_exit): Call `remote_pop_conn' after GDB is gone.
21848
21849 2001-01-25 matthew green <mrg@redhat.com>
21850
21851 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
21852 Deprecate $sid_spawn_id.
21853 (sid_exit): Remove code necessary only for `spawn.'
21854
21855 2001-01-25 matthew green <mrg@redhat.com>
21856
21857 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
21858
21859 2001-01-28 Michael Chastain <chastain@redhat.com>
21860
21861 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
21862 to call when tests fail. It takes gdb out of the overloaded
21863 function choice menu back to the main prompt, so that the test
21864 program stays synchronized.
21865 (set_bp_overloaded): New proc to collect all the common
21866 code for setting a breakpoint on an overloaded name. Calls
21867 take_gdb_out_of_choice_menu when needed.
21868 (menu_overload1arg): New variable to collect the repeated
21869 instances of the expected menu for an overloaded name. Change
21870 the regular expression to handle changes in g++ type encoding:
21871 "void" can be either "void" or "", and "unsigned int" can be
21872 either "unsigned int" or "unsigned".
21873 (continue_to_bp_overloaded): Change regular expressions to handle
21874 changes in g++ type encoding.
21875 (no proc): Call take_gdb_out_of_choice_menu when needed.
21876 Remove redundant calls to "info break". Accept either "canceled"
21877 or "cancelled". Change regular expressions in "info break"
21878 calls to handle changes in g++ type encoding. Give all tests
21879 unique strings.
21880
21881 2001-01-17 Ben Elliston <bje@redhat.com>
21882
21883 * config/sid.exp: New file.
21884
21885 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
21886
21887 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
21888
21889 2000-12-21 Michael Snyder <msnyder@cygnus.com>
21890
21891 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
21892 Add a RE to accept a non-ascii char if one is ever presented.
21893
21894 2000-12-20 Fernando Nasser <fnasser@redhat.com>
21895
21896 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
21897
21898 2000-12-18 Michael Snyder <msnyder@cygnus.com>
21899
21900 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
21901 in regexp. One '\' does not suffice on Linux.
21902
21903 2000-12-09 Michael Chastain <chastain@redhat.com>
21904
21905 * gdb.base/break.exp (test_clear_command): Use a marker function
21906 rather than 'main' for the test function. Also move this
21907 test to an execution point where the marker function names are
21908 guaranteed to be bound to functions. (Executing tests after a
21909 'finish' from main runs into name conflicts with local names
21910 in __libc_start_main).
21911
21912 2000-12-07 Michael Snyder <msnyder@cygnus.com>
21913
21914 * gdb.base/finish.exp: New test for gdb's "finish" command.
21915 * gdb.base/return2.exp: New test for gdb's "return" command.
21916 * gdb.base/return2.c: New source file for above.
21917
21918 2000-12-05 Michael Snyder <msnyder@cygnus.com>
21919
21920 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
21921 * gdb.base/miscexprs.exp: Ditto.
21922 * gdb.base/pointers.exp: Ditto.
21923 * gdb.c++/derivation.exp: Ditto.
21924 * gdb.c++/local.exp: Ditto.
21925 * gdb.c++/namespace.exp: Ditto.
21926 * gdb.c++/overload.exp: Ditto.
21927 * gdb.c++/ref-types.exp: Ditto.
21928
21929 2000-12-05 Michael Snyder <msnyder@cygnus.com>
21930
21931 * gdb.base/constvars.exp: Test result of "up" command.
21932 * gdb.base/miscexprs.exp: Ditto.
21933 * gdb.base/pointers.exp: Ditto.
21934 * gdb.base/scope.exp: Ditto.
21935 * gdb.c++/derivation.exp: Ditto.
21936 * gdb.c++/local.exp: Ditto.
21937 * gdb.c++/namespace.exp: Ditto.
21938 * gdb.c++/overload.exp: Ditto.
21939 * gdb.c++/ref-types.exp: Ditto.
21940
21941 2000-11-22 Michael Chastain <chastain@redhat.com>
21942
21943 * mips_pro.exp: Accept either "middle -> top -> main" or
21944 "middle -> main" in the backtrace, because gcc can optimize
21945 tail calls to jumps. Remove setup_xfail for the hppa case.
21946 Add a comment with the original warning messages from PR 3016,
21947 which was filed in 1993, to preserve them for posterity.
21948
21949 2000-11-17 Nick Duffek <nsd@redhat.com>
21950
21951 * lib/gdb.exp (gdb_test): Override timeout with board info.
21952
21953 2000-11-17 Nick Duffek <nsd@redhat.com>
21954
21955 * gdb.base/display.exp: Don't kill running stub. Add "again" to
21956 the second kill and detach messages.
21957
21958 2000-11-17 Nick Duffek <nsd@redhat.com>
21959
21960 * configure.in: Add AC_EXEEXT.
21961 * configure: Regenerate.
21962 * Makefile.in (just-check): Export EXEEXT.
21963 * lib/gdb.exp ($EXEEXT): Import from environment.
21964 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
21965 expect "maint dump-me" on Cygwin.
21966 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
21967 $EXEEXT.
21968
21969 2000-11-17 Nick Duffek <nsd@redhat.com>
21970
21971 * gdb.base/break.exp: Test backtrace and finish from called
21972 function on all platforms, not just HP-UX.
21973
21974 2000-11-03 Michael Snyder <msnyder@cygnus.com>
21975
21976 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
21977 code from gdb_target_monitor, so it can be used independantly
21978 for gdbserver. Also comment out an unnecessary PUTS.
21979
21980 2000-11-03 Michael Snyder <msnyder@cygnus.com>
21981
21982 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
21983 * gdb.base/corefile.exp: Expect the message "Program is being
21984 debugged already" when we send the "corefile" command, since
21985 the preceeding gdb_load may have connected gdb to a remote target.
21986 * gdb.base/display.exp: Disable hardware watchpoints if new
21987 board info variable "no_hardware_watchpoints" is true.
21988 Replace single-letter commands with more readable ones.
21989 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
21990 if new board info variable "no_hardware_watchpoints" is true.
21991 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
21992 to see if stdio (printf) testing is possible.
21993 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
21994 board info variable "no_hardware_watchpoints" is true. Use new
21995 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
21996
21997 2000-11-13 Fernando Nasser <fnasser@redhat.com>
21998
21999 From Orjan Friberg <orjanf@axis.com>:
22000 * gdb.base/printcmds.exp: Escape curly braces followed by a number
22001 in array print pattern match.
22002
22003 2000-11-09 Fernando Nasser <fnasser@redhat.com>
22004
22005 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
22006 spelling "cancelled" to U.S. spelling "canceled" to match changes
22007 made to gdb.
22008 * gdb.c++/ovldbreak.exp: Ditto.
22009
22010 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22011
22012 * gdb.base/callfuncs.c (main): Moved to end of file, call
22013 t_double_values to initialize the FPU before inferior calls are made.
22014 * gdb.base/callfuncs.exp: Test for register preservation after calling
22015 inferior functions. Add tests for continuining, finishing and
22016 returning from a stop in a call dummy.
22017
22018 2000-10-24 Michael Snyder <msnyder@cygnus.com>
22019
22020 * gdb.base/commands.exp: Break up long lines, and re-indent.
22021
22022 2000-10-19 Michael Snyder <msnyder@cygnus.com>
22023
22024 * config/gdbserver.exp: Rewritten from the ground up, to make it
22025 compatible with the current dejagnu tree, and to make it work with
22026 the new "gdbserver" in libremote.
22027
22028 2000-10-16 Michael Snyder <msnyder@cygnus.com>
22029
22030 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
22031 * gdb.base/varargs.exp: Skip entire test if no printf support.
22032 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
22033 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
22034
22035 2000-10-13 Michael Snyder <msnyder@cygnus.com>
22036
22037 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
22038 no floating point support.
22039 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
22040 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
22041 * gdb.base/call-rt-st.exp: Ditto.
22042 * gdb.base/call-strs.exp: Ditto.
22043
22044 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
22045
22046 * gdb.base/sizeof.c: include <stdio.h>.
22047
22048 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
22049 'finish', otherwise uncaptured gdb_prompt would potentially
22050 throw remaining test points out of sync.
22051
22052 2000-07-26 Scott Bambrough <scottb@netwinder.org>
22053
22054 * gdb.base/recurse.exp: Run tests for all targets.
22055 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
22056 gnu-oldld case on ARM.
22057 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
22058 for ARM targets.
22059
22060 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
22061
22062 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
22063 * gdb.java/configure: Rebuild.
22064
22065 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
22066
22067 * gdb.java/jv-exp.exp: New file.
22068
22069 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
22070
22071 * configure: Rebuilt.
22072 * configure.in (configdirs): Add gdb.java.
22073 * gdb.java/jmisc.java: New file.
22074 * gdb.java/jmisc.exp: New file.
22075 * gdb.java/Makefile.in: New file.
22076 * gdb.java/configure: Rebuilt.
22077 * gdb.java/configure.in: New file.
22078 * lib/java.exp: New file.
22079
22080 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
22081
22082 * gdb.base/exprs.exp: Test casts to a pointer including over and
22083 underflow.
22084
22085 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
22086
22087 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
22088 and the compilers sizes.
22089
22090 2000-07-09 Nick Duffek <nsd@redhat.com>
22091
22092 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
22093 (use_methods): New function.
22094 (main): Call use_methods().
22095 * gdb.c++/classes.exp (test_method_param_class): New procedure.
22096 (do_tests): Call test_method_param_class.
22097
22098 2000-07-09 Nick Duffek <nsd@redhat.com>
22099
22100 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
22101 spelling.
22102 (test_enums): New procedure. Move enum tests from end of script
22103 to here. Set breakpoint on function name instead of line number.
22104 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
22105 (enums2): New marker function.
22106 (enums1): New function.
22107 (main): Call enums1(). Move enum tests to enums1().
22108
22109 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
22110
22111 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
22112 compile/link program. Update line numbers.
22113 * gdb.asm/d10v.inc: Define ``startup''.
22114 * gdb.asm/asmsrc1.s: Add definition of _start.
22115
22116 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
22117
22118 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
22119
22120 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22121
22122 * gdb.base/maint.exp: Add 'maint print architecture' item to output
22123 of 'help maint print' command.
22124
22125 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
22126
22127 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
22128 they use gdb_expect_list.
22129
22130 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
22131
22132 * gdb.base/commands.exp: Use ``set remote
22133 memory-read-packet-size'' instead of ``set endian big'' to test
22134 long commands.
22135
22136 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
22137
22138 * gdb.c++/templates.exp (do_tests): Make all of these work under
22139 g++, and stop skipping them.
22140
22141 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
22142 work under g++.
22143
22144 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
22145 initialization.
22146
22147 2000-06-02 Michael Snyder <msnyder@cygnus.com>
22148
22149 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
22150 the regular expression: accept an (almost) arbitrary sequence of
22151 "frames-invalid" and "breakpoints-invalid" messages both before
22152 and after the "starting" message.
22153
22154 2000-06-02 Michael Snyder <msnyder@cygnus.com>
22155
22156 * gdb.c++/local.exp: This test has never been known to work with g++.
22157
22158 2000-05-18 Michael Snyder <msnyder@cygnus.com>
22159
22160 * gdb.base/annota1.exp (annotate-signal-handler-caller):
22161 Relax the regular expression a little, make it pass on Solaris 8.
22162
22163 2000-05-12 Kevin Buettner <kevinb@redhat.com>
22164
22165 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
22166 a call, do not require that gdb stop on the line after the call.
22167 Instead, it is permissible for gdb to stop on the line of the
22168 call itself.
22169
22170 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
22171
22172 * gdb.base/break.exp (bp on small function, optimized file):
22173 Add a second pass pattern. The behavior differs here between stabs
22174 and dwarf for one-line functions. Stabs preserves two line symbols
22175 (one before the prologue and one after) with the same line number,
22176 but dwarf regards these as duplicates and discards one of them.
22177 Therefore the address after the prologue (where the breakpoint is)
22178 has no exactly matching line symbol, and GDB reports the breakpoint
22179 as if it were in the middle of a line rather than at the beginning.
22180
22181 2000-05-08 Michael Snyder <msnyder@cygnus.com>
22182
22183 * gdb.base/interrupt.exp: Make "pass" message say "send"
22184 rather than "send_gdb" (for consistancy).
22185
22186 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
22187
22188 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
22189 * gdb.c++/templates.cc: Properly check for GCC version number.
22190 * lib/compiler.cc: Likewise
22191
22192 2000-04-28 Michael Snyder <msnyder@cygnus.com>
22193
22194 * gdb.base/break.exp: When compiled with -O2 optimization,
22195 gdb may not stop at the first line of main, due to code motion.
22196
22197 2000-04-26 Michael Snyder <msnyder@cygnus.com>
22198
22199 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
22200 This test depends on parsing the printf output from the target.
22201 Since the sparclet stub doesn't do stdio, this will never work.
22202 * gdb.base/call-rt-st.exp: ditto.
22203 * gdb.base/call-strs: ditto.
22204
22205 2000-04-24 Michael Snyder <msnyder@cygnus.com>
22206
22207 * gdb.base/miscexprs.exp: make sizeof long array test portable.
22208
22209 * gdb.base/ending-run.exp: After connecting to a remote target,
22210 but before running, the target will appear to be in a random
22211 location. Specify both a file and a line for breakpoints.
22212 Also, the function that calls main may be called 'init'
22213 rather than 'start'.
22214
22215 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22216
22217 * gdb.base/help.exp: Update output for add-symbol-file command.
22218
22219 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
22220
22221 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22222 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
22223
22224 2000-04-07 J.T. Conklin <jtc@redback.com>
22225
22226 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
22227
22228 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
22229
22230 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
22231
22232 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
22233 values that can be represented exactly.
22234 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
22235 above change, and to not check against the directory part of the source
22236 file name.
22237 (step into print_long_arg_list): Likewise.
22238 (print print_small_structs from print_long_arg_list): Likewise.
22239 (print print_long_arg_list): Likewise.
22240
22241 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22242
22243 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
22244
22245 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
22246
22247 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
22248
22249 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
22250
22251 * gdb.base/commands.exp (deprecated_command_test): Add test for
22252 deprecate with no arguments.
22253
22254 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
22255
22256 * gdb.base/break.exp: Add new test for setting breakpoints on
22257 optimized code so we can test breakpoints work even when function
22258 prologues may be optimized away
22259
22260 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
22261
22262 From David Whedon <dwhedon@gordian.com>
22263 * gdb.base/commands.exp : Added command deprecator tests.
22264
22265 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
22266
22267 * gdb.base/help.exp: Added test for new apropos command.
22268
22269 2000-03-21 Kevin Buettner <kevinb@redhat.com>
22270
22271 * gdb.base/pointers.c (usevar): New function.
22272 (main): Make sure that global variables v_int_pointer2, rptr,
22273 and y are all referenced someplace in the program by calling
22274 usevar() on them. [Some linkers delete symbols which are
22275 never referenced. The space remains, but there's no way to
22276 get a (symbolic) handle on the variable from the debugger.]
22277
22278 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22279
22280 * gdb.base/printcmds.c: Add typedeffed arrays.
22281
22282 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
22283 procedure to test arrays that are typedef'd.
22284
22285 2000-03-13 James Ingham <jingham@leda.cygnus.com>
22286
22287 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
22288 the library directories.
22289
22290 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
22291
22292 * configure.in (configdirs): Add sub directory gdb.mi.
22293 * configure: Re-generate.
22294
22295 * gdb.mi: New directory.
22296
22297 2000-02-25 Scott Bambrough <scottb@netwinder.org>
22298
22299 * gdb.base/long_long.exp: Correct test suite failure when printing
22300 a long long value as a double on ARM platforms.
22301
22302 2000-02-16 Jim Blandy <jimb@redhat.com>
22303
22304 * gdb.base/break.exp ("breakpoint line number"): Make sure the
22305 default source file is set properly before running this test.
22306
22307 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22308
22309 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
22310 gdbtk/library directory, not in gdbtcl2.
22311
22312 2000-02-04 Jim Blandy <jimb@redhat.com>
22313
22314 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
22315 backslash from regexp pattern.
22316
22317 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
22318 procedure. Use it to run all the "continue to bp overloaded"
22319 tests. Note that this changes the names of the tests slightly.
22320 If the breakpoint hit message includes a hex PC value, because
22321 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
22322 from the real source code, still consider that a pass.
22323
22324 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
22325 XFAIL here if the breakpoint message contains a hex address. Note
22326 similar change on 1999-11-02.
22327
22328 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
22329
22330 * gdb.base/ptype.exp: Establish a default source file before
22331 calling get_debug_format.
22332
22333 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
22334
22335 * gdb.base/watchpoint.exp: Remove duplication of test messages.
22336
22337 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22338
22339 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
22340 of successive stepi commands -- while in the prologue we should see
22341 the function entry bracket.
22342
22343 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22344
22345 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
22346 reach __change_mode() when stepping through the end of main().
22347
22348 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
22349
22350 * gdb.base/default.exp: Fix expected pattern.
22351 * gdb.base/help.exp: Same.
22352
22353 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22354
22355 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
22356 Don't use xfail's because that affects only the following test.
22357
22358 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
22359 solaris or linux.
22360
22361 * gdb.base/selftest.exp: Update to reflect changes to main.c.
22362
22363 2000-01-07 Michael Snyder <msnyder@cygnus.com>
22364
22365 * gdb.base/display.exp: Some yacc parsers like to say
22366 "A syntax error" rather than "A parse error". Accept both.
22367
22368 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
22369
22370 * gdb.base/default.exp: Remove OS dependent string from "target
22371 remote" test.
22372 * gdb.base/help.exp: Same for "help target remote" test.
22373
22374 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22375
22376 From Jim Kingdon <kingdon@redhat.com>:
22377
22378 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
22379 prompt (cleanup rather than necessity, but still might keep output
22380 from spilling to next test).
22381
22382 2000-01-02 Fred Fish <fnf@cygnus.com>
22383
22384 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
22385 AIX, which defines them in <sys/types.h>.
22386
22387 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
22388
22389 * gdb.base/default.exp: Match arm* etc instead of arm in "info
22390 float" test.
22391
22392 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
22393
22394 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
22395
22396 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
22397 outermost frame disallowed".
22398
22399 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
22400
22401 * gdb.base/setvar.exp: New tests for setting the value of a struct
22402 with a constant list.
22403
22404 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
22405
22406 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
22407 require the user to type a cast before setting the value of a struct.
22408
22409 1999-12-06 Jim Blandy <jimb@cygnus.com>
22410
22411 * gdb.base/default.exp: Expect the new 'info float' command on
22412 all i386 platforms.
22413
22414 * gdb.threads/linux-dp.exp: Expand our ability to recognize
22415 LinuxThreads libraries that don't support debugging.
22416
22417 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22418
22419 * gdb.base/remote.c: Fill the buffer with truely random data.
22420 Change the buffer type to ``unsigned char'' to simplify size
22421 arithmetic.
22422
22423 * gdb.base/remote.exp: Reduce download numbers by one. Typical
22424 stub only handles 400-1 byte packets. Verify that the download
22425 worked.
22426
22427 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
22428
22429 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
22430 tests, using UNRESOLVED for the untested cases. Also, does not wait
22431 for a timeout if the prompt was received before a recognizable pattern.
22432
22433 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
22434
22435 * lib/gdb.exp (gdb_expect_list): Fix spelling.
22436
22437 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22438
22439 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
22440 watchpoints.
22441
22442 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
22443
22444 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
22445
22446 * gdb.c++/local.exp: Be more flexible in recognizing local class
22447 name mangling. Don't allow horribly truncated method names.
22448 * gdb.c++/derivation.exp: Expect protected inheritance.
22449 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
22450 * gdb.c++/virtfunc.exp: Likewise.
22451 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
22452 when printing a nested enum.
22453
22454 1999-11-22 Jim Blandy <jimb@cygnus.com>
22455
22456 * gdb.base/step-test.exp: Properly await GDB's response to setting
22457 a breakpoint on the call to large_struct_by_value.
22458
22459 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
22460 just because we have debug info for the `start' function.
22461
22462 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
22463
22464 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
22465 "Unknown signal" messages, which indicate (on LinuxThreads) that
22466 GDB doesn't know how to debug threads on this system. This is
22467 better than hanging while philosopher 0 dumps chatter into gdb.log.
22468
22469 1999-11-18 Tom Tromey <tromey@cygnus.com>
22470
22471 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
22472
22473 1999-11-18 Fred Fish <fnf@cygnus.com>
22474
22475 * gdb.base/coremaker2.c: Add sample program for generating
22476 cores that is more self contained than coremaker.c. Eventually
22477 I'll add more code to this and tie it into the testsuite.
22478
22479 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
22480
22481 * gdb.base/dollar.exp: Remove, now in gdb.hp.
22482
22483 1999-11-10 Jimmy Guo <guo@cup.hp.com>
22484
22485 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
22486 from $srcdir/lib/.
22487 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
22488 and gdb.c++/.
22489
22490 * gdb.c++/derivation.exp: remove redundant get compiler info code.
22491
22492 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
22493 'continue with watch' test point.
22494
22495 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
22496
22497 Merged from p2linux-990323-branch:
22498
22499 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
22500
22501 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
22502
22503 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
22504 {limit,fixed}''. Test ``set download-write-size''.
22505
22506 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
22507
22508 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
22509 gdb_expect_list.
22510
22511 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
22512
22513 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
22514
22515 1999-11-03 Mark Salter <msalter@cygnus.com>
22516
22517 * gdb.base/break.exp: Fix "stub continue" pattern.
22518
22519 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
22520
22521 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
22522
22523 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
22524
22525 * gdb.base/display.exp ("finish"): Add timeout clause.
22526
22527 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
22528 plain prompt clause, so this doesn't have to time out in order to
22529 fail.
22530
22531 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
22532 breakpoint hit messages include an address.
22533
22534 * gdb.base/display.exp: Don't forget to escape parens in regular
22535 expressions. Unix regexp notatation sucks.
22536
22537 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22538
22539 * gdb.base/annota1.exp: Test for annotate-signalled: change output
22540 order for 'signalled' message.
22541
22542 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
22543
22544 From Jimmy Guo <guo@cup.hp.com>:
22545 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
22546 * gdb.base/annota1.c: Add code for tests to work with.
22547
22548 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
22549
22550 * gdb.base/remote.exp: New test for remote downloading settings.
22551 * gdb.base/remote.c: New file with large .data.
22552
22553 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
22554
22555 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
22556 for LinuxThreads support, merged from the Code Fusion branch.
22557
22558 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
22559
22560 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
22561 containing exp_continue into a while within an expect. Don't
22562 attempt a start more than three times. Check return value from
22563 gdb_load.
22564
22565 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
22566
22567 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
22568 a pass case.
22569
22570 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
22571
22572 * gdb.base/break.c (main): Added a statement that we can step
22573 off of.
22574 * gdb.base/break.exp: Added tests for setting a breakpoint
22575 at an offset and stepping onto a breakpoint.
22576
22577 1999-10-01 Fred Fish <fnf@cygnus.com>
22578
22579 * gdb.base/help.exp (help add-symbol-file): Update to match current
22580 gdb output.
22581
22582 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
22583
22584 * gdb.base/break.exp: Code locations are in hex, don't forget!
22585 (For HP-UX.)
22586
22587 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
22588
22589 * condbreak.exp: Use break.c as test program.
22590 * condbreak.c: Remove, redundant with break.c.
22591
22592 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
22593
22594 * config/monitor.exp (gdb_target_monitor): Disable X- and
22595 Z-packets if the target needs it.
22596
22597 1999-09-13 James Ingham <jingham@leda.cygnus.com>
22598
22599 * gdb.c++/overload.exp: Added tests for listing overloaded
22600 functions with function pointers in the arg, explicitly calling
22601 out the version you want.
22602
22603 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
22604
22605 * long_long.exp: Add variations of test cases that work for
22606 targets with 16-bit ints and 32-bit doubles.
22607
22608 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
22609
22610 * break.c (main): Compare a possibly-uninitialized argc with an
22611 unlikely value that fits in 16 bits.
22612
22613 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
22614
22615 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
22616 0xfeeb, don't want negative numbers if ints are 16 bits.
22617
22618 * lib/gdb.exp (skip_cplus_tests): New proc.
22619 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
22620 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
22621 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
22622 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
22623 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
22624 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
22625 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
22626 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
22627
22628 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
22629
22630 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
22631
22632 * gdb.base/corefile.exp (up): Allow a parameter to appear
22633 in the frame that we're going up to.
22634
22635 From Jim Blandy <jimb@cygnus.com>:
22636
22637 * gdb.base/default.exp (info float): Expect some output now.
22638
22639 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
22640 returning floating-point values to fail on the x86.
22641 * gdb.base/callfwmall.exp (do_function_calls): Same.
22642
22643 * gdb.base/list.exp (test_listsize): Correct expectations for
22644 listing line 1 with listsize 2. Also, listing a single line
22645 works now, as does listing three lines. [Kevin's note: There
22646 were a number of other cases fixed too where the expectations
22647 differed...]
22648
22649 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
22650
22651 * gdb.base/selftest.exp: Add case for when version prints as
22652 constant string instead of char pointer.
22653
22654 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
22655
22656 * gdb.base/ending-run.exp: Add Solaris case for what happens when
22657 stepping out of main.
22658
22659 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
22660 G++ used.
22661
22662 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
22663 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
22664
22665 * gdb.c++/ovldbreak.exp: Update match string in test that
22666 includes a warning of multiple breakpoints.
22667
22668 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
22669
22670 * gdb.base/display.exp: Improve precision of step-after-finish
22671 added yesterday.
22672
22673 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
22674 test.
22675
22676 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
22677 configs when using G++, not just hppa*.
22678
22679 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22680
22681 * gdb.base/async.c: New file.
22682 * gdb.base/async.exp: New file.
22683
22684 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
22685
22686 * gdb.base/break.exp: Tweak PA specific tests to properly handle
22687 PA64.
22688
22689 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
22690
22691 * gdb.base/display.exp: "finish" can leave us mid-line on many
22692 targets, deal with it. Add a small constant to main, instead of
22693 1000 since main+1000 may not be a valid address in the target.
22694
22695 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
22696 on hpux11.
22697
22698 * gdb.base/attach.exp: Handle another hpux11 error message variant
22699 when attaching to a process that does not exist.
22700
22701 1999-08-19 J.T. Conklin <jtc@redback.com>
22702
22703 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
22704 characters in 'continue to 1241' test.
22705
22706 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
22707
22708 * gdb.base/call-ar-st.exp: Add a shorter match case for the
22709 stop in print_long_arg_list, define and use a whitespace
22710 variable in print_small_structs test, add an XFAIL for Solaris.
22711 * gdb.base/dbx.exp: XFAIL func commands until somebody is
22712 interested enough to fix.
22713
22714 1999-08-13 Keith Seitz <keiths@cygnus.com>
22715
22716 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
22717 (dbx_gdb_load): Remove. Use gdb_load instead, since that
22718 proc knows about targets other than the natives.
22719 (test_assign): Use "gdb_run_cmd" to "run" the target.
22720 Check that we've actually hit the breakpoint at main.
22721 When we attempt to assign a value to a local variable, check
22722 that the variable is in the current scope, i.e., don't use
22723 a test with an empty result.
22724
22725 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
22726
22727 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
22728 command.
22729
22730 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
22731
22732 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22733 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
22734 gdb.compat, gdb.threads-hp.
22735 gdb.hp/configure, gdb.hp/configure.in: New files.
22736 gdb.hp/Makefile.in: Recurse into new subdirs.
22737 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
22738 gdb.hp/gdb.objdbg: New directory, tests for debugging info
22739 in object files.
22740 gdb.hp/tools: New directory, aux tools for HP-specific tests.
22741
22742 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
22743
22744 * gdb.base/display.exp: Help expect by putting a newline in the
22745 funky printf, remove a bogus p/a test.
22746
22747 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22748
22749 * gdb.base/display.exp: Make sure that when we say 'run', we are
22750 connected to the target. This is necessary when running not
22751 natively.
22752
22753 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
22754
22755 * gdb.base/step-test.exp: Removed some extraneous messages.
22756
22757 * gdb.base/long_long.exp: Don't run memory examination tests
22758 on little-endian targets (they will need a different set of
22759 results to match).
22760
22761 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
22762
22763 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
22764 until somebody decides to fix GDB.
22765
22766 * gdb.base/long_long.c: Stop compiler complaint by specifying long
22767 constant as "ULL".
22768 * gdb.base/long_long.exp: Loosen x/c test, add partial result
22769 matches for a couple x/2 commands.
22770
22771 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
22772
22773 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
22774 by merging in ref-types2 tests.
22775 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
22776
22777 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22778 * gdb.c++/Makefile.in: Add standard actions.
22779 (EXECUTABLES): Rename from PROGS, update list.
22780 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
22781 from gdb.hp.
22782 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
22783 foo and bar locals.
22784 * gdb.c++/anon-union.exp: Fix tests to match.
22785 * gdb.c++/classes.exp: Run if HP compiler used, add extra
22786 expect matches to handle output variations.
22787 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
22788 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
22789 output, add HP alternatives for new and delete prints.
22790 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
22791 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
22792 * gdb.c++/demangle.exp: Use $style when reporting failure.
22793 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
22794 * gdb.c++/inherit.exp: Run if HP compiler used, add some
22795 match alternatives.
22796 * gdb.c++/local.exp: Add match alternatives or xfails for HP
22797 compilers.
22798 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
22799 * gdb.c++/method.exp: Add match alternatives.
22800 * gdb.c++/misc.cc: Add bool types.
22801 * gdb.c++/misc.exp: Add tests for bool types.
22802 * gdb.c++/overload.exp: Add xfails.
22803 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
22804 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
22805 add some more template parameter tests (only for HP currently).
22806 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
22807 * gdb.c++/virtfunc.cc: Add return type and value for main.
22808 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
22809 match alternatives.
22810
22811 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22812
22813 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
22814
22815 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
22816
22817 * gdb.base/signals.exp: Don't expect getting a backtrace from
22818 within a signal handler to fail on Linux.
22819
22820 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
22821
22822 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22823 * lib/gdb.exp: Remove some gratuitious semicolons.
22824 (delete_breakpoints): Increase timeout.
22825 (gdb_expect): Add -notransfer option.
22826 (gdb_test): Use -notransfer option.
22827 (get_compiler_info): Add f77 case.
22828 (get_compiler): New proc, split out from gdb_preprocess, add f77
22829 case.
22830 (gdb_preprocess): Call get_compiler.
22831
22832 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
22833 * gdb.base/attach.exp, gdb.base/display.exp,
22834 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
22835 gdb.base/long_long.exp, gdb.base/printcmds.exp,
22836 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
22837 third arg to gdb_test.
22838 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
22839 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
22840 HP-UX xfails, add others.
22841 * gdb.base/completion.exp: Reflect name change of self-test.
22842 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
22843 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
22844 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
22845 HP failure number.
22846 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
22847 useless HP-UX 10.30 references.
22848 * gdb.base/maint.exp: Loosen matches.
22849 * gdb.base/pointers.c (main): Declare more_code.
22850 * gdb.base/pointers.exp: Match on output of a `next'.
22851 * gdb.base/structs.c: Add prototypes.
22852 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
22853 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
22854
22855 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22856
22857 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
22858 command.
22859
22860 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22861
22862 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
22863 Fix run to main failures. Watchpoint can be hardware watchpoint.
22864
22865 * gdb.base/annota1.exp: Clean up some more, in case printf has
22866 debug info. Deal with lack of signal hanlder info in stack.
22867
22868 From Jim Kingdon <kingdon@redhat.com>:
22869 * gdb.base/annota1.exp: If printf has debug info, deal with it.
22870
22871 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
22872
22873 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
22874 gdb.base/foll-vfork.exp: Don't run for crosses.
22875
22876 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22877
22878 * gdb.base/configure.in: Check for gdbvars.exp instead of
22879 a1-selftest.exp.
22880 * gdb.base/configure: Re-generate.
22881
22882 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
22883
22884 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
22885 in trying to run first and name is too long.
22886
22887 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
22888 pointers2.c and pointers2.exp, respectively.
22889 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
22890 doschk happier.
22891
22892 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
22893
22894 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
22895 callfuncs2.c and callfuncs2.exp.
22896
22897 * gdb.base/list.exp: Remove mistaken xfails.
22898 * gdb.base/list0.h: Add optional prototypes.
22899
22900 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
22901
22902 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
22903 calling malloc.
22904 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
22905 * ptype.exp: Move test for get_debug_format to before its first
22906 use.
22907
22908 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22909
22910 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
22911 * gdb.base/annota2.cc, annota2.exp: Move from here.
22912 * gdb.c++/annota2.cc, annota2.exp: To here.
22913 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
22914
22915 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
22916
22917 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
22918 a consistent format.
22919
22920 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
22921
22922 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22923 * lib/gdb.exp (get_compiler_info): Add detection for assorted
22924 HP compilers, also set the globals $true and $false.
22925
22926 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
22927 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
22928 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
22929 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
22930 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
22931 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
22932 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
22933 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
22934 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
22935 whatis.c} Add C++ compatible function definitions and return
22936 types, add includes for library functions.
22937 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
22938 * gdb.base/step-test.c (myglob): Rename from glob.
22939 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
22940 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
22941 files, move here from gdb.hp.
22942 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
22943 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
22944 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
22945 Adjust line numbers in regexps.
22946
22947 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
22948 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
22949 instead of 0/1.
22950
22951 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
22952 foll-vfork.exp: New files, move here from gdb.hp.
22953 * gdb.base/page.exp: New file, test of pagination command.
22954
22955 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
22956 recursion test.
22957 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
22958
22959 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
22960 gdb.base/solib.exp: Fix compiler invocation process.
22961
22962 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
22963 HP-UX 11, turn off overload resolution explicitly.
22964 * gdb.base/commands.exp: Set argument list explicitly, add
22965 watchpoint test.
22966 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
22967 them work.
22968 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
22969 expressions properly.
22970 * gdb.base/corefile.exp: Loosen the match slightly.
22971 * gdb.base/default.exp: Allow "Error accessing memory" message
22972 also.
22973 * gdb.base/display.exp: Skip over x/0 j if PA64.
22974 * gdb.base/funcargs.exp: Add xfails for HP-UX.
22975 * gdb.base/interrupt.exp: Ditto.
22976 * gdb.base/langs.exp: Add symbolic matches governed by compiler
22977 in use.
22978 * gdb.base/list.exp: Add xfails for HP-UX.
22979 * gdb.base/long_long.exp: Refine some of the numeric matches.
22980 * gdb.base/mips_pro.exp: Xfail on HP-UX.
22981 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
22982 * gdb.base/nodebug.exp: Succeed on more varieties of output.
22983 * gdb.base/opaque.exp: Remove some HP-UX xfails.
22984 * gdb.base/ptype.exp: Succeed on more varieties of output.
22985 * gdb.base/scope.exp: Add xfails for HP-UX.
22986 * gdb.base/sect-cmd.exp: Add more cases.
22987 * gdb.base/setvar.exp: Add xfails for HP-UX.
22988 * gdb.base/shlib-call.exp: Loosen some matches slightly.
22989 * gdb.base/signals.exp: Match on void symbolically.
22990 * gdb.base/step-test.exp: Add case for PA64.
22991 * gdb.base/term.exp: Add exit and restart.
22992 * gdb.base/twice.exp: Clean up after self.
22993 * gdb.base/varargs.exp: Disable overload resolution explicitly.
22994 * gdb.base/whatis.exp: Allow more ways to pass tests.
22995
22996 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
22997 no longer useful.
22998
22999 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
23000
23001 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
23002 list of patterns.
23003 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
23004 print_double_array(double_array)", "continuing to breakpoint
23005 1018", "print print_double_array(array_d)" and "continuing to
23006 1034" tests.
23007
23008 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
23009
23010 * Makefile.in: Add empty html and install-html targets.
23011
23012 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
23013
23014 * config/mt-*: Remove, these haven't been used since 1996.
23015
23016 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
23017
23018 * gdb.base/call-strs.c, gdb.base/ending-run.c,
23019 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
23020 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
23021
23022 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
23023
23024 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
23025 simpler match case for the ptype of the big class.
23026
23027 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23028
23029 * gdb.exp: Fix test for gdb_prompt existence.
23030
23031 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23032
23033 * gdb.exp (gdb_test): Add fail after calls to perror.
23034
23035 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23036
23037 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
23038
23039 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23040
23041 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
23042
23043 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
23044
23045 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
23046 malloc() is linked in.
23047
23048 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23049
23050 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
23051 step at end.
23052
23053 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
23054
23055 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
23056
23057 * gdb.java/jv-print.exp: New file. (Our first Java test!)
23058
23059 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
23060
23061 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
23062 * gdb.base/mips_pro.exp: Likewise.
23063
23064 1999-06-02 Keith Seitz <keiths@cygnus.com>
23065
23066 * gdb.c++/templates.cc: Change all "new" operators to throw
23067 an exception.
23068 * gdb.c++/cplusfuncs.cc: Likewise.
23069
23070 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
23071
23072 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
23073
23074 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
23075 * gdb.base/ending-run.exp: When stepping out of main, accept a
23076 step into an arbitrary assembler file.
23077
23078 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23079
23080 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
23081 "breakpoint-invalid" to be printed.
23082 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
23083 number of "frames-invalid" and "breakpoint-invalid" to be printed.
23084 * gdb.base/annota2.cc: Initialize a.x to 0.
23085
23086 1999-05-17 Keith Seitz <keiths@cygnus.com>
23087
23088 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
23089 when "skip_float_tests" set.
23090 Ditto for "print print_double_array(array_d)", "print print_small_structs",
23091 "print print_ten_doubles", and "step into print_long_arg_list".
23092 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
23093 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
23094 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
23095 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
23096 "skip_float_tests" is set.
23097 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
23098 when "skip_float_tests" set.
23099
23100 1999-05-06 Keith Seitz <keiths@cygnus.com>
23101
23102 * gdb.base/annota2.cc: Include stdio.h.
23103
23104 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
23105
23106 * gdb.base/crossload.exp: Remove, this has been disabled ever
23107 since BFD stopped including all targets, and cross-GDB gets
23108 plenty of testing anyway.
23109 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
23110 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
23111 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
23112 * gdb.base/README: Remove, was doc for this.
23113 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
23114 needed.
23115
23116 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23117
23118 * gdb.base/call-ar-st.exp: Fix one regular expression in test
23119 output.
23120
23121 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
23122 * gdb.base/annota2.exp: New file. More annotation tests.
23123 * gdb.base/annota1.c: New file. Source file for annota1.exp.
23124 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
23125
23126 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
23127
23128 * config/cfdbug.exp: New file.
23129
23130 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
23131
23132 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
23133 Marcus Daniel's and Dale Hawkins's demangler crashes.
23134
23135 * gdb.c++/demangle.exp (test_gnu_style_demangling,
23136 test_lucid_style_demangling, test_arm_style_demangling,
23137 test_hp_style_demangling): Try Tom Tromey's core-dumping
23138 identifier under each demangling style.
23139
23140 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
23141
23142 * gdb.c++/demangle.exp: Include the current demangling style
23143 in all test names.
23144 (current_demangling_style): New global variable.
23145 (set_demangling_style, test_demangling_core, test_demangling,
23146 test_demangling_exact): New functions.
23147 (test_gnu_style_demangling, test_lucid_style_demangling,
23148 test_arm_style_demangling, test_hp_style_demangling): Use those,
23149 instead of calling gdb_test and gdb_test_exact directly.
23150 (catch_demangling_errors): New function, which reports errors
23151 signalled by the demangling test functions in an orderly way.
23152 (do_tests): Use catch_demangling_errors.
23153
23154 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
23155
23156 * gdb.base/signals.exp (test_handle_all_print): Use () for
23157 grouping in expressions, not {}.
23158
23159 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
23160 initialized yet.
23161
23162 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
23163
23164 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
23165 are listed.
23166
23167 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
23168
23169 * gdb.stabs/weird.exp: Test for CC being defined before
23170 looking at its value.
23171
23172 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
23173
23174 * gdb.base/call-ar-st.exp: Remove stray '#'.
23175 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
23176 "short int" and "long int".
23177 * gdb.c++/overload.cc: Cast the string added in the previous
23178 change, to mollify finicky HP compiler.
23179 * gdb.hp/reg-test.exp (testfile): Fix file name.
23180 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
23181
23182 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
23183 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
23184 alternate form of enum ptype.
23185
23186 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
23187
23188 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
23189 * gdb.hp/*.exp: Change all to run compiler probe only after
23190 passing skip_hp_tests, so as not to waste time on guaranteed
23191 failure.
23192
23193 * gdb.c++/overload.cc: Pass string instead of char addr, always
23194 init ccpfoo.
23195 * gdb.c++/templates.cc: Fix syntax error.
23196
23197 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23198
23199 * gdb.base/commands.exp: Add test for correct position of '>'
23200 when issuing the 'commands' command after a 'while' or 'if'
23201 command.
23202
23203 1999-03-18 James Ingham <jingham@cygnus.com>
23204
23205 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
23206
23207 * gdb.c++/method.exp: It was testing an uninitialized int on the
23208 stack and assuming it was positive.
23209
23210 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
23211
23212 * gdb.base/step-test.exp: Catch a case where finish is broken and
23213 keep it from killing the rest of the tests.
23214 Use gdb_continue_to_end.
23215
23216 * gdb.base/sigall.exp: use gdb_continue_to_end.
23217
23218 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
23219
23220 * gdb.base/display.exp: use runto_main, not run.
23221
23222 * gdb.base/default.exp: Check for the current error message in the
23223 r abbreviation test.
23224 Add strongarm to the targets that know info float.
23225
23226 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
23227 run which doesn't work with monitors.
23228
23229 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
23230
23231 * gdb.base/break.exp: use the gdb_continue_to_end proc.
23232
23233 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
23234 program. Traps the case (in Cygmon) when the program never really
23235 exits. Same as Mark's continue_to_exit, but I had put it in a lot
23236 more places, so I used my name. Sorry Mark...
23237
23238 * config/monitor.exp (gdb_target_monitor): added another
23239 target_info parameter: remotebinarydownload. This will set the
23240 remotebinarydownload flag if this is causing some boards trouble.
23241
23242 1999-03-18 Mark Salter <msalter@cygnus.com>
23243
23244 * lib/gdb.exp (continue_to_exit): New function.
23245
23246 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
23247 * gdb.base/ending-run.exp: Ditto.
23248 * gdb.base/step-test.exp: Ditto.
23249
23250 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
23251
23252 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
23253 (suggested by Art Haas <ahaas@neosoft.com>).
23254
23255 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
23256
23257 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
23258
23259 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
23260
23261 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
23262 descriptions of types (short unsigned int vs unsigned short, etc).
23263
23264 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
23265
23266 * gdb.base/call-strs.exp: Don't assume that `step' will step over
23267 a call to strlen; sometimes we do have sources.
23268
23269 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
23270
23271 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
23272 character, so GDB won't print garbage after its end.
23273
23274 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
23275 breakpoint there instead. Sometimes GCC emits memcpy to handle
23276 the large structures being passed by value, so we step into that
23277 instead of sum_array_print, which obscures what we're really testing.
23278 * gdb.base/step-test.exp: However, we do want a test that notices
23279 the bizarre steps into memcpy, so do that here. Add check for
23280 stepping into function calls that pass large structures by value.
23281 ("Is that a noun clause, or are you just happy to see me?")
23282 Remove all references to specific line numbers.
23283 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
23284 New type and function.
23285 (main): Call large_struct_by_value, passing it a large struct by value.
23286 * lib/gdb.exp (gdb_get_line_number): New function.
23287
23288 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
23289 more portable.
23290
23291 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
23292
23293 * lib/gdb.exp: Doc fixes.
23294
23295 1999-03-05 Nick Clifton <nickc@cygnus.com>
23296
23297 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
23298
23299 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
23300
23301 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
23302 commands. They're not germane to this test, and they don't work
23303 that way on remote targets.
23304
23305 1999-03-01 James Ingham <jingham@cygnus.com>
23306
23307 * Changelog entries merged over from gdb development branch.
23308
23309 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
23310
23311 * lib/gdb.exp (gdbtk_analyze_results): Generic function
23312 for outputting results of test run.
23313
23314 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
23315
23316 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
23317
23318 1999-02-25 Felix Lee <flee@cygnus.com>
23319
23320 * lib/gdb.exp (debug_format): initialize
23321
23322 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
23323
23324 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
23325 * gdb.base/call-rt-st.c: Ditto.
23326
23327 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
23328
23329 * gdb.threads/pthreads.exp (horiz): New variable.
23330 (test_startup): Fix regexps that capture thread numbers.
23331
23332 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
23333
23334 * gdb.base/smoke.exp: Disambiguate two test case names (both
23335 called ``print'').
23336
23337 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23338
23339 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
23340 compilation.
23341
23342 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23343
23344 * gdb.base/miscexprs.exp: Change patterns to match GDB's
23345 actual output formatting.
23346 * gdb.base/smoke.exp: GDB removes leading 0's.
23347 * gdb.base/volatile.exp: Don't check type of remuneration;
23348 that variable is no longer defined in constvars.c.
23349 * gdb.base/step-test.c (main): Exit with explicit exit code.
23350 * gdb.base/step-test.exp: Remove two nexti checks--they are
23351 not portable.
23352
23353 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23354
23355 * gdb.base/help.exp ("help delete display"): Fix test to match
23356 gdb's output.
23357
23358 * gdb.base/long_long.c (known_types): Initialize values to zero.
23359 * gdb.base/long_long.exp: Step one more line
23360 so 'dec' is initialized in "get to known place". GDB removes
23361 leading zeros. Explicitly ask for hex formatting. Use
23362 unique test case names.
23363
23364 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23365
23366 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
23367
23368 * gdb.c++/method.exp: Add missing close brace.
23369
23370 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
23371
23372 * gdb.base/maint.exp: Use 'set height 0' to disable page
23373 prompting, not 'set height 400'.
23374
23375 Fix a bunch of timeouts.
23376 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
23377 four separate tests, so expect doesn't take forever to match a ton
23378 of text against a regexp with lots of .* forms.
23379 ("maint print psymbols", "maint print symbols"): Make some of
23380 these greps more selective, so that expect doesn't try to wade
23381 through huge piles of output and time out.
23382
23383 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
23384
23385 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
23386 tests: one which doesn't expect shlib events to be reported, and
23387 another which does, but is XFAIL for all platforms other than
23388 HP/UX.
23389
23390 * gdb.base/break.exp: Teach the test suite that the `catch
23391 fork', `catch vfork', and `catch exec' commands produce error
23392 messages on platforms that don't provide these features.
23393
23394 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23395
23396 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
23397 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
23398 (shortening names from solib_threshold.exp etc), won't run on
23399 anything but HP-UX for the foreseeable future.
23400 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
23401 reflect move.
23402
23403 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
23404
23405 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
23406 gdb.trace/Makefile.in (clean): Remove all test executables.
23407
23408 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
23409
23410 * gdb.base/shlib-call.exp: add test cases to verify that gdb
23411 successfully re-sets breakpoints in shared libraries.
23412 * gdb.base/shmain.c (main): return 0, don't fall off the end.
23413
23414 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23415
23416 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
23417 and compiled w/o GCC.
23418
23419 * gdb.hp/watch-cmd.exp: ditto.
23420
23421 * gdb.hp/watch-hp.exp: ditto.
23422
23423 * gdb.hp/xdb1.exp: ditto.
23424
23425 * gdb.hp/xdb2.exp: ditto.
23426
23427 * gdb.hp/dbx.exp: ditto.
23428
23429 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
23430
23431 * constvars.c: Remove C++-isms.
23432 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
23433 with GCC.
23434
23435 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
23436
23437 The following changes are part of the HP merge.
23438
23439 * gdb.base/break.exp: new tests to verify that catchpoints for
23440 fork, vfork, and exec don't trigger inappropriately.
23441
23442 * gdb.base/opaque.exp: compile one file at a time, then link.
23443
23444 * gdb.base/signals.exp: be more restrictive about which hppa
23445 systems receive a setup_xfail. new tests.
23446
23447 * gdb.base/solib_threshold.build: new file.
23448 * gdb.base/solib_threshold.exp: new file.
23449 * gdb.base/solib_threshold.link_opts: new file.
23450 * gdb.base/solib_threshold.mk: new file.
23451 * gdb.base/gen_solib_threshold.c: new file.
23452
23453 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
23454 tests. New tests for enums inside classes.
23455
23456 * gdb.c++/compiler.cc: indicate support of template debugging.
23457
23458 * gdb.c++/demangle.exp: run hp style demangling tests.
23459
23460 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
23461 tests.
23462
23463 * gdb.c++/misc.cc: changes to support new tests.
23464
23465 * gdb.c++/templates.cc: changes to support HP's compiler; changes
23466 to support new tests.
23467
23468 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
23469 gcc, then skip these tests.
23470
23471 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
23472
23473 The following files are part of the HP merge; some had longer
23474 names at HP, but have been renamed to be no more than 14
23475 characters in length.
23476
23477 * gdb.hp/ambiguous.cc: new file.
23478 * gdb.hp/ambiguous.exp: new file.
23479 * gdb.hp/attach.exp: new file.
23480 * gdb.hp/attach2.exp: new file.
23481 * gdb.hp/classes-hp.exp: new file.
23482 * gdb.hp/ctti.exp: new file.
23483 * gdb.hp/ctti-add.cc: new file.
23484 * gdb.hp/ctti-add1.cc: new file.
23485 * gdb.hp/ctti-add2.cc: new file.
23486 * gdb.hp/ctti-add3.cc: new file.
23487 * gdb.hp/dbx.exp: new file.
23488 * gdb.hp/exception.cc: new file.
23489 * gdb.hp/exception.exp: new file.
23490 * gdb.hp/foll-exec.c: new file.
23491 * gdb.hp/foll-exec.exp: new file.
23492 * gdb.hp/foll-fork.c: new file.
23493 * gdb.hp/foll-fork.exp: new file.
23494 * gdb.hp/foll-vfork.c: new file.
23495 * gdb.hp/foll-vfork.exp: new file.
23496 * gdb.hp/inherit-hp.exp: new file.
23497 * gdb.hp/more-steps.exp: new file.
23498 * gdb.hp/namespace.cc: new file.
23499 * gdb.hp/namespace.exp: new file.
23500 * gdb.hp/optimize.exp: new file.
23501 * gdb.hp/pxdb.c: new file.
23502 * gdb.hp/pxdb.exp: new file.
23503 * gdb.hp/quicksort.exp: new file.
23504 * gdb.hp/reg-test.exp: new file.
23505 * gdb.hp/reg-test.s: new file.
23506 * gdb.hp/sized-enum.c: new file.
23507 * gdb.hp/sized-enum.exp: new file.
23508 * gdb.hp/start-stop.exp: new file.
23509 * gdb.hp/templ-hp.cc: new file.
23510 * gdb.hp/templ-hp.exp: new file.
23511 * gdb.hp/thr-lib.c: new file.
23512 * gdb.hp/thr-lib.exp: new file.
23513 * gdb.hp/thr-lib.h: new file.
23514 * gdb.hp/thr-liblib.c: new file.
23515 * gdb.hp/virtfun-hp.c: new file.
23516 * gdb.hp/virtfun-hp.exp: new file.
23517 * gdb.hp/watch-cmd.exp: new file.
23518 * gdb.hp/watch-hp.exp: new file.
23519 * gdb.hp/xdb1.exp: new file.
23520 * gdb.hp/xdb2.exp: new file.
23521 * gdb.hp/xdb3.exp: new file.
23522
23523 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
23524
23525 The following files are part of the HP merge; some had longer
23526 names at HP, but have been renamed to be no more than 14
23527 characters in length.
23528
23529 * gdb.base/ss.h: new file.
23530 * gdb.base/call-ar-st.c: new file.
23531 * gdb.base/call-ar-st.exp: new file.
23532 * gdb.base/call-rt-st.c: new file.
23533 * gdb.base/call-rt-st-exp: new file.
23534 * gdb.base/call-strs.exp: new file.
23535 * gdb.base/ena-dis-br.exp: new file.
23536 * gdb.base/environ.exp: new file.
23537 * gdb.base/long_long.exp: new file.
23538 * gdb.base/sect-cmd.exp: new file.
23539 * gdb.base/shlib-cl2.exp: new file.
23540 * gdb.base/smoke.exp: new file.
23541 * gdb.base/so-impl-ld.c: new file.
23542 * gdb.base/so-impl-ld.exp: new file.
23543 * gdb.base/so-indr-cl.c: new file.
23544 * gdb.base/so-indr-cl.exp: new file.
23545 * gdb.base/varargs.exp: new file.
23546 * gdb.base/volatile.exp: new file.
23547 * gdb.base/whatis-exp.exp: new file.
23548 * gdb.base/display.exp: new file.
23549 * gdb.c++/derivation.exp: new file.
23550 * gdb.c++/local.exp: new file.
23551 * gdb.c++/member-ptr.exp: new file.
23552 * gdb.c++/overload.exp: new file.
23553 * gdb.c++/ovldbreak.exp: new file.
23554 * gdb.c++/ref-types.exp: new file.
23555 * gdb.c++/ref-types2.exp: new file.
23556 * gdb.c++/userdef.exp: new file.
23557
23558 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
23559
23560 * gdb.base/default.exp: Reflect wording change in remote.c.
23561
23562 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
23563
23564 * gdb.base/help.exp: Update to reflect current text.
23565
23566 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
23567
23568 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
23569 they're stack variables and contain garbage.
23570 * gdb.c++/anon-union.exp: new file.
23571
23572 The following changes were made by David Taylor
23573 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23574 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23575 in changes by HP.
23576
23577 * gdb.base/bitops.exp: new file.
23578 * gdb.base/default.exp: change expected messages for catch and
23579 info catch tests to reflect HP merge changes.
23580 * gdb.base/enable-disable-break.exp
23581 * gdb.base/ending-run.c: new file.
23582 * gdb.base/long_long.c: new file.
23583 * gdb.base/maint.exp: new file.
23584 * gdb.base/pointers2.exp: new file.
23585 * gdb.base/shlib-call2.exp: new file.
23586 * gdb.base/solib.exp: new file.
23587 * gdb.base/step-test.c: new file.
23588 * gdb.c++/anon-union.cc: new file.
23589 * gdb.c++/local.cc: new file.
23590 * gdb.c++/member-pointer.cc: new file.
23591 * gdb.c++/method.cc: new file.
23592 * gdb.c++/ref-types.cc: new file.
23593 * gdb.c++/ref-types2.cc: new file.
23594 * gdb.c++/userdef.cc: new file.
23595
23596 * gdb.base/scope.exp: compile one file at a time, then link.
23597 * gdb.base/langs.exp: ditto.
23598 * gdb.base/list.exp: ditto.
23599
23600 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
23601
23602 The following changes were made by David Taylor
23603 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23604 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23605 in changes by HP.
23606
23607 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
23608 skip tests. When compiling pass c++ flag to gdb_compile.
23609 * gdb.c++/
23610
23611 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
23612 test for on hppa*-*-hpux*; use args to see if c++ was specified.
23613 (skip_hp_tests): new function.
23614 (gdb_preprocess): new function.
23615
23616 * configure.in (hpdir): decide whether to configure gdb.hp.
23617 * configure: regenerated.
23618
23619 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
23620 to delete on clean.
23621 (EXECUTABLES): update to reflect new additions.
23622 * gdb.base/commands.exp: update message expected.
23623 * gdb.base/default.exp: add copyright notice.
23624 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
23625 * gdb.base/help.exp: update messages to reflect current text.
23626 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
23627 targets for recurse tests.
23628 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
23629 skip this file.
23630
23631 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
23632 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
23633 compilation.
23634 * gdb.c++/misc.exp: ditto.
23635 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
23636 run the tests. tell gdb_compile that it's a c++ compilation.
23637
23638 * gdb.threads/pthreads.exp: fix typo in message.
23639
23640 * gdb.base/all-bin.exp: new file.
23641 * gdb.base/arithmet.exp: new file.
23642 * gdb.base/assign.exp: new file.
23643 * gdb.base/completion.exp: new file.
23644 * gdb.base/cond-expr.exp: new file.
23645 * gdb.base/condbreak.exp: new file.
23646 * gdb.base/define.exp: new file.
23647 * gdb.base/dollar.exp: new file.
23648 * gdb.base/environment.exp: new file.
23649 * gdb.base/eval-skip.exp: new file.
23650 * gdb.base/jump.exp: new file.
23651 * gdb.base/logical.exp: new file.
23652 * gdb.base/pointers.exp: new file.
23653 * gdb.base/relational.exp: new file.
23654 * gdb.base/section_command.exp: new file.
23655 * gdb.base/whatis-expr.exp: new file.
23656
23657 * gdb.base/all-types.c: new file.
23658 * gdb.base/call-array-struct.c: new file.
23659 * gdb.base/call-return-struct.c: new file.
23660 * gdb.base/call-strings.c: new file.
23661 * gdb.base/callfuncs2.c: new file.
23662 * gdb.base/condbreak.c: new file.
23663 * gdb.base/constvars.c: new file.
23664 * gdb.base/display.c: new file.
23665 * gdb.base/int-type.c: new file.
23666 * gdb.base/jump.c: new file.
23667 * gdb.base/miscexprs.c: new file.
23668 * gdb.base/pointers.c: new file.
23669 * gdb.base/pointers2.c: new file.
23670 * gdb.base/shmain.c: new file.
23671 * gdb.base/shr1.c: new file.
23672 * gdb.base/shr2.c: new file.
23673 * gdb.base/solib.c: new file.
23674 * gdb.base/solib1.c: new file.
23675 * gdb.base/solib2.c: new file.
23676 * gdb.base/varargs.c: new file.
23677 * gdb.c++/derivation.cc: new file.
23678 * gdb.c++/overload.cc: new file.
23679 * gdb.c++/ovldbreak.cc: new file.
23680 * gdb.hp/attach.c: new file.
23681 * gdb.hp/attach2.c: new file.
23682 * gdb.hp/average.c: new file.
23683 * gdb.hp/compiler.c: new file.
23684 * gdb.hp/compiler.cc: new file.
23685 * gdb.hp/execd-program.c: new file.
23686 * gdb.hp/follow-exec.c: new file.
23687 * gdb.hp/follow-fork.c: new file.
23688 * gdb.hp/follow-vfork-and-exec.c: new file.
23689 * gdb.hp/misc-hp.cc: new file.
23690 * gdb.hp/more-steps.c: new file.
23691 * gdb.hp/optimize.c: new file.
23692 * gdb.hp/quicksort.c: new file.
23693 * gdb.hp/run-hp.c: new file.
23694 * gdb.hp/start-stop.c: new file.
23695 * gdb.hp/sum.c: new file.
23696 * gdb.hp/templates-hp.cc: new file.
23697 * gdb.hp/thread-local-in-lib.c: new file.
23698 * gdb.hp/thread-local-in-lib.h: new file.
23699 * gdb.hp/thread-local-in-lib.lib.c: new file.
23700 * gdb.hp/vforked-program.c: new file.
23701 * gdb.hp/virtfunc-hp.cc: new file.
23702 * gdb.hp/watchpoint-hp.c: new file.
23703 * gdb.hp/xdb.c: new file.
23704 * gdb.hp/xdb0.c: new file.
23705 * gdb.hp/xdb0.h: new file.
23706 * gdb.hp/xdb1.c: new file.
23707
23708 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
23709
23710 The following change was made by Edith Epstein
23711 <eepstein@cygnus.com> as part of a project to merge in changes
23712 originally made by HP; HP did not create ChangeLog entries.
23713
23714 * gdb.c++/demangle.exp: changed the expected output for some
23715 ARM-style mangling -- removed second reference to datatype.
23716 For example, maint demangle __dt__11T1__pt__2_cFv
23717 T1<char>::~T1<char>(void)
23718 becomes,
23719 maint demangle __dt__11T1__pt__2_cFv
23720 T1<char>::~T1(void)
23721
23722 (test_hp_style_demangling): new hp specific demangling test cases.
23723
23724 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
23725
23726 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
23727 * gdb.trace/backtrace.exp: Likewise.
23728 * gdb.trace/circ.exp: Likewise.
23729 * gdb.trace/collection.exp: Likewise.
23730 * gdb.trace/deltrace.exp: Likewise.
23731 * gdb.trace/infotrace.exp: Likewise.
23732 * gdb.trace/limits.exp: Likewise.
23733 * gdb.trace/packetlen.exp: Likewise.
23734 * gdb.trace/passc-dyn.exp: Likewise.
23735 * gdb.trace/passcount.exp: Likewise.
23736 * gdb.trace/report.exp: Likewise.
23737 * gdb.trace/save-trace.exp: Likewise.
23738 * gdb.trace/tfind.exp: Likewise.
23739 * gdb.trace/tracecmd.exp: Likewise.
23740 * gdb.trace/while-dyn.exp: Likewise.
23741 * gdb.trace/while-stepping.exp: Likewise.
23742
23743 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
23744
23745 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
23746
23747 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
23748
23749 From Brendan Kehoe:
23750 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
23751 int return types.
23752
23753 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
23754
23755 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
23756 remote dos host testing right.
23757
23758 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
23759
23760 * gdb.base/corefile.exp: remove some xfails.
23761
23762 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
23763
23764 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
23765 have different timestamps.
23766
23767 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
23768
23769 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
23770 gdb.base/default.exp: Replace "exec" with "executable".
23771
23772 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
23773
23774 * gdb.base/default.exp: Change else if to elseif from previous
23775 delta.
23776
23777 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
23778
23779 * gdb.base/default.exp: Add brace missing from previous delta.
23780
23781 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
23782
23783 * gdb.base/default.exp: Support test for info float for all
23784 varieties of arm toolchain.
23785
23786 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
23787
23788 * gdb.trace/*.exp: remove "remote_download" command.
23789
23790 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
23791
23792 * gdb.trace/*.exp: remove -gdwarf from compile.
23793
23794 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
23795
23796 * gdb.trace/configure.in(AC_INIT): typo
23797 * gdb.trace/configure: regenerated
23798
23799 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
23800
23801 * config/m68k-emc.exp: New file.
23802 * lib/<emc-support.exp trace-support.exp}: New files.
23803 * configure.in: add new test directory gdb.trace.
23804 * gdb.trace/{configure configure.in Makefile.in}: New files.
23805 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
23806 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
23807 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
23808 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
23809 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
23810 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
23811 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
23812
23813 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
23814
23815 * gdb.c++/classes.exp: Change all regular expressions to match
23816 arbitrary combinations of newline/carriage-return, so that they
23817 will work equally well on Unix and Windows.
23818 * gdb.c++/inherit.exp: ditto.
23819 * gdb.c++/virtfunc.exp: ditto.
23820
23821 1998-08-11 Dawn Perchik <dawn@cygnus.com>
23822
23823 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
23824
23825 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
23826
23827 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
23828 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
23829 to use a0-a3/d0-d3 as needed.
23830
23831 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
23832
23833 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
23834 * gdb.disasm/am33.exp: Corresponding changes.
23835
23836 1998-07-11 Felix Lee <flee@cygnus.com>
23837
23838 * gdb.base/callfuncs.exp: add cmp10 test.
23839 * gdb.base/callfuncs.c (cmp10): new function.
23840
23841 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
23842
23843 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
23844 into two parts to get around a synchronization problem in expect.
23845
23846 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
23847
23848 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
23849
23850 * configure.in: Add options for gdbtk testsuite.
23851
23852 * configure: Regenerate.
23853
23854 * gdb.gdbtk: New directory to hold gdbtk tests.
23855
23856 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23857
23858 * gdb.fortran/types.exp: Escape brackets in expect patterns
23859 for test_float_literal_types_accepted tests.
23860 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
23861 before run test.
23862
23863 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
23864
23865 * am33.exp: Just compile, do not link the testcase.
23866 * am33.s: Add ".am33" pseudoop to force am33 mode.
23867
23868 1998-06-25 Felix Lee <flee@cygnus.com>
23869
23870 * gdb.base/setshow.exp: make sure $pc is sane.
23871
23872 * gdb.stabs/weird.exp: split expect patterns properly.
23873
23874 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
23875
23876 * gdb.disasm/am33.s: New disassembler testfile for the am33.
23877 * gdb.disasm/am33.exp: Run it.
23878
23879 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
23880
23881 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
23882 match processing (and eliminate spurious timeouts when running).
23883
23884 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
23885
23886 * gdb.base/signals.exp (test_handle_all_print): put back Mach
23887 exception test, but conditionalize it on target [mach | gnu].
23888
23889 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
23890
23891 * gdb.base/overlays.exp: fixup compile line for linker script.
23892
23893 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
23894
23895 * gdb.fortran/types.exp: don't guess at float size.
23896
23897 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
23898
23899 * gdb.base/exprs.exp: delete test that depends on int size.
23900
23901 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
23902
23903 * config/sim.exp: Removed checks for target triplets.
23904 (gdb_target_sim): Use gdb,target_sim_options.
23905
23906 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
23907
23908 * gdb.base/reread.exp: New file.
23909 * gdb.base/reread1.c: New file.
23910 * gdb.base/reread2.c: New file.
23911
23912 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
23913
23914 * config/sim.exp: Use 'target sim -sparclite' when running
23915 SPARClite programs.
23916
23917 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
23918
23919 * gdb.base/structs2.exp: New file.
23920 * gdb.base/structs2.c: New file.
23921
23922 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
23923
23924 * gdb.asm/common.inc: New file.
23925 * gdb.asm/d10v.inc: New file.
23926 * asm-source.exp: Pass -I's to gas to find .inc files.
23927 Update line numbers in expected output.
23928 * asmsrc1.s: Rewrite.
23929 * asmsrc2.s: Rewrite.
23930 * configure.in: Create arch.inc symlink.
23931 * configure: Regenerate.
23932 * Makefile.in (distclean): Delete arch.inc.
23933
23934 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
23935
23936 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
23937 (t_enum_value2): ditto
23938 (t_enum_value3): ditto
23939 (main): ditto
23940 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23941
23942 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
23943 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
23944 change.
23945 Use gdb_test instead of send_gdb/gdb_expect sequences.
23946
23947 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
23948
23949 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
23950 not void.
23951
23952 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
23953
23954 * gdb.base/branches.c: Code with lots of loops and
23955 subroutines. Used to test gdbs ability to single step through PC
23956 changes, especially to test mips-tdep.c:mips_next_pc
23957
23958 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
23959
23960 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
23961 more rigorous EGCS C++ error checking.
23962
23963 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23964
23965 * gdb.base/help.exp: Clean up `help set args' and `help show args'
23966 tests.
23967 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
23968 function when asleep.
23969 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
23970 for i*86 Linux and SVR4 signal handling problems.
23971 Remove linux xfail for `next to handler in signals_tests_1', fixed
23972 by recent infrun.c change.
23973 Limit backtrace to 10 frames to avoid timeout problems with infinite
23974 stack backtraces.
23975 Adjust expect pattern in `handle all print' test to match Apr 28 1997
23976 target.[ch] change.
23977
23978 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
23979
23980 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
23981 for a newline from gdb before continuing.
23982 (default_gdb_exit): Just look for y or n.
23983 (gdb_test): Detect abnormal exit from GDB running on DOS; if
23984 it does, fail the rests of the tests in the file.
23985
23986 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
23987
23988 * config/cygmon.exp: New file.
23989
23990 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
23991
23992 * gdb.base/list.exp: Fix problem with "list default lines around
23993 main" test on remote targets.
23994
23995 * gdb.base/scope.exp: Fix problem with filelocal_bss before
23996 run test on remote targets.
23997
23998 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
23999
24000 * gdb.asm: New directory.
24001 * configure.in: Configure it.
24002 * configure: Regenerate.
24003 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
24004 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
24005
24006 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
24007
24008 * config/mn10300-eval.exp: New file to support MN10300 eval board.
24009
24010 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
24011
24012 * gdb.base/overlays (several files): Merge the two overlay
24013 managers into one. Change variables (foox, barx, bazx, grbxx)
24014 back into ints but force them to load in their proper sections.
24015
24016 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
24017
24018 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
24019 on-chip insn memory and IMAP1 to upper 128k.
24020 (D10VCopy): Handle memory regions crossing 16k boundaries.
24021 (D10VCopy): Transfer data in 32 bit chunks.
24022
24023 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
24024
24025 * gdb.base/overlays.c (main): Exit normally when result is
24026 correct.
24027
24028 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
24029 map. Include space for printf in .text segment.
24030
24031 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
24032 updated d10v memory VMA/LMA map.
24033 (D10VCopy): Call D10VTranslate.
24034
24035 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
24036
24037 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
24038
24039 * gdb.base/bar.c (barx, bar): Change variable to small array so
24040 that it won't be put into the .sdata - small data -
24041 section. Update reference.
24042 * gdb.base/baz.c (bazx, baz): Ditto.
24043 * gdb.base/foo.c (foox, foo): Ditto.
24044 * gdb.base/grbx.c (grbxx, grbx): Ditto.
24045
24046 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
24047 to be arrays.
24048
24049 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
24050
24051 * gdb.base/overlays.exp: fix up and get working again.
24052 Add tests for backtraces from an overlay function.
24053
24054 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
24055
24056 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
24057 "calling function with watchpoint enabled".
24058
24059 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
24060
24061 * gdb.base/break.exp (test_next_with_recursion): Remove
24062 gdb_suppress_tests for d10v-*-*.
24063 * lib/gdb.exp (gdb_suppress_tests): Disable this function
24064 pending review of whether it is useful or not.
24065
24066 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
24067
24068 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
24069
24070 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
24071
24072 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
24073 * config/dve.exp: New file to support Densan boards.
24074
24075 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
24076
24077 * gdb.base/interrupt.exp: Document problem of simulators, signals,
24078 reads and BSD.
24079
24080 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
24081
24082 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
24083 response.
24084
24085 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
24086
24087 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
24088
24089 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
24090 test.
24091
24092 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
24093 target_sizeof_long and target_bigendian_p.
24094 (structs_by_value, structs_by_reference): Check values according
24095 to targets word size and endianess.
24096
24097 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
24098
24099 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
24100 output.
24101
24102 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
24103
24104 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
24105 Update test of set args help to match source change.
24106
24107 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
24108
24109 * gdb.base/default.exp: Expect help system output to be in
24110 alphabetical order.
24111 * gdb.base/help.exp: Ditto.
24112
24113 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
24114
24115 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
24116 "i*86-pc-linux-gnu*".
24117 * gdb.base/interrupt.exp: Ditto.
24118 * gdb.base/corefile.exp: Ditto.
24119
24120 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
24121 define vxworks when building the testcase.
24122
24123 * gdb.base/ptype.exp: Fix testnames to be unique.
24124 * gdb.base/radix.exp: Ditto.
24125 * gdb.base/term.exp: Ditto.
24126 * gdb.base/whatis.exp: Ditto.
24127 * gdb.c++/classes.exp: Ditto.
24128
24129 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
24130
24131 * gdb.base/callfuncs.exp: Fix indentation.
24132
24133 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
24134 suppress_flag has been set.
24135 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
24136 target feature.
24137
24138 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
24139
24140 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
24141 the testcase.
24142
24143 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
24144 set_debug_traps() and breakpoint().
24145 * gdb.c++/misc.cc (main): Ditto.
24146 * gdb.c++/templates.cc (main): Ditto.
24147 * gdb.c++/virtfunc.cc (main): Ditto.
24148
24149 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
24150
24151 * lib/gdb.exp(gdb_step_for_stub): New function.
24152 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
24153 exists, reload the executable and do a "continue" instead of
24154 doing a jump.
24155 (runto_main): Use gdb_step_for_stub.
24156
24157 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
24158 tests to have unique names.
24159 * gdb.base/callfuncs.exp: Ditto.
24160 * gdb.base/commands.exp: Ditto.
24161 * gdb.base/default.exp: Ditto.
24162 * gdb.base/help.exp: Ditto.
24163 * gdb.base/list.exp: Ditto.
24164 * gdb.base/opaque.exp: Ditto.
24165 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
24166 similar tests.
24167
24168 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
24169 * gdb.c++/cplusfuncs.cc: Ditto.
24170 * gdb.c++/virtfunc.cc: Ditto.
24171
24172 * config/monitor.exp: Keep track of the last file we saw, rather
24173 than trying to get the info from gdb.
24174
24175 * gdb.fortran/types.exp: Move comment to previous line.
24176
24177 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
24178
24179 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
24180 target mode.
24181
24182 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
24183
24184 From Bob Manson:
24185 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
24186 string from GDB when it connects.
24187
24188 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
24189
24190 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
24191
24192 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
24193 if we can't get a debug format from GDB (we may be testing an
24194 older GDB). Use a 10 second timeout when checking for the format.
24195
24196 * gdb.stabs/weird.exp: Fix quoting.
24197
24198 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
24199
24200 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
24201
24202 * config/arm-ice.exp: New file.
24203
24204 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
24205
24206 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
24207 until it has been modified to work with the new testsuite.
24208
24209 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
24210 testcase won't compile, cause all of the testcases in the file to
24211 fail instead.
24212
24213 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
24214 (gdb_clear_suppressed): New procedure.
24215 (gdb_stop_suppressing_tests): Only clear suppress_flag if
24216 it contains a positive value.
24217
24218 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
24219
24220 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
24221
24222 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
24223
24224 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
24225
24226 * lib/gdb.exp (setup_xfail_format): New function.
24227 (get_debug_format): New function to get debug format.
24228 (debug_format): New global variable to hold last value set
24229 by get_debug_format.
24230 * gdb.base/list.exp: Call get_debug_format and expect some
24231 tests to fail for DWARF 1 and COFF formats.
24232 * gdb.c++/ptype.exp: Ditto.
24233 * gdb.c++/classes.exp: Ditto.
24234 * gdb.c++/cplusfuncs.exp: Ditto.
24235 * gdb.c++/inherit.exp: Ditto.
24236 * gdb.c++/templates.exp: Ditto.
24237 * gdb.c++/virtfunc.exp: Ditto.
24238
24239 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
24240
24241 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
24242 host doesn't have a currently-open connection.
24243
24244 * config/sparclet.exp: Cleanups and fixes to make it generic for
24245 any gdb stub target. Handle cases where gdb doesn't respond when
24246 interrupted in a sane fashion.
24247
24248 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
24249 same thing in a totally different way.
24250
24251 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
24252 setting "timeout".
24253 (gdb_start): We set the global gdb_prompt variable in
24254 default_gdb_init now.
24255
24256 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
24257
24258 * gdb.base/printcmds.exp: Fix "check for floating addition"
24259 regexp to accept results within approx +/- .01 of exact value.
24260 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
24261
24262 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
24263
24264 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
24265 properly.
24266 (gdb_expect): Add optional timeout parameter, and add timeout
24267 value to various calls.
24268 (gdb_suppress_tests): Only give one warning message per group.
24269
24270 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
24271
24272 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
24273 global variables. Handle getting a value for $timeout more
24274 gracefully.
24275
24276 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24277
24278 * lib/gdb.exp: Close connection to remote host if gdb doesn't
24279 initialize.
24280 (default_gdb_init): New procedure; allow gdb_init to be overridden
24281 by a target configuration file.
24282 (gdb_expect): Pass the timeout to remote_expect.
24283
24284 * config/monitor.exp(gdb_load): Fix typo in regexp.
24285
24286 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
24287
24288 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
24289
24290 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
24291
24292 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
24293 here. Call gdb_target_exec before rebooting the target, to make
24294 sure the connection to the target is closed.
24295 (gdb_load): Pass the name of the executable to gdb_target_monitor.
24296 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
24297 Also detect "Timeout reading from remote" error.
24298
24299 * config/gdbserver.exp: Pass the executable being loaded to
24300 gdb_target_monitor. Don't call gdb_file_cmd here; let
24301 gdb_target_monitor do it.
24302
24303 * gdb.disasm/hppa.exp: Don't use exec_output.
24304
24305 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
24306
24307 * gdb.base/list.exp: If we're debugging a non-native target,
24308 try to set the pc register to point to the start of the
24309 program before doing the first list command.
24310
24311 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
24312 test_calls after restarting.
24313
24314 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
24315 reloading.
24316
24317 * gdb.base/watchpoint.exp: Fix typo.
24318
24319 * gdb.base/setshow.exp: Check for use_gdb_stub.
24320
24321 * gdb.base/break.exp: Fix continue until exit test for the gdb
24322 stub case.
24323 * gdb.base/langs.exp: Ditto.
24324
24325 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
24326 gdb_load_offset. If we weren't given a file to load, figure out
24327 what the current file is and use it.
24328
24329 * config/i386-bozo.exp: New file.
24330
24331 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
24332
24333 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
24334 feature.
24335
24336 * config/proelf.exp: New entry.
24337
24338 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
24339
24340 * lib/gdb.exp: Remove spurious .* patterns at the beginning
24341 of regexps.
24342
24343 * gdb.base/watchpoint.exp: Don't run the test_stepping
24344 tests if gdb can't call functions on the target.
24345
24346 * gdb.base/setshow.exp: Don't run the set prompt tests if
24347 the board has gdb_prompt set.
24348
24349 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
24350
24351 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
24352 * gdb.base/commands.exp: Likewise.
24353 * gdb.base/setshow.exp: Likewise.
24354
24355 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
24356
24357 * config/monitor.exp(gdb_start): Look for gdb_prompt target
24358 feature.
24359
24360 * config/i960.exp: New file.
24361
24362 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
24363
24364 * gdb.base/funcargs.exp: Check for gdb,short_int target
24365 feature instead of looking for explicit target triplets.
24366
24367 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
24368
24369 * gdb.base/printcmds.exp: add a couple more tests a la
24370 "p 123DEADBEEF", to check parse_number.
24371 * top.c: change "to enable to enable" to "to enable" in a couple
24372 of help strings.
24373
24374 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
24375
24376 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
24377 on the mn10300.
24378
24379 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
24380
24381 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
24382 where the test executable is run with explicit args.
24383 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
24384
24385 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
24386
24387 * gdb.base/run.c: Use FAKEARGV to build test executable that
24388 does not require a command line arg, since most simulators
24389 don't currently support passing such an arg into the simulated
24390 program.
24391 * gdb.base/commands.exp: Change tests to insert the proper
24392 value as the arg to the first recursive factorial call. Change
24393 compilation line to define FAKEARGV at compile time.
24394
24395 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
24396
24397 * gdb.base/recurse.exp: Enable these tests for the mn10300.
24398 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
24399 function with watchpoint enabled" test.
24400
24401 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
24402
24403 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
24404 Don't call gdb_test when the command doesn't return to a gdb prompt.
24405
24406 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
24407 "Tests restarted" messages.
24408
24409 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
24410
24411 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
24412
24413 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
24414
24415 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
24416 for INFO SYMBOL; add help tests for OVERLAY commands.
24417 * gdb.base/default.exp: add tests for INFO SYMBOL command;
24418 add tests for OVERLAY commands
24419 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
24420 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
24421 * gdb.base/sigall.c: add usestubs code frag
24422 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
24423
24424 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
24425
24426 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
24427 failures.
24428 (gdb_stop_suppressing_tests): Note that tests have restarted.
24429
24430 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
24431
24432 * config/h8300.exp: New file.
24433
24434 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
24435
24436 * gdb.base/setshow.exp: Check for the existence of a
24437 feature, not its value.
24438
24439 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
24440
24441 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
24442
24443 * gdb.base/scope.exp: It's now init0(), not init().
24444
24445 * gdb.base/scope0.c: For now, change init() to be init0().
24446
24447 * config/monitor.exp: Use gdb_serial in preference to serial
24448 or netport.
24449
24450 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
24451 and it's not already set.
24452
24453 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
24454
24455 * gdb.base/setshow.exp: Only test the run command if the target
24456 isn't using a stub and if it supports argument passing.
24457
24458 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
24459
24460 * config/udi.exp(gdb_start): Make sure UDICONF is set
24461 properly before starting gdb.
24462
24463 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
24464
24465 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
24466 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
24467 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
24468
24469 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
24470
24471 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
24472 specialized code to reboot the board, use remote_reboot instead.
24473
24474 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
24475
24476 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
24477
24478 * config/monitor.exp: Make sure we disconnect from the target.
24479 Also, try a reboot/reload cycle instead of failing if the
24480 load fails.
24481
24482 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
24483
24484 * gdb.base/default.exp: Don't set match_max.
24485 * gdb.base/help.exp: Ditto.
24486 * gdb.base/list.exp: Ditto.
24487 * gdb.base/signals.exp: Ditto.
24488
24489 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
24490 set, use remote_ld to download the testcase instead of
24491 the GDB loader.
24492
24493 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
24494
24495 * config/vr5000.exp: New file.
24496
24497 * config/monitor.exp(gdb_target_monitor): Add pattern for
24498 "Ending remote" to detect errors in connecting.
24499
24500 * gdb.base/setshow.exp: Add .* within auto language test.
24501
24502 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
24503 target feature.
24504
24505 * config/monitor.exp(gdb_load): Check for a failure when loading,
24506 and reboot the board if necessary.
24507
24508 * gdb.base/setvar.exp(test_set): Handle multiple prints within
24509 a set of tests. Remove print.* from the patterns being checked.
24510
24511 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
24512
24513 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
24514 refer to gdb_spawn_id.
24515
24516 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
24517 longer used.
24518 * config/sparclet.exp: Ditto.
24519 * config/sparclet-old.exp: Ditto.
24520 * config/slite.exp: Ditto.
24521 * config/sim.exp: Ditto.
24522 * gdb.base/funcargs.exp: Ditto.
24523
24524 * lib/gdb.exp:Remove references to gdb_spawn_id.
24525 (gdb_expect): Move to remote.exp.
24526
24527 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
24528
24529 * config/monitor.exp: Detect the "Couldn't establish connection"
24530 message from GDB.
24531
24532 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
24533
24534 * gdb.base/bitfields.exp: Use runto instead of explicit
24535 gdb_run_cmd/gdb_expect sequences.
24536
24537 * gdb.base/break.exp(text_next_with_recursion): Add match for
24538 gdb_expect call.
24539
24540 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
24541 We also need to handle the "A program is being debugged already"
24542 prompt from gdb. Use gdb_test to set the baud rate.
24543
24544 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
24545 to 20000. Really. I mean it.
24546
24547 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24548
24549 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
24550 fails. If suppress_flag is set, skip perror message about not
24551 being able to send to GDB.
24552 (send_gdb): If suppress_flag is set, don't try to send commands to
24553 GDB.
24554 (gdb_expect): If suppress_flag is set, always fail immediately.
24555 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
24556 (gdb_init): Call gdb_stop_suppressing_tests.
24557 (default_gdb_exit): Ditto.
24558 (default_gdb_start): Ditto.
24559
24560 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
24561 gdb_stop_suppressing_tests as appropriate.
24562 * gdb.base/break.exp: Ditto.
24563 * gdb.base/callfuncs.exp: Ditto.
24564 * gdb.base/commands.exp: Ditto.
24565 * gdb.base/exprs.exp: Ditto.
24566 * gdb.base/funcargs.exp: Ditto.
24567 * gdb.base/list.exp: Ditto.
24568 * gdb.base/recurse.exp: Ditto.
24569 * gdb.base/scope.exp: Ditto.
24570 * gdb.base/structs.exp: Ditto.
24571 * gdb.c++/inherit.exp: Ditto.
24572
24573 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
24574
24575 * config/vr4300.exp: New file.
24576
24577 * gdb.*/*.exp: Call gdb_expect instead of expect.
24578
24579 * lib/gdb.exp(gdb_expect): New function.
24580
24581 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
24582
24583 * lib/gdb.exp(gdb_init): New function.
24584
24585 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
24586 for each individual variable set.
24587
24588 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
24589 name.
24590
24591 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
24592
24593 * gdb.base/scope.exp: Use gdb_test.
24594
24595 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
24596 aborting; the testsuite driver will do that for us (see
24597 gdb_finish). Also, use gdb_test in a few more places.
24598
24599 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
24600
24601 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
24602
24603 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
24604
24605 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
24606 and "add_tests" are not at the same address.
24607
24608 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
24609
24610 * gdb.base/ptype.exp: Use gdb_test.
24611
24612 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
24613
24614 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
24615 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
24616 left in. No longer expect them to fail.
24617
24618 * gdb.stabs/*.mt; Deleted, no longer used.
24619 * gdb.stabs/configure.in: Remove references to target makefile
24620 frags.
24621 * gdb.stabs/configure: Rebuilt.
24622
24623 * gdb.disasm/*.mt: Deleted, no longer used.
24624 * gdb.disasm/configure.in: Remove references to target makefile
24625 frags. Use "sh3.s" as the unique filename for this directory.
24626 * gdb.disasm/configure: Rebuilt.
24627
24628 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
24629 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
24630 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
24631
24632 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
24633
24634 * config/udi.exp: Use mondfe,name instead of remote_host.
24635
24636 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
24637
24638 * gdb.base/watchpoint.exp: Don't expect a failure when calling
24639 a function with a watchpoint enabled on the mn10200.
24640
24641 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
24642 before trying to create it!
24643
24644 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
24645
24646 * config/vx.exp: Use hostname instead of netport.
24647
24648 * config/vxworks.exp: New file.
24649
24650 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
24651
24652 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
24653 gdb before assuming everything worked. Send a ^C if a timeout
24654 occurs.
24655
24656 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
24657 $gdb_spawn_id directly.
24658 (gdb_run_cmd): Try _start as well as start. Use the target feature
24659 gdb,start_symbol as the symbol to start from when jumping.
24660
24661 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
24662
24663 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
24664 redundant) test.
24665
24666 * gdb.base/recurse.exp: Relax final value test for 'b' so that
24667 it doesn't lose for 16bit integer systems.
24668
24669 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
24670
24671 * gdb.fortran/types.exp: If the target doesn't support "double"
24672 data types, then expect "real" types to only be 4 bytes.
24673
24674 * gdb.c++/virtfunc.exp: Expect failure for virtual function
24675 call tests if the target doesn't support inferior function calls.
24676
24677 * gdb.base/printcmds.exp: Allow minor deviation in FP values
24678 in printf tests.
24679
24680 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
24681
24682 * gdb.base/help.exp: Disable "help set", "help show", and
24683 "help support". Simplify regexp for "help stack".
24684
24685 * gdb.base/default.exp: Set match_max to 5000 and the timeout
24686 to 60 seconds. Temporarily set match_max to 15000 around the
24687 "info copying" test.
24688
24689 * gdb.base/nodebug.exp: Don't try to do an inferior function
24690 call if the target doesn't support them.
24691 * gdb.base/printcmds.exp: Likewise.
24692 * gdb.base/setvar.exp: Likewise.
24693 * gdb.base/structs.exp: Likewise.
24694 * gdb.c++/templates.exp: Likewise.
24695 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
24696
24697 * gdb.base/recurse.exp: Enable for the mn10200.
24698
24699 * configure.in: Do configure gdb.stabs directory for *-*-elf
24700 targets.
24701 * configure: Rebuilt.
24702
24703 * gdb.base/break.exp: Check for gdb,noresults before testing
24704 exit status and/or results from the target.
24705 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
24706 * lib/gdb.exp: Remove old (now bogus) initialization of
24707 noinferior, noargs, noresults and nosignals.
24708
24709 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
24710
24711 * config/sh.exp: New file.
24712
24713 * config/slite.exp: Try to connect multiple times to the board
24714 before rebooting. Only send a "monitor run" if need_monitor_run
24715 is set.
24716
24717 * gdb.base/break.exp: Don't do the "stub continue" test if
24718 the target has gdb_stub set.
24719
24720 * gdb.base/callfuncs.exp: Increase the timeout.
24721
24722 * gdb.base/interrupt.exp: Don't even try to compile the testcase
24723 if the target has gdb,noinferiorio set.
24724
24725 * gdb.base/list.exp: Increase match_max to 10000 characters.
24726
24727 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
24728
24729 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
24730 target.
24731
24732 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
24733
24734 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
24735
24736 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
24737 trying to delete the copy of gdb. Catch the file delete so we
24738 don't die if the delete fails; also, the file should be copied to
24739 the host, not to the build.
24740
24741 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
24742
24743 * lib/gdb.exp(gdb_test): Surround the result pattern with
24744 parenthesis in case it contains multiple regexps separated
24745 with |.
24746
24747 * gdb.base/watchpoint.exp: Use gdb_test.
24748 * gdb.base/default.exp: Ditto.
24749
24750 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
24751
24752 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
24753
24754 * gdb.base/scope.exp: Use gdb_test.
24755 * gdb.c++/classes.exp: Ditto.
24756 * gdb.c++/inherit.exp: Ditto.
24757
24758 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
24759
24760 * gdb.base/crossload.exp: Don't use execute_anywhere, use
24761 remote_exec instead.
24762 * gdb.base/corefile.exp: Don't be ridiculous.
24763 * gdb.base/*.c: Add missing stub invocations.
24764
24765 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
24766
24767 * config/slite.exp: Miscellaneous fixes.
24768
24769 * lib/gdb.exp: Fix runto.
24770
24771 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
24772 the target.
24773
24774 * gdb.base/watchpoint.exp: Fix regexp.
24775
24776 * lib/gdb.exp(default_gdb_exit): Add a catch to the
24777 close and wait commands, as the descriptor may now be
24778 invalid. Always call "remote_close host".
24779
24780 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
24781
24782 Major rewrite for testsuite revision.
24783
24784 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
24785 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
24786 instead of relying on spawn_id to always contain a valid
24787 spawn id.
24788 (get_compiler_info): New procedure to build the ${binfile}.ci
24789 file, instead of replicating this in N different places.
24790 (gdb_compile): New procedure.
24791
24792 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
24793 appropriate arguments) instead of compile. Use gdb_test in a lot
24794 more places. Use send_gdb instead of send. Always run gdb_start
24795 at the start of a testcase, as this is no longer done magically.
24796
24797 config/*-gdb.exp: Rename without the -gdb suffix.
24798
24799 config/mips.exp: Use remote_close instead of exit_remote_shell.
24800 config/monitor.exp: Use target_info instead of looking at
24801 baud, timeout, etc.
24802 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
24803
24804 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24805
24806 * gdb.c++/templates.exp (test_ptype_of_templates),
24807 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
24808 Update expect patterns for destructors and assignment operators
24809 to match corresponding c-typeprint.c changes.
24810 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
24811 to destructor breakpoint test, GDB should be able to set the
24812 destructor breakpoint without specifying arguments.
24813
24814 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
24815
24816 * gdb.threads/pthreads.exp: Change result for failure to compile due
24817 to lack of pthreads runtime support from an error to simply an
24818 unsupported test, per dejagnu standards.
24819
24820 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24821
24822 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
24823 where GDB exits to reduce pattern match time.
24824 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
24825
24826 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
24827
24828 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
24829
24830 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
24831 * gdb.base/default.exp: ditto.
24832 * gdb.base/nodebug.exp: ditto.
24833 * gdb.base/printcmds.exp: ditto.
24834 * gdb.base/ptype.exp: ditto.
24835 * gdb.base/setvar.exp: ditto.
24836 * gdb.base/structs.exp: ditto.
24837 * gdb.base/setshow.c: Guard against uninitialized values of argc.
24838
24839 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
24840
24841 * configure, */configure: Rebuild with autoconf 2.12.
24842
24843 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
24844
24845 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
24846 use new i*86-pc-linux*-gnu quads.
24847 * gdb.base/corefile.exp: Ditto.
24848 * gdb.base/signals.exp: Ditto.
24849 * gdb.base/sigall.exp: Ditto.
24850 * gdb.base/interrupt.exp: Ditto.
24851
24852 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
24853 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
24854 RedHat 4.0.
24855
24856 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
24857 linux. This allows the test case to at least compile on latest
24858 linux, but still not run due to missing the threads runtime library.
24859
24860 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24861
24862 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
24863 directory to search gdb directory. Accept and step over conditional
24864 stack alignment code. Consume $prompt in failure cases.
24865 Reset timeout to $oldtimeout instead of some arbitrary value.
24866 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
24867 timeout problems with infinite stack backtraces.
24868 * gdb.base/ptype.exp (ptype struct link, union tu_link):
24869 Accept function parameters for linkfunc member.
24870
24871 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
24872
24873 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
24874 (CXXFLAGS): Remove, unreferenced.
24875 (B_OPTIONS): Add for -B options and add code to initialize with
24876 previous -B options and also add -B option to pick up cross compiled
24877 runtime.
24878 (TARGET_INCLUDES): Add for -I options and add code to initialize when
24879 doing cross compiles.
24880 (target_alias): Declare global.
24881 (xgcc): Set variable to full path of gcc in build tree. Use findfile
24882 to verify that gcc exists in build tree, and if so set CC to that
24883 gcc and to use B_OPTIONS and TARGET_INCLUDES.
24884
24885 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
24886
24887 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
24888 ptype test for anonymous union. Fixup testcase to match
24889 current gcc debug output.
24890
24891 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
24892
24893 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
24894 force argument to an unsigned long type.
24895
24896 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
24897
24898 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
24899 tests and anonymous union print/ptype tests.
24900 * gdb.base/list.exp (test_forward-search): Increase timeout by
24901 5 minutes for the "search extremely long line" case.
24902 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
24903 completely optional and that the pass/fail messages use the command as
24904 the message if that third arg is a null string.
24905 (gdb_test_exact): Arrange that a null string pattern means match a
24906 null string output rather than any output, which might include random
24907 errors.
24908 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
24909 backtrace test.
24910 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
24911 always failing and failure is now exposed by gdb.exp changes.
24912
24913 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
24914
24915 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
24916 weren't being noted.
24917
24918 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24919
24920 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
24921 * gdb.stabs/weird.exp: Remove v_comb xfails.
24922
24923 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
24924
24925 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
24926 list.exp scope.exp watchpoint.exp]
24927 Make all timeout error msgs explicitly say "(timeout)".
24928
24929 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
24930
24931 * config/monitor.exp: Increase download timeout to 1000 seconds.
24932
24933 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
24934
24935 * config/m32r.exp: Increase timeout to 120 seconds.
24936
24937 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
24938
24939 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
24940 and accept older ordering as obsolescent gcc or gdb.
24941 * gdb.c++/templates.exp: Ditto.
24942 * gdb.c++/virtfunc.exp: Ditto.
24943
24944 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
24945
24946 * gdb.base/coremaker.c: Add code to mmap some data so we
24947 can check that it ends up in the core file.
24948 * gdb.base/corefile.exp: Add test to read mmapped data
24949 from core file.
24950
24951 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
24952
24953 * config/m32r.exp: New file.
24954
24955 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
24956
24957 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
24958 that cflags can contains -gstabs, and work correctly for other tests.
24959
24960 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
24961
24962 * gdb.base/setshow.exp: New file, tests show and set.
24963 * gdb.base/setshow.c: New file, tests show and set.
24964 * gdb.base/help.exp: Add test for help set|show annotate.
24965 * gdb.base/default.exp: Add test for set|show annotate.
24966
24967 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
24968
24969 * testsuite/gdb.base/break.exp: Make backtrace from factorial
24970 errors unique.
24971 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
24972 explicitly.
24973
24974 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
24975
24976 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
24977 and width commands. This is done elsewhere.
24978 * (gdb_start): Don't call gdb_start_sim here. That's already
24979 done in gdb_load. This fixes lots of failures in default.exp.
24980
24981 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
24982
24983 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
24984 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
24985 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
24986 in the same we we treat other failures (since it may be an expected
24987 condition), rather than as an error.
24988 * gdb.base/signals.exp (test_handle_all_print): Revert back to
24989 old test format.
24990
24991 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
24992
24993 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
24994 (distclean maintainer-clean realclean): No need to remove files
24995 twice. Nuke the duplicates.
24996 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
24997 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
24998 Remove config.h along with other config files.
24999
25000 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
25001
25002 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
25003 "p func1 ()" and note that rests of tests are skipped.
25004 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
25005 setup_xfails for "print func2::coremaker_local".
25006 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
25007 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
25008 affected by the previous run test.
25009 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
25010 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
25011 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
25012 "pass int powerset tuple" and "pass modeless int powerset tuple".
25013 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
25014 "real write 4" and "real write 8".
25015 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
25016 setup_xfails for "print vs1 after tuple assign 2",
25017 "print \$i after tuple assign 2", and
25018 "print vs2 after tuple assign 2".
25019 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
25020 meaningful error message and return -1 so the caller can
25021 suppress further tests and avoid a cascade of errors.
25022
25023 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
25024
25025 * gdb.base/a1-selftest.exp: Tweak tests to account for new
25026 format for printing version.
25027 * gdb.base/default.exp: Ditto.
25028 * gdb.base/interrupt.exp: Fix problem with cascade of
25029 errors if child process dies while calling a function.
25030
25031 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
25032
25033 * Makefile.in (VPATH): Add
25034 * Makefile.in (Makefile, config.status): Fix rules so things get
25035 remade when necessary.
25036
25037 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
25038
25039 * Makefile.in (just-check): Add path to sibling expect dir
25040 to environment variable specified by RPATH_ENVVAR.
25041
25042 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
25043
25044 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
25045 (just-check): Add shared library paths for libstdc++, tk,
25046 tcl, bfd, and opcodes to the environment variable specified
25047 in RPATH_ENVVAR.
25048 * configure.in: Add support to recognize --enable-shared flag
25049 and generate correct value for RPATH_ENVVAR.
25050 * configure: Regenerated with autoconf.
25051
25052 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
25053
25054 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
25055 include all osf versions.
25056 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
25057 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
25058 when target is linux. When failing to build pthreads test
25059 executable, give more meaningful message.
25060 * gdb.threads/pthreads.c: Hpux also uses old definition of second
25061 arg for pthread_create.
25062
25063 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
25064
25065 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
25066 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
25067 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
25068 and -lpthreads (everybody else).
25069 (test_startup): Fail gracefully if threads are not supported.
25070 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
25071 "p/c array_index("abcdef",2)" when not gcc compiled.
25072 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
25073 "print func2::coremaker_local" when not gcc compiled.
25074 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
25075 "ptype on opaque struct tagname (statically)",
25076 "ptype on opaque struct tagname (dynamically) 1", and
25077 "ptype on opaque struct tagname (dynamically) 2"
25078 for not compiled with gcc.
25079 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
25080 backtrace when compiled with gcc.
25081 * lib/gdb.exp (runto_main): Return result of "runto main" rather
25082 than always return success.
25083
25084 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
25085
25086 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
25087
25088 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
25089
25090 * gdb.base/structs.exp: Undo last change.
25091
25092 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
25093
25094 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
25095 encapsulate all the steps/nexts done during self test, starting
25096 at main, and makes them less sensitive to optimization issues.
25097 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
25098 signal handler" test.
25099 * gdb.threads/pthreads.exp: Only run this for native configs.
25100 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
25101 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
25102 tests.
25103 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
25104 for "runto test_calls(void)" test.
25105
25106 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
25107
25108 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
25109 and don't expect address info in breakpoint confirmations.
25110
25111 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
25112
25113 * gdb.base/list.exp (test_forward_search): Increase timeout
25114 temporarily by 60 seconds for searching extremely long line,
25115 and then reset to old value when done. Increase expect input
25116 buffer to 10000.
25117
25118 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
25119
25120 * gdb.base/list.exp (test_forward_search): Fix to handle very
25121 long source line without overflowing expect's input buffer.
25122
25123 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
25124
25125 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
25126 "buffer_full".
25127
25128 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
25129 "buffer_full".
25130
25131 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
25132 "buffer_full".
25133
25134 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
25135 "buffer_full".
25136
25137 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
25138
25139 * configure.in (configdirs): Add gdb.threads.
25140 * configure: Regenerated with autoconf.
25141 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
25142 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
25143 * gdb.threads/configure: New, generated with autoconf.
25144
25145 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
25146
25147 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
25148
25149 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
25150
25151 * gdb.base/signals.exp (test_handle_all_print): Test separately for
25152 each signal's status in the output of "handle all print".
25153 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
25154 the \r\n sequence that immediately precedes the gdb prompt.
25155 * gdb.base/a1-selftest.exp: Save original timeout and restore
25156 after test.
25157
25158 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
25159
25160 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
25161 symbol.
25162
25163 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
25164
25165 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
25166
25167 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
25168
25169 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
25170 timeout by 60 seconds.
25171
25172 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
25173
25174 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
25175 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
25176 error return.
25177
25178 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
25179
25180 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
25181 gdb initialization, also report how long dejagnu waited. Restore
25182 old timeout before doing error return. Temporarily increase timeout
25183 by 3 minutes to allow for slow startups over heavy NFS use.
25184
25185 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
25186
25187 * lib/gdb.exp: Report timeout value for verbosity level 2.
25188 * config/gdbserver.exp: Ditto.
25189 * config/hppro.exp: Ditto.
25190 * config/mips-gdb.exp: Ditto.
25191 * config/monitor.exp: Ditto.
25192 * config/netware.exp: Ditto.
25193 * config/sim-gdb.exp: Ditto.
25194 * config/slite-gdb.exp: Ditto.
25195 * config/udi-gdb.exp: Ditto.
25196 * config/unix-gdb.exp: Ditto.
25197 * config/vx-gdb.exp: Ditto.
25198 * gdb.base/a1-selftest.exp: Ditto.
25199 * gdb.base/a2-run.exp: Ditto.
25200 * gdb.base/break.exp: Ditto.
25201 * gdb.base/corefile.exp: Ditto.
25202 * gdb.base/list.exp: Ditto.
25203 * gdb.base/recurse.exp: Ditto.
25204 * gdb.base/scope.exp: Ditto.
25205 * gdb.base/signals.exp: Ditto.
25206
25207 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25208
25209 * gdb.threads/Makefile.in (docdir): Removed.
25210
25211 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25212
25213 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
25214 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
25215 @srcdir@.
25216 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
25217 autoconf 2.5 or higher.
25218 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
25219
25220 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
25221
25222 * configure: Regenerated.
25223 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
25224 avoid name clashes with SunOS headers.
25225
25226 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
25227
25228 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
25229
25230 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
25231
25232 * gdb.base/callfuncs.exp: Finish last change -- make sure the
25233 prototype information ends up in the compiler info file.
25234
25235 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
25236
25237 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
25238 attempting to regenerate it. Eliminate use of a temporary file
25239 and just generate the info file directly. Source it immediately,
25240 for consistency of use.
25241 * gdb.base/corefile.exp: Ditto
25242 * gdb.base/exprs.exp: Ditto.
25243 * gdb.base/funcargs.exp: Ditto.
25244 * gdb.base/langs.exp: Ditto.
25245 * gdb.base/list.exp: Ditto.
25246 * gdb.base/mips_pro.exp: Ditto.
25247 * gdb.base/nodebug.exp: Ditto.
25248 * gdb.base/opaque.exp: Ditto.
25249 * gdb.base/ptype.exp: Ditto.
25250 * gdb.base/scope.exp: Ditto.
25251 * gdb.base/setvar.exp: Ditto.
25252 * gdb.base/signals.exp: Ditto.
25253 * gdb.base/whatis.exp: Ditto.
25254 * gdb.c++/templates.exp: Ditto.
25255 * gdb.c++/virtfunc.exp: Ditto.
25256 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
25257 whether or not to add -lstdc++ to the compile command line args.
25258
25259 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25260
25261 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
25262 it got fixed by the recent lookup_minimal_symbol_by_pc change.
25263 Increase timeout, a lot of single stepping might be needed if the
25264 target has no hardware watchpoints.
25265
25266 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
25267
25268 * gdb.base/break.exp: Ignore compiler warnings when compiling
25269 break.c.
25270 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
25271 * gdb.base/default.exp: Add h8300 xfails. Handle messages
25272 from remote-sim.
25273 * gdb.base/exprs.exp: Add h8300 xfails.
25274 * gdb.base/funcargs.exp: Likewise.
25275 * gdb.base/nodebug.exp: Likewise.
25276 * gdb.base/printcmds.exp: Likewise.
25277 * gdb.base/ptype.exp: Likewise.
25278 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
25279 h8300 xfails.
25280 * gdb.base/return.exp: Handle float/double precision problems
25281 on the h8300.
25282 * gdb.base/funcargs.c: Explicitly make last constant argument to
25283 call_after_alloca_subr an unsigned long type.
25284 * gdb.base/return.c: Include stdio.h.
25285
25286 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
25287
25288 * config/abug.exp: New file for the older Motorola Bug monitor
25289 that runs on the mvme13x series VME boards.
25290 * config/monitor.exp: Use the new config array for target settings
25291 if they exist.
25292
25293 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
25294
25295 * sim-gdb.exp: Make the SH simulator allocate less space when
25296 it is targeted.
25297
25298 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
25299
25300 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
25301 test.
25302
25303 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
25304
25305 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
25306 "rs6000-*-*" for "list function in include file" when gcc compiled.
25307 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
25308 for "p ctable1[120]".
25309 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
25310 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
25311 Remove setup_xfail for "rs6000-*-*" for
25312 "print 'scope0.c'::filelocal before run".
25313 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
25314 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
25315 since some compilers don't allow both options to be given
25316 on the same command line. Create object file and move it.
25317
25318 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
25319
25320 * gdb.base/corefile.exp: Always regenerate the core file, since
25321 we always regenerate the coremaker program. Detect special case
25322 where registers cannot be read from core file.
25323
25324 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
25325
25326 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
25327 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
25328 * gdb.c++/templates.exp: Only match on basename of file since
25329 some formats like xcoff don't encode directory information.
25330 * gdb.stabs/weird.exp: Use the right sed script for powerpc
25331 and rs6000 AIX xcoff targets.
25332 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
25333 * configure: Regenerate.
25334 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
25335 here, rather than in distclean.
25336
25337 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
25338
25339 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
25340 defined, and use it to compile the test case with -O2. The
25341 native compilation still uses no optimization.
25342 * gdb.base/mips_pro.c: Remove inline assembly code since
25343 it is compiled PIC by default, which results in assembler
25344 warnings that make the testsuite think the compilation
25345 was unsuccessful.
25346
25347 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
25348
25349 * gdb.c++/misc.exp: Add note to message for
25350 "print s.a for foo struct" that this is a known gcc 2.7.2
25351 and earlier bug.
25352
25353 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
25354
25355 * gdb.base/break.exp: Fix pattern for matching "Delete all
25356 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
25357 setup_xfail for deleting all breakpoints test. Fix various
25358 timeout messages to include "(timeout)".
25359 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
25360 for "p t_float_values2(3.14159,float_val2)".
25361 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
25362 for "continue to call2g" when gcc compiled.
25363 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
25364 "up to foo in langs.exp", "show language at foo in langs.exp",
25365 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
25366 and "show language at fsub in langs.exp".
25367 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
25368 "list line 1 in include file", "list message for lines past EOF",
25369 "list function in include file", "list list0.h:foo", and
25370 "list filename:function; nonexistant function".
25371 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
25372 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
25373 and "ptype t_char_array" to be for native cc only.
25374
25375 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
25376
25377 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
25378 setup_xfail for "print coremaker_bss", "print coremaker_ro",
25379 "print func2::coremaker_local", and "backtrace in corefile.exp".
25380
25381 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
25382
25383 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
25384 "bt in signals.exp". This problem only appears when running
25385 the testsuite, and then only intermittently.
25386
25387 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
25388
25389 * gdb.base/return.exp (return_tests): Differentiate between
25390 two tests of continuing.
25391
25392 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
25393
25394 * */Makefile.in (maintainer-clean): Remove config.log.
25395 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
25396 * gdb.c++/Makefile.in (PROGS): Add inherit.
25397 (clean): Remove *.ci.
25398
25399 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
25400
25401 * gdb.c++/misc.cc: Add test code from Mike Stump.
25402 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
25403
25404 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
25405
25406 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
25407 to "alpha-*-osf2*" and add comment.
25408 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
25409 setup_xfail for "step over execarg initialization" and
25410 "step over corearg initialization".
25411 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
25412 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
25413 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
25414 gcc compiled for "print coremaker_bss", "print coremaker_ro",
25415 "print func2::coremaker_local", and "backtrace in corefile.exp".
25416 * gdb.base/signals.exp: Build and source signals.ci.
25417 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
25418 to be for gcc only.
25419 * lib/gdb.exp: Move verbose statements outside conditionals.
25420
25421 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25422
25423 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
25424 Feb 3 procfs.c change.
25425
25426 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
25427
25428 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
25429
25430 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
25431
25432 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
25433 from dejagnu's apparent default of 10 seconds, which gives random
25434 results when running the tests over NFS on moderately loaded systems.
25435 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
25436
25437 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
25438
25439 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
25440 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
25441 result reports.
25442
25443 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
25444
25445 * configure.in (CY_AC_PATH_TCLH): Remove.
25446 * configure: Regenerate.
25447
25448 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
25449
25450 * gdb.c++/Makefile.in (clean): Add missing '{'.
25451
25452 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
25453
25454 * lib/gdb.exp: Provide a default value for noinferior.
25455
25456 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
25457 Load libgloss.exp.
25458
25459 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
25460
25461 * gdb.disasm/hppa.exp: Compile directly into an executable, use
25462 the executable, not the .o to run the tests from.
25463
25464 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
25465
25466 * gdb.base/break.exp: Don't test for program exit or exit status
25467 if $noresults if nonzero.
25468 * gdb.base/langs.exp: Likewise.
25469 * gdb.base/watchpoint.exp: Likewise.
25470
25471 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
25472 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
25473 trying to compile the testcase.
25474
25475 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
25476
25477 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
25478 * gdb.base/signals.exp (continue to handler): Likewise.
25479
25480 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
25481
25482 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
25483
25484 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
25485
25486 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
25487
25488 * gdb.base/corefile.exp: Recognize "not found" as failure
25489 when trying to determine if a core file was generated.
25490 If no core file was generate the first time, try again without
25491 the ulimit -c to work around braindamaged shells.
25492
25493 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
25494
25495 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
25496 [] tests with "test" and enclose string in quotes.
25497 * gdb.stabs/configure: Rebuild
25498
25499 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
25500
25501 Changes in sync with expect:
25502 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
25503 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
25504 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
25505 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
25506 argument to AC_REQUIRE.
25507 * configure: Regenerated.
25508
25509 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
25510
25511 * gdb.base/corefile.exp: When generating a core, discard any
25512 error messages about ulimit not found and the "core dumped"
25513 message from the shell that runs the coredumper.
25514
25515 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
25516
25517 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
25518
25519 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
25520 which sed script to run. Expect failure for v_comb test
25521 on PA targets too.
25522
25523 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
25524
25525 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
25526 "print func2::coremaker_local" and for "backtrace in corefile.exp"
25527
25528 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
25529
25530 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
25531 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
25532 "sparc-sun-solaris*" xfails for "p v_comb".
25533 * lib/gdb.exp (default_gdb_start): Fix typo.
25534 * gdb.base/corefile.exp: Allow "Core was generated by ..."
25535 messages to not include the full program name that caused
25536 the core dump since some systems (such as solaris) apparently
25537 truncate this path to about 80 characters.
25538 When generating a core file first try increasing the core file
25539 size limit to unlimited since some systems may default it to
25540 zero, and it is harmless to try it. Move the test for failing
25541 to generate a core file to where it will actually get executed.
25542 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
25543 new gdb result from g++ debug info improvements and make old
25544 pattern obsolescent. Also account for size_t differences
25545 (may be int or long).
25546 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
25547 initialization before function call is placed in the delay slot
25548 and thus appears to be skipped over by commands such as "next".
25549
25550 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
25551
25552 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
25553
25554 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
25555
25556 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
25557 input source file; fix code to compile test to deal with this
25558 convention.
25559 * gdb.c++/*.exp: Likewise.
25560
25561 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
25562
25563 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
25564 "bt in signals.exp".
25565
25566 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
25567
25568 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
25569 "step over execarg initialization" and
25570 "step over corearg initialization".
25571
25572 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
25573
25574 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
25575 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
25576
25577 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
25578
25579 From Rob Savoye (rob@poseidon.cygnus.com)
25580 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
25581 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
25582 configure.in}, gdb.disasm/{Makefile.in, configure.in},
25583 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
25584 configure.in}: Major reworking for autoconfig.
25585 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
25586 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
25587 New files.
25588 * config/unix-gdb.exp: Make GDB global.
25589 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
25590 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
25591 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
25592 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
25593 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
25594 term.exp, twice.exp, watchpoint.exp, whatis.exp},
25595 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
25596 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
25597 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
25598 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
25599 pr-8136.exp, result.exp, string.exp, tuples.exp},
25600 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
25601 to returns as necessary, arrange for test to compile own testcase
25602 executable.
25603 * lib/gdb.exp: Changes for testsuite to compile own test cases.
25604
25605 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
25606
25607 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
25608 clear_xfail at end of test which might not call either pass or fail.
25609 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
25610 "backtrace through signal handler".
25611
25612 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25613
25614 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
25615 continuing from a job control stop signal.
25616 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
25617
25618 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
25619
25620 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
25621 * gdb.base/corefile.exp: Likewise.
25622 * gdb.base/funcargs.exp: Likewise.
25623
25624 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
25625
25626 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
25627 * config/monitor.exp: Add support for setting baud rate.
25628
25629 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
25630
25631 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
25632 i*86-*-linux* xfails for "backtrace through signal handler".
25633 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
25634 "print func2::coremaker_local".
25635 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
25636 alpha-dec-osf2* xfail for
25637 "delete all breakpoints when none".
25638
25639 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
25640
25641 * gdb.base/break.exp: Change test that deletes all breakpoints
25642 when no user breakpoints are installed. A post 4.15 change
25643 causes gdb to no longer prompt in this case.
25644
25645 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
25646
25647 * gdb.base/return.exp (return_tests): Change xfail for test
25648 "correct value returned double test" to stop xfailing at
25649 Solaris 2.5. Apparently the bug has been fixed.
25650
25651 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
25652
25653 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
25654 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
25655
25656 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
25657
25658 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
25659 * gdb.disasm/hppa.s: Corresponding changes.
25660
25661 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
25662
25663 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
25664 makefile fragment.
25665 * config/mt-hpux: Deleted.
25666
25667 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
25668
25669 * Many files: When warning about suppressed tests due to a
25670 nonexistant test binary, avoid incrementing the warning count.
25671
25672 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
25673
25674 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
25675
25676 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25677
25678 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
25679 "sparc-*-solaris2*".
25680
25681 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25682
25683 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
25684 Add global and local variables and initialize them.
25685 * gdb.base/corefile.exp: Test correct mapping of corefile sections
25686 by printing variables. Remove rs6000 and powerpc xfails, BFD now
25687 extracts the file name and terminating signal from the core file.
25688 * TODO: Remove note about tests for correct mapping of corefile.
25689 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
25690 from optimizing it away.
25691 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
25692 handles common blocks.
25693
25694 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
25695
25696 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
25697 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
25698
25699 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
25700
25701 * Makefile.in (maintainer-clean): New target, synonym for
25702 realclean.
25703 * gdb.base/Makefile.in (maintainer-clean): Likewise.
25704 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
25705 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
25706 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
25707 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
25708 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
25709
25710 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
25711
25712 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
25713 xfails when not gcc compiled for "print foo::funclocal".
25714 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
25715 "print foo::funclocal at foo",
25716 "print 'scope1.c'::foo::funclocal at foo",
25717 "print foo::funclocal_bss at foo",
25718 "print 'scope1.c'::foo::funclocal_bss at foo",
25719 "print foo::funclocal_ro at foo",
25720 "print 'scope1.c'::foo::funclocal_ro at foo",
25721 "print bar::funclocal at foo" and
25722 "print 'scope1.c'::bar::funclocal at foo".
25723 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
25724 gcc compiled for "print foo::funclocal at bar".
25725 Expand all messages to ensure that they identify that
25726 the test is at bar().
25727 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
25728 gcc compiled for:
25729 "ptype on opaque struct pointer (statically)",
25730 "ptype on opaque struct tagname (statically)",
25731 "ptype on opaque struct pointer (dynamically) 1",
25732 "ptype on opaque struct tagname (dynamically) 1",
25733 "ptype on opaque struct pointer (dynamically) 2" and
25734 "ptype on opaque struct tagname (dynamically) 2
25735 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
25736 gcc compiled for:
25737 "p datalocal"
25738 "whatis datalocal",
25739 "ptype datalocal",
25740 "p bsslocal",
25741 "whatis bsslocal", and
25742 "ptype bsslocal".
25743 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
25744 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
25745 when not gcc compiled.
25746 * gdb.base/funcargs.exp (float_and_integral_args): Add
25747 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
25748 compiled.
25749 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
25750 "backtrace from call6a" when not gcc compiled.
25751 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
25752 "backtrace from call7a" when not gcc compiled.
25753 * gdb.base/callfuncs.exp (do_function_calls):
25754 Add "hppa*-*-hpux*" xfail when not gcc compiled for
25755 "p t_char_array_values(char_array_val2,char_array_val1)",
25756 "p t_char_array_values(char_array_val1,char_array_val2)",
25757 "p t_char_array_values("carray 1","carray 2")",
25758 "p t_char_array_values("carray 1",char_array_val2)",
25759 "p t_char_array_values(char_array_val1,"carray 2")",
25760 "p sum_args(1,{2})",
25761 "p sum_args(2,{2,3})",
25762 "p sum_args(3,{2,3,4})",
25763 "p sum_args(4,{2,3,4,5})"
25764 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
25765 "backtrace in corefile.exp" when not gcc compiled.
25766
25767 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25768
25769 * gdb.base/signals.exp: Rewrite `handle all print' test as
25770 a procedure. Accept blanks or TABs as whitespace, increase
25771 timeout and expect input buffer size for the large output
25772 from the command. Remove "i*86-*-bsdi2.0" xfail.
25773
25774 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25775
25776 * gdb.base/setvar.exp: Add new testcases for truncation when
25777 assigning invalid values to bitfields.
25778
25779 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
25780
25781 * gdb.base/callfuncs.exp (do_function_calls): Remove
25782 mips-sgi-irix* xfail for
25783 "call inferior func with struct - returns char *"
25784 and fix test so that an optional (unsigned char *) cast is
25785 accepted in the result.
25786
25787 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
25788
25789 * gdb.base/funcargs.exp (float_and_integral_args): Remove
25790 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
25791 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
25792 * gdb.base/signals.exp: Remove duplicate "handle all print" test
25793 that accidentally got checked in.
25794
25795 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
25796
25797 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
25798 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
25799 compiled test.
25800 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
25801 Add mips-sgi-irix5* xfail for not gcc compiled.
25802 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
25803 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
25804 "p top", "whatis top", "p middle", and "whatis middle".
25805 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
25806 "whatis signed char" for not gcc compiled.
25807 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
25808 "set variable signed char=-1 (-1)" and
25809 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
25810 * gdb.base/funcargs.exp (float_and_integral_args):
25811 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
25812 Add mips-sgi-irix* xfail when not gcc compiled for
25813 "continue to call2b".
25814 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
25815 "continue to call2g".
25816 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
25817 "backtrace from call6a"
25818 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
25819 "backtrace from call7k".
25820 Add mips-sgi-irix5* xfail when not gcc compiled for
25821 "backtrace from call7a".
25822 (localvars_after_alloca): Fix gdb_test cmds for
25823 "print * after runto ...".
25824 Remove rs6000-*-* xfails for
25825 "print i after runto localvars_after_alloca" and
25826 "print l after runto localvars_after_alloca"
25827 for all compilers.
25828 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
25829 when not compiled with gcc, for:
25830 "print signed char == (minus)",
25831 "print signed char != (minus)",
25832 "print signed char < (minus)",
25833 "print signed char > (minus)".
25834 * gdb.base/callfuncs.exp (do_function_calls):
25835 Add mips-sgi-irix* xfail, when compiled with native compiler, for
25836 "call inferior func with struct - returns char *".
25837 * gdb.base/return.exp (return_tests): Change xfail for
25838 "correct value returned double test" to include Solaris 2.4.
25839 * gdb.base/funcargs.exp (float_and_integral_args):
25840 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
25841
25842 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25843
25844 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
25845 enumeration bitfields if compiling with GNU C.
25846 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
25847 to empty' prompt.
25848
25849 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
25850
25851 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
25852 test for PRO targets.
25853
25854 * gdb.base/funcargs.exp: Avoid ever setting more than 8
25855 breakpoints in the inferior at any given time by making
25856 two groups of breakpoints for call2*, call6* and call7*
25857 tests.
25858
25859 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25860
25861 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
25862 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
25863 from optimizing it away.
25864 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
25865 "call inferior func with struct".
25866
25867 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
25868
25869 * configure.in: Only configure gdb.chill for particular targets.
25870
25871 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
25872
25873 * gdb.base/Makefile.in: Add action to .c.o transformation
25874 rule that generates a .ci file for each .o file and remove
25875 explicit .c.o rules except for callfuncs.o.
25876 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
25877 generates a .ci file for each .o file and remove explicit
25878 .cc.o rules.
25879 (clean): Remove *.tmp *.ci files.
25880 (EXECUTABLES): Remove templ-info.exp.
25881 * gdb.base/compiler.c: New file.
25882 * gdb.c++/compiler.cc: New file
25883 * gdb.base/scope.exp: Source gdb.base/scope.ci.
25884 Change rs6000-*-* xfail for
25885 "print 'scope0.c'::filelocal_ro" and
25886 "print 'scope1.c'::filelocal" and
25887 "print 'scope1.c'::filelocal_bss" and
25888 "print 'scope1.c'::filelocal_ro" and
25889 "print 'scope1.c'::foo::funclocal" and
25890 "print 'scope1.c'::foo::funclocal_ro" and
25891 "print 'scope1.c'::bar::funclocal" and
25892 "print 'scope0.c'::filelocal_ro" and
25893 "print 'scope1.c'::filelocal at foo" and
25894 "print 'scope1.c'::filelocal_bss at foo" and
25895 "print 'scope1.c'::filelocal_ro at foo" and
25896 "print 'scope1.c'::foo::funclocal at foo" and
25897 "print 'scope1.c'::foo::funclocal_bss at foo" and
25898 "print 'scope1.c'::foo::funclocal_ro at foo" and
25899 "print 'scope1.c'::bar::funclocal at foo" and
25900 "print 'scope0.c'::filelocal_ro" and
25901 "print 'scope1.c'::filelocal" and
25902 "print 'scope1.c'::filelocal_bss" and
25903 "print 'scope1.c'::filelocal_ro" and
25904 "print 'scope1.c'::foo::funclocal" and
25905 "print 'scope1.c'::foo::funclocal_bss" and
25906 "print 'scope1.c'::foo::funclocal_ro" and
25907 "print 'scope1.c'::bar::funclocal" and
25908 "print 'scope1.c'::bar::funclocal_bss"
25909 to only be xfail'd when not compiled with gcc.
25910 Add rs6000-*-* xfail for
25911 "print 'scope0.c'::filelocal_bss before run"
25912 when compiled with gcc.
25913 (test_at_main): Add rs6000-*-* xfail for
25914 "print filelocal_ro in test_at_main"
25915 when compiled with gcc.
25916 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
25917 Add rs6000-*-aix* xfail for
25918 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
25919 "ptype t_char_array", not compiled with gcc.
25920 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
25921 xfail for "list foo (in include file)" when gcc compiled.
25922 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
25923 (integral_args): Add rs6000-*-* xfail for
25924 "run to call0a" if not compiled with gcc.
25925 (unsigned_integral_args): Add rs6000-*-* xfail for
25926 "run to call1a" if not compiled with gcc.
25927 (float_and_integral_args): Add rs6000-*-* xfail for
25928 "run to call2a" if not compiled with gcc and for
25929 "continue to call2b" for any compiler.
25930 Add rs6000-*-* xfail to
25931 "print f1 after run to call2a" for gcc compiled.
25932 (discard_and_shuffle): Add rs6000-*-* xfail for
25933 "run to call6a".
25934 (shuffle_round_robin): Add rs6000-*-* xfail for
25935 "backtrace from call7a" if not compiled with gcc.
25936 Add rs6000-*-* xfail for
25937 "backtrace from call7b" if compiled with gcc.
25938 (call_after_alloca): Add rs6000-*-* xfail for
25939 "print c in call_after_alloca" and
25940 "print s in call_after_alloca" and
25941 "backtrace from call_after_alloca_subr"
25942 if not compiled with gcc.
25943 (localvars_in_indirect_call): Add rs6000-*-* xfail for
25944 "print c in localvars_in_indirect_call" and
25945 "print c in localvars_in_indirect_call" and
25946 "backtrace in indirectly called function" and
25947 "stepping into indirectly called function"
25948 if not compiled with gcc.
25949 (localvars_after_alloca): Add rs6000-*-* xfail for
25950 "print c after runto localvars_after_alloca" and
25951 "print s after runto localvars_after_alloca" and
25952 "print i after runto localvars_after_alloca" and
25953 "print l after runto localvars_after_alloca"
25954 for all compilers.
25955 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
25956 than whatis-info.exp.
25957 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
25958 than opaque-info.exp.
25959 Setup rs6000-*-* xfail for
25960 "ptype on opaque struct pointer (statically)" and
25961 "ptype on opaque struct pointer (dynamically)" when
25962 not compiled with gcc.
25963 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
25964 rather than callf-info.exp.
25965 (do_function_calls): Add clear_xfail for rs6000-*-* for
25966 "p t_float_values2(3.14159,float_val2)". Seems to work
25967 fine there, both with xlc and gcc. Need to find out what
25968 it is doing right and fix other platforms.
25969 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
25970 "call inferior func with struct - returns int",
25971 "call inferior func with struct - returns long",
25972 "call inferior func with struct - returns float",
25973 "call inferior func with struct - returns double",
25974 "call inferior func with struct - returns char *",
25975 but only if not gcc compiled (presumes xlc compiled).
25976 Change rs6000-*-* xfails for
25977 "call inferior func with struct - returns char" and
25978 " call inferior func with struct - returns short" to only
25979 xfail if not using gcc.
25980 (clean mostlyclean): Remove *.ci and *.tmp files.
25981 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
25982 than templ-info.exp.
25983 * gdb.base/langs.exp: Source gdb.base/langs.ci.
25984 Add rs6000-*-* xfail for "up to foo in langs.exp"
25985 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
25986 when not gcc compiled.
25987
25988 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25989
25990 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
25991 * gdb.base/corefile.exp: Likewise.
25992 * gdb.base/list.exp: Likewise.
25993 * gdb.base/scope.exp: Likewise.
25994 * gdb.base/siganls.exp: Likewise.
25995
25996 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
25997 compiler output.
25998 * gdb.base/whatis.exp: Likewise.
25999
26000 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
26001
26002 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
26003 failure (opcode table has been fixed to match reality).
26004
26005 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
26006
26007 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
26008 "call inferior func with struct - returns char",
26009 "call inferior func with struct - returns short"
26010
26011 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
26012 "print 'scope0.c'::filelocal at main",
26013 "print 'scope0.c'::filelocal_bss in test_at_main",
26014 "print 'scope0.c'::filelocal at foo",
26015 "print 'scope0.c'::filelocal_bss in test_at_foo",
26016 "print 'scope0.c'::filelocal at bar",
26017 "print 'scope0.c'::filelocal_bss in test_at_bar"
26018
26019 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
26020 in source file 1". This bug seems to have been fixed with both
26021 gcc and native cc (was native assembler bug?).
26022
26023 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
26024
26025 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
26026 "backtrace through signal handler" to "i*86-*-sysv4*".
26027 * gdb.base/signals.exp: Add xfail for "'next' behaved as
26028 continue" case. Add "known SVR4 bug" to fail message.
26029 Add "i*86-*-bsdi2.0" xfail for "handle all print".
26030 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
26031 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
26032 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
26033 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
26034 "up to foo in langs.exp", "show language at foo in
26035 langs.exp", "up to cppsub_ in langs.exp", "show
26036 language at cppsub_ in langs.exp", "up to fsub in
26037 langs.exp", and "show language at fsub in langs.exp".
26038 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
26039 "bactrace in corefile.exp".
26040 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
26041 "call inferior function with struct - returns float" and
26042 "call inferior function with struct - returns double".
26043
26044 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
26045
26046 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
26047 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
26048 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
26049 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
26050
26051 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
26052
26053 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
26054 (or overriden) "CHILL" macro rather then bare "gcc".
26055 Also look for ../../gcc/xgcc since that is what we will
26056 actually need, not "Makefile". Remove following assignment
26057 of CHILL to CHILL_FOR_TARGET because that results in
26058 recursive definition.
26059
26060 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
26061
26062 * gdb.base/corefile.exp: Change xfail for backtrace in
26063 corefile.exp from linuxaout to all linux.
26064 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
26065 cases where we miss the breakpoint at the signal handler
26066 for some reason. Setup xfail for linuxoldld/linuxaout and
26067 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
26068 hitting SIGURG breakpoint.
26069 * gdb.base/signals.exp: Setup xfail for "next" acting like
26070 continue to add linuxoldld. Setup xfail for all linux for
26071 "next to handler in signals_tests_1", "backtrace in
26072 signals_tests_1", "continue to func1", "pass SIGUSR1",
26073 and continue to handler".
26074
26075 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
26076
26077 * Update all FSF addresses except those in COPYING* files.
26078
26079 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
26080
26081 * gdb.base/a2-run.exp: Change messages to be more explicit about
26082 the status of args, and quote binfile in results.
26083
26084 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
26085
26086 * gdb.base/callfuncs.exp: Add tests for passing structs to
26087 inferior functions and return various types.
26088 * gdb.base/callfuncs.c: Add functions to receive a struct
26089 and return a member of the struct, in various types.
26090
26091 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26092
26093 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
26094
26095 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
26096
26097 * config/vxworks29k.exp: New file, sources vxworks.exp.
26098
26099 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26100
26101 * config/gdbremote.exp: New file. Testing framework using
26102 gdbserver.
26103
26104 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
26105
26106 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
26107 "call function when asleep" and "send end of file".
26108 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
26109 for "backtrace in corefile.exp".
26110 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
26111 for "backtrace through signal handler".
26112 * gdb.base/corefile.exp: Make sure we actually generate a core file
26113 before trying the core tests. Some systems allow the user to suppress
26114 generation of core files and default to that (linux for example).
26115 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
26116 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
26117
26118 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26119
26120 * gdb.threads: New directory with some crude multi-threaded
26121 gdb tests (step.exp and step2.exp).
26122 * config/mt-lynx (STEP_EXECUTABLE): Define.
26123 (THREADFLAGS): Define.
26124
26125 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
26126
26127 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
26128
26129 * gdb.base/signals.exp: Disable whole file for lynx until
26130 further notice.
26131
26132 * gdb.base/signals.exp: xfail test where "next" acts like
26133 "continue" for lynx.
26134
26135 * gdb.base/interrupt.exp: xfail test for calling function while
26136 inferior is asleep for lynx.
26137
26138 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
26139 than one cr-lf after each command.
26140
26141 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26142
26143 * configure.in: Reinstate setting of stabsdirs variable, fix
26144 typo in setting up configdirs for native builds.
26145
26146 * gdb.base/return.exp: Fix typo in return double test.
26147 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
26148 compiler from optimizing them away.
26149
26150 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
26151
26152 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
26153 sequences to be echo'd by gdb when using gdb_test.
26154 * gdb.chill/chexp.exp: Likewise.
26155 * gdb.fortran/exprs.exp: Likewise
26156
26157 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26158
26159 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
26160 after the inferior gdb has started.
26161
26162 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
26163 after each command.
26164 * gdb.base/funcargs.exp: Likewise.
26165 * gdb.base/gdbvars.exp: Likewise.
26166 * gdb.base/interrupt.exp: Likewise.
26167 * gdb.base/list.exp: Likewise.
26168 * gdb.base/watchpoint.exp: Likewise.
26169 * gdb.c++/demangle.exp: Likewise.
26170 * gdb.c++/inherit.exp: Likewise.
26171 * gdb.chill/chexp.exp: Likewise.
26172 * gdb.fortran/exprs.exp: Likewise.
26173
26174 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
26175 test if we can't handle IO to/from the inferior.
26176
26177 * gdb.c++/misc.exp: Always check for a program already being
26178 started after sending a "run" command to gdb.
26179
26180 * gdb.base/twice.exp: Start with a fresh gdb.
26181
26182 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
26183 only depend on gdb's expression code, not the chill runtime.
26184
26185 * gdb.base/return.c: Put return values into variables so we
26186 can have gdb print them rather than depending on the program
26187 to print them.
26188 * gdb.base/return.exp: Corresponding changes.
26189
26190 * lib/gdb.exp: Provide default value for noinferiorio.
26191 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
26192 the inferior.
26193
26194 * gdb.base/break.exp: Always check for a program already being
26195 started after sending a "run" command to gdb.
26196 (text_next_with_recursion): Don't check the output from the
26197 program's printf statement. Instead just make sure the program
26198 exited.
26199
26200 * gdb.base/commands.exp: Protect tests which need arguments with
26201 $noargs conditionals.
26202
26203 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26204
26205 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
26206 of structure member arrays to match gdb/valops.c:value_addr change.
26207
26208 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
26209
26210 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
26211 cases.
26212
26213 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
26214
26215 * configure.in (configdirs): Remove gdb.chill from default list
26216 of subdirs and then add it back in only if doing a native build.
26217 The current chill compiler does not yet work in any cross build.
26218 * Revert all signal changes from Jul 6.
26219 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
26220 for sh-hms targets, allowing these tests to link, with no other
26221 changes. Testing is suppressed by setting "nosignals" in site.exp.
26222
26223 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
26224
26225 * configure.in (signaldirs): Define and add to configdirs for all
26226 targets except some specific ones that are known to not support signals.
26227 Also clean up formatting.
26228 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
26229 (signals, sigall): Remove rules to build.
26230 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
26231 Moved to new gdb.signals directory.
26232 * gdb.signals: New test directory.
26233 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
26234 signals.c signals.exp}: New or moved files.
26235
26236 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
26237
26238 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
26239
26240 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
26241
26242 * gdb.base/return.exp: Xfail `return double' test failure
26243 on at least Solaris 2.3 and handle future/past versions on
26244 a case by case basis as appropriate. Also update message
26245 to include i*86 failures.
26246
26247 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26248
26249 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
26250
26251 * lib/gdb.exp: Fix comment which erroneously identified
26252 gdb_file_cmd as gdb_load (the 19 May change was in fact to
26253 gdb_file_cmd not gdb_load).
26254 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
26255
26256 * gdb.base/setvar.exp: Make test names consistent between pass and
26257 fail cases. Use gdb_test more.
26258
26259 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26260
26261 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
26262
26263 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26264
26265 * gdb.base/help.exp: Fix expected help string for `show commands'.
26266
26267 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
26268
26269 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
26270
26271 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
26272 of a text section.
26273
26274 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
26275
26276 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
26277 that loop eventually terminates. Fix Connection refused logic so
26278 that testsuite will expire nicely.
26279
26280 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
26281
26282 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
26283 config/rom68k.exp: New tcl glue for the appropriate monitors.
26284 These all just end up calling monitor.exp.
26285 * config/monitor.exp (gdb_target_monitor): Handle `Connection
26286 refused' by retrying. Cleanup some timeout issues.
26287 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
26288 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
26289 callers don't have to set/restore global timeout variable.
26290
26291 * The following set of changes centralizes management of the global
26292 timeout variable. This way, it can be set in one target dependent
26293 place instead of dozens of places scattered throughout the test suite.
26294 If you need to lengthen a timeout, then you should either set timeout
26295 in one of the config/{target}.exp files, or multiply it by a factor.
26296 Setting it to an absolute value is always going to lose for some
26297 targets.
26298 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
26299 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
26300 * gdb.base/funcargs.exp: Don't set timeout.
26301 * gdb.base/list.exp (test_forward_search): Only use local timeout.
26302 * gdb.base/printcmds.exp (test_print_string_constants
26303 test_print_array_constants): Don't set timeout.
26304 * gdb.base/ptype.exp: Don't set timeout.
26305 * gdb.base/recurse.exp: Don't set timeout.
26306 * gdb.base/return.exp: Don't set timeout.
26307 * gdb.base/watchpoint.exp: Don't set timeout.
26308 * gdb.c++/classes.exp (do_tests): Don't set timeout.
26309 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
26310
26311 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
26312
26313 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
26314
26315 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26316
26317 * lib/gdb.exp: Disable chill tests for irix5.
26318
26319 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26320
26321 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
26322 each test pass or fail.
26323
26324 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26325
26326 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
26327 xlc not gcc.
26328
26329 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
26330
26331 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
26332
26333 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
26334
26335 * config/est.exp: Fix copyright and comments. Remove dead code.
26336 Use targetname, serialport and baud variables instead of fixed
26337 constants.
26338 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
26339 * config/cpu32bug.exp: New file to support cpu32bug monitors.
26340
26341 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26342
26343 * gdb.base/watchpoint.exp: Don't run
26344 test_watchpoint_triggered_in_syscall for sunos.
26345
26346 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26347
26348 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
26349 they don't seem to exist. Do include stdio.h.
26350
26351 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26352
26353 * gdb.base/a1-selftest.exp: Add alpha xfail.
26354
26355 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26356
26357 * gdb.base/watchpoint.c (main): Prompt before calling read().
26358 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
26359 Revise accordingly. Remove cruft about sending "123" several
26360 times, until it gets noticed. Clean up the "print buf[0]" stuff
26361 so that it passes or fails, and waits for prompts in the usual way.
26362
26363 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26364
26365 * gdb.base/recurse.exp: Fix comment.
26366
26367 * TODO: Remove item about printing variables in nodebug.exp. Add
26368 item about enabling tests which are only run on some targets.
26369
26370 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
26371 fail, make test names unique, use new gdb_test convention
26372 regarding pattern, use gdb_test more, etc.).
26373
26374 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
26375 fail, make test names unique, etc.).
26376
26377 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26378
26379 * gdb.base/nodebug.c: Change return type of top and middle to
26380 short.
26381 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
26382 are fixed by the recent mdebugread.c changes. Allow `short ()'
26383 as type for top and middle.
26384
26385 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26386
26387 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
26388 nearly as I can tell, the whole thing was an accident in Stu's
26389 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
26390 to replace a send/expect pair with gdb_test, but ended up only
26391 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
26392 of 30 Mar 1995 took care of it, but left this vestigial comment
26393 which I am now nuking.
26394
26395 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26396
26397 * gdb.base/break.exp: Look for different line number for
26398 breakpoint at main depending on usestubs.
26399
26400 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26401
26402 * gdb.base/list.exp: Adjust some alternate expect patterns to
26403 match recent list0.c change. Add alternate expect pattern for
26404 output from `list default lines around main' for optimizing
26405 compilers.
26406
26407 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26408
26409 * lib/gdb.exp: If nosignals is not set, set it to 0.
26410
26411 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
26412
26413 * config/slite-gdb.exp: Responds to load symbol table prompt.
26414 * gdb.base/break.exp: Adjust line number, fix rerun.
26415 * gdb.base/langs0.c: Add #ifdef usestubs.
26416
26417 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
26418
26419 * gdb.base/list.exp: Adjust line contents after adding new lines in
26420 list0.c. Also fix a syntax error.
26421
26422 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
26423 * gdb.base/break.exp: ditto.
26424 * gdb.base/list.exp: ditto.
26425 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
26426 * gdb.base/run.c: ditto.
26427 * gdb.base/list0.c: ditto.
26428 * gdb.base/funcargs.c: ditto.
26429
26430 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
26431
26432 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
26433 $targetname, $serialport and $baud instead of hardwired variables.
26434 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
26435 target doesn't support signals.
26436
26437 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
26438
26439 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
26440
26441 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26442
26443 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
26444 Don't rely on the value of an auto variable before it has been
26445 initialized. Use gdb_test more.
26446
26447 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26448
26449 * lib/gdb.exp (default_gdb_version): A version number must start
26450 with a digit, but other than that contains all characters up to
26451 the first whitespace character.
26452
26453 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26454
26455 * gdb.base/commands.exp (breakpoint_command_test): New tests.
26456
26457 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26458
26459 * gdb.c++/*.exp: Warn if executable does not exist. The original
26460 reason for skipping the warning was that configure.in sometimes
26461 intentionally skipped building the executables but the tcl code
26462 had no way of knowing. That (a) was always bogus with respect to
26463 error handling, (b) is no longer true (right now there is no way
26464 to skip C++ tests).
26465
26466 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
26467
26468 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26469
26470 * gdb.base/list.exp: Add expect patterns for output from
26471 SunPRO compiled executables.
26472 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
26473 types.
26474
26475 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26476
26477 * gdb.base/break.exp (test_next_with_recursion): Accept any line
26478 number (we are already testing that the correct source line text
26479 gets printed).
26480
26481 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
26482 that is what is intended, but something needed to be done to get
26483 sunos4 native working again.
26484
26485 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
26486
26487 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
26488 apparently went with a (very) old xfail.
26489
26490 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
26491
26492 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
26493 runto_main is a proc in gdb.exp that will do 'step' for target use
26494 stubs.
26495 * gdb.base/exprs.exp: ditto.
26496 * gdb.base/interrupt.exp: ditto.
26497 * gdb.base/opaque.exp: ditto.
26498 * gdb.base/printcmds.exp: ditto.
26499 * gdb.base/ptype.exp: ditto.
26500 * gdb.base/scope.exp: ditto.
26501 * gdb.base/setvar.exp: ditto.
26502 * gdb.base/signals.exp: ditto.
26503 * gdb.base/twice.exp: ditto.
26504 * gdb.c++/classes.exp: ditto.
26505 * gdb.c++/inherit.exp: ditto.
26506 * gdb.c++/templates.exp: ditto.
26507 * gdb.base/break.exp: no run and hit main for stubs. Change line
26508 numbers for breakpoints and info breakpoint.
26509 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
26510 breakpoint().
26511 * gdb.base/callfuncs.c: ditto.
26512 * gdb.base/exprs: ditto.
26513 * gdb.base/interrupt.c: ditto.
26514 * gdb.base/opaque0.c: ditto.
26515 * gdb.base/printcmds.c: ditto.
26516 * gdb.base/ptype.c: ditto.
26517 * gdb.base/scope0.c: ditto.
26518 * gdb.base/setvar.c: ditto.
26519 * gdb.base/signals.c: ditto.
26520 * gdb.base/twice.c: ditto.
26521 * gdb.c++/misc.cc: ditto.
26522 * gdb.c++/templates.cc: ditto.
26523
26524 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26525
26526 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
26527
26528 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
26529 somewhere between `read' and `main.c'. I'm pretty sure the
26530 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
26531 and it isn't particularly useful.
26532
26533 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
26534
26535 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26536
26537 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
26538
26539 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
26540
26541 * config/mt-slite: add LIBS and -nostdlib.
26542 * config/slite-gdb.exp: add this new file to support sparclite target.
26543
26544 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
26545
26546 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
26547
26548 * gdb.base/a2-run.exp: Change argument to istarget from
26549 "*-*-vxworks" to "*-*-vxworks*".
26550 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
26551
26552 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
26553
26554 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
26555 will not runto main but do a 'step' to step out of breakpoint().
26556 * config/mt-slite: add -Dusestubs.
26557
26558 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26559
26560 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
26561 instead of just @.
26562
26563 * gdb.base/signals.exp: Add test for "handle all print".
26564 * TODO: Remove "handle all print". Also remove item about
26565 checking copyright date (I don't like the idea of a spurious FAIL
26566 based on when we run the tests).
26567
26568 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
26569 for SunOS4 (reason for failure not investigated). Remove
26570 redundant test for $binfile.
26571
26572 * gdb.base/nodebug.c (array_index): Call malloc.
26573
26574 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
26575
26576 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
26577
26578 * gdb.base/recurse.exp: Update gdb_test invocation to use new
26579 conventions and slightly simplify the matching regexp.
26580
26581 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26582
26583 * gdb.base/break.exp: Update gdb_test invocation to use new
26584 convention.
26585
26586 * lib/gdb.exp: If noargs is not set, set it to 0.
26587
26588 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
26589 tests unique.
26590
26591 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
26592
26593 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26594
26595 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
26596 one argument of type "<non-float parameter>".
26597
26598 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
26599
26600 * config/rom68k.exp: New file to support Motorola IDP board.
26601 * gdb.base/a2-run.exp: Skip this file if noargs is set.
26602 * gdb.base/break.c: Change things around so that this program
26603 doesn't depend upon args. This is necessary to make remote
26604 targets work (in general, they can't take args).
26605 * gdb.base/break.exp: Don't try to send args to program. Don't
26606 expect output. Also, replace lots of code with gdb_test.
26607
26608 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26609
26610 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
26611 printing of '\'' (which is what the comment says we are testing,
26612 even though we were not), not '''.
26613 (test_integer_literals_rejected): Test that printing ''' is an error.
26614
26615 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26616 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
26617 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
26618 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
26619 Use gdb_test not test_print_accept.
26620 * lib/gdb.exp: Remove test_print_accept.
26621
26622 * gdb.base/signals.exp (signal_tests_1): Make pass message
26623 consistent with fail message.
26624
26625 * gdb.base/whatis.exp: Remove xfails for printing char vs.
26626 unsigned char; the bug (PR 1821) is fixed.
26627
26628 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
26629
26630 * gdb.base/scope.exp (test_at_localscopes): Call pass for
26631 successful tests--makes xfailing them work right.
26632
26633 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26634
26635 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
26636 only \r\n, not .*. The test can pass .* as the last thing in
26637 $pattern if that is what it wants. In addition to providing this
26638 flexibility, this change should speed up pattern matching in cases
26639 where the pattern already ended with .* (there were a number of
26640 them). This change also helps catch bad patterns--in the old
26641 scheme the typo "char \*" instead of "char \\*" would pass. Now
26642 it is caught.
26643 * Many .exp files: Update callers.
26644
26645 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
26646 clearer and does not spuriously match multiple ('s. Likewise for
26647 ) and *.
26648
26649 * gdb.base/nodebug.exp: Test ability to call a function and pass
26650 it a string (even with no debugging info).
26651
26652 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
26653 "p '\'", which is the same as "p ''" once tcl gets done with
26654 quoting, to "p '\\'", which I suspect is what is intended (one
26655 backslash gets sent to GDB).
26656
26657 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
26658
26659 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26660
26661 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
26662 1817) was fixed literally years ago.
26663
26664 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26665
26666 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
26667 test, it causes stepping out of call_after_alloca_subr with
26668 optimizing compilers.
26669 (localvars_in_indirect_call): Consume GDB prompt if `finish'
26670 fails.
26671
26672 * gdb.c++/templates.exp: Source templ-info.exp only if
26673 the templates executable exists.
26674
26675 * gdb.c++/misc.cc (class Contains_static_instance,
26676 class Contains_nested_static_instance),
26677 gdb.c++/classes.exp (test_static_members): Test printing of
26678 a class that contains a static instance of the class.
26679
26680 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26681
26682 * gdb.base/langs2.c (cppsub_): Don't prototype.
26683 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
26684 only, I believe).
26685
26686 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26687
26688 * lib/gdb.exp (skip_chill_tests): New procedure.
26689
26690 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
26691
26692 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
26693
26694 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
26695 each expect pattern. Cuts runtime from 12 to about 4 seconds.
26696
26697 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26698
26699 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
26700
26701 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
26702 disassemble 8, not 16, instructions for part 4.
26703
26704 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
26705 support the latter anymore.
26706
26707 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
26708 -DNO_PROTOTYPES.
26709 * gdb.base/callfuncs.c: Control use of prototypes based on
26710 NO_PROTOTYPES, not __STDC__.
26711 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
26712 t_float_values2 tests if prototypes in use.
26713
26714 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
26715 t_double_values): When checking differences against DELTA, check
26716 that difference is within the range (-DELTA,DELTA), not just
26717 (-infinity,DELTA).
26718
26719 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
26720
26721 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
26722 'file' command firts, then 'target', then 'load', this is due to gdb
26723 target set up.
26724 * config/mips-gdb.exp: Fix a couple regular exp bugs.
26725
26726 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
26727
26728 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
26729 FP load/store variants.
26730 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
26731
26732 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26733
26734 * gdb.base/term.exp: Do not give a warning if not native, it is
26735 not an abnormal condition.
26736
26737 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
26738
26739 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
26740 t_char_array".
26741
26742 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26743
26744 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
26745 are getting the version number.
26746
26747 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
26748 if not native, it is not an abnormal condition.
26749
26750 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26751
26752 * lib/gdb.exp: Just use "file exists", rather than undocumented
26753 dejagnu procedure "findfile".
26754
26755 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26756
26757 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
26758 (LDFLAGS): Set to -Xlinker -Ur.
26759
26760 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
26761 Removed, these values are set by lib/gdb.exp.
26762
26763 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
26764
26765 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26766
26767 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
26768 of replicating gdb startup code.
26769
26770 * config/mt-vxworks (LDFLAGS): Set to -r.
26771 (CFLAGS_FOR_TARGET): Removed.
26772
26773 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
26774 (gdb) and gdb for vxworks uses (vxgdb).
26775
26776 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
26777 executable is not in the tree and host != target, use sed and
26778 program_transform_name to determine the gdb name used by the
26779 target.
26780
26781 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
26782 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
26783
26784 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26785
26786 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
26787 floats, chars, and shorts where there are ANSI-style function
26788 definitions.
26789
26790 * gdb.base/langs.exp, gdb.base/langs*: New test.
26791 * gdb.base/Makefile.in: Build it.
26792 * TODO: Remove item about checking that C names don't get C++
26793 demangling applied; this test tests it.
26794
26795 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26796
26797 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
26798 went with the const70 xfail. The xfail went away a year ago.
26799
26800 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
26801
26802 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
26803 for hp300.
26804
26805 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
26806
26807 * gdb.base/a1-selftest.exp: Don't run on hp300.
26808
26809 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26810
26811 * Makefile.in (site.exp): Set host_alias and target_alias as well
26812 as host_triplet and target_triplet.
26813
26814 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26815
26816 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
26817
26818 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
26819 places as other ecoff systems).
26820
26821 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
26822 ultrix.
26823
26824 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26825
26826 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
26827 remove them.
26828 * gdb.base/nodebug.exp: Accept "function" in addition to "text
26829 variable and "variable" in addition to "data variable".
26830 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
26831
26832 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
26833 2.
26834 * gdb.base/list1.c (long_line): Add additional statement at start
26835 of function.
26836 * gdb.base/list.exp (test_forward_search): Update line number to
26837 reflect new statement.
26838
26839 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26840
26841 * gdb.base/signals.exp: Reinitialize searched source directories
26842 after gdb_start call.
26843
26844 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
26845
26846 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
26847 * gdb.stabs/Makefile.in: Likewise.
26848
26849 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
26850 change. Instead split the tests into smaller pieces.
26851 * gdb.disasm/hppa.s: Corresponding changes.
26852
26853 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26854
26855 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26856 Quote ^C when passing it to stty. For some shells ^ is a pipe.
26857
26858 * gdb.base/funcargs.exp: Modify many tests so that every test
26859 either passes or fails. Make some test names unique.
26860
26861 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26862
26863 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26864 Call stty to set interrupt character.
26865
26866 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
26867 for HP assembler versus GNU assembler based on actual behavior of
26868 $(CC), rather than assuming that $(AS) is always the GNU assembler.
26869
26870 * TODO: Suggest a few more stepping tests.
26871
26872 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
26873
26874 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
26875 restart GDB for h8300 after a continue.
26876 (return): Add pattern to match a29k-udi behavior.
26877 * gdb.base/nodebug.exp: Remove obsolete comment.
26878 * gdb.base/regs.exp: New file, testing of register displays.
26879 * gdb.base/return.exp: Fix typo in reference to $objdir.
26880 * gdb.base/whatis.exp: Always start with a fresh GDB.
26881
26882 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26883
26884 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
26885 higher, these tests generate a lot of output.
26886
26887 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26888
26889 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
26890 code following the catch silently ignored some errors; without the
26891 catch they should be thrown like any other tcl error. Also, the
26892 catch used "" instead of {} which meant all the callers who wanted
26893 to include one of the characters "[]$ had to quote it an extra time.
26894 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
26895 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
26896 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
26897 Remove extra quoting.
26898
26899 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
26900
26901 * gdb.base/commands.exp: Make test names unique; every test either
26902 passes or fails. Update some comments.
26903
26904 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
26905
26906 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26907
26908 The following fixes a FAIL caused by the fact that the alpha stabs
26909 configuration didn't use the ".if alpha" code in weird.def.
26910 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
26911 bit pointer, so the 32 bit version works even on the alpha.
26912 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
26913 Remove the stuff which allowed us to have separate versions for
26914 alpha and everything else.
26915
26916 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
26917 regexp which "info func operator\[\](" is supposed to match. Fix
26918 string to send to GDB. Note that GDB still doesn't work right. Add a
26919 new test for "info func .perator\[\](" which GDB does handle correctly.
26920
26921 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
26922
26923 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26924
26925 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
26926 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
26927 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
26928 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
26929 it makes the tests harder to understand and confuses test-o-matic.
26930 The preferred style is that each test provides a PASS or a FAIL,
26931 and has a unique message (e.g. "continue #54" not just "continue")
26932 which is the same for the pass and the fail.
26933 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26934 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
26935 to lib/gdb.exp.
26936 * gdb.base/printcmds.exp: Use test_print_accept. Remove
26937 prt_accept which was basically the same thing. Likewise for
26938 test_print_reject and prt_reject.
26939 * lib/gdb.exp (test_print_reject): Add some more error message
26940 patterns to match from the former printcmds.exp (prt_reject).
26941 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
26942 One defect of the passcount stuff is that some of it failed to
26943 report XPASS where appropriate.
26944 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
26945 stuff before and after arg in expected pattern.
26946 (test_paddr_operator_functions): Re-do test without print_addr_of;
26947 this is the only test which seems to want extra stuff there.
26948
26949 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26950
26951 * gdb.base/nodebug.exp: Update new tests to reflect improved
26952 wording of gdb output.
26953
26954 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
26955 and "ptype" work on variables in files compiled without -g.
26956 Replaces commented out "maint print msymbol" tests.
26957
26958 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26959
26960 * gdb.base/setvar.c (dummy): Call malloc.
26961
26962 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
26963 losing with the irix4 sed.
26964
26965 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
26966 ALRM" on irix4.
26967
26968 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26969
26970 * TODO: Remove items about corefile.exp testing new exec-file and
26971 backtrace; both are now done. Add items about printing enums.
26972
26973 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26974
26975 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
26976 "get signal $thissig" test fails.
26977
26978 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
26979
26980 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26981
26982 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
26983 compiler warning with dec alpha compiler.
26984
26985 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
26986 extra \n from gdb_test call (this explains why the prompt test
26987 that I removed yesterday was there).
26988 (user_defined_command_test): Remove extra \n and prompt test.
26989
26990 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
26991 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
26992 doesn't exist.
26993 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
26994 Also remove alpha workaround, which turns out to be because
26995 SIGABRT == SIGLOST.
26996
26997 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
26998
26999 * gdb.base/help.exp: Don't test "help show".
27000
27001 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27002
27003 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
27004 "set print address" is on.
27005 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
27006 pass prompt to gdb_test; gdb_test already looks for the prompt.
27007
27008 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
27009
27010 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
27011 was a vestige of the manual TESTSTRATEGY, and the purpose of it
27012 was to make sure that gdb can read a core file. But (a) the "read
27013 the corefile" part didn't make it to a1-selftest.exp, we just
27014 delete the corefile after creating it, and (b) we test reading
27015 corefiles in corefile.exp anyway. Also, this test left around a
27016 xgdb process on Solaris.
27017
27018 * gdb.base/corefile.exp: Also test backtrace.
27019
27020 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
27021
27022 * gdb.base/commands.exp: Test a simple user defined command with
27023 arguments and if/while statements; verify the full user command is
27024 printed by "show user".
27025
27026 * gdb.base/commands.exp: Test if/while commands as part of a
27027 breakpoint command list; verify they appear in breakpoint
27028 information.
27029
27030 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27031
27032 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
27033 than by dividing by zero.
27034
27035 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
27036
27037 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
27038 performing an inferior call with watchpoints enabled.
27039 * gdb.base/watchpoint.c (main): Delete second unnecessary read
27040 call.
27041
27042 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27043
27044 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
27045 of "file" command.
27046
27047 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
27048 Add additional pattern for when "int operator int(void);" appears
27049 in a different order.
27050
27051 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27052
27053 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
27054
27055 * gdb.base/help.exp: Replace most of docstrings for "info signals"
27056 and "signal" with ".*".
27057
27058 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27059
27060 * TODO: Add note about "handle all nostop".
27061
27062 * gdb.base/{sigall.c, sigall.exp}: New test.
27063 * gdb.base/Makefile.in: Add it.
27064
27065 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
27066
27067 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
27068 when invoking GDB, suppresses any windowing interface.
27069
27070 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
27071
27072 * config/sim-gdb: New file, simulator testing support.
27073
27074 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
27075
27076 * gdb.base/interrupt.exp: Test calling func1 twice.
27077
27078 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
27079
27080 * gdb.base/list.exp (test_forward_search): Set timeout higher
27081 when we'll be getting lots of output from gdb.
27082
27083 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
27084 "init_malloc" to after the expect statement. Run it if that
27085 regexp is taken, but also for two others which happen if source
27086 cannot be found.
27087
27088 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27089
27090 * gdb.base/printcmds.exp: New test, for printing register before
27091 program is running.
27092
27093 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27094
27095 * gdb.base/list.exp: Correct some alternate expect patterns
27096 to reflect changes in list1.c.
27097
27098 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27099
27100 * TODO: Add item regarding large frames.
27101
27102 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
27103
27104 * TODO: Remove item about enabling return.exp; it
27105 is enabled. Suggest a few more "return" tests.
27106
27107 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27108
27109 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
27110 anonymous unions.
27111
27112 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27113
27114 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
27115 and pr-5646.o, so "make" is the same as "make all", not "make
27116 pr-4975.o".
27117
27118 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
27119
27120 * gdb.base/list.exp: Adjust expectations to reflect changes in
27121 list1.c.
27122 (test_forward_search): New test proc.
27123 * gdb.base/list1.c (long_line): New function, has long source line.
27124
27125 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
27126
27127 * gdb.base/a1-selftest.exp: Change initial stepping to know about
27128 additional line of code that was added.
27129
27130 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
27131
27132 * gdb.disasm/hppa.s: Break the large branching tests into smaller
27133 tests so as not to overflow expect's input buffers.
27134 * gdb.disasm/hppa.exp: Corresponding changes.
27135
27136 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27137
27138 Beginnings of template debugging tests.
27139 * gdb.c++/templ-info.cc: New file to test for template
27140 debugging capability of the compiler.
27141 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
27142 templ-info.cc.
27143 * gdb.c++/templates.cc: Add explicit template instantiations
27144 to enable compiling with -fno-implicit-templates. Add destructor
27145 and 'value' method to T5 class for template tests.
27146 * gdb.c++/templates.exp: Add testcases for printing of template
27147 types, setting breakpoints on template methods and calling a
27148 template method.
27149
27150 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
27151
27152 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
27153 branch target since some assemblers (gas-2.5) may emit a
27154 relocation for the branch instead of resolving it in the
27155 assembler.
27156
27157 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27158
27159 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
27160 through signal handler.
27161
27162 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27163
27164 * configure.in (*-*-netware): Use config/mt-netware.
27165
27166 * config/mt-netware: New file.
27167 * config/mt-i386-netware: Removed, separate configs for different
27168 netware architectures are no longer needed now that we have
27169 --with-headers.
27170
27171 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27172
27173 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
27174 by the recent changes to use ANSI C arithmetic conversions.
27175
27176 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27177
27178 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
27179 bug involving using inferior_pid to figure out whether to select a
27180 frame.
27181
27182 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
27183
27184 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
27185 match the current disassembler output.
27186
27187 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
27188
27189 * gdb.fortran/exprs.exp: Expect VOID instead of void.
27190 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
27191 types, expect "int" as type of integer values (for now).
27192
27193 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
27194
27195 * gdb.base/commands.exp: New tests for if/while commands.
27196
27197 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
27198
27199 * lib/gdb.exp (runto): Replace sub-pattern for hex value
27200 by .*, since hex values have different syntax in Chill mode.
27201
27202 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27203
27204 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
27205 linefeed from expect pattern for repeated types with indices > 9.
27206
27207 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
27208
27209 First part of Fortran test suite.
27210 * gdb.fortran: New directory.
27211 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
27212
27213 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27214
27215 * gdb.base/default.exp: Update expect pattern for load command
27216 without arguments.
27217
27218 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
27219
27220 * configure.in: Change i386 to i[345]86.
27221 * gdb.base/configure.in: Likewise.
27222 * gdb.c++/configure.in: Likewise.
27223 * gdb.chill/configure.in: Likewise.
27224
27225 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
27226
27227 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
27228 patterns, since that is not a valid context for comments.
27229
27230 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
27231
27232 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
27233 repeated types and repeated types with indices > 9.
27234
27235 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
27236
27237 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
27238 2417; old bug has been fixed.
27239
27240 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
27241
27242 * gdb.base/interrupt.exp: When trying to wake up the inferior,
27243 send the newline ourselves instead of assuming gdb_test will do
27244 so when passed an empty input string.
27245
27246 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
27247 stabs testcode.
27248
27249 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27250
27251 * lib/gdb.exp (gdb_test): Don't send anything if the first
27252 argument is an empty string. This makes cases where we want to
27253 match output that is already in expect's buffers (for example,
27254 matching a breakpoint after gdb_run_cmd has been called) work
27255 reliably.
27256
27257 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27258
27259 * config/netware.exp: New file.
27260
27261 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27262
27263 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
27264 the -B and -L prefixes so we can find the debugging stub.
27265
27266 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
27267 there and we are using the gcc from the tree.
27268
27269 * gdb.base/types.c: Removed.
27270
27271 * gdb.base/configure.in: Look for makefile fragments in ../config.
27272 Recognize i386-*-netware.
27273 * gdb.c++/configure.in: Likewise.
27274
27275 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27276
27277 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
27278 the correct TCL syntax.
27279
27280 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27281
27282 * gdb.base/opaque.exp: use runto instead of messing around with
27283 breakpoints. Simplify by using gdb_test.
27284
27285 * gdb.base/bitfields.exp: restart between tests on netware targets
27286 because breakpoints aren't relocated after target death. Run
27287 processes to completion.
27288
27289 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
27290
27291 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
27292
27293 * Makefile.in: Remove extra tabs that confuse some versions
27294 of "make". Use the newly built gdb to test with by default,
27295 rather than the first one in the tester's search path.
27296
27297 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
27298
27299 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
27300
27301 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
27302 condition help.
27303
27304 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27305
27306 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
27307
27308 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
27309 running.
27310 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
27311 * gdb.base/funcargs.exp: Likewise.
27312
27313 * gdb.base/bitfields.exp: Simplify by using gdb_test.
27314 * gdb.base/funcargs.exp: Likewise.
27315
27316 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
27317 message is "".
27318
27319 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27320
27321 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
27322 return,signals,twice}.exp: Handle non-existant binaries
27323 consistantly.
27324
27325 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
27326 * gdb.base/Makefile.in: Don't try to generate a core dump, we
27327 might testing a cross development system.
27328
27329 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27330
27331 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
27332 runtest script is relative to ${srcdir}, not ${rootdir}.
27333
27334 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
27335
27336 * gdb.base/signals.exp: Allow for optionality of breakpoint
27337 address.
27338
27339 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27340
27341 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
27342
27343 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27344
27345 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
27346 for size_t definition.
27347 * gdb.c++/templates.cc: Likewise
27348
27349 * config/mt-i386-netware: New file.
27350
27351 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
27352 defined.
27353
27354 * gdb.base/Makefile.in: Added support for systems that name core
27355 files by appending "core" to the program name.
27356 * gdb.base/a1-selftest.exp: Likewise.
27357
27358 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27359
27360 * gdb.base/return.exp: Add comment and message for `return double'
27361 test failure on Sparc Solaris.
27362
27363 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
27364
27365 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
27366
27367 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27368
27369 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
27370 from optimizing them away.
27371 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
27372 patterns to include default constructors and assignment operators,
27373 to match gcc versions beyond 2.5.8. Accept any cplus demangling
27374 character in the output of the virtual base pointer.
27375
27376 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27377
27378 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
27379 expression match in print_addr_of to avoid unintented matches.
27380 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
27381 versions up to 2.5.8.
27382
27383 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27384
27385 * gdb.base/list.exp: Tweak alternate pattern for listing of an
27386 included file to run under newer versions of expect.
27387 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
27388 consecutive >'s in templates to accomodate recent cplus-dem.c change.
27389 Remove xfail for the virtual table of BDDHookV.
27390
27391 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
27392
27393 * lib/gdb.exp (string_to_regexp): Set a default result.
27394 (default_gdb_start): Fix misleading message.
27395
27396 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
27397
27398 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
27399 Remove all CC, etc definitions.
27400 * config/mt-hpux: New file.
27401 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
27402 (CFLAGS, LDFLAGS): Define.
27403 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
27404
27405 * Makefile.in (site.exp): Don't insert host_os, etc.
27406 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
27407 (distclean): Check existence of subdir.
27408 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
27409 * gdb.base/Makefile.in: General cleanup and simplification.
27410 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27411 to build executables. Use default rule to build .o files.
27412 (EXPECT, RUNTEST, CC): Fix relative pathname.
27413 (site.exp): Don't insert host_os, etc.
27414 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
27415 and/or SIGUSR1 defined.
27416 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
27417 * gdb.c++/Makefile.in: General cleanup and simplification.
27418 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27419 (CFLAGS): Remove.
27420 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
27421
27422 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
27423
27424 * gdb.base/recurse.exp: Misc changes to get tests running again
27425 after Kung's changes to the watchpoint code.
27426 * gdb.base/watchpoint.exp: Likewise.
27427
27428 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
27429
27430 * lib/gdb.exp (string_to_regexp): Convert {\} also.
27431
27432 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
27433
27434 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
27435 * lib/gdb.exp (default_gdb_start): Define.
27436 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
27437 gdb.base/funcargs.exp, gdb.base/opaque.exp,
27438 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
27439 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
27440 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
27441 Don't call gdb_target_udi in between tests.
27442
27443 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27444
27445 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
27446 (which was basically just a local version of the same thing). In
27447 addition to avoiding duplication, gdb_test_exact is faster.
27448 * lib/gdb.exp (gdb_test_exact): Fix typo.
27449
27450 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
27451 don't give an error.
27452
27453 * gdb.base/term.exp: Call delete_breakpoints before starting.
27454
27455 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
27456 (t10): Add comment.
27457
27458 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27459
27460 Reorganization of the GDB Test Suite.
27461
27462 * gdb.base: New directory, contains all the basic tests.
27463 * gdb.c++: New directory, tests specific to C++.
27464 * gdb.chill: New directory, tests specific to Chill.
27465 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
27466 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
27467 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
27468 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
27469 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
27470 t30-31 to chill).
27471 * */gdbme.*: Rename to match appropriate expect scripts.
27472 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
27473 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
27474 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
27475 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
27476 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
27477 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
27478 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
27479 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
27480 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
27481 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
27482 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
27483 gdb.c++/virtfunc.cc: New names of C++ files.
27484 * gdb.chill/chillvars.ch: New name of Chill file.
27485 * gdb.base/configure.in, gdb.c++/configure.in,
27486 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
27487 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27488 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
27489 * configure.in (configdirs): Update to reflect directory changes.
27490 (target_abbrev): No longer define for any configuration.
27491 * Makefile.in: Cosmetic improvements to header comments.
27492
27493 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
27494
27495 Various changes to gdb.t31:
27496
27497 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
27498 * gdbme.ch: Make all key-words and predefineds be upper-case.
27499 * chillvars.exp: Expect key-words and predefinds in upper-case.
27500
27501 * chillvars.exp: Use gdb_test_exact many places.
27502 Change expected output for arrays (which now includes index labels).
27503
27504 * pr-5020.exp, gdme.ch (module PR_5020):
27505 New test, for PR-5020.
27506
27507 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
27508
27509 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
27510 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
27511
27512 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
27513
27514 * Makefile.in: Fix bit-rot in definitions of CHILL,
27515 CHILL_FOR_TARGET and Chill_LIB.
27516 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
27517 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
27518 CHILL, and CHILL_LIB.
27519
27520 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
27521
27522 * Revert the previous changes. Please see Rob's directory
27523 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
27524
27525 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
27526
27527 * Makefile.in, configure.in, config/mips-gdb.exp,
27528 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
27529 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
27530 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
27531 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
27532 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
27533 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
27534 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
27535 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
27536 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
27537 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
27538 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
27539 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
27540 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
27541 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
27542 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
27543 changes from 94Q1.
27544
27545 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
27546
27547 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
27548 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
27549 Rob's new testing fragments.
27550
27551 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
27552
27553 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
27554 lib/gdb.exp: Replace error proc calls with perror.
27555
27556 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27557
27558 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
27559 version also, match on casted version strings, and match on
27560 gdb startup case where the line numbers might be messed up.
27561
27562 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
27563
27564 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
27565 (CFLAGS): Delete it from here.
27566
27567 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
27568
27569 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
27570
27571 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
27572
27573 * Makefile.in (RUNTEST): Default to just "runtest".
27574
27575 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27576
27577 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
27578 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
27579 the code has been restructured.
27580
27581 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27582
27583 * gdb.t00/default.exp (set write): Allow any number of \r and/or
27584 \n, not just one of each.
27585
27586 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
27587 /bin/cc gives a warning if you do.
27588
27589 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
27590
27591 * gdb.t24/demangle.exp: change expect pattern of
27592 __t10ListS_link1ZUiRCUiPT0
27593
27594 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27595
27596 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
27597 on local variables in recursive functions.
27598
27599 * gdb.t07/Makefile.in: Build the new test.
27600
27601 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27602
27603 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
27604 directly. Instead compare the return values from actual calls.
27605
27606 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
27607
27608 * Makefile.in (check): Set TCL_LIBRARY for runtest.
27609
27610 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27611
27612 * From Peter Schauer with minor modifications.
27613 * gdb.t15/return.exp (return_tests): Handle targets where "return"
27614 stops in mid-line in the caller. Add xfail for returning a float
27615 value on X86 targets.
27616
27617 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27618
27619 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
27620 to avoid expect lossage.
27621 (fmem_LRbug_tests): Likewise.
27622 * gdb.disasm/hppa.s: Corresponding changes.
27623
27624 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
27625 conditions to work with latest dejagnu/expect.
27626
27627 * gdb.t15/funcargs.exp (finish from indirect call): No longer
27628 expected to fail on the PA.
27629 (backtrace in call with trampolines): Explicitly require main
27630 to be frame #1 (no trampolines should show up in backtrace).
27631
27632 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
27633 "continue -expect".
27634 * gdb.t06/break.exp: Likewise.
27635 * gdb.t07/watchpoint.exp: Likewise.
27636 * gdb.t13/bitfields.exp: Likewise.
27637 * gdb.t15/{funcargs,return}.exp: Likewise.
27638 * gdb.stabs/weird.exp: Likewise.
27639 * config/{mips,udi}-gdb.exp: Likewise.
27640
27641 * hppa.sed: Enclose comments within a sed command to avoid
27642 losing with the old OSF1 sed.
27643
27644 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27645
27646 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
27647 sequent dynix.
27648 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
27649 * gdb.t15/funcargs.exp: Conditionally step again to really
27650 finish from marker_call_with_trampolines. Handle the case where
27651 the first step from within call_with_trampolines already steps
27652 us back to main.
27653 * gdb.t15/gdbme.c: Add comment to closing brace of
27654 call_with_trampolines for funcargs.exp.
27655
27656 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27657
27658 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
27659 Fix typo(s).
27660
27661 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27662
27663 * gdb.t07/gdbme.c: More code for watchpoint testing.
27664
27665 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
27666 "Hardware watchpoint" throughout file.
27667 (test_watchpoint_triggered_in_syscall): New test.
27668 (test_complex_watchpoint): New test.
27669
27670 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27671
27672 * gdbme.c (call_with_trampolines): New function to try and step
27673 into. Tests trampoline problems on the PA.
27674
27675 * funcargs.exp (localvars_in_indirect_call): No longer expect
27676 stepping into indirect call to fail on PAs.
27677 (test_stepping_over_trampolines): New test.
27678
27679 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27680
27681 * TODO: Add suggestions for static member function tests, and
27682 completion tests.
27683
27684 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27685
27686 * TODO: Add suggestions for "p/a" tests.
27687
27688 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
27689 (default_gdb_exit): Replace all the hair with sending "quit" to
27690 the process with a simple close.
27691
27692 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27693
27694 * TODO: Add suggestions for shared library tests.
27695
27696 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27697
27698 * TODO: Add suggestions for x/s tests.
27699
27700 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27701
27702 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
27703 "enable once", and "enable breakpoints once" with ".*".
27704
27705 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27706
27707 * TODO: Add suggestions about structure passing tests.
27708
27709 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27710
27711 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
27712 the primary1 test, use work around if __GNUC__ < 2.
27713 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
27714 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
27715 Test for bad output rather than waiting for timeout. Issue
27716 second continue only if first continue failed.
27717
27718 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27719
27720 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
27721 operator[] test with gdb_test because the old code didn't seem to
27722 be getting the quoting right with the new dejagnu.
27723
27724 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
27725
27726 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
27727 one from the path.
27728 * Makefile.in: Use a fresh expect if there is one, use runtest
27729 from the src tree if there is one.
27730
27731 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27732
27733 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
27734 next over recursive call. Revise the tests from that point on
27735 (which had been skipped) to match GDB's actual (correct) output.
27736
27737 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
27738 with next over a breakpoint whose condition is false.
27739
27740 * gdb.t00/help.exp: Comment out "help set print" tests just like
27741 (and for same reason as) "help set" test.
27742
27743 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27744
27745 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
27746 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
27747
27748 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27749
27750 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
27751 necessary gdb_target_udi.
27752
27753 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
27754
27755 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
27756 1838 and 2417; they are fixed.
27757
27758 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
27759 gdb.t03/ptype.exp (ptype structure, ptype union):
27760 Remove xfails; the test is looser than when the xfails were added.
27761
27762 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
27763 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
27764
27765 * gdb.t01/run.exp: Only run shell test if isnative.
27766
27767 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
27768 since "run" automatically loads if necessary. Call gdb_target_udi
27769 after the "file" since "file" kills any execution target.
27770
27771 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
27772 GDB. GDB doesn't work that way (not anymore at least) on UDI.
27773 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
27774 argument for UDI.
27775
27776 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27777
27778 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
27779
27780 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
27781
27782 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27783
27784 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
27785 properly quoting regexps. This makes the second argument to
27786 demangle a fixed string, which matches the callers, instead of a
27787 shell-style pattern which is what the previous implementation
27788 used. Update some of the callers.
27789
27790 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27791
27792 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
27793 (comib_nullified_tests): Fix typo.
27794 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
27795 strings. No longer expected to fail.
27796
27797 * gdb.disasm/hppa.s (addib_tests): Fix typo.
27798 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
27799 strings. No longer expected to fail.
27800
27801 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
27802 string. No longer expected to fail.
27803
27804 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27805
27806 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
27807 No longer expected to fail.
27808
27809 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
27810 string. No longer expected to fail.
27811
27812 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27813
27814 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
27815 only in the names (I probably got most of them). I was even
27816 generous with some which differed in underscores in names, and
27817 probably missed a few, and I *still* was able to remove almost a
27818 third of the file with almost no impact on testsuite coverage.
27819
27820 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27821
27822 * gdb.t00/default.exp: Match udi_attach error message as well as
27823 the one from child_attach.
27824
27825 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
27826
27827 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
27828
27829 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
27830 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
27831
27832 * Move test with enums and partial symbols back to
27833 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
27834 Reverts the change of 26 May 93. Per today's change to
27835 stabs.texinfo, the behavior that weird.exp was expecting was
27836 unreasonable; what is important is that the compiler+gdb get
27837 things right, which happens with a recent gcc. Also fix the test
27838 to deal with native compilers which put out the stab gdb can't
27839 deal with.
27840
27841 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27842
27843 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
27844 in the names. The main thing these accomplish is to slow things down.
27845 Many more such duplicates surely remain.
27846
27847 * gdb.t00/help.exp: Comment out "help support" test just like
27848 (and for same reason as) "help set" test.
27849
27850 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
27851
27852 * gdb.t06/break.exp: Remove setup_xfails for
27853 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
27854 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
27855 about known bug in gcc to include up through 2.5.8.
27856 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
27857 well as "_vb$".
27858 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
27859 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
27860 with latest gcc and gdb.
27861 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
27862 well as "_vb$".
27863
27864 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27865
27866 * configure.in (hppa*-*-*): Also configure and build stabs-only
27867 tests.
27868
27869 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27870
27871 * gdb.t10/hppa.mt: A makefile fragment for the PA.
27872 * gdb.t10/configure.in (hppa*-*-*): Use it.
27873
27874 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27875
27876 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
27877
27878 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27879
27880 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
27881 versions prior to 1.13.5.
27882
27883 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27884
27885 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
27886 the prompt is at the start of a line.
27887
27888 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27889
27890 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
27891 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
27892 in the copr tests now.
27893 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
27894 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
27895 expected to fail.
27896
27897 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
27898
27899 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
27900 gdb.t31/chillvars.exp, lib/gdb.exp:
27901 Tweak to run under either version of expect.
27902 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
27903 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
27904 * gdb.t11/list.exp: Remove extraneous whitespace.
27905
27906 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27907
27908 * gdb.t16/printcmds.exp (test_print_strings): Accept
27909 "(unsigned char *) " before the string.
27910
27911 * TODO: Add notes about printing of fancy types and GDB expressions.
27912
27913 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
27914
27915 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
27916 * gdb.t06/configure.in: Don't try to compile signals test program
27917 if doing mips-idt-ecoff.
27918
27919 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
27920
27921 * Most .exp files: Tweak to run under either version of expect.
27922
27923 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27924
27925 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
27926 xfails; I'm not sure why they are failing, but not because of PR 1806.
27927
27928 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
27929
27930 * config/unix-gdb.exp: Remove gdb_unload cause it's already
27931 defined in lib/gdb.exp.
27932
27933 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27934
27935 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
27936 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
27937 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
27938 have to be typeless.
27939
27940 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27941
27942 * TODO: Add suggestion for copyright year test.
27943
27944 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
27945
27946 * configure.in (*-*-lynxos*): Add stabs tests.
27947
27948 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
27949
27950 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
27951 so insert a tab before any assembler directive in column zero.
27952
27953 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
27954 stores.
27955 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
27956 stores.
27957 (fpu_short_memory_tests): Likewise.
27958
27959 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27960
27961 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
27962 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
27963 .stabs directives in comments.
27964
27965 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27966
27967 * TODO: New file, describing tests we could write.
27968 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
27969
27970 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27971
27972 * gdb.t06/signals.exp: Add kludge to force re-sync.
27973
27974 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
27975 to xgdb instead of gdb, get out of gdb.
27976
27977 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
27978
27979 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
27980 for info.
27981
27982 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
27983
27984 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
27985 * gdb.stabs/configure.in (hppa*-*-*): Use it.
27986 * gdb.stabs/hppa.sed: New sed script for the PA.
27987
27988 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27989
27990 * gdb.stabs: Re-write weird.def and configuration to use sed
27991 instead of cpp. sed is portable and POSIX; cpp is neither.
27992
27993 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27994
27995 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
27996
27997 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27998
27999 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
28000
28001 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28002
28003 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
28004 "_vb$".
28005 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
28006 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
28007
28008 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28009
28010 * lib/gdb.exp: Comment out code which depends on non-existent
28011 `transform' procedure.
28012
28013 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
28014
28015 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
28016 * lib/gdb.exp: Transform tool name.
28017 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
28018 1.1's new error handling system.
28019
28020 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28021
28022 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
28023
28024 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28025
28026 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
28027 They made pattern matching so slow that timeouts happened on
28028 heavily loaded systems. Now any output from "show print" which
28029 gets us back to the GDB prompt is a PASS.
28030
28031 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
28032
28033 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
28034
28035 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28036
28037 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
28038
28039 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
28040 It is not from PR 3220.
28041
28042 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28043
28044 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
28045 just started failing because they depended on the order the
28046 subcommands are presented, or exact docstring text. This kind of
28047 test is a pain and has minimal benefit.
28048
28049 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28050
28051 * gdb.t09/corefile.exp: At end of test, use "core" command with
28052 no arguments.
28053
28054 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
28055
28056 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
28057 17}/Makefile.in: Make it possible to run the testsuite with Sun
28058 make and CC = cross gcc by adding explicit build rules for .o
28059 files.
28060
28061 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28062
28063 * gdb.t15/funcargs.exp: Don't put comments on same line as
28064 setup_xfail (@#$*%& tcl braindamage!).
28065
28066 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28067
28068 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
28069
28070 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
28071
28072 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
28073 * gdb.t20/inherit.exp: remove three dumplicate entries.
28074
28075 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28076
28077 * gdb.t06/break.exp: For "next over recursive call", fail on any
28078 incorrect output, not just on "factorial (value=2)".
28079
28080 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28081
28082 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
28083 working now. Add an xfail if accesing a bss variable causes
28084 a memory error if the target is not yet run.
28085
28086 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28087
28088 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
28089 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
28090 name of __st* demangling (2 strings). Did Kung really get the
28091 more than 95 others right without testing them?
28092
28093 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
28094
28095 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
28096
28097 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
28098
28099 * configure.in (configdirs): Add gdb.disasm
28100 * gdb.disasm: New directory for GDB disassembler tests.
28101 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
28102
28103 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28104
28105 * gdb.t00/help.exp: Don't test "help set".
28106
28107 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
28108 from within expect statements. None of these happen anymore and
28109 they cause regressions to be silently unnoticed.
28110
28111 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
28112 messages) about known failures with gcc cygnus-2.4.5-930417.
28113
28114 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
28115 comp-info.exp so it gets built if it doesn't exist.
28116
28117 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
28118 it is no longer used.
28119 * gdb.t13/comp-info.c: Removed.
28120
28121 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28122
28123 * gdb.t06/signals.exp: Add xfail for sun3.
28124
28125 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28126
28127 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
28128 relevant because ^C doesn't get sent but failure can be reproduced
28129 interactively).
28130
28131 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28132
28133 * gdb.stabs/alpha.mt: New configuration file for alpha.
28134 * gdb.stabs/configure.in: Use it.
28135 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
28136 sharing with alpha.mt, redefine long to word via preprocessor.
28137 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
28138 for alpha.
28139 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
28140 native cc.
28141 * gdb.t00/teststrategy.exp: Change expect string so that we
28142 consume the `(xgdb)' from the command echo and from the gdb prompt.
28143 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
28144 gdb currently compares all values as long, so this failure probably
28145 applies to any configuration where LONGEST is bigger than a target int.
28146 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
28147 with gcc.
28148 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
28149 to handle opaque pointers, gcc is.
28150 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
28151 as first argument. Include <sys/types.h> and change all operator
28152 new definitions to use size_t.
28153 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
28154 now that we use size_t.
28155
28156 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28157
28158 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
28159 a long or float array cast all array members to the same type.
28160 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
28161 with 64 bit longs.
28162 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
28163 on alpha.
28164 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
28165
28166 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28167
28168 * gdb.t24 (demangle.exp): Constructors of templates have names like
28169 vector<int>::vector(int) not vector<int>::vector<int>(int). See
28170 section 14.6 of the ARM.
28171
28172 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
28173 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
28174 accomplish little and slow down the testsuite.
28175
28176 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
28177 Accept spaces various places.
28178
28179 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28180
28181 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
28182 with watchpoint enabled.
28183
28184 * Makefile.in: Remove definition of CC and remove the second
28185 definition of CXX (the "CXX = gcc" one remains). These definitions
28186 were causing backquotes to be expanded within backquotes, which
28187 doesn't work.
28188
28189 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
28190
28191 * gdb.t17/callfuncs.exp: Add "return 0" to end.
28192
28193 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28194
28195 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
28196 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
28197 by mips cc and contains no stabs entries.
28198
28199 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
28200
28201 * config/vx-gdb.exp: Use fake device to load files rather than
28202 NFS.
28203 * lib/gdb.exp: New proc to do "file" command.
28204 * config/unix-gdb.exp: Use new "file" proc.
28205
28206 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
28207
28208 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
28209 Rework board rebooting slightly.
28210 (gdb_exit): Don't exit from the remote shell; there isn't one.
28211 * gdb.stabs/weird.exp: If a program is being debugged already,
28212 kill it.
28213 * gdb.t04/setvar.exp: Stop and restart gdb.
28214 * gdb.t05/expr.exp: Likewise.
28215 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
28216 restart gdb and reload the program.
28217 * gdb.t08/opaque.exp: Likewise.
28218 * gdb.t12/scope.exp: Likewise.
28219 * gdb.t13/bitfields.exp: Likewise.
28220 * gdb.t15/funcargs.exp: Likewise.
28221 * gdb.t20/classes.exp: Likewise.
28222 * gdb.t03/ptype.exp: Increase timeout.
28223 * gdb.t16/printcmds.exp (test_print_string_constants,
28224 test_print_array_constants): Likewise.
28225 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
28226 * gdb.t20/classes.exp (do_tests): Likewise.
28227 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
28228
28229 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
28230
28231 * gdb.stabs: Renamed *wierd* to *weird*.
28232
28233 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28234
28235 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
28236 for timeout. Add "known gcc 2.4.5 bug" to failure message.
28237
28238 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28239
28240 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
28241 (do_tests): Remove xfail for whatis on one_var and two_var.
28242
28243 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
28244
28245 * Makefile.in: Made cross building work better by adding
28246 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
28247
28248 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28249
28250 * gdb.t15/{return.c,return.exp,Makefile.in}:
28251 New test, currently commented out.
28252
28253 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
28254
28255 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
28256 still running and removes the leftover named socket so GDb can do
28257 clean restarts.
28258
28259 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
28260
28261 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
28262 console, not GDB.
28263 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
28264 cross testing works better with "make check"
28265 * config/unix-gdb: Use default procedures for exit and version.
28266 * config/vx-gdb.exp: Cleaned up and massaged back to working order
28267 with the newest VxWorks.
28268
28269 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28270
28271 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
28272 old form.
28273
28274 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
28275 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
28276
28277 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
28278
28279 * config/unix-gdb.exp: Remove this version of gdb_exit
28280 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
28281 Rob says he'll look at it when he gets back to testing boards.
28282
28283 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
28284
28285 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
28286 an expected fail for certain ptype commands.
28287
28288 * gdb.t20/classes.exp: Update expected results of "ptype class
28289 Base1" to account for the constructor that now appears in the type.
28290
28291 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
28292
28293 * configure.in (configdirs): Restore gdb.t04, which mysteriously
28294 disappeared from list.
28295 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
28296 "alldone" proc with call to cleanup and exit.
28297 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
28298 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
28299 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
28300 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
28301 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
28302 "alldone" proc with simple returns that suppress remaining
28303 tests. The alldone proc went away many months ago.
28304
28305 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28306
28307 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
28308
28309 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
28310
28311 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28312
28313 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
28314 as vax gdb will display them.
28315
28316 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28317
28318 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
28319 optimizers.
28320
28321 * scope.exp: Change "bad value for localval" messages so each one
28322 is unique.
28323
28324 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
28325 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
28326
28327 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
28328
28329 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28330
28331 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
28332 doesn't exist (due to optimization).
28333
28334 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28335
28336 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
28337 contains \r because the filename is long.
28338
28339 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
28340 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
28341
28342 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28343
28344 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
28345 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
28346 Ultrix.
28347 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
28348 int tests.
28349 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
28350
28351 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
28352
28353 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
28354
28355 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
28356 to match does not match the passing case but still matches the
28357 failing case.
28358
28359 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28360
28361 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
28362
28363 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
28364
28365 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
28366 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
28367 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
28368 Remove various versions of gdb_exit.
28369 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
28370 gdb_exit.
28371 * config/unix-gdb.exp: gdb_exit remains here, and should override
28372 the generic version, since it's doing a lot of wierd stuff that
28373 the other versions aren't. FIXME, fold it in, or abandon this
28374 version.
28375
28376 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28377
28378 * gdb.t24/demangle.exp: Add tests for PR 3220.
28379
28380 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28381
28382 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
28383
28384 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
28385
28386 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
28387 "i386-*-*". Works for i486 as well.
28388
28389 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
28390 bug, and expand domain of xfail to all SVR4 systems, since the
28391 actual problem is likely to be in generic SVR4 /proc support.
28392
28393 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28394
28395 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
28396
28397 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
28398
28399 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
28400 xfails for other systems. Match a missing 'Continuing.' as an
28401 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
28402
28403 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
28404 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
28405 Only issue warning for missing executables if -all option is used.
28406
28407 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
28408 file if -all option is used. It's like an unpredictable XFAIL.
28409
28410 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28411
28412 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
28413 for dynamically linked binaries.
28414
28415 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
28416
28417 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28418
28419 * gdb.t20/inherit.exp: Change message for "print tagless struct"
28420 to state that this is a known bug in old versions of g++.
28421
28422 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28423
28424 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
28425 while waiting for `Continuing'.
28426
28427 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
28428
28429 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
28430 in text, data, and bss.
28431 * gdb.t10/nodebug.c: Add local and global test variables for
28432 initialized and uninitialized data.
28433
28434 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28435
28436 * config/unix-gdb.exp (gdb_exit): Add "wait".
28437
28438 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28439
28440 * gdb.t06/signals.exp: xfail the continue from the handler for all
28441 targets.
28442
28443 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
28444 function with watchpoints enabled, the i386 call dummy starts with
28445 a call.
28446
28447 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
28448 386 bsd names its corefiles.
28449
28450 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
28451
28452 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
28453 compilers don't grok it.
28454 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
28455 with small octal ints rather than character constants, which
28456 are signed and might not fit if first promoted to int.
28457
28458 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
28459
28460 * gdb.t09/Makefile.in (clean): Remove corefile.
28461
28462 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28463
28464 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
28465
28466 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28467 and Jim Kingdon (kingdon@cygnus.com)
28468
28469 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
28470 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
28471 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
28472
28473 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28474
28475 * gdb.t17/interrupt.exp: Add xfail for hppa.
28476
28477 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28478
28479 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
28480 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
28481 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
28482 to determine signed-ness of bitfields and use the result to setup
28483 the xfail.
28484 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
28485 * gdb.t15/funcargs.exp: Use them to step until the second indirect
28486 call line is reached if necessary.
28487
28488 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28489
28490 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
28491
28492 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28493
28494 * gdb.t06/break.exp: Also test `clear' command.
28495
28496 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28497
28498 * gdb.t00/teststrategy.exp: Remove extra quote.
28499
28500 * gdb.t07/watchpoint.exp: Change xfail for calling function with
28501 watchpoint enabled to be for all non-68k machines.
28502
28503 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
28504
28505 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28506
28507 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
28508 targets use aout.mt instead of ecoff.mt as gas understands
28509 standard aout format.
28510
28511 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28512
28513 * lib/gdb.exp (runto): Don't insist that function we are running to
28514 was compiled with -g.
28515
28516 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
28517
28518 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
28519 to get back into the read system call.
28520 Accept leading newline in case where we woke it up.
28521
28522 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28523
28524 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
28525 to make the stabs test work on ecoff systems using gcc and -with-stabs.
28526 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
28527 enable ecoff configuration.
28528
28529 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28530
28531 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
28532
28533 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28534
28535 * gdb.t16/printcmds.exp: Add another printf test.
28536
28537 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
28538
28539 * configure.in: If configured -with-stabs on any target, add
28540 stabsdirs to configdirs.
28541
28542 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28543
28544 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
28545 fun" so pattern does not match the command itself.
28546
28547 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28548
28549 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
28550
28551 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28552
28553 * gdb.t17/interrupt.exp: Test for more things.
28554
28555 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28556
28557 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
28558 compiler arranges the code and line numbers.
28559
28560 * gdb.t17/interrupt.exp: Don't send \n after ^C.
28561
28562 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28563
28564 * gdb.t00/help.exp: Increase expect input buffer size.
28565
28566 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28567
28568 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
28569
28570 * gdb.t07/watchpoint.exp: Add xfail for hppa.
28571
28572 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
28573
28574 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
28575 [0-9]*, not just [0-9].
28576
28577 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28578
28579 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
28580
28581 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
28582
28583 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28584
28585 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
28586
28587 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28588
28589 * gdb.t06/signals.c: Add xfails for sun3.
28590
28591 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
28592
28593 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
28594 test_stepping tests.
28595
28596 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28597
28598 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
28599
28600 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
28601
28602 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
28603 rather than actually putting it through cpp twice.
28604
28605 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
28606
28607 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
28608
28609 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
28610 no longer needed.
28611
28612 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28613
28614 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
28615
28616 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
28617 C++ features prints as "struct", make it a pass, not an xfail.
28618
28619 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28620
28621 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
28622 Don't require VA to print as "class" rather than "struct".
28623
28624 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
28625
28626 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
28627
28628 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28629
28630 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
28631
28632 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28633
28634 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
28635 order.
28636
28637 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28638
28639 * gdb.t16/printcmds.exp: Add printf tests.
28640
28641 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
28642
28643 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
28644
28645 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
28646
28647 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
28648 pass counts, to counteract any existing or future setup_xfails.
28649
28650 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28651
28652 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
28653 {BEGIN,END}_COMMON for common block instead of STAB.
28654 * gdb.stabs/wierd.exp: Add xfail for rs6000.
28655
28656 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
28657 intp_var should be N_GSYM not N_LSYM.
28658 wierd-aout.S: Use a label for the value of the N_SO.
28659 wierd.def: Remove all backslashes.
28660 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
28661
28662 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28663
28664 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
28665 get the expected next to inheritance3.
28666
28667 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28668
28669 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
28670 now that gcc-2.4 gets it right.
28671
28672 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28673
28674 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
28675
28676 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
28677 generating comp-info.exp which works for cross-compilation.
28678
28679 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
28680
28681 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
28682 "*-*-sysv4.*".
28683
28684 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
28685
28686 * gdb.t01/run.exp: Start with a fresh gdb.
28687 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
28688 SVR4.x.
28689
28690 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
28691
28692 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
28693 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
28694 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
28695 Makefile.in (distclean, realclean): Remove gdbme.c from list of
28696 things to remove.
28697
28698 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
28699
28700 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
28701 test cases from bug reports.
28702
28703 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
28704
28705 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
28706 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
28707 avoid spurious xfails.
28708 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
28709 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
28710 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
28711
28712 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
28713
28714 * gdb.t00/teststrategy.exp: Rework to provide more useful
28715 description of each test, fix problem with systems that define
28716 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
28717 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
28718 results for "next over recursive call" so timeouts aren't taken
28719 by error.
28720
28721 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
28722
28723 * gdb.t12/scope.exp: Test printing of variables before run.
28724
28725 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
28726 printed in wrong order due to sorting.
28727
28728 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
28729
28730 * gdb.t00/teststrategy.exp: Fix expected results for printing
28731 user entered string constant. Is array of char, prints with no
28732 address.
28733
28734 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
28735 commands.
28736 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
28737 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
28738 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
28739 of struct of char arrays.
28740 * gdb.t00/radix.exp: New tests for radix commands.
28741
28742 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
28743
28744 * gdb.t16/printcmd.exp: Print a variable before running program
28745 (with xfail for AIX).
28746
28747 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
28748
28749 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
28750
28751 * gdb.t16/printcmd.exp: Don't print variables before running program.
28752
28753 * gdb.t06/break.exp: Don't require envp argument to main.
28754
28755 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
28756
28757 * gdb.t02/whatis.exp, gdb.t11/list.exp:
28758 Add xfails for rs6000.
28759
28760 * gdb.t02/whatis.exp: Change other tests not to re-test something
28761 we already tested.
28762
28763 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
28764 each type used has a variable of that type.
28765
28766 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
28767
28768 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
28769
28770 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
28771
28772 * configure.in: change srctrigger to be a file, not a directory
28773
28774 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
28775
28776 * configure.in (mips-idt-ecoff*): Added trailing '*'.
28777
28778 * gdb.t11/list.exp: Fixed a couple of typos.
28779
28780 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
28781
28782 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
28783 is fixed and PR is closed.
28784 * gdb.t16 (gdbme.c): Add simple test string variable.
28785 * gdb.t16 (printcmds.exp): Add tests with simple test string
28786 variable, primarily for boundaries on "set print elements".
28787
28788 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
28789
28790 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
28791 Make leading 0's optional and don't expect a tab in the middle
28792 of the number.
28793
28794 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
28795
28796 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
28797 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
28798 don't end command passed to gdb_test with newline.
28799
28800 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
28801 signed keyword away, don't expect signed bitfields to be signed.
28802
28803 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
28804 printing with only as many 1's as are in the field as well as printing
28805 with 32 1's (see comment).
28806
28807 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
28808
28809 * gdb.t00/default.exp: Start with a fresh gdb.
28810 * configure.in (configdirs): Remove gdb.t31 until the chill
28811 compiler works again. It no longer is able to find chillrt0
28812 since it isn't in libchill.a anymore.
28813 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
28814 wierd.o, make more modular.
28815 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
28816 spurious newlines that caused problems.
28817
28818 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28819
28820 * Move test with enums and partial symbols from gdb.t03/ptype.exp
28821 to gdb.stabs/wierd.exp since GCC has worked around the bug.
28822 gdb.stabs/wierd.{exp,def}: Many new tests.
28823
28824 * gdb.t00/default.exp: update info line for new message.
28825
28826 * gdb.t02/{whatis.exp,gdbme.c}:
28827 Test that "char *" doesn't print as "caddr_t".
28828
28829 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28830
28831 * gdb.t00/help.exp: Use .* in place of some help messages which
28832 just changed.
28833 gdb.t00/default.exp: Update "info frame" test for new message.
28834 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
28835 Remove some xfails
28836
28837 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28838
28839 * gdb.t03/{gdbme.c,ptype.exp}:
28840 Add tests for typedef'd struct and union without tags.
28841 Also check "whatis" on a variable of a typedef'd enum without a tag.
28842
28843 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
28844 PRMS 1823; the bug still exists but isn't reproduced by this test
28845 anymore), and remove rs6000 XFAIL (the bug is fixed).
28846
28847 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
28848 duplicated from whatis.exp. For those that are left, accept
28849 "long", "long int", or "int" for long variables (whatis.exp already
28850 has an XFAIL for "int", so no need to fail it here).
28851
28852 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
28853 Deal with GCC's names for types now that GDB uses the compiler's names.
28854
28855 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
28856 setup_xfail's for sunos4. If we #defined the signed keyword away,
28857 don't expect GDB to know that char it is signed.
28858
28859 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
28860
28861 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
28862
28863 * configure.in (configdirs): Add gdb.t24 for C++ tests that
28864 should work on any system, regardless of debugging format.
28865 * gdb.t21/demangle.exp: Move to gdb.t24.
28866 * gdb.t24/demangle.exp: Move from gdb.t21.
28867 * gdb.t24/{Makefile.in, configure.in}: New files.
28868
28869 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28870
28871 * configure.in: Do gdb.stabs and C++ tests only for stabs.
28872 * gdb.stabs: New directory.
28873
28874 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28875
28876 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
28877 not just "Quit anyway?".
28878
28879 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
28880
28881 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
28882 that all setup_xfails are immediately followed by clear_xfails.
28883
28884 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
28885
28886 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
28887 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
28888 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
28889 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
28890 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
28891 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
28892 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
28893 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
28894 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
28895 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
28896 gdb.t31/chillvars.exp, lib/gdb.exp:
28897 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
28898 bug-gdb@prep.ai.mit.edu.
28899
28900 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
28901
28902 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
28903 with 0.0, not integer 0.
28904
28905 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
28906
28907 * gdb.t06/break.exp: Update for "Kill the program" message change.
28908
28909 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
28910
28911 * Makefile.in (GDBFLAGS): Set to -nx.
28912 * Makefile.in (site.exp): Use GDBFLAGS.
28913
28914 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28915
28916 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
28917 Makefiles.
28918 (check): depend on just-check.
28919 (just-check): added so that tests can be run without a noop
28920 build pass.
28921
28922 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28923
28924 Switch to using configure's configdirs.
28925 * Makefile.in (Makefile): add configure.in dependency.
28926 (SUBDIRS): removed redundant assignment.
28927 * configure.in: switch subdirs assignment to configdirs.
28928 * gdb.t*/configure.in: new files.
28929
28930 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
28931
28932 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
28933 works.
28934
28935 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
28936
28937 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
28938 in explicit rules. Apparently this is not supported by some makes.
28939
28940 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
28941
28942 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
28943
28944 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28945
28946 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
28947 disappeared.
28948
28949 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
28950
28951 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
28952
28953 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
28954
28955 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
28956 watchpoint problem that is now fixed.
28957 * gdb.t30/chexp.exp: Remove setup_xfail for printing
28958 uninitialized convenience variables.
28959 * gdb.t31/chillvars.exp: Fix expected patterns for printing
28960 structures.
28961
28962 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28963
28964 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
28965 which causes expect to get out of sync with gdb on long output
28966 from help set.
28967 * gdb.t09/corefile.exp: Make expected pattern for core file
28968 failing signal and frame output format less sun specific.
28969
28970 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
28971
28972 * gdb.t31/chillvars.exp: Add and remove initial dummy
28973 breakpoint, so that symbol table is forced in.
28974 (Needed at least on Sunos4, though it seems not SVR4.)
28975 * gdb.t31/chillvars.exp: Update for changed output format.
28976
28977 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
28978
28979 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
28980
28981 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
28982
28983 * Makefile.in: Added --srcdir when invoking runtest, removed the
28984 need for a local config file. (optional now)
28985
28986 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
28987
28988 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
28989 failure count used to force early termination. Add some more
28990 expected failures for gnu style demangling.
28991
28992 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28993
28994 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
28995 pmi variable from gdb.t20/gdbme to get optimized away.
28996 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
28997 Check for written corefile upon timeout _and_ eof.
28998
28999 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29000
29001 * config/unix-gdb.exp: Add missing return 0.
29002
29003 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29004
29005 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
29006 test termination.
29007
29008 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
29009
29010 * configure.in (subdirs): Put back gdb.t17 which mysteriously
29011 disappeared.
29012
29013 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
29014
29015 * gdb.t10/crossload.exp: Disable the i860-elf test until such
29016 time as i860 support works.
29017
29018 * gdb.t15/funcargs.exp: Fix expected outputs to include
29019 "backtrace 100\r" rather than just "backtrace\r", to match last
29020 change.
29021
29022 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
29023
29024 * config/udi-gdb.exp (gdb_exit): Remove close command.
29025 (gdb_target_udi): New procedure to set the UDI target.
29026 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
29027 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
29028 Added waits for prompts after several question responses. Added
29029 some more responses used by a29k-amd-udi-gdb.
29030 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
29031 pass different arguments, restart UDI connection after program
29032 completion.
29033 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
29034 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
29035 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
29036 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
29037 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
29038 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
29039 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
29040 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
29041 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
29042 after program completion.
29043 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
29044 compiled with a SELECT_VECS setting.
29045 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
29046 infinite recursion.
29047
29048 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
29049 Added checks for COFF results, and made them expected failures for
29050 all targets. It would be better to make them expected failures
29051 for COFF targets only.
29052
29053 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
29054
29055 * Makefile.in: add null dvi target, don't bother to recurse
29056 through test directories for info and install-info; rename
29057 $(datadir) to be dejagnu instead of deja-gnu
29058
29059 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
29060
29061 * gdb.t31/gdbme.ch: Re-enable code that previously caused
29062 compiler to coredump.
29063 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
29064 code.
29065
29066 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
29067
29068 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
29069 coredump.
29070 * gdb.t31/chillvars.exp: Comment out tests that depend on that
29071 code.
29072
29073 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
29074
29075 * gdb.t03/ptype.exp: tests for return code from gdb_test.
29076 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
29077 which in a shell. Deletes xgdb when done.
29078 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
29079 Tests the return from the "set height" or "set width" commands.
29080 Added a few return codes where needed.
29081
29082 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
29083
29084 * Makefile.in (SUBDIRS): Add gdb.t17.
29085 * configure.in (subdirs): Add gdb.t17.
29086 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
29087 files to test gdb's calling of functions in the inferior with
29088 the correct arguments and gdb's ability to retrieve any
29089 result returned.
29090
29091 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
29092
29093 * config/unix-gdb.exp (gdb_exit): Remove close commands that
29094 may be called after gdb goes away. Previous versions of expect
29095 needed these to avoid file descriptor leaks, but they cause
29096 errors with the current revision of expect.
29097 * gdb.t00/gdbvars.exp: Use -re on expected output after
29098 setting sevenbit-strings.
29099 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
29100 to set sevenbit-strings consistent across tests.
29101 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
29102 set sevenbit-strings consistent across tests.
29103
29104 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
29105
29106 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
29107 expected output to match current "expect" expectations.
29108
29109 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
29110
29111 * gdb.t00/default.exp: Change expected output for default "source"
29112 command, to match new gdb behavior which requires a filename to
29113 source.
29114
29115 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
29116
29117 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
29118 expected fail for i486-*-* that misses the marker2 function.
29119 * gdb.t10/crossload.exp (bfddefault): Allow successful
29120 recognition of a format to pass even if no symbols are found.
29121 Explicitly catch failures where the format is not recognized
29122 or is ambiguous, and add the reason to the fail message.
29123 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
29124 the cause is and invalid target and add reason to failure message.
29125 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
29126 elf32-i386, elf32-sparc, and elf32-i860.
29127 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
29128 Set up expected failure for 'filename'::variable scope resolution,
29129 which is now apparently broken on all targets.
29130 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
29131 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
29132 gdb.t23/templates.exp: Change failure for missing binfile into
29133 just a warning.
29134 gdb.t21/demangle.exp: Change all cfront references to 'arm'
29135 references.
29136
29137 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
29138
29139 * gdb.t00/default.exp: Add expected output for default "source"
29140 command, to match new gdb behavior.
29141 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
29142
29143 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
29144
29145 * config/*-gdb.exp: returns an error, rather than exiting on
29146 internal errors.
29147
29148 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
29149
29150 * gdb.t03/gdbme.c: Add pointer to struct variable.
29151 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
29152 referencing struct members.
29153
29154 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
29155
29156 * configure.in (mips-idt-ecoff): New target.
29157 * config/mips-gdb.exp: New file for remote board using MIPS remote
29158 debugging protocol.
29159
29160 * Redid configuration scheme. Removed gdb.t*/configure.in.
29161 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
29162 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
29163 distclean targets. Built executables via .o files. Adjusted
29164 tests to account for source files in $(srcdir) rather than
29165 $(objdir).
29166 * lib/gdb.exp (runto): Don't expect () after the function name,
29167 because it may have arguments.
29168
29169 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
29170
29171 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
29172 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
29173 expected failures for mips-idt-* and mips-sgi-*.
29174 * gdb.t00/default.exp (attach): Kill process if requested.
29175 * gdb.t00/help.exp (help target core, help target): Accept a gdb
29176 that does not read core files.
29177 * gdb.t01/run.exp: Removed checks for exit status code.
29178 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
29179 it is linked in.
29180 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
29181 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
29182 appropriate, rather than doing it by hand.
29183 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
29184 execution.
29185 * gdb.t10/crossload.exp: Kill existing program if needed.
29186 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
29187 appropriate, rather than doing it by hand. Always increase
29188 timeout for this test, not just for VxWorks.
29189
29190 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
29191
29192 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
29193 of Chill STRUCT types and STRUCT values.
29194 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
29195 than "char".
29196 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
29197 struct2): New struct definitions and initializations to test
29198 simple Chill STRUCT types.
29199
29200 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
29201
29202 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
29203 the null byte at the end of strings.
29204 * gdb.t00/default.exp: Make show version insensitive to copyright
29205 date.
29206 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
29207 to avoid dependencies on target char signedness.
29208 * gdb.t16/printcmds.exp: Update expected results for explicitly
29209 unsigned char.
29210 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
29211 now work.
29212 * gdb.t21/demangle.exp: Add many more patterns for template
29213 demangling, most of them being expected failures.
29214 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
29215 string we are matching for, to match on the whole string.
29216 * gdb.t21/demangle.exp: Add many new test strings to demangle,
29217 and fix a whole bunch that had incorrect expected output but were
29218 passing anyway because of the bug in "proc demangle".
29219 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
29220 type.
29221 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
29222
29223 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
29224
29225 * gdb/testsuite: made modifications to testcases, etc., to allow
29226 them to work properly given the reorganization of deja-gnu and the
29227 relocation of the testcases from deja-gnu to a "tool" subdirectory.
29228
29229 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
29230
29231 * gdb/testsuite: Initial creation of gdb/testsuite.
29232 Migrated dejagnu testcases and support files for testing nm to
29233 gdb/testsuite from deja-gnu. These files were moved "as is"
29234 with no modifications. This migration is part of a major overhaul
29235 of dejagnu. The modifications to these testcases, etc., which
29236 will allow them to work with the new version of dejagnu will be
29237 made in a future update.
29238
29239 For additional changes see gdb.mi/ChangeLog-1999-2003.
29240 \f
29241 ;; Local Variables:
29242 ;; mode: change-log
29243 ;; left-margin: 8
29244 ;; fill-column: 74
29245 ;; version-control: never
29246 ;; End:
29247
29248 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
29249 Copying and distribution of this file, with or without modification,
29250 are permitted provided the copyright notice and this notice are preserved.
This page took 0.745176 seconds and 4 git commands to generate.