]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
daily update
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4442ada7
TT
12012-08-24 Tom Tromey <tromey@redhat.com>
2
3 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
4 gdb_test_multiple fails for other reasons.
5
e7d50cc9
YQ
62012-08-24 Yao Qi <yao@codesourcery.com>
7
8 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
9
dfbd5e7b
PA
102012-08-23 Pedro Alves <palves@redhat.com>
11
12 * gdb.base/help.exp: Adjust to "handle" help text change.
13
8d735b87
YQ
142012-08-23 Yao Qi <yao@codesourcery.com>
15
16 * gdb.trace/disconnected-tracing.c (start, end): New.
17 (main): Call start and end.
18 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
19 existing tests into this proc.
20 (disconnected_tfind): New.
21
61b1d759
YQ
222012-08-23 Yao Qi <yao@codesourcery.com>
23
24 * boards/native-gdbserver.exp (${board}_upload): New.
25 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
26 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
27 Execute tfile on remote target.
28 Copy trace file from target to host.
29
6ca1b147
JM
302012-08-22 Joseph Myers <joseph@codesourcery.com>
31
32 * gdb.arch/thumb-bx-pc.S: New file.
33 * gdb.arch/thumb-bx-pc.exp: New file.
34
706e3705
TT
352012-08-22 Tom Tromey <tromey@redhat.com>
36
37 * gdb.base/maint.exp: Update.
38
b4893d48
TT
392012-08-22 Tom Tromey <tromey@redhat.com>
40
41 * lib/gdb.exp (skip_unwinder_tests): New proc.
42 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
43 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
44
45b7da81
TT
452012-08-21 Tom Tromey <tromey@redhat.com>
46
47 * gdb.hp/gdb.aCC/exception.exp: Remove.
48
f94363d7
AP
49012-08-19 Andrew Pinski <apinski@cavium.com>
50
51 * gdb.arch/mips-octeon-bbit.c: New file.
52 * gdb.arch/mips-octeon-bbit.exp: New Test.
53
e5afdbd7
KS
54012-08-19 Keith Seitz <keiths@redhat.com>
55
56 PR c++/14365
57 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
58 * gdb.dwarf2/dw2-anon-mptr.S: New file.
59
c29e8b64
JK
602012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
63 verbose -log by more specific untested call.
64
15a7e7bc
YQ
652012-08-18 Yao Qi <yao@codesourcery.com>
66
67 * gdb.trace/tfind.exp: Move tests on various command help before
68 checking target supports trace.
69 Fix the expected output of 'help tfind end'.
70
a451cb65
KS
712012-08-17 Keith Seitz <keiths@redhat.com>
72
73 PR c++/13356
74 * gdb.base/default.exp: Update all "check type" tests.
75 * gdb.base/help.exp: Likewise.
76 * gdb.base/setshow.exp: Likewise.
77 * gdb.cp/converts.cc (foo1_type_check): New function.
78 (foo2_type_check): New function.
79 (foo3_type_check): New function.
80 (main): Call new functions.
81 * converts.exp: Add tests for integer-to-pointer conversions
82 with/without strict type-checking.
83
dbf6a605
MF
842012-08-16 Mike Frysinger <vapier@gentoo.org>
85
86 * gdb.base/help.exp: Update expected output.
87
0c92d8c1
JB
882012-08-16 Joel Brobecker <brobecker@adacore.com>
89
90 * gdb.ada/rdv_wait: New testcase.
91
e56f7f42
JK
922012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
93
94 * gdb.base/attach-twice.exp: Remove excessive ps exec.
95
f47f77df
DE
962012-08-13 Doug Evans <dje@google.com>
97
e202d6e8 98 * gdb.base/help.exp: Update expected output.
f47f77df
DE
99 * gdb.base/default.exp: Update expected output of "show convenience".
100
a72c3253
DE
1012012-08-10 Doug Evans <dje@google.com>
102
103 * gdb.python/py-strfns.c: New file.
104 * gdb.python/py-strfns.exp: New file.
105 * gdb.python/py-type.exp (test_fields): Add vector tests.
106
de0bea00
MF
1072012-08-10 Mike Frysinger <vapier@gentoo.org>
108
109 PR cli/10436:
110 * gdb.base/completion.exp: Add tests for handle completion.
111
5b9afe8a
YQ
1122012-08-09 Yao Qi <yao@codesourcery.com>
113
114 * gdb.mi/mi-cmd-param-changed.exp: New.
115 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
116 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
117 * gdb.mi/mi2-prompt.exp: Likewise.
118
4f485ebc
DE
1192012-08-08 Doug Evans <dje@google.com>
120
121 * gdb.base/debug-expr.c: New file.
122 * gdb.base/debug-expr.exp: New file.
123 * gdb.base/exprs.exp: Test {type} casts.
124 * gdb.cp/debug-expr.exp: New file.
125
5888842d
JK
1262012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
127
128 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
129 global variable loop, not a 'break'. Add loop count limit to 100.
130 Add new fail case for terminated vgdb.
131
4f69f4c2
JK
1322012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
133 Jean-Marc Saffroy <saffroy@gmail.com>
134
135 PR 11804
136 * gdb.base/gcore-relro.exp: New file.
137 * gdb.base/gcore-relro-main.c: New file.
138 * gdb.base/gcore-relro-lib.c: New file.
139
e2de5390
JK
1402012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
141
142 Do not false FAIL with old GCCs.
143 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
144 GCC < 4.5 in $no_hw mode.
145
606603c5
JK
1462012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
147
148 * gdb.base/default.exp (cd): Accept new directory with no arguments.
149
777f26c2
JK
1502012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
151
152 * gdb.base/list.exp (test_only_end): New function.
153 Call it.
154
2c12abee
TT
1552012-08-06 Tom Tromey <tromey@redhat.com>
156
157 * gdb.python/py-mi.exp: Add test for printer whose children
158 are a list.
159 * gdb.python/py-prettyprint.c (struct children_as_list): New.
160 (main): New variable children_as_list.
161 * gdb.python/py-prettyprint.py (class pp_children_as_list):
162 New.
163 (register_pretty_printers): Register new printer.
164
0eae2cf4
EBM
1652012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
166
167 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
168 symbols. Abort if vgdb remote connection is closed.
169
09e0881d
DE
1702012-08-02 Doug Evans <dje@google.com>
171
172 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
173
b40f514f
SDJ
1742012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
175
176 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
177 s390x, PowerPC 64 and m68k-linux.
178
11315ae0
UW
1792012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
180
181 * gdb.base/annota1.exp: Accept no frames-invalid notification
182 when starting up the program.
183 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
184 show a symbolic value as well.
185 * gdb.server/server-exec-info.exp: Skip test when skipping
186 gdbserver test and/or when skipping shared library tests.
187 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
188 avoid name conflicts with other tests.
189
0547eeed
UW
1902012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
191
192 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
193 Fix wrong output on big-endian systems.
194 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
195 4-byte pointer types on 64-bit s390x.
196
bdddb4de
UW
1972012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
198
199 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
200 marker comment at the beginning (after intialization).
201 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
202 breakpoint on marker comment instead of function begin.
203 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
204 PowerPC.
205 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
206 or 64-bit PowerPC.
207 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
208 gdb,no_hardware_watchpoints flag is set.
209 (initialize): Remove now redundant can-use-hw-watchpoints change.
210
5d206025
YQ
2112012-08-02 Yao Qi <yao@codesourcery.com>
212 Pedro Alves <palves@redhat.com>
213
214 * boards/local-remote-host.exp: New.
215
4f665099
UW
2162012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
217
218 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
219 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
220 * gdb.base/print-file-var.exp: Likewise.
221 * gdb.server/solib-list.exp: Skip on remote targets.
222
b62e2b27
UW
2232012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
224
225 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
226 watchpoints on ARM. When expecting software watchpoints, tolerate
227 (remote) targets that report unsupported hardware watchpoint only
228 at continue time.
229 (test_wide_location_2): Likewise.
230
a967a851
JK
2312012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
232
233 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
234 valgrind versions.
235
75d9f9ff 2362012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
237
238 * gdb.base/valgrind-infcall.c: New file.
239 * gdb.base/valgrind-infcall.exp: New file.
240
75d9f9ff
JK
241 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
242
1c9f2ed2
KS
2432012-07-30 Keith Seitz <keiths@redhat.com>
244
245 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
246 linespecs.
247
7f9b2034
DE
2482012-07-30 Doug Evans <dje@google.com>
249
85220e01
DE
250 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
251 * gdb.dwarf2/pr13961.S: Ditto.
252
7f9b2034
DE
253 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
254
4e969b4f
AB
2552012-07-30 Andrew Burgess <aburgess@broadcom.com>
256
257 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
258 change its format immediately after reloading the binary.
259
e7de8362
JK
2602012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
261
262 Fix testsuite regression after --use-deprecated-index-sections removal.
263 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
264 string.
265 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
266
7255706c
YQ
2672012-07-27 Yao Qi <yao@codesourcery.com>
268
269 KFAIL for PR remote/14161.
270 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
271 Cleanup socket files.
272 (strace_info_marker): Detach inferior.
273
f2e8016f
TT
2742012-07-26 Tom Tromey <tromey@redhat.com>
275
276 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
277
f66713d2
JK
2782012-07-26 Markus Metzger <markus.t.metzger@intel.com>
279
280 * gdb.python/py-inferior.c (thread): New function.
281 (check_threads): New function.
282 (test_threads): New function.
283 * gdb.python/py-inferior.exp: Added test.
284 Replaced runto with continue to breakpoint.
285
8223e12c
TT
2862012-07-26 Tom Tromey <tromey@redhat.com>
287
288 * lib/ada.exp (standard_ada_testfile): New proc.
289 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
290 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
291 * gdb.ada/array_return.exp: Use standard_ada_testfile.
292 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
293 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
294 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
295 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
296 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
297 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
298 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
299 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
300 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
301 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
302 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
303 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
304 * gdb.ada/char_param.exp: Use standard_ada_testfile.
305 * gdb.ada/complete.exp: Use standard_ada_testfile.
306 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
307 standard_output_file.
308 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
309 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
310 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
311 standard_output_file.
312 * gdb.ada/exprs.exp: Use standard_ada_testfile.
313 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
314 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
315 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
316 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
317 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
318 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
319 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
320 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
321 * gdb.ada/homonym.exp: Use standard_ada_testfile.
322 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
323 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
324 * gdb.ada/interface.exp: Use standard_ada_testfile.
325 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
326 standard_output_file
327 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
328 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
329 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
330 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
331 * gdb.ada/nested.exp: Use standard_ada_testfile.
332 * gdb.ada/null_array.exp: Use standard_ada_testfile.
333 * gdb.ada/null_record.exp: Use standard_ada_testfile.
334 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
335 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
336 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
337 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
338 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
339 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
340 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
341 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
342 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
343 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
344 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
345 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
346 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
347 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
348 * gdb.ada/start.exp: Use standard_ada_testfile.
349 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
350 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
351 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
352 * gdb.ada/tagged.exp: Use standard_ada_testfile.
353 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
354 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
355 * gdb.ada/tasks.exp: Use standard_ada_testfile.
356 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
357 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
358 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
359 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
360 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
361 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
362 * gdb.ada/widewide.exp: Use standard_ada_testfile.
363
bbec57e4
JK
3642012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
365
366 Fix testsuite regression after --use-deprecated-index-sections removal.
367 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
368
9cc8e32c
JK
3692012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
370
371 Fix compatibility with Tcl before 7.5.
372 * lib/future.exp (lreverse): New function if it does not exist.
373
ea5ca7b5
MK
3742012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
375
376 * gdb.mi/mi-pending.c: New method to set a second pending
377 breakpoint.
378 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
379 condition.
380
64776a0b
PA
3812012-07-20 Pedro Alves <palves@redhat.com>
382
383 PR threads/11692
384 PR gdb/12203
385
386 * gdb.threads/create-fail.c: New file.
387 * gdb.threads/create-fail.exp: New file.
388
13e4e967
PA
3892012-07-19 Pedro Alves <palves@redhat.com>
390
391 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
392 * config/vx.exp (gdb_start): Likewise.
393 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
394 * gdb.base/setvar.exp (test_set): Likewise.
395 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
396 * gdb.reverse/sigall-precsave.exp: Likewise.
397 * gdb.reverse/sigall-reverse.exp: Likewise.
398
b7aefa4d
PA
3992012-07-19 Pedro Alves <palves@redhat.com>
400
401 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
402 handler before recording.
403
608b4967
TT
4042012-07-19 Tom Tromey <tromey@redhat.com>
405
406 * gdb.cp/casts.exp: Add tests for typeof and decltype.
407 * gdb.cp/casts.cc (decltype): New function.
408 (main): Use it.
409
b1e0c0fa
PA
4102012-07-19 Pedro Alves <palves@redhat.com>
411
412 * gdb.base/sigall.exp (signals): New list.
413 <top level>: Loop over signals in the $signals list instead of
414 calling a test function once per signal.
415 * gdb.reverse/sigall-precsave.exp (signals): New list.
416 <top level>: Loop over signals in the $signals list instead of
417 calling a test function once per signal.
418 * gdb.reverse/sigall-reverse.exp (signals): New list.
419 <top level>: Loop over signals in the $signals list instead of
420 calling a test function once per signal.
421
6ace3df1
YQ
4222012-07-19 Yao Qi <yao@codesourcery.com>
423
424 * gdb.base/setshow.exp: Test 'set args ~'.
425
263a0f8c
JK
4262012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
427
428 * gdb.base/store.exp (check_set): Import gdb_prompt.
429 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
430 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
431
8f043999
JK
4322012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
433
434 PR 11914
435 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
436 (main): Call eval_sub.
437 * gdb.python/py-prettyprint.exp:
438 (python execfile ('py-prettyprint.py')): Move it earlier.
439 New breakpoint for eval-break.
440 (continue to breakpoint: eval-break, info locals): New test.
441 (python execfile ('py-prettyprint.py')): Move it from here.
442 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
443 (register_pretty_printers): Register pp_eval_type.
444
725c7b66
JK
4452012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
446
447 Fix a testcase regression by me.
448 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
449 DW_FORM_data4.
450
4359dff1
JK
4512012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
452 Doug Evans <dje@google.com>
453
454 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
455 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
456
61e44cfa
JK
4572012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
458
459 Fix gdbserver run regression.
460 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
461
93c0ef37
TT
4622012-07-12 Tom Tromey <tromey@redhat.com>
463
464 * lib/gdb.exp (standard_testfile): Don't declare objdir.
465 (clean_restart): Likewise.
466 (core_find): Use standard_output_file.
467
76027ef5
TT
4682012-07-12 Tom Tromey <tromey@redhat.com>
469
470 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
471 * gdb.dwarf2/dw2-anonymous-func.exp: Use
472 prepare_for_testing_full.
473 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
474 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
475 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
476 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
477 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
478 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
479 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
480 prepare_for_testing_full.
481 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
482 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
483 prepare_for_testing_full.
484 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
485 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
486 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
487
85b4440a
TT
4882012-07-12 Tom Tromey <tromey@redhat.com>
489
490 * lib/gdb.exp (build_executable_from_specs): New proc, from
491 build_executable.
492 (build_executable): Use it.
493 (prepare_for_testing_full): New proc.
494
55baab26
TT
4952012-07-11 Tom Tromey <tromey@redhat.com>
496
497 * gdb.reverse/break-precsave.exp: Use standard_output_file.
498 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
499 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
500 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
501 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
502 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
503 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
504 * gdb.reverse/step-precsave.exp: Use standard_output_file.
505 * gdb.reverse/until-precsave.exp: Use standard_output_file.
506 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
507
298a9cf0
TT
5082012-07-10 Tom Tromey <tromey@redhat.com>
509
510 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
511 standard_output_file.
512 * gdb.mi/gdb2549.exp: Use standard_testfile.
513 * gdb.mi/gdb669.exp: Use standard_testfile.
514 * gdb.mi/gdb701.exp: Use standard_testfile.
515 * gdb.mi/gdb792.exp: Use standard_testfile.
516 * gdb.mi/mi-async.exp: Use standard_testfile.
517 * gdb.mi/mi-basics.exp: Use standard_testfile.
518 * gdb.mi/mi-break.exp: Use standard_testfile.
519 * gdb.mi/mi-cli.exp: Use standard_testfile.
520 * gdb.mi/mi-console.exp: Use standard_testfile.
521 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
522 * gdb.mi/mi-eval.exp: Use standard_testfile.
523 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
524 * gdb.mi/mi-file.exp: Use standard_testfile.
525 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
526 * gdb.mi/mi-logging.exp: Use standard_testfile.
527 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
528 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
529 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
530 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
531 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
532 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
533 * gdb.mi/mi-pending.exp: Use standard_testfile,
534 standard_output_file.
535 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
536 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
537 * gdb.mi/mi-regs.exp: Use standard_testfile.
538 * gdb.mi/mi-return.exp: Use standard_testfile.
539 * gdb.mi/mi-reverse.exp: Use standard_testfile.
540 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
541 * gdb.mi/mi-solib.exp: Use standard_testfile,
542 standard_output_file.
543 * gdb.mi/mi-stack.exp: Use standard_testfile.
544 * gdb.mi/mi-stepi.exp: Use standard_testfile.
545 * gdb.mi/mi-stepn.exp: Use standard_testfile.
546 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
547 * gdb.mi/mi-until.exp: Use standard_testfile.
548 * gdb.mi/mi-var-block.exp: Use standard_testfile.
549 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
550 * gdb.mi/mi-var-child.exp: Use standard_testfile.
551 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
552 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
553 * gdb.mi/mi-var-display.exp: Use standard_testfile.
554 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
555 standard_output_file.
556 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
557 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
558 * gdb.mi/mi-watch.exp: Use standard_testfile.
559 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
560 * gdb.mi/mi2-basics.exp: Use standard_testfile.
561 * gdb.mi/mi2-break.exp: Use standard_testfile.
562 * gdb.mi/mi2-cli.exp: Use standard_testfile.
563 * gdb.mi/mi2-console.exp: Use standard_testfile.
564 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
565 * gdb.mi/mi2-eval.exp: Use standard_testfile.
566 * gdb.mi/mi2-file.exp: Use standard_testfile.
567 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
568 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
569 * gdb.mi/mi2-regs.exp: Use standard_testfile.
570 * gdb.mi/mi2-return.exp: Use standard_testfile.
571 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
572 * gdb.mi/mi2-stack.exp: Use standard_testfile.
573 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
574 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
575 * gdb.mi/mi2-until.exp: Use standard_testfile.
576 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
577 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
578 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
579 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
580 * gdb.mi/mi2-watch.exp: Use standard_testfile.
581
f5f3a911
TT
5822012-07-10 Tom Tromey <tromey@redhat.com>
583
584 * gdb.cp/abstract-origin.exp: Use standard_testfile.
585 * gdb.cp/ambiguous.exp: Use standard_testfile,
586 prepare_for_testing.
587 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
588 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
589 * gdb.cp/anon-ns.exp: Use standard_testfile.
590 * gdb.cp/anon-struct.exp: Use standard_testfile.
591 * gdb.cp/anon-union.exp: Use standard_testfile,
592 prepare_for_testing.
593 * gdb.cp/arg-reference.exp: Use standard_testfile,
594 prepare_for_testing.
595 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
596 * gdb.cp/breakpoint.exp: Use standard_testfile,
597 prepare_for_testing.
598 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
599 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
600 standard_output_file.
601 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
602 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
603 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
604 (test_static_members): Update.
605 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
606 * gdb.cp/converts.exp: Use standard_testfile.
607 * gdb.cp/cp-relocate.exp: Use standard_testfile.
608 * gdb.cp/cpcompletion.exp: Use standard_testfile,
609 prepare_for_testing.
610 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
611 * gdb.cp/cplabel.exp: Use standard_testfile.
612 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
613 prepare_for_testing.
614 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
615 * gdb.cp/derivation.exp: Use standard_testfile,
616 prepare_for_testing.
617 * gdb.cp/destrprint.exp: Use standard_testfile.
618 * gdb.cp/dispcxx.exp: Use standard_testfile.
619 * gdb.cp/exception.exp: Use standard_testfile,
620 prepare_for_testing.
621 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
622 * gdb.cp/extern-c.exp: Use standard_testfile,
623 prepare_for_testing.
624 * gdb.cp/formatted-ref.exp: Use standard_testfile,
625 prepare_for_testing.
626 * gdb.cp/fpointer.exp: Use standard_testfile.
627 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
628 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
629 standard_output_file.
630 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
631 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
632 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
633 standard_output_file.
634 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
635 (do_tests): Update.
636 * gdb.cp/koenig.exp: Use standard_testfile.
637 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
638 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
639 * gdb.cp/m-static.exp: Use standard_testfile,
640 prepare_for_testing.
641 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
642 * gdb.cp/mb-inline.exp: Use standard_testfile,
643 prepare_for_testing.
644 * gdb.cp/mb-templates.exp: Use standard_testfile,
645 prepare_for_testing.
646 * gdb.cp/member-ptr.exp: Use standard_testfile,
647 prepare_for_testing.
648 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
649 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
650 * gdb.cp/method2.exp: Use standard_testfile.
651 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
652 standard_output_file.
653 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
654 (do_tests): Update.
655 * gdb.cp/namespace-enum.exp: Use standard_testfile,
656 prepare_for_testing.
657 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
658 prepare_for_testing.
659 * gdb.cp/namespace.exp: Use standard_testfile,
660 prepare_for_testing.
661 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
662 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
663 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
664 * gdb.cp/nsimport.exp: Use standard_testfile,
665 prepare_for_testing.
666 * gdb.cp/nsnested.exp: Use standard_testfile.
667 * gdb.cp/nsnoimports.exp: Use standard_testfile.
668 * gdb.cp/nsrecurs.exp: Use standard_testfile,
669 prepare_for_testing.
670 * gdb.cp/nsstress.exp: Use standard_testfile,
671 prepare_for_testing.
672 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
673 * gdb.cp/operator.exp: Use standard_testfile.
674 * gdb.cp/oranking.exp: Use standard_testfile.
675 * gdb.cp/overload-const.exp: Use standard_testfile.
676 * gdb.cp/overload.exp: Use standard_testfile,
677 prepare_for_testing.
678 * gdb.cp/ovldbreak.exp: Use standard_testfile.
679 * gdb.cp/ovsrch.exp: Use standard_testfile.
680 * gdb.cp/paren-type.exp: Use standard_testfile.
681 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
682 prepare_for_testing.
683 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
684 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
685 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
686 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
687 * gdb.cp/pr10728.exp: Use standard_testfile,
688 standard_output_file.
689 * gdb.cp/pr12028.exp: Use standard_testfile.
690 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
691 * gdb.cp/pr9167.exp: Use standard_testfile.
692 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
693 * gdb.cp/printmethod.exp: Use standard_testfile,
694 prepare_for_testing.
695 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
696 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
697 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
698 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
699 standard_output_file.
700 * gdb.cp/readnow-language.exp: Use standard_testfile.
701 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
702 (gdb_start_again): Use clean_restart.
703 * gdb.cp/ref-types.exp: Use standard_testfile,
704 prepare_for_testing.
705 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
706 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
707 * gdb.cp/smartp.exp: Use standard_testfile.
708 * gdb.cp/static-method.exp: Use standard_testfile.
709 * gdb.cp/static-print-quit.exp: Use standard_testfile.
710 * gdb.cp/temargs.exp: Use standard_testfile.
711 * gdb.cp/templates.exp: Use standard_testfile,
712 prepare_for_testing.
713 (do_tests): Update.
714 * gdb.cp/try_catch.exp: Use standard_testfile,
715 prepare_for_testing.
716 * gdb.cp/typedef-operator.exp: Use standard_testfile.
717 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
718 * gdb.cp/virtbase.exp: Use standard_testfile,
719 prepare_for_testing.
720 * gdb.cp/virtfunc.exp: Use standard_testfile,
721 prepare_for_testing.
722 (do_tests): Update.
723 * gdb.cp/virtfunc2.exp: Use standard_testfile,
724 prepare_for_testing.
725
686f09d0
TT
7262012-07-10 Tom Tromey <tromey@redhat.com>
727
728 * lib/gdb.exp (standard_testfile): Unset output variables from
729 earlier invocations.
730
9357e021
YQ
7312012-07-10 Yao Qi <yao@codesourcery.com>
732
733 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
734 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
735 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
736 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
737 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
738 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
739 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
740 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
741 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
742 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
743 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
744 * gdb.mi/mi-var-display.exp: Likewise.
745 * gdb.mi/mi-var-invalidate.exp: Likewise.
746 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
747 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
748 * gdb.mi/mi2-console.exp: Likewise.
749 * gdb.mi/mi2-disassemble.exp: Likewise.
750 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
751 * gdb.mi/mi2-read-memory.exp: Likewise.
752 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
753 * gdb.mi/mi2-simplerun.exp: Likewise.
754 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
755 * gdb.mi/mi2-syn-frame.exp: Likewise.
756 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
757 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
758 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
759
e314d629
TT
7602012-07-09 Tom Tromey <tromey@redhat.com>
761
762 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
763 * gdb.base/callfuncs.exp: Add cast-based test.
764 * gdb.base/callfuncs.c (voidfunc): New function.
765
06928b3f
DE
7662012-07-08 Doug Evans <dje@google.com>
767
768 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
769
32f11bad
JK
7702012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
771
772 Fix XFAIL compatibility with old i386 systems.
773 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
774 Check also 'Cannot insert breakpoint 0'.
775
76b83c51
JK
7762012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
777
778 PR 14321
779 * gdb.base/find.exp
780 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
781
a6fb9c08
TT
7822012-07-06 Tom Tromey <tromey@redhat.com>
783
784 * gdb.base/whatis.exp: Add test.
785
71918a86
TT
7862012-07-06 Tom Tromey <tromey@redhat.com>
787
788 * gdb.base/whatis.exp: Add regression test.
789
fcde5961
TT
7902012-07-06 Tom Tromey <tromey@redhat.com>
791
792 * gdb.base/whatis.exp: Add tests.
793
f9cf0f4a
JK
7942012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
795
796 PR 12649
797 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
798 gdb_test_multiple $gdb_prompt terminator.
799
979ade8b
PA
8002012-07-04 Pedro Alves <palves@redhat.com>
801
802 * gdb.mi/mi-reverse.exp: Use supports_reverse and
803 supports_process_record.
804
8a980b44
PA
8052012-07-04 Pedro Alves <palves@redhat.com>
806
807 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
808 endings.
809 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
810
855ba978
SS
8112012-07-03 Stan Shebs <stan@codesourcery.com>
812
813 * gdb.base/info-os.c (main): Retry resource acquisition until an
814 available one is found.
815 * gdb.base/info-os.exp: Collect resource keys from the program
816 and use them in matching.
817
fcb44371
JK
8182012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
819
820 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
821 Wrap the test into loop for corefile and core0file.
822
08a67be6
JK
8232012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
824
825 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
826 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
827 .note.GNU-stack.
828
0f3c2347
JK
829 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
830
ff4a4500
SDJ
8312012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
832
833 * gdb.base/help.exp (help b, help br, help bre, help brea, help
834 break): Include help message for the new `-probe' and `-probe-stap'
835 options.
836
d3ce09f5
SS
8372012-07-02 Stan Shebs <stan@codesourcery.com>
838
839 * gdb.base/dprintf.exp: Add agent style tests.
840
a1624241
JK
8412012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
842
843 * gdb.base/stale-infcall.c (infcall): New label test-next.
844 (main): New labels test-pass and test-fail.
845 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
846 $test_fail_bpnum to test-fail.
847 (test system longjmp tracking support): New test.
848 Delete $test_fail_bpnum.
849 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
850 breakpoint.
851
42e7ad6c
DE
8522012-06-30 Doug Evans <dje@google.com>
853
854 * gdb.dwarf2/fission-reread.S: New file.
855 * gdb.dwarf2/fission-reread.exp: New file.
856
37ce89eb
SS
8572012-06-28 Stan Shebs <stan@codesourcery.com>
858
859 * gdb.mi/mi-logging.exp: New file.
860
e5ef252a
PA
8612012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
862 Pedro Alves <palves@redhat.com>
863
864 * gdb.threads/siginfo-threads.exp: New file.
865 * gdb.threads/siginfo-threads.c: New file.
866 * gdb.threads/sigstep-threads.exp: New file.
867 * gdb.threads/sigstep-threads.c: New file.
868
22f1fbae
TT
8692012-06-28 Tom Tromey <tromey@redhat.com>
870
871 * gdb.go/package.exp: Partially revert earlier patch; use
872 gdb_compile again. Use standard_output_file.
873
2e3cf129
DE
8742012-06-27 Doug Evans <dje@google.com>
875
876 * gdb.dwarf2/fission-base.c: New file.
877 * gdb.dwarf2/fission-base.S: New file.
878 * gdb.dwarf2/fission-base.exp: New file.
879
785fd303
JK
8802012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
881
882 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
883
1bb9788d
TT
8842012-06-27 Tom Tromey <tromey@redhat.com>
885
886 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
887 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
888
c83ee902
TT
8892012-06-27 Tom Tromey <tromey@redhat.com>
890
891 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
892 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
893 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
894 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
895 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
896 prepare_for_testing.
897 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
898 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
899 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
900 standard_testfile.
901 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
902 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
903 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
904 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
905 prepare_for_testing.
906 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
907 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
908 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
909 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
910 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
911 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
912 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
913 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
914 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
915 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
916 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
917 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
918 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
919 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
920 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
921 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
922 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
923 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
924 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
925 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
926 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
927 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
928 standard_output_file.
929 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
930 standard_output_file.
931 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
932 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
933 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
934 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
935 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
936 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
937 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
938 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
939 * gdb.dwarf2/implptr.exp: Use standard_testfile.
940 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
941 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
942 * gdb.dwarf2/pieces.exp: Use standard_testfile.
943 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
944 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
945 * gdb.dwarf2/valop.exp: Use standard_testfile,
946 prepare_for_testing.
947
5204774b
TT
9482012-06-27 Tom Tromey <tromey@redhat.com>
949
950 * gdb.python/python.exp: Fix regexps in pagination tests.
951
ee0bf529
SCR
9522012-06-26 Siva Chandra Reddy <sivachandra@google.com>
953
954 * gdb.python/py-symtab.exp: Add tests to test the new attribute
955 'last' of gdb.Symtab_and_line.
956 * gdb.python/py-symbol.c: Move break point comment to enable
957 testing of gdb.Symtab_and_line.last.
958
14fcc022
TT
9592012-06-26 Tom Tromey <tromey@redhat.com>
960
961 * gdb.threads/step.c: Remove.
962 * gdb.threads/step.exp: Remove.
963 * gdb.threads/step2.exp: Remove.
964
0efbbabc
TT
9652012-06-26 Tom Tromey <tromey@redhat.com>
966
967 * gdb.threads/watchpoint-fork.exp (test): Use
968 standard_output_file. Don't declare objdir.
969 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
970 standard_output_file.
971 * gdb.threads/attach-stopped.exp: Use standard_testfile.
972 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
973 clean_restart. Remove incdir.
974 * gdb.threads/corethreads.exp: Use standard_testfile.
975 * gdb.threads/execl.exp: Use standard_testfile,
976 standard_output_file, clean_restart.
977 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
978 clean_restart.
979 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
980 clean_restart.
981 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
982 incdir.
983 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
984 clean_restart. Remove incdir.
985 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
986 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
987 clean_restart. Remove incdir.
988 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
989 Remove incdir.
990 * gdb.threads/leader-exit.exp: Use standard_testfile.
991 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
992 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
993 clean_restart.
994 * gdb.threads/manythreads.exp: Use standard_testfile,
995 clean_restart. Remove incdir.
996 * gdb.threads/multi-create.exp: Use standard_testfile,
997 clean_restart.
998 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
999 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
1000 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
1001 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
1002 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
1003 * gdb.threads/pending-step.exp: Use standard_testfile,
1004 clean_restart. Remove incdir.
1005 * gdb.threads/print-threads.exp: Use standard_testfile,
1006 clean_restart. Remove incdir.
1007 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
1008 clean_restart. Remove incdir.
1009 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
1010 Remove incdir.
1011 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
1012 incdir.
1013 * gdb.threads/sigthread.exp: Use standard_testfile,
1014 clean_restart.
1015 * gdb.threads/staticthreads.exp: Use standard_testfile,
1016 clean_restart. Remove incdir.
1017 * gdb.threads/switch-threads.exp: Use standard_testfile,
1018 clean_restart. Remove incdir.
1019 * gdb.threads/thread-execl.exp: Use standard_testfile,
1020 clean_restart. Remove incdir.
1021 * gdb.threads/thread-find.exp: Use standard_testfile,
1022 clean_restart.
1023 * gdb.threads/thread-specific.exp: Use standard_testfile,
1024 clean_restart. Remove incdir.
1025 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
1026 clean_restart. Remove incdir.
1027 * gdb.threads/thread_check.exp: Use standard_testfile,
1028 clean_restart. Remove incdir.
1029 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
1030 incdir.
1031 * gdb.threads/threadapply.exp: Use standard_testfile,
1032 clean_restart. Remove incdir.
1033 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
1034 clean_restart. Remove incdir.
1035 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
1036 clean_restart.
1037 * gdb.threads/tls-shared.exp: Use standard_testfile,
1038 clean_restart, standard_output_file.
1039 * gdb.threads/tls-var.exp: Use standard_testfile,
1040 standard_output_file.
1041 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
1042 Remove incdir.
1043 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
1044 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
1045 incdir.
1046 * gdb.threads/watchthreads2.exp: Use standard_testfile,
1047 clean_restart. Remove incdir.
1048
497a5eb0
TT
10492012-06-26 Tom Tromey <tromey@redhat.com>
1050
1051 * gdb.trace/actions.exp: Use standard_testfile.
1052 * gdb.trace/ax.exp: Use standard_testfile.
1053 * gdb.trace/backtrace.exp: Use standard_testfile.
1054 * gdb.trace/change-loc.exp: Use standard_testfile.
1055 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
1056 * gdb.trace/collection.exp: Use standard_testfile,
1057 prepare_for_testing.
1058 * gdb.trace/deltrace.exp: Use standard_testfile.
1059 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
1060 * gdb.trace/ftrace.exp: Use standard_testfile.
1061 * gdb.trace/infotrace.exp: Use standard_testfile.
1062 * gdb.trace/packetlen.exp: Use standard_testfile.
1063 * gdb.trace/passc-dyn.exp: Use standard_testfile.
1064 * gdb.trace/passcount.exp: Use standard_testfile.
1065 * gdb.trace/pending.exp: Use standard_testfile.
1066 * gdb.trace/report.exp: Use standard_testfile.
1067 * gdb.trace/save-trace.exp: Use standard_testfile.
1068 * gdb.trace/stap-trace.exp: Use standard_testfile.
1069 * gdb.trace/status-stop.exp: Use standard_testfile.
1070 * gdb.trace/strace.exp: Use standard_testfile.
1071 * gdb.trace/tfile.exp: Use standard_testfile.
1072 * gdb.trace/tfind.exp: Use standard_testfile.
1073 * gdb.trace/trace-break.exp: Use standard_testfile.
1074 * gdb.trace/trace-mt.exp: Use standard_testfile.
1075 * gdb.trace/tracecmd.exp: Use standard_testfile.
1076 * gdb.trace/tspeed.exp: Use standard_testfile.
1077 * gdb.trace/tstatus.exp: Use standard_testfile.
1078 * gdb.trace/tsv.exp: Use standard_testfile.
1079 * gdb.trace/unavailable.exp: Use standard_testfile,
1080 prepare_for_testing.
1081 * gdb.trace/while-dyn.exp: Use standard_testfile.
1082 * gdb.trace/while-stepping.exp: Use standard_testfile.
1083
7686c074
TT
10842012-06-26 Tom Tromey <tromey@redhat.com>
1085
1086 * gdb.reverse/break-precsave.exp: Use standard_testfile.
1087 * gdb.reverse/break-reverse.exp: Use standard_testfile.
1088 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
1089 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
1090 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
1091 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
1092 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
1093 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
1094 prepare_for_testing.
1095 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
1096 prepare_for_testing.
1097 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
1098 prepare_for_testing.
1099 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
1100 prepare_for_testing.
1101 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
1102 prepare_for_testing
1103 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
1104 * gdb.reverse/machinestate.exp: Use standard_testfile.
1105 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
1106 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
1107 build_executable.
1108 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
1109 build_executable.
1110 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
1111 standard_output_file.
1112 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
1113 standard_output_file.
1114 * gdb.reverse/step-precsave.exp: Use standard_testfile.
1115 * gdb.reverse/step-reverse.exp: Use standard_testfile.
1116 * gdb.reverse/until-precsave.exp: Use standard_testfile.
1117 * gdb.reverse/until-reverse.exp: Use standard_testfile.
1118 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
1119 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
1120
481fc100
TT
11212012-06-26 Tom Tromey <tromey@redhat.com>
1122
1123 * gdb.stabs/weird.exp: Remove directory-checking code. Use
1124 standard_output_file.
1125 * gdb.stabs/exclfwd.exp: Use standard_testfile,
1126 prepare_for_testing. Remove directory-checking code.
1127
7bb18ae2
TT
11282012-06-25 Tom Tromey <tromey@redhat.com>
1129
1130 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
1131 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
1132 build_executable, not prepare_for_testing.
1133 * gdb.multi/base.exp: Use standard_output_file. Use
1134 build_executable, not prepare_for_testing.
1135
cf09b3e4
TT
11362012-06-25 Tom Tromey <tromey@redhat.com>
1137
1138 * gdb.fortran/subarray.exp: Use standard_testfile,
1139 prepare_for_testing.
1140 * gdb.fortran/multi-dim.exp: Use standard_testfile.
1141 * gdb.fortran/module.exp: Use standard_testfile.
1142 * gdb.fortran/logical.exp: Use standard_testfile.
1143 * gdb.fortran/library-module.exp: Use standard_testfile,
1144 standard_output_file.
1145 * gdb.fortran/derived-type.exp: Use standard_testfile,
1146 prepare_for_testing.
1147 * gdb.fortran/complex.exp: Use standard_testfile,
1148 prepare_for_testing.
1149 * gdb.fortran/charset.exp: Use standard_testfile.
1150 * gdb.fortran/array-element.exp: Use standard_testfile,
1151 prepare_for_testing.
1152
18b5ff1b
KS
11532012-06-25 Keith Seitz <keiths@redhat.com>
1154
1155 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
1156 Change rbreak-related tests to KFAIL and add bugzilla numbers.
1157
17b77626
TT
11582012-06-25 Tom Tromey <tromey@redhat.com>
1159
1160 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
1161 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
1162 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
1163 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
1164
f91e3dc1
TT
11652012-06-25 Tom Tromey <tromey@redhat.com>
1166
1167 * gdb.linespec/ls-errs.exp: Use standard_testfile.
1168 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
1169 * gdb.linespec/linespec.exp: Use standard_testfile.
1170
a884434d
TT
11712012-06-25 Tom Tromey <tromey@redhat.com>
1172
1173 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
1174 prepare_for_testing.
1175
efc9d70a
TT
11762012-06-25 Tom Tromey <tromey@redhat.com>
1177
1178 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
1179 prepare_for_testing.
1180 * gdb.opt/inline-break.exp: Use standard_testfile,
1181 prepare_for_testing.
1182 * gdb.opt/inline-bt.exp: Use standard_testfile,
1183 prepare_for_testing.
1184 * gdb.opt/inline-cmds.exp: Use standard_testfile,
1185 prepare_for_testing.
1186 * gdb.opt/inline-locals.exp: Use standard_testfile,
1187 prepare_for_testing.
1188
e2fc92c6
TT
11892012-06-25 Tom Tromey <tromey@redhat.com>
1190
1191 * gdb.asm/asm-source.exp: Use standard_output_file,
1192 standard_testfile. Construct .o files in proper subdir.
1193
b0963d73
TT
11942012-06-25 Tom Tromey <tromey@redhat.com>
1195
1196 * gdb.server/ext-attach.exp: Use standard_testfile,
1197 prepare_for_testing.
1198 * gdb.server/ext-run.exp: Use standard_testfile,
1199 build_executable.
1200 * gdb.server/file-transfer.exp: Use standard_testfile,
1201 prepare_for_testing.
1202 * gdb.server/server-exec-info.exp: Use standard_testfile.
1203 * gdb.server/server-mon.exp: Use standard_testfile,
1204 prepare_for_testing.
1205 * gdb.server/server-run.exp: Use standard_testfile,
1206 build_executable.
1207 * gdb.server/solib-list.exp: Use standard_testfile,
1208 standard_output_file.
1209
8a3e1f8d
TT
12102012-06-25 Tom Tromey <tromey@redhat.com>
1211
1212 * lib/gdb.exp (standard_output_file): Use "file join".
1213 * gdb.go/chan.exp: Use standard_testfile.
1214 * gdb.go/handcall.exp: Use standard_testfile.
1215 * gdb.go/hello.exp: Use standard_testfile.
1216 * gdb.integers/chan.exp: Use standard_testfile.
1217 * gdb.go/methods.exp: Use standard_testfile.
1218 * gdb.go/package.exp: Use standard_testfile.
1219 * gdb.go/strings.exp: Use standard_testfile.
1220 * gdb.go/types.exp: Use standard_testfile.
1221 * gdb.go/unsafe.exp: Use standard_testfile.
1222
944a9061
MGD
12232012-06-25 Greta Yorsh <greta.yorsh@arm.com>
1224
1225 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
1226
1c06bd58
JK
12272012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1228
1229 Fix regression by the previous commit.
1230 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
1231
b4a58790
TT
12322012-06-22 Tom Tromey <tromey@redhat.com>
1233
1234 * gdb.python/lib-types.exp: Use standard_testfile,
1235 prepare_for_testing.
1236 * gdb.python/py-block.exp: Use standard_testfile.
1237 * gdb.python/py-breakpoint.exp: Use standard_testfile.
1238 * gdb.python/py-events.exp: Use standard_testfile,
1239 standard_output_file.
1240 * gdb.python/py-evsignal.exp: Use standard_testfile.
1241 * gdb.python/py-evethreads.exp: Use standard_testfile.
1242 * gdb.python/py-explore-cc.exp: Use standard_testfile.
1243 * gdb.python/py-explore.exp: Use standard_testfile.
1244 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
1245 standard_output_file.
1246 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
1247 prepare_for_testing.
1248 * gdb.python/py-frame-inline.exp: Use standard_testfile.
1249 * gdb.python/py-frame.exp: Use standard_testfile.
1250 * gdb.python/py-inferior.exp: Use standard_testfile.
1251 * gdb.python/py-infthread.exp: Use standard_testfile.
1252 * gdb.python/py-mi.exp: Use standard_testfile.
1253 * gdb.python/py-objfile-script.exp: Use standard_testfile,
1254 build_executable.
1255 * gdb.python/py-objfile.exp: Use standard_testfile.
1256 * gdb.python/py-pp-maint.exp: Use standard_testfile,
1257 prepare_for_testing.
1258 * gdb.python/py-prettyprint.exp: Use standard_testfile.
1259 * gdb.python/py-progspace.exp: Use standard_testfile,
1260 build_executable.
1261 * gdb.python/py-prompt.exp: Use standard_testfile,
1262 build_executable.
1263 * gdb.python/py-section-script.exp: Use standard_testfile,
1264 build_executable.
1265 * gdb.python/py-shared.exp: Use standard_testfile,
1266 standard_output_file, clean_restart.
1267 * gdb.python/py-symbol.exp: Use standard_output_file,
1268 prepare_for_testing.
1269 * gdb.python/py-symtab.exp: Use standard_output_file,
1270 prepare_for_testing
1271 * gdb.python/py-template.exp: Use standard_testfile.
1272 * gdb.python/py-type.exp: Use standard_testfile.
1273 * gdb.python/py-value-cc.exp: Use standard_testfile.
1274 * gdb.python/py-value.exp: Use standard_testfile.
1275 * gdb.python/python.exp: Use standard_testfile, build_executable.
1276
2c44deac
TT
12772012-06-22 Tom Tromey <tromey@redhat.com>
1278
1279 * gdb.objc/basicclass.exp: Use standard_testfile.
1280 (do_objc_tests): Don't declare objdir.
1281 * gdb.objc/nondebug.exp: Use standard_testfile.
1282 (do_objc_tests): Don't declare objdir.
1283 * gdb.objc/objcdecode.exp: Use standard_testfile.
1284 (do_objc_tests): Don't declare objdir.
1285
c24ccbce
TT
12862012-06-22 Tom Tromey <tromey@redhat.com>
1287
1288 * gdb.java/jmain.exp: Use standard_testfile.
1289 * gdb.java/jmisc.exp: Use standard_testfile.
1290 * gdb.java/jnpe.exp: Use standard_testfile.
1291 * gdb.java/jprint.exp: Use standard_testfile.
1292
0a6d0306
TT
12932012-06-22 Tom Tromey <tromey@redhat.com>
1294
1295 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
1296 (standard_output_file, standard_testfile): New procs.
1297 (build_executable, clean_restart): Use standard_output_file.
1298
6ea815ef
YQ
12992012-06-22 Yao Qi <yao@codesourcery.com>
1300
1301 * boards/native-gdbserver.exp: New proc ${board}_exec.
1302 * boards/native-stdio-gdbserver.exp: Likewise.
1303
4c93b1db
TT
13042012-06-21 Tom Tromey <tromey@redhat.com>
1305
1306 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
1307 (build_executable): Update.
1308 (get_compiler_info): Remove 'binfile' argument.
1309 * gdb.ada/arrayidx.exp: Update.
1310 * gdb.ada/null_array.exp: Update.
1311 * gdb.arch/altivec-abi.exp: Update.
1312 * gdb.arch/altivec-regs.exp: Update.
1313 * gdb.arch/amd64-byte.exp: Update.
1314 * gdb.arch/amd64-dword.exp: Update.
1315 * gdb.arch/amd64-word.exp: Update.
1316 * gdb.arch/i386-avx.exp: Update.
1317 * gdb.arch/i386-byte.exp: Update.
1318 * gdb.arch/i386-sse.exp: Update.
1319 * gdb.arch/i386-word.exp: Update.
1320 * gdb.arch/ppc-dfp.exp: Update.
1321 * gdb.arch/ppc-fp.exp: Update.
1322 * gdb.arch/vsx-regs.exp: Update.
1323 * gdb.base/all-bin.exp: Update.
1324 * gdb.base/annota1.exp: Update.
1325 * gdb.base/async.exp: Update.
1326 * gdb.base/attach.exp: Update.
1327 * gdb.base/break-interp.exp: Update.
1328 * gdb.base/call-ar-st.exp: Update.
1329 * gdb.base/call-rt-st.exp: Update.
1330 * gdb.base/call-sc.exp: Update.
1331 * gdb.base/callfuncs.exp: Update.
1332 * gdb.base/catch-load.exp: Update.
1333 * gdb.base/completion.exp: Update.
1334 * gdb.base/complex.exp: Update.
1335 * gdb.base/condbreak.exp: Update.
1336 * gdb.base/consecutive.exp: Update.
1337 * gdb.base/constvars.exp: Update.
1338 * gdb.base/corefile.exp: Update.
1339 * gdb.base/eval-skip.exp: Update.
1340 * gdb.base/expand-psymtabs.exp: Update.
1341 * gdb.base/exprs.exp: Update.
1342 * gdb.base/fileio.exp: Update.
1343 * gdb.base/fixsection.exp: Update.
1344 * gdb.base/funcargs.exp: Update.
1345 * gdb.base/gdb11530.exp: Update.
1346 * gdb.base/gdb1555.exp: Update.
1347 * gdb.base/gnu-ifunc.exp: Update.
1348 * gdb.base/gnu_vector.exp: Update.
1349 * gdb.base/info-macros.exp: Update.
1350 * gdb.base/jit-simple.exp: Update.
1351 * gdb.base/jit-so.exp: Update.
1352 * gdb.base/jit.exp: Update.
1353 * gdb.base/langs.exp: Update.
1354 * gdb.base/list.exp: Update.
1355 * gdb.base/logical.exp: Update.
1356 * gdb.base/long_long.exp: Update.
1357 * gdb.base/longjmp.exp: Update.
1358 * gdb.base/macscp.exp: Update.
1359 * gdb.base/mips_pro.exp: Update.
1360 * gdb.base/miscexprs.exp: Update.
1361 * gdb.base/morestack.exp: Update.
1362 * gdb.base/nodebug.exp: Update.
1363 * gdb.base/opaque.exp: Update.
1364 * gdb.base/pc-fp.exp: Update.
1365 * gdb.base/pending.exp: Update.
1366 * gdb.base/permissions.exp: Update.
1367 * gdb.base/pointers.exp: Update.
1368 * gdb.base/prelink.exp: Update.
1369 * gdb.base/printcmds.exp: Update.
1370 * gdb.base/psymtab.exp: Update.
1371 * gdb.base/ptype.exp: Update.
1372 * gdb.base/relational.exp: Update.
1373 * gdb.base/scope.exp: Update.
1374 * gdb.base/setvar.exp: Update.
1375 * gdb.base/shlib-call.exp: Update.
1376 * gdb.base/shreloc.exp: Update.
1377 * gdb.base/signals.exp: Update.
1378 * gdb.base/sizeof.exp: Update.
1379 * gdb.base/so-impl-ld.exp: Update.
1380 * gdb.base/so-indr-cl.exp: Update.
1381 * gdb.base/solib-disc.exp: Update.
1382 * gdb.base/solib-display.exp: Update.
1383 * gdb.base/solib-nodir.exp: Update.
1384 * gdb.base/solib-overlap.exp: Update.
1385 * gdb.base/solib-symbol.exp: Update.
1386 * gdb.base/solib-weak.exp: Update.
1387 * gdb.base/solib.exp: Update.
1388 * gdb.base/store.exp: Update.
1389 * gdb.base/structs.exp: Update.
1390 * gdb.base/structs2.exp: Update.
1391 * gdb.base/type-opaque.exp: Update.
1392 * gdb.base/unload.exp: Update.
1393 * gdb.base/varargs.exp: Update.
1394 * gdb.base/volatile.exp: Update.
1395 * gdb.base/watch_thread_num.exp: Update.
1396 * gdb.base/watchpoint-solib.exp: Update.
1397 * gdb.base/watchpoint.exp: Update.
1398 * gdb.base/watchpoints.exp: Update.
1399 * gdb.base/whatis.exp: Update.
1400 * gdb.cell/arch.exp: Update.
1401 * gdb.cell/break.exp: Update.
1402 * gdb.cell/bt.exp: Update.
1403 * gdb.cell/core.exp: Update.
1404 * gdb.cell/data.exp: Update.
1405 * gdb.cell/ea-cache.exp: Update.
1406 * gdb.cell/f-regs.exp: Update.
1407 * gdb.cell/fork.exp: Update.
1408 * gdb.cell/gcore.exp: Update.
1409 * gdb.cell/mem-access.exp: Update.
1410 * gdb.cell/ptype.exp: Update.
1411 * gdb.cell/registers.exp: Update.
1412 * gdb.cell/sizeof.exp: Update.
1413 * gdb.cell/solib-symbol.exp: Update.
1414 * gdb.cell/solib.exp: Update.
1415 * gdb.cp/ambiguous.exp: Update.
1416 * gdb.cp/breakpoint.exp: Update.
1417 * gdb.cp/bs15503.exp: Update.
1418 * gdb.cp/casts.exp: Update.
1419 * gdb.cp/class2.exp: Update.
1420 * gdb.cp/cpexprs.exp: Update.
1421 * gdb.cp/cplusfuncs.exp: Update.
1422 * gdb.cp/ctti.exp: Update.
1423 * gdb.cp/dispcxx.exp: Update.
1424 * gdb.cp/gdb1355.exp: Update.
1425 * gdb.cp/gdb2384.exp: Update.
1426 * gdb.cp/gdb2495.exp: Update.
1427 * gdb.cp/infcall-dlopen.exp: Update.
1428 * gdb.cp/local.exp: Update.
1429 * gdb.cp/m-data.exp: Update.
1430 * gdb.cp/m-static.exp: Update.
1431 * gdb.cp/mb-ctor.exp: Update.
1432 * gdb.cp/mb-inline.exp: Update.
1433 * gdb.cp/mb-templates.exp: Update.
1434 * gdb.cp/member-ptr.exp: Update.
1435 * gdb.cp/method.exp: Update.
1436 * gdb.cp/namespace.exp: Update.
1437 * gdb.cp/nextoverthrow.exp: Update.
1438 * gdb.cp/nsdecl.exp: Update.
1439 * gdb.cp/nsrecurs.exp: Update.
1440 * gdb.cp/nsstress.exp: Update.
1441 * gdb.cp/nsusing.exp: Update.
1442 * gdb.cp/pr-1023.exp: Update.
1443 * gdb.cp/pr-1210.exp: Update.
1444 * gdb.cp/pr-574.exp: Update.
1445 * gdb.cp/pr9631.exp: Update.
1446 * gdb.cp/printmethod.exp: Update.
1447 * gdb.cp/psmang.exp: Update.
1448 * gdb.cp/re-set-overloaded.exp: Update.
1449 * gdb.cp/rtti.exp: Update.
1450 * gdb.cp/shadow.exp: Update.
1451 * gdb.cp/templates.exp: Update.
1452 * gdb.cp/try_catch.exp: Update.
1453 * gdb.dwarf2/dw2-ranges.exp: Update.
1454 * gdb.dwarf2/pr10770.exp: Update.
1455 * gdb.fortran/library-module.exp: Update.
1456 * gdb.hp/gdb.aCC/optimize.exp: Update.
1457 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
1458 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
1459 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
1460 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
1461 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
1462 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
1463 * gdb.hp/gdb.compat/xdb1.exp: Update.
1464 * gdb.hp/gdb.compat/xdb2.exp: Update.
1465 * gdb.hp/gdb.compat/xdb3.exp: Update.
1466 * gdb.hp/gdb.defects/bs14602.exp: Update.
1467 * gdb.hp/gdb.defects/solib-d.exp: Update.
1468 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
1469 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
1470 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
1471 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
1472 * gdb.mi/gdb792.exp: Update.
1473 * gdb.mi/mi-pending.exp: Update.
1474 * gdb.mi/mi-solib.exp: Update.
1475 * gdb.mi/mi-var-cp.exp: Update.
1476 * gdb.opt/clobbered-registers-O2.exp: Update.
1477 * gdb.opt/inline-bt.exp: Update.
1478 * gdb.opt/inline-cmds.exp: Update.
1479 * gdb.opt/inline-locals.exp: Update.
1480 * gdb.python/py-events.exp: Update.
1481 * gdb.python/py-finish-breakpoint.exp: Update.
1482 * gdb.python/py-type.exp: Update.
1483 * gdb.reverse/solib-precsave.exp: Update.
1484 * gdb.reverse/solib-reverse.exp: Update.
1485 * gdb.server/solib-list.exp: Update.
1486 * gdb.stabs/weird.exp: Update.
1487 * gdb.threads/attach-into-signal.exp: Update.
1488 * gdb.threads/attach-stopped.exp: Update.
1489 * gdb.threads/tls-shared.exp: Update.
1490 * gdb.trace/change-loc.exp: Update.
1491 * gdb.trace/strace.exp: Update.
1492
95c391b6
TT
14932012-06-19 Tom Tromey <tromey@redhat.com>
1494
1495 * gdb.base/whatis.exp: Add tests.
1496
e910f0b6
TT
14972012-06-19 Tom Tromey <tromey@redhat.com>
1498
1499 * gdb.cp/m-static.cc (keepalive): New function.
1500 (gnu_obj_1::method): Use it.
1501
422d65e7
DE
15022012-06-18 Doug Evans <dje@google.com>
1503
1504 * gdb.base/info-fun.exp: New file.
1505 * gdb.base/info-fun.c: New file.
1506 * gdb.base/info-fun-solib.c: New file.
1507
e2e4d78b
JK
15082012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1509
1510 Remove stale dummy frames.
1511 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
1512 (maintenance info breakpoints): New tests.
1513 * gdb.base/stale-infcall.c: New file.
1514 * gdb.base/stale-infcall.exp: New file.
1515
1788b2d3
JK
15162012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1517
1518 * gdb.arch/amd64-entry-value-param.S: New file.
1519 * gdb.arch/amd64-entry-value-param.c: New file.
1520 * gdb.arch/amd64-entry-value-param.exp: New file.
1521
663b969e
TT
15222012-06-15 Tom Tromey <tromey@redhat.com>
1523
1524 * gdb.cp/namespace.exp: Add "show lang" test.
1525
8e09ad05
IS
15262012-06-15 Iain Sandoe <iain@codesourcery.com>
1527
1528 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
1529 case. (top level): Use gdb_file_cmd instead of gdb_load.
1530
f85e18ee
JK
15312012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1532
1533 PR tdep/14222
1534 * gdb.arch/i386-sse-stack-align.S: New file.
1535 * gdb.arch/i386-sse-stack-align.c: New file.
1536 * gdb.arch/i386-sse-stack-align.exp: New file.
1537
f3b5e280
KS
15382012-06-13 Keith Seitz <keiths@redhat.com>
1539
1540 PR breakpoints/13798 and mi/11541
1541 * gdb.linespec/ls-errs.exp: Add a few more tests for
1542 filenames with spaces and colons.
1543
50af5481
JK
15442012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1545
1546 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
1547 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
1548 (test_function): Call CV_f.
1549 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
1550 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
1551 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
1552 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
1553 (p CV_f(CV::i)): New tests.
1554
d55637df
TT
15552012-06-13 Tom Tromey <tromey@redhat.com>
1556
1557 * gdb.base/condbreak.exp: Add tests for "condition" completion.
1558
cc80f267
JK
15592012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1560
1561 Fix regression by the "ambiguous linespec" series.
1562 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
1563 tests.
1564
bb2af9cc
JK
15652012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1566
1567 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
1568 missing.
1569
e81a37f7
TT
15702012-06-11 Tom Tromey <tromey@redhat.com>
1571
1572 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
1573 location...
1574 (main): ...here.
1575
8efd7788
YQ
15762012-06-07 Yao Qi <yao@codesourcery.com>
1577
1578 * gdb.trace/strace.exp: Shorten some too-long lines.
1579
359f5fe6
PA
15802012-06-06 Pedro Alves <palves@redhat.com>
1581
1582 * gdb.threads/clone-new-thread-event.c: New file.
1583 * gdb.threads/clone-new-thread-event.exp: New file.
1584
7b2fe205
YQ
15852012-06-06 Yao Qi <yao@codesourcery.com>
1586
1587 * gdb.base/dprintf.c (main): Add extra parameter when calling
1588 printf and fprintf.
1589 (bar): New function. It is a dead function, but to ensure
1590 'malloc' is linked explicitly.
1591
3eca55e8
YQ
15922012-06-06 Yao Qi <yao@codesourcery.com>
1593
1594 * gdb.base/info-proc.exp: Return if target doesn't support
1595 'info proc'.
1596
91cc9324
JK
15972012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1598
1599 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
1600 (run program with breakpoint commands): XFAIl if it is not.
1601
c56e7c43
JB
16022012-06-05 Joel Brobecker <brobecker@adacore.com>
1603
1604 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
1605 and add comment.
1606 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
1607 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
1608 "STOP" marker. Adjust testing strategy to make it work on
1609 all targets.
1610
1611 * gdb.base/print-file-var-main.c (main): Rewrite using local
1612 variables and adjust get_version_2's return value check.
1613 Add small comment.
1614 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
1615 marker. Adjust testing strategy to make it work on all targets.
1616
ccab2054
JB
16172012-06-05 Joel Brobecker <brobecker@adacore.com>
1618
1619 * gdb.ada/bad-task-bp-keyword: New testcase.
1620
d0d86158
JK
16212012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1622
1623 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
1624 Simplify it to ...
1625 (symbol-file ${testfile1}): ... here.
1626 (test eliminated var my_global_symbol)
1627 (test eliminated var my_static_symbol)
1628 (test eliminated var my_global_func, get address of main): Wrap them to
1629 'single psymtabs' and 'single symtabs'
1630 (get address of my_global_symbol, get address of my_static_symbol)
1631 (get address of my_global_func, get address of main): Wrap them to
1632 'order1' and 'order2'.
1633
952cf74c
JK
1634 * gdb.base/code_elim.exp
1635 (add-symbol-file ${testfile1} 0x100000)
1636 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
1637 'order2'.
1638 (order1: add-symbol-file ${testfile1} 0x100000)
1639 (order1: add-symbol-file ${testfile2} 0x200000)
1640 (order2: add-symbol-file ${testfile2} 0x200000)
1641 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
1642 .bss as appropriate.
1643
0c5bf5a9
JK
16442012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1645
1646 * gdb.server/solib-list-lib.c: New file.
1647 * gdb.server/solib-list-main.c: New file.
1648 * gdb.server/solib-list.exp: New file.
1649
4196f325
MR
16502012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
1651
1652 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
1653 for 'set print symbol' change.
1654
bfb05775
JK
16552012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1656
1657 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
1658 .debug_abbrev_seg3.
1659
685b1105
JK
16602012-05-24 John Steele Scott <toojays@toojays.net>
1661
1662 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
1663 * gdb.dwarf2/dw2-icc-opaque.S: New file.
1664 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
1665
f3e0e960
SS
16662012-05-23 Stan Shebs <stan@codesourcery.com>
1667
1668 * gdb.mi/mi-info-os.exp: New file.
1669
11eb1b4d
KS
16702012-05-23 Keith Seitz <keiths@redhat.com>
1671
1672 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
1673 return -1 to suppress the rest of the tests.
1674 (compile_stap_bin): Return boolean success value.
1675
b1af9e97
TT
16762012-05-21 Tom Tromey <tromey@redhat.com>
1677
1678 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
1679 Remove kfails.
1680 (test_print_mi_member_types): Likewise.
1681
248537e3
TT
16822012-05-21 Tom Tromey <tromey@redhat.com>
1683
1684 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
1685 print symbol' change.
1686
d791e155
TJB
16872012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
1688
1689 * gdb.python/py-prompt.exp: Quit if the target is remote.
1690
e77afa2e
JK
16912012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1692
1693 Fix ERROR: internal buffer is full.
1694 * gdb.base/info-os.exp (expect_multiline): New function.
1695 (get process list, get process groups, get threads)
1696 (get file descriptors, get internet-domain sockets)
1697 (get shared-memory regions, get semaphores, get message queues): Use
1698 it for these tests.
1699
9cb709b6
TT
17002012-05-18 Tom Tromey <tromey@redhat.com>
1701
1702 * gdb.mi/mi-var-cmd.exp: Update.
1703 * gdb.objc/basicclass.exp (do_objc_tests): Update.
1704 * gdb.cp/virtbase.exp: Update.
1705 * gdb.cp/classes.exp (test_static_members): Update.
1706 * gdb.cp/casts.exp: Update.
1707 * gdb.base/pointers.exp: Update.
1708 * gdb.base/funcargs.exp (pointer_args): Update.
1709 (structs_by_reference): Update.
1710 * gdb.base/find.exp: Update.
1711 * gdb.base/call-strs.exp: Send "set print symbol off".
1712 * gdb.base/call-ar-st.exp: Update.
1713 * gdb.ada/fun_addr.exp: Update.
1714 * gdb.base/printcmds.exp (test_print_symbol): New proc.
1715 Call it.
1716 (test_print_repeats_10, test_print_strings)
1717 (test_print_char_arrays): Update.
1718
b012acdd
TT
17192012-05-18 Tom Tromey <tromey@redhat.com>
1720
1721 * gdb.base/charset.exp (string_display): Update.
1722
1d51a733
TT
17232012-05-18 Tom Tromey <tromey@redhat.com>
1724
1725 * gdb.mi/mi2-var-display.exp: Update.
1726 * gdb.mi/mi-var-display.exp: Update.
1727 * gdb.mi/mi-var-child.exp: Update.
1728 * gdb.cp/expand-psymtabs-cxx.exp: Update.
1729 * gdb.cp/cp-relocate.exp (get_func_address): Update.
1730
957df313
DE
17312012-05-17 Doug Evans <dje@google.com>
1732
682c7f7b
DE
1733 * info-macros.exp: Pass "debug" to prepare_for_testing.
1734
957df313
DE
1735 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
1736 * gdb.ada/Makefile.in (clean): Ditto.
1737 * gdb.arch/Makefile.in (clean): Ditto.
1738 * gdb.asm/Makefile.in (clean): Ditto.
1739 * gdb.base/Makefile.in (clean): Ditto.
1740 * gdb.cell/Makefile.in (clean): Ditto.
1741 * gdb.cp/Makefile.in (clean): Ditto.
1742 * gdb.disasm/Makefile.in (clean): Ditto.
1743 * gdb.dwarf2/Makefile.in (clean): Ditto.
1744 * gdb.fortran/Makefile.in (clean): Ditto.
1745 * gdb.go/Makefile.in (clean): Ditto.
1746 * gdb.hp/Makefile.in (clean): Ditto.
1747 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
1748 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
1749 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
1750 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
1751 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
1752 * gdb.java/Makefile.in (clean): Ditto.
1753 * gdb.linespec/Makefile.in (clean): Ditto.
1754 * gdb.mi/Makefile.in (clean): Ditto.
1755 * gdb.modula2/Makefile.in (clean): Ditto.
1756 * gdb.multi/Makefile.in (clean): Ditto.
1757 * gdb.objc/Makefile.in (clean): Ditto.
1758 * gdb.opencl/Makefile.in (clean): Ditto.
1759 * gdb.opt/Makefile.in (clean): Ditto.
1760 * gdb.pascal/Makefile.in (clean): Ditto.
1761 * gdb.python/Makefile.in (clean): Ditto.
1762 * gdb.reverse/Makefile.in (clean): Ditto.
1763 * gdb.server/Makefile.in (clean): Ditto.
1764 * gdb.stabs/Makefile.in (clean): Ditto.
1765 * gdb.threads/Makefile.in (clean): Ditto.
1766 * gdb.trace/Makefile.in (clean): Ditto.
1767 * gdb.xml/Makefile.in (clean): Ditto.
1768
abc9d0dc
TT
17692012-05-16 Tom Tromey <tromey@redhat.com>
1770
1771 * gdb.base/macscp1.c (macscp_expr): Add comment.
1772 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
1773
6a3a010b
MR
17742012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1775
1776 * gdb.base/return-nodebug.exp: Also test float and double types.
1777
01429c8e
JK
17782012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1779
1780 PR testsuite/12649
1781 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
1782
54115cd4
JK
1783 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
1784
0c5f383f
SDJ
17852012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
1786
1787 * gdb.base/stap-probe.exp (stap_test): Remove calls to
1788 `rerun_to_main'.
1789 (stap_test_no_debuginfo): Likewise.
1790
e7e0cddf
SS
17912012-05-14 Stan Shebs <stan@codesourcery.com>
1792
1793 * gdb.base/dprintf.c: New file.
1794 * gdb.base/dprintf.exp: New file.
1795
c772f8e7
HZ
17962012-05-14 Hui Zhu <hui_zhu@mentor.com>
1797
1798 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
1799 * gdb.trace/disconnected-tracing.c: New file.
1800 * gdb.trace/disconnected-tracing.exp: New file.
1801
7efc75aa
SCR
18022012-05-13 Siva Chandra Reddy <sivachandra@google.com>
1803
1804 * gdb.python/python.c: Add a new breakpoint comment.
1805 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
1806
85d4a676
SS
18072011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
1808
1809 * gdb.base/info-os.exp: New file.
1810 * gdb.base/info-os.c: New file.
1811
64ea88dc
JB
18122012-05-10 Joel Brobecker <brobecker@adacore.com>
1813
4647ab1b
JB
1814 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
1815 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
1816 New files.
64ea88dc 1817
afba63f1
JB
18182012-05-10 Joel Brobecker <brobecker@adacore.com>
1819
1820 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
1821 gdb.base/ctxobj.exp: New files.
1822
9d198b1e
TT
18232012-05-09 Tom Tromey <tromey@redhat.com>
1824
1825 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
1826
9bfee719
MR
18272012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
1828
1829 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
1830
3a7341d8
MR
18312012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
1832
1833 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
1834 before using it.
1835
52b3699b
TG
18362012-05-04 Tristan Gingold <gingold@adacore.com>
1837
1838 * gdb.base/set-noassign.exp: New test.
1839
a20ee7a4
SCR
18402012-05-03 Siva Chandra Reddy <sivachandra@google.com>
1841
1842 * gdb.python/py-symbol.exp: Add tests to test the new methods
1843 gdb.Symtab.global_block() and gdb.Symtab.static_block().
1844 * gdb.python/py-symbol.c: Add new struct to help test
1845 gdb.Symtab.static_block().
1846
bf2f0858
DE
18472012-05-03 Doug Evans <dje@google.com>
1848
1849 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
1850 commented out.
1851
2d4e0376
YQ
18522012-05-03 Yao Qi <yao@codesourcery.com>
1853
1854 * gdb.base/catch-syscall.exp: Skip it before compilation if target
1855 doesn't support.
1856 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
1857 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
1858
6d0bb9f3
YQ
18592012-05-03 Yao Qi <yao@codesourcery.com>
1860
1861 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
1862
fd820528
DE
18632012-04-30 Doug Evans <dje@google.com>
1864
1865 PR testsuite/13961
1866 * gdb.dwarf2/pr13961.S: New file.
1867 * gdb.dwarf2/pr13961.exp: New file.
1868
b9e219b9
YQ
18692012-04-29 Yao Qi <yao@codesourcery.com>
1870
1871 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
1872
3019eac3
DE
18732012-04-28 Doug Evans <dje@google.com>
1874
1875 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
1876 .Ltype_int_in_cu2. Use name "int2" instead of "int".
1877 All uses updated.
1878 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
1879 "ptype func_cu1" to expand cu2 before cu1.
1880
62e5f89c
SDJ
18812012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
1882 Tom Tromey <tromey@redhat.com>
1883
1884 * gdb.base/default.exp: Add `$_probe_arg*' convenience
1885 variables.
1886 * gdb.base/stap-probe.c: New file.
1887 * gdb.base/stap-probe.exp: New file.
1888 * gdb.trace/stap-trace.c: New file.
1889 * gdb.trace/stap-trace.exp: New file.
1890 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
1891 libgcc's unwinder.
1892
14132e89
MR
18932012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
1894
1895 * gdb.arch/mips16-thunks-inmain.c: New file.
1896 * gdb.arch/mips16-thunks-main.c: New file.
1897 * gdb.arch/mips16-thunks-sin.c: New file.
1898 * gdb.arch/mips16-thunks-sinfrob.c: New file.
1899 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
1900 * gdb.arch/mips16-thunks-sinmain.c: New file.
1901 * gdb.arch/mips16-thunks-sinmips16.c: New file.
1902 * gdb.arch/mips16-thunks.exp: New file.
1903
a766d390
DE
19042012-04-25 Doug Evans <dje@google.com>
1905
1906 * configure.ac: Create gdb.go/Makefile.
1907 * configure: Regenerate.
1908 * gdb.base/default.exp: Add "go" to "set language" testing.
1909 * gdb.go/Makefile.in: New file.
1910 * gdb.go/basic-types.exp: New file.
1911 * gdb.go/chan.exp: New file.
1912 * gdb.go/chan.go: New file.
1913 * gdb.go/handcall.exp: New file.
1914 * gdb.go/handcall.go: New file.
1915 * gdb.go/hello.exp: New file.
1916 * gdb.go/hello.go: New file.
1917 * gdb.go/integers.exp: New file.
1918 * gdb.go/integers.go: New file.
1919 * gdb.go/methods.exp: New file.
1920 * gdb.go/methods.go: New file.
1921 * gdb.go/package.exp: New file.
1922 * gdb.go/package1.go: New file.
1923 * gdb.go/package2.go: New file.
1924 * gdb.go/print.exp: New file.
1925 * gdb.go/strings.exp: New file.
1926 * gdb.go/strings.go: New file.
1927 * gdb.go/types.exp: New file.
1928 * gdb.go/types.go: New file.
1929 * gdb.go/unsafe.exp: New file.
1930 * gdb.go/unsafe.go: New file.
1931 * lib/future.exp: Add Go support.
1932 (gdb_find_go, gdb_find_go_linker): New procs.
1933 (gdb_default_target_compile): Add Go support.
1934 * lib/gdb.exp (skip_go_tests): New proc.
1935 * lib/go.exp: New file.
1936
e65f9ffb
TT
19372012-04-25 Tom Tromey <tromey@redhat.com>
1938
1939 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
1940
14e75d8e
JK
19412012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1942 Jan Kratochvil <jan.kratochvil@redhat.com>
1943
1944 PR symtab/7259:
1945 * gdb.base/enumval.c: New test case.
1946 * gdb.base/enumval.exp: New test case.
1947 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
1948 field.bitpos.
1949
f3525b70
PA
19502012-04-17 Pedro Alves <palves@redhat.com>
1951
1952 * Makefile.in (site.exp): Make site.exp source
1953 $srcdir/lib/append_gdb_boards_dir.exp.
1954 * lib/append_gdb_boards_dir.exp: New file.
1955
bccbefd2
JK
19562012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1957
1958 New option "set auto-load safe-path".
1959 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
1960 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
1961
bf88dd68
JK
19622012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1963
1964 auto-load: Implementation.
1965 * gdb.base/help.exp (test set height): Increase the height.
1966 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
1967 to ...
1968 (info auto-load python-scripts): ... here.
1969 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
1970 to ...
1971 (info auto-load python-scripts *): ... here.
1972
c0d4d1c0
YQ
19732012-04-16 Yao Qi <yao@codesourcery.com>
1974
1975 * lib/trace-support.exp (get_in_proc_agent): New.
1976 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
1977 of in process trace agent.
1978 * gdb.trace/ftrace.exp: Likewise.
1979 * gdb.trace/pending.exp: Likewise.
1980 * gdb.trace/trace-break.exp: Likewise.
1981 * gdb.trace/trace-mt.exp
1982 * gdb.trace/tspeed.exp: Likewise.
1983 * gdb.trace/tstatus.exp
1984 * gdb.trace/strace.exp: Likewise.
1985
cbf68a60
TS
19862012-04-16 Thomas Schwinge <thomas@codesourcery.com>
1987
dd6d3b70
TS
1988 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
1989 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
1990
cbf68a60
TS
1991 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
1992
8264ba82
AG
19932012-04-14 Anton Gorenkov <xgsa@yandex.ru>
1994
1995 PR mi/13393
1996 * gdb.mi/mi-var-rtti.cc: New file.
1997 * gdb.mi/mi-var-rtti.exp: New file.
1998 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
1999 function.
2000 (mi_varobj_update_with_type_change): updated to avoid code duplication.
2001
de0919f8 20022012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
2003
2004 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
2005 EXECUTABLES.
2006 * gdb.python/py-explore.c: C program used for testing the new
2007 'explore' command on C constructs.
2008 * gdb.python/py-explore.cc: C++ program used for testing the new
2009 'explore' command on C++ constructs.
2010 * gdb-python/py-explore.exp: Tests for the new 'explore'
2011 command on C constructs.
2012 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
2013 command on C++ constructs.
2014
a82da7dd
MK
20152012-04-07 Mark Kettenis <kettenis@gnu.org>
2016
2017 * gdb.base/funcargs.exp (complex_args): Fix typo.
2018
e127cba8
JK
20192012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2020
2021 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
2022 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
2023
40e084e1
KS
20242012-04-05 Keith Seitz <keiths@redhat.com>
2025
2026 * gdb.base/advance.exp: Update error message for
2027 "advance malformed" test.
2028 * gdb.base/break.exp: Likewise for "breakpoint with
2029 trailing garbage" test.
2030 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
2031 with trailing garbage" test.
2032 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
2033 trailng garbage" test.
2034 * gdb.base/until.exp: Likewise for "malformed until" test.
2035 * gdb.cp/ovldbreak.exp: Create the breakpoint table
2036 for "breakpoint info (after setting on all)".
2037 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
2038 tests.
2039 * gdb.cp/cplabel.cc: New file.
2040 * gdb.cp/cplabel.exp: New test.
2041 * gdb.linespec/ls-errs.c: New file.
2042 * gdb.linespec/ls-errs.exp: New test.
2043
a72c8f6a
JK
20442012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2045
2046 * gdb.trace/unavailable.exp
2047 (collect globals: print object on: print derived_partial)
2048 (collect globals: print object on: print derived_whole)
2049 (collect globals: print object off: print derived_partial)
2050 (collect globals: print object off: print derived_whole): Update
2051 expected output.
2052
f87a3023
KS
20532012-03-30 Keith Seitz <keiths@redhat.com>
2054
2055 * gdb.python: Add test for linespecs with commas.
2056
e2171b3c
KS
20572012-03-28 Keith Seitz <keiths@redhat.com>
2058
2059 * gdb.linespec/ls-dollar.cc: New file.
2060 * gdb.linespec/ls-dollar.exp: New test.
2061
20622012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
2063
2064 * gdb.cp/namespace.exp: Add breakpoint tests for functions
2065 starting with the global namespace.
2066
2f4e0a80
DE
20672012-03-23 Doug Evans <dje@google.com>
2068
2069 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
2070
7b282c5a
SCR
20712012-03-22 Siva Chandra Reddy <sivachandra@google.com>
2072
2073 * gdb.python/py-value.cc: Add test case for testing the
2074 methodology exposing C++ values to Python.
2075 * gdb.python/py-value-cc.exp: Add tests testing the methodology
2076 exposing C++ values to Python.
2077 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
2078
2e98ca53
JK
20792012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2080 Siddhesh Poyarekar <siddhesh@redhat.com>
2081
2082 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
2083 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
2084 (generate native core dump): Make the test unsupported if core cannot
2085 be generated.
2086
8320cc4f
JK
20872012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2088
2089 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
2090 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
2091 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
2092
3a69ffb2
JK
20932012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2094
2095 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
2096
8fabffee
DE
20972012-03-17 Doug Evans <dje@google.com>
2098
2099 * dg-extract-results.sh: Handle KFAILs.
2100
ab260dad
JK
21012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2102
2103 PR symtab/13777
2104 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
2105
53ba8333
JB
21062012-03-16 Joel Brobecker <brobecker@adacore.com>
2107
2108 * gdb.ada/set_pckd_arr_elt: New testcase.
2109
481860b3
GB
21102012-03-16 Gary Benson <gbenson@redhat.com>
2111
2112 PR breakpoints/10738
2113 * gdb.opt/inline-break.exp: New file.
2114 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
2115 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
2116 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
2117 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
2118 * gdb.base/async-shell.exp: Likewise.
2119 * lib/mi-support.exp (library_loaded_re): Likewise.
2120
410528f0
TT
21212012-03-15 Tom Tromey <tromey@redhat.com>
2122
2123 * gdb.cp/virtfunc2.exp: Update expected output.
2124 * gdb.cp/pr9631.exp: Update expected output.
2125 * gdb.cp/member-ptr.exp: Update expected output.
2126 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
2127 output.
2128 * gdb.cp/casts.exp: Update expected output.
2129
c4aeac85
TT
21302012-03-15 Tom Tromey <tromey@redhat.com>
2131
2132 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
2133 (test_info_vtbl): Likewise.
2134 (do_tests): Call test_info_vtbl.
2135 * gdb.cp/virtfunc.cc (va): New global.
2136
856d06f9
TS
21372012-03-15 Thomas Schwinge <thomas@codesourcery.com>
2138
2139 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
2140 describing DWARF data structures.
2141 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
2142 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
2143 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
2144 * gdb.dwarf2/dw2-entry-value.S: Likewise.
2145 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2146 * gdb.dwarf2/dw2-param-error.S: Likewise.
2147 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
2148 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
2149 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
2150 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
2151 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2152 * gdb.dwarf2/pr11465.S: Likewise.
2153
e837f12a
JK
21542012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2155
2156 * gdb.mi/mi2-prompt.exp: New file.
2157
ccbb4f28
JB
21582012-03-13 Joel Brobecker <brobecker@adacore.com>
2159
2160 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
2161
32039130
JB
21622012-03-13 Joel Brobecker <brobecker@adacore.com>
2163
2164 * gdb.ada/bp_range_type: New testcase.
2165
16899756
DE
21662012-03-13 Doug Evans <dje@google.com>
2167
2168 * gdb.base/default.exp: Delete tests for symbol-reloading.
2169 * gdb.base/help.exp: Ditto.
2170 * gdb.base/setshow.exp: Ditto.
2171 * gdb.base/gdb_history: Delete references to symbol-reloading.
2172
87b0bb13
JK
21732012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2174
2175 * gdb.base/attach-twice.c: New files.
2176 * gdb.base/attach-twice.exp: New files.
2177
0d7941a9
KS
21782012-03-08 Keith Seitz <keiths@redhat.com>
2179
2180 * lib/gdb.exp (gdb_get_line_number): Throw an
2181 error instead of returning -1.
2182 * gdb.base/break.exp: Remove unused variable
2183 bp_location5.
2184 * gdb.base/hbreak2.exp: Likewise.
2185 * gdb.base/sepdebug.exp: Likewise.
2186
f4647387
YQ
21872012-03-08 Yao Qi <yao@codesourcery.com>
2188 Pedro Alves <palves@redhat.com>
2189
2190 Fix PR server/13392.
2191 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
2192 (tracepoint_change_loc_2): Remove kfail. Return if failed to
2193 download tracepoints.
2194 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
2195 (pending_tracepoint_resolved_during_trace): Likewise.
2196 (pending_tracepoint_installed_during_trace): Likewise.
2197 (pending_tracepoint_with_action_resolved): Likewise.
2198
83c532cb
KS
21992012-03-08 Keith Seitz <keiths@redhat.com>
2200
2201 * gdb.ada/array_bounds.exp: Get breakpoint for line
2202 with "START", not "STOP".
2203 * gdb.python/py-infthread.exp: Do not continue to
2204 line marked "Break here.", which is undefined.
2205
d6b6bbb7
LM
22062012-03-08 Luis Machado <lgustavo@codesourcery.com>
2207
2208 Revert:
2209
2210 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2211
2212 Implement testsuite workaround for PR breakpoints/13781.
2213 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2214 (set breakpoint condition-evaluation host): New conditional command.
2215
7fe25d9b
JK
22162012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2217
2218 Fix CU relative vs. absolute DIE offsets.
2219 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
2220 one.
2221
51898c15
JK
22222012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2223
2224 Fix false FAIL on distros with relro linkage as default.
2225 * gdb.reverse/solib-precsave.exp: Try to compile the test using
2226 -Wl,-z,norelro first.
2227
8131799e
JB
22282012-03-06 Joel Brobecker <brobecker@adacore.com>
2229
2230 * gdb.ada/bp_on_var: New testcase.
2231
ba241969
JB
22322012-03-06 Joel Brobecker <brobecker@adacore.com>
2233
2234 * gdb.ada/bp_enum_homonym: New testcase.
2235
abe49676
YQ
22362012-03-06 Yao Qi <yao@codesourcery.com>
2237
2238 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
2239 x86_64-*-* and i?86-*-*.
2240 Set up KFAIL for gdb/13808.
2241
d8df103b
TT
22422012-03-05 Tom Tromey <tromey@redhat.com>
2243
2244 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
2245 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
2246
b7b189f3
TT
22472012-03-05 Tom Tromey <tromey@redhat.com>
2248
2249 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
2250
69dc1c4d
YQ
22512012-03-04 Yao Qi <yao@codesourcery.com>
2252
2253 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
2254 messages for KFAIL.
2255
3f20c47f
JK
22562012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2257
2258 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
2259 (print one_two_three, indexes off, print few_reps, indexes off)
2260 (print many_reps, indexes off, print empty, indexes off)
2261 (print one_two_three, print few_reps, print many_reps, print empty):
2262 Call setup_xfail if $gcc_old.
2263
abf1152a
JK
22642012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2265
2266 Implement testsuite workaround for PR breakpoints/13781.
2267 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2268 (set breakpoint condition-evaluation host): New conditional command.
2269
a06715f8
JK
22702012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2271
2272 Code cleanup.
2273 * gdb.cp/mb-templates.exp: New variables executable. Use it for
2274 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
2275 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
2276 number 1 by $bpnum. Four times.
2277
5808517f
YQ
22782012-03-03 Yao Qi <yao@codesourcery.com>
2279
2280 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
2281
dfe2ac14
JK
22822012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2283
2284 Setup KFAIL for PR server/13796.
2285 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
2286
8bbc467a
JB
22872012-03-02 Joel Brobecker <brobecker@adacore.com>
2288
2289 * gdb.ada/operator_bp: New testcase.
2290
c0eac87f
JB
22912012-03-02 Joel Brobecker <brobecker@adacore.com>
2292
2293 * gdb.ada/info_locals_renaming: New testcase.
2294
4f42c881
TT
22952012-03-02 Tom Tromey <tromey@redhat.com>
2296
2297 * gdb.base/nextoverexit.c: New file.
2298 * gdb.base/nextoverexit.exp: New file.
2299
7380c0c9
EBM
23002012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2301
2302 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
2303 parameter.
2304
1faeff08
MR
23052012-03-01 Maciej W. Rozycki <macro@mips.com>
2306
2307 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
2308 core registers.
2309
320b6f49
MR
23102012-03-01 Maciej W. Rozycki <macro@mips.com>
2311 Maciej W. Rozycki <macro@codesourcery.com>
2312 Daniel Jacobowitz <dan@codesourcery.com>
2313
2314 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
2315
ad5f7d6e
PA
23162012-03-01 Pedro Alves <palves@redhat.com>
2317
2318 PR gdb/13767
2319
2320 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
2321 (gdb_collect_globals_test): Call it.
2322
d3dc44a6
KS
23232012-03-01 Keith Seitz <keiths@redhat.com>
2324
2325 * gdb.cp/method2.exp: Output of overload menu is now
2326 alphabetized. Update tests for "break A::method".
2327 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
2328 of hard-coding them.
2329 Overload menu is alphabetized: rewrite to accommodate.
2330 Unset variables LINE and TYPES which are used in other tests.
2331 Compute the output of "info break".
2332 Update the breakpoint table after all breakpoints are deleted.
2333 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
2334 compute ACTUALS and the method body based on parameters.
2335 Update expected output accordingly.
2336 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
2337 unique comments to allow the use of gdb_get_line_number.
2338
23392012-03-01 Keith Seitz <keiths@redhat.com>
2340
2341 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
2342 some Tcl syntax.
2343 * gdb.cp/ovldbreak.exp: Likewise.
2344
7949c2a0
KS
23452012-03-01 Keith Seitz <keiths@redhat.com>
2346
2347 * gdb.base/help.exp (help show user): Update expected result
2348 for new doc string changes (add "non-python").
2349
7d74f244
DE
23502012-03-01 Scott J. Goldman <scottjg@vmware.com>
2351
2352 * gdb.python/py-cmd.exp: Add test to verify that python commands can
2353 be put in the user-defined category and that the commands appear in
2354 "help user-defined".
2355
1b611343
JB
23562012-02-29 Joel Brobecker <brobecker@adacore.com>
2357
2358 * gdb.ada/tagged_not_init: New testcase.
2359
99b1c762
JB
23602012-02-29 Joel Brobecker <brobecker@adacore.com>
2361
2362 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
2363 * gdb.ada/enum_idx_packed: New testcase.
2364
2d4a02ee
JB
23652012-02-29 Joel Brobecker <brobecker@adacore.com>
2366
2367 * gdb.ada/aliased_array: New testcase.
2368
2e6fda7d
JB
23692012-02-29 Joel Brobecker <brobecker@adacore.com>
2370
2371 * gdb.ada/whatis_array_val: New testcase.
2372
9a7f938f
JK
23732012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2374
2375 Fix disp-step-syscall.exp: fork: single step over fork.
2376 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
2377 whitespaces.
2378 (single step over $syscall): Remove its check.
2379 (single step over $syscall final pc): New check.
2380
8703a944
JK
23812012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2382
2383 Support processors without SSSE3.
2384 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
2385 pabsd into ...
2386 (ssse3_test): ... a new function.
2387 (main): Call ssse3_test.
2388 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
2389 Update expected values everywhere.
2390 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
2391 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
2392 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
2393 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
2394 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
2395 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
2396 Move these tests lower.
2397 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
2398 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
2399 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
2400 New tests.
2401
c03e6ccc
YQ
24022012-02-29 Yao Qi <yao@codesourcery.com>
2403 Pedro Alves <palves@redhat.com>
2404
2405 * gdb.trace/trace-mt.c: New.
2406 * gdb.trace/trace-mt.exp: New.
2407
7964b62a
TS
24082012-02-28 Thomas Schwinge <thomas@codesourcery.com>
2409
2c8910ba
TS
2410 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
2411 numbers instead of hardcoding them.
2412 * gdb.base/annota1.c: Provide suitable markers.
2413 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
2414 numbers instead of hardcoding them.
2415 * gdb.base/annota3.c: Provide suitable markers.
2416
2417 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
2418 * gdb.base/annota3.c: Likewise.
2419 * gdb.base/sigall.c: Likewise.
2420 * gdb.base/signals.c: Likewise.
2421 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 2422
5a41c0b7
MR
24232012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
2424
2425 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
2426 failure return path.
2427
ebbbe5c5
LM
24282012-02-27 Luis Machado <lgustavo@codesourcery.com>
2429
2430 * gdb.base/save-bp.exp: Account for new condition evaluator output.
2431
8d126d8a
LM
24322012-02-24 Luis Machado <lgustavo@codesourcery.com>
2433
2434 * gdb.base/cond-eval-mode.exp: New file.
2435
11337c2f
PA
24362012-02-24 Pedro Alves <palves@redhat.com>
2437
2438 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
2439 (top level): Use with_test_prefix.
2440
13fc3e3c
PA
24412012-02-24 Pedro Alves <palves@redhat.com>
2442
2443 * gdb.threads/attach-into-signal.exp (corefunc): Use
2444 with_test_prefix.
2445
07c1b626
JK
24462012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2447
2448 Fix false FAILs on old CPUs without SSE.
2449 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
2450 Return untested for Illegal instruction.
2451
596ba138
JK
24522012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2453
2454 Fix false FAILs with glibc debug infos installed.
2455 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
2456 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
2457
aeaa2474
SA
24582012-02-22 Sterling Augustine <saugustine@google.com>
2459
2460 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
2461 constant with cast.
2462
aed555c9
PA
24632012-02-21 Pedro Alves <palves@redhat.com>
2464
2465 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
2466
78afebb4
PA
24672012-02-21 Pedro Alves <palves@redhat.com>
2468
2469 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
2470
fdcfef12
PA
24712012-02-21 Pedro Alves <palves@redhat.com>
2472
2473 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
2474 with_test_prefix.
2475
0f4d39d5
PA
24762012-02-21 Pedro Alves <palves@redhat.com>
2477
2478 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
2479 with_test_prefix here.
2480 (top level): Do it here instead. Remove `:' from the
2481 with_test_prefix string.
2482 * gdb.base/attach-pie-misread.exp: Remove the leading space the
2483 the suffix `:' from the with_test_prefix prefix string.
2484 * gdb.base/break-interp.exp: Ditto.
2485 * gdb.base/catch-load.exp: Ditto.
2486 * gdb.base/disp-step-syscall.exp: Ditto.
2487 * gdb.base/jit-so.exp: Ditto.
2488 * gdb.base/jit.exp: Ditto.
2489 * gdb.base/sepdebug.exp: Ditto.
2490 * gdb.base/solib-display.exp: Ditto.
2491 * gdb.base/solib-overlap.exp: Ditto.
2492 * gdb.base/watch-cond-infcall.exp: Ditto.
2493 * gdb.base/watchpoint.exp: Ditto.
2494 * gdb.dwarf2/dw2-noloc.exp: Ditto.
2495 * gdb.mi/mi-watch.exp: Ditto.
2496 * gdb.mi/mi2-watch.exp: Ditto.
2497 * gdb.threads/non-ldr-exc-1.exp: Ditto.
2498 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2499 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2500 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2501 * gdb.threads/watchpoint-fork.exp: Ditto.
2502 * gdb.threads/watchthreads-reorder.exp: Ditto.
2503 * gdb.trace/change-loc.exp: Ditto.
2504 * gdb.trace/pending.exp: Ditto.
2505 * gdb.trace/status-stop.exp: Ditto.
2506 * gdb.trace/strace.exp: Ditto.
2507 * gdb.trace/trace-break.exp: Ditto.
2508 * gdb.trace/unavailable.exp: Ditto.
2509 * lib/gdb.exp (with_test_prefix): Always prefix with space and
2510 suffix with colon. Adjust leading comments.
2511
6a5870ce
PA
25122012-02-21 Pedro Alves <palves@redhat.com>
2513 Tom Tromey <tromey@redhat.com>
2514
2515 * lib/gdb.exp: Add description of test prefixes.
2516 (with_test_prefix): New procedure.
2517 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
2518 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
2519 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
2520 instead of lappend to append to pf_prefix.
2521 * gdb.base/catch-load.exp: Use with_test_prefix.
2522 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
2523 * gdb.base/jit-so.exp: Use with_test_prefix.
2524 * gdb.base/jit.exp: Use with_test_prefix.
2525 * gdb.base/return-nodebug.exp (do_test): Use append instead of
2526 lappend to append to pf_prefix.
2527 * gdb.base/sepdebug.exp: Use with_test_prefix.
2528 * gdb.base/solib-display.exp: Use with_test_prefix.
2529 * gdb.base/solib-overlap.exp: Use with_test_prefix.
2530 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
2531 * gdb.base/watchpoint.exp: Use with_test_prefix.
2532 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
2533 * gdb.mi/mi-watch.exp: Use with_test_prefix.
2534 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
2535 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
2536 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
2537 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
2538 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
2539 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
2540 append instead of lappend to append to pf_prefix.
2541 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
2542 * gdb.trace/change-loc.exp: Use with_test_prefix.
2543 * gdb.trace/pending.exp: Use with_test_prefix.
2544 * gdb.trace/status-stop.exp: Use with_test_prefix.
2545 * gdb.trace/strace.exp: Use with_test_prefix.
2546 * gdb.trace/trace-break.exp: Use with_test_prefix.
2547 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
2548 instead of lappend to append to pf_prefix.
2549
35dc4a6b
JK
25502012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2551
2552 Fix racy FAILs.
2553 * gdb.base/inferior-died.c (main): Add return of 0.
2554 * gdb.base/inferior-died.exp (continue): Fix expectation of
2555 asynchronous events.
2556 (p 1): New test.
2557
c5a006e6
PA
25582012-02-20 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
2561 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
2562 gdb's internal debug output. For the non-threaded case, look for
2563 "Program received signal SIGLARM", for the threaded case, peek at
2564 the thread's siginfo.
2565
cc51a170
PA
25662012-02-20 Pedro Alves <palves@redhat.com>
2567
2568 General cleanup, make output test messages unique, and build
2569 different executable files for the non-threaded and threaded
2570 cases.
2571
2572 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
2573 Delete.
2574 (executable_nothr, executable_thr): New globals.
2575 (top level): Adjust to delete both executables.
2576 (corefunc): New parameter $executable. Set $pf_prefix instead of
2577 hand writing a prefix in tests. Issue a clean_restart and enable
2578 lin-lwp debug output here.
2579 (top level): Adjust. Use build_executable. Don't start gdb here,
2580 and don't enable lin-lwp debug output here.
2581 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
2582
c755f03d
JK
25832012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2584
2585 Fix racy FAILs.
2586 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
2587 "continue" command.
2588
6bec5e0a
JK
25892012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2590
2591 Fix for gdbserver non-extended mode.
2592 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
2593 and gdb_run_cmd.
2594
2e8265fd
TT
25952012-02-17 Tom Tromey <tromey@redhat.com>
2596
2597 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
2598 * gdb.python/py-events.exp: Check 'dir' output.
2599 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
2600
9e507076
YQ
26012012-02-17 Yao Qi <yao@codesourcery.com>
2602
2603 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
2604
32d22ab1
TT
26052012-02-16 Tom Tromey <tromey@redhat.com>
2606
2607 * gdb.base/inferior-died.c: Don't include stdio.h.
2608
9addecb9
TT
26092012-02-16 Tom Tromey <tromey@redhat.com>
2610
2611 * gdb.base/inferior-died.c: New file.
2612 * gdb.base/inferior-died.exp: New file.
2613
4cb6da1c
AR
26142012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
2615
2616 * gdb.base/break-inline.exp: New file.
2617 * gdb.base/break-inline.c: New file.
2618
3af2590d
TT
26192012-02-15 Tom Tromey <tromey@redhat.com>
2620
2621 * gdb.base/pc-fp.exp: Add "info register" tests.
2622
29988831
TT
26232012-02-15 Tom Tromey <tromey@redhat.com>
2624
2625 * gdb.base/regs.exp: Remove.
2626
10010058
PA
26272012-02-15 Pedro Alves <palves@redhat.com>
2628
2629 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
2630 the target doesn't support tracepoints.
2631 * gdb.trace/circ.exp: Ditto.
2632 * gdb.trace/collection.exp: Ditto.
2633 * gdb.trace/packetlen.exp: Ditto.
2634 * gdb.trace/passc-dyn.exp: Ditto.
2635 * gdb.trace/report.exp: Ditto.
2636 * gdb.trace/tfind.exp: Ditto.
2637 * gdb.trace/tspeed.exp: Ditto.
2638 * gdb.trace/tsv.exp: Ditto.
2639 * gdb.trace/unavailable.exp: Ditto.
2640 * gdb.trace/while-dyn.exp: Ditto.
2641
a2e0062d
PA
26422012-02-15 Pedro Alves <palves@redhat.com>
2643
2644 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
2645 gdb_test_multiple, and call unsupported instead of fail, if the
2646 remote side does not support the request.
2647
a1999d40
PA
26482012-02-15 Pedro Alves <palves@redhat.com>
2649
2650 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
2651 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
2652 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
2653 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
2654 * gdb.server/server-run.exp: Make sure gdb is disconnected.
2655 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
2656 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
2657 doesn't start with "extended-" already.
2658
7cee1e54
PA
26592012-02-15 Pedro Alves <palves@redhat.com>
2660
2661 Support extended-remote. Avoid cascading timeouts.
2662
2663 * gdb.base/attach.exp (do_attach_tests): Add expected output for
2664 the extended-remote target. If attaching with no file fails, load
2665 the file manually.
2666 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
2667
816338b5
SS
26682012-02-14 Stan Shebs <stan@codesourcery.com>
2669
2670 * gdb.base/ena-dis-br.exp: Add enable count test.
2671
cc30c4bd
PA
26722012-02-13 Pedro Alves <palves@redhat.com>
2673
2674 * config/mips-idt.exp: Delete.
2675 * gdb.base/a2-run.exp: Remove mips-idt xfails.
2676 * gdb.base/bitfields.exp: Remove mips-idt restarts.
2677 * gdb.base/break.exp: Remove mips-idt references.
2678 * gdb.base/chng-syms.exp: Ditto.
2679 * gdb.base/default.exp: Ditto.
2680 * gdb.base/funcargs.exp (funcargs_reload): Delete.
2681 (top level): Don't call it.
2682 * gdb.base/opaque.exp: Remove mips-idt restarts.
2683 * gdb.base/ptype.exp: Remove mips-idt xfails.
2684 * gdb.base/scope.exp: Remove mips-idt restarts.
2685 * gdb.base/sepdebug.exp: Remove mips-idt references.
2686 * gdb.base/watchpoint.exp (maybe_clean_restart)
2687 (maybe_reinitialize): Delete.
2688 (test_disabling_watchpoints, test_disabling_watchpoints)
2689 (test_watchpoint_triggered_in_syscall)
2690 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2691 Don't call them.
2692
57008375
JK
26932012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2694
2695 * gdb.server/server-exec-info.exp: New file.
2696
4a2d9c08
PA
26972012-02-10 Pedro Alves <palves@redhat.com>
2698
2699 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
2700 always non-empty.
2701 (test_attach): Always pass $exec to test_attach_gdb.
2702
09fa21bd
TT
27032012-02-08 Tom Tromey <tromey@redhat.com>
2704
2705 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
2706 before inferior is started.
2707
f0823d2c
TT
27082012-02-07 Tom Tromey <tromey@redhat.com>
2709
2710 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
2711 Symbol.value.
2712 * gdb.python/py-symbol.c (qq): Set default value.
2713
27142012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
2715
2716 * gdb.python/py-symbol.c (qq): New global.
2717 * gdb.python/py-symbol.exp: Add test for frame-less
2718 lookup_symbol.
2719 * gdb.python/py-symtab.exp: Fix line number.
2720
f7e44f65
JB
27212012-02-03 Joel Brobecker <brobecker@adacore.com>
2722
2723 * gdb.ada/mi_task_arg: New testcase.
2724
4c9ed63c
PA
27252012-02-02 Pedro Alves <palves@redhat.com>
2726
2727 * gdb.reverse/until-precsave.exp: Also put "record save" under the
2728 extended timeout.
2729
c0b9f2c6
PA
27302012-02-02 Pedro Alves <palves@redhat.com>
2731
2732 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
2733 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
2734
5f8cefd7
PA
27352012-02-02 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.base/term.exp: Rewrite.
2738 * gdb.base/term.c: New.
2739
2f3a2569
PA
27402012-02-02 Pedro Alves <palves@redhat.com>
2741
2742 * gdb.base/default.exp (run "r" abbreviation, run): Add
2743 extended-remote expected output.
2744
f149aabd
TT
27452012-02-02 Tom Tromey <tromey@redhat.com>
2746
2747 * gdb.cp/dispcxx.exp: New file.
2748 * gdb.cp/dispcxx.cc: New file.
2749
03bef283
TT
27502012-02-01 Tom Tromey <tromey@redhat.com>
2751
2752 * gdb.base/jit-simple.exp: New file.
2753 * gdb.base/jit-simple.c: New file.
2754
a79b18b5
YQ
27552012-01-30 Yao Qi <yao@codesourcery.com>
2756
2757 * gdb.base/skip.exp: Make test result unique.
2758
f0d1a53e
JK
27592012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2760
2761 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
2762 compatibility with valgrind-3.7.0.
2763
4b3c9f41
PA
27642012-01-27 Pedro Alves <palves@redhat.com>
2765
2766 * gdb.base/watchpoint.exp (no_hw): New global.
2767 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
2768 disable hw watchpoints.
2769 (test_wide_location_1, test_wide_location_2): If no_hw is set,
2770 don't expect hw watchpoints.
2771 (no_hw_watchpoints): Always clean restart.
2772 (do_tests): New procedure, factored out from the top level.
2773 (top level): Run tests twice. Once with hw watchpoints enabled,
2774 another time with hw watchpoints disabled.
2775
a13491c8
PA
27762012-01-27 Pedro Alves <palves@redhat.com>
2777
2778 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
2779 out from the top level.
2780 (top level): Call it instead.
2781
f2c8a051
PA
27822012-01-27 Pedro Alves <palves@redhat.com>
2783
2784 * gdb.base/watchpoint.exp (top level): Re-enable hardware
2785 watchpoints sooner.
2786
654d7a9e
PA
27872012-01-27 Pedro Alves <palves@redhat.com>
2788
2789 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
2790
274f47f3
PA
27912012-01-27 Pedro Alves <palves@redhat.com>
2792
2793 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
2794 "You may have requested too many hardware
2795 breakpoints/watchpoints".
2796
e4d63ba2
PA
27972012-01-27 Pedro Alves <palves@redhat.com>
2798
2799 * gdb.base/watchpoint.exp (maybe_clean_restart)
2800 (maybe_reinitialize): New.
2801 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
2802 expect "hit N times".
2803 (test_disabling_watchpoints, test_complex_watchpoint)
2804 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2805 Call maybe_clean_restart.
2806 (top level): Use clean_restart. Remove "mips-idt-*"
2807 reinitialization.
2808
dbd95daf
PA
28092012-01-27 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
2812
f3ad2025
PA
28132012-01-27 Pedro Alves <palves@redhat.com>
2814
2815 * gdb.base/watchpoint.exp: Clean restart after tests that don't
2816 require `initialize' anymore. Remove unnecessary `initialize'
2817 calls.
2818
100aa3ae
PA
28192012-01-27 Pedro Alves <palves@redhat.com>
2820
2821 * gdb.base/watchpoint.exp (wp_set): Delete.
2822 (initialize, test_simple_watchpoint, top level): Remove dead code.
2823
c79a8e11
PA
28242012-01-27 Pedro Alves <palves@redhat.com>
2825
2826 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
2827 typo.
2828
048fe15a
PA
28292012-01-27 Pedro Alves <palves@redhat.com>
2830
2831 * config/extended-gdbserver.exp: New file.
2832 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
2833 comment.
2834 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
2835 * boards/native-extended-gdbserver.exp: New file.
2836
4033a6bf
PA
28372012-01-26 Pedro Alves <palves@redhat.com>
2838
2839 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
2840 and gdb_test_multiple.
2841
3d7f4b81
PA
28422012-01-26 Pedro Alves <palves@redhat.com>
2843
2844 Make test messages unique, and more identifiable.
2845 * gdb.multi/watchpoint-multi.exp: Change test messages.
2846
484abf42
TT
28472012-01-25 Tom Tromey <tromey@redhat.com>
2848
2849 * gdb.base/solib-disc.exp: Fix regexps.
2850
edcc5120
TT
28512012-01-24 Tom Tromey <tromey@redhat.com>
2852
2853 * lib/mi-support.exp (mi_expect_stop): Add special case for
2854 solib-event.
2855 * gdb.base/catch-load-so.c: New file.
2856 * gdb.base/catch-load.exp: New file.
2857 * gdb.base/catch-load.c: New file.
2858 * gdb.base/break-interp.exp (reach_1): Update regexp.
2859
30b91c90
JK
28602012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2861
2862 Fix fuzzy results.
2863 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
2864 lpsimple and func.
2865
53fe1783
GB
28662012-01-24 Gary Benson <gbenson@redhat.com>
2867
2868 Delete #if 0'd out code.
2869 * gdb.base/default.exp (info catch): Remove.
2870 * gdb.base/gdb_history (info catch): Likewise.
2871 * gdb.base/help.exp (info catch): Likewise.
2872
d0d8b0c6
JK
28732012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2874
2875 Fix watchpoints to be specific for each inferior.
2876 * gdb.multi/watchpoint-multi.c: New file.
2877 * gdb.multi/watchpoint-multi.exp: New file.
2878
4403d8e9
JK
28792012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2880
2881 Fix watchpoints across inferior fork.
2882 * gdb.threads/watchpoint-fork-child.c: New file.
2883 * gdb.threads/watchpoint-fork-mt.c: New file.
2884 * gdb.threads/watchpoint-fork-parent.c: New file.
2885 * gdb.threads/watchpoint-fork-st.c: New file.
2886 * gdb.threads/watchpoint-fork.exp: New file.
2887 * gdb.threads/watchpoint-fork.h: New file.
2888
050a2e1d
PA
28892012-01-23 Pedro Alves <palves@redhat.com>
2890
2891 * gdb.base/call-signal-resume.exp: Allow output after "return".
2892
6a52fb62
PA
28932012-01-20 Pedro Alves <palves@redhat.com>
2894
2895 * gdb.python/py-finish-breakpoint.py: Fix typo.
2896
145b16a9
UW
28972012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
2898
2899 * gdb.base/info-proc.exp: Also run on remote targets. Main
2900 "info proc" command is now always present; whether target supports
2901 actual info proc operation is detected when attempting to issue
2902 the command.
2903
26f6125e
JK
29042012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2905
2906 * .gdbinit: Remove.
2907
eb5227ce
PA
29082012-01-19 Pedro Alves <palves@redhat.com>
2909
2910 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
2911 look at the funtions' returns.
2912 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
2913 (jprint.print(int, int)): Change return type to int. Adjust.
2914
1db33378
PP
29152012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2916
2917 PR gdb/9538
2918 * gdb.base/sepdebug.exp: New test.
2919
b9736cf8
PA
29202012-01-18 Pedro Alves <palves@redhat.com>
2921
2922 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
2923 Allow output before ^done.
2924
4aac40c8
TT
29252012-01-16 Tom Tromey <tromey@redhat.com>
2926
2927 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
2928 Add tests for relative directory.
2929
cafec441
TT
29302012-01-16 Tom Tromey <tromey@redhat.com>
2931
2932 * gdb.base/printcmds.c (enum flag_enum): New.
2933 (three): New global.
2934 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
2935 enum printing.
2936 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
2937 FlagEnumerationPrinter.
2938 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
2939 * gdb.python/py-pp-maint.c (enum flag_enum): New.
2940 (fval): New global.
2941
abcc4978
PA
29422012-01-16 Pedro Alves <palves@redhat.com>
2943
2944 * lib/gdb.exp (banned_procedures): New variable.
2945 (banned_variables_traced): Rename to ...
2946 (banned_traced): ... this.
2947 (gdb_init): Also trace banned procedures.
2948 (gdb_finish): Also untrace banned procedures.
2949
97ccebe8
PA
29502012-01-16 Pedro Alves <palves@redhat.com>
2951
2952 Remove all calls to strace.
2953
2af7517b
JK
29542012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2955
2956 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
2957 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
2958
9241a8bc
PP
29592012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2960
2961 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
2962 * gdb.base/pie-execl.exp: Likewise.
2963
3848a17f
KS
29642012-01-12 Keith Seitz <keiths@redhat.com>
2965
2966 PR mi/10586
2967 * gdb.mi/var-cmd.c (struct anonymous): New structure.
2968 (do_anonymous_type_tests): New function.
2969 (main): Call do_anonymous_type_tests.
2970 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
2971 (verify_everything): New procedure.
2972 * gdb.mi/mi-var-cp.cc (class A): New class.
2973 (anonymous_structs_and_unions): New function.
2974 (main): Call anonymous_structs_and_unions.
2975 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
2976 (verify_everything): New procedure.
2977
440e2fca
KS
29782012-01-12 Keith Seitz <keiths@redhat.com>
2979
2980 * lib/mi-support.exp: Expand comments about PATH_EXPR.
2981 (varobj_tree::get_path_expr): Assume that all varobjs are
2982 compound unless they are known simple types.
2983 Adjust path expressions based on parent type, path parent type,
2984 and tree language.
2985 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
2986 the root varobj.
2987 (mi_walk_varobj_tree): Add LANGUAGE parameter.
2988
675399c9
PA
29892012-01-11 Pedro Alves <palves@redhat.com>
2990
2991 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
2992 core files on this machine" anymore.
2993
97ddaa9b
PH
29942012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2995
2996 * gdb.base/watchpoint.c (recurser): Initialize local_x.
2997 (main): Repeat recurser call.
2998 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
2999 equivalent to 'local_x'.
3000
ea733575
PH
30012012-01-11 Paul Hilfinger <hilfingr@adacore.com>
3002 Joel Brobecker <brobecker@adacore.com>
3003
3004 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
3005
2ca0b532
PA
30062012-01-05 Pedro Alves <alves.ped@gmail.com>
3007
3008 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
3009 * gdb.python/py-events.c (first): Add bits for new "step N" test.
3010 * gdb.python/py-events.exp: Test that "step N" tripping on a
3011 breakpoint emits a breakpoint event.
3012
6e681866
JB
30132012-01-03 Joel Brobecker <brobecker@adacore.com>
3014
3015 * gdb.base/auxv.exp: Reformat the copyright notice.
3016
3c2d6aff
YQ
30172012-01-03 Yao Qi <yao@codesourcery.com>
3018
3019 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
3020 (strace_trace_on_diff_addr): New.
3021 * gdb.trace/strace.c: (main): Add two local variables.
3022
0852fee3
UW
30232011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
3024
3025 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
3026 * gdb.cell/gcore.exp: Likewise.
3027 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
3028 to verify the correct instance of main is selected.
3029
12c3e59c
JB
30302012-01-02 Joel Brobecker <brobecker@adacore.com>
3031
3032 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
3033 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
3034 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
3035 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
3036 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
3037 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
3038 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
3039 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
3040 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
3041 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
3042 gdb.threads/thread_check.c: Reformat copyright header.
3043
c0f378ec
EBM
30442011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
3045
e4a7ca93 3046 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
3047 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
3048 is not enabled.
3049
3bc96cfb
JK
30502011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3051
3052 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
3053 parameter to self_exec, adjust the function.
3054 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
3055 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
3056 (set var do_exit = 0): Remove test.
3057 (newline at end of file): Add one.
3058
095bcf5e
JB
30592011-12-27 Joel Brobecker <brobecker@adacore.com>
3060
3061 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
3062 New files.
3063
18d19bd1
JK
30642011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3065
3066 Fix racy FAILs.
3067 * gdb.threads/fork-thread-pending.c (barrier): New variable.
3068 (thread_function, thread_forker): Call pthread_barrier_wait for it.
3069 (main): Call pthread_barrier_init for it.
3070
e809353a
JK
30712011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 Fix double send_gdb leading to racy FAILs.
3074 * gdb.base/break.exp (set silent break bp_location1): Replace
3075 3x send_gdb and gdb_expect by gdb_test.
3076 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
3077 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
3078 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
3079 instead of send_gdb. Twice.
3080 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
3081 3x send_gdb and gdb_expect by gdb_test.
3082 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
3083
da8cb7ec
JK
30842011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3085
3086 * gdb.linespec/linespec.exp: Compile using {c++}.
3087
ae1a303e
JK
30882011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3089
3090 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
3091 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
3092 (verify GCC PR debug/51668): New test.
3093
cc72b2a2
KP
30942011-12-23 Kevin Pouget <kevin.pouget@st.com>
3095
3096 Introduce gdb.FinishBreakpoint in Python.
3097 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
3098 py-finish-breakpoint2
3099 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
3100 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
3101 instead of line number.
3102 * gdb.python/py-finish-breakpoint.c: New file.
3103 * gdb.python/py-finish-breakpoint.exp: New file.
3104 * gdb.python/py-finish-breakpoint.py: New file.
3105 * gdb.python/py-finish-breakpoint2.cc: New file.
3106 * gdb.python/py-finish-breakpoint2.exp: New file.
3107 * gdb.python/py-finish-breakpoint2.py: New file.
3108
3b7962f9
JK
31092011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3110
3111 Partial fix of compatibility with gcc-4.7.
3112 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
3113 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
3114 Add comment to add a PASS case in the future.
3115
6538471c
JK
3116 Fix compatibility with gcc-4.7.
3117 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
3118
7052e42c
UW
31192011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
3120
3121 PR tdep/12797
3122 * gdb.base/callfuncs.exp: Remove KFAIL.
3123
9ac7f98e
JB
31242011-12-21 Joel Brobecker <brobecker@adacore.com>
3125
3126 * gdb.ada/task_bp: New testcase.
3127
f6eeced0
JK
31282011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3129
3130 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
3131 -DNO_SECTIONS.
3132 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
3133
72225e17
JK
31342011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3135
3136 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
3137 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
3138 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3139 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
3140 conditional for gcc <= 4.5.
3141
13ac8d2c
JK
31422011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3143
3144 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
3145 by XFAIL.
3146 * gdb.cp/static-method.exp (info addr A::func())
3147 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3148 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3149 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3150 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
3151 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
3152 (test value of F in k3_m): Likewise.
3153 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3154 Likewise.
3155
049682ba
JK
31562011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3157
3158 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
3159 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
3160 Remove.
3161 * gdb.threads/attachstop-mt.c: Remove.
3162 * gdb.threads/attachstop-mt.exp: Remove.
3163
2c9d8796
MK
31642011-12-17 Mark Kettenis <kettenis@gnu.org>
3165
3166 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
3167
e0f9f062
DE
31682011-12-16 Doug Evans <dje@google.com>
3169
f4aa2101 3170 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
3171 * boards/native-gdbserver.exp: New file.
3172
e0f9f062
DE
3173 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
3174 gdbserver output.
3175 (gdbserver_default_get_remote_address): New function.
3176 (gdbserver_start): Call gdb,get_remote_address to compute argument
3177 to "target remote" command.
3178
80b6e756
PM
31792011-12-16 Phil Muldoon <pmuldoon@redhat.com>
3180
1c3ad6ab 3181 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
3182 python print-stack. Add set/show python print-stack
3183 off|full|message tests.
3184
1576bd00
YQ
31852011-12-15 Yao Qi <yao@codesourcery.com>
3186
3187 * gdb.trace/strace.c: New
3188 * gdb.trace/strace.exp: New.
3189
d6a0f6e0
TT
31902011-12-14 Tom Tromey <tromey@redhat.com>
3191
3192 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
3193
31015e1d
DE
31942011-12-14 Doug Evans <dje@google.com>
3195
3196 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
3197
7b50312a
PA
31982011-12-14 Pedro Alves <pedro@codesourcery.com>
3199
3200 PR threads/10729
3201
3202 * gdb.mi/watch-nonstop.c: New file.
3203 * gdb.mi/mi-watch-nonstop.exp: New file.
3204
924437bc
PA
32052011-12-13 Pedro Alves <pedro@codesourcery.com>
3206 Doug Evans <dje@google.com>
3207
3208 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
3209 (clean_restart): Remove references to the gdb_stub target board
3210 variable.
3211 (gdb_step_for_stub): Delete.
3212
3213 * gdb.base/annota1.exp: Remove all references to [target_info
3214 exists gdb_stub], gdb_step_for_stub and usestubs.
3215 * gdb.base/annota3.exp: Ditto.
3216 * gdb.base/async.exp: Ditto.
3217 * gdb.base/break.exp: Ditto.
3218 * gdb.base/code-expr.exp: Ditto.
3219 * gdb.base/commands.exp: Ditto.
3220 * gdb.base/completion.exp: Ditto.
3221 * gdb.base/condbreak.exp: Ditto.
3222 * gdb.base/consecutive.exp: Ditto.
3223 * gdb.base/cvexpr.exp: Ditto.
3224 * gdb.base/define.exp: Ditto.
3225 * gdb.base/display.exp: Ditto.
3226 * gdb.base/ena-dis-br.exp: Ditto.
3227 * gdb.base/environ.exp: Ditto.
3228 * gdb.base/gnu-ifunc.exp: Ditto.
3229 * gdb.base/maint.exp: Ditto.
3230 * gdb.base/pending.exp: Ditto.
3231 * gdb.base/sect-cmd.exp: Ditto.
3232 * gdb.base/sepdebug.exp: Ditto.
3233 * gdb.base/unload.exp: Ditto.
3234 * gdb.base/watchpoint-solib.exp: Ditto.
3235 * gdb.cp/annota2.exp: Ditto.
3236 * gdb.cp/annota3.exp: Ditto.
3237 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
3238 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
3239 * gdb.mi/mi-pending.exp: Ditto.
3240 * gdb.trace/circ.exp: Ditto.
3241 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
3242 * gdb.base/list.exp: Ditto.
3243
3244 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
3245 breakpoint function and all references to the usestubs macro.
3246 * gdb.base/exprs.c: Ditto.
3247 * gdb.base/freebpcmd.c: Ditto.
3248 * gdb.base/bitfields.c: Ditto.
3249 * gdb.base/bitfields2.c: Ditto.
3250 * gdb.base/break.c: Ditto.
3251 * gdb.base/call-sc.c: Ditto.
3252 * gdb.base/call-signals.c: Ditto.
3253 * gdb.base/callfuncs.c: Ditto.
3254 * gdb.base/charset.c: Ditto.
3255 * gdb.base/consecutive.c: Ditto.
3256 * gdb.base/constvars.c: Ditto.
3257 * gdb.base/funcargs.c: Ditto.
3258 * gdb.base/int-type.c: Ditto.
3259 * gdb.base/interrupt.c: Ditto.
3260 * gdb.base/langs0.c: Ditto.
3261 * gdb.base/list0.c: Ditto.
3262 * gdb.base/mips_pro.c: Ditto.
3263 * gdb.base/miscexprs.c: Ditto.
3264 * gdb.base/nodebug.c: Ditto.
3265 * gdb.base/opaque0.c: Ditto.
3266 * gdb.base/pointers.c: Ditto.
3267 * gdb.base/printcmds.c: Ditto.
3268 * gdb.base/ptype.c: Ditto.
3269 * gdb.base/recurse.c: Ditto.
3270 * gdb.base/reread1.c: Ditto.
3271 * gdb.base/reread2.c: Ditto.
3272 * gdb.base/restore.c: Ditto.
3273 * gdb.base/return.c: Ditto.
3274 * gdb.base/run.c: Ditto.
3275 * gdb.base/scope0.c: Ditto.
3276 * gdb.base/sepdebug.c: Ditto.
3277 * gdb.base/setshow.c: Ditto.
3278 * gdb.base/setvar.c: Ditto.
3279 * gdb.base/sigall.c: Ditto.
3280 * gdb.base/signals.c: Ditto.
3281 * gdb.base/structs.c: Ditto.
3282 * gdb.base/structs2.c: Ditto.
3283 * gdb.base/testenv.c: Ditto.
3284 * gdb.base/twice.c: Ditto.
3285 * gdb.base/unwindonsignal.c: Ditto.
3286 * gdb.base/watchpoint.c: Ditto.
3287 * gdb.base/watchpoints.c: Ditto.
3288 * gdb.base/whatis.c: Ditto.
3289 * gdb.cp/classes.cc: Ditto.
3290 * gdb.cp/cplusfuncs.cc: Ditto.
3291 * gdb.cp/derivation.cc: Ditto.
3292 * gdb.cp/formatted-ref.cc: Ditto.
3293 * gdb.cp/misc.cc: Ditto.
3294 * gdb.cp/overload.cc: Ditto.
3295 * gdb.cp/ovldbreak.cc: Ditto.
3296 * gdb.cp/ref-params.cc: Ditto.
3297 * gdb.cp/ref-types.cc: Ditto.
3298 * gdb.cp/templates.cc: Ditto.
3299 * gdb.cp/virtfunc.cc: Ditto.
3300 * gdb.hp/gdb.aCC/run.c: Ditto.
3301 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
3302 * gdb.hp/gdb.compat/xdb0.c: Ditto.
3303 * gdb.reverse/consecutive-reverse.c: Ditto.
3304 * gdb.reverse/sigall-reverse.c: Ditto.
3305 * gdb.reverse/until-reverse.c: Ditto.
3306 * gdb.reverse/watch-reverse.c: Ditto.
3307 * gdb.trace/actions.c: Ditto.
3308 * gdb.trace/circ.c: Ditto.
3309 * gdb.trace/collection.c: Ditto.
3310
fabde485
PA
33112011-12-13 Pedro Alves <pedro@codesourcery.com>
3312
3313 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
3314 (func6, func7): New.
3315 (main): Call func6 and func7.
3316 * gdb.base/watchpoint.exp (test_wide_location_1)
3317 (test_wide_location_2): New.
3318 (top level): Re-enable hardware watchpoints if necessary. Call
3319 test_wide_location_1 and test_wide_location_2.
3320
ff7d1690
YQ
33212011-12-11 Yao Qi <yao@codesourcery.com>
3322
3323 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
3324
a6af7abe
JB
33252011-12-11 Joel Brobecker <brobecker@adacore.com>
3326
3327 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
3328 expected output for unsupported case.
3329
61638e15
JK
33302011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3331
3332 PR testsuite/12649
3333 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
3334 Protect gdb_test_multiple by final $gdb_prompt match.
3335
0a00efc3
JK
33362011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3337
3338 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
3339 New variable, new test.
3340 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3341 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3342 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3343 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
3344 them if HAVE_GCC_45682_FIXED is not set.
3345
4511b1ba
YQ
33462011-12-10 Yao Qi <yao@codesourcery.com>
3347
3348 * gdb.trace/status-stop.exp: New.
3349 * gdb.trace/status-stop.c: New.
3350
27949e73
JK
33512011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3352
3353 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
3354 timeout.
3355
d8ea7931
TT
33562011-12-08 Tom Tromey <tromey@redhat.com>
3357
3358 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
3359 condition.
3360
1cc310d2
SS
33612011-12-07 Stan Shebs <stan@codesourcery.com>
3362
3363 * gdb.trace/tfind.exp: Update for output changes.
3364
d482a875
PA
33652011-12-07 Pedro Alves <pedro@codesourcery.com>
3366
3367 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
3368 throws "Cannot insert catchpoints in this configuration".
3369 * gdb.ada/mi_catch_ex.exp: Likewise.
3370
f0ba3972
PA
33712011-12-06 Pedro Alves <pedro@codesourcery.com>
3372
3373 * gdb.base/break-always.exp: Test changing memory at addresses
3374 with breakpoints inserted.
3375
f8eba3c6
TT
33762011-12-06 Joel Brobecker <brobecker@acacore.com>
3377
3378 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
3379 involving a fully qualified function name.
3380
33812011-12-06 Tom Tromey <tromey@redhat.com>
3382
3383 * gdb.ada/homonym.exp: Add three breakpoint tests.
3384
33852011-12-06 Tom Tromey <tromey@redhat.com>
3386
3387 * gdb.base/solib-weak.exp (do_test): Remove kfail.
3388 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
3389 * gdb.objc/objcdecode.exp: Update for output changes.
3390 * gdb.linespec/linespec.exp: New file.
3391 * gdb.linespec/lspec.cc: New file.
3392 * gdb.linespec/lspec.h: New file.
3393 * gdb.linespec/body.h: New file.
3394 * gdb.linespec/base/two/thefile.cc: New file.
3395 * gdb.linespec/base/one/thefile.cc: New file.
3396 * gdb.linespec/Makefile.in: New file.
3397 * gdb.cp/templates.exp (test_template_breakpoints): Update for
3398 output changes.
3399 * gdb.cp/re-set-overloaded.exp: Remove kfail.
3400 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
3401 makes one breakpoint.
3402 * gdb.cp/method2.exp (test_break): Update for output changes.
3403 * gdb.cp/mb-templates.exp: Update for output changes.
3404 * gdb.cp/mb-inline.exp: Update for output changes.
3405 * gdb.cp/mb-ctor.exp: Update for output changes.
3406 * gdb.cp/ovsrch.exp: Use fully-qualified names.
3407 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
3408 has multiple matches.
3409 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
3410 error message change.
3411 * gdb.base/list.exp (test_list_filename_and_number): Update for
3412 error message change.
3413 * gdb.base/break.exp: Disable pending breakpoints. Update for
3414 output changes.
3415 * configure.ac: Add gdb.linespec.
3416 * configure: Rebuild.
3417 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
3418
c642a434
UW
34192011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
3420
3421 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
3422 last_break register on s390*-*-* targets.
3423
b18003d1
JB
34242011-12-06 Joel Brobecker <brobecker@adacore.com>
3425
3426 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
3427 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
3428 of parameter X in procedure Foo.
3429
fe96589c
SS
34302011-12-05 Stan Shebs <stan@codesourcery.com>
3431
3432 * gdb.trace/tfind.exp: Update help string matches.
3433
1820ab47
JK
34342011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3435
3436 * gdb.server/ext-run.exp (get process list): Accept also systemd
3437 as PID 1.
3438
e11ac3a3
JK
34392011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3440 Pedro Alves <pedro@codesourcery.com>
3441
3442 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
3443 starting GDB.
3444 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
3445 $use_gdb_stub.
3446 * gdb.base/display.exp: Likewise.
3447 * gdb.base/ending-run.exp: Likewise.
3448 * gdb.base/list.exp (test_listsize): Likewise.
3449 * gdb.base/setshow.exp: Likewise.
3450 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
3451 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
3452 check by global $use_gdb_stub.
3453 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
3454 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
3455 (default_gdb_init): Unset global $use_gdb_stub.
3456 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
3457 by global $use_gdb_stub.
3458 * lib/gdbserver-support.exp: Extend comments for set_board_info
3459 gdb_protocol and gdb,socketport.
3460 (gdbserver_start_extended): Set global gdbserver_protocol and
3461 gdbserver_gdbport. Clear global use_gdb_stub.
3462 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
3463 from target use_gdb_stub.
3464 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
3465
1d41d75c
DE
34662011-12-03 Doug Evans <dje@google.com>
3467
3468 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
3469 (gdb_step_for_stub): Add comments.
3470
d6d7a51a
MR
34712011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
3472
3473 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
3474 to the caller.
3475 (gdb_test_multiple): Likewise.
3476
05acf274
JK
34772011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3478
3479 Fix gdb.mi/mi-solib.exp without system debug info installed.
3480 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
3481 expect attribute, return 0 for it. Update comments.
3482
2268b414
JK
34832011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3484
3485 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
3486 (corrupted list): Adjust the expectation.
3487
585861ea
JK
34882011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3489
3490 PR threads/13448
3491 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
3492 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
3493 * gdb.threads/tls-var-main.c: New file.
3494 * gdb.threads/tls-var.c: New file.
3495 * gdb.threads/tls-var.exp: New file.
3496
968643aa
JK
34972011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3498
3499 PR testsuite/12649
3500 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
3501 Protect gdb_test_multiple by final $gdb_prompt match.
3502 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
3503 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3504 (test_tracepoints): Likewise.
3505
9750bca9
JK
35062011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3507
3508 PR breakpoints/13346
3509 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
3510 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
3511 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
3512
ac1349b7
JB
35132011-12-01 Joel Brobecker <brobecker@adacore.com>
3514
3515 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
3516 * gdb.ada/homonym/homonym.adb: For use of all types defined
3517 locally inside both Get_Value subprograms.
3518
26d44faf
JK
35192011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3520
3521 Fix racy FAILs.
3522 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
3523 of send_gdb.
3524
514f6425
UW
35252011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3526
3527 * gdb.base/testenv.exp: Skip on remote targets. Unset global
3528 environment variable after test completed.
3529
4255c8d2
UW
35302011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3531
3532 * gdb.base/solib-nodir.exp: Skip if remote target.
3533 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
3534 application. Call gdb_load_shlibs.
3535 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
3536
a35ad96a
JB
35372011-11-29 Joel Brobecker <brobecker@adacore.com>
3538
3539 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
3540
1a1d5513
JB
35412011-11-28 Joel Brobecker <brobecker@adacore.com>
3542
3543 * gdb.ada/fullname_bp: New testcase.
3544
50b4ddf8
JK
35452011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 PR testsuite/12649
3548 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
3549 Wrap send_gdb into a new gdb_test.
3550
fb0aec57
JK
3551 Code cleanup.
3552 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
3553 Convert send_gdb and gdb_expect to gdb_test_multiple.
3554
2376d946
JK
35552011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3556
3557 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
3558
1eec78bd
KS
35592011-11-23 Keith Seitz <keiths@redhat.com>
3560
3561 * lib/mi-support.exp (varobj_tree): New namespace and procs.
3562 (mi_varobj_tree_test_children_callback): New proc.
3563 (mi_walk_varobj_tree): New proc.
3564
36dfb11c
TT
35652011-11-22 Tom Tromey <tromey@redhat.com>
3566
3567 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
3568 Add "use_mi_command" argument.
3569 (mi_run_cmd, mi_run_with_cli): New procs.
3570 * gdb.mi/solib-lib.c: New file.
3571 * gdb.mi/solib-main.c: New file.
3572 * gdb.mi/mi-solib.exp: New file.
3573
0e965dd0
DE
35742011-11-21 Doug Evans <dje@google.com>
3575
3576 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
3577 _Unwind_DebugHook is missing.
3578
f196051f
SS
35792011-11-20 Stan Shebs <stan@codesourcery.com>
3580
3581 * gdb.trace/tstatus.exp: New.
3582 * gdb.trace/actions.c: Include string.h.
3583
bfccc43c
YQ
35842011-11-18 Yao Qi <yao@codesourcery.com>
3585
3586 * gdb.trace/pending.exp: New.
3587 * gdb.trace/pending.c: New.
3588 * gdb.trace/pendshr1.c: New.
3589 * gdb.trace/pendshr2.c: New.
3590 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
3591 tracepoint location becomes pending.
3592 (tracepoint_change_loc_2): New.
3593
73cd8ab1
DM
35942011-11-16 David S. Miller <davem@davemloft.net>
3595
3596 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
3597 target is sparc*-*-linux*
3598
77426730
PK
35992011-11-15 Paul Koning <paul_koning@dell.com>
3600
3601 * gdb.python/py-type.exp: New testcases for exceptions on scalar
3602 types.
3603
ed59ded5
DE
36042011-11-14 Doug Evans <dje@google.com>
3605
3606 * gdb.base/shell.exp: New file.
3607
405f8e94
SS
36082011-11-14 Stan Shebs <stan@codesourcery.com>
3609
3610 * gdb.trace/ftrace.c: New.
3611 * gdb.trace/ftrace.exp: New.
3612
1e4d1764
YQ
36132011-11-14 Yao Qi <yao@codesourcery.com>
3614
3615 * gdb.trace/change-loc-1.c: New.
3616 * gdb.trace/change-loc-2.c: New.
3617 * gdb.trace/change-loc.c: New.
3618 * gdb.trace/change-loc.exp: New.
3619 * gdb.trace/change-loc.h: New.
3620 * gdb.trace/trace-break.c (marker): Define new symbol.
3621 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
3622 New.
3623 (break_trace_same_addr_6): New.
3624
71eba9c2 36252011-11-12 Matt Rice <ratmice@gmail.com>
3626
3627 * gdb.base/info-macros.exp: Make tests for info definitions
3628 test info macro. Add tests for info macro argument processing.
3629 Rename a few tests.
3630
1d93e29a
KS
36312011-11-11 Keith Seitz <keiths@redhat.com>
3632
3633 PR gdb/12843
3634 * gdb.base/linespecs.exp: New file.
3635
a4b5b48a
DE
36362011-11-11 Doug Evans <dje@google.com>
3637
3638 * gdb.threads/print-threads.exp: Extend timeout for slower
3639 tests.
3640
f6b47be4
DE
36412011-11-10 Doug Evans <dje@google.com>
3642
792a0230
DE
3643 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
3644 "record to end of main" test.
3645
f6b47be4
DE
3646 * gdb.python/py-type.c (TS): New typedef.
3647 (ts): New global.
3648 * gdb.python/py-type.exp: Test field list of typedef.
3649
22355c90
JB
36502011-11-10 Joel Brobecker <brobecker@adacore.com>
3651
3652 * gdb.ada/small_reg_param: New testcase.
3653
a7860e76
TT
36542011-11-09 Tom Tromey <tromey@redhat.com>
3655
3656 * gdb.cp/destrprint.exp: New file.
3657 * gdb.cp/destrprint.cc: New file.
3658
72a2e3dc
MI
36592011-11-08 Meador Inge <meadori@codesourcery.com>
3660
3661 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
3662 (switch_stack_to_other): New test function.
3663 * gdb.arch/thumb-prologue.exp: New test cases.
3664
c7195df2 36652011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
3666
3667 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
3668
d3895d7d
YQ
36692011-11-08 Yao Qi <yao@codesourcery.com>
3670
3671 * gdb.exp (supports_process_record): New.
3672 (supports_reverse): New.
3673 * gdb.reverse/break-precsave.exp: Call support_process_record
3674 to run test conditionally.
3675 * gdb.reverse/consecutive-precsave.exp: Likewise.
3676 * gdb.reverse/i386-precsave.exp: Likewise.
3677 * gdb.reverse/machinestate-precsave.exp: Likewise.
3678 * gdb.reverse/solib-precsave.exp: Likewise.
3679 * gdb.reverse/step-precsave.exp: Likewise.
3680 * gdb.reverse/until-precsave.exp: Likewise.
3681 * gdb.reverse/watch-precsave.exp: Likewise.
3682 * gdb.reverse/break-reverse.exp: Call support_reverse to run
3683 test conditionally.
3684 * gdb.reverse/consecutive-reverse.exp: Likewise.
3685 * gdb.reverse/finish-precsave.exp: Likewise.
3686 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3687 * gdb.reverse/finish-reverse.exp: Likewise.
3688 * gdb.reverse/i386-reverse.exp: Likewise.
3689 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3690 * gdb.reverse/machinestate.exp: Likewise.
3691 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
3692 * gdb.reverse/sigall-precsave.exp: Likewise.
3693 * gdb.reverse/sigall-reverse.exp: Likewise.
3694 * gdb.reverse/solib-reverse.exp: Likewise.
3695 * gdb.reverse/step-reverse.exp: Likewise.
3696 * gdb.reverse/until-reverse.exp: Likewise.
3697 * gdb.reverse/watch-reverse.exp: Likewise.
3698
a59306a3
YQ
36992011-11-05 Yao Qi <yao@codesourcery.com>
3700
3701 * gdb.trace/trace-break.exp: Add test on setting two
3702 fast tracepoints at the same address.
3703
87769f59
JK
37042011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3705
3706 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
3707
3065dfb6
SS
37082011-11-02 Stan Shebs <stan@codesourcery.com>
3709
3710 * gdb.trace/collection.c: Add code using strings.
3711 * gdb.trace/collection.exp: Add tests of string collection.
3712
89e208db
JK
37132011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3714
3715 * gdb.base/skip-solib.exp (executable_main): New variable.
3716 (binfile_main): Base it on that.
3717 Use $executable_main in clean_restart calls. Drop gdb_exit and
3718 gdb_start calls.
3719
405e54e9
JK
37202011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3721
3722 Fix racy FAILs.
3723 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
3724 breakpoint_re globals import by async. Set string_regex to .* for
3725 async. Remove the optional thread_selected_re and breakpoint_re
3726 globals expectations.
3727
58e8570a
JM
37282011-11-01 Joseph Myers <joseph@codesourcery.com>
3729
3730 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
3731 well as Cygwin.
3732
7b35ec7f 37332011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
3734
3735 Add tests for skip command.
89e208db
JK
3736 * gdb.base/skip-solib-lib.c: New
3737 * gdb.base/skip-solib-main.c: New
3738 * gdb.base/skip-solib.exp: New
3739 * gdb.base/skip.c: New
3740 * gdb.base/skip.exp: New
3741 * gdb.base/skip1.c: New
3742 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 3743
b9fd1791
PA
37442011-10-31 Yao Qi <yao@codesourcery.com>
3745 Pedro Alves <pedro@codesourcery.com>
3746
3747 * gdb.trace/trace-break.c: New.
3748 * gdb.trace/trace-break.exp: New.
3749
4323fecc
JK
37502011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3751
3752 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
3753 break-here-2.
3754
0e5bf2a8
PA
37552011-10-28 Pedro Alves <pedro@codesourcery.com>
3756
3757 * gdb.threads/no-unwaited-for-left.c: New.
3758 * gdb.threads/no-unwaited-for-left.exp: New.
3759 * gdb.threads/non-ldr-exc-1.c: New.
3760 * gdb.threads/non-ldr-exc-1.exp: New.
3761 * gdb.threads/non-ldr-exc-2.c: New.
3762 * gdb.threads/non-ldr-exc-2.exp: New.
3763 * gdb.threads/non-ldr-exc-3.c: New.
3764 * gdb.threads/non-ldr-exc-3.exp: New.
3765 * gdb.threads/non-ldr-exc-4.c: New.
3766 * gdb.threads/non-ldr-exc-4.exp: New.
3767
3a3dad98
JK
37682011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3769
3770 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
3771 * gdb.base/attach-pie-misread.exp: Likewise.
3772 * gdb.base/break-interp.exp: Likewise.
3773 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
3774 testcases for use_gdb_stub.
3775 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
3776 (continue): New testcase.
3777 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
3778 * gdb.threads/attach-into-signal.exp: Likewise.
3779 * gdb.threads/attach-stopped.exp: Likewise.
3780 * gdb.threads/attachstop-mt.exp: Likewise.
3781
d6a5d40c
PK
37822011-10-28 Paul Koning <paul_koning@dell.com>
3783
3784 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
3785
ca539be8
JK
37862011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3787
3788 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
3789 (mi_gdb_test): Import globals thread_selected_re
3790 and breakpoint_re. Expect them optionally at the regex start.
3791
d234ef5c
DE
37922011-10-27 Doug Evans <dje@google.com>
3793
3794 * gdb.python/python.exp: Test source -s.
3795
ab964825
PK
37962011-10-26 Paul Koning <paul_koning@dell.com>
3797
3798 * gdb.python/lib-types.cc (struct A): New structure.
3799 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 3800
54d8a644
PK
38012011-10-25 Paul Koning <paul_koning@dell.com>
3802
3803 PR python/13327
d234ef5c 3804
54d8a644
PK
3805 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
3806 fetch_lazy method.
3807
b0221781
YQ
38082011-10-24 Yao Qi <yao@codesourcery.com>
3809
3810 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
3811 target is tic6x-*-*.
3812
6cda5a20
JB
38132011-10-21 Joel Brobecker <brobecker@adacore.com>
3814
3815 * gdb.ada/mi_task_info/task_switch.adb: New file.
3816 * gdb.ada/mi_task_info.exp: New file.
3817
5ed9db04
JK
38182011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 * gdb.cp/expand-psymtabs-cxx.exp: New file.
3821 * gdb.cp/expand-psymtabs-cxx.cc: New file.
3822
9df2fbc4
PM
38232011-10-20 Phil Muldoon <pmuldoon@redhat.com>
3824
3825 PR python/12656
3826
3827 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
3828 global_block tests.
3829
736086ba
TT
38302011-10-18 Tom Tromey <tromey@redhat.com>
3831
3832 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
3833
4af31552
TT
38342011-10-18 Tom Tromey <tromey@redhat.com>
3835
3836 * gdb.base/source.exp: Don't include full file name in test name.
3837 * gdb.python/python.exp: Don't include full file name in test
3838 name.
3839
43136979
AR
38402011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3841
3842 * gdb.base/attach-pie-noexec.c: New files.
3843 * gdb.base/attach-pie-noexec.exp: New files.
3844
543a9323
JM
38452011-10-17 Joseph Myers <joseph@codesourcery.com>
3846
3847 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
3848 prompt for each extra line in command.
3849
21ae7a4d
JK
38502011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3851
3852 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
3853 Revert the part of:
3854 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3855 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
3856 Change the expected string.
3857
20ec36d9
JK
38582011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3859
3860 Fix results with system glibc debug info installed.
3861 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
3862 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
3863 Accept also __libc_ symbol prefix and no prefix.
3864
6501c2fc
KS
38652011-10-14 Keith Seitz <keiths@redhat.com>
3866
3867 PR c++/13225
3868 * gdb.cp/converts.cc (foo3_1): New function.
3869 (foo3_2): New functions.
3870 * gdb.cp/converts.exp: Add tests for int to pointer conversion
3871 and null pointer conversions of integer constant zero.
3872 Add test to check if all arguments are checked for incompatible
3873 conversion BADNESS.
3874
55b1fd0c
TT
38752011-10-14 Tom Tromey <tromey@redhat.com>
3876
3877 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
3878 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
3879 linespec.
3880
22c05d8a
JK
38812011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3882
3883 Fix internal error regression.
3884 * gdb.dwarf2/implptr-optimized-out.S: New file.
3885 * gdb.dwarf2/implptr-optimized-out.exp: New file.
3886
1d6edc3c
JK
38872011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3888
3889 Fix empty DWARF expressions DATA vs. SIZE conditionals.
3890 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
3891 (loclist): New.
3892 (4): New abbrev.
3893 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
3894 Use prepare_for_testing, remove clean_restart.
3895 (p arraynoloc, p arraycallnoloc): New tests.
3896
9ec72168
JK
38972011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3898
3899 * gdb.cp/namespace-enum.exp (executable): New variable.
3900 (binfile): Use ${objdir}/${subdir}/ prefix.
3901 Use ${executable} for clean_restart.
3902
9c6c53f7
SA
39032011-10-11 Sterling Augustine <saugustine@google.com>
3904
3905 * gdb.cp/Makefile.in: Add namespace-enum test.
3906 * gdb.cp/namespace-enum.exp: New file.
3907 * gdb.cp/namespace-enum.c: New file.
3908 * gdb.cp/namespace-enum-main.c: New file.
3909
fac7ceb3
UW
39102011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
3911
3912 * gdb.python/py-shared.exp: Relax filename check to handle remote:
3913 sysroot.
3914
941b2081
JK
39152011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 Reimplement @entry in input expressions.
3918 * gdb.base/exprs.c (v_int_array_init): New variable.
3919 * gdb.base/exprs.exp (print v_int_array_init)
3920 (print *v_int_array_init@1, print *v_int_array_init@2)
3921 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
3922 (print v_int_array_init[1]@1): New tests.
3923
0344e878
JM
39242011-10-10 Joseph Myers <joseph@codesourcery.com>
3925
3926 * gdb.cp/gdb2495.exp: Do not include directories in filename in
3927 expected message.
3928
5a56e9c5
DE
39292011-10-09 Doug Evans <dje@google.com>
3930
3931 * gdb.base/alias.exp: Add tests for alias command.
3932
2bda9cc5
JK
39332011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3934
3935 * gdb.arch/amd64-entry-value.s: New file.
3936 * gdb.mi/mi2-amd64-entry-value.s: New file.
3937
a471c594
JK
39382011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3939
3940 Display @entry parameter values even for references.
3941 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
3942 functions.
3943 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
3944 reference and datap_input.
3945 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
3946 breakpoints.
3947 (continue to breakpoint: entry_reference: reference)
3948 (entry_reference: bt at entry)
3949 (continue to breakpoint: entry_reference: breakhere_reference)
3950 (entry_reference: bt, entry_reference: ptype regparam)
3951 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
3952 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
3953 (entry_reference: p regcopy, entry_reference: p nodataparam)
3954 (entry_reference: p nodataparam@entry): New tests.
3955
36b11add
JK
39562011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3957
3958 Support @entry in input expressions.
3959 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
3960 (entry_stack: p s1@entry, entry_stack: p s2@entry)
3961 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
3962 (tailcall: p j@entry): New tests.
3963 * gdb.cp/koenig.cc (A::entry): New function.
3964 (main): Call it.
3965 * gdb.cp/koenig.exp (p entry (c)): New test.
3966
e18b2753
JK
39672011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3968
3969 Display @entry parameter values (without references).
3970 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
3971 (different, validity, invalid): New functions.
3972 (main): Call them.
3973 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
3974 stacktest, breakhere_stacktest, different, breakhere_different,
3975 breakhere_validity and breakhere_invalid.
3976 (entry: bt): Update for @entry.
3977 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
3978 (entry_validity: *, entry_invalid: *): Many new tests.
3979 * gdb.base/break.exp
3980 (run until breakpoint set at small function, optimized file): Accept
3981 also the @entry suffix.
3982 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
3983 * gdb.mi/mi2-amd64-entry-value.c: New files.
3984 * gdb.mi/mi2-amd64-entry-value.exp: New files.
3985
2d6c5dc2
JK
39862011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 Protect entry values against self tail calls.
3989 * gdb.arch/amd64-entry-value.cc (self2, self): New.
3990 (main): Call self.
3991 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
3992 (set debug entry-values 1, self: bt debug entry-values): New tests.
3993
111c6489
JK
39942011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3995
3996 Recognize virtual tail call frames.
3997 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
3998 (amb_b, amb_a): New.
3999 (main): Call a and b.
4000 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
4001 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
4002 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
4003 New tests.
4004
8e3b41a9
JK
40052011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4006
4007 Implement basic support for DW_TAG_GNU_call_site.
4008 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
4009 * gdb.arch/amd64-entry-value.cc: New file.
4010 * gdb.arch/amd64-entry-value.exp: New file.
4011
181cebd4
JK
40122011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4013
4014 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
4015 * gdb.dwarf2/implptr-64bit.S: New file.
4016 * gdb.dwarf2/implptr-64bit.exp: New file.
4017
741f5e3c
JK
40182011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4019
4020 Fix initial language detection with -readnow.
4021 * gdb.cp/readnow-language.cc: New file.
4022 * gdb.cp/readnow-language.exp: New file.
4023
a73d2258
JK
40242011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4025
4026 Fix printed anonymous struct name.
4027 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
4028
af369495
JM
40292011-10-09 Joseph Myers <joseph@codesourcery.com>
4030
4031 * gdb.base/solib-symbol.exp: Do not include directories in
4032 filenames in expected messages.
4033
1fa57852
DE
40342011-10-07 Doug Evans <dje@google.com>
4035
4036 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
4037
bd054e06
KP
40382011-10-07 Kevin Pouget <kevin.pouget@st.com>
4039
4040 Allow Python notification of new object-file loadings.
4041 * gdb.python/py-events.exp: Test newobjfile event.
4042 * gdb.python/py-events.py: Register newobjfile callback.
4043 * gdb.python/py-events.c: Add call to shared library
4044 * gdb.python/py-events-shlib.c: New file.
4045
8031b6f8
JM
40462011-10-06 Joseph Myers <joseph@codesourcery.com>
4047
4048 * gdb.base/fixsection.exp: Do not include directories in filename
4049 in expected message.
4050
7fea6923
PM
40512011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4052
4053 Add tests for passing of environment variables to inferior.
4054 * gdb.base/testenv.c: New test source.
4055 * gdb.base/testenv.exp: New expect test.
4056
687f2a88
PK
40572011-10-04 Paul Koning <paul_koning@dell.com>
4058
4059 * gdb.python/py-value.c (main): Break before return.
4060
cb6be26b
KP
40612011-10-04 Kevin Pouget <kevin.pouget@st.com>
4062
4063 PR python/12691: Add the inferior to Python exited event
4064 * gdb.python/py-events.exp: Test the inferior attribute of exited
4065 event with a fork.
4066 * gdb.python/py-events.py: Print inferior number on exit.
4067 * gdb.python/py-events.c: Fork the inferior.
4068
fb213700
EBM
40692011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4070
4071 * gdb.base/jit.exp: Add testcase name to log message
4072
aa2071bd
PK
40732011-10-03 Paul Koning <paul_koning@dell.com>
4074 Jan Kratochvil <jan.kratochvil@redhat.com>
4075
4076 * gdb.python/py-value.exp
4077 (python inval = gdb.parse_and_eval('*(int*)0'))
4078 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
4079 (set argc=2, python print argc_lazy): New tests.
4080
dd11a36c
JB
40812011-10-02 Joel Brobecker <brobecker@adacore.com>
4082
4083 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
4084
46f886f1
JK
40852011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4086 Pedro Alves <pedro@codesourcery.com>
4087
4088 * gdb.python/py-value.exp (test_value_in_inferior): New variable
4089 can_read_0, test for it.
4090 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
4091 (parse_and_eval with memory error): ... here, make it untested if
4092 can_read_0.
4093
c5cb204f
MP
40942011-09-30 Marek Polacek <mpolacek@redhat.com>
4095
4096 * gdb.python/python.exp (verify pagination beforehand)
4097 (verify pagination afterwards): Fix race by splitting the line.
4098
68fb0ec0
JM
40992011-09-29 Joseph Myers <joseph@codesourcery.com>
4100
4101 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
4102 for 64-bit multilibs from i?86-* targets.
4103
6aee0d90
MP
41042011-09-29 Marek Polacek <mpolacek@redhat.com>
4105
4106 * lib/gdb.exp: Fix a typo in one of the comments.
4107
e9101ff5
MP
41082011-09-29 Marek Polacek <mpolacek@redhat.com>
4109
4110 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
4111 matching pattern.
4112
7a81bdbf
PK
41132011-09-28 Paul Koning <paul_koning@dell.com>
4114
4115 * gdb.python/py-type.c (enum E): New.
4116 * gdb.python/py-type.exp (test_fields): Add tests for Python
4117 mapping access to fields.
4118 (test_enums): New test for field access on enums.
4119
6710bf39
SS
41202011-09-27 Stan Shebs <stan@codesourcery.com>
4121
4122 * gdb.trace/collection.exp: Test collection of $_ret.
4123
b2a6bdeb
AT
41242011-09-22 Andreas Tobler <andreast@fgznet.ch>
4125
4126 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
4127 list of compilation switches for <*-*-freebsd*>.
4128
3c9057f3
SS
41292011-09-19 Stan Shebs <stan@codesourcery.com>
4130
4131 * gdb.trace/tspeed.exp: New file.
4132 * gdb.trace/tspeed.c: New file.
4133
34518530
YQ
41342011-09-18 Yao Qi <yao@codesourcery.com>
4135
4136 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
4137 instructions.
4138 (test_adr_32bit, test_pop_pc): Likewise.
4139 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
4140 Thumb instructions.
4141 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
4142 in gdb_test_multiple.
4143 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
4144
ab254057
YQ
41452011-09-17 Yao Qi <yao@codesourcery.com>
4146
4147 * lib/gdb.exp (can_single_step_to_signal_handler): New.
4148 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
4149 support single step to signal handler.
4150
9c317b71
YQ
41512011-09-17 Yao Qi <yao@codesourcery.com>
4152
4153 * gdb.base/disp-step-fork.c: New.
4154 * gdb.base/disp-step-syscall.exp: New.
4155 * gdb.base/disp-step-vfork.c: New.
4156
a8123151
JB
41572011-09-16 Joel Brobecker <brobecker@adacore.com>
4158
4159 * gdb.ada/tasks.exp: Make the expected output for
4160 the `info tasks' tests more resilient to spacing
4161 changes.
4162
63a9aad8
JK
41632011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4164
4165 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
4166 (reached breakpoint 2, reached breakpoint 3): Update expected output.
4167
2aa48337
KP
41682011-09-15 Kevin Pouget <kevin.pouget@st.com>
4169
4170 PR Python/12692 Add gdb.selected_inferior() to Python interface.
4171 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
4172
6839b47f
KP
41732011-04-30 Kevin Pouget <kevin.pouget@st.com>
4174
4175 Handle multiple breakpoint hits in Python interface:
4176 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
4177 presence.
4178 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
4179 breakpoint hits.
4180
0935723e
JK
41812011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4182 Jan Kratochvil <jan.kratochvil@redhat.com>
4183
4184 * gdb.python/py-events.exp: Remove pretty printing comment.
4185 * gdb.python/py-evsignal.exp: New file.
4186 * gdb.python/py-evthreads.c: Include signal.h.
4187 (thread3): Remove variable count3. Remove variable bad and use raise
4188 instead.
4189 (thread2): Remove variable count2. Move thread3 pthread_create here,
4190 merge pthread_join to a single line.
4191 (main): Remove variable count1. Merge pthread_join with pthread_create
4192 to a single line.
4193 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
4194 KFAIL python/12966 for gdbserver. Test return value of
4195 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
4196 gdb_expect by gdb_test and gdb_test_multiple.
4197 (thread 2, thread 3): New tests.
4198
4801a9a3
PA
41992011-09-12 Matt Rice <ratmice@gmail.com>
4200 Pedro Alves <pedro@codesourcery.com>
4201
4202 PR gdb/13175
4203
4204 * gdb.base/interp.exp: New tests.
4205 * gdb.base/interp.c: New file.
4206
24ece742
DE
42072011-09-12 Doug Evans <dje@google.com>
4208
4209 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
4210 * gdb.dwarf2/typeddwarf.exp: Ditto.
4211
7f062217
JK
42122011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4213
4214 Fix compatibility with x32 arch.
4215 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
4216 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
4217 is_x86_like_target.
4218 * testsuite/gdb.trace/collection.exp: Likewise.
4219 * testsuite/gdb.trace/report.exp: Likewise.
4220 * testsuite/gdb.trace/unavailable.exp: Likewise.
4221 * testsuite/gdb.trace/while-dyn.exp: Likewise.
4222 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
4223 (is_x86_like_target): Check also is_amd64_regs_target.
4224
08711b9a
JK
42252011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4226
4227 PR breakpoints/12435
4228 * gdb.arch/amd64-prologue-xmm.c: New file.
4229 * gdb.arch/amd64-prologue-xmm.exp: New file.
4230 * gdb.arch/amd64-prologue-xmm.s: New file.
4231
b99b5f66
JK
42322011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4233
4234 * gdb.dwarf2/dw2-param-error-main.c: New file.
4235 * gdb.dwarf2/dw2-param-error.S: New file.
4236 * gdb.dwarf2/dw2-param-error.exp: New file.
4237
a391a2f6
PA
42382011-09-08 Pedro Alves <pedro@codesourcery.com>
4239
4240 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
4241 inferior's pid and look for a core dump named core.$pid. Use
4242 `remote_file' commands on the host instead of hand coding shell
4243 commands on the build.
4244 * gdb.base/valgrind-db-attach.exp: Kill the program before
4245 finishing the test.
4246
7d8e6458 42472011-09-02 Matt Rice <ratmice@gmail.com>
4248
4249 * lib/prompt.exp: New file for testing the first prompt.
4250 * gdb.python/py-prompt.exp: Ditto.
4251 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
4252
68e77c9e
PA
42532011-09-02 Pedro Alves <pedro@codesourcery.com>
4254
4255 * gdb.threads/gcore-thread.exp: Set the global core_supported to
4256 0, before testing gcore.
4257
9655e943
JK
42582011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4259
df6dc84d
JK
4260 * dw2-ifort-parameter-debug.S: Update copyright year.
4261 * dw2-ifort-parameter.c: Update copyright year.
4262 * dw2-ifort-parameter.exp: Update copyright year.
4263
9655e943
JK
4264 * dw2-ifort-parameter-debug.S: New file.
4265 * dw2-ifort-parameter.c: New file.
4266 * dw2-ifort-parameter.exp: New file.
4267
353d1d73
JK
42682011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4269
4270 * gdb.base/commands.exp (error_clears_commands_left): New function.
4271 (): Call it.
4272
5c07461a
JK
42732011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4274
4275 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
4276 (C): Initialize `a'.
4277 * gdb.mi/mi-inheritance-syntax-error.exp
4278 (-data-evaluate-expression $path): Expect `a' as 5.
4279
0d932b2f
MK
42802011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
4281
4282 PR mi/11912
4283 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
4284 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
4285 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
4286 keyword in output of -var-info-path-expression.
4287
bdb54049
JK
42882011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4289
4290 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
4291 * gdb.trace/collection.exp: Likewise.
4292 * gdb.trace/report.exp: Likewise.
4293 * gdb.trace/unavailable.exp: Likewise.
4294 * gdb.trace/while-dyn.exp: Likewise.
4295
59cde39c
KS
42962011-08-18 Keith Seitz <keiths@redhat.com>
4297
4298 PR c++/12266
4299 * gdb.cp/meth-typedefs.cc: New file.
4300 * gdb.cp/meth-typedefs.exp: New file.
4301
fa3a4f15
PM
43022011-08-17 Phil Muldoon <pmuldoon@redhat.com>
4303
4304 * gdb.python/python.exp: Add extended-prompt tests.
4305
c1049fca
JK
43062011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4307
4308 * gdb.arch/i386-dr3-watch.exp
4309 (watchpoint on gap1 does not fit debug registers)
4310 (delete all watchpoints): Fix racy expect strings.
4311
d93f7b5c
YQ
43122011-08-14 Yao Qi <yao@codesourcery.com>
4313
4314 * gdb.base/maint.exp: set data_section to ".neardata".
4315 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
4316 * gdb.base/savedregs.exp: Handle SIGILL.
4317 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
4318 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
4319
457e09f0
DE
43202011-08-12 Doug Evans <dje@google.com>
4321
4322 * gdb.python/py-symbol.exp: Add test for symbol.type.
4323
5d0bb2fb
UW
43242011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
4325
4326 * gdb.threads/pthreads.exp: Enable on non-native configurations.
4327 * gdb.mi/mi-pthreads.exp: Likewise.
4328 * gdb.mi/mi2-pthreads.exp: Likewise.
4329 * gdb.mi/gdb669.exp.exp: Likewise.
4330
fcdfa280
PA
43312011-08-09 Pedro Alves <pedro@codesourcery.com>
4332
4333 * lib/mi-support.exp (detect_async): Rename to...
4334 (mi_detect_async): ... this.
4335 * gdb.mi/mi-nonstop-exit.exp: Adjust.
4336 * gdb.mi/mi-nonstop.exp: Adjust.
4337 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
4338 * gdb.mi/mi-nsintrall.exp: Adjust.
4339 * gdb.mi/mi-nsmoribund.exp: Adjust.
4340 * gdb.mi/mi-nsthrexec.exp: Adjust.
4341
9d8fa392
PA
43422011-08-09 Pedro Alves <pedro@codesourcery.com>
4343
4344 * gdb.base/display.c (do_loops): New `p_i' local.
4345 * gdb.base/display.exp: Test displaying a variable that is
4346 temporarily at a bad address.
4347
b6cede78
JK
43482011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4349
4350 * gdb.dwarf2/dw2-op-stack-value.S: New file.
4351 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
4352
67bedb8c
JK
43532011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4354
4355 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
4356 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
4357 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 4358
af6e93b2
PA
43592011-08-05 Pedro Alves <pedro@codesourcery.com>
4360
4361 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
4362 procedure.
4363 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
4364
1cf0e11f
YQ
43652011-08-05 Yao Qi <yao@codesourcery.com>
4366
4367 * gdb.base/callfuncs.exp: Set language after main.
4368 * gdb.cp/cplusfuncs.exp: Likewise.
4369 * gdb.cp/inherit.exp: Likewise.
4370
a1e28cb2
UW
43712011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4372
4373 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
4374 * gdb.base/watch-vfork.exp: Skip on remote targets.
4375
d4f5bbb9
UW
43762011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4377
4378 * gdb.threads/thread-find.exp: Support remote targets.
4379
724f4f80
UW
43802011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4381
4382 * gdb.base/jit.exp: Download solib_binfile to target.
4383 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
4384 and call dlopen without full path name.
4385 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
4386 dlopen without full path name.
4387
934709f0
PW
43882011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4389
4390 * gdb.base/break-always.exp: Complete the test
4391 with duplicated breakpoints and enabling/disabling them.
4392
c26106c4
TT
43932011-08-02 Tom Tromey <tromey@redhat.com>
4394
4395 PR gdb/11289:
4396 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
4397
9300444e 43982011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
4399
4400 PR gdb/13045
4401 * gdb.base/float.exp: Add new test case for PR gdb/13045
4402 * gdb.base/float.c: New file.
4403
00bd41d6
PM
44042011-07-28 Phil Muldoon <pmuldoon@redhat.com>
4405
4406 * gdb.python/py-mi.exp: Test printers returning string hint, and
4407 also not returning a value.
4408 * gdb.python/py-prettyprint.c: Add testcase for above.
4409 * gdb.python/py-prettyprint.py: Add test printer for above.
4410
d24f74ce
JK
44112011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4412
4413 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
4414 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
4415 (.Ldie30) Add as field "data4".
4416 (.Ldie32) Rename field "b" to "shl".
4417 (abbrev4) Change for the "data4" field.
4418 (abbrev5, abbrev6) Remove.
4419 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
4420 (p &s.shl): ... here. Add comment.
4421 (p &s.data4): New.
4422
bb7da2bf
JK
44232011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4424
4425 Fix crash on lval_computed values.
4426 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
4427
11081198
JK
44282011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4429
4430 * gdb.base/help.exp (help whatis): Update the expected string.
4431
3c6e0cb3
JK
44322011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4433
4434 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
4435 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
4436 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
4437 Change the expected string.
4438
efa80663
PA
44392011-07-26 Pedro Alves <pedro@codesourcery.com>
4440
4441 * gdb.base/watchpoint.exp
4442 (test_disable_enable_software_watchpoint): New procedure.
4443 (top level): Run it.
4444
db8e4570
UW
44452011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
4446
4447 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
4448 executable file "${binfile}", C++ version "${binfile}-cxx".
4449 * gdb.python/py-prettyprint.exp: Likewise.
4450 * gdb.python/py-symbol.exp: Likewise.
4451 * gdb.python/py-type.exp: Likewise.
4452 * gdb.python/py-value.exp: Likewise.
4453 * gdb.python/py-template.exp (test_template_arg): Pass full executable
4454 file name instead of just suffix.
4455
543305c9
JK
44562011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4457
4458 Fix implicit pointer offsets.
4459 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
4460 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
4461 (continue to breakpoint: continue to baz breakpoint for implptr)
4462 (sanity check element 0, sanity check element 1)
4463 (enter the inlined function, check element 0 for the offset)
4464 (check element 1 for the offset)
4465 (continue to breakpoint: ignore the second baz breakpoint): New tests.
4466 (set foo breakpoint for implptr): Update the breakpoint number.
4467
b3215adc
UW
44682011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4469
4470 * gdb.python/py-mi.exp: Use different file names for different
4471 versions of the executable under test.
4472 * gdb.python/py-prettyprint.exp: Likewise.
4473 * gdb.python/py-symbol.exp: Likewise.
4474 * gdb.python/py-template.exp: Likewise.
4475 * gdb.python/py-type.exp: Likewise.
4476 * gdb.python/py-value.exp: Likewise.
4477
182b9acc
UW
44782011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4479
4480 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
4481 flag after restarting GDB if necessary.
4482
e6052b5d
UW
44832011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4484
4485 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
4486
1ced966e
PA
44872011-07-22 Pedro Alves <pedro@codesourcery.com>
4488
4489 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
4490 backend doesn't leave used debug registers behind.
4491
3543a589
TT
44922011-07-22 Tom Tromey <tromey@redhat.com>
4493
4494 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
4495 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
4496 argument.
4497 * gdb.dwarf2/typeddwarf-amd64.S: New file.
4498
14d15303 44992011-07-21 Matt Rice <ratmice@gmail.com>
4500
4501 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
4502 in mostlyclean rule. Add files ending in .core.
4503
9b158ba0 45042011-07-21 Matt Rice <ratmice@gmail.com>
4505
4506 PR macros/12999
4507 * gdb.base/info-macros.c: New test sources.
4508 * gdb.base/info-macros.exp: New tests.
4509
d17b6f81
PM
45102011-07-21 Phil Muldoon <pmuldoon@redhat.com>
4511
4512 * gdb.python/python.exp: Add prompt substitution tests.
4513
918dd910
JK
45142011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4515
4516 Fix crash if referenced CU is aged out.
4517 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
4518 New.
4519 * gdb.dwarf2/implptr.exp: Likewise.
4520
0e37a63c
JK
45212011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4522
4523 * gdb.dwarf2/implptr.S: Rebuilt.
4524 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
4525 (bar): Use them for j, k, l.
4526 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
4527 COMPILE.
4528 (print j in implptr:bar): Update for the intp typedef.
4529 (print p[0].x in implptr:foo): Use more exact regex.
4530
f65cf84c
TT
45312011-07-18 Tom Tromey <tromey@redhat.com>
4532
4533 * gdb.cp/static-method.exp: Add missing single quote.
4534
d5b4a7be
YQ
45352011-07-18 Yao Qi <yao@codesourcery.com>
4536
4537 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
4538 supported.
4539 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4540 * gdb.mi/mi-nonstop.exp: Likewise.
4541 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4542 * gdb.mi/mi-nsintrall.exp: Likewise.
4543 * gdb.mi/mi-nsmoribund.exp: Likewise.
4544 * gdb.mi/mi-nsthrexec.exp: Likewise.
4545 * gdb.python/py-evthreads.exp: Likewise.
4546
e9ea2662
JK
45472011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4548
4549 Code cleanup.
4550 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
4551 it. Substitute it instead of test_compiler_info everywhere.
4552
ce451573
UW
45532011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4554
4555 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
4556 remote targets as well.
4557
756d88a7
UW
45582011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4559
4560 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
4561 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
4562
31f83dc5
UW
45632011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4564
4565 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
4566 a remote machine, not the host.
4567 (gdb_compile_shlib): Set soname if target is remote.
4568
059241a0
PP
45692011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4570
4571 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
4572
28a0b48c 45732011-07-13 Matt Rice <ratmice@gmail.com>
4574
4575 * gdb.python/py-objfile-script-gdb.py: Renamed to
4576 py-objfile-script-gdb.py.in.
4577 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
4578 py-objfile-script-gdb.py.
4579 * gdb.python/py-objfile-script.exp: Update reference to
4580 py-objfile-script-gdb.py.
4581
9a771b67
JK
45822011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4583
4584 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
4585 reference undefined label.
4586
04ad99e6
JK
45872011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4588
4589 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
4590 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
4591 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
4592 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
4593
713389e0
PM
45942011-07-11 Phil Muldoon <pmuldoon@redhat.com>
4595
4596 PR python/12438
4597 * gdb.python/python.exp: Add maint set/show python print-stack
4598 deprecated tests. Add set/show python print-backtrace tests.
4599
97d146f8
JK
46002011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4601
4602 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
4603 debug info.
4604
facde0e5 46052011-07-06 Matt Rice <ratmice@gmail.com>
4606
4607 * gdb.python/python.exp: Update filename paths.
4608 * gdb.python/py-symtab.exp: Ditto.
4609
438640d1
MP
46102011-07-06 Marek Polacek <mpolacek@redhat.com>
4611
4612 * gdb.python/py-evthreads.exp: Add missing `$'.
4613
33a365df
MF
46142011-07-06 Jie Zhang <jie.zhang@analog.com>
4615
4616 * config/bfin.exp: New file.
4617 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
4618 * gdb.asm/bfin.inc: New file.
4619
8f7ae686
MP
46202011-07-06 Marek Polacek <mpolacek@redhat.com>
4621
df46027d 4622 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
4623 the whole output.
4624
eb2a6f42
TT
46252011-07-05 Tom Tromey <tromey@redhat.com>
4626
4627 * gdb.java/jprint.java (jprint.hi): New field.
4628 * gdb.java/jprint.exp: Print string.
4629
177b42fe
TJB
46302011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
4631
4632 * gdb.base/call-sc.c: Fix typos.
4633 * gdb.base/ifelse.exp: Likewise.
4634 * gdb.base/structs.c: Likewise.
4635
3b2a0cf2
JB
46362011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4637
4638 * gdb.base/jit-so.exp: New test.
4639 * gdb.base/jit-dlmain.c: New file.
4640 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
4641
46fc714c
JK
46422011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4643
4644 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
4645 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
4646 * gdb.cp/pr9167.exp (p b): Likewise.
4647 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
4648 (test value of P in inner_m, test type of Z in inner_m): Call
4649 setup_xfail for gcc <= 4.5.
46fc714c 4650
418c7cf7
JK
46512011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4652
4653 * gdb.cp/paren-type.cc: New files.
4654 * gdb.cp/paren-type.exp: New files.
4655
3d50dd94
JK
46562011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4657
4658 Stop on first linespec terminator instead of eating what we can.
4659 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
4660 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
4661 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
4662 (break C::f()): ... this one.
4663 (break C::operator()()): New test.
4664 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
4665 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
4666 test.
4667
dcf9f4ab
JK
46682011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4669
4670 Fall back linespec to minimal symbols.
4671 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
4672 error message.
4673 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
4674 * gdb.cp/minsym-fallback-main.cc: New file.
4675 * gdb.cp/minsym-fallback.cc: New file.
4676 * gdb.cp/minsym-fallback.exp: New file.
4677 * gdb.cp/minsym-fallback.h: New file.
4678
3f542ed1
JK
46792011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4680
4681 * gdb.cp/no-dmgl-verbose.cc: New file.
4682 * gdb.cp/no-dmgl-verbose.exp: New file.
4683
46842011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
4685
4686 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
4687 __GI_.
4688 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
4689 (f): New function.
4690 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
4691 (complete p 'func<short>(): ... here.
4692 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
4693 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
4694 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
4695 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
4696 Make them KFAIL gcc/49546.
4697
00eb2c4a
JB
46982011-07-01 Joel Brobecker <brobecker@adacore.com>
4699
4700 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
4701
85a20c42
JK
47022011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4703
4704 Test GCC PR debug/49546.
4705 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
4706 (test type of F in k3_m, test value of F in k3_m): New.
4707 * gdb.cp/temargs.cc (struct S3, struct K3): New.
4708 (main): New variable k3. Call k3.k3_m.
4709
d2d43431
JB
47102011-07-01 Jean-Charles Delay <delay@adacore.com>
4711
4712 * gdb.ada/packed_array.exp: Fix expected outout.
4713
54ae186f
JB
47142011-07-01 Jean-Charles Delay <delay@adacore.com>
4715
4716 * gdb.ada/packed_array.exp: fixed expected output.
4717
8f17729f
JB
47182011-07-01 Joel Brobecker <brobecker@adacore.com>
4719
4720 * gdb.ada/same_enum: New testcase.
4721
f5aa6869
JB
47222011-07-01 Joel Brobecker <brobecker@adacore.com>
4723
4724 * gdb.ada/ptr_typedef: New testcase.
4725
828292f2
JB
47262011-07-01 Joel Brobecker <brobecker@adacore.com>
4727
4728 * gdb.ada/arrayptr.exp: Add ptype test.
4729
18920c42
JB
47302011-07-01 Joel Brobecker <brobecker@adacore.com>
4731
4732 * gdb.ada/char_enum: New testcase.
4733
3536d9e3 47342011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
4735
4736 * gdb.base/dump.exp (capture_pointer_with_type): New.
4737 Get value from address instead of name.
4738 Start GDB once, and do `dump' and `restore'
4739 tests together.
4740
db863c42
MF
47412011-06-30 Jie Zhang <jie.zhang@analog.com>
4742 Mike Frysinger <vapier@gentoo.org>
4743
4744 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
4745 helper functions for getting/setting remotetimeout variable.
4746 * lib/gdb.exp (gdb_load): If the target is remote, set
4747 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
4748 with $loadtimeout. Set $load_ok to 0 before doing the load.
4749 Instead of returning, immediately, set $load_ok to 0. Call
4750 set_remotetimeout with $oldremotetimeout, and then return if
4751 $load_ok is 1.
4752
e9e642a8
AB
47532011-06-30 Andrew Burgess <aburgess@broadcom.com>
4754
4755 * gdb.python/py-template.exp: Don't run this test if the target
4756 does not support c++ tests.
4757
32019081
JK
47582011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4759
4760 Fix non-only rename list for Fortran modules import.
4761 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
4762 tests.
4763 * gdb.fortran/module.f90 (module moduse): New.
4764 (program module): use moduse, test var_x, var_y and var_z.
4765
0ecee54c
TT
47662011-06-29 Tom Tromey <tromey@redhat.com>
4767
4768 PR testsuite/12040:
4769 * gdb.fortran/array-element.exp: Use f90, not f77.
4770 * gdb.fortran/complex.exp: Use f90, not f77.
4771 * gdb.fortran/derived-type.exp: Use f90, not f77.
4772 * gdb.fortran/library-module.exp: Use f90, not f77.
4773 * gdb.fortran/logical.exp: Use f90, not f77.
4774 * gdb.fortran/module.exp: Use f90, not f77.
4775 * gdb.fortran/multi-dim.exp: Use f90, not f77.
4776 * gdb.fortran/subarray.exp: Use f90, not f77.
4777
3b2b8fea
TT
47782011-06-29 Tom Tromey <tromey@redhat.com>
4779
4780 * gdb.fortran/charset.exp: New file.
4781 * gdb.fortran/charset.f90: New file.
4782
42159ca5
TT
47832011-06-29 Tom Tromey <tromey@redhat.com>
4784
4785 PR testsuite/12040:
4786 * lib/future.exp: New file, mostly extracted from ada.exp.
4787 Rewrote compatibility code to use rename.
4788 (gdb_find_gfortran): New proc.
4789 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
4790 gfortran patch.
4791 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
4792 Move to future.exp.
4793 * lib/gdb.exp: Always load future.exp.
4794
af69a5ce
YQ
47952011-06-28 Yao Qi <yao@codesourcery.com>
4796
4797 * gdb.cp/exception.cc: Don't include iostream.
4798 (bar): Remove print statement.
4799 (catcher): New.
4800 (main): Remove print statements. Call function catcher.
4801 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
4802 Set breakpoint on catcher, and check the value of parameter.
4803
ab5c6a72
YQ
48042011-06-23 Yao Qi <yao@codesourcery.com>
4805
4806 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
4807 1.2 is disabled. KFAIL for uclinux.
4808
9497469f
MP
48092011-06-23 Marek Polacek <mpolacek@redhat.com>
4810
4811 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
4812 mi_gdb_test.
4813
b9132588
MP
48142011-06-23 Marek Polacek <mpolacek@redhat.com>
4815
5d197ed0 4816 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 4817
e55595ca
MP
48182011-06-23 Marek Polacek <mpolacek@redhat.com>
4819
5d197ed0
MP
4820 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
4821
48222011-06-23 Marek Polacek <mpolacek@redhat.com>
4823
4824 * gdb.mi/mi2-basics.exp: Fix races. Honour the
4825 `test_exec_and_symbol_mi_operatons' return value.
4826 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4827 gdb_test_multiple.
4828 (test_exec_and_symbol_mi_operatons): Likewise.
4829 (test_path_specification): Likewise.
e55595ca 4830
be777e08
YQ
48312011-06-23 Yao Qi <yao@codesourcery.com>
4832
4833 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
4834 supported.
4835 * lib/gdb.exp (support_displaced_stepping): New.
4836
615556d6
YQ
48372011-06-23 Yao Qi <yao@codesourcery.com>
4838
4839 * gdb.threads/execl.exp: Skip on remote target.
4840
833b0ca7
MP
48412011-06-21 Marek Polacek <mpolacek@redhat.com>
4842
5d197ed0 4843 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
4844 mi_gdb_test.
4845
1ee4023a
MP
48462011-06-20 Marek Polacek <mpolacek@redhat.com>
4847
5d197ed0 4848 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 4849
d0b1d624
MP
48502011-06-20 Marek Polacek <mpolacek@redhat.com>
4851
5d197ed0 4852 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
4853 mi_gdb_test.
4854
79aa92c1
MP
48552011-06-20 Marek Polacek <mpolacek@redhat.com>
4856
5d197ed0 4857 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 4858
5ce5db06
YQ
48592011-06-14 Yao Qi <yao@codesourcery.com>
4860
4861 gdb/testsuite/
4862 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
4863
533a737e
JK
48642011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4865
4866 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
4867
d0e53741
TT
48682011-06-10 Tom Tromey <tromey@redhat.com>
4869
4870 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
4871 Add tests for pointer-to-member-function.
4872 * gdb.cp/temargs.cc (S::somefunc): New function.
4873 (K2): New class.
4874 (main): Instantiate K2; call method.
4875
b5916bbd
JB
48762011-06-08 Joel Brobecker <brobecker@adacore.com>
4877
4878 * gdb.python/py-inferior.c (f2): Make str an array rather
4879 than a pointer.
4880 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
4881
5be4dfca
JK
48822011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4883
4884 * gdb.base/async-shell.c: New file.
4885 * gdb.base/async-shell.exp: New file.
4886
9f47e254
PA
48872011-06-06 Pedro Alves <pedro@codesourcery.com>
4888
4889 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
4890
64b9b334
JB
48912011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
4892
4893 From Stephen Kitt <steve@sk2.org>
4894 * gdb.base/help.exp: Adjust following some spelling corrections
4895 in GDB.
4896
dbc0f131
YQ
48972011-06-01 Yao Qi <yao@codesourcery.com>
4898
4899 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
4900
fd336a18
KS
49012010-05-31 Keith Seitz <keiths@redhat.com>
4902
4903 PR c++/12750
4904 * gdb.cp/static-method.cc: New file.
4905 * gdb.cp/static-method.exp: New file.
4906
fa8b9902
KS
49072010-05-31 Keith Seitz <keiths@redhat.com>
4908
4909 PR symtab/12704
4910 * gdb.cp/anon-ns.cc: New file.
4911 * gdb.cp/anon-ns.exp: New file.
4912
0a5b1e09
PA
49132011-05-31 Pedro Alves <pedro@codesourcery.com>
4914
4915 * gdb.arch/i386-dr3-watch.c: New file.
4916 * gdb.arch/i386-dr3-watch.exp: New file.
4917
0578b8d1
YQ
49182011-05-30 Yao Qi <yao@codesourcery.com>
4919
4920 * gdb.base/callfuncs.c (t_structs_fc): New.
4921 (t_structs_dc, t_structs_ldc): New.
4922 (t_double_many_args):
4923 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
4924 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
4925 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
4926 * gdb.base/callfuncs.exp: Call new functions.
4927
6680506e
YQ
49282011-05-30 Yao Qi <yao@codesourcery.com>
4929
ff4d2c60
YQ
4930 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
4931 Call rerun_and_prepare for each test to isolate effects.
4932
49332011-05-30 Yao Qi <yao@codesourcery.com>
4934
4935 * gdb.base/varargs.c (find_max_float_real): New.
4936 (find_max_double_real, find_max_long_double_real): New.
4937 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
4938 * lib/gdb.exp (setup_kfail_for_target): New.
4939
e43ec454
YQ
49402011-05-30 Yao Qi <yao@codesourcery.com>
4941
4942 * gdb.base/funcargs.c (callca, callcb, callcc): New.
4943 (callcd, callce, callcf, callc1a, callc1b): New.
4944 (callc2a, callc2b): New.
4945 * gdb.base/funcargs.exp (complex_args): New.
4946 (complex_integral_args, complex_float_integral_args): New.
4947 * lib/gdb.exp (support_complex_tests): New. Determine
4948 whether to run test cases on _Complex types.
4949
432b4d03
JK
49502011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4951
4952 * gdb.threads/leader-exit.c: New file.
4953 * gdb.threads/leader-exit.exp: New file.
4954
6caf069d
MP
49552011-05-27 Marek Polacek <mpolacek@redhat.com>
4956
9497469f 4957 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 4958
97fce28b
MP
49592011-05-27 Marek Polacek <mpolacek@redhat.com>
4960
4961 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
4962 remove the `supported' variable.
4963 * gdb.mi/mi-nonstop.exp: Likewise.
4964 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4965 * gdb.mi/mi-nsintrall.exp: Likewise.
4966 * gdb.mi/mi-nsmoribund.exp: Likewise.
4967 * gdb.mi/mi-nsthrexec.exp: Likewise.
4968
9da8c2a0
PA
49692011-05-26 Pedro Alves <pedro@codesourcery.com>
4970
4971 * gdb.reverse/finish-reverse-bkpt.exp: New test.
4972
2c03e5be
PA
49732011-05-26 Pedro Alves <pedro@codesourcery.com>
4974
4975 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
4976
2e21250d
KS
49772011-05-24 Keith Seitz <keiths@redhat.com>
4978
4979 PR breakpoint/12803
4980 * gdb.cp/cmpd-minsyms.cc (a): New method.
4981 (b): New method.
4982 (c): New method.
4983 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
4984
cdac0397
PA
49852011-05-24 Pedro Alves <pedro@codesourcery.com>
4986
4987 * gdb.base/commands.exp (watchpoint_command_test): Check that the
4988 watchpoint's command list didn't execute when the watchpoint went
4989 out of scope.
4990
ee5683ab
PM
49912011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
4992
4993 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
4994 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
4995 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
4996 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4997 * gdb.arch/i386-permbkpt.exp: Likewise.
4998 * gdb.arch/i386-prologue.exp: Likewise.
4999 * gdb.arch/i386-size-overlap.exp: Likewise.
5000 * gdb.arch/i386-size.exp: Likewise.
5001 * gdb.arch/i386-unwind.exp: Likewise.
5002 * gdb.reverse/i386-precsave.exp: Likewise.
5003 * gdb.reverse/i386-reverse.exp: Likewise.
5004 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5005 * gdb.reverse/i387-env-reverse.exp: Likewise.
5006 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5007
c91c8c16
PA
50082011-05-24 Pedro Alves <pedro@codesourcery.com>
5009
5010 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
5011 file doesn't error, using MI.
5012
c50491a7
TT
50132011-05-23 Tom Tromey <tromey@redhat.com>
5014
5015 * gdb.base/charset.exp (string_display): Add tests to assign to
5016 arrays.
5017 * gdb.base/charset.c (short_array, int_array, long_array): New.
5018
4a07b7da
PA
50192011-05-20 Pedro Alves <pedro@codesourcery.com>
5020
5021 Cope with async mode.
5022
4a07b7da
PA
5023 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
5024 into gdb_test + mi_expect_stop.
5025
b275f2d2
PA
50262011-05-20 Pedro Alves <pedro@codesourcery.com>
5027
5028 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
5029 (callme): Remove printf call.
5030
eec52c44
PM
50312011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
5032
5033 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
5034 quote pattern to avoid problems with Cygwin/mingw expect versions.
5035 * gdb.base/default.exp (show convenience): Use double
5036 quote pattern for regular expressions.
5037
b3c8eb43
JK
50382011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5039
5040 Fix -readnow for -gdwarf-4 unused type units.
5041 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
5042 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
5043
ed731959
JK
50442011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5045
5046 * gdb.base/kill-after-signal.c: New file.
5047 * gdb.base/kill-after-signal.exp: New file.
5048
3b48433d
PA
50492011-05-16 Pedro Alves <pedro@codesourcery.com>
5050
5051 * gdb.ada/start.exp: Call untested with the correct test filename.
5052 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
5053 test filename. Make the test's binary unique.
5054 * gdb.arch/i386-signal.exp: Call untested with the correct test
5055 filename.
5056 * gdb.arch/i386-size-overlap.exp: Ditto.
5057 * gdb.arch/Makefile.in (EXECUTABLES): Update.
5058 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5059 * gdb.cp/call-c.exp: Ditto.
5060 * gdb.mi/mi-reverse.exp: Call untested with the correct test
5061 filename. Make the test's binary unique.
5062 * gdb.mi/Makefile.in (EXECUTABLES): Update.
5063 * gdb.python/py-mi.exp: Ditto.
5064 * gdb.python/Makefile.in (EXECUTABLES): Update.
5065 * gdb.reverse/i386-precsave.exp: Ditto.
5066 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
5067 test filename.
5068 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5069 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
5070 unique.
5071 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
5072 test filename.
5073 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
5074 * gdb.trace/tfile.exp: Ditto.
5075
ba4a8bdd
YQ
50762011-05-14 Yao Qi <yao@codesourcery.com>
5077
5078 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
5079 type.
5080
dbaefcf7
DE
50812011-05-13 Doug Evans <dje@google.com>
5082
5083 * gdb.python/py-objfile-script.exp: New file.
5084 * gdb.python/py-objfile-script.c: New file.
5085 * gdb.python/py-objfile-script-gdb.py: New file.
5086 * testsuite/gdb.python/py-section-script.exp: Test
5087 "info auto-load-scripts".
5088
9930639c
TT
50892011-05-13 Tom Tromey <tromey@redhat.com>
5090
5091 * gdb.dwarf2/clztest.exp: New file.
5092 * gdb.dwarf2/clztest.c: New file.
5093 * gdb.dwarf2/clztest.S: New file.
5094
05272e11
DE
50952011-05-13 Doug Evans <dje@google.com>
5096
cc63ef9b
DE
5097 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
5098 String16 tests.
05272e11 5099
6edba76f
TT
51002011-05-13 Tom Tromey <tromey@redhat.com>
5101
5102 * lib/gdb.exp (is_x86_like_target): New proc.
5103 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
5104 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
5105 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
5106 -nostdlib to compiler.
5107 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
5108 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
5109 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
5110 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
5111 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
5112
028d0ed5
TJB
51132011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5114
5115 * gdb.python/py-function.exp: Test setting a value from a function
5116 which executes a command.
5117
8a9b8146
TT
51182011-05-12 Tom Tromey <tromey@redhat.com>
5119
5120 * gdb.dwarf2/typeddwarf.S: New file.
5121 * gdb.dwarf2/typeddwarf.c: New file.
5122 * gdb.dwarf2/typeddwarf.exp: New file.
5123
10483e8e
MP
51242011-05-12 Marek Polacek <mpolacek@redhat.com>
5125
5126 * gdb.mi/mi-basics.exp: Fix races. Honour the
5127 `test_exec_and_symbol_mi_operatons' return value.
5128 (test_mi_interpreter_selection): Use mi_gdb_test instead of
5129 gdb_test_multiple.
5130 (test_exec_and_symbol_mi_operatons): Likewise.
5131 (test_path_specification): Likewise.
5132
faf067f1
JK
51332011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5134
5135 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
5136 (gdb_touch_execfile): Remove catch wrappers. New variable time.
5137 Replace `file copy' and `file rename' by `file mtime'. Twice.
5138
7ff911a3
JK
51392011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 * gdb.base/readline-ask.c: New file.
5142 * gdb.base/readline-ask.exp: New file.
5143 * gdb.base/readline-ask.inputrc: New file.
5144
a536c6d7
UW
51452011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5146
5147 * gdb.cell/bt.exp: Delete breakpoints before running to signal
5148 to avoid race condition.
5149 * gdb.cell/coremaker.c: Use small stack size.
5150 * gdb.cell/ea-standalone.exp: Use file name without path as
5151 argument to c_to.
5152 * gdb.cell/fork.exp: Allow other output when continuing to end.
5153
d472a426
JK
51542011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5155
5156 * gdb.threads/corethreads.c: New file.
5157 * gdb.threads/corethreads.exp: New file.
5158
51592011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
5160
5161 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
5162 Try to compile the test using -Wl,-z,norelro first.
5163 (load_core): New variable libthread_db_seen, initialize it.
5164 (zeroed-threads cannot be listed): Protect it by XFAIL on
5165 !$libthread_db_seen.
5166
8be455d7
JK
51672011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5168
5169 PR 12573
5170 * gdb.dwarf2/dw2-skip-prologue.S: New file.
5171 * gdb.dwarf2/dw2-skip-prologue.c: New file.
5172 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
5173
1976171a
JK
51742011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5175
5176 * gdb.cp/psymtab-parameter.cc: New file.
5177 * gdb.cp/psymtab-parameter.exp: New file.
5178
7db6f30f
JK
51792011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5180
5181 Fix a race.
5182 * gdb.cp/static-print-quit.exp (print c): Split to ...
5183 (print c - <return>, print c - q <return>, print c - to quit):
5184 ... these. Make the testfile untested on gdb-7.1.
5185
85161e9e 51862011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
5187
5188 * lib/gdb.exp (exec_target_file, exec_symbol_file,
5189 gdb_rename_execfile, gdb_touch_execfile): New.
5190 * gdb.base/reread.exp: Use new procs to handle multiple
5191 exec files.
5192
0c51be18
YQ
51932011-05-05 Yao Qi <yao@codesourcery.com>
5194
5195 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
5196 (test_adr_32bit, test_pop_pc): New.
5197 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
5198 (test_adr_32bit, test_pop_pc): New.
5199
4d393d60
JM
52002011-05-04 Joseph Myers <joseph@codesourcery.com>
5201
5202 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
5203 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
5204 targets.
5205 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
5206 handle targets.
5207
8ffd0459
JK
52082011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5209
5210 * gdb.base/completion.exp (complete help info wat): Rename to ...
5211 (complete 'help info wat'): ... here.
5212 Remove all `-re ".*' and `-re "^.*' redundant regexes.
5213 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
5214
8e28d804
PA
52152011-05-04 Pedro Alves <pedro@codesourcery.com>
5216
5217 * gdb.base/completion.exp: Use gdb_test_multiple instead of
5218 gdb_test and explicit $gdb_prompt/timeout matches.
5219
3eb2ef34
YQ
52202011-05-04 Yao Qi <yao@codesourcery.com>
5221
5222 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
5223 and __thumb2__.
5224
aaaf81a3
MP
52252011-05-03 Marek Polacek <mpolacek@redhat.com>
5226
5227 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
5228 in place of `gdb_test "delete breakpoints"'. This eliminates two
5229 testcases.
5230
c4cbc0df
PA
52312011-05-02 Pedro Alves <pedro@codesourcery.com>
5232
5233 PR testsuite/12649
5234 Fix races.
5235
5236 * gdb.base/completion.exp: Remove all sleep calls. Remove
5237 unnecessary regexs. Don't explicitly expect anything after the
5238 prompt. Eat the prompt if necessary.
5239
b4cbb4a3
EBM
52402011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5241
5242 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
5243 accept to show the caller line again as well as the line after.
5244
d65aec65
PM
52452011-04-29 Phil Muldoon <pmuldoon@redhat.com>
5246
5247 PR mi/12531
5248
5249 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
5250 compile target.
5251 * gdb.python/py-prettyprint.exp: Add C++ object for
5252 CPLUS_FAKE_CHILD test.
5253
30852783
UW
52542011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
5255
5256 * gdb.base/signest.exp: New file.
5257 * gdb.base/signest.c: Likewise.
5258
c7b1f0d9
JK
52592011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5260
5261 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
5262 thread and breakpoint notifications.
5263
559a7a62
JK
52642011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5265
5266 * gdb.base/fortran-sym-case.c: New file.
5267 * gdb.base/fortran-sym-case.exp: New file.
5268 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
5269 * gdb.dwarf2/dw2-case-insensitive.c: New file.
5270 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
5271
8344e389
JK
52722011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5273
5274 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
5275 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
5276 false #1', `if true else false #2' and `if true else false #3'.
5277
2484c66b
UW
52782011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
5279
5280 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
5281 while delivering signal.
5282
8d3788bd
VP
52832011-04-27 Vladimir Prus <vladimir@codesourcery.com>
5284
5285 MI breakpoint notifications.
5286
5287 * testsuite/gdb.mi/mi-cli.exp: Adust.
5288 * testsuite/gdb.mi/mi2-cli.exp: Adust.
5289 * testsuite/gdb.mi/mi-watch.exp: Adust.
5290 * testsuite/gdb.mi/mi2-watch.exp: Adust.
5291 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
5292 notifications.
5293
3e03848b
JK
52942011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5295
5296 * gdb.base/gdbindex-stabs-dwarf.c: New file.
5297 * gdb.base/gdbindex-stabs.c: New file.
5298 * gdb.base/gdbindex-stabs.exp: New file.
5299
918c9108
YQ
53002011-04-25 Yao Qi <yao@codesourcery.com>
5301
5302 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
5303 with /*...*/.
5304 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5305
90556b8c
JK
53062011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5307
5308 * gdb.python/py-value.exp (test_objfiles): Name the first test
5309 `py-value in file.filename'.
5310
03f2bd59
JK
53112011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5312
5313 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
5314 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
5315 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
5316 !gdbserver_reconnect_p..
5317 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
5318
7b08b9eb
JK
53192011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5320
5321 * gdb.cp/cpcompletion.exp (complete class methods)
5322 (complete class methods beginning with F): Move them above runto. New
5323 comment about the runto delimiter.
5324
b78974c3
PA
53252011-04-20 Pedro Alves <pedro@codesourcery.com>
5326
5327 * gdb.base/maint.exp: Test that "maint print registers" works
5328 without a running program.
5329
20429c40 53302011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 5331
20429c40
MP
5332 * gdb.base/setshow.exp: Fix racy tests.
5333 ($old_gdb_prompt): New variable.
5334
7a9dd1b2
TT
53352011-04-19 Tom Tromey <tromey@redhat.com>
5336
5337 * gdb.mi/mi-nsmoribund.exp:
5338 * gdb.hp/gdb.objdbg/objdbg01.exp:
5339 * gdb.base/structs.exp (test_struct_returns):
5340 * gdb.base/call-sc.exp (test_scalar_returns):
5341 * gdb.base/bigcore.exp: Remove duplicate words.
5342
02835898
JK
53432011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5344
5345 * gdb.base/break-interp-lib.c (v, vptr): New variables.
5346 * gdb.base/break-interp.exp (test_attach): New comment.
5347
254f582e
JK
53482011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5349
5350 * gdb.threads/gcore-thread.exp ($core0file): New variable.
5351 (clear __stack_user.next, clear stack_used.next)
5352 (save a zeroed-threads corefile): New test.
5353 Call core_load for $core0file.
5354 (zeroed-threads cannot be listed): New test.
5355
4fe85f5c
JK
53562011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5357
5358 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
5359 filename.
5360 ($srcfile): Preserve the original value.
5361 ($testfile): Match it the .exp filename.
5362 ($corefile): New variable. Substitute it around.
5363 Use clean_restart.
5364 ($prev_timeout): Remove.
5365 (load_core): Move core loading into this proc.
5366 Fix restore of $timeout if load_core fails.
5367
63524580
JK
53682011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5369
5370 * gdb.base/eu-strip-infcall.c: New file.
5371 * gdb.base/eu-strip-infcall.exp: New file.
5372
90359a16
JK
53732011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5374
5375 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
5376 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
5377
626e7282
JK
53782011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5379
5380 Fix Python access to inlined frames.
5381 * gdb.python/py-frame-inline.c: New file.
5382 * gdb.python/py-frame-inline.exp: New file.
5383
3363d018
EBM
53842011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
5385
5386 * gdb.base/gdb1090.exp: Change breakpoint location to read the
5387 content of 's24' correctly (avoiding "optimized out").
5388 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
5389
28781456
JK
53902011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5391
5392 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
5393
4a4106ca
TJB
53942011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5395
5396 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
5397 expect a colon in watch -location output.
5398
d26ccb4f
JK
53992011-04-13 Marek Polacek <mpolacek@redhat.com>
5400
df46027d 5401 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
5402 New testcase `expect response to define backtrace'. Also remove
5403 redundant `default' block.
5404
e1ab1f9c
JK
54052011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5406
5407 * gdb.python/py-prettyprint.c (struct hint_error): New.
5408 (main): New variable hint_error.
5409 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
5410 "print hint_error".
5411 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
5412 (register_pretty_printers): Register it.
5413
0c2e6019
TT
54142011-04-04 Tom Tromey <tromey@redhat.com>
5415
5416 * gdb.cp/maint.exp (test_help): Update.
5417 (test_namespace): Likewise.
5418
af57139d
JB
54192011-04-01 Joel Brobecker <brobecker@adacore.com>
5420
5421 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
5422 * gdb.ada/arrayptr.exp: Add new tests.
5423
956a9fb9
JB
54242011-04-01 Joel Brobecker <brobecker@adacore.com>
5425
5426 * gdb.ada/mi_catch_ex: New testcase.
5427
d0c4d642
PA
54282011-04-01 Pedro Alves <pedro@codesourcery.com>
5429
5430 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
5431 base::overload(void) method without specifying "const".
5432
18819fa6
UW
54332011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5434
5435 * gdb.arch/thumb-singlestep.S: New file.
5436 * gdb.arch/thumb-singlestep.exp: Likewise.
5437
a4c8e806
TT
54382011-03-31 Tom Tromey <tromey@redhat.com>
5439
5440 * gdb.python/py-prettyprint.py (exception_flag): New global.
5441 (NoStringContainerPrinter._iterator.next): Check it.
5442 * gdb.python/py-prettyprint.c (main): New variable nstype2.
5443 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
5444
53832f31
TT
54452011-03-29 Tom Tromey <tromey@redhat.com>
5446
5447 * gdb.cp/anon-struct.cc: New file.
5448 * gdb.cp/anon-struct.exp: New file.
5449
e4620230
JK
54502011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5451
5452 Test STT_GNU_IFUNC support.
5453 * gdb.base/gnu-ifunc-lib.c: New file.
5454 * gdb.base/gnu-ifunc.c: New file.
5455 * gdb.base/gnu-ifunc.exp: New file.
5456
d0fb5eae
JK
54572011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5458
5459 Support a ring of related breakpoints.
5460 * gdb.base/watchpoint-delete.c: New file.
5461 * gdb.base/watchpoint-delete.exp: New file.
5462
20106cfb
JK
54632011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5464
5465 * gdb.ada/arrayparam.exp (print first after function call): Use
5466 explicit package name. Add a comment
5467 (print lasta after function call): Rename ...
5468 (print last after function call): ... it and use explicit package
5469 name.
5470 (print length after function call): Use explicit package name.
5471 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
5472 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
5473 (multiple matches for symbol i): Rename ...
5474 (multiple matches for symbol integervar): ... it.
5475 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
5476 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
5477
e7ab5e63
AB
54782011-03-25 Andrew Burgess <aburgess@broadcom.com>
5479
5480 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
5481 environment variable to make grep output more predictable. Move
5482 all the environment setup into gdb_init so it's done once per test
5483 case rather than each time we start gdb.
5484
9ef07c8c
TT
54852011-03-24 Tom Tromey <tromey@redhat.com>
5486
5487 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
5488 test.
5489
dd90784c
JK
54902011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5491
5492 * gdb.dwarf2/dw2-entry-value-main.c: New file.
5493 * gdb.dwarf2/dw2-entry-value.S: New file.
5494 * gdb.dwarf2/dw2-entry-value.exp: New file.
5495
05775840
PM
54962011-03-22 Phil Muldoon <pmuldoon@redhat.com>
5497
5498 PR python/12183
5499
5500 * gdb.python/py-function.exp: Add GdbError tests.
5501
8661b11b
PA
55022011-03-18 Pedro Alves <pedro@codesourcery.com>
5503
5504 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
5505 (reglocal_test_func, statlocal_test_func): New functions.
5506 (globals_test_func): Call new functions.
5507 * gdb.trace/unavailable.exp (gdb_collect_args_test)
5508 (gdb_collect_locals_test): New procedure.
5509 (gdb_trace_collection_test): Call new procedures.
5510
0fdb4f18
PA
55112011-03-18 Pedro Alves <pedro@codesourcery.com>
5512
5513 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
5514 (test_register, test_register_unavailable): New procedures.
5515 (gdb_unavailable_registers_test): New procedure.
5516 (gdb_trace_collection_test): Call it.
5517
99c3dc11
PM
55182011-03-18 Phil Muldoon <pmuldoon@redhat.com>
5519
5520 PR python/12149
5521
5522 * gdb.python/python.exp: Add gdb.write tests.
5523
29703da4
PM
55242010-03-17 Phil Muldoon <pmuldoon@redhat.com>
5525
5526 * gdb.python/Makefile.in: Add py-objfile.
5527 * gdb.python/py-objfile.exp: New file.
5528 * gdb.python/py-objfile.c: New file.
5529 * gdb.python/py-block.exp: Add is_valid tests.
5530 * gdb.python/py-inferior.exp: Ditto.
5531 * gdb.python/py-infthread.exp: Ditto.
5532 * gdb.python/py-symbol.exp: Ditto.
5533 * gdb.python/py-symtab.exp: Ditto.
5534
598997c8
KS
55352011-03-16 Keith Seitz <keiths@redhat.com>
5536
5537 PR c++/12273
5538 * gdb.cp/cmpd-minsyms.exp: New test.
5539 * gdb.cp/cmpd-minsyms.cc: New file.
5540
5541 PR c++/11734
5542 * gdb.cp/ovsrch.exp: New test.
5543 * gdb.cp/ovsrch.h: New file.
5544 * gdb.cp/ovsrch1.cc: New file.
5545 * gdb.cp/ovsrch2.cc: New file.
5546 * gdb.cp/ovsrch3.cc: New file.
5547 * gdb.cp/ovsrch4.cc: New file.
5548
c91513d8
PP
55492011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5550
5551 PR gdb/12528
5552 * gdb.base/Makefile.in: Adjust EXECUTABLES.
5553 * gdb.base/break-on-linker-gcd-function.exp: New test.
5554 * gdb.base/break-on-linker-gcd-function.cc: New file.
5555
7470fc63
AT
55562011-03-15 Andreas Tobler <andreast@fgznet.ch>
5557
5558 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
5559
959e7469
PM
55602011-03-15 Phil Muldoon <pmuldoon@redhat.com>
5561
5562 * lib/gdb.exp (gdb_unload): Add another termination case.
5563
9373cf26
JK
55642011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5565
5566 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
5567 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
5568 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
5569 Provide a stub byte there.
5570 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
5571 DW_AT_entry_pc.
5572 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
5573
24e9cda0
UW
55742011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
5575
5576 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
5577 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
5578 "generic ABI, auto".
5579 (altivec_abi_tests): Accept vectors returned by reference.
5580
7371cf6d
PM
55812010-03-14 Phil Muldoon <pmuldoon@redhat.com>
5582
5583 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
5584
ce77046a
UW
55852011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
5586
5587 * gdb.python/py-section-script.exp: Skip test if no Python support.
5588
176400c3
UW
55892011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
5590
5591 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
5592
ecec24e6
PM
55932011-03-10 Phil Muldoon <pmuldoon@redhat.com>
5594
5595 * gdb.python/py-parameter.exp: Update tests to the new Python
5596 parameter API. Add "no documentation" test. Add deprecated API
5597 backward compatibility test.
5598
5dbdd470
TT
55992011-03-09 Tom Tromey <tromey@redhat.com>
5600
5601 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
5602 gdb_continue_to_end.
5603
b66e66ee
MK
56042011-03-09 Mark Kettenis <kettenis@gnu.org>
5605
5606 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
5607 tabs.
5608
eceb0c5f
TT
56092011-03-09 Tom Tromey <tromey@redhat.com>
5610
5611 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
5612 parentheses.
5613 (gdb_continue_to_end): Add "allow_extra" parameter. Use
5614 $command.
5615 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
5616 argument to gdb_continue_to_end.
5617 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
5618 argument to gdb_continue_to_end.
5619 * gdb.cp/annota3.exp: Fix regex.
5620 * gdb.cp/annota2.exp: Fix regex.
5621 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
5622 gdb_continue_to_end.
5623 * gdb.base/call-signal-resume.exp: Revert earlier patch.
5624 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
5625 gdb_continue_to_end.
5626
63154eca
PA
56272011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5628
5629 * gdb.server/ext-run.exp
5630 (load new file without any gdbserver inferior): New test.
5631
967d1f9b
TT
56322011-03-07 Tom Tromey <tromey@redhat.com>
5633
5634 * Makefile.in (TAGS): Rewrite.
5635
d68dcbb9
JK
56362011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5637
5638 * gdb.trace/report.exp (12.1: trace report #1): New match for the
5639 initial commands echo. New match for `Found trace'. Anchor all the
5640 other matches. Anchor and match for `No trace frame found' the final
5641 match.
5642
6bf58e63
TT
56432011-03-07 Tom Tromey <tromey@redhat.com>
5644
5645 * Makefile.in (TAGS): New target.
5646
fda326dd
TT
56472011-03-07 Tom Tromey <tromey@redhat.com>
5648
5649 * lib/opencl.exp (skip_opencl_tests): Update for exit message
5650 change.
5651 * lib/mi-support.exp (mi_gdb_test): Update for exit message
5652 change.
5653 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
5654 exit message change.
5655 (skip_altivec_tests): Update for exit message change.
5656 (skip_vsx_tests): Likewise.
5657 (gdb_continue_to_end): Likewise. Add 'command' argument.
5658 * lib/cell.exp (skip_cell_tests): Update for exit message change.
5659 * gdb.threads/tls.exp: Update for exit message change.
5660 * gdb.threads/thread-unwindonsignal.exp: Use
5661 gdb_continue_to_end.
5662 * gdb.threads/step.exp (step_it): Update for exit message change.
5663 (continue_all): Likewise.
5664 * gdb.threads/print-threads.exp (test_all_threads): Update for
5665 exit message change.
5666 * gdb.threads/interrupted-hand-call.exp: Use
5667 gdb_continue_to_end.
5668 * gdb.threads/execl.exp: Use gdb_continue_to_end.
5669 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
5670 gdb_continue_to_end.
5671 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
5672 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
5673 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
5674 * gdb.cp/method.exp: Update for exit message change.
5675 * gdb.cp/mb-templates.exp: Update for exit message change.
5676 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
5677 * gdb.cp/annota3.exp: Update for exit message change.
5678 * gdb.cp/annota2.exp: Update for exit message change.
5679 * gdb.cell/fork.exp: Use gdb_continue_to_end.
5680 * gdb.base/term.exp: Update for exit message change.
5681 * gdb.base/step-test.exp (test_i): Update for exit message change.
5682 * gdb.base/sigstep.exp (advance): Update for exit message change.
5683 (advancei): Likewise.
5684 * gdb.base/siginfo.exp: Update for exit message change.
5685 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
5686 * gdb.base/reread.exp: Use gdb_continue_to_end.
5687 * gdb.base/langs.exp: Use gdb_continue_to_end.
5688 * gdb.base/interrupt.exp: Update for exit message change.
5689 * gdb.base/gdb1555.exp: Update for exit message change.
5690 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
5691 * gdb.base/ending-run.exp: Update for exit message change.
5692 * gdb.base/chng-syms.exp: Update for exit message change.
5693 * gdb.base/checkpoint.exp: Update for exit message change.
5694 * gdb.base/catch-syscall.exp (check_for_program_end): Use
5695 gdb_continue_to_end.
5696 (test_catch_syscall_with_wrong_args): Likewise.
5697 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
5698 * gdb.base/break-interp.exp (test_ld): Update for exit message
5699 change.
5700 * gdb.base/bang.exp: Update for exit message change.
5701 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
5702 (do_call_attach_tests): Likewise.
5703 * gdb.base/a2-run.exp: Update for exit message change.
5704 * gdb.arch/ppc-dfp.exp: Update for exit message change.
5705 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
5706 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
5707
dd19bd70
JK
57082011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5709
5710 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
5711
30e62689
TT
57122011-03-03 Tom Tromey <tromey@redhat.com>
5713
5714 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
5715 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
5716 * gdb.hp/gdb.aCC/configure.ac: Remove.
5717 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
5718 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
5719 * gdb.hp/gdb.base-hp/configure.ac: Remove.
5720 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
5721 * gdb.hp/gdb.compat/configure (Makefile): Remove.
5722 * gdb.hp/gdb.compat/configure.ac: Remove.
5723 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
5724 * gdb.hp/gdb.defects/configure (Makefile): Remove.
5725 * gdb.hp/gdb.defects/configure.ac: Remove.
5726 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
5727 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
5728 * gdb.hp/gdb.objdbg/configure.ac: Remove.
5729 * gdb.hp/configure.ac: Remove.
5730 * gdb.hp/configure: Remove.
5731 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
5732 substitution.
5733 (Makefile): Remove rule.
5734 * gdb.cell/configure.ac: Remove.
5735 * gdb.cell/configure: Remove.
5736 * gdb.stabs/Makefile.in (Makefile): Remove.
5737 (distclean): Don't remove config.status or config.log.
5738 * gdb.stabs/configure (Makefile): Remove.
5739 * gdb.stabs/configure.ac: Remove.
5740 * configure: Rebuild.
5741 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
5742 Remove stabs- and cell-specific logic. Test for existence of
5743 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
5744 subdirectories, gdb.cell, and and gdb.stabs.
5745 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
5746
c171f854
JB
57472011-03-03 Joel Brobecker <brobecker@adacore.com>
5748
5749 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
5750 end of buffer.
5751
9a5193cb
JB
57522011-03-02 Joel Brobecker <brobecker@adacore.com>
5753
5754 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
5755 gdb_test when running a test where we expected no output back.
5756
9bb4c1bb
MS
57572011-02-28 Michael Snyder <msnyder@vmware.com>
5758
5759 * gdb.cp/overload.cc: Change initializer value to integer.
5760
3bd0f5ef
MS
57612011-02-27 Michael Snyder <msnyder@vmware.com>
5762
5763 * gdb.multi/base.exp: Add test for remove-inferiors.
5764
2279eaad
JB
57652011-02-26 Joel Brobecker <brobecker@adacore.com>
5766
5767 * gdb.python/py-frame.exp: Simplify the initialization phase
5768 using prepare_for_testing.
5769
c82c0b55
MS
57702011-02-25 Michael Snyder <msnyder@vmware.com>
5771
5772 * gdb.multi/base.exp: Add tests for info inferiors with args.
5773
1d94651b
JK
57742011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5775
5776 * gdb.dwarf2/dw2-ranges.S: Rename to ...
5777 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
5778 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
5779 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
5780 asmfile3. Comment the STABS (#3) file compilation. Compile
5781 everything through assembler. Provide KFAIL for symtab/12497.
5782 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
5783 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
5784 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
5785 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
5786
3bd0f5ef
MS
57872011-02-24 Michael Snyder <msnyder@vmware.com>
5788
5789 * gdb.base/break.exp: Add tests for delete breakpoints using
5790 convenience variables and value history references.
5791
12c1418e
MS
57922011-02-24 Michael Snyder <msnyder@vmware.com>
5793
5794 * gdb.base/break.exp: Remove debugging 'printf' accidentally
5795 left behind in previous check-in.
5796
e5a67952
MS
57972011-02-23 Michael Snyder <msnyder@vmware.com>
5798
5799 * gdb.base/break.exp: Add tests for "info break" with arguments.
5800 * gdb.trace/infotrace.exp: Update patterns for error and help.
5801 * gdb.base/completion.exp: Update pattern.
5802 * gdb.base/ena-dis-br.exp: Update pattern.
5803 * gdb.base/help.exp: Update patterns.
5804
58052011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
5806
5807 * gdb.base/memattr.exp: New test.
5808 * gdb.base/memattr.c: Test load for memattr.exp.
5809
6e6fbe60
DE
58102011-02-22 Doug Evans <dje@google.com>
5811
5812 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
5813
1d41d745
MS
58142011-02-22 Michael Snyder <msnyder@vmware.com>
5815
5816 * Makefile.in: Make more clean.
5817 * gdb.ada/Makefile.in: Ditto.
5818 * gdb.arch/Makefile.in: Ditto.
5819 * gdb.asm/Makefile.in: Ditto.
5820 * gdb.base/Makefile.in: Ditto.
5821 * gdb.cp/Makefile.in: Ditto.
5822 * gdb.dwarf2/Makefile.in: Ditto.
5823 * gdb.java/Makefile.in: Ditto.
5824 * gdb.mi/Makefile.in: Ditto.
5825 * gdb.modula2/Makefile.in: Ditto.
5826 * gdb.python/Makefile.in: Ditto.
5827 * gdb.server/Makefile.in: Ditto.
5828 * gdb.stabs/Makefile.in: Ditto.
5829 * gdb.threads/Makefile.in: Ditto.
5830 * gdb.trace/Makefile.in: Ditto.
5831
79ba84ca
MS
58322011-02-22 Michael Snyder <msnyder@vmware.com>
5833
df46027d 5834 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
5835 info threads.
5836
b9b35694
JB
58372011-02-22 Joel Brobecker <brobecker@adacore.com>
5838
5839 * gdb.python/py-breakpoint.exp: Fix the expected output of
5840 one of the "maint info breakpoints" tests to accept the output
5841 generated on platforms that do not have hardware watchpoints.
5842
8bfb830f
JB
58432011-02-22 Joel Brobecker <brobecker@adacore.com>
5844
5845 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
5846 clean_restart. Be a little stricter in the expected output
5847 for one of the tests. Fix a typo in one of the comments.
5848
c45f3c54
JB
58492011-02-22 Joel Brobecker <brobecker@adacore.com>
5850
5851 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
5852 Delete variable binfile, no longer use. Add or modify test
5853 comments to make them unique.
5854
b97c863c
MS
58552011-02-21 Michael Snyder <msnyder@vmware.com>
5856
5857 * Makefile.in: Update for make clean.
5858 * gdb.ada/Makefile.in: Ditto.
5859 * gdb.arch/Makefile.in: Ditto.
5860 * gdb.asm/Makefile.in: Ditto.
5861 * gdb.base/Makefile.in: Ditto.
5862 * gdb.cp/Makefile.in: Ditto.
5863 * gdb.dwarf2/Makefile.in: Ditto.
5864 * gdb.java/Makefile.in: Ditto.
5865 * gdb.mi/Makefile.in: Ditto.
5866 * gdb.modula2/Makefile.in: Ditto.
5867 * gdb.python/Makefile.in: Ditto.
5868 * gdb.server/Makefile.in: Ditto.
5869 * gdb.stabs/Makefile.in: Ditto.
5870 * gdb.threads/Makefile.in: Ditto.
5871 * gdb.trace/Makefile.in: Ditto.
5872
aea5b279
MS
58732011-02-21 Michael Snyder <msnyder@vmware.com>
5874
5875 * gdb.threads/thread-find.exp: Update patterns for changes in
5876 output of "info threads" command.
5877
e3039479
UW
58782011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5879 Ulrich Weigand <uweigand@de.ibm.com>
5880
5881 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
5882 (skip_hw_watchpoint_tests): Likewise.
5883 (skip_hw_watchpoint_multi_tests): Likewise.
5884
b800ec70
UW
58852011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
5886
5887 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
5888 (skip_hw_watchpoint_tests): Likewise.
5889 (skip_hw_watchpoint_multi_tests): Likewise.
5890 (skip_hw_watchpoint_access_tests): Likewise.
5891
5892 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
5893 * gdb.base/pr11022.exp: Likewise.
5894 * gdb.base/watch-read.exp: Likewise.
5895 * gdb.base/watch_thread_num.exp: Likewise.
5896 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5897 * gdb.base/watchpoint-hw.exp: Likewise.
5898 * gdb.base/watchpoint.exp: Likewise.
5899 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
5900 * gdb.threads/watchthreads-reorder.exp: Likewise.
5901 * gdb.threads/watchthreads.exp: Likewise.
5902 * gdb.threads/watchthreads2.exp: Likewise.
5903
91033e37
JB
59042011-02-21 Joel Brobecker <brobecker@adacore.com>
5905
5906 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
5907 the debugger is unable to find the array bounds.
5908
eeaafae2
JK
59092011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5910
5911 * gdb.cp/typedef-operator.exp: New file.
5912 * gdb.cp/typedef-operator.cc: New file.
5913
e338d953
MS
59142011-02-17 Michael Snyder <msnyder@vmware.com>
5915
5916 * gdb.threads/thread-find.exp: Fix regular expressions.
5917
e67ad678
JB
59182011-02-17 Joel Brobecker <brobecker@adacore.com>
5919
5920 * gdb.ada/packed_array: Expand testcase to test printing of
5921 unconstrained packed array.
5922
93084bca
JB
59232011-02-17 Joel Brobecker <brobecker@adacore.com>
5924
5925 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
5926
a0c78a73
PA
59272011-02-16 Pedro Alves <pedro@codesourcery.com>
5928
f65d5553 5929 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
5930 (main): Initialize it before collecting, and and clear it
5931 afterwards.
f65d5553
PA
5932 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5933 collecting with '{type} addr', where the addr expression is not an
5934 rvalue.
a0c78a73 5935
3dfcbbd2
KW
59362011-02-16 Ken Werner <ken.werner@de.ibm.com>
5937
5938 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
5939 a bool variable. Expect correct OpenCL names for vector types. Use the
5940 uc3 variable name instead of referring to the uchar3 built-in type.
5941 Escape the asterisk at the half pointer test.
5942
08807d5a
PA
59432011-02-16 Pedro Alves <pedro@codesourcery.com>
5944
f65d5553 5945 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
5946 (main): Initialize it before collecting, and and clear it
5947 afterwards.
f65d5553
PA
5948 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5949 collecting overlapping memory ranges.
08807d5a 5950
60f98dde
MS
59512011-02-15 Michael Snyder <msnyder@vmware.com>
5952
5953 * gdb.base/default.exp: Add tests for thread commands.
5954 * gdb.base/help.exp: Add tests for thread commands.
5955 * gdb.threads/thread-find.exp: New test for thread find command.
5956
648cd113
KW
59572011-02-15 Ken Werner <ken.werner@de.ibm.com>
5958
5959 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
5960
494e194e
YQ
59612011-02-15 Yao Qi <yao@codesourcery.com>
5962
5963 PR tdep/12352
5964 * gdb.arch/arm-disp-step.S : New test for str instruction.
5965 * gdb.arch/arm-disp-step.exp : Likewise.
5966
d9492458
TJB
59672011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
5968
5969 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
5970 "vector_register2_vr" test strings. Test the extended floating
5971 point registers (F32~F63).
5972 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
5973 IBM XL C compiler. Make the test program use a register provided
5974 by the compiler for the lxvd2x instruction.
5975
8af8e3bc
PA
59762011-02-14 Pedro Alves <pedro@codesourcery.com>
5977
5978 * gdb.trace/unavailable.cc (class Base, class Middle, class
5979 Derived): New types.
5980 (derived_unavail, derived_partial, derived_whole): New globals.
5981 (virtual_partial): New global.
5982 (virtualp): Point at virtual_partial.
5983 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
5984 related to unavailable vptr.
5985
1b28d0b3
PA
59862011-02-14 Pedro Alves <pedro@codesourcery.com>
5987
5988 * gdb.trace/unavailable.cc (a, b, c): New globals.
5989 (main): Set and clear them.
5990 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
5991 `a' and `c', and check that `b' isn't collected, although `a' and
5992 `c' are.
5993
ec0a52e1
PA
59942011-02-14 Pedro Alves <pedro@codesourcery.com>
5995
5996 * gdb.trace/unavailable.cc (struct Virtual): New.
5997 (virtualp): New global pointer.
5998 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
5999 printing a pointer to an object whose type has a vtable, with
6000 print object on.
6001
24e6bcee
PA
60022011-02-14 Pedro Alves <pedro@codesourcery.com>
6003
6004 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
6005 value repeat handles unavailableness.
6006
39d37385
PA
60072011-02-14 Pedro Alves <pedro@codesourcery.com>
6008
6009 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
6010 tests for building arrays from unavailable values, subscripting
6011 non-memory rvalue unvailable arrays, and accessing fields or
6012 baseclasses of non-lazy unavailable values,
6013 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
6014 struct types.
6015 (g_smallstruct, g_smallstruct_b): New globals.
6016
06d72e16
PA
60172011-02-14 Pedro Alves <pedro@codesourcery.com>
6018
6019 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
6020
bc9a5551
JK
60212011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6022
6023 Fix const/volatile qualifiers of C++ types, PR c++/12328.
6024 * gdb.cp/overload-const.exp: New file.
6025 * gdb.cp/overload-const.cc: New file.
6026
54fcddd0
UW
60272011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
6028
6029 * gdb.opencl/callfuncs.cl: New file.
6030 * gdb.opencl/callfuncs.exp: New test.
6031 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
6032
d6dafb7c
UW
60332011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
6034
6035 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
6036 when computing result.
6037 * gdb.arch/altivec-abi.exp: Update expected results.
6038
a449c2d8
TJB
60392011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6040
6041 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
6042 * gdb.base/jit.exp: Likewise.
6043 * gdb.base/pie-execl.exp: Likewise.
6044 * gdb.base/solib-nodir.exp: Likewise.
6045 * gdb.base/solib-overlap.exp: Likewise.
6046
764880b7
PA
60472011-02-07 Pedro Alves <pedro@codesourcery.com>
6048
6049 * gdb.trace/collection.c (global_pieces): New.
6050 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
6051 New procedure.
6052 (gdb_trace_collection_test): Call it.
6053
505500db
SW
60542011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
6055
6056 * gdb.python/py-evthreads.c: New file.
6057 * gdb.python/py-evthreads.exp: New file.
6058 * gdb.python/py-events.py: New file.
6059 * gdb.python/py-events.exp: New file.
6060 * gdb.python/py-events.c: New file.
6061
385203ed
DD
60622011-02-04 David Daney <ddaney@caviumnetworks.com>
6063
6064 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
6065
9011945e
AB
60662011-02-03 Andrew Burgess <aburgess@broadcom.com>
6067
6068 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
6069 gdb.base/disasm-end-cu.exp: New test for disassembling over the
6070 boundary between two compilation units.
6071
580688f3
PA
60722011-02-02 Pedro Alves <pedro@codesourcery.com>
6073
6074 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
6075 (Virtual): New structs.
6076 (virtual_o, virtual_middle_b): New globals.
6077 * gdb.cp/virtbase.exp: New tests.
6078
d3f0f853
PP
60792011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6080
6081 * gdb.base/jit.exp: New file.
6082 * gdb.base/jit-main.c: New file.
6083 * gdb.base/jit-solib.c: New file.
6084
b2030fb5
UW
60852011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
6086
6087 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
6088 proceed to initial kernel entry point.
6089 * gdb.opencl/datatypes.exp: Likewise.
6090 * gdb.opencl/operators.exp: Likewise.
6091 * gdb.opencl/vec_comps.exp: Likewise.
6092
2db19d1e
SW
60932011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
6094
6095 * gdb.cp/nsnested.cc: New.
6096 * gdb.cp/nsnested.exp: New.
6097 * gdb.cp/nsnoimports.exp: New.
6098 * gdb.cp/nsnoimports.cc: New.
6099
6b0c4c1f
JB
61002011-01-31 Joel Brobecker <brobecker@adacore.com>
6101
6102 * gdb.base/interact.exp: Add extra tests that verify that
6103 the value of the interactive-mode setting does not change
6104 after the script is sourced.
6105
80b23b6a
JK
61062011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6107
6108 * gdb.cp/noparam.exp: New file.
6109 * gdb.cp/noparam.cc: New file.
6110
ffd5ec24
PA
61112011-01-28 Pedro Alves <pedro@codesourcery.com>
6112
6113 * gdb.trace/tfile.exp: Test that with no traceframe selected,
6114 there's no stack or registers.
6115
a81766d8
TT
61162011-01-26 Tom Tromey <tromey@redhat.com>
6117
6118 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
6119 space before string output. Add test for "set print pretty off"
6120 case.
6121
585fdaa1
PA
61222011-01-25 Pedro Alves <pedro@codesourcery.com>
6123
6124 * gdb.base/frame-args.exp: Adjust.
6125 * gdb.dwarf2/dw2-noloc.exp: Adjust.
6126 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
6127 * gdb.dwarf2/pieces.exp: Adjust.
6128 * gdb.opt/clobbered-registers-O2.exp: Adjust.
6129 * gdb.opt/inline-locals.exp: Adjust.
6130 * gdb.threads/fork-child-threads.exp: Adjust.
6131
d468832a
KW
61322011-01-25 Ken Werner <ken.werner@de.ibm.com>
6133
6134 * gdb.opencl/convs_casts.cl: Move program scope variables into the
6135 OpenCL kernel function. Add a comment as marker. Add address space
6136 qualifiers for the remaining program scope variables.
6137 * gdb.opencl/datatypes.cl: Likewise.
6138 * gdb.opencl/operators.cl: Likewise.
6139 * gdb.opencl/vec_comps.cl: Likewise.
6140 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
6141 Add breakpoint at the marker comment.
6142 * gdb.opencl/datatypes.exp: Likewise.
6143 * gdb.opencl/operators.exp: Likewise.
6144 * gdb.opencl/vec_comps.exp: Likewise.
6145
490f124f
PA
61462011-01-24 Pedro Alves <pedro@codesourcery.com>
6147
6148 * gdb.base/printcmds.c (some_struct): New struct and instance.
6149 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
6150 procedure.
6151 <global scope>: Call it.
6152
6da78614
KW
61532011-01-21 Ken Werner <ken.werner@de.ibm.com>
6154
6155 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
6156 argument to the gdb_compile_opencl_hostapp call.
6157
ec64c9aa
YQ
61582011-01-19 Yao Qi <yao@codesourcery.com>
6159
6160 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
6161 positve list.
6162
810cfdbb
YQ
61632011-01-19 Yao Qi <yao@codesourcery.com>
6164
6165 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
6166 canonical form.
6167 Remove "xscale-*-*"
6168 * gdb.xml/tdesc-regs.exp: Likewise.
6169 * gdb.python/py-section-script.exp: Replace ARM target triplet
6170 with canonical form.
6171 Match arm*-*-symbianelf*.
6172 * gdb.base/dup-sect.exp: Likewise.
6173 * lib/dwarf.exp: New.
6174 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
6175 dwarf2_support.
6176 * gdb.dwarf2/dup-psym.exp: Likewise.
6177 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
6178 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6179 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
6180 * gdb.dwarf2/dw2-basic.exp: Likewise.
6181 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6182 * gdb.dwarf2/dw2-const.exp: Likewise.
6183 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
6184 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
6185 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6186 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
6187 * gdb.dwarf2/dw2-filename.exp: Likewise.
6188 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6189 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
6190 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6191 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6192 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
6193 * gdb.dwarf2/dw2-noloc.exp: Likewise.
6194 * gdb.dwarf2/dw2-op-call.exp: Likewise.
6195 * gdb.dwarf2/dw2-producer.exp: Likewise.
6196 * gdb.dwarf2/dw2-ranges.exp: Likewise.
6197 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
6198 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
6199 * gdb.dwarf2/dw2-strp.exp: Likewise.
6200 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
6201 * gdb.dwarf2/implptr.exp: Likewise.
6202 * gdb.dwarf2/mac-fileno.exp: Likewise.
6203 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
6204 * gdb.dwarf2/pieces.exp: Likewise.
6205 * gdb.dwarf2/pr11465.exp: Likewise.
6206 * gdb.dwarf2/valop.exp: Likewise.
6207 * gdb.dwarf2/watch-notconst.exp: Likewise.
6208 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
6209
4694da01
TT
62102011-01-19 Tom Tromey <tromey@redhat.com>
6211
6212 * gdb.python/py-infthread.exp: Add thread tests.
6213
b075872c
JB
62142011-01-14 Joel Brobecker <brobecker@adacore.com>
6215
6216 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
6217
2c3e6e24
JB
62182011-01-14 Joel Brobecker <brobecker@adacore.com>
6219
6220 * gdb.ada/widewide: New testcase.
6221
de8fa76c
JB
62222011-01-13 Joel Brobecker <brobecker@adacore.com>
6223
6224 * gdb.base/interact.exp: New testcase.
6225
1b05df00
TT
62262011-01-12 Tom Tromey <tromey@redhat.com>
6227
6228 * gdb.mi/gdb2549.exp: Update for error message changes.
6229 * gdb.mi/mi-cli.exp: Likewise.
6230 * gdb.mi/mi-disassemble.exp: Likewise.
6231 * gdb.mi/mi-pthreads.exp: Likewise.
6232 * gdb.mi/mi-regs.exp: Likewise.
6233 * gdb.mi/mi-stack.exp: Likewise.
6234 * gdb.mi/mi-var-block.exp: Likewise.
6235 * gdb.mi/mi-var-cmd.exp: Likewise.
6236 * gdb.mi/mi2-cli.exp: Likewise.
6237 * gdb.mi/mi2-disassemble.exp: Likewise.
6238 * gdb.mi/mi2-pthreads.exp: Likewise.
6239 * gdb.mi/mi2-regs.exp: Likewise.
6240 * gdb.mi/mi2-stack.exp: Likewise.
6241 * gdb.mi/mi2-var-block.exp: Likewise.
6242 * gdb.mi/mi2-var-cmd.exp: Likewise.
6243
c2ff108b
JK
62442011-01-12 Andrew Burgess <aburgess@broadcom.com>
6245 Jan Kratochvil <jan.kratochvil@redhat.com>
6246
6247 PR fortran/11104 and DWARF unbound arrays detection.
6248 * gdb.fortran/multi-dim.exp: New file.
6249 * gdb.fortran/multi-dim.f90: New file.
6250
b716877b
AB
62512011-01-12 Andrew Burgess <aburgess@broadcom.com>
6252
6253 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
6254 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
6255 add new tests for opcode dumping.
6256
6c162d5e
TT
62572011-01-11 Tom Tromey <tromey@redhat.com>
6258
6259 * gdb.python/py-infthread.exp: Load gdb-python.exp.
6260
77b06cd7
TJB
62612010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
6262
6263 Convert hardware watchpoints to use breakpoint_ops.
6264 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
6265 type is not supported.
6266 * gdb.base/foll-fork.exp: Likewise.
6267 * gdb.base/foll-vfork.exp: Likewise.
6268
f39a75d0
PM
62692011-01-10 Phil Muldoon <pmuldoon@redhat.com>
6270
6271 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
6272 Use load_lib gdb-python.exp.
6273 * gdb.python/python.exp: Ditto.
6274 * gdb.python/py-function.exp: Ditto.
6275
fc529d80
AS
62762011-01-09 Andreas Schwab <schwab@linux-m68k.org>
6277
6278 * gdb.threads/tls.exp ("info address me"): Fix expected output.
6279
fb03cb59
JK
62802011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6281
6282 * configure: Regenerate.
6283
d8e22779
TT
62842011-01-06 Tom Tromey <tromey@redhat.com>
6285
6286 * gdb.python/py-frame.exp: Test gdb.newest_frame.
6287
09050809
JB
62882011-01-06 Joel Brobecker <brobecker@adacore.com>
6289
fc529d80
AS
6290 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
6291 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
6292 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6293 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
6294 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
6295 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6296 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
6297 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
6298 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
6299 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
6300 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
6301 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
6302 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
6303 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6304 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6305 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
6306 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
6307 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
6308 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6309 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
6310 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
6311 gdb.ada/uninitialized_vars.exp,
6312 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
6313 Simplify by using clean_restart.
09050809 6314
8ed5dd9e
JB
63152011-01-06 Joel Brobecker <brobecker@adacore.com>
6316
6317 Add marker to be used as anchor for inserting breakpoints.
6318 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
6319 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
6320 Likewise.
6321
6322 Remove uses of gdb_start_cmd.
6323 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
6324 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
6325
6326 Do not run testcase if testing with GDBserver.
6327 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
6328 if testing with GDBserver.
6329
368a124f
JB
63302011-01-06 Joel Brobecker <brobecker@adacore.com>
6331
6332 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
6333 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
6334 copyright header.
6335
44944448
JB
63362011-01-05 Joel Brobecker <brobecker@adacore.com>
6337
6338 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
6339 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
6340 testsuite/gdb.fortran/complex.f,
6341 testsuite/gdb.fortran/derived-type.f90,
6342 testsuite/gdb.fortran/library-module-lib.f90,
6343 testsuite/gdb.fortran/library-module-main.f90,
6344 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
6345 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
6346 Copyright year update.
6347
31886ea6
JB
63482011-01-05 Joel Brobecker <brobecker@adacore.com>
6349
6350 * gdb.base/langs1.f: Add copyright header.
6351
ebedcab5
JK
63522011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6353
6354 * gdb.base/morestack.exp: New file.
6355 * gdb.base/morestack.c: New file.
6356
de1eb2f9
JK
63572011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6358
6359 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
6360
9e87a409
JB
63612010-12-29 Joel Brobecker <brobecker@adacore.com>
6362
6363 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
6364 * gdb.ada/arrayptr.exp: Add test printing that new variable.
6365
720d1a40
JB
63662010-12-29 Joel Brobecker <brobecker@adacore.com>
6367
6368 * gdb.ada/lang_switch.exp: Correct expected parameter value.
6369
a283af87
AS
63702010-12-25 Andreas Schwab <schwab@linux-m68k.org>
6371
5d3d9cba
AS
6372 * gdb.threads/tls.exp: Fix typo.
6373
a283af87
AS
6374 * gdb.threads/thread-specific.exp (get_thread_list): Update.
6375 * gdb.threads/execl.exp: Update.
6376
2a20745c
YQ
63772010-12-23 Yao Qi <yao@codesourcery.com>
6378
6379 * gdb.arch/arm-disp-step.exp: New.
6380 * gdb.arch/arm-disp-step.S: New.
6381
a7658b96
TT
63822010-12-21 Tom Tromey <tromey@redhat.com>
6383
6384 * gdb.threads/execl.exp: Update.
6385 * gdb.threads/linux-dp.exp: Update.
6386 * gdb.threads/manythreads.exp: Update.
6387 * gdb.threads/tls.exp: Update.
6388
5b79abe7
TT
63892010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6390
6391 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
6392 (NextOverThrowDerivates) <resumebpt>: New.
6393 (resumebpt_test): New.
6394 (main): Call resumebpt_test.
6395 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
6396
0914bcdb
SS
63972010-12-12 Stan Shebs <stan@codesourcery.com>
6398
6399 * gdb.trace/tsv.exp: Test print command on trace state variables.
6400
305aeedc
TT
64012010-12-09 Tom Tromey <tromey@redhat.com>
6402
6403 * gdb.base/interp.exp: Add regression test.
6404
186c406b
TT
64052010-12-09 Tom Tromey <tromey@redhat.com>
6406
6407 * gdb.java/jnpe.java: New file.
6408 * gdb.java/jnpe.exp: New file.
6409 * gdb.cp/nextoverthrow.exp: New file.
6410 * gdb.cp/nextoverthrow.cc: New file.
6411
aae1c79a
DE
64122010-12-07 Doug Evans <dje@google.com>
6413
6414 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
6415 of data-directory.
6416 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
6417 updated.
6418 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
6419
60f98dde 64202010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
6421
6422 * gdb.base/callfuncs.exp: Test for skip_float_tests.
6423 * gdb.base/call-sc.exp: Ditto.
6424 * gdb.base/finish.exp: Ditto.
6425 * gdb.base/return.exp: Ditto.
6426 * gdb.base/return2.exp: Ditto.
6427
5fa290c1
DE
64282010-11-30 Doug Evans <dje@google.com>
6429
6430 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
6431 (gdb_expect_list): Fix spelling errors in comments.
6432 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
6433 send_gdb/gdb_expect_list where applicable.
6434 * gdb.base/call-ar-st.exp: Ditto.
6435 * gdb.base/funcargs.exp: Ditto.
6436 * gdb.base/gcore.exp: Ditto.
6437 * gdb.base/page.exp: Ditto.
6438 * gdb.base/sigaltstack.exp: Ditto.
6439 * gdb.base/siginfo.exp: Ditto.
6440 * gdb.base/sigstep.exp: Ditto.
6441 * gdb.base/trace-commands.exp: Ditto.
6442
4e04c971
DE
64432010-11-29 Doug Evans <dje@google.com>
6444
6445 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
6446 printer-name;subprinter-name.
6447
8cf6f0b1
TT
64482010-11-29 Tom Tromey <tromey@redhat.com>
6449
6450 * gdb.dwarf2/implptr.exp: New file.
6451 * gdb.dwarf2/implptr.c: New file.
6452 * gdb.dwarf2/implptr.S: New file.
6453
94b6973e
PM
64542010-11-29 Phil Muldoon <pmuldoon@redhat.com>
6455
fc529d80 6456 PR python/12199
94b6973e
PM
6457
6458 * gdb.python/py-breakpoint.exp: Test the delete method.
6459
8358c15c
JK
64602010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6461
6462 Fix step_resume_breakpoint unsaved during an infcall.
6463 * gdb.base/step-resume-infcall.exp: New file.
6464 * gdb.base/step-resume-infcall.c: New file.
6465
f6df29bc
TJB
64662010-11-24 Edjunior Machado <emachado@br.ibm.com>
6467
6468 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
6469
f2b5a5cf
TJB
64702010-11-24 Edjunior Machado <emachado@br.ibm.com>
6471
6472 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
6473 on ppc64's symbols; "finish" and "return" commands must accept to
6474 show the caller line again as well as the line after.
6475 * gdb.asm/powerpc64.inc: New file.
6476
6b0ecdc2
DE
64772010-11-23 Doug Evans <dje@google.com>
6478
6479 * lib/gdb.exp (gdb_test_sequence): New function.
6480 (gdb_expect_list): Add verbose -log call for each pattern.
6481 * gdb.base/signals.exp (test_handle_all_print): Call it.
6482 Reduce timeout increment from 6 minutes to 1 minute.
6483 * gdb.server/ext-run.exp: Call it.
6484
ea976c60
PM
64852010-11-23 Phil Muldoon <pmuldoon@redhat.com>
6486
f2b5a5cf 6487 PR python/12212
ea976c60
PM
6488
6489 * gdb.python/python.exp: Check that selected_thread raises an
6490 error when no inferior is loaded.
6491
c0efa795
JK
64922010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6493
6494 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
6495 * gdb.dwarf2/dw2-stack-boundary.S: New file.
6496
ec3aa567
JK
64972010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6498
6499 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
6500 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
6501
d8249011
DE
65022010-11-18 Doug Evans <dje@google.com>
6503
6504 * gdb.server/ext-run.exp: Fix intermittent failures.
6505
d4eba7d1
NF
65062010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6507
6508 * gdb.stabs/gdb11479.exp: Use runto_main.
6509
b04c2f88
NF
65102010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6511
6512 * gdb.base/break-entry.exp: Skip if using a stub.
6513
ae9d7ce4
NF
65142010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6515
6516 * gdb.python/py-inferior.exp: Pack values in target endianness.
6517
621c8364
TT
65182010-11-12 Tom Tromey <tromey@redhat.com>
6519
6520 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
6521 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
6522 MemoryError.
6523 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
6524 type.
6525 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
6526 MemoryError.
6527 (test_subscript_regression): Update exception type.
6528
84f4c1fe
PM
65292010-11-11 Phil Muldoon <pmuldoon@redhat.com>
6530
6531 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
6532 breakpoint tests.
6533
a1442452
PA
65342010-11-09 Pedro Alves <pedro@codesourcery.com>
6535
6536 * gdb.base/watchpoint.exp: Test "watch -location" with an
6537 innacessible location.
6538
efd11a33
JK
65392010-11-09 Edjunior Machado <emachado@br.ibm.com>
6540 Luis Machado <luisgpm@br.ibm.com>
6541
6542 * gdb.base/maint.exp: Expect "." prefix.
6543 * gdb.base/nodebug.exp: Expect "." Likewise.
6544 * gdb.base/sepsymtab.exp: Expect "." Likewise.
6545 * gdb.base/watchpoint-cond-gone.exp: Likewise.
6546 * gdb.base/watchpoint.exp: Expect a software watch to be created for
6547 POWER server processors.
6548
aa00efb5
JK
65492010-11-08 Edjunior Machado <emachado@br.ibm.com>
6550 Luis Machado <luisgpm@br.ibm.com>
6551
6552 * gdb.base/break-entry.exp: convert entry point for
6553 ppc64 and expect leading `.' on ppc64's symbols
6554
99e7ae30
DE
65552010-11-05 Doug Evans <dje@google.com>
6556
6557 * gdb.base/help.exp: Update expected output.
b521dba8
DE
6558 * gdb.python/py-param.exp: Delete, contents moved to ...
6559 * gdb.python/py-parameter.exp: ... here. New file.
6560 Add test for gdb.parameter ("directories").
99e7ae30 6561
f4b8a18d
KW
65622010-11-05 Ken Werner <ken.werner@de.ibm.com>
6563
6564 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
6565 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
6566 * configure: Regenerate.
6567 * gdb.opencl/Makefile.in: New File.
6568 * gdb.opencl/datatypes.exp: Likewise.
6569 * gdb.opencl/datatypes.cl: Likewise.
6570 * gdb.opencl/operators.exp: Likewise.
6571 * gdb.opencl/operators.cl: Likewise.
6572 * gdb.opencl/vec_comps.exp: Likewise.
6573 * gdb.opencl/vec_comps.cl: Likewise.
6574 * gdb.opencl/convs_casts.exp: Likewise.
6575 * gdb.opencl/convs_casts.cl: Likewise.
6576 * lib/opencl.exp: Likewise.
6577 * lib/opencl_hostapp.c: Likewise.
6578 * lib/opencl_kernel.cl: Likewise.
6579 * lib/cl_util.c: Likewise.
6580 * lib/cl_util.c: Likewise.
6581 * gdb.base/default.exp (set language): Add "opencl" to the list of
6582 languages.
6583
a9d5ef47
SW
65842010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
6585
6586 * gdb.cp/overload.exp: Added test for inheritance overload.
6587 * gdb.cp/overload.cc: Ditto.
6588 * gdb.cp/oranking.exp: Removed releveant kfails.
6589
03eb1c79
JK
65902010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6591 Joel Brobecker <brobecker@adacore.com>
6592
6593 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
6594 check test_compiler_info.
6595
dbc98a8b
KW
65962010-11-03 Ken Werner <ken.werner@de.ibm.com>
6597
6598 * gdb.base/gnu_vector.exp: Adjust expect messages.
6599
120bd360
KW
66002010-11-03 Ken Werner <ken.werner@de.ibm.com>
6601
6602 * gdb.base/gnu_vector.exp: Add unary operator tests.
6603
c37f7098
KW
66042010-11-03 Ken Werner <ken.werner@de.ibm.com>
6605
6606 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
6607
7b51bc51
DE
66082010-11-02 Doug Evans <dje@google.com>
6609
6610 * gdb.python/py-pp-maint.c: New file.
6611 * gdb.python/py-pp-maint.exp: New file.
6612 * gdb.python/py-pp-maint.py: New file.
6613
50c97f38
TT
66142010-11-02 Tom Tromey <tromey@redhat.com>
6615
6616 * gdb.base/default.exp: Remove "scheme" from language list.
6617
a289b8f6
JK
66182010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6619
6620 Revert:
6621 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6622 * gdb.threads/sigstep-threads.exp: New file.
6623 * gdb.threads/sigstep-threads.c: New file.
6624
cd017491
MS
66252010-10-20 Michael Snyder <msnyder@vmware.com>
6626
6627 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
6628
8e6a5956
UW
66292010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6630
6631 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
6632 Skip test completely if gdb,no_hardware_watchpoints.
6633
2c04da0d
UW
66342010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6635
6636 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
6637 strict, but do not check for any particular function name within libc.
6638
79afc5ef
SW
66392010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6640
6641 * gdb.cp/smartp.exp: New test.
6642 * gdb.cp/smartp.cc : New test.
6643
026ffab7
SW
66442010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6645
6646 * gdb.cp/converts.exp: Test pointer to bool conversion.
6647 Test pointer to long conversion.
6648 * gdb.cp/oranking.exp: Removed relevant kfail.
6649
3a772aa4
TT
66502010-10-18 Tom Tromey <tromey@redhat.com>
6651
6652 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
6653 argument to lazy_string.
6654 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
6655 (pp_ls.to_string): Use it.
6656 * gdb.python/py-prettyprint.c (main): Move declarations to top.
6657 Add "estring2" local.
6658
5fc3827b
JK
66592010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6660
6661 Fix s390x compatibility.
6662 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
6663 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
6664
8aeb23f3
JK
66652010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6666
6667 * gdb.threads/sigstep-threads.exp: New file.
6668 * gdb.threads/sigstep-threads.c: New file.
6669
c1e56572
JK
66702010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6671
6672 * gdb.base/pie-execl.exp: New file.
6673 * gdb.base/pie-execl.c: New file.
6674
92163a10
JK
66752010-10-13 Doug Evans <dje@google.com>
6676 Jan Kratochvil <jan.kratochvil@redhat.com>
6677
6678 PR exp/12117
6679 * gdb.cp/ptype-cv-cp.cc: New file.
6680 * gdb.cp/ptype-cv-cp.exp: New file.
6681
7062b0a0
SW
66822010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
6683
6684 * gdb.cp/converts.cc: New test program.
6685 * gdb.cp/converts.exp: New test.
6686 * gdb.cp/overload.exp: Added test for void* vs int*.
6687 * gdb.cp/overload.exp: Ditto.
6688 * gdb.cp/oranking.exp: Removed related kfail.
6689
0e3509db
DE
66902010-10-13 Doug Evans <dje@google.com>
6691
6692 * lib/gdb-python.exp (gdb_check_python_config): New function.
6693 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
6694 * gdb.python/lib-types.cc: New file.
6695 * gdb.python/lib-types.exp: New file.
6696
8dc78533
JK
66972010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6698
6699 * gdb.python/py-error.exp: New file.
6700 * gdb.python/py-error.py: New file.
6701
93c17e06
JK
67022010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6703
6704 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
6705 gdb_test_multiple.
6706
d8b34041
JK
67072010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6708
6709 * gdb.base/break-interp.exp: Use ldlags for linking flags.
6710 * gdb.base/prelink.exp: Likewise.
6711 * gdb.base/solib-nodir.exp: Likewise.
6712 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
6713 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
6714 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
6715
e0cc584e
UW
67162010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
6717
6718 * break-interp.exp (test_ld): Use two separate gdb_expect statements
6719 for the "info files" test to avoid timeouts on slow machines.
6720
cfc353b1
JK
67212010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6722
6723 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
6724 (main): Make openlib dummy call.
6725
d3d7896d
JK
67262010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6727
6728 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
6729 * break-interp.exp (reach): Move the core body ...
6730 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
6731 (test_ld): Provide always real argument, even to the linker. Replace
6732 dl_main by _dl_debug_state.
6733
5e533c94
JK
67342010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6735
6736 Fix results of prelinked PIEs on ppc*.
6737 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
6738 Accept also DISPLACEMENT "PRESENT".
6739 (main): Replace "ZERO" displacements by "PRESENT".
6740
33540610
SW
67412010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
6742
6743 * gdb.cp/oranking.exp: New test.
6744 * gdb.cp/oranking.cc: New test program.
6745
3bdf2bbd
KW
67462010-10-08 Ken Werner <ken.werner@de.ibm.com>
6747
6748 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
6749 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
6750
2f608a3a
KW
67512010-10-06 Ken Werner <ken.werner@de.ibm.com>
6752
6753 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
6754 lush, lynx) New constant.
6755 * gdb.base/constvars.exp: Test const array types.
6756 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
6757
aa2e2d8d
DE
67582010-10-06 Doug Evans <dje@google.com>
6759
6760 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
6761 of syscall staging area.
6762
2844d6b5
KW
67632010-10-06 Ken Werner <ken.werner@de.ibm.com>
6764
6765 * gdb.base/gnu_vector.c: Add variable c4.
6766 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
6767 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
6768
7d8ac8bb
MR
67692010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
6770
6771 * gdb.arch/altivec-abi.exp: Fix a typo.
6772
84a02e58
MR
67732010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
6774
6775 * lib/mi-support.exp (thread_selected_re): Correct pattern used
6776 to match a thread ID.
6777
b18e6318
JK
67782010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6779
6780 Fix s390x testcase compatibility.
6781 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
6782
a2c09bd0
DE
67832010-10-01 Doug Evans <dje@google.com>
6784
6785 * lib/gdb-python.exp: New file.
6786 * gdb.python/py-block.exp: Use it.
6787 * gdb.python/py-breakpoint.exp: Ditto.
6788 * gdb.python/py-frame.exp: Ditto.
6789 * gdb.python/py-inferior.exp: Ditto.
6790 * gdb.python/py-param.exp: Ditto.
6791 * gdb.python/py-prettyprint.exp: Ditto.
6792 * gdb.python/py-shared.exp: Ditto.
6793 * gdb.python/py-symbol.exp: Ditto.
6794 * gdb.python/py-symtab.exp: Ditto.
6795 * gdb.python/py-type.exp: Ditto.
6796 * gdb.python/py-value.exp: Ditto.
6797 * gdb.python/python.exp: Ditto.
6798
38f12cfc
TT
67992010-09-30 Tom Tromey <tromey@redhat.com>
6800
6801 * gdb.base/anon.exp: New file.
6802 * gdb.base/anon.c: New file.
6803
9ae8282d
TT
68042010-09-30 Tom Tromey <tromey@redhat.com>
6805
6806 * gdb.base/completion.exp: Test completion through anonymous
6807 union.
6808 * gdb.base/break1.c (struct some_struct): Add anonymous union.
6809
e9e07ba6
JK
68102010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6811
6812 Fix printing parameters of inlined functions.
6813 * gdb.dwarf2/dw2-inline-param.exp: New file.
6814 * gdb.dwarf2/dw2-inline-param-main.c: New file.
6815 * gdb.dwarf2/dw2-inline-param.S: New file.
6816
cd2effb2
JK
68172010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6818
6819 PR corefiles/12071.
6820 * gdb.base/corefile.exp (quit with a process, no question: load core)
6821 (quit with a core file): New tests.
6822
bceffbf3
JK
68232010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6824
6825 Fix GDB crash on inferior calls with self-referencing classes.
6826 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
6827 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
6828 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
6829
1736ad11
JK
68302010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6831
6832 Fix lost siginfo_t for inferior calls.
6833 * gdb.base/siginfo-infcall.exp: New file.
6834 * gdb.base/siginfo-infcall.c: New file.
6835
a176ad92
JB
68362010-09-22 Joel Brobecker <brobecker@adacore.com>
6837
6838 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
6839
c2b0a229
JK
68402010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6841
6842 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
6843 New test.
6844 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
6845
e8ae22d1
JB
68462010-09-22 Joel Brobecker <brobecker@adacore.com>
6847
6848 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
6849 type of our const type.
6850
ec322823
SW
68512010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
6852
6853 * gdb.cp/pr12028.cc: New.
6854 * gdb.cp/pr12028.exp: New.
6855
72929c62
JB
68562010-09-22 Joel Brobecker <brobecker@adacore.com>
6857
6858 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
6859
875b4ff5 68602010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 6861 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
6862
6863 PR mi/11407
6864 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
6865 * gdb.mi/dw2-ref-missing-frame-main.c New File.
6866 * gdb.mi/dw2-ref-missing-frame.S New File.
6867 * gdb.mi/dw2-ref-missing-frame.exp New File.
6868
7155d578
TT
68692010-09-14 Tom Tromey <tromey@redhat.com>
6870
6871 PR symtab/8399:
6872 * gdb.threads/tls.exp: Remove kfail. Update expected output.
6873
515ed532
TT
68742010-09-14 Tom Tromey <tromey@redhat.com>
6875
6876 PR exp/11803:
6877 * gdb.threads/tls.exp: Use C++.
6878 (check_thread_local): Use K::another_thread_local.
6879 * gdb.threads/tls.c (class K): New.
6880 (another_thread_local): Now a member of K.
6881 (spin): Update. No longer K&R C.
6882
450ca57c
SW
68832010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6884
6885 * gdb.cp/koenig.cc: created class for testing member lookup.
6886 * gdb.cp/koenig.exp: Added test for member lookup.
6887
dbd492a3
JK
68882010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6889
6890 Fix false FAILs on sourcetree topdir directory containing "kill".
6891 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
6892 source line matching regexp.
6893
8d4d924b
JK
68942010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6895
6896 * gdb.python/python.exp (set height 0, collect help from uiout)
6897 (verify help to uiout): New tests.
6898
8e64f2a0
JK
68992010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6900
6901 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
6902 is_lp64_target to check 64bit target.
6903
4569eed2
JK
69042010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6905
6906 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
6907 (test_ld) <powerpc64-*>: New.
6908
5e1617b1
DJ
69092010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6910
6911 * gdb.cp/templates.exp (test_template_args): Allow "struct".
6912
c767944b
DJ
69132010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6914
6915 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
6916 (FunctionArg::method): New function.
6917 (empty, arg): New variables.
6918 (main): Call arg.method.
6919 * gdb.cp/templates.exp (test_template_args): New function.
6920 (do_tests): Call it.
6921
27d3a3fc
UW
69222010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6923
6924 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
6925 of "next" to proceed over pthread_exit call.
6926
55b7ce7f
UW
69272010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6928
6929 * gdb.base/maint.exp: Avoid wildcards against potentially very long
6930 "maint print statistics" output to prevent expect timeouts.
6931
809df446
JK
69322010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6933
6934 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
6935 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6936 (test_float_rejected): ... here.
6937 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
6938 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6939 (test_float_rejected): ... here.
6940 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
6941 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6942 (test_float_rejected): ... here.
6943 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
6944 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6945 (test_float_rejected): ... here.
6946
8464be76
DJ
69472010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6948
6949 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
6950 before disabling hardware watchpoints.
6951 (test_inaccessible_watchpoint): Check that hardware watchpoints
6952 are used. Test for watchpoints on a constant address.
6953
14dba4b4
JK
69542010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6955
6956 * gdb.base/ui-redirect.exp: New file.
6957
3f3540e1 69582010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 6959 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
6960
6961 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
6962
0f254bb7
DE
69632010-08-31 Doug Evans <dje@google.com>
6964
6965 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
6966
03f17ccf
TT
69672010-08-30 Tom Tromey <tromey@redhat.com>
6968
6969 PR python/11792:
6970 * gdb.python/py-value.exp (test_subscript_regression): Add
6971 dynamic_type test.
6972
640617ad
DJ
69732010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
6974
6975 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
6976 instead of running to main. Do not test the main function.
6977 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
6978 Add new main.
6979
2ed91d1b
PA
69802010-08-26 Pedro Alves <pedro@codesourcery.com>
6981
6982 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
6983 one test.
6984
673bfd45
DE
69852010-08-24 Doug Evans <dje@google.com>
6986
6987 PR symtab/11942
6988 * gdb.dwarf2/dw4-sig-types.cc: New file.
6989 * gdb.dwarf2/dw4-sig-types.h: New file.
6990 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
6991 * gdb.dwarf2/dw4-sig-types.exp: New file.
6992
f9ffd4bb
TT
69932010-08-23 Tom Tromey <tromey@redhat.com>
6994
6995 PR python/11145:
6996 * gdb.python/py-value.c (Base, Derived): New types.
6997 (base): New global.
6998 * gdb.python/py-value.exp (test_subscript_regression): Add
6999 dynamic_cast test.
7000
d839c8a4
TT
70012010-08-23 Tom Tromey <tromey@redhat.com>
7002
7003 PR python/10676:
7004 * gdb.python/py-type.exp (test_fields): Add tests for type
7005 equality.
7006
702c2711
TT
70072010-08-23 Tom Tromey <tromey@redhat.com>
7008
7009 PR python/11915:
7010 * gdb.python/py-type.exp (test_fields): Add tests for array.
7011
832bafd3
KS
70122010-08-23 Keith Seitz <keiths@redhat.com>
7013
7014 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
7015 have any children. Create a new abbrev for it.
7016 Add missing terminal sequence to .debug_abbrev.
7017
c37bf528
KS
70182010-08-20 Keith Seitz <keiths@redhat.com>
7019
7020 PR symtab/11465:
7021 * gdb.dwarf2/pr11465.exp: New test.
7022 * gdb.dwarf2/pr11465.S: New file.
7023 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
7024 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
7025
4572cbac
TJB
70262010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
7027
7028 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
7029 registers. Update data sets with the new v2_double element in the
7030 VSX register union. Add vector_register3_vr data set for the AltiVec
7031 registers. Use gdb_test_no_output instead of send_gdb.
7032
e7fbb131
PA
70332010-08-19 Pedro Alves <pedro@codesourcery.com>
7034
7035 * gdb.python/py-shared.exp: New file, factored out from
7036 python.exp.
7037 * gdb.python/py-shared.c: New file.
7038 * gdb.python/py-shared-sl.c: New file.
7039 * gdb.python/python-1.c: New file.
7040 * gdb.python/python-sl.c: Delete.
7041 * gdb.python/python.c: Mention python-1.c.
7042 * gdb.python/python.exp: Move shared library tests to
7043 py-shared.exp.
7044 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
7045 (MISCELLANEOUS): New.
7046 (clean mostlyclean): Also remove $MISCELLANEOUS.
7047
d30f5e1f
DE
70482010-08-19 Doug Evans <dje@google.com>
7049
7050 PR exp/11926
7051 * gdb.base/printcmds.exp (test_float_accepted): New function.
7052 Move existing float tests there. Add tests for floats with suffixes.
7053 (test_float_rejected): New function.
7054 * gdb.java/jv-print.exp (test_float_accepted): New function.
7055 (test_float_rejected): New function.
7056 * gdb.objc/print.exp: New file.
7057 * gdb.pascal/print.exp: New file.
7058 * lib/objc.exp: New file.
7059
7b3fd859
PM
70602010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
7061
7062 * gdb.base/default.exp (info set): Avoid full buffer error and force
7063 reading up to final gdb prompt.
7064 (show): Likewise.
7065
c92817ce
TT
70662010-08-18 Tom Tromey <tromey@redhat.com>
7067
7068 PR symtab/11919:
7069 * gdb.base/completion.exp: Add test.
7070
f1208f9e
DE
70712010-08-18 Doug Evans <dje@google.com>
7072
7073 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
7074 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
7075 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
7076 Simplify, early exit if runto_main fails.
7077 * gdb.fortran/exprs.exp: load_lib fortran.exp.
7078 (set_lang_fortran): Moved to lib/fortran.exp.
7079 * gdb.fortran/types.exp: load_lib fortran.exp.
7080 (set_lang_fortran): Moved to lib/fortran.exp.
7081 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
7082 * gdb.java/jprint.exp (set_lang_java): Ditto.
7083 * gdb.java/jv-exp.exp: load_lib java.exp.
7084 If set_lang_java fails, issue a warning instead of failure to be
7085 consistent with other set_lang_foo uses.
7086 (set_lang_java): Moved to lib/java.exp.
7087 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
7088 If set_lang_java fails, issue a warning instead of failure to be
7089 consistent with other set_lang_foo uses.
7090 * gdb.pascal/types.exp: load_lib pascal.exp.
7091 (set_lang_pascal): Moved to lib/pascal.exp.
7092 * lib/fortran.exp: New file.
7093 * lib/java.exp (set_lang_java): New function.
7094 * lib/pascal.exp (set_lang_pascal): New function.
7095
2f06b485
YQ
70962010-08-18 Yao Qi <yao@codesourcery.com
7097
7098 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
7099 func_nofb_start and func_loopfb_start, so that address of functions
7100 is equal to these labels on Thumb.
7101
96e25403
YQ
71022010-08-18 Yao Qi <yao@codesourcery.com>
7103
7104 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
7105 to reflect latest c source file.
7106
36e6adc4
JK
71072010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7108
7109 * gdb.cp/infcall-dlopen.exp: New file.
7110 * gdb.cp/infcall-dlopen.cc: New file.
7111 * gdb.cp/infcall-dlopen-lib.cc: New file.
7112
f431efe5
PA
71132010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7114 Pedro Alves <pedro@codesourcery.com>
7115
7116 PR breakpoints/11371
7117
7118 * gdb.base/watch-cond-infcall.exp: New file.
7119 * gdb.base/watch-cond-infcall.c: New file.
7120
06a64a0b
TT
71212010-08-16 Tom Tromey <tromey@redhat.com>
7122
7123 * gdb.base/help.exp: Update.
7124 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
7125 watchpoint.
7126 (test_watch_location): New proc.
7127 (test_watchpoint_in_big_blob): Delete watchpoint.
7128 * gdb.base/watchpoint.c (func5): New function.
7129 (main): Call it.
7130
70ebf4ed
DE
71312010-08-16 Doug Evans <dje@google.com>
7132
7133 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
7134
ca5c20b6
PM
71352010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7136
7137 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
7138 tests.
7139
7346b668
KW
71402010-08-11 Ken Werner <ken.werner@de.ibm.com>
7141
7142 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
7143 * gdb.base/gnu_vector.c: New File.
7144 * gdb.base/gnu_vector.exp: Likewise.
7145
cb2e07a6
PM
71462010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7147
7148 * gdb.python/python.c: New File.
7149 * gdb.python/python-sl.c: New File.
7150 * gdb.python/python.exp: Test solib_address and decode_line
7151 * functions.
7152
5da1313b
JK
71532010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7154
7155 * gdb.python/python.exp (show height, set height 10)
7156 (verify pagination beforehand, verify pagination beforehand: q)
7157 (gdb.execute does not page, verify pagination afterwards)
7158 (verify pagination afterwards: q): New.
7159
49c3ccf7
DE
71602010-08-02 Doug Evans <dje@google.com>
7161
7162 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
7163 because of an older gcc, change test2
7164 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
7165 to unsupported.
7166
42c0c4f1
KH
71672010-07-30 Kazu Hirata <kazu@codesourcery.com>
7168
7169 * gdb.base/break-always.exp: Do not expect full paths to file
7170 names.
7171 * gdb.base/commands.exp: Likewise.
7172
d3765805
DE
71732010-07-30 Doug Evans <dje@google.com>
7174
c98ee71b
DE
7175 * gdb.cp/temargs.exp: For new tests that require newer gccs,
7176 xfail them when run with older gccs.
7177
fd961404
DE
7178 * lib/gdb.exp (build_executable): Forward "c++" option to
7179 get_compiler_info.
7180
999adef4
DE
7181 * gdb.python/py-type.exp (test_template): Mark as xfail tests
7182 "python print ttype.template_argument(1)" and
7183 "python print isinstance(ttype.template_argument(1), gdb.Value)"
7184 if using gcc 4.4 or earlier.
7185
d3765805
DE
7186 * gdb.base/valgrind-db-attach.exp: Use unique test name for
7187 attach-to-debugger handling.
7188
1276c759
JK
71892010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7190
7191 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
7192 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
7193 (main): Use copyreloc.
7194 * gdb.base/prelink.exp (split debug of executable)
7195 (.dynbss vs. .bss address shift): New tests.
7196
88caa9b9
PA
71972010-07-29 Pedro Alves <pedro@codesourcery.com>
7198
7199 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
7200 in gdb_test_multiple.
7201
c6f2ac43
PA
72022010-07-29 Pedro Alves <pedro@codesourcery.com>
7203
7204 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
7205 environment.
7206
326fd672
TT
72072010-07-28 Tom Tromey <tromey@redhat.com>
7208
7209 PR python/11060:
7210 * gdb.python/py-type.c (Temargs): New template.
7211 (temvar): New variable.
7212 * gdb.python/py-type.exp (test_template): New proc.
7213
3ce3b1ba
PA
72142010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7215
7216 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
7217 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
7218
34eaf542
TT
72192010-07-28 Tom Tromey <tromey@redhat.com>
7220
7221 PR c++/9946:
7222 * gdb.cp/temargs.exp: New file.
7223 * gdb.cp/temargs.cc: New file.
7224
d41b819e
JK
72252010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7226
7227 * gdb.base/help.exp (help disassemble): Update the content.
7228
26ab7092
JK
72292010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7230
7231 * gdb.threads/ia64-sigill.exp: New file.
7232 * gdb.threads/ia64-sigill.c: New file.
7233
5283e9e1
TT
72342010-07-27 Tom Tromey <tromey@redhat.com>
7235
7236 * gdb.opt/inline-cmds.c (ATTR): New define.
7237 (func1): Use it.
7238 (func2): Likewise.
7239 (func3): Likewise.
7240 (outer_inline1): Likewise.
7241 (outer_inline2): Likewise.
7242 * gdb.opt/inline-bt.c (ATTR): New define.
7243 (func1): Use it.
7244 (func2): Likewise.
7245 * gdb.opt/inline-locals.c (ATTR): New define.
7246 (func1): Use it.
7247 (func2): Likewise.
7248
e992ef73
TT
72492010-07-27 Tom Tromey <tromey@redhat.com>
7250
7251 * gdb.stabs/gdb11479.c (hack): New function.
7252 (test): Use it.
7253 (test2): Use it.
7254 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
7255 (int32_search_buf, int64_search_buf): No longer static.
7256 (x): Remove.
7257 * gdb.base/relocate.c (hack): New function.
7258
5374244e
PM
72592010-07-27 Phil Muldoon <pmuldoon@redhat.com>
7260
7261 * gdb.python/py-value.exp (test_inferior_function_call): New function.
7262 * gdb.python/py-value.c (func1): New function.
7263 (func2): Likewise.
7264
a99aee83
CV
72652010-07-26 Corinna Vinschen <vinschen@redhat.com>
7266
7267 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
7268 as not to clash with .data section.
7269
a04ba985
JG
72702010-07-26 Jerome Guitton <guitton@adacore.com>
7271
7272 * gdb.base/code_elim.exp: New file.
7273 * gdb.base/code_elim1.c: New file.
7274 * gdb.base/code_elim2.c: New file.
7275
23bd0f7c
PA
72762010-07-21 Pedro Alves <pedro@codesourcery.com>
7277
7278 PR symtab/11827
7279
7280 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
7281 (some_volatile_enum): New variable.
7282 * gdb.base/printcmds.exp (test_print_enums): New.
7283 <top level>: Call it.
7284
883df6dd
SW
72852010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
7286
7287 * gdb.cp/fpointer.cc: New test.
7288 * gdb.cp/fpointer.exp: New test.
7289
569b05a5
JK
72902010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7291
7292 * gdb.base/solib-nodir.exp: New file.
7293 * lib/gdb.exp (runto): New case for a GDB internal error.
7294
51d7d803
JK
72952010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7296 Ulrich Weigand <uweigand@de.ibm.com>
7297 Tom Tromey <tromey@redhat.com>
7298
7299 * gdb.base/charset-malloc.c: New file.
7300 * gdb.base/charset.c (malloc_stub): New prototype.
7301 (main): Call it instead of malloc itself.
7302 * gdb.base/charset.exp: Use only prepare_for_testing.
7303 (binfile): Remove the variable.
7304
c0edd9ed
JK
73052010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7306
7307 Make core files the process_stratum.
7308 * gdb.base/corefile.exp (run: load core again)
7309 (run: sanity check we see the core file, run: with core)
7310 (run: core file is cleared, attach: load core again)
7311 (attach: sanity check we see the core file, attach: with core)
7312 (attach: core file is cleared): New tests.
7313 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
7314
3cbaedff
KW
73152010-07-14 Ken Werner <ken.werner@de.ibm.com>
7316
7317 * gdb.arch/altivec-abi.exp: New tests.
7318
91158a56
TT
73192010-07-13 Tom Tromey <tromey@redhat.com>
7320
7321 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
7322 (main): Use it.
7323 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
7324
0f5238ed
TT
73252010-07-13 Tom Tromey <tromey@redhat.com>
7326
7327 * gdb.base/label.exp: New file.
7328 * gdb.base/label.c: New file.
7329
add265ae
L
73302010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
7331 H.J. Lu <hongjiu.lu@intel.com>
7332
7333 * lib/gdb.exp (is_ilp32_target): New.
7334 (is_lp64_target): Likewise.
7335
7336 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
7337 target.
7338 * gdb.arch/amd64-disp-step.exp: Likewise.
7339 * gdb.arch/amd64-dword.exp: Likewise.
7340 * gdb.arch/amd64-i386-address.exp: Likewise.
7341 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 7342
add265ae
L
7343 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
7344 target.
7345 * gdb.arch/i386-bp_permanent.exp: Likewise.
7346 * gdb.arch/i386-byte.exp: Likewise.
7347 * gdb.arch/i386-disp-step.exp: Likewise.
7348 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7349 * gdb.arch/i386-prologue.exp: Likewise.
7350 * gdb.arch/i386-size-overlap.exp: Likewise.
7351 * gdb.arch/i386-size.exp: Likewise.
7352 * gdb.arch/i386-sse.exp: Likewise.
7353 * gdb.arch/i386-unwind.exp: Likewise.
7354 * gdb.arch/i386-word.exp: Likewise.
7355
7356 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
7357 test only when building 64-bit executables. Do not hard-code
7358 -m64 option.
7359
2dfb8c17
DE
73602010-07-07 Doug Evans <dje@google.com>
7361
7362 * lib/gdb.exp (gdb_test_list_exact): New function.
7363 * gdb.base/default.exp (show convenience): Call it, add tests for
7364 $_sdata = void, $_thread = 0.
7365
4e5799b6
JK
73662010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7367 Joel Brobecker <brobecker@adacore.com>
7368
7369 Fix re-run of PIE executable, PR shlibs/11776.
7370 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
7371 Remove $displacement_main to match the solib-svr4.c change. New "kill"
7372 and re-"run" of the inferior.
7373
1a219cc7
JK
73742010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7375 Joel Brobecker <brobecker@adacore.com>
7376
7377 Cope with missing /usr/sbin/prelink.
7378 * lib/prelink-support.exp (prelink_no):
7379 <result == 1 && $output is "no such file or directory">: New.
7380 (prelink_yes): Likewise. Return on failed prelink_no.
7381
5e3b36f8
JK
73822010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7383 Joel Brobecker <brobecker@adacore.com>
7384
7385 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
7386 build_executable by build_executable_own_libs. Replace "prelink -R"
7387 execution by a call of prelink_yes. Comment why "prelink -r" needs no
7388 change.
7389 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
7390 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
7391 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
7392 Replace build_executable by build_executable_own_libs's function
7393 build_executable_own_libs.
7394 (prelinkNO): Create new stub to call prelink_no.
7395 (prelinkYES): Create new stub to call prelink_yes.
7396 (test_attach): Rename calls of copy to file_copy.
7397 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
7398 (copy): Move to ...
7399 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
7400 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
7401 * gdb.base/prelink.exp: Disable testcase also for is_remote and
7402 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
7403 special flags by gdb_compile_shlib. Replace second gdb_compile by
7404 build_executable_own_libs. Replace "prelink -R" execution by a call of
7405 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
7406 a second call of prelink_yes. Replace restart commands by
7407 clean_restart.
7408 (prelink): Rename to ...
7409 (seen displacement message): ... this test. Extend its expectation
7410 strictness.
7411
86e4bafc
JK
74122010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7413
7414 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
7415 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
7416 displacement message exactly once.
7417
3cd07d20
JK
74182010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7419 Joel Brobecker <brobecker@adacore.com>
7420
7421 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
7422 its restore after the <$relink_args != ""> loop. new comment.
7423
0a1e94c7
JK
74242010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7425 Joel Brobecker <brobecker@adacore.com>
7426
7427 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
7428 code for it. New variable relink_args.
7429 (prelinkYES): Call prelinkNO.
7430 (test_attach): Accept new parameter relink_args. Re-prelink the binary
7431 in such case. Move the core code to ...
7432 (test_attach_gdb): ... a new function. Send GDB command "file".
7433 Extend expected "Attaching to " string.
7434
2f70bcfb
TT
74352010-07-02 Tom Tromey <tromey@redhat.com>
7436
7437 * gdb.base/bitops.exp: Remove extraneous "pass".
7438
a17ac5b0
TT
74392010-07-02 Ken Werner <ken.werner@de.ibm.com>
7440
7441 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
7442
dc10affe
PA
74432010-07-01 Pedro Alves <pedro@codesourcery.com>
7444
d41c0fc8
PA
7445 * gdb.base/help.exp: Adjust expected output.
7446
74472010-07-01 Pedro Alves <pedro@codesourcery.com>
7448
7449 * gdb.base/help.exp: Adjust expected output.
dc10affe 7450
0a600c36
JK
74512010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7452
7453 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
7454 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
7455 c++/11702.
7456
37cc8bfe
JK
74572010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7458 Doug Evans <dje@google.com>
7459
7460 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
7461 add .dynamic entry'.
7462
254e6b9e
DE
74632010-06-29 Doug Evans <dje@google.com>
7464
7465 Test PR c++/11702.
7466 * gdb.cp/m-static.exp: Add testcase.
7467 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
7468
595939de 74692010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
7470 Tom Tromey <tromey@redhat.com>
7471 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
7472
7473 * gdb.python/py-inferior.c: New File.
7474 * gdb.python/py-infthread.c: New File.
7475 * gdb.python/py-inferior.exp: New File.
7476 * gdb.python/py-infthread.exp: New File.
7477
98751a41
JK
74782010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7479
7480 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
7481 (ptype ::C::OtherFileClass typedefs): New.
7482 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
7483 (C::OtherFileClass::cOtherFileClassVar2): New.
7484 (C::OtherFileClass::cOtherFileClassVar_use): Use also
7485 cOtherFileClassVar2.
7486 (C::cOtherFileType2, C::cOtherFileVar2): New.
7487 (C::cOtherFileVar_use): use also cOtherFileVar2.
7488 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
7489
41f62f39
JK
74902010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7491
7492 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
7493 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
7494 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
7495 (print ::C::cOtherFileVar)
7496 (whatis C::OtherFileClass::cOtherFileClassType)
7497 (whatis ::C::OtherFileClass::cOtherFileClassType)
7498 (print C::OtherFileClass::cOtherFileClassVar)
7499 (print ::cOtherFileClassVar)
7500 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
7501 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
7502 trailing content.
7503 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
7504 (C::OtherFileClass::cOtherFileClassVar)
7505 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
7506 (C::cOtherFileVar, C::cOtherFileVar_use): New.
7507
af53d231
JK
75082010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7509
7510 Test PR c++/11703 and PR gdb/1448.
7511 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
7512 gdb/1448.
7513
9655fd1a
JK
75142010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7515
7516 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
7517 (main) <rtti_data>: New.
7518 * gdb.cp/virtbase.exp (print rtti_data): New.
7519
824cc8dd
JK
75202010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7521 Joel Brobecker <brobecker@adacore.com>
7522
7523 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
7524
6036c742
JK
75252010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7526
7527 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
7528
de6a0421
DE
75292010-06-28 Doug Evans <dje@google.com>
7530
7531 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
7532
b2dae948
DE
75332010-06-27 Doug Evans <dje@google.com>
7534
7535 * gdb.cp/m-static.exp: Update expected test output.
7536
0f3bb72e
PH
75372010-06-25 Paul Hilfinger <hilfinger@adacore.com>
7538
889bf7c5
PA
7539 * gdb.gdb/selftest.exp: Adjust expected message for
7540 capturing start-up runtime.
0f3bb72e 7541
bc9f0842
TT
75422010-06-25 Tom Tromey <tromey@redhat.com>
7543
7544 PR python/10808:
7545 * gdb.python/python.exp: Add new tests.
7546
099ef718
SW
75472010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
7548
7549 * gdb.cp/operator.cc: Created an import loop.
7550 * gdb.cp/operator.exp: Added testcase for import loop.
7551
5868a632
JK
75522010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7553
7554 Test PR python/11407.
7555 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
7556 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
7557 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
7558 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
7559 executable_nofb and executable_fb. New variables srcsfile, objsfile,
7560 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
7561 binfile. Call gdb_compile with clean_restart twice.
7562 (func_nofb print, func_nofb backtrace, func_loopfb print)
7563 (func_loopfb backtrace): New.
7564
af76db58
JK
75652010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7566
7567 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
7568 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
7569 by a hand made one.
7570 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
7571 i?86 requirement. Remove variables srcfile and binfile. New variable
7572 sources, executable_nofb and executable_fb. Call prepare_for_testing.
7573
f2c7657e
UW
75742010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7575
7576 * gdb.cell/dwarfaddr.exp: New file.
7577 * gdb.cell/dwarfaddr.S: New file.
7578
628fe4e4
JK
75792010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7580
7581 Test PR 9436.
7582 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
7583
f1421989
HZ
75842010-06-24 Hui Zhu <teawater@gmail.com>
7585
7586 * gdb.base/eval.exp: New file.
7587
d03285ec
UW
75882010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7589
7590 * gdb.cell/fork.exp: New file.
7591 * gdb.cell/fork.c: Likewise.
7592 * gdb.cell/fork-spu.c: Likewise.
7593
41b2c92d
PM
75942010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
7595
7596 * lib/gdb.exp (banned_variables_traced): New global variable.
7597 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
7598 (gdb_init): Use `trace add variable' instead of obsolete
7599 `trace variable'.
7600
d5bc977f
DE
76012010-06-21 Doug Evans <dje@google.com>
7602
7603 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
7604
d2ed6730
UW
76052010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7606
7607 * gdb.arch/spu-ls.exp: New file.
7608 * gdb.arch/spu-ls.c: Likewise.
7609
6aed2dbc
SS
76102010-06-18 Stan Shebs <stan@codesourcery.com>
7611
7612 * gdb.threads/thread-specific.exp: Add tests of $_thread.
7613
e0756905
UW
76142010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7615
7616 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
7617 * gdb.base/watch-cond.exp: Likewise.
7618 * gdb.python/py-breakpoint.exp: Likewise.
7619
d8053d4d
PA
76202010-06-18 Pedro Alves <pedro@codesourcery.com>
7621
7622 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
7623 clean_restart, make sure every test has a distinct message, and
7624 that messages don't include the executable' full path.
7625
81ce510c
DE
76262010-06-17 Doug Evans <dje@google.com>
7627
7628 * gdb.arch/i386-size.exp: Updated expected output for
7629 DISASSEMBLY_OMIT_FNAME.
7630
65d79d4b
SDJ
76312010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7632 Sergio Durigan Junior <sergiodj@redhat.com>
7633
7634 * gdb.base/watch-notconst.c: New file.
7635 * gdb.base/watch-notconst.S: New file.
7636 * gdb.base/watch-notconst2.c: New file.
7637 * gdb.base/watch-notconst2.S: New file.
7638 * gdb.base/watch-notconst.exp: New file.
7639 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
7640 (func4): Add operations on `global_ptr_ptr'.
7641 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
7642 routine to test watchpoints created with a constant expression.
7643 (test_inaccessible_watchpoint): Include tests for watchpoints
7644 created with a constant expression.
7645
df0f4836
KB
76462010-06-14 Kevin Buettner <kevinb@redhat.com>
7647
7648 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7649 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
7650 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
7651 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
7652 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7653 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7654 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
7655 of `_start'.
7656
b769def5
UW
76572010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7658
7659 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
7660 not supported on the target.
7661 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7662 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7663 * gdb.mi/mi-nsintrall.exp: Likewise.
7664 * gdb.mi/mi-nsmoribund.exp: Likewise.
7665 * gdb.mi/mi-nsthrexec.exp: Likewise.
7666
d914c394
SS
76672010-06-11 Stan Shebs <stan@codesourcery.com>
7668
7669 * gdb.base/permissions.exp: New file.
7670
76712010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
7672
7673 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
7674 does not support ELF executable class.
7675
f3ce5b9c
UW
76762010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7677
7678 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
7679
8e46892c
JK
76802010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7681
7682 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
7683 (runto): Catch "The target does not support running in non-stop mode.".
7684
6cc55c64
MS
76852010-06-11 Michael Snyder <msnyder@vmware.com>
7686
7687 * gdb.base/setshow.exp (set language asm): Don't use
7688 gdb_test_no_output, fails on some targets.
7689
caddefa4
UW
76902010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7691
7692 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
7693 * gdb.cp/pr9167.exp: Likewise.
7694
468b1aa7
UW
76952010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7696
7697 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
7698
5c3552dc
UW
76992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7700
7701 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
7702
02e6fe6a
UW
77032010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7704
7705 * gdb.base/charset.c (main): Make sure malloc gets linked in.
7706
0e03807e
TT
77072010-06-11 Tom Tromey <tromey@redhat.com>
7708
7709 PR gdb/9977, PR exp/11636::
7710 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
7711 (pieces_test_f6): Update expected output.
7712
2bdf28a0
JK
77132010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7714
7715 * gdb.base/moribund-step.exp: New.
7716
f6978de9
MS
77172010-06-08 Michael Snyder <msnyder@vmware.com>
7718
7719 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 7720 * gdb.ada/boolean_expr.exp:
f6978de9
MS
7721 * gdb.ada/frame_args.exp: Ditto.
7722 * gdb.ada/lang_switch.exp: Ditto.
7723 * gdb.ada/ptype_arith_binop.exp: Ditto.
7724 * gdb.ada/ref_param.exp: Ditto.
7725 * gdb.ada/type_coercion.exp:Ditto.
7726
7727 * gdb.asm/asm-source.exp: Ditto.
7728
7729 * gdb.base/attach.exp: Ditto.
7730 * gdb.base/bitfields2.exp: Ditto.
7731 * gdb.base/call-signal-resume.exp: Ditto.
7732 * gdb.base/callfuncs.exp: Ditto.
7733 * gdb.base/commands.exp: Ditto.
7734 * gdb.base/dbx.exp: Ditto.
7735 * gdb.base/default.exp: Ditto.
7736 * gdb.base/dump.exp: Ditto.
7737 * gdb.base/exprs.exp: Ditto.
7738 * gdb.base/freebpcmd.exp: Ditto.
7739 * gdb.base/interrupt.exp: Ditto.
7740 * gdb.base/list.exp: Ditto.
7741 * gdb.base/long_long.exp: Ditto.
7742 * gdb.base/maint.exp: Ditto.
7743 * gdb.base/ptype.exp: Ditto.
7744 * gdb.base/return.exp: Ditto.
7745 * gdb.base/setshow.exp: Ditto.
7746 * gdb.base/sigbpt.exp: Ditto.
7747 * gdb.base/sigrepeat.exp: Ditto.
7748
7749 * gdb.cp/classes.exp: Ditto.
7750
7751 * gdb.dwarf2/dw2-restore.exp: Ditto.
7752
7753 * gdb.gdb/selftest.exp: Ditto.
7754
7755 * gdb.multi/base.exp: Ditto.
7756 * gdb.multi/bkpt-multi-exec.exp: Ditto.
7757
7758 * gdb.python/py-block.exp: Ditto.
7759 * gdb.python/py-prettyprint.exp: Ditto.
7760 * gdb.python/py-template.exp: Ditto.
7761
7762 * gdb.server/ext-attach.exp: Ditto.
7763 * gdb.server/ext-run.exp: Ditto.
7764 * gdb.server/server-mon.exp: Ditto.
7765
7766 * gdb.threads/fork-thread-pending.exp: Ditto.
7767 * gdb.threads/hand-call-in-threads.exp: Ditto.
7768 * gdb.threads/interrupted-hand-call.exp: Ditto.
7769 * gdb.threads/linux-dp.exp: Ditto.
7770 * gdb.threads/manythreads.exp: Ditto.
7771 * gdb.threads/print-threads.exp: Ditto.
7772 * gdb.threads/pthreads.exp: Ditto.
7773 * gdb.threads/schedlock.exp: Ditto.
7774 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7775 * gdb.threads/threadapply.exp: Ditto.
7776
de7ff789
MS
77772010-06-08 Michael Snyder <msnyder@vmware.com>
7778
889bf7c5 7779 * gdb.ada/exec_changed.exp:
de7ff789
MS
7780 Use ".*" instead of "" as wildcard regexp.
7781
7782 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
7783 * gdb.base/call-ar-st.exp: Ditto.
7784 * gdb.base/checkpoint.exp: Ditto.
7785 * gdb.base/default.exp: Ditto.
7786 * gdb.base/dump.exp: Ditto.
7787 * gdb.base/ending-run.exp: Ditto.
7788 * gdb.base/fileio.exp: Ditto.
7789 * gdb.base/miscexprs.exp: Ditto.
7790 * gdb.base/pointers.exp: Ditto.
7791 * gdb.base/readline.exp: Ditto.
7792 * gdb.base/reread.exp: Ditto.
7793 * gdb.base/restore.exp: Ditto.
7794 * gdb.base/shlib-call.exp: Ditto.
7795 * gdb.base/valgrind-db-attach.exp: Ditto.
7796 * gdb.base/volatile.exp: Ditto.
7797 * gdb.base/watchpoints.exp: Ditto.
7798
7799 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
7800
7801 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
7802 * gdb.python/py-value.exp: Ditto.
7803
7804 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
7805 * gdb.trace/circ.exp: Ditto.
7806 * gdb.trace/collection.exp: Ditto.
7807 * gdb.trace/packetlen.exp: Ditto.
7808 * gdb.trace/passc-dyn.exp: Ditto.
7809 * gdb.trace/report.exp: Ditto.
7810 * gdb.trace/tfile.exp: Ditto.
7811 * gdb.trace/tfind.exp: Ditto.
7812 * gdb.trace/while-dyn.exp: Ditto.
7813
3bebe2f2
JK
78142010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7815
7816 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
7817
5c631832
JK
78182010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7819
7820 Test PR 10640.
7821 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
7822
4c3376c8
SW
78232010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
7824
7825 * gdb.cp/koenig.exp: Test for ADL operators.
7826 * gdb.cp/koenig.cc: Added ADL operators.
7827 * gdb.cp/operator.exp: New test.
7828 * gdb.cp/operator.cc: New test.
7829
dc226d5a
MS
78302010-06-04 Michael Snyder <msnyder@vmware.com>
7831
dfb88a23
MS
7832 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
7833 * gdb.base/pending.exp: Ditto.
f7ae76b3 7834
dc226d5a
MS
7835 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
7836
967cf477
DE
78372010-06-04 Doug Evans <dje@google.com>
7838
7839 * gdb.python/py-prettyprint.exp: Add new test for enabled and
7840 disabled printers.
7841 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
7842 (enable_lookup_function): New function.
7843
eb801841
TT
78442010-06-04 Tom Tromey <tromey@redhat.com>
7845
7846 * gdb.python/py-value.exp (test_value_hash): Don't test equality
7847 of hash and id.
7848
38979823
JK
78492010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7850
7851 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
7852 newline.
7853 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
7854 (empty verbose non-noisy clear, empty verbose noisy clear)
7855 (empty non-verbose noisy clear): Likewise.
7856
35ec993f
MS
78572010-06-03 Michael Snyder <msnyder@vmware.com>
7858
7859 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
7860 * gdb.base/display.exp: Ditto.
7861 * gdb.base/find.exp: Ditto.
7862 * gdb.base/ifelse.exp: Ditto.
7863 * gdb.base/multi-forks.exp: Ditto.
7864 * gdb.base/recurse.exp: Ditto.
7865 * gdb.base/setshow.exp: Ditto.
7866 * gdb.base/value-double-free.exp: Ditto.
7867 * gdb.base/watch-vfork.exp: Ditto.
7868 * gdb.base/watch_thread_num.exp: Ditto.
7869 * gdb.base/watchpoint-solib.exp: Ditto.
7870 * gdb.base/watchpoint.exp: Ditto.
7871 * gdb.base/watchpoints.exp: Ditto.
7872
7873 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
7874 * gdb.cp/overload.exp: Ditto.
7875 * gdb.cp/virtfunc.exp: Ditto.
7876
7877 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
7878
889bf7c5 7879 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
7880 Replace gdb_test with gdb_test_no_output.
7881
889bf7c5 7882 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
7883 Replace gdb_test with gdb_test_no_output.
7884 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7885 * gdb.threads/watchthreads.exp: Ditto.
7886 * gdb.threads/watchthreads2.exp: Ditto.
7887
7888 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
7889 * gdb.trace/tfind.exp: Ditto.
7890
c22decce
JB
78912010-06-03 Joel Brobecker <brobecker@adacore.com>
7892
7893 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
7894 successful test if message is the empty string.
7895
fd5700c7
JK
78962010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7897
7898 * gdb.fortran/module.exp (stopped language detection): New test.
7899
f55ee35c
JK
79002010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7901
7902 Support DW_TAG_module as separate namespaces.
7903 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
7904 gdb.fortran/library-module-lib.f90: New.
7905 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
7906 (print i): Remove.
7907 (continue to breakpoint: i-is-1, print var_i value 1)
7908 (continue to breakpoint: i-is-2, print var_i value 2)
7909 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
7910 (print var_d, print var_i value 14, ptype modmany, complete `modm)
7911 (complete `modmany, complete `modmany`, complete `modmany`var)
7912 (show language, setting breakpoint at module): New tests.
7913 * gdb.fortran/module.f90 (module mod): Remove.
7914 (module mod1, module mod2, module modmany, subroutine sub1)
7915 (subroutine sub2, program module): New.
7916
b8e8282f
JK
79172010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7918
7919 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
7920 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
7921 * gdb.cp/anon-union.exp (pass): Rename to ...
7922 (print z 2): ... here.
b8e8282f 7923
019ebafc
MS
79242010-06-02 Michael Snyder <msnyder@vmware.com>
7925
e68d8fd4
MS
7926 * gdb.trace/actions.exp: Use gdb_test_no_output.
7927 * gdb.trace/circ.exp: Ditto.
7928 * gdb.trace/packetlen.exp: Ditto.
7929 * gdb.trace/save-trace.exp: Ditto.
7930 * gdb.trace/tracecmd.exp: Ditto.
7931 * gdb.trace/tsv.exp: Ditto.
7932
12b5d08a
MS
7933 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
7934 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
7935 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7936 * gdb.threads/manythreads.exp: Ditto.
7937 * gdb.threads/print-threads.exp: Ditto.
7938 * gdb.threads/pthreads.exp: Ditto.
7939 * gdb.threads/schedlock.exp: Ditto.
7940 * gdb.threads/staticthreads.exp: Ditto.
7941 * gdb.threads/thread-specific.exp: Ditto.
7942 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7943 * gdb.threads/threadapply.exp: Ditto.
7944 * gdb.threads/watchthreads.exp: Ditto.
7945 * gdb.threads/watchthreads2.exp: Ditto.
7946
89493308
MS
7947 * gdb.python/py-block.exp: Use gdb_test_no_output.
7948 * gdb.python/py-prettyprint.exp: Ditto.
7949 * gdb.python/py-template.exp: Ditto.
7950 * gdb.python/py-value.exp: Ditto.
7951
7952 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
7953 * gdb.reverse/watch-reverse.exp: Ditto.
7954
7955 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
7956 * gdb.server/ext-run.exp: Ditto.
7957
019ebafc
MS
7958 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
7959 * gdb.dwarf2/dw2-compressed.exp: Ditto.
7960 * gdb.dwarf2/dw2-intercu.exp: Ditto.
7961 * gdb.dwarf2/dw2-intermix.exp: Ditto.
7962 * gdb.dwarf2/dw2-producer.exp: Ditto.
7963 * gdb.dwarf2/mac-fileno.exp: Ditto.
7964
7965 * gdb.gdb/observer.exp: Use gdb_test_no_output.
7966 * gdb.gdb/selftest.exp: Ditto.
7967
7968 * gdb.multi/base.exp: Use gdb_test_no_output.
7969
7970 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
7971
3e0ca3a5
JK
79722010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7973
7974 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
7975
9db70545
MS
79762010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
7977
a8d52276
MS
7978 * gdb.cp/class2.exp: Use gdb_test_no_output.
7979 * gdb.cp/classes.exp: Ditto.
7980 * gdb.cp/extern-c.exp: Ditto.
7981 * gdb.cp/inherit.exp: Ditto.
7982 * gdb.cp/maint.exp: Ditto.
7983 * gdb.cp/mb-inline.exp: Ditto.
7984 * gdb.cp/mb-templates.exp: Ditto.
7985 * gdb.cp/method2.exp: Ditto.
7986 * gdb.cp/misc.exp: Ditto.
7987 * gdb.cp/ovldbreak.exp: Ditto.
7988 * gdb.cp/punctuator.exp: Ditto.
7989 * gdb.cp/templates.exp: Ditto.
7990 * gdb.cp/virtbase.exp: Ditto.
7991
889bf7c5 7992 * gdb.threads/attach-stopped.exp:
9db70545 7993 Replace uses of send_gdb / gdb_expect.
889bf7c5 7994 * gdb.threads/attachstop-mt.exp:
9db70545 7995 Replace uses of send_gdb / gdb_expect.
889bf7c5 7996 * gdb.threads/gcore-thread.exp:
9db70545 7997 Replace uses of send_gdb / gdb_expect.
889bf7c5 7998 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
7999 Replace uses of send_gdb / gdb_expect.
8000 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 8001 * gdb.threads/print-threads.exp:
9db70545
MS
8002 Replace uses of send_gdb / gdb_expect.
8003 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
8004 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
8005 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
8006
8007 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
8008 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
8009 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
8010 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
8011 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
8012 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
8013 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
8014 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
8015 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
8016 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
8017 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
8018
359cc68c
JK
80192010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8020
8021 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
8022
7d3fe98e
SW
80232010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
8024
8025 * gdb.cp/koenig.exp: Added new test case.
8026 * gdb.cp/koenig.cc: Ditto.
8027
27d3a1a2
MS
80282010-06-01 Michael Snyder <msnyder@vmware.com>
8029
8030 * gdb.base/arithmet.exp: Use gdb_test_no_output.
8031 * gdb.base/arrayidx.exp: Ditto.
8032 * gdb.base/attach.exp: Ditto.
8033 * gdb.base/auxv.exp: Ditto.
8034 * gdb.base/bigcre.exp: Ditto.
8035 * gdb.base/break-always.exp: Ditto.
8036 * gdb.base/break-interp.exp: Ditto.
8037 * gdb.base/break.exp: Ditto.
8038 * gdb.base/breakpoint-shadow.exp: Ditto.
8039 * gdb.base/call-ar-st.exp: Ditto.
8040 * gdb.base/call-sc.exp: Ditto.
8041 * gdb.base/call-signal-resume.exp: Ditto.
8042 * gdb.base/callfuncs.exp: Ditto.
8043 * gdb.base/catch-syscall.exp: Ditto.
8044 * gdb.base/charset.exp: Ditto.
8045 * gdb.base/code-expr.exp: Ditto.
8046 * gdb.base/commands.exp: Ditto.
8047 * gdb.base/cond-expr.exp: Ditto.
8048 * gdb.base/condbreak.exp: Ditto.
8049 * gdb.base/cursal.exp: Ditto.
8050 * gdb.base/cvexpr.exp: Ditto.
8051 * gdb.base/default.exp: Ditto.
8052 * gdb.base/del.exp: Ditto.
8053 * gdb.base/detach.exp: Ditto.
8054 * gdb.base/display.exp: Ditto.
8055 * gdb.base/ena-dis-br.exp: Ditto.
8056 * gdb.base/eval-skip.exp: Ditto.
8057 * gdb.base/foll-fork.exp: Ditto.
8058 * gdb.base/foll-vfork.exp: Ditto.
8059 * gdb.base/frame-args.exp: Ditto.
8060 * gdb.base/funcargs.exp: Ditto.
8061 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8062 * gdb.base/gdbvars.exp: Ditto.
8063 * gdb.base/help.exp: Ditto.
8064 * gdb.base/ifelse.exp: Ditto.
8065 * gdb.base/included.exp: Ditto.
8066 * gdb.base/list.exp: Ditto.
8067 * gdb.base/macscp.exp: Ditto.
8068 * gdb.base/maint.exp: Ditto.
8069 * gdb.base/multi-fork.exp: Ditto.
8070 * gdb.base/overlays.exp: Ditto.
8071 * gdb.base/page.exp: Ditto.
8072 * gdb.base/pending.exp: Ditto.
8073 * gdb.base/pointers.exp: Ditto.
8074 * gdb.base/pr11022.exp: Ditto.
8075 * gdb.base/prelink.exp: Ditto.
8076 * gdb.base/printcmds.exp: Ditto.
8077 * gdb.base/psymtab.exp: Ditto.
8078 * gdb.base/randomize.exp: Ditto.
8079 * gdb.base/relational.exp: Ditto.
8080 * gdb.base/relocate.exp: Ditto.
8081 * gdb.base/remote.exp: Ditto.
8082 * gdb.base/sepdebug.exp: Ditto.
8083 * gdb.base/set-lang-auto.exp: Ditto.
8084 * gdb.base/setshow.exp: Ditto.
8085 * gdb.base/setvar.exp: Ditto.
8086 * gdb.base/signals.exp: Ditto.
8087 * gdb.base/signull.exp: Ditto.
8088 * gdb.base/sigstep.exp: Ditto.
8089 * gdb.base/sizeof.exp: Ditto.
8090 * gdb.base/solib-disc.exp: Ditto.
8091 * gdb.base/store.exp: Ditto.
8092 * gdb.base/structs.exp: Ditto.
8093 * gdb.base/structs2.exp: Ditto.
8094 * gdb.base/subst.exp: Ditto.
8095 * gdb.base/term.exp: Ditto.
8096 * gdb.base/trace-commands.exp: Ditto.
8097 * gdb.base/unwindonsignal.exp: Ditto.
8098 * gdb.base/valgrind-db-attach.exp: Ditto.
8099 * gdb.base/varargs.exp: Ditto.
8100 * gdb.base/watch-cond.exp: Ditto.
8101 * gdb.base/watch_thread_num.exp: Ditto.
8102 * gdb.base/watchpoint-cond-gone.exp: Ditto.
8103 * gdb.base/watchpoint.exp: Ditto.
8104 * gdb.base/whatis-exp.exp: Ditto.
8105
f8d3bf8f
MS
81062010-06-01 Michael Snyder <msnyder@vmware.com>
8107
8108 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
8109 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
8110 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
8111 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
8112 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
8113 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
8114 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
8115 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
8116 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
8117 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
8118 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
8119 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
8120 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
8121 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
8122 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
8123
3f9e0d32
JK
81242010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8125
8126 * gdb.base/commands.exp (begin commands on watch): Remove excessive
8127 trailing newline.
8128 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
8129 * gdb.java/jmisc.exp (p *args\n): Rename to ...
8130 (p *args): ... here and remove excessive trailing newline.
8131
f629457d
JB
81322010-05-31 Joel Brobecker <brobecker@adacore.com>
8133
8134 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
8135
09eef106
JK
81362010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8137
8138 Accept the new Linux kernel "t (tracing stop)" string.
8139 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
8140 Update comment.
8141 (state_wait) <T (tracing stop)>: New.
8142 (main): Update the state_wait expect string.
8143
94f31136
PA
81442010-05-28 Pedro Alves <pedro@codesourcery.com>
8145
8146 * limits.c, limits.exp: Delete files.
8147 * Makefile.in (clean mostlyclean): Adjust.
8148 * tracecmd.exp: Adjust.
8149
096554ab
JK
81502010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8151
8152 * gdb.base/tui-layout.exp: New.
8153
27d3a1a2 81542010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 8155
889bf7c5 8156 * gdb.reverse/break-precsave.exp:
bcd2dc50 8157 Replace uses of send_gdb / gdb_expect.
889bf7c5 8158 * gdb.reverse/break-reverse.exp:
bcd2dc50 8159 Replace uses of send_gdb / gdb_expect.
889bf7c5 8160 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 8161 Replace uses of send_gdb / gdb_expect.
889bf7c5 8162 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 8163 Replace uses of send_gdb / gdb_expect.
889bf7c5 8164 * gdb.reverse/finish-precsave.exp:
bcd2dc50 8165 Replace uses of send_gdb / gdb_expect.
889bf7c5 8166 * gdb.reverse/finish-reverse.exp:
bcd2dc50 8167 Replace uses of send_gdb / gdb_expect.
889bf7c5 8168 * gdb.reverse/i386-precsave.exp:
bcd2dc50 8169 Replace uses of send_gdb / gdb_expect.
889bf7c5 8170 * gdb.reverse/i386-reverse.exp:
bcd2dc50 8171 Replace uses of send_gdb / gdb_expect.
889bf7c5 8172 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 8173 Replace uses of send_gdb / gdb_expect.
889bf7c5 8174 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 8175 Replace uses of send_gdb / gdb_expect.
889bf7c5 8176 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 8177 Replace uses of send_gdb / gdb_expect.
889bf7c5 8178 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 8179 Replace uses of send_gdb / gdb_expect.
889bf7c5 8180 * gdb.reverse/machinestate.exp:
bcd2dc50 8181 Replace uses of send_gdb / gdb_expect.
889bf7c5 8182 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 8183 Replace uses of send_gdb / gdb_expect.
889bf7c5 8184 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 8185 Replace uses of send_gdb / gdb_expect.
889bf7c5 8186 * gdb.reverse/solib-precsave.exp:
bcd2dc50 8187 Replace uses of send_gdb / gdb_expect.
889bf7c5 8188 * gdb.reverse/solib-reverse.exp:
bcd2dc50 8189 Replace uses of send_gdb / gdb_expect.
889bf7c5 8190 * gdb.reverse/step-precsave.exp:
bcd2dc50 8191 Replace uses of send_gdb / gdb_expect.
889bf7c5 8192 * gdb.reverse/step-reverse.exp:
bcd2dc50 8193 Replace uses of send_gdb / gdb_expect.
889bf7c5 8194 * gdb.reverse/until-precsave.exp:
bcd2dc50 8195 Replace uses of send_gdb / gdb_expect.
889bf7c5 8196 * gdb.reverse/until-reverse.exp:
bcd2dc50 8197 Replace uses of send_gdb / gdb_expect.
889bf7c5 8198 * gdb.reverse/watch-precsave.exp:
bcd2dc50 8199 Replace uses of send_gdb / gdb_expect.
889bf7c5 8200 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
8201 Replace uses of send_gdb / gdb_expect.
8202
3def43e0
JK
82032010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8204
8205 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
8206 excessive newline.
8207
27d3a1a2 82082010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
8209
8210 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
8211 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
8212 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
8213 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
8214 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
8215 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
8216 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
8217 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
8218 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
8219 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
8220 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
8221 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
8222 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
8223 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
8224 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
8225 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
8226 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
8227 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
8228 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 8229
27d3a1a2 82302010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 8231
22454424
MS
8232 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
8233 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
8234
8235 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
8236 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
8237 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
8238
889bf7c5 8239 * gdb.reverse/consecutive-reverse.exp:
22454424 8240 Replace uses of send_gdb / gdb_expect.
889bf7c5 8241 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
8242 Replace uses of send_gdb / gdb_expect.
8243
8244 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
8245 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
8246 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 8247 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
8248 Replace uses of send_gdb / gdb_expect.
8249 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
8250 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
8251 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
8252 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
8253 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
8254 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
8255 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
8256 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
8257 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
8258
82592010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 8260
22454424 8261 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8262
22454424 8263 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8264
22454424
MS
8265 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
8266 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
8267 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
8268 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
8269 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
8270 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
8271 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
8272 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
8273 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8274
6e5f2c59
TT
82752010-05-25 Tom Tromey <tromey@redhat.com>
8276
8277 * gdb.base/macscp.exp: Add missing space after setup_kfail.
8278
bbc8b958
TT
82792010-05-25 Tom Tromey <tromey@redhat.com>
8280
8281 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
8282 argument order.
8283 * gdb.base/macscp.exp: Fix setup_kfail argument order.
8284 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
8285 order.
8286 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
8287 order.
8288 * gdb.base/call-sc.exp (setup_kfails): Remove.
8289 (setup_compiler_kfails): Remove.
8290 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
8291 argument order.
8292 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
8293 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
8294 (advancei): Fix setup_kfail argument order.
8295 * gdb.base/radix.exp: Fix setup_kfail argument order.
8296 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
8297 order.
8298 * gdb.base/structs.exp (setup_kfails): Remove.
8299 (setup_compiler_kfails): Fix setup_kfail argument order.
8300 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
8301 order.
8302 * gdb.java/jmain.exp: Fix setup_kfail argument order.
8303 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
8304 setup_kfail argument order.
8305 * gdb.cp/overload.exp: Fix setup_kfail argument order.
8306
83d1babf
TT
83072010-05-25 Tom Tromey <tromey@redhat.com>
8308
8309 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
8310
6acb16a2
MS
83112010-05-25 Michael Snyder <msnyder@vmware.com>
8312
8313 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
8314 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
8315 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
8316 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
8317 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
8318 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
8319 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
8320 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
8321 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
8322 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
8323 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
8324 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
8325 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
8326 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
8327 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
8328 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
8329 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
8330 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
8331 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
8332 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
8333 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
8334 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
8335 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
8336 * gdb.base/default.exp: Replace send_gdb with gdb_test.
8337 * gdb.base/define.exp: Replace send_gdb with gdb_test.
8338 * gdb.base/display.exp: Replace send_gdb with gdb_test.
8339 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
8340 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
8341 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
8342 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
8343 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
8344 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
8345 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
8346 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
8347 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
8348 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
8349 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
8350 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
8351 * gdb.base/help.exp: Replace send_gdb with gdb_test.
8352 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
8353 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
8354 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
8355 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
8356 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
8357 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
8358 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
8359 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 8360 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
8361
83622010-05-25 Doug Evans <dje@google.com>
8363
8364 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
8365 gdb.string_to_argv.
ad3986f0 8366
d3b1e874
TT
83672010-05-21 Tom Tromey <tromey@redhat.com>
8368
8369 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
8370 Call it.
8371 * gdb.dwarf2/pieces.S: Update.
8372 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
8373
cb826367
TT
83742010-05-21 Tom Tromey <tromey@redhat.com>
8375
8376 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
8377 Call it.
8378 * gdb.dwarf2/pieces.c (struct C): New.
8379 (f6): New function.
8380 * gdb.dwarf2/pieces.S: Replace.
8381
74de6778
TT
83822010-05-21 Tom Tromey <tromey@redhat.com>
8383
8384 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
8385 Call it.
8386
afd74c5f
TT
83872010-05-21 Tom Tromey <tromey@redhat.com>
8388
8389 * gdb.dwarf2.pieces.exp: New file.
8390 * gdb.dwarf2.pieces.S: New file.
8391 * gdb.dwarf2.pieces.c: New file.
8392
a7b75dfd 83932010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 8394 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
8395
8396 * lib/gdb.exp (gdb_test_no_output): New function.
8397 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
8398 when testing commands that should produce no output.
8399
c81c812a
JB
84002010-05-17 Joel Brobecker <brobecker@adacore.com>
8401
8402 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
8403 parameter that we want to watch being a constant.
8404
0cce5bd9
JB
84052010-05-17 Joel Brobecker <brobecker@adacore.com>
8406
8407 * gdb.ada/cond_lang: New testcase.
8408
47050449
JB
84092010-05-17 Joel Brobecker <brobecker@adacore.com>
8410
8411 * lib/gdb.exp (banned_variables): New variable/constant.
8412 (gdb_init): Add write trace on variables listed in banned_variables.
8413 (gdb_finish): Remove write traces on variables listed in
8414 banned_variables.
8415
77c01586
JB
84162010-05-17 Joel Brobecker <brobecker@adacore.com>
8417
8418 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
8419 * gdb.cp/koenig.exp: Likewise.
8420
88d4aea7
PM
84212010-05-14 Phil Muldoon <pmuldoon@redhat.com>
8422
889bf7c5 8423 PR python/11482
88d4aea7
PM
8424
8425 * gdb.python/py-value.exp (test_value_hash): New function.
8426
f5a010c0
PM
84272010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
8428
8429 PR exp/11530.
8430 * gdb.base/gdb11530.c: New file.
8431 * gdb.base/gdb11530.exp: New file.
8432
8ef4892f
JK
84332010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8434
8435 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
8436 * gdb.dwarf2/dw2-modula2-self-type.S: New.
8437
7322dca9
SW
84382010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
8439
8440 * gdb.cp/koenig.exp: New test.
8441 * gdb.cp/koenig.cc: New test program.
8442
02e7ea18
JB
84432010-05-05 Joel Brobecker <brobecker@adacore.com>
8444
8445 Remove the use of prms_id and bug_id throughout the testsuite.
8446
e1c34c5d
PM
84472010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
8448
8449 PR exp/11349.
8450 * testsuite/gdb.cp/ref-types.exp: Add test to examine
8451 use a reference local variable.
8452
8e1d0c49
JK
84532010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8454
8455 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
8456 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
8457 variable different_dir. Move debugfile into a full directory pathname
8458 under DIFFERENT_DIR.
8459 * lib/gdb.exp (separate_debug_filename): Remove.
8460 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
8461 variable debug_dir and mkdir of it. Update function comments.
8462
e66408ed
PA
84632010-04-29 Pedro Alves <pedro@codesourcery.com>
8464
8465 PR gdb/11557
8466
8467 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
8468 files.
8469
d7b32ed3
PM
84702010-04-29 Phil Muldoon <pmuldoon@redhat.com>
8471
889bf7c5 8472 * gdb.python/py-param.exp: New File.
d7b32ed3 8473
6aecb9c2
JB
84742010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
8475
8476 * gdb.base/default.exp: Fix "set language" test.
8477
bdf92a1c
PM
84782010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
8479
8480 PR breakpoints/11531.
8481 * gdb.base/gdb11531.c: New file.
8482 * gdb.base/gdb11531.exp: New file.
8483
3f172e24
TT
84842010-04-26 Tom Tromey <tromey@redhat.com>
8485
8486 * gdb.base/completion.exp: Add tests for completion and deprecated
8487 commands.
8488
64af4c92
JK
84892010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8490
8491 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
8492 (print /x char_array): Escape curly brackets.
8493
492928e4
JK
84942010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8495
8496 Fix deadlock on looped list of loaded shared objects.
8497 * gdb.base/solib-corrupted.exp: New.
8498
66d09542
DE
84992010-04-23 Doug Evans <dje@google.com>
8500
8501 * gdb.python/py-section-script.c: New file.
8502 * gdb.python/py-section-script.exp: New file.
8503 * gdb.python/py-section-script.py: New file.
8504
8bd10a10
CM
85052010-04-20 Chris Moller <cmoller@redhat.com>
8506
8507 PR 10179
8508
8509 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
8510 * gdb.base/pr10179-a.c:
8511 * gdb.base/pr10179-b.c:
8512 * gdb.base/pr10179.exp: New files.
8513
c0201579
JK
85142010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8515
8516 Fix crashes on dangling display expressions.
8517 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
8518 is SEP.
8519 (lib_flags): Remove the "debug" keyword.
8520 (libsepdebug): New variable for iterating new loop.
8521 (save_pf_prefix): New variable wrapping the loop.
8522 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
8523 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
8524
793b0ff8
PM
85252010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8526
8527 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
8528
097f51f7
PM
85292010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8530
8531 PR stabs/11479.
8532 * gdb.stabs/gdb11479.exp: New file.
8533 * gdb.stabs/gdb11479.c: New file.
8534
9a22f0d0
PM
85352010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8536
8537 * gdb.base/charset.c (Strin16, String32): New variables.
8538 * gdb.base/charset.exp (gdb_test): Test correct display
8539 of 16 or 32 bit strings.
8540
85412010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
8542
8543 PR 9167
8544 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
8545 * gdb.cp/pr9167.cc: New file.
8546 * gdb.cp/pr9167.exp: New file.
8547
8548
6e354e5e
PM
85492010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
8550
8551 PR pascal/11492.
8552 * gdb.pascal/gdb11492.pas: New file.
8553 * gdb.pascal/gdb11492.exp: New file.
8554
be942545
JB
85552010-04-20 Joel Brobecker <brobecker@adacore.com>
8556
1667e6e3 8557 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 8558
0c3acc09
JB
85592010-04-20 Joel Brobecker <brobecker@adacore.com>
8560
8561 * gdb.ada/dyn_loc: New testcase.
8562
ec31cde5
CM
85632010-04-20 Chris Moller <cmoller@redhat.com>
8564
8565 PR 10867
889bf7c5 8566
ec31cde5
CM
8567 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
8568 * gdb.cp/pr10687.cc: New file.
8569 * gdb.cp/pr10687.exp: New file.
8570
8571
ce4b0682
SDJ
85722010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8573 Sergio Durigan Junior <sergiodj@redhat.com>
8574
8575 * gdb.fortran/logical.exp: New testcase.
8576 * gdb.fortran/logical.f90: New file.
8577
3436961f
DE
85782010-04-19 Doug Evans <dje@google.com>
8579
8580 * gdb.base/help.exp (help source): Update expected output.
8581
4d836c09
JK
85822010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8583
8584 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
8585 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
8586 gdb_exit and return.
8587 (executable): New variable.
8588 (binfile): Use it.
8589
6149aea9
PA
85902010-04-19 Pedro Alves <pedro@codesourcery.com>
8591
8592 PR breakpoints/8554.
8593
8594 * gdb.trace/save-trace.exp: Adjust.
8595
ed41462c
L
85962010-04-17 H.J. Lu <hongjiu.lu@intel.com>
8597
8598 PR corefiles/11511
8599 * gdb.arch/system-gcore.exp: New.
8600 * gdb.arch/gcore.c: Likewise.
8601
3f7b2faa
DE
86022010-04-15 Doug Evans <dje@google.com>
8603
fa33c3cd
DE
8604 * gdb.python/py-progspace.c: New file.
8605 * gdb.python/py-progspace.exp: New file.
8606
3f7b2faa
DE
8607 * gdb.base/source.exp: Add tests for "source -s".
8608
79f283fe
PM
86092010-04-14 Phil Muldoon <pmuldoon@redhat.com>
8610
8611 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
8612 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
8613 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
8614 * gdb.python/py-mi.exp: New test for to_string returning None.
8615
fc8eb08a
PM
86162010-04-12 Phil Muldoon <pmuldoon@redhat.com>
8617
8618 * gdb.python/py-breakpoint.c: Make result global.
8619
26e197f6
JK
86202010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8621
8622 Fix non-GNU make compatibility.
8623 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
8624
adc36818
PM
86252010-04-09 Phil Muldoon <pmuldoon@redhat.com>
8626
8627 * gdb.python/py-breakpoint.exp: New File.
8628 * gdb.python/py-breakpoint.C: Ditto.
8629
64e17368
SS
86302010-04-08 Stan Shebs <stan@codesourcery.com>
8631
8632 * gdb.trace/actions.exp: Clear default-collect.
8633 * gdb.trace/save-trace.exp: Clear default-collect.
8634
fff5cc64
PM
86352010-04-08 Phil Muldoon <pmuldoon@redhat.com>
8636
8637 * gdb.python/py-value: Add null string variable.
8638 (test_lazy_string): Test zero length, NULL address lazy
8639 strings.
8640
a055a187
L
86412010-04-07 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 * gdb.arch/i386-avx.c: New.
8644 * gdb.arch/i386-avx.exp: Likewise.
8645
8646 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
8647
96e39866
DE
86482010-04-06 Doug Evans <dje@google.com>
8649
8650 * gdb.base/source-test.gdb: New file.
8651 * gdb.base/source.exp: Test source -v.
8652
5984a431
UW
86532010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8654
8655 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
8656
ec8a089a
PM
86572010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
8658
8659 * gdb.stabs/aout.sed: Convert all backslash to double backslash
8660 within one line, unless it is followed by a double quote.
8661 * gdb.stabs/hppa.sed: Idem.
8662 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
8663 * gdb.stabs/weird.exp: Check for correct parsing of
8664 char and string constants.
ec8a089a
PM
8665 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
8666 in .stabs to .stabx substitution.
8667
fce3c1f0
SS
86682010-04-05 Stan Shebs <stan@codesourcery.com>
8669
8670 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
8671 constant global.
8672 * gdb.trace/tfile.exp: Try to print them.
8673
d77f58be
SS
86742010-04-04 Stan Shebs <stan@codesourcery.com>
8675
8676 * gdb.base/completion.exp: Update for new "info watchpoints".
8677 * gdb.base/default.exp: Ditto.
8678 * gdb.base/help.exp: Ditto.
8679 * gdb.base/watchpoint.exp: Ditto.
8680 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 8681
af54718e
SS
86822010-04-04 Stan Shebs <stan@codesourcery.com>
8683
8684 * gdb.trace/tfile.exp: Sharpen tfind test.
8685
74d1f91e
JK
86862010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8687
8688 * gdb.base/break-entry.exp: New.
8689
eb8e76db 86902010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 8691 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
8692
8693 * gdb.reverse/i386-sse-reverse.exp: New file.
8694 * gdb.reverse/i386-sse-reverse.c: New file.
8695
bf65cad8
PA
86962010-04-02 Pedro Alves <pedro@codesourcery.com>
8697
8698 * gdb.trace/tfind.exp: Adjust expected disassembly output.
8699
fff87407
SS
87002010-04-01 Stan Shebs <stan@codesourcery.com>
8701
8702 * gdb.trace/actions.exp: Tweak expected output.
8703 * gdb.trace/while-stepping.exp: Tweak expected output.
8704
fe01d668
L
87052010-04-01 H.J. Lu <hongjiu.lu@intel.com>
8706
8707 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
8708
86b17b60
PA
87092010-04-01 Pedro Alves <pedro@codesourcery.com>
8710
8711 * gdb.base/commands.exp: Adjust.
8712 * gdb.cp/extern-c.exp: Adjust.
8713
2c58c0a9
PA
87142010-04-01 Pedro Alves <pedro@codesourcery.com>
8715
8716 * gdb.trace/collection.c (local_test_func): Define a local struct,
8717 and instanciate it.
8718
0db9b91c
PA
87192010-04-01 Pedro Alves <pedro@codesourcery.com>
8720
8721 * gdb.trace/collection.exp (gdb_collect_args_test)
8722 (gdb_collect_argarray_test): XFAIL the tests that assume the
8723 argarray argument's elements are collected.
8724
8072405b
JK
87252010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8726
8727 * gdb.dwarf2/dw2-bad-parameter-type.exp,
8728 gdb.dwarf2/dw2-bad-parameter-type.S: New.
8729
8bf6485c
SS
87302010-03-31 Stan Shebs <stan@codesourcery.com>
8731
8732 * gdb.trace/save-trace.exp: Test save/restore of default-collect
8733 and tracepoint conditionals.
8734 (gdb_verify_tracepoints): Delete unused return.
8735
fd7f724a
KS
87362010-03-26 Keith Seitz <keiths@redhat.com>
8737
8738 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
8739 appear in the output before main.
8740 Remove KFAIL for gdb/2215 aka bz 9320.
8741
8d9e7719
DE
87422010-03-30 Doug Evans <dje@google.com>
8743
0906dd0b
DE
8744 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
8745 by dejagnu.
8746 * gdb.arch/amd64-dword.exp: Ditto.
8747
8d9e7719
DE
8748 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
8749 match.
8750 (break printf): Ditto.
8751
1da644f0
SW
87522010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
8753
8754 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
8755 gcc < 4.4.
8756 * gdb.cp/shadow.exp: Ditto.
8757
a8121990
PA
87582010-03-29 Pedro Alves <pedro@codesourcery.com>
8759
8760 * gdb.trace/collection.exp (run_trace_experiment): Make sure
8761 "tstart" is silent.
8762
6e79d367
PA
87632010-03-29 Pedro Alves <pedro@codesourcery.com>
8764
8765 * gdb.trace/collection.exp (executable): New.
8766 (binfile): Use it.
8767 (fpreg, spreg, pcreg): New.
8768 (test_register): Use gdb_test_multiple. Pass /x to print.
8769 (prepare_for_trace_test): New.
8770 (run_trace_experiment): Use "continue", not gdb_run_cmd.
8771 (gdb_collect_args_test, gdb_collect_argstruct_test)
8772 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
8773 prepare_for_trace_test.
8774 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
8775 fpreg, spreg and pcreg.
8776 (gdb_collect_expression_test, gdb_collect_globals_test): Use
8777 prepare_for_trace_test.
8778 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
8779 try to detect tracing support here. Don't set breakpoints at
8780 `begin' or `end' here.
8781 <global scope>: Use clean_restart. Run to main before checking
8782 for tracing support. Check for for tracing support here.
8783
09248348
JK
87842010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8785
8786 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
8787 " as $displacement" to "seen displacement message".
8788
d350db38
PA
87892010-03-28 Pedro Alves <pedro@codesourcery.com>
8790
8791 * gdb.trace/while-dyn.exp (executable): New variable.
8792 (binfile): Use it.
8793 (test_while_stepping): New function. Move most tests here. Call
8794 it once for each of the while-stepping, stepping and ws aliases.
8795
907af001
UW
87962010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8797
8798 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
8799 that do not provide the tagless_struct type name at all.
8800 (test_print_anon_union): Do not check value of uninitialized
8801 union member. Do not use cp_test_ptype_class, so we can accept
8802 "long" as well as "long int".
8803
610197fd
PA
88042010-03-26 Pedro Alves <pedro@codesourcery.com>
8805
8806 * gdb.trace/tfile.c (tohex, bin2hex): New.
8807 (write_error_trace_file): Hexify error description.
8808
6c28cbf2
SS
88092010-03-25 Stan Shebs <stan@codesourcery.com>
8810
8811 * gdb.trace/tfile.c: Generate an additional trace file, improve
8812 portability.
8813 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
8814 files in a better way.
8815
e62b8c7e
KS
88162010-03-25 Keith Seitz <keiths@redhat.com>
8817
8818 * gdb.java/jprint.exp: XFAIL printing of static class members
8819 because of GCC debuginfo problem.
8820
82ccf5a5
JK
88212010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8822
8823 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
8824
293e2f9e
DJ
88252010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8826
8827 * gdb.base/completion.exp: Allow long instead of long int.
8828 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
8829 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
8830 variable p.
8831 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
8832 * gdb.base/pointers.exp: Allow long instead of long int.
8833 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
8834 * gdb.base/step-line.exp: Allow a directory before the source file name.
8835
95a42b64
TT
88362010-03-24 Tom Tromey <tromey@redhat.com>
8837
8838 PR breakpoints/9352:
8839 * gdb.base/default.exp: Update.
8840 * gdb.base/commands.exp: Update.
8841 * gdb.cp/extern-c.exp: Test setting commands on multiple
8842 breakpoints at once.
8843
2390201f
DJ
88442010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8845
8846 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
8847 if gdb,nosignals.
8848 * gdb.base/watchpoints.c: Do not include unnecessary headers.
8849 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
8850 exited".
8851
8c9a6790
SS
88522010-03-24 Stan Shebs <stan@codesourcery.com>
8853
8854 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
8855
a6c727b2
DJ
88562010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8857
8858 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
8859 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
8860 argument. Handle "short" and "long".
8861 (Top level): Pass overprototyped output for old_fptr and xptr.
8862
4dfd5423
PA
88632010-03-23 Pedro Alves <pedro@codesourcery.com>
8864
8865 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
8866 format strings and add casts to avoid compiler warnings.
8867
88682010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
8869
8870 * lib/trace-support.exp (gdb_trace_setactions):
8871 Don't expect whitespace after ">" prompt.
8872 * gdb.trace/actions.exp: Adjust for output changes.
8873 * gdb.trace/while-stepping.exp: Likewise.
8874
c847d045
JK
88752010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8876
8877 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
8878 and r157645).
8879
5f717f1d
JK
88802010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8881
8882 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
8883 New.
8884
7d6d51d5
DJ
88852010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
8886
8887 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
8888 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
8889
3b11a015
SS
88902010-03-19 Stan Shebs <stan@codesourcery.com>
8891
8892 * gdb.trace/ax.exp: New file.
8893
d7d158ed
DE
88942010-03-19 Doug Evans <dje@google.com>
8895
6bb85cd1
DE
8896 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
8897 output from gcc.
8898
d7d158ed
DE
8899 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
8900 named /usr/sbin/prelink<foo>.
8901
4daf5ac0
SS
89022010-03-18 Stan Shebs <stan@codesourcery.com>
8903
8904 * gdb.trace/circ.exp: Test circular-trace-buffer.
8905 * gdb.trace/tfile.exp: Update tstatus test.
8906
e8d05480
JB
89072010-03-18 Joel Brobecker <brobecker@adacore.com>
8908
8909 * gdb.dwarf2/dw2-anonymous-func.S: New file.
8910 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
8911
441b986a
UW
89122010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8913
8914 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
8915
4247603b
PA
89162010-03-18 Pedro Alves <pedro@codesourcery.com>
8917
8918 * gdb.base/default.exp: Adjust the expected output of the finish
8919 and until commands when the inferior is not being run.
8920
13387711
SW
89212010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
8922
8923 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
8924 * gdb.cp/nsusing.exp: Ditto.
8925
6e31430b
TT
89262010-03-15 Tom Tromey <tromey@redhat.com>
8927
8928 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
8929 * gdb.cp/userdef.cc (operator==): New function.
8930 (main): New locals mem1, mem2.
8931
e2d69cb5
JZ
89322010-03-15 Jie Zhang <jie@codesourcery.com>
8933
8934 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
8935 Declare and use new loadtimeout variable.
8936
f572f0a9
DJ
89372010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
8938
8939 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
8940 Use gdb_load later.
8941
51f4c0b0
PA
89422010-03-14 Pedro Alves <pedro@codesourcery.com>
8943
8944 * gdb.base/solib-disc.c (main): Make format of fprintf a string
8945 literal. Add missing endlines to prints to stderr.
8946
1c809c68
TT
89472010-03-12 Tom Tromey <tromey@redhat.com>
8948
8949 PR c++/9708:
8950 * gdb.cp/m-static.exp: Add regression test.
8951 * gdb.cp/m-static.cc (method): New method.
8952 (main): Call it.
8953
00ae8fef
SW
89542010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
8955
8956 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
8957 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
8958
759f0f0b
PA
89592010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8960
21e24d21
PA
8961 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
8962
89632010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8964
759f0f0b
PA
8965 * lib/gdb.exp (skip_stl_tests): New.
8966 (gdb_compile): Symbian needs -ldl.
8967 (shlib_target_file): New.
8968 (shlib_symbol_file): New.
8969 (gdb_load_shlibs): Use shlib_target_file.
8970 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
8971 * gdb.cp/exception.exp: Use skip_stl_tests.
8972 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
8973 * gdb.cp/try_catch.exp: Use skip_stl_tests.
8974 * gdb.cp/mb-templates.exp: Ditto.
8975 * gdb.base/commands.exp: Relax regexes.
8976 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
8977 shlib_target_file and shlib_symbol_file.
8978 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
8979 sections.
8980 * gdb.base/ending-run.exp: Accept E32Main for symbian.
8981 * gdb.base/solib-disc.exp: Use
8982 shlib_target_file and shlib_symbol_file.
8983 * gdb.base/unload.exp: Don't skip on symbian. Use
8984 shlib_target_file and shlib_symbol_file.
8985 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
8986
6a8f2671 89872010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 8988
6a8f2671
PA
8989 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
8990 * gdb.trace/report.exp: Adjust for x86 and x86_64.
8991 Issue a tfind end before looking for a tracepoint frame.
8992 * gdb.trace/tfind.exp: Adjust tstatus output.
8993 Adjust disassembly output.
8994 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
8995
ccf26247
JK
89962010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8997
8998 * gdb.base/break-interp.exp: Create new displacement parameter value
8999 for the test_ld calls.
9000 (reach): New parameter displacement, verify its content. New push of
9001 pf_prefix "reach-$func:". Import global expect_out.
9002 (test_core): New parameter displacement, verify its content. New push
9003 of pf_prefix "core:". New command "set verbose on". Import global
9004 expect_out.
9005 (test_attach): New parameter displacement, verify its content. New
9006 push of pf_prefix "attach:". New command "set verbose on". Import
9007 global expect_out.
9008 (test_ld): New parameter displacement, pass it to the reach, test_core
9009 and test_attach calls and verify its content in the "ld.so exit" test.
9010 * gdb.base/prelink.exp: Remove gdb_exit and final return.
9011 (prelink): Update expected text, use gdb_test.
9012
e469c7fb
DE
90132010-03-10 Doug Evans <dje@google.com>
9014
9015 * gdb.base/checkpoint.exp: Fix comment.
9016 Lengthen timeout while doing >600 checkpoints test.
9017 Rename duplicate "kill all one" test to keep test names unique.
9018
60e1c644
PA
90192010-03-10 Pedro Alves <pedro@codesourcery.com>
9020
9021 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
9022
cec808ec
KS
90232010-03-08 Keith Seitz <keiths@redhat.com>
9024
889bf7c5
PA
9025 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
9026 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
9027 (dm_type_long): New function.
9028 (dm_type_unsigned_short): New function.
9029 (dm_type_unsigned_long): New function.
9030 (myint): New typedef.
9031 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
9032 long, unsigned shor and long, operator char*, and typedef.
9033 (test_lookup_operator_functions): Add operator char* test.
9034 (test_paddr_operator_functions): Likewise.
9035 (test_paddr_overloaded_functions): Use probe values for
9036 short, long, and unsigned short and long.
9037 (test_paddr_hairy_functions): If the demangler probe detected
9038 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
9039 demangler.
9040 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
9041 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
9042 and "print null_pmf".
9043 Add test "ptype a.*pmf".
9044 * gdb.cp/overload.exp: Allow optional "int" to appear with
9045 "short" and "long".
9046 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
9047 long expect value for men_overload1arg.
9048 Allow "int" to appear with "short" and "long".
9049 When testing "info break", add argument for main (void).
9050 Also allow "int" to appear with "short" and "long".
9051 Ditto with "unsigned" and "long long".
cec808ec
KS
9052 * gdb.java/jmain.exp: Do not enclose methods names in single
9053 quotes.
9054 * gdb.java/jmisc.exp: Likewise.
9055 * gdb.java/jprint.exp: Likewise.
9056 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
9057
9058 From Jan Kratochvil <jan.kratochvil@redhat.com>:
9059 * gdb.cp/exception.exp (backtrace after first throw)
9060 (backtrace after second throw): Allow a namespace before __cxa_throw.
9061 (backtrace after first catch, backtrace after second catch): Allow
9062 a namespace before __cxa_begin_catch.
9063
9064 * gdb.cp/cpexprs.exp: New file.
9065 * gdb.cp/cpexprs.cc: New file.
9066
9067 From Daniel Jacobowitz <dan@codesourcery.com>
9068 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
9069 to use string_to_regexp.
9070 (ctor, dtor): New functions. Use them to match constructor
9071 and destructor function types.
9072 (Top level): Use runto_main.
9073
f870a310
TT
90742010-03-05 Tom Tromey <tromey@redhat.com>
9075
9076 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
9077 gdb.target_charset.
9078 (pp_ns.to_string): Likewise.
9079
0c199f28
KS
90802010-03-04 Keith Seitz <keiths@redhat.com>
9081
9082 * gdb.cp/overload.exp: Test that the filename portion of a linespec
9083 can be quoted. Test that both the filename and function/line
9084 portions can be quoted at the same time.
9085
c7437ca6
PA
90862010-03-04 Pedro Alves <pedro@codesourcery.com>
9087
9088 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
9089
b111b805
DE
90902010-03-03 Doug Evans <dje@google.com>
9091
24486cb7
DE
9092 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
9093 libc contains libpthread.
9094
b111b805
DE
9095 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
9096 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
9097 of gdb_compile. Add another pattern to match android backtrace.
9098
a0e0ef55
TT
90992010-03-03 Tom Tromey <tromey@redhat.com>
9100
9101 PR gdb/11345:
9102 * gdb.base/printcmds.exp (test_printf): Add test.
9103
1ba53b71
L
91042010-03-02 H.J. Lu <hongjiu.lu@intel.com>
9105
9106 * gdb.arch/amd64-byte.exp: New.
9107 * gdb.arch/amd64-dword.exp: Likewise.
9108 * gdb.arch/amd64-pseudo.c: Likewise.
9109 * gdb.arch/amd64-word.exp: Likewise.
9110 * gdb.arch/i386-byte.exp: Likewise.
9111 * gdb.arch/i386-pseudo.c: Likewise.
9112 * gdb.arch/i386-word.exp: Likewise.
9113
f5dff777
DJ
91142010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9115
9116 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
9117 types. Add structreg, bitfields, and flags registers.
9118 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
9119 registers.
9120
90884b2b
L
91212010-03-01 H.J. Lu <hongjiu.lu@intel.com>
9122
9123 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
9124 (load_description): Set architecture if defined.
9125
dc00d89f
PM
91262010-02-28 Phil Muldoon <pmuldoon@redhat.com>
9127
9128 * gdb.python/py-frame.exp: Add read_var block tests.
9129 * gdb.python/py-frame.c (block): New function.
9130
0e095b7e
JK
91312010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9132 Daniel Jacobowitz <dan@codesourcery.com>
9133
9134 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
9135
624f1a65
DM
91362010-02-25 David S. Miller <davem@davemloft.net>
9137
9138 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
9139 fix logic for setting all_syscalls_numbers.
9140
f3e9a817
PM
91412010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9142
9143 * Makefile.in: Add py-block and py-symbol.
9144 * gdb.python/py-symbol.exp: New File.
9145 * gdb.python/py-symtab.exp: New File.
9146 * gdb.python/py-block.exp: New File.
9147 * gdb.python/py-symbol.c: New File.
9148 * gdb.python/py-block.c: New File.
9149
f6bbabf0
PM
91502010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9151
9152 PR python/11314
9153 * lib/gdb.exp (skip_python_tests): New function.
9154 * gdb.python/py-cmd.exp: Use skip_python_tests.
9155 * gdb.python/py-frame.exp: Likewise.
9156 * gdb.python/py-function.exp: Likewise.
9157 * gdb.python/py-prettyprint.exp: Likewise.
9158 * gdb.python/py-template.exp: Likewise.
9159 * gdb.python/py-type.exp: Likewise.
9160 * gdb.python/py-value.exp: Likewise.
9161
85d721b8
PA
91622010-02-22 Pedro Alves <pedro@codesourcery.com>
9163
9164 PR9605
9165
9166 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
9167
48e32051
TT
91682010-02-19 Tom Tromey <tromey@redhat.com>
9169
9170 PR c++/8693, PR c++/9496:
9171 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
9172 regression tests.
9173
ac9c0048
JK
91742010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9175
9176 Fix compatibility with m68k as.
9177 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
9178 Use only /* comments */.
9179
57bb97a4
UW
91802010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9181
9182 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
9183 * configure: Regenerate.
9184
7d1bf85c
DJ
91852010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
9186
9187 * gdb.python/py-type.exp: Check for Python support.
9188
061b5285
PA
91892010-02-17 Pedro Alves <pedro@codesourcery.com>
9190
9191 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
9192 `regsub' syntax available.
9193
f8a8bc2c
PA
91942010-02-17 Pedro Alves <pedro@codesourcery.com>
9195
9196 * gdb.base/shmain.c (main): Remove printf call.
9197 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
9198 * gdb.base/unload.c (main): Make format of fprintf a string
9199 literal. Add missing endlines to prints to stderr.
9200 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
9201
6f451e5e
TT
92022010-02-17 Tom Tromey <tromey@redhat.com>
9203
9204 * gdb.java/jprint.java (jprint.props): New field.
9205 * gdb.java/jprint.exp (set_lang_java): Add regression test.
9206
12d79008
PA
92072010-02-17 Pedro Alves <pedro@codesourcery.com>
9208
ef801a0e 9209 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
9210 available.
9211
d252f7e5
DJ
92122010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9213
9214 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
9215 creation to support remote host testing.
9216
67bdab6c
DJ
92172010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9218
9219 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
9220 Recognize "command not found".
9221
bb391223
DJ
92222010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9223
9224 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
9225 single-stepping.
9226
70362913
DJ
92272010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9228
9229 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
9230 if arguments are not supported.
9231
493f3c00
DJ
92322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9233
9234 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
9235 be const or non-const.
9236
8034c749
DJ
92372010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9238
9239 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
9240 mi_send_resuming_command to send -exec-continue.
9241
791dfb64
DJ
92422010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9243
9244 * gdb.base/list.exp (test_list_filename_and_function): Add test
9245 with single quotes.
9246 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
9247 matching.
9248 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
9249 Add KFAIL'd tests for PR gdb/11289.
9250
7c5fe868
DJ
92512010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9252
9253 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
9254
fdc498b8
DJ
92552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9256
9257 * gdb.base/comp-dir/subdir/dummy.txt: New file.
9258 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
9259 a temporary directory.
9260
b519e2a6
DJ
92612010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9262
9263 * gdb.base/charset.exp: Use a single regular expression to match
9264 show host-charset and show target-charset output.
9265
74164c56
JK
92662010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9267
9268 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
9269 "Illegal process-id" expect string more exact.
9270 (attach to digits-starting nonsense is prohibited): New.
9271
701ed6dc
JK
92722010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9273
9274 * gdb.base/prelink.exp (set verbose on): New.
9275
889bf7c5 92762010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
9277
9278 * mi-reverse.exp: New file. Test for reverse option to the
9279 following MI commands: exec-continue, exec-finish, exec-next,
9280 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 9281
dadf0e9c
JB
92822010-02-09 Joel Brobecker <brobecker@adacore.com>
9283
9284 * gdb.ada/ptype_tagged_param: New testcase.
9285
714f19d5
TT
92862010-02-08 Tom Tromey <tromey@redhat.com>
9287
9288 PR c++/8017:
9289 * gdb.cp/overload.exp: Add tests.
9290 * gdb.cp/overload.cc (struct K): New.
9291 (namespace N): New.
9292 (main): Call new functions.
9293 (K::staticoverload): Define.
9294
889bf7c5 92952010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
9296
9297 PR gdb/10728
9298 * gdb.cp/pr10728-x.h: New file.
9299 * gdb.cp/pr10728-x.cc: New file.
9300 * gdb.cp/pr10728-y.cc: New file.
9301 * gdb.cp/pr10728.exp: New file.
9302 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
9303
889bf7c5 93042010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
9305
9306 PR gdb/9067
9307 * gdb.cp/pr9067.exp: New
9308 * gdb.cp/pr9067.cc: New
9309 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
9310
7b356089
JB
93112010-02-08 Joel Brobecker <brobecker@adacore.com>
9312
9313 * lib/gdb.exp (gdb_test_timeout): New global variable.
9314 Set it to timeout if not already set.
9315 (gdb_init): Reset the value of timeout to gdb_test_timeout.
9316
1be00882
DE
93172010-02-05 Doug Evans <dje@google.com>
9318
9319 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
9320 user.
9321
82856980
SW
93222010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
9323
9324 PR c++/7935:
9325 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
9326
1a334831
TT
93272010-02-04 Tom Tromey <tromey@redhat.com>
9328
9329 * gdb.cp/virtbase.exp: Make test case names unique.
9330
9c3c02fd
TT
93312010-02-02 Tom Tromey <tromey@redhat.com>
9332
9333 * gdb.cp/virtbase.exp: Add regression tests.
9334 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
9335 (main): Instantiate RHC.
9336
0cc2414c
TT
93372010-02-02 Tom Tromey <tromey@redhat.com>
9338
9339 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
9340 type-printing change.
9341
edf3d5f3
TT
93422010-02-02 Tom Tromey <tromey@redhat.com>
9343
9344 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
9345 * gdb.cp/virtbase.cc: New file.
9346 * gdb.cp/virtbase.exp: New file.
9347 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
9348
e4b7f41c
JK
93492010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9350
9351 PR libc/11214:
9352 * gdb.threads/current-lwp-dead.c: Include features.h.
9353 (HAS_NOMMU): New.
9354 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
9355
b381ea14
JK
93562010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9357
9358 * gdb.base/symbol-without-target_section.exp,
9359 gdb.base/symbol-without-target_section.c: New.
9360
c593ac0e
DJ
93612010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9362
9363 * gdb.base/bigcore.exp: Reset increased timeout.
9364 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
9365
db25f29d
DJ
93662010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9367
9368 * gdb.base/gcore.exp (capture_command_output): Use
9369 gdb_test_multiple.
9370
f9d67f43
DJ
93712010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9372
9373 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
9374 * gdb.arch/thumb2-it.exp (test_it_break): New function.
9375 (Top level): Call it.
9376
177321bd
DJ
93772010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9378
9379 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
9380
97f2ed50
DJ
93812010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9382
9383 * gdb.base/call-strs.exp, gdb.base/default.exp,
9384 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
9385 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
9386 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
9387 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
9388 gdb.base/watchpoint-solib.exp: Save and restore timeout.
9389 * gdb.base/ending-run.exp: Correct restore of timeout.
9390 * gdb.base/page.exp: Remove unnecessary timeout setting.
9391
e4e2711a
JB
93922010-01-29 Joel Brobecker <brobecker@adacore.com>
9393
9394 * gdb.ada/rec_return: New testcase.
9395
ba581dc1
JB
93962010-01-29 Joel Brobecker <brobecker@adacore.com>
9397
9398 * gdb.ada/call_pn: New testcase.
9399
4ea95be9
DJ
94002010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9401
9402 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
9403 (Top level): Use it to resume.
9404 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
9405 the Thumb mode displaced stepping error as unsupported.
9406
df83a9bf
SW
94072010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
9408
889bf7c5
PA
9409 * gdb.cp/nsusing.exp: Added more tests.
9410 * gdb.cp/nsrecurs.exp: Ditto.
9411 * gdb.cp/nsusing.cc: Added test functions.
9412 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 9413
40b27cdc
JK
94142010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9415
9416 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
9417 absolute directory pathnames in gdb.sum file.
9418
de958931
SW
94192010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
9420
9421 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
9422 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
9423
708ead4e
TT
94242010-01-26 Tom Tromey <tromey@redhat.com>
9425
9426 PR exp/7643:
9427 * gdb.base/printcmds.exp (test_print_string_constants): Remove
9428 setup_kfail.
9429
b14e635e
SW
94302010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
9431
9432 * gdb.cp/nsrecurs.exp: New test.
9433 * gdb.cp/nsrecurs.cc: New test program.
9434 * gdb.cp/nsstress.exp: New test.
9435 * gdb.cp/nsstress.cc: New test program.
9436 * gdb.cp/nsdecl.exp: New test.
9437 * gdb.cp/nsdecl.cc: New test program.
9438
8540c487
SW
94392010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
9440
9441 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
9442 imported into file scope.
9443 Marked test as xfail.
9444 * gdb.cp/namespace-using.cc (marker5): New function.
9445 * gdb.cp/shadow.exp: New test.
9446 * gdb.cp/shadow.cc: New test program.
9447 * gdb.cp/nsimport.exp: New test.
9448 * gdb.cp/nsimport.cc: New test program.
9449
421d5d99
TT
94502010-01-25 Tom Tromey <tromey@redhat.com>
9451
9452 PR gdb/11049:
9453 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
9454 with "set print null-stop on".
9455
691f8dc1
JK
94562010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9457
9458 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
9459 Adjust it for DISASSEMBLY_OMIT_FNAME.
9460
0b92b5bb
TT
94612010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9462
9463 PR symtab/11199:
9464 * gdb.dwarf2/member-ptr-forwardref.exp,
9465 gdb.dwarf2/member-ptr-forwardref.S: New.
9466
23787403
JK
94672010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9468
9469 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
9470 (thread1_func): Protect thread1_tid with thread1_tid_cond by
9471 thread1_tid_mutex. Remove gdbstop_mutex handling.
9472 (thread2_func): Protect thread2_tid with thread2_tid_cond by
9473 thread2_tid_mutex. Remove gdbstop_mutex handling.
9474 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
9475 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
9476 pthread_cond_wait conditionalizations by while loops.
9477
b966cb8a
TT
94782010-01-20 Tom Tromey <tromey@redhat.com>
9479
9480 PR backtrace/10770:
9481 * gdb.dwarf2/pr10770.exp: New file.
9482 * gdb.dwarf2/pr10770.c: New file.
9483 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
9484
fcae584b
VP
94852010-01-20 Vladimir Prus <vladimir@codesourcery.com>
9486
9487 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
9488 that target was removed, and the test always runs native anyway.
9489
a0f49112
JK
94902010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9491
9492 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
9493 gdb.base/watchpoint-cond-gone-stripped.c: New.
9494
ceeb3d5a
TT
94952010-01-19 Tom Tromey <tromey@redhat.com>
9496
9497 PR c++/8000:
9498 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
9499 existing tests.
9500 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
9501 (main): Use AAA::SomeEnum.
9502
dd322c54
JK
95032010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9504
9505 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
9506 (test_ignore_count): Declare line_callme_body global.
9507 (run to breakpoint with ignore count): Use line_callme_body.
9508 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
9509 (set line_main_hello, set line_main_return): Reindent.
9510 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
9511 New.
9512 (continue to callee4): Use line_callee4_body.
9513 (check *stopped from CLI command): Use line_callee4_next.
9514 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
9515 (set line_main_hello, set line_main_return): Reindent.
9516 (set line_callee4_head, set line_callee4_body): New.
9517 (continue to callee4): Use line_callee4_body.
9518
4e8f195d
TT
95192010-01-18 Tom Tromey <tromey@redhat.com>
9520
9521 PR c++/9680:
9522 * gdb.cp/casts.cc: Add new classes and variables.
9523 * gdb.cp/casts.exp: Test new operators.
9524
9e14a9ba
JB
95252010-01-18 Tom Tromey <tromey@redhat.com>
9526 Thiago Jung Bauermann <bauerman@br.ibm.com>
9527
9528 * gdb.python/source2.py: New file.
9529 * gdb.python/source1: New file.
9530 * gdb.python/python.exp: Test "source" command.
9531
00bf0b85
SS
95322010-01-15 Stan Shebs <stan@codesourcery.com>
9533
9534 * gdb.trace/tfile.c: New file.
9535 * gdb.trace/tfile.exp: New file.
889bf7c5 9536
55235ad7
JK
95372010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9538
9539 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
9540
9f2982ff
JK
95412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9542
9543 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
9544
bbfba9ed
JK
95452010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9546
9547 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
9548 (libfunc): New parameter action. Implement also selectable "sleep".
9549 * gdb.base/break-interp-main.c: Include assert.h.
9550 (libfunc): New parameter action.
9551 (main): New parameters argc and argv. Assert argc. Pass argv.
9552 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
9553 (test_attach): New proc.
9554 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
9555 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
9556
61f0d762
JK
95572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9558
9559 * gdb.base/break-interp.exp (test_core): New proc.
9560 (test_ld): Call it.
9561
06a6f270
JK
95622010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9563
9564 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
9565 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
9566 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
9567 and gdb_compile_shlib. Use new -Wl compiler options.
9568 (dl bt, main bt): New tests.
9569
51bee8e9
JK
95702010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9571
9572 Support PIEs with no symfile_objfile.
9573 * gdb.base/break-interp.exp: New argument at the test_ld calls.
9574 (test_ld): New parameter trynosym.
9575 (test_ld <$trynosym>): New block.
9576
b8040f19
JK
95772010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9578
9579 * gdb.base/break-interp.exp: New file.
9580
be759fcf
PM
95812010-01-13 Phil Muldoon <pmuldoon@redhat.com>
9582
9583 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
9584 * gdb.python/py-prettyprint.py (pp_ls): New printer.
9585 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
9586 test.
9587 * gdb.python/py-prettyprint.c: Define lazystring test structure.
9588 * gdb.python/py-mi.exp: Add lazy string test.
9589
dc146f7c
VP
95902010-01-13 Vladimir Prus <vladimir@codesourcery.com>
9591
9592 * lib/mi-support.exp (mi_check_thread_states): Handle
9593 core number in thread listing.
9594
b4ba55a1
JB
95952010-01-12 Joel Brobecker <brobecker@adacore.com>
9596
9597 * gdb.base/maint.exp: Adjust the expected output for the
9598 "maint print type" test. Use gdb_test_multiple instead of
9599 gdb_sent/gdb_expect.
9600
08e24bd4
DE
96012010-01-11 Doug Evans <dje@google.com>
9602
6496a609
DE
9603 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
9604 from gdbserver_download. All callers updated.
9605
08e24bd4
DE
9606 * gdb.server/ext-run.exp: "info os processes" requires xml support.
9607
b5cfddf5
JK
96082010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9609
9610 Implement binary numbers parsing.
9611 * gdb.base/printcmds.exp (test_integer_literals_accepted)
9612 (test_integer_literals_rejected): New binary tests.
9613
3725885a
RW
96142010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9615
9616 * gdb.cell/configure: Regenerate.
9617
37aeb5df
JK
96182010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9619
9620 * gdb.base/corefile.exp: Move the core finding block out and call it as
9621 core_find, new variable $corefile, replace corefile by $corefile and
9622 [file tail $corefile] for usage vs. test names resp.
9623 * lib/gdb.exp (core_find): Move it as a new function here. New
9624 parameter binfile and deletefiles. New variable $destcore. Pre-delete
9625 $destcore. Return "" on error.
9626
d521f563
JK
96272010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9628
9629 Workaround PR binutils/10802.
9630 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
9631 (twice).
9632
28f24826
DJ
96332010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9634
9635 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
9636
2de75e71
JB
96372010-01-08 Joel Brobecker <brobecker@adacore.com>
9638
9639 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
9640 call, to avoid interruption.
9641
fe00719b 96422010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
9643
9644 * gdb.stabs/weird.def (args93): New.
9645
d0ef5df8
DE
96462010-01-07 Doug Evans <dje@google.com>
9647
9648 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
9649
3a08d52f
TT
96502010-01-07 Tom Tromey <tromey@redhat.com>
9651
9652 * gdb.base/source.exp: Use correct line number.
9653
7a697b8d
SS
96542010-01-05 Stan Shebs <stan@codesourcery.com>
9655
9656 * gdb.trace/tracecmd.exp: Test ftrace.
9657
7803799a
UW
96582010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9659
9660 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
9661
c54eabfa
JK
96622010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9663
9664 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
9665 "uint_for_mi_testing".
9666
02e7ef19
JB
96672010-01-01 Joel Brobecker <brobecker@adacore.com>
9668
9669 Test indented comment in file being sourced.
9670 * gdb.base/commands.exp: Test indented comment in file being sourced.
9671
abd775ce
JB
96722010-01-01 Joel Brobecker <brobecker@adacore.com>
9673
9674 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
9675 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
9676 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
9677 notice.
9678
79b55b82
JB
96792010-01-01 Joel Brobecker <brobecker@adacore.com>
9680
9681 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
9682 notice.
9683
8997583e
JK
96842010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9685
9686 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
9687 missing $after_stopped and comma (,) expectation.
9688
6da95a67
SS
96892009-12-31 Stan Shebs <stan@codesourcery.com>
9690
9691 * gdb.trace/actions.exp: Test teval action.
889bf7c5 9692
218d2fc6
TJB
96932009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9694
9695 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
9696 (top level): Call test_watchpoint_in_big_blob.
9697 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
9698 watchpoints.
9699 (func3): Write to buf.
9700
236f1d4d
SS
97012009-12-29 Stan Shebs <stan@codesourcery.com>
9702
9703 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 9704
f61e138d
SS
97052009-12-28 Stan Shebs <stan@codesourcery.com>
9706
9707 * gdb.trace/tsv.exp: New file.
9708 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 9709
0219b378
DJ
97102009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
9711
9712 * gdb.base/find.c (main): Reference search buffers.
9713 * gdb.base/included.c (main): Reference integer.
9714 * gdb.base/ptype.c (charfoo): Declare.
9715 (intfoo): Call charfoo.
9716 * gdb.base/scope0.c (useitp): New function.
9717 (usestatics): Use useitp.
9718 (useit): Add a type for val.
9719 * gdb.base/scope1.c (useit1): Take a pointer argument.
9720 (usestatics1): Update calls to useit1.
9721 * gdb.cp/call-c.cc: Declare foo.
9722 (main): Call foo.
9723 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
9724 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
9725 (main): Call C::ensureRefs and ensureOtherRefs.
9726 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
9727 variables.
9728 (ensureOtherRefs): New function.
9729 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
9730 * gdb.cp/templates.cc (main): Call t5i.value.
9731
3f78692f
JK
97322009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9733
9734 Fix compatibility with G++-4.5.
9735 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
9736 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
9737 (uncaught return): Remove.
9738
429374b8
JK
97392009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9740 Phil Muldoon <pmuldoon@redhat.com>
9741
9742 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
9743 (bp_location13, bp_location14, bp_location17, bp_location18)
9744 (marker3_proto, marker4_proto): New variables.
9745 (breakpoint info): Update output.
9746 (run until breakpoint at marker3, run until breakpoint at marker4): New
9747 tests.
9748
859825b8
JK
97492009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9750
9751 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
9752 Replace the printf call of Y by provided "y-set-1" label. New block
9753 for the second shared library.
9754 * gdb.base/unload.exp: Compile also the second library, call
9755 gdb_load_shlibs also for it. Use now gdb_breakpoint.
9756 (single pending breakpoint info): Rename to ...
9757 (pending breakpoint info before run): ... this extended test.
9758 (libfile2, libname2, libsrcfile2, libsrc2)
9759 (lib_sl2): New variables.
9760 (exec_opts): Set also SHLIB_NAME2.
9761 (pending breakpoint info on first run at shrfunc1)
9762 (pending breakpoint info on second run at shrfunc1)
9763 (pending breakpoint info on second run at shrfunc2)
9764 (print y from libfile, print y from libfile2): New tests.
9765 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
9766 * gdb.base/unloadshr2.c: New.
9767
e6a386cd
HZ
97682009-12-22 Hui Zhu <teawater@gmail.com>
9769
9770 * gdb.reverse/sigall-reverse.exp: Adjust.
9771
9e19b45e
VP
97722009-12-21 Vladimir Prus <vladimir@codesourcery.com>
9773
9774 PR gdb/10884
9775
9776 * gdb.mi/var-cmd.c (do_bitfield_tests): New
9777 (main): Call do_bitfield_tests.
aacf5b1e 9778 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 9779
d53a7b30
JB
97802009-12-20 Joel Brobecker <brobecker@adacore.com>
9781
9782 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
9783 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
9784 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
9785 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
9786 gdb.modula2/unbounded1.c: Update copyright header.
9787
191ca0a1
CM
97882009-12-10 Chris Moller <moller@mollerware.com>
9789
9790 PR gdb/9399
9791 * gdb.cp/virtfunc2.exp: New tests
9792 * gdb.cp/virtfunc2.cc: New tests
9793 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
9794
0fa6cf1b
MS
97952009-12-10 Oza Pawandeep (paawan1982@yahoo.com
9796
9797 * gdb.reverse/i387-env-reverse.c: New file.
9798 * gdb.reverse/i387-env-reverse.exp: New file.
9799 * gdb.reverse/i387-stack-reverse.c: New file.
9800 * gdb.reverse/i387-stack-reverse.exp: New file.
9801
361ae042
PM
98022009-12-08 Phil Muldoon <pmuldoon@redhat.com>
9803
9804 * gdb.python/py-type.exp (test_range): New test.
9805
bfd31e71
PM
98062009-12-03 Phil Muldoon <pmuldoon@redhat.com>
9807
9808 PR python/10805
9809
9810 * gdb.python/py-type.exp: New file.
9811 * gdb.python/py-type.c: New file.
9812 * Makefile.in: Add py-type.
9813
57a1d736
TT
98142009-12-03 Tom Tromey <tromey@redhat.com>
9815
9816 * gdb.python/py-value.exp (test_parse_and_eval): New
9817 function.
9818
1f3b5d1b
PP
98192009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9820
9821 PR gdb/11022
9822
9823 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
9824 * gdb.base/pr11022.c: New test.
9825
8b7dbdc9
JK
98262009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9827
9828 Fix spurious false FAILs.
9829 * gdb.base/structs.c (chartest): New.
9830 (main): Fill-in chartest.
9831 * gdb.base/structs.exp (anychar_re, first): New.
9832 (start_structs_test): Import global anychar_re and first.
9833 New gdb_test call "set print elements 300; ${testfile}"
9834 (start_structs_test <$first>): New block.
9835 (any): Import global anychar_re. New variable ac. Use ${ac}.
9836
6a53b2ec
JK
98372009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9838
9839 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
9840
d7167b4c
JK
98412009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9842
9843 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
9844 Force $srcfile file.
9845 * gdb.base/foll-fork.c (callee): Comment out the printf call.
9846
b1798462
UW
98472009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9848
9849 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
9850 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9851 * gdb.threads/watchthreads-reorder.exp: Likewise.
9852
b6199126
DJ
98532009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
9854
9855 PR gdb/8704
9856
9857 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
9858 "if", and "thread". Correct matching in the previous test.
9859
b22a0510
DJ
98602009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
9861
9862 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
9863
930636d2
MS
98642009-11-23 Michael Snyder <msnyder@vmware.com>
9865
9866 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
9867 * gdb.reverse-watch-precsave.exp: Ditto.
9868
21a0512e
PP
98692009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
9870
9871 * gdb.asm/asm-source.exp: Adjust.
9872 * gdb.base/help.exp: Adjust.
889bf7c5 9873
fc30d5e0
PA
98742009-11-22 Pedro Alves <pedro@codesourcery.com>
9875
9876 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
9877 (do_syscall_tests_without_xml): Set data-directory to
9878 /the/path/to/nowhere.
9879
f6bc2008
PA
98802009-11-21 Pedro Alves <pedro@codesourcery.com>
9881
9882 * gdb.threads/local-watch-wrong-thread.c,
9883 gdb.threads/local-watch-wrong-thread.exp: New files.
9884
8c2fb5de
PA
98852009-11-21 Pedro Alves <pedro@codesourcery.com>
9886
9887 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
9888 assume new `regsub' syntax available.
9889
ebec9a0f
PA
98902009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9891
a79d3c27
JK
9892 * gdb.base/watchpoint-hw-hit-once.exp,
9893 gdb.base/watchpoint-hw-hit-once.c: New.
9894
98952009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9896
9897 * gdb.threads/watchthreads-reorder.exp,
9898 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 9899
276a961b
MK
99002009-11-17 Nathan Sidwell <nathan@codesourcery.com>
9901
9902 * gdb.xml/tdesc-regs.exp: Use for m68k.
9903
4867c1fb
PA
99042009-11-15 Pedro Alves <pedro@codesourcery.com>
9905
9906 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
9907
f6838f81
DJ
99082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9909
9910 * lib/gdb.exp (current_target_name): New procedure.
9911 (gdb_wrapper_target): New variable.
9912 (gdb_wrapper_init): Set gdb_wrapper_target.
9913 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
9914 wrapper.
9915
4ac4dd3f
DJ
99162009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9917
9918 * gdb.base/remote.exp: Delete the slowest load test.
9919 Do not load with fixed packet sizes.
9920
a7881759
DJ
99212009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9922
9923 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
9924
97a5b505
DJ
99252009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9926
9927 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
9928 srcfile when setting a breakpoint.
9929
d3e1fc54
DJ
99302009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
9931
9932 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
9933 macros.
9934
7cbcbded
DJ
99352009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9936
9937 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
9938 to be in memory.
9939 * gdb.base/display.c (force_mem): New.
9940 (do_loops): Use it. Add breakpoint comments.
9941 (do_vars): Add a breakpoint comment.
9942 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
9943 line numbers.
9944
bdea3a92
NF
99452009-11-13 Nathan Froyd <froydnj@codesourcery.com>
9946
9947 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
9948 instead of a bare "run".
9949
269f82e5
PP
99502009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9951
9952 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 9953
a69b7d9d
DJ
99542009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9955
9956 * lib/cell.exp (skip_cell_tests): Clean up test files before
9957 returning.
9958
b598bfda
DJ
99592009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9960
9961 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
9962 and the breakpoint menu. Do not call perror if a prompt is seen.
9963 Consume the following GDB prompt.
9964 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
9965 * gdb.cp/namespace.exp: Use gdb_test.
9966 * gdb.cp/templates.exp: Use gdb_test.
9967 (test_template_breakpoints): Use gdb_test_multiple.
9968
87728fa0
DJ
99692009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9970
9971 * gdb.base/break1.c (struct some_struct, values): Move earlier.
9972 (marker4): Reference values.
9973
b67c692f
DJ
99742009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9975
9976 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
9977 is missing.
9978
f0df251a
DJ
99792009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9980
9981 * gdb.base/break.c (need_malloc): New.
9982 * gdb.base/constvars.c (main): Reference crass and crisp.
9983 * gdb.base/gdb1821.c (main): Reference bar.
9984 * gdb.cp/gdb1355.cc (main): Reference s1.
9985 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
9986 (main): Call them.
9987 * gdb.cp/hang2.cc (dummy2): Define.
9988 * gdb.cp/hang3.cc (dummy3): Define.
9989 * gdb.cp/m-data.cc (main): Reference shadow.
9990
bdf7534a
NF
99912009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9992 Nathan Froyd <froydnj@codesourcery.com>
9993
9994 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
9995 remote host.
9996
f24fce77
NF
99972009-11-12 Nathan Froyd <froydnj@codesourcery.com>
9998
9999 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
10000 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
10001 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10002 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10003 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10004 * gdb.dwarf2/dw2-producer.exp: Likewise.
10005 * gdb.dwarf2/mac-fileno.exp: Likewise.
10006 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
10007 py-prettyprint.py to the remote host.
10008 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
10009
40f0318e
KS
100102009-11-11 Keith Seitz <keiths@redhat.com>
10011
10012 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
10013 use it instead of "Foo".
10014 * gdb.cp/classes.exp (do_tests): Add a test to access
10015 a method through a typedef'd class name.
10016
f3d9f7fb
NF
100172009-11-11 Nathan Froyd <froydnj@codesourcery.com>
10018
10019 * gdb.base/long_long.exp: Permit leading zeros on floating-point
10020 exponents.
10021 * gdb.base/pointers.exp: Likewise.
10022 * gdb.cp/ref-types.exp: Likewise.
10023
a4216f37
KS
100242009-11-11 Keith Seitz <keiths@redhat.com>
10025
10026 * gdb.cp/cplusfuncs.cc (class foo): Add operators
10027 new[] and delete[].
10028 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
10029 "void".
10030 (probe_demangler): Remove all single-quoting of
10031 method and variable names.
10032 (info_func_regexp): Remove the word "void" from any
10033 occurrence of "(void)".
10034 (print_addr_2): Remove all single-quoting of
10035 method names.
10036 (print_addr_2_kfail): Likewise.
10037 (print_addr): Single-quote C function names before
10038 passing to print_addr_2.
10039 (test_paddr_operator_functions): Remove single-quoting
10040 for method names.
10041 Add tests for operator new[] and operator delete[].
10042
9b14d7aa
JK
100432009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10044
10045 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
10046
85feb311
KS
100472009-11-09 Keith Seitz <keiths@redhat.com>
10048
10049 * gdb.cp/overload.exp: Add tests for resolving overloaded
10050 methods in expression parsing/evaluation.
10051
fa335448
DJ
100522009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
10053
10054 * lib/gdb.exp (default_gdb_version): Use --version instead of
10055 --command.
10056
ec3c07fc
NS
100572009-11-10 Nathan Sidwell <nathan@codesourcery.com>
10058
10059 * lib/gdb.exp (gdb_compile_test): New.
10060 (skip_ada_tests, skip_java_tests): New.
10061 (gdb_compile): Use gdb_compile_test for f77.
10062 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
10063 * lib/java.exp (compile_java_from_source): Remove runtests check,
10064 use gdb_compile_test to record result.
10065 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
10066 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
10067 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
10068 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
10069 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
10070 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
10071 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
10072 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
10073 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
10074 adjust gdb_compile invocations.
10075
b8b4e42b
JK
100762009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10077
10078 * Makefile.in (abs_builddir): New.
10079 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
10080 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
10081 `$(abs_builddir)/site.exp'.
10082
f8b7eaf3
DJ
100832009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
10084
10085 * config/m68k-emc.exp, lib/emc-support.exp,
10086 gdb.trace/gdb_c_test.c: Delete.
10087 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
10088 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10089 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10090 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10091 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10092 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
10093 casing for m68k-*-elf.
10094
c4187697
NS
100952009-11-03 Pedro Alves <pedro@codesourcery.com>
10096
10097 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
10098 * gdb.arch/i386-prologue.exp: Likewise.
10099 * gdb.arch/i386-unwind.exp: Likewise.
10100
db16b772
DJ
101012009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10102
10103 * lib/gdb.exp (gdb_expect): Fix timeout typo.
10104
bcf71277
DJ
101052009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10106
10107 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
10108
0105cee2
DJ
101092009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10110
10111 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
10112
24ddea62
JK
101132009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10114
10115 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
10116
287ccc17
JK
101172009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10118
10119 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
10120 * gdb.base/sepdebug2.c: New file.
10121
08bca259 101222009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
10123
10124 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
10125 the modified warnings for catch syscall. Verify if GDB was compiled
10126 with support for lib expat, and choose which tests to run depending
10127 on this.
10128
5d4e2b76
VP
101292009-10-30 Vladimir Prus <vladimir@codesourcery.com>
10130
10131 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
10132 that composite commands are parsed OK. And also test
10133 that breakpoint commands do work.
10134
240e538a
MS
101352009-10-23 Michael Snyder <msnyder@vmware.com>
10136
10137 gdb.reverse/consecutive-precsave.exp: Change expect pattern
10138 to allow for new disassembly style.
10139
9c419145
PP
101402009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10141
10142 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 10143
02506ff1
MS
101442009-10-22 Michael Snyder <msnyder@vmware.com>
10145
10146 * gdb.reverse/break-precsave.exp: New test.
10147 * gdb.reverse/consecutive-precsave.exp: Ditto.
10148 * gdb.reverse/finish-precsave.exp: Ditto.
10149 * gdb.reverse/i386-precsave.exp: Ditto.
10150 * gdb.reverse/machinestate-precsave.exp: Ditto.
10151 * gdb.reverse/sigall-precsave.exp: Ditto.
10152 * gdb.reverse/solilb-precsave.exp: Ditto.
10153 * gdb.reverse/step-precsave.exp: Ditto.
10154 * gdb.reverse/until-precsave.exp: Ditto.
10155 * gdb.reverse/watch-precsave.exp: Ditto.
10156
4cf866a3
MS
101572009-10-22 Michael Snyder <msnyder@vmware.com>
10158
10159 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
10160 for gdb_expect. Adjust one test's expect strings for the new
10161 format of disassemble.
10162 * gdb.reverse/finish-reverse.exp: Delete 'return'.
10163 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
10164 gdb_test_multiple.
10165 * gdb.reverse/step-reverse.exp: Delete 'return'.
10166 * gdb.reverse/until-reverse.exp: Delete blank lines.
10167 * gdb.reverse/watch-reverse.exp: Delete blank lines.
10168
2b28d209
PP
101692009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10170
10171 * gdb.base/consecutive.exp: Adjust.
10172 * gdb.base/display.exp: Likewise.
10173 * gdb.base/pc-fp.exp: Likewise.
10174 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 10175
33b9c32b
MS
101762009-10-19 Michael Snyder <msnyder@vmware.com>
10177
10178 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
10179 * gdb.reverse/finish-reverse.c: Ditto.
10180 * gdb.reverse/sigall-reverse.c: Ditto.
10181 * gdb.reverse/solib-reverse.c: Ditto.
10182 * gdb.reverse/step-reverse.c: Ditto.
10183 * gdb.reverse/watch-reverse.c: Ditto.
10184
6c95b8df
PA
101852009-10-19 Pedro Alves <pedro@codesourcery.com>
10186 Stan Shebs <stan@codesourcery.com>
10187
10188 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
10189 * gdb.base/foll-exec.exp: Adjust to expect a process id before
10190 "Executing new program".
10191 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
10192 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
10193 left listed after having been killed.
10194 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
10195 * gdb.base/maint.exp: Adjust test.
10196
10197 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
10198 * gdb.multi/Makefile.in: New.
10199 * gdb.multi/base.exp: New.
10200 * gdb.multi/goodbye.c: New.
10201 * gdb.multi/hangout.c: New.
10202 * gdb.multi/hello.c: New.
10203 * gdb.multi/bkpt-multi-exec.c: New.
10204 * gdb.multi/bkpt-multi-exec.exp: New.
10205 * gdb.multi/crashme.c: New.
10206
279017b7
TG
102072009-10-13 Tristan Gingold <gingold@adacore.com>
10208
10209 * gdb.base/sepdebug.exp: Check debug info are found.
10210
0413d738
PA
102112009-10-08 Pedro Alves <pedro@codesourcery.com>
10212
10213 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
10214 bits.
10215
c628eecc
JK
102162009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10217
10218 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
10219
38af1bfe
JB
102202009-10-07 Joel Brobecker <brobecker@adacore.com>
10221
10222 * gdb.base/watchpoints.c: Add copyright header. Reformat one
10223 of the comments.
10224
2b0adecd
PM
102252009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
10226
10227 * gdb.base/annota1.exp: Remove obsolete match_max increase.
10228 * gdb.base/annota3.exp: Idem.
10229 * gdb.base/maint.exp: Idem.
10230
8d417781
PM
102312009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
10232
889bf7c5 10233 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
10234 to default.
10235
bb61102d
PM
102362009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10237
889bf7c5 10238 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
10239 mingw and cygwin targets.
10240
ace5c364
PM
102412009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10242 Pedro Alves <pedro@codesourcery.com>
10243
889bf7c5 10244 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
10245 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
10246
c2d494a0
PM
102472009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10248
e1b52ce2
PM
10249 * gdb.base/shr1.c: Use %p in format string.
10250 * gdb.base/unload.c: Avoid warning in fprintf.
10251 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 10252
209f53f5
PM
102532009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10254
10255 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
10256 long type.
10257 (test_unlink): Correct printf string.
10258 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
10259 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
10260
8172766a
JK
102612009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10262
10263 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
10264 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
10265 * gdb.arch/ia64-breakpoint-shadow.S: New file.
10266
0f73703c
UW
102672009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10268
10269 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
10270 * gdb.objc/nondebug.exp: Likewise.
10271
b32306ca
UW
102722009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10273
10274 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
10275 target_info setting.
10276
10277 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
10278 that detect new threads during "info threads".
10279
0057022f
UW
102802009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10281
10282 * gdb.threads/manythreads.c (main): Increase thread stack size
10283 to 2*PTHREAD_STACK_MIN.
10284 * gdb.threads/multi-create.c (main): Likewise.
10285 (create_function): Likewise.
10286
f29c0325
UW
102872009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10288
10289 * gdb.base/dump.exp: Pass difference of pointer types instead
10290 of integer types as offset to restore in intarr3.srec case.
10291
fcb34849
UW
102922009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10293
10294 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
10295
d5142e3b
UW
102962009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10297
10298 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
10299
087b74b2 103002009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 10301
087b74b2
PM
10302 New test for two watchpoints, with disabling of
10303 the first inserted.
10304 * testsuite/gdb.base/watchpoints.c: New file.
10305 * testsuite/gdb.base/watchpoints.exp: New file.
10306
96c07c5b
TT
103072009-09-25 Tom Tromey <tromey@redhat.com>
10308
10309 * gdb.base/charset.exp: Test utf-16 strings with Python.
10310
b8899f2b
TT
103112009-09-25 Tom Tromey <tromey@redhat.com>
10312
10313 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
10314 UCS-4.
10315 * gdb.base/charset.c (utf_32_string): Rename.
10316 (init_utf32): Rename.
10317 (main): Update.
10318
329719ec
TT
103192009-09-22 Tom Tromey <tromey@redhat.com>
10320
10321 * gdb.python/py-function.exp: Add regression tests.
10322
11ef0d76
KS
103232009-09-21 Keith Seitz <keiths@redhat.com>
10324
10325 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
10326 with invalid operator.
10327
3fe8f3b3
KS
103282009-09-21 Keith Seitz <keiths@redhat.com>
10329
10330 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
10331 and destructor using typedef name of class.
10332 * gdb.cp/classes.cc (class Base1): Add a destructor.
10333 (base1): New typedef.
10334 (use_methods): Instanitate an object of type base1.
10335 * gdb.cp/templates.exp (test_template_typedef): New procedure.
10336 (do_tests): Call test_template_typedef.
10337 * gdb.cp/templates.cc (Baz::~Baz): New method.
10338 (intBazOne): New typedef.
10339 (main): Instantiate intBazOne.
10340
7a9fe101
PM
103412009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10342
10343 PR python/10633
10344
10345 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
10346 Function.
10347 (run_lang_tests): Add print elements test.
10348
2e4d963f
PM
103492009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10350
10351 * gdb.python/py-value.exp (test_subscript_regression): New
10352 function. Test for invalid subscripts.
10353 * gdb.python/py-value.c (main): Add test array, and pointer to it.
10354 (ptr_ref): New function.
10355
ec7e75e7
PP
103562009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10357
10358 * gdb.base/default.exp: Fix "show convenience".
10359
0cc7d26f
TT
103602009-09-15 Tom Tromey <tromey@redhat.com>
10361
10362 * lib/mi-support.exp (mi_create_varobj): Update.
10363 (mi_create_floating_varobj): Likewise.
10364 (mi_create_dynamic_varobj): New proc.
10365 (mi_varobj_update): Update.
10366 (mi_varobj_update_with_type_change): Likewise.
10367 (mi_varobj_update_kv_helper): New proc.
10368 (mi_varobj_update_dynamic_helper): Rewrite.
10369 (mi_varobj_update_dynamic): New proc.
10370 (mi_list_varobj_children): Update.
10371 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
10372 * gdb.python/python-prettyprint.py (pp_outer): New class.
10373 (pp_nullstr): Likewise.
10374 (lookup_function): Register new printers.
10375 * gdb.python/python-prettyprint.c (struct substruct): New type.
10376 (struct outerstruct): Likewise.
10377 (substruct_test): New function.
10378 (struct nullstr): New type.
10379 (string_1, string_2): New globals.
10380 (main): Add new tests.
10381 * gdb.python/python-mi.exp: Added regression tests.
10382 * gdb.mi/mi2-var-display.exp: Update.
10383 * gdb.mi/mi2-var-cmd.exp: Update.
10384 * gdb.mi/mi2-var-child.exp: Update.
10385 * gdb.mi/mi2-var-block.exp: Update.
10386 * gdb.mi/mi-var-invalidate.exp: Update.
10387 * gdb.mi/mi-var-display.exp: Update.
10388 * gdb.mi/mi-var-cmd.exp: Update.
10389 * gdb.mi/mi-var-child.exp: Update.
10390 * gdb.mi/mi-var-block.exp: Update.
10391 * gdb.mi/mi-break.exp: Update.
10392 * gdb.mi/gdb701.exp: Update.
10393
a96d9b2e
SDJ
103942009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
10395
10396 * Makefile.in: Inclusion of catch-syscall object.
10397 * gdb.base/catch-syscall.c: New file.
10398 * gdb.base/catch-syscall.exp: New file.
10399
b43b923a
MS
104002009-09-12 Michael Snyder <msnyder@vmware.com>
10401
10402 * gdb.reverse/step-reverse.exp: Explicitly check for targets
10403 that can support reverse debuggnig.
10404
cec03d70
TT
104052009-09-11 Tom Tromey <tromey@redhat.com>
10406
10407 * gdb.dwarf2/valop.S: New file.
10408 * gdb.dwarf2/valop.exp: New file.
10409
e23bb3fc
MK
104102009-09-11 Mark Kettenis <kettenis@gnu.org>
10411
10412 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
10413
37c3696d
DE
104142009-09-10 Doug Evans <dje@google.com>
10415
10416 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
10417 Add $gdb_prompt to second breakpoint regexp.
10418
5172aecb
JB
104192009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
10420
10421 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
10422 names, add missing ones.
10423 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
10424 * gdb.python/py-frame.c: Rename from python-frame.c.
10425 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
10426 testfile name.
10427 * gdb.python/py-function.exp: Rename from python-function.exp.
10428 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
10429 testfile name.
10430 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
10431 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
10432 Adjust testfile name.
10433 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
10434 * gdb.python/py-template.cc: Rename from python-template.cc.
10435 * gdb.python/py-template.exp: Rename from python-template.exp.
10436 Adjust testfile name.
10437 * gdb.python/py-value.c: Rename from python-value.c.
10438 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
10439 testfile name.
10440
b554e4bd
JK
104412009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10442
10443 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
10444 $bpt2address.
10445 (Second breakpoint address is valid on ia64)
10446 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
10447
9a68ae16
JM
104482009-09-03 Joseph Myers <joseph@codesourcery.com>
10449
10450 * gdb.base/ending-run.exp: Restrict regular expression matching
10451 line number to require closing brace following.
10452
146b9145
DE
104532009-09-03 Doug Evans <dje@google.com>
10454
10455 * gdb.base/store.exp (check_set): Fix typo in expected value message.
10456
787d21e1
TT
104572009-09-02 Tom Tromey <tromey@redhat.com>
10458
10459 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
10460
e7802207
TT
104612009-09-02 Tom Tromey <tromey@redhat.com>
10462
10463 * gdb.dwarf2/callframecfa.exp: New file.
10464 * gdb.dwarf2/callframecfa.S: New file.
10465
817aadd2
JK
104662009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10467
10468 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
10469 gdb.base/solib-overlap-main.c: New.
10470
4a76eae5
DJ
104712009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
10472
10473 PR gdb/10565
10474
10475 * gdb.base/bitfields.c (struct container, container): New.
10476 (main): Initialize it and call break5.
10477 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
10478
d4b96c9a
JK
104792009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10480
10481 Support constant DW_AT_data_member_location by GCC PR debug/40659.
10482 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
10483
4e22772d
JK
104842009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10485
10486 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
10487
2efab443
MS
104882009-08-26 Michael Snyder <msnyder@vmware.com>
10489
10490 * gdb.base/i386-reverse.c: New file.
10491 * gdb.base/i386-reverse.exp: New file.
10492 * gdb.base/Makefile.in: Add new files to be removed.
10493
07ab73a0
JM
104942009-08-26 Joseph Myers <joseph@codesourcery.com>
10495
10496 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
10497 environment-pwd for remote host.
10498 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
10499
676accff
KS
105002009-08-24 Keith Seitz <keiths@redhat.com>
10501
10502 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
10503 Add two new C++ completer tests which limit the output to a
889bf7c5 10504 given class.
676accff 10505
f9f7ad22
MS
105062009-08-24 Michael Snyder <msnyder@vmware.com>
10507
10508 * gdb.base/del.exp: Fix typo in comment.
10509 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
10510
81ecdfbb
RW
105112009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10512
10513 * configure: Regenerate.
10514 * gdb.hp/configure: Likewise.
10515 * gdb.hp/gdb.aCC/configure: Likewise.
10516 * gdb.hp/gdb.base-hp/configure: Likewise.
10517 * gdb.hp/gdb.compat/configure: Likewise.
10518 * gdb.hp/gdb.defects/configure: Likewise.
10519 * gdb.hp/gdb.objdbg/configure: Likewise.
10520 * gdb.stabs/configure: Likewise.
10521
cab0c772
UW
105222009-08-19 Doug Evans <dje@google.com>
10523
10524 * gdb.base/gdbvars.c: New file.
10525 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
10526
b8fa0bfa
PA
105272009-08-14 Pedro Alves <pedro@codesourcery.com>
10528
10529 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10530 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
10531
b84aa90a
PA
105322009-08-13 Pedro Alves <pedro@codesourcery.com>
10533
10534 * gdb.base/default.exp: Adjust "set language test": it's now an
10535 enum command. Larger help string moved to "help set language".
10536 * gdb.base/help.exp: Adjust "help set language" expected output,
10537 now lists all known languages.
10538
0d8f9b2c
NF
105392009-08-11 Nathan Froyd <froydnj@codesourcery.com>
10540
10541 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
10542 all frame arguments.
10543 * gdb.arch/altivec-regs.exp: Likewise.
10544
bda180e0
TT
105452009-08-07 Tom Tromey <tromey@redhat.com>
10546
10547 * gdb.base/setshow.exp: Add tests for changes to set language, set
10548 check range, and set check type.
10549
48cb2d85
VP
105502009-08-03 Vladimir Prus <vladimir@codesourcery.com>
10551
10552 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
10553 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 10554 Call it.
48cb2d85 10555
1ea34204
UW
105562009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10557
10558 * configure.ac: Run gdb.cell tests when appropriate.
10559 * configure: Regenerate.
10560 * lib/cell.exp: New file.
10561 * gdb.cell: New directory.
10562 * gdb.cell/configure.ac: New file.
10563 * gdb.cell/configure: New file.
10564 * gdb.cell/Makefile.in: New file.
10565 * gdb.cell/arch.exp: New file.
10566 * gdb.cell/break.c: New file.
10567 * gdb.cell/break.exp: New file.
10568 * gdb.cell/break-spu.c: New file.
10569 * gdb.cell/bt.c: New file.
10570 * gdb.cell/bt2-spu.c: New file.
10571 * gdb.cell/bt-spu.c: New file.
10572 * gdb.cell/bt.exp: New file.
10573 * gdb.cell/coremaker.c: New file.
10574 * gdb.cell/coremaker-spu.c: New file.
10575 * gdb.cell/core.exp: New file.
10576 * gdb.cell/gcore.exp: New file.
10577 * gdb.cell/data.c: New file.
10578 * gdb.cell/data.exp: New file.
10579 * gdb.cell/data-spu.c: New file.
10580 * gdb.cell/ea-cache.exp: New file.
10581 * gdb.cell/ea-cache.c: New file.
10582 * gdb.cell/ea-cache-spu.c: New file.
10583 * gdb.cell/ea-standalone.c: New file.
10584 * gdb.cell/ea-standalone.exp: New file.
10585 * gdb.cell/ea-test.c: New file.
10586 * gdb.cell/ea-test.exp: New file.
10587 * gdb.cell/f-regs.exp: New file.
10588 * gdb.cell/mem-access.c: New file.
10589 * gdb.cell/mem-access.exp: New file.
10590 * gdb.cell/mem-access-spu.c: New file.
10591 * gdb.cell/ptype.exp: New file.
10592 * gdb.cell/registers.exp: New file.
10593 * gdb.cell/size.c: New file.
10594 * gdb.cell/sizeof.exp: New file.
10595 * gdb.cell/size-spu.c: New file.
10596 * gdb.cell/solib.exp: New file.
10597 * gdb.cell/solib-symbol.exp: New file.
10598
85e747d2
UW
105992009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10600
10601 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
10602
58d6951d
DJ
106032009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10604
10605 * gdb.base/float.exp: Handle VFP registers.
10606
6e0a4f15
MS
106072009-07-14 Michael Snyder <msnyder@vmware.com>
10608
dcd5da87
MS
10609 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
10610 to bring gdb to the beginning of the calling line.
10611
6e0a4f15
MS
10612 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
10613 confusing the i386 epilogue unwinder.
10614
782b2b07
SS
106152009-07-14 Stan Shebs <stan@codesourcery.com>
10616
10617 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
10618
f662c3bc
MS
106192009-07-14 Michael Snyder <msnyder@vmware.com>
10620
10621 * gdb.reverse/step-reverse.exp (stepi into function call):
10622 Call instruction may not be first instruction in the line.
10623 (reverse stepi from a function call): Used wrong line number.
10624
8f313923
JK
106252009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10626
10627 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
10628
4662c76e
JK
106292009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10630
10631 Fix gdb.base/macscp.exp when using custom inputrc.
10632 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
10633 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
10634 env(TERM) set.
10635 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
10636 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
10637
aa81e255
JK
106382009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10639
10640 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
10641 * gdb.base/annota1.exp (thread_test): Import global $testfile.
10642 Change the compilation target to match the testcase name.
10643 * gdb.base/sect-cmd.exp: Change the compilation target to match the
10644 testcase name.
10645 * a2-run.exp: Use for setup prepare_for_testing. Change the
10646 compilation target to match the testcase name.
10647 * gdb.base/commands.exp: Likewise.
10648 * gdb.base/finish.exp: Likewise.
10649 * gdb.base/float.exp: Likewise.
10650 * gdb.base/info-target.exp: Likewise.
10651 * gdb.base/relational.exp: Likewise.
10652 * gdb.base/term.exp: Likewise.
10653 * gdb.base/until.exp: Likewise.
10654 * gdb.base/volatile.exp: Likewise.
10655 * gdb.base/whatis-exp.exp: Likewise.
10656
4c93b1d7
HZ
106572009-07-11 Hui Zhu <teawater@gmail.com>
10658
10659 * gdb.base/help.exp (disassemble): Update expected help text.
10660
812f7342
TT
106612009-07-09 Tom Tromey <tromey@redhat.com>
10662
10663 * lib/gdb.exp: Handle TRANSCRIPT.
10664 (remote_spawn, remote_close, send_gdb): New procs.
10665
fbb8f299
PM
106662009-07-10 Phil Muldoon <pmuldoon@redhat.com>
10667
10668 * gdb.python/python-prettyprint.c: Add counted null string
10669 structure.
10670 * gdb.python/python-prettyprint.exp: Print null string. Test for
10671 embedded nulls.
10672 * gdb.python/python-prettyprint.py (pp_ns): New Function.
10673 * gdb.python/python-value.exp (test_value_in_inferior): Add
10674 variable length string fetch tests.
10675 * gdb.python/python-value.c (main): Add strings for string fetch tests.
10676
c0ac0ec7
JK
106772009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10678
10679 * gdb.base/dump.exp (inaccessible memory is reported): New test.
10680
30b66ecc
TT
106812009-07-07 Tom Tromey <tromey@redhat.com>
10682
10683 * gdb.base/call-rt-st.exp: Update for change to escape output.
10684 * gdb.base/callfuncs.exp: Likewise.
10685 * gdb.base/charset.exp: Likewise.
10686 * gdb.base/constvars.exp: Likewise.
10687 * gdb.base/long_long.exp: Likewise.
10688 * gdb.base/pointers.exp: Likewise.
10689 * gdb.base/printcmds.exp: Likewise.
10690 * gdb.base/setvar.exp: Likewise.
10691 * gdb.base/store.exp: Likewise.
10692 * gdb.cp/ref-types.exp: Likewise.
10693 * gdb.mi/mi-var-child.exp: Likewise.
10694 * gdb.mi/mi-var-display.exp: Likewise.
10695 * gdb.mi/mi2-var-display.exp: Likewise.
10696 * gdb.base/charset.exp: Test octal escape sequence length.
10697 Update for change to escape output.
10698
187c4a2b
JK
106992009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10700
10701 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
10702
d80a43f9
DJ
107032009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
10704
10705 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
10706
047427a8
JK
107072009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10708
10709 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
10710 gdbserver increasing $portnum if "Can't bind address" has been seen.
10711
8b5a0f4f
PA
107122009-07-05 Pedro Alves <pedro@codesourcery.com>
10713
10714 * gdb.base/ending-run.exp: Add "step out of main" pattern for
10715 mingw32ce.
10716
7d93ba58
PA
107172009-07-05 Pedro Alves <pedro@codesourcery.com>
10718
10719 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
10720 VFP format.
10721
2277426b
PA
107222009-07-02 Pedro Alves <pedro@codesourcery.com>
10723
10724 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
10725 linux. Adjust to use "inferior", "info inferiors", "detach
10726 inferior" and "kill inferior" instead of "restart", "info fork",
10727 "detach fork" and "delete fork".
10728 * gdb.base/ending-run.exp: Spell out "info".
10729 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
10730 the "kill" command.
10731
5af949e3
UW
107322009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10733
10734 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
10735 change to prefix TLS offset in hex with 0x.
10736
5d3729b5
UW
107372009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10738
10739 * gdb.base/default.exp: Update test case for "x" changes.
10740
af589bd0
TG
107412009-07-01 Tristan Gingold <gingold@adacore.com>
10742
10743 * gdb.base/bigcore.exp: Make darwin untested.
10744
40974f91
JK
107452009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10746
10747 * gdb.base/completion.exp (directory completion): Create the directory.
10748 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
10749 escapeuniquesub.
10750 (directory completion 2): Expect now ${escapeuniquesub}.
10751 (Glob remaining of directory test): Remove one excessive newline.
10752 Expect the real output.
10753
59dd3af6
JK
107542009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10755
10756 Fix `make check//%' target after `make check' has been ran.
10757 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
10758 a mkdir call.
10759 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
10760 (%/.dir): Remove.
10761
f4e164aa
JK
107622009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10763
10764 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
10765 the expected result record.
10766
69af2122
JK
107672009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10768
10769 Remove racy FAILs relying just on the timeouts.
10770 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
10771 (annotation_level 2): Remove racy FAILs.
10772
2fd481e1
PP
107732009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10774
10775 gdb/10275
889bf7c5
PA
10776 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
10777
c38f313d
DJ
107782009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
10779
10780 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
10781
8b777f02
VP
107822009-06-30 Vladimir Prus <vladimir@codesourcery.com>
10783
10784 * gdb.mi/mi-stack.exp: Testing symbolic options
10785 to -stack-list-locals and -stack-list-arguments.
10786
00c7eacf
JK
107872009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10788
10789 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
10790
6bc80edc
TT
107912009-06-29 Tom Tromey <tromey@redhat.com>
10792
10793 * dg-extract-results.sh: New file.
10794 * Makefile.in (FORCE_PARALLEL): New variable.
10795 (CHECK_TARGET): New conditional variable.
10796 (check): Use CHECK_TARGET.
10797 (DO_RUNTEST): New variable.
10798 (check-single): New target.
10799 (TEST_DIRS): New variable.
10800 (TEST_TARGETS): Likewise.
10801 (check-parallel): New target.
10802 (check-gdb.%): New pattern.
10803 (BASE1_FILES): New variable.
10804 (BASE2_FILES): Likewise.
10805 (check-gdb.base%): New pattern.
10806 (%/.dir): New pattern.
10807 * configure: Rebuild.
10808 * aclocal.m4 (AM_CONDITIONAL): New defun.
10809 * configure.ac: Check whether user is using GNU make.
10810 (GMAKE): New conditional.
10811
794684b6
SW
108122009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
10813
10814 * gdb.cp/namespace-nested-import.cc: New test.
10815 * gdb.cp/namespace-nested-import.exp: New test.
10816
edb3359d
DJ
108172009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
10818
10819 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
10820 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
10821 * gdb.opt/Makefile.in (EXECUTABLES): Update.
10822 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
10823 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
10824 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
10825 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
10826 gdb.opt/inline-markers.c: New files.
10827 * lib/gdb.exp (skip_inline_frame_tests): New function.
10828 (skip_inline_var_tests): New function.
10829
cf657a0c
AS
108302009-06-27 Andreas Schwab <schwab@linux-m68k.org>
10831
10832 * gdb.cp/exception.exp: Don't require $hex before inner frame in
10833 backtrace.
10834
28d41a99
MS
108352009-06-27 Michael Snyder <msnyder@vmware.com>
10836
10837 * gdb.reverse: New directory.
10838 * gdb.reverse/break-reverse.c: New test.
10839 * gdb.reverse/break-reverse.exp: New test.
10840 * gdb.reverse/consecutive-reverse.c: New test.
10841 * gdb.reverse/consecutive-reverse.exp: New test.
10842 * gdb.reverse/finish-reverse.c: New test.
10843 * gdb.reverse/finish-reverse.exp: New test.
10844 * gdb.reverse/machinestate.c: New test.
10845 * gdb.reverse/ms1.c: New test.
10846 * gdb.reverse/machinestate.exp: New test.
10847 * gdb.reverse/Makefile.in: New file.
10848 * gdb.reverse/shr2.c: New test.
10849 * gdb.reverse/solib-reverse.c: New test.
10850 * gdb.reverse/solib-reverse.exp: New test.
10851 * gdb.reverse/step-reverse.c: New test.
10852 * gdb.reverse/step-reverse.exp: New test.
10853 * gdb.reverse/until-reverse.c: New test.
10854 * gdb.reverse/ur1.c: New test.
10855 * gdb.reverse/until-reverse.exp: New test.
10856 * gdb.reverse/watch-reverse.c: New test.
10857 * gdb.reverse/watch-reverse.exp: New test.
10858 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
10859 * configure: Regenerate.
10860
fe3c8b0d
DE
108612009-06-26 Doug Evans <dje@google.com>
10862
10863 * gdb.base/psymtab.exp: Turn off pending breakpoints.
10864
3a72a602
PM
108652009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
10866
10867 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
10868 windows problem for 'file delete $binfile'.
10869
27aa8d6a
SW
108702009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
10871
10872 * gdb.cp/namespace-using.exp: New test.
10873 * gdb.cp/namespace-using.cc: New test.
10874
8ac055f8
JB
108752009-05-20 Joel Brobecker <brobecker@adacore.com>
10876
10877 * gdb.ada/variant_record_packed_array: New testcase.
10878
85e306ed
TT
108792009-06-23 Tom Tromey <tromey@redhat.com>
10880
10881 * gdb.base/charset.exp (test_combination): Regression test.
10882 * gdb.base/charset.c (my_wchar_t): New typedef.
10883 (myvar): New global.
10884 (main): Set myvar.
10885
56643c5e
PM
108862009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
10887
10888 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
10889 target.
10890
1fac167a
UW
108912009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10892
10893 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
10894
7ccb0be9
UW
108952009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10896
10897 * gdb.mi/gdb680.exp: Update test for error message.
10898
568d6575
UW
108992009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10900
10901 * gdb.base/annota1.exp: Allow multiple occurrences of the
10902 frames-invalid annotation.
10903 * gdb.cp/annota2.exp: Likewise.
10904
7cd1089b
PM
109052009-06-15 Phil Muldoon <pmuldoon@redhat.com>
10906
10907 * gdb.cp/gdb2495.cc: New file.
10908 * gdb.cp/gdb2495.exp: New file.
10909
72c63395
JK
109102009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10911
10912 Report error on GDB crash during runto.
10913 * lib/gdb.exp (runto <eof>): New.
10914
3788363d
DJ
109152009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
10916
10917 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
10918 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
10919 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
10920 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
10921 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
10922 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
10923 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
10924 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
10925 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
10926 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
10927 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
10928 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
10929 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10930 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
10931 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
10932 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
10933 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
10934 gdb.server/server-mon.exp, gdb.server/server-run.exp,
10935 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10936 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
10937 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
10938 gdb.trace/passcount.exp, gdb.trace/report.exp,
10939 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
10940 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
10941 gdb.trace/while-stepping.exp: Use a unique name for the compiled
10942 executable.
10943
17592de3
PA
109442009-06-07 Pedro Alves <pedro@codesourcery.com>
10945
10946 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
10947 defined before referencing it.
10948
701e355d
DE
109492009-06-03 Doug Evans <dje@google.com>
10950
10951 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
10952 * gdb.arch/i386-see.c: Ditto.
10953
f2292c65
PM
109542009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
10955
10956 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
10957 (check_macro): Return 1 if undefined.
10958 If first test fails, check if macro debug information is available,
10959 and report unsupported test if no macro information is found.
10960
5a437975
DE
109612009-05-29 Doug Evans <dje@google.com>
10962
10963 * gdb.threads/hand-call-in-threads.exp: New.
10964 * gdb.threads/hand-call-in-threads.c: New.
10965
c141c696
MS
109662009-05-29 Michael Snyder <msnyder@vmware.com>
10967
10968 * gdb.base/break-always.exp: Change "1" to "on".
10969 Add confirmation check.
10970
b3444185
PA
109712009-05-28 Pedro Alves <pedro@codesourcery.com>
10972
10973 * gdb.threads/threxit-hop-specific.c: New.
10974 * gdb.threads/threxit-hop-specific.exp: New.
10975 * gdb.threads/thread-execl.c: New.
10976 * gdb.threads/thread-execl.exp: New.
10977
b6313243
TT
109782009-05-27 Tom Tromey <tromey@redhat.com>
10979 Thiago Jung Bauermann <bauerman@br.ibm.com>
10980
10981 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
10982 (mi_child_regexp): Likewise.
10983 (mi_list_varobj_children_range): Likewise.
10984 (mi_get_features): Likewise.
10985 (mi_list_varobj_children): Rewrite.
10986 * gdb.python/python-mi.exp: New file.
10987
a6bac58e
TT
109882009-05-27 Tom Tromey <tromey@redhat.com>
10989 Thiago Jung Bauermann <bauerman@br.ibm.com>
10990 Phil Muldoon <pmuldoon@redhat.com>
10991 Paul Pluzhnikov <ppluzhnikov@google.com>
10992
10993 * gdb.python/python-prettyprint.exp: New file.
10994 * gdb.python/python-prettyprint.c: New file.
10995 * gdb.python/python-prettyprint.py: New file.
10996 * gdb.base/display.exp: print/r is now valid.
10997
2c74e833
TT
109982009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
10999 Tom Tromey <tromey@redhat.com>
11000 Pedro Alves <pedro@codesourcery.com>
11001 Paul Pluzhnikov <ppluzhnikov@google.com>
11002
11003 * gdb.python/python-template.exp: New file.
11004 * gdb.python/python-template.cc: New file.
11005 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
11006 tests.
11007 * gdb.python/python-value.exp (py_objfile_tests): New proc.
11008 Call it.
11009 (test_value_after_death): New proc.
11010 * gdb.python/python-value.c (PTR): New typedef.
11011 (main): New variable 'x'.
11012
89c73ade
TT
110132009-05-27 Tom Tromey <tromey@redhat.com>
11014
11015 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
11016 tests.
11017 * gdb.python/python-value.exp (py_objfile_tests): New proc.
11018 Call it.
11019
a75724bc
PA
110202009-05-27 Pedro Alves <pedro@codesourcery.com>
11021
11022 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
11023
e58b0e63
PA
110242009-05-24 Pedro Alves <pedro@codesourcery.com>
11025
11026 * gdb.threads/fork-thread-pending.c: New.
11027 * gdb.threads/fork-thread-pending.exp: New.
11028
4ac36638
JK
110292009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11030
11031 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
11032 * gdb.dwarf2/dw2-strp.S (a_string2): New.
11033
889bf7c5 110342009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 11035
889bf7c5 11036 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 11037
b242c3c2
PA
110382009-05-17 Pedro Alves <pedro@codesourcery.com>
11039
11040 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
11041 `gdb_get_line_number'. Call `callee' in both parent and child.
11042 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
11043 `gdb_get_line_number' instead of hardcoding line numbers.
11044 (catch_fork_unpatch_child): New procedure to test detaching
11045 breakpoints from child fork.
11046 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
11047 hardcoding line numbers.
11048 (do_fork_tests): Run `catch_fork_unpatch_child'.
11049
ee342b23
VP
110502009-05-17 Vladimir Prus <vladimir@codesourcery.com>
11051
11052 * gdb.mi/mi-cmd-var.exp: Check that when varobj
11053 of structure type enters or leaves the scope, it
11054 is reported by -var-update.
11055
e2009e98
DE
110562009-05-11 Doug Evans <dje@sebabeach.org>
11057
11058 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 11059 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
11060 * gdb.threads/schedlock.c (main): Fix off-by-one error.
11061
00903456
JK
110622009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11063
11064 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
11065
dc621c35
DE
110662009-04-30 Doug Evans <dje@google.com>
11067
11068 * gdb.threads/watchthreads2.exp: New testcase.
11069 * gdb.threads/watchthreads2.c: New testcase.
11070
9ab4e744
DE
110712009-04-29 Doug Evans <dje@google.com>
11072
11073 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
11074 * gdb.cp/mb-ctor.cc: Ditto.
11075 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
11076 * gdb.cp/mb-inline.h (multi_line_foo): New function.
11077 * gdb.cp/mb-inline1.cc: Call it.
11078 * gdb.cp/mb-inline2.cc: Ditto.
11079 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
11080 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
11081
484086b7
JK
110822009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11083
11084 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
11085 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
11086 Replace all uses of `decimal' by `nonzero'.
11087 (info macro FROM_COMMANDLINE): New test.
11088
379a77b5
TT
110892009-04-27 Tom Tromey <tromey@redhat.com>
11090
11091 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
11092
b92b73c2
DE
110932009-04-27 Doug Evans <dje@google.com>
11094
11095 * gdb.threads/watchthreads.c (main): Initialize args before starting
11096 the threads. Plus formatting cleanup.
11097 * gdb.threads/watchthreads.exp: Avoid errant failures due to
11098 biased scheduling of one thread.
11099
945a118d
JG
111002009-04-27 Jerome Guitton <guitton@adacore.com>
11101
11102 * gdb.cp/templates.cc (GetMax): New template.
11103 (main): Declare two instances of GetMax.
11104 * gdb.cp/templates.exp: Add new test.
11105
d389af10
JK
111062009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11107
11108 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
11109
e7f86de9
JM
111102009-04-22 Joseph Myers <joseph@codesourcery.com>
11111
11112 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
11113
334cc82d
TT
111142009-04-15 Tom Tromey <tromey@redhat.com>
11115
11116 * gdb.base/charset.exp: Add regression test.
11117
d12672cc
JB
111182009-04-14 Joel Brobecker <brobecker@adacore.com>
11119
11120 * gdb.base/exe-lock.exp: New testcase.
11121
18e8c3bc
TT
111222009-04-13 Tom Tromey <tromey@redhat.com>
11123
11124 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
11125 operator on Frame.
11126
5ecd5cbe
UW
111272009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11128
11129 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
11130 * gdb.server/ext-attach.exp: Likewise.
11131
7309f756
VP
111322009-04-03 Vladimir Prus <vladimir@codesourcery.com>
11133
11134 Eliminate some sleep usage.
11135
889bf7c5
PA
11136 * gdb.mi/basics.c (do_nothing): New.
11137 (main): Use do_nothing instead of printf, so that
11138 not to introduce race condition between output of
11139 inferiour and output of gdb. Do not use sleep as it
11140 is not generally available on embedded targets.
7309f756 11141
f4b95f6f
PA
111422009-04-02 Pedro Alves <pedro@codesourcery.com>
11143
11144 * gdb.server/ext-attach.exp: Expect an optional process id after
11145 "Detached from remote process".
11146
de40b933
JK
111472009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11148
11149 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
11150 gdb.dwarf2/dw2-unresolved.exp: New.
11151
2ae101a4
PA
111522009-04-02 Pedro Alves <pedro@codesourcery.com>
11153
11154 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
11155 mi_run_to_main.
11156
56a8e183
PA
111572009-04-02 Pedro Alves <pedro@codesourcery.com>
11158
11159 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
11160 mi_run_to_main. Skip thread exit test on remote targets.
11161 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
11162 mi_run_to_main.
11163 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
11164 mi_run_to_main.
11165 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
11166 when expecting ^connected. Detect when the target doesn't support
11167 non-stop mode.
11168 (mi_run_cmd): Detect if non-stop mode was requested by isn't
11169 supported. Return -1 on error, 0 on success.
11170 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
11171 (mi_runto): Return mi_runto_helper's result explicitly.
11172
c35fafde
PA
111732009-04-01 Pedro Alves <pedro@codesourcery.com>
11174
11175 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
11176
f8a8dce6
JB
111772009-04-01 Tom Tromey <tromey@redhat.com>
11178
11179 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
11180 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
11181 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
11182 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
11183
71c25dea
TT
111842009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
11185 Jan Kratochvil <jan.kratochvil@redhat.com>
11186
11187 PR gdb/931
11188 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
11189 output.
11190 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
11191 for gdb/931.
11192 * dw2-strp.S (DW_AT_language): Change to C++.
11193 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
11194
02d9a9ce
JB
111952009-03-31 Joel Brobecker <brobecker@adacore.com>
11196
11197 * gdb.ada/tasks: New testcase.
11198
1042e4c0
SS
111992009-03-30 Stan Shebs <stan@codesourcery.com>
11200
11201 * gdb.trace/actions.exp: Update to match new info trace format.
11202 * gdb.trace/deltrace.exp: Ditto.
11203 * gdb.trace/infotrace.exp: Ditto.
11204 * gdb.trace/passcount.exp: Ditto.
11205 * gdb.trace/save-trace.exp: Ditto.
11206 * gdb.trace/while-stepping.exp: Ditto.
11207 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
11208
f8f6f20b
TJB
112092009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11210
11211 * gdb.python/python-frame.c: New file.
11212 * gdb.python/python-frame.exp: New file.
11213
c0c6f777
TJB
112142009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
11215
11216 * gdb.python/python-value.exp: Add tests for the address
11217 attribute.
11218
3cb51905
AS
112192009-03-29 Andreas Schwab <schwab@linux-m68k.org>
11220
11221 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
11222
88fc996f
DE
112232009-03-26 Doug Evans <dje@google.com>
11224
11225 * gdb.mi/mi-nonstop-exit.exp: New file.
11226 * gdb.mi/non-stop-exit.c: New file.
11227
56ef84b1
TT
112282009-03-26 Tom Tromey <tromey@redhat.com>
11229
11230 Update for change to prologue skipping:
11231 * gdb.mi/mi2-simplerun.exp: Update.
11232 * gdb.mi/mi2-break.exp: Update.
11233 * gdb.mi/mi-simplerun.exp: Update.
11234 * gdb.mi/mi-break.exp: Update.
11235 * gdb.base/ending-run.exp: Update.
11236
def2b000
TJB
112372009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
11238
11239 * gdb.python/python-value.exp (test_value_in_inferior): Test
11240 gdb.Value.is_optimized_out attribute.
11241
442ddf59
JK
112422009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11243
11244 * gdb.dwarf2/dw2-noloc-main.c: New file.
11245 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
11246 (.text): Remove.
11247 (.data): New.
11248 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
11249 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
11250 (DW_TAG_subprogram func_cu1, noloc): Remove.
11251 (main): New.
11252 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
11253 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
11254 (file_symbols): New procedure.
11255
a8df5de4
TT
112562009-03-25 Tom Tromey <tromey@redhat.com>
11257
11258 * gdb.base/charset.exp (valid_target_charset): New proc.
11259 Use it to skip tests on invalid charsets.
11260
cc1d7add
PM
112612009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
11262
11263 * gdb.base/completion.exp: Add a test for directory completion.
11264
bcd5727b
JK
112652009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11266
11267 Fix a racy FAIL.
11268 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
11269 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
11270
cc924cad
TJB
112712009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
11272
11273 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
11274 * gdb.python/python-function.exp: Add test for function returning
11275 a GDB value.
11276
bc3b79fd
TJB
112772009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
11278
11279 * gdb.python/python-function.exp: New file.
11280
6c7a06a3
TT
112812009-03-20 Tom Tromey <tromey@redhat.com>
11282
11283 * gdb.base/store.exp: Update for change to escape output.
11284 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
11285 to escape output.
11286 * gdb.base/pointers.exp: Update for change to escape output.
11287 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
11288 to escape output.
11289 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
11290 escape output.
11291 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
11292 to escape output.
11293 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
11294 escape output.
11295 * gdb.base/setvar.exp: Update for change to escape output.
11296 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
11297 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
11298 to escape output.
11299 (test_print_string_constants): Likewise.
11300 * gdb.base/charset.exp (valid_host_charset): Check size of
11301 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
11302 cases. Handle "auto"-related output.
11303 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
11304 (uvar, Uvar): New globals.
11305
c31af87b
JG
113062009-03-19 Jerome Guitton <guitton@adacore.com>
11307
11308 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
11309 deltas.
11310 * gdb.ada/fixed_points.exp: Ditto.
11311
51272cf2
PA
113122009-03-18 Pedro Alves <pedro@codesourcery.com>
11313
11314 * return-nodebug.c: Don't include stdio.h.
11315 (init): Delete.
11316 (func): Delete definition and provide extern declaration.
11317 (t): New.
11318 (main): Don't call printf. Call func and store its result in t.
11319 * return-nodebug1.c: New.
11320 * return-nodebug.exp: Don't expect stdio output. Instead, print
11321 the global variable t. Drop printf formatters and cast types from
11322 foreach loop. Don't use prepare_for_testing. Compile
11323 return-nodebug.c and return-nodebug1.c in separate steps. Don't
11324 define FORMAT or CAST.
11325
d24948ac
PP
113262009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11327
11328 * gdb.base/solib-display.exp: Disable test for remote targers.
11329
61ff14c6
JK
113302009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11331
11332 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
11333
cb4dce93
JK
113342009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11335
11336 Fix a racy FAIL.
11337 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
11338 code from `follow parent, print pids'.
11339 (`follow child, print pids', `follow parent, print pids'): Call it.
11340 Replace `gdb_test "break..."' by gdb_breakpoint.
11341
f7c60c5e
VP
113422009-03-13 Vladimir Prus <vladimir@codesourcery.com>
11343
11344 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 11345 sync and async modes.
f7c60c5e 11346
383ace49
JB
113472009-03-12 Joel Brobecker <brobecker@adacore.com>
11348
11349 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
11350 that was checked in by mistake. Remove loading of ada.exp, since
11351 this is not necessary in this case.
11352
4ce102af
JB
113532009-03-12 Joel Brobecker <brobecker@adacore.com>
11354
11355 * gdb.ada/ptype_arith_binop.exp: New testcase.
11356
529a2aef
JB
113572009-03-12 Joel Brobecker <brobecker@adacore.com>
11358
11359 * gdb.ada/mod_from_name: New testcase.
11360
8a38181c
JB
113612009-03-12 Joel Brobecker <brobecker@adacore.com>
11362
11363 * gdb.ada/tick_last_segv: New testcase.
11364
11436dee
VP
113652009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11366
61ff14c6 11367 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 11368
1f31650a
VP
113692009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11370
61ff14c6
JK
11371 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
11372 include the token in ^running and frame info in *stopped.
1f31650a 11373
a3247a22
PP
113742009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11375
11376 * solib-display.exp: New file.
11377 * solib-display-main.c: New file.
11378 * solib-display-lib.c: New file.
61ff14c6 11379
aae64587
PA
113802009-03-05 Pedro Alves <pedro@codesourcery.com>
11381
11382 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
11383
44aabfbc
JK
113842009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11385
11386 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
11387 (list_and_check_macro): Use more specific test name.
11388 (next to definition): Make the test names unique.
11389
c087fcd3
PM
113902009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
11391
11392 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 11393
c86cf029
VP
113942009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11395
11396 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
11397 notifications.
11398 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
11399 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
11400 * lib/mi-support.exp (library_loaded_re): New.
11401 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
11402
3ea85240
VP
114032009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11404
11405 * gdb.gdb/observer.exp: Use test_notification observer, not
11406 normal_stop, everywhere.
11407 (test_normal_stop_notifications): Rename to...
11408 (test_notifications): ...this.
11409 (test_observer_normal_stop): Rename to...
11410 (test_observer): ...this.
11411
1903f0e6
DE
114122009-02-16 Doug Evans <dje@google.com>
11413
11414 * gdb.arch/amd64-disp-step.S (test_int3): New test.
11415 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
11416 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
11417 (test_prefixed_syscall,test_int3): New tests.
11418 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
11419 (test_prefixed_syscall,test_int3): New tests.
11420
1d33d6ba
VP
114212009-02-14 Vladimir Prus <vladimir@codesourcery.com>
11422
3cb51905
AS
11423 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
11424 (mi_expect_interrupt): Likewise.
11425 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
11426 response.
1d33d6ba 11427
faafb047
PM
114282009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11429
11430 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
11431 * gdb.base/pc-fp.exp (get_valueofx): Remove.
11432 Replace calls to get_valueofx by get_hexadecimal_valueof.
11433
417e16e2
PM
114342009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11435
11436 * lib/gdb.exp (get_valueof): Accept anything as a return value.
11437 (get_integer_valueof): New procedure.
11438 (get_sizeof): Use new get_integer_value_of.
11439 * gdb.base/sizeof.exp: Replace all uses of get_valueof
11440 by get_integer_valueof.
11441
7065b901
TT
114422009-02-13 Tom Tromey <tromey@redhat.com>
11443
11444 * gdb.base/remote.exp (get_sizeof): Remove.
11445 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
11446 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
11447 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
11448 * lib/gdb.exp (get_valueof): Move from long_long.exp.
11449 (get_sizeof): Likewise.
11450
5d7cb8df
JK
114512009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11452
11453 PR fortran/9806
11454 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
11455
b2febfff
PP
114562009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11457
11458 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
11459
4aa995e1
PA
114602009-02-06 Pedro Alves <pedro@codesourcery.com>
11461
11462 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
11463
d8906c6f
TJB
114642009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
11465
11466 * gdb.python/python-cmd.exp: New file.
11467
ff4ab08d
TG
114682009-02-06 Tristan Gingold <gingold@adacore.com>
11469
11470 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
11471
aacd552b
TG
114722009-02-05 Tristan Gingold <gingold@adacore.com>
11473
11474 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
11475 pointer is dereferenced and use this signal name in regexp.
11476 * gdb.base/signull.exp: Ditto.
11477 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
11478 * gdb.base/signull.c (main): Ditto.
11479
08c637de
TJB
114802009-02-04 Tom Tromey <tromey@redhat.com>
11481 Thiago Jung Bauermann <bauerman@br.ibm.com>
11482
11483 * gdb.python/python-value.exp: Use `gdb.history' instead of
11484 `gdb.value_from_history'.
11485 (test_value_numeric_ops): Add test for conversion of enum constant.
11486 * gdb.python/python-value.c (enum e): New type.
11487 (evalue): New global.
11488 (main): Use argv.
11489
20261af8
JG
114902009-02-04 Jerome Guitton <guitton@adacore.com>
11491
11492 * gdb.ada/uninitialized_vars: New test program.
11493 * gdb.ada/uninitialized_vars.exp: New testcase.
11494
52e44b43
TT
114952009-02-02 Tom Tromey <tromey@redhat.com>
11496
11497 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
11498 * gdb.cp/pr2489.cc: Rename...
11499 * gdb.cp/pr9594.cc: ... to this.
11500
1c71341a
TT
115012009-02-02 Tom Tromey <tromey@redhat.com>
11502
11503 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
11504 * gdb.cp/pr2489.cc: New file.
11505 * gdb.cp/cpcompletion.exp: New file.
11506
a4295225
TT
115072009-02-02 Tom Tromey <tromey@redhat.com>
11508
11509 PR exp/9059:
11510 * gdb.cp/call-c.exp: Add regression test.
11511 * gdb.cp/call-c.cc (FooHandle): New typedef.
11512 (main): New variable 'handle'.
11513
592375cd
VP
115142009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11515
11516 * lib/mi-support.exp (et_mi_thread_list)
11517 (check_mi_and_console_threads): Adjust for current thread in
11518 -thread-list-ids output.
11519
41447f92
VP
115202009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11521
889bf7c5
PA
11522 * gdb.mi/mi-break.exp (test_disabled_creation): New.
11523 Call it.
41447f92 11524
35669430
DE
115252009-01-28 Doug Evans <dje@google.com>
11526
11527 * gdb.arch/amd64-disp-step.S: New file.
11528 * gdb.arch/amd64-disp-step.exp: New file.
11529 * gdb.arch/i386-disp-step.S: New file.
11530 * gdb.arch/i386-disp-step.exp: New file.
11531
09f00d9a
PM
115322009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
11533
11534 * gdb.base/find.exp: Set newline variable
11535 using quotes instead of braces to fix cygwin failures.
11536
1e8fb976
PA
115372009-01-23 Pedro Alves <pedro@codesourcery.com>
11538
11539 * gdb.base/radix.exp: Add tests to ensure that that set
11540 input-radix 0 and set output-radix 0 are really rejected.
11541
da061712
PA
115422009-01-23 Pedro Alves <pedro@codesourcery.com>
11543
11544 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
11545 copyright years.
11546
dd7e2d2b
PA
115472009-01-23 Pedro Alves <pedro@codesourcery.com>
11548
11549 PR gdb/9664:
11550 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
11551
392452f6
PA
115522009-01-22 Pedro Alves <pedro@codesourcery.com>
11553
11554 PR c++/9631:
11555 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
11556
8653e71c
PM
115572009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
11558
11559 * gdb.server/file-transfer.exp: Use EXEEXT variable for
11560 binfile definition to fix Windows OS failure.
11561
a12cc160
DJ
115622009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11563
11564 PR gdb/9346
11565 * gdb.base/interrupt.c (sigint_handler): New.
11566 (main): Install a SIGINT handler if SIGNALS is defined. Exit
11567 on error.
11568 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
11569 Test "signal SIGINT".
11570
b89667eb
DE
115712009-01-19 Doug Evans <dje@google.com>
11572
11573 * gdb.base/break.exp: Update expected gdb output.
11574 * gdb.base/sepdebug.exp: Ditto.
11575 * gdb.mi/mi-syn-frame.exp: Ditto.
11576 * gdb.mi/mi2-syn-frame.exp: Ditto.
11577 * gdb.base/call-signal-resume.exp: New file.
11578 * gdb.base/call-signals.c: New file.
11579 * gdb.base/unwindonsignal.exp: New file.
11580 * gdb.base/unwindonsignal.c: New file.
11581 * gdb.threads/interrupted-hand-call.exp: New file.
11582 * gdb.threads/interrupted-hand-call.c: New file.
11583 * gdb.threads/thread-unwindonsignal.exp: New file.
11584
adb483fe
DJ
115852009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
11586
11587 * gdb.base/define.exp: Test defining and hooking prefix commands.
11588 * gdb.python/python.exp: Update test for "show user" output.
11589
60023297
JK
115902009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11591
11592 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
11593 now the output exactly, using less wildcards. Expect also the output
11594 of gfortran-4.3. Update for the f-valprint.c modification from
11595 2008-04-22.
11596 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
11597 Remove gdb_test test names where matching the command.
11598
ccc57cf9
PA
115992009-01-01 Pedro Alves <pedro@codesourcery.com>
11600
11601 PR breakpoints/9681:
11602 * gdb.base/watchpoint.exp: Add regression test.
11603
c7a6ca08
PA
116042008-12-31 Pedro Alves <pedro@codesourcery.com>
11605
11606 * gdb.threads/attach-into-signal.exp: Don't use
11607 gdb_suppress_entire_file.
11608 * gdb.threads/attach-stopped.exp: Ditto.
11609 * gdb.threads/attachstop-mt.exp: Ditto.
11610
3a031f65
PA
116112008-12-31 Pedro Alves <pedro@codesourcery.com>
11612
11613 PR gdb/8812:
11614 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
11615
09e6485f
PA
116162008-12-29 Pedro Alves <pedro@codesourcery.com>
11617
11618 PR gdb/7536:
11619 * gdb.base/radix.exp: Add tests to ensure invalid input radices
11620 and unsupported output radices are really rejected.
11621
0cd53049
JK
116222008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11623
11624 * gdb.cp/punctuator.exp: Backslash the '$' signs.
11625
ba163c7e
TT
116262008-12-22 Tom Tromey <tromey@redhat.com>
11627
11628 * gdb.cp/punctuator.exp: New file.
11629
6f4de6c9
JK
116302008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11631
11632 * gdb.base/completion.exp (Completing non-existing component): New test.
11633
0f34d0b4
JK
116342008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11635
11636 Fix for PR gdb/8648.
11637 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
11638 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
11639 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
11640 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
11641
db2ad4c3
JK
116422008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11643
11644 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
11645
bb5ef15e
DP
116462008-12-16 Christophe Lyon <christophe.lyon@st.com>
11647
11648 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
11649 compiler actually generate code at the expected line number.
11650
90142adc
JZ
116512008-12-15 Jie Zhang <jie.zhang@analog.com>
11652
11653 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
11654
fad6eecd
TT
116552008-12-12 Tom Tromey <tromey@redhat.com>
11656
11657 * gdb.base/commands.exp (redefine_hook_test): New proc.
11658 Call it.
11659
17c8aaf5
TT
116602008-12-11 Tom Tromey <tromey@redhat.com>
11661
11662 * gdb.base/macscp.exp: New regression test.
11663
7c8adf68
TT
116642008-12-11 Tom Tromey <tromey@redhat.com>
11665
11666 * gdb.base/macscp.exp: Print "address.addr".
11667 * gdb.base/macscp1.c (struct outer): New struct.
11668 (address): New global.
11669
b05dcbb7
TT
116702008-12-09 Tom Tromey <tromey@redhat.com>
11671
11672 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
11673 Call it.
11674
2d476de1
DE
116752008-12-04 Doug Evans <dje@google.com>
11676
11677 * gdb.server/ext-run.exp: Relax regexp for init program.
11678
87bdc959
TG
116792008-12-03 Tristan Gingold <gingold@adacore.com>
11680
11681 * gdb.base/macscp.exp: Generate an object file during compilation
11682 to work around Darwin dsymutil limitations.
11683
e0740f77
JK
116842008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11685
11686 Test resolving external references to TLS variables.
11687 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
11688 FILE2_THREAD_LOCAL.
11689 (testfile2, srcfile2): New variables.
11690 * gdb.threads/tls.c (file2_thread_local)
11691 (function_referencing_file2_thread_local): New.
11692 * gdb.threads/tls2.c: New file.
11693
67f0aac5
JB
116942008-11-28 Joel Brobecker <brobecker@adacore.com>
11695
11696 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
11697 rather than integer, as integer might not be big enough when
11698 on 64bit targets.
67f0aac5 11699
c332165e
JG
117002008-11-27 Jerome Guitton <guitton@adacore.com>
11701
11702 * gdb.cp/formatted-ref.exp: Add equality test.
11703 * gdb.ada/formatted_ref.exp: Ditto.
11704
fc9b693c
JK
117052008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11706
11707 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
11708 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
11709
a9c64011
AS
117102008-11-20 Andreas Schwab <schwab@suse.de>
11711
11712 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
11713 matching syscall entry point.
11714 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11715 (tcatch_vfork_then_child_follow): Likewise. Finish through
11716 vfork even if we stopped at the syscall trampoline.
11717
e2fd701e
DE
117182008-11-20 Doug Evans <dje@google.com>
11719
11720 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
11721
69abc51c
TJB
117222008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
11723
11724 * gdb.arch/ppc-dfp.exp: New file.
11725 * gdb.arch/ppc-dfp.c: New file.
11726
c14c28ba
PP
117272008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11728
11729 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 11730
2e74121d
DE
117312008-11-17 Doug Evans <dje@google.com>
11732
11733 * gdb.mi/mi-syn-frame.exp: Update expected output.
11734 * gdb.mi/mi2-syn-frame.exp: Update expected output.
11735
66bb093b
VP
117362008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11737
11738 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
11739 "thread N" results in =thread-selected.
11740 * lib/mi-support (mi_run_cmd, mi_expect_stop)
11741 (mi_send_resuming_command_raw): Be prepared for
11742 =thread-selected.
11743
3d043ef6
VP
117442008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11745
a9c64011
AS
11746 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
11747 * lib/mi-support.exp: Likewise.
3d043ef6 11748
808104c8
JB
117492008-11-16 Joel Brobecker <brobecker@adacore.com>
11750
11751 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
11752 commands from the expected output for "help catch".
11753
00b22944
JB
117542008-11-15 Joel Brobecker <brobecker@adacore.com>
11755
11756 * gdb.ada/int_deref.exp: New testcase.
11757
59669435
TT
117582008-11-14 Nick Roberts <nickrob@snap.net.nz>
11759
11760 * gdb.mi/gdb2549.exp: New file.
11761
de04a248
DE
117622008-11-11 Doug Evans <dje@google.com>
11763
11764 * gdb.base/callexit.exp: New file.
11765 * gdb.base/callexit.c: New file.
11766
6b8ce727
DE
117672008-11-10 Doug Evans <dje@google.com>
11768
11769 * lib/gdb.exp (GDBFLAGS): Move -nx ...
11770 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
11771 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
11772 (default_gdb_start,default_gdb_exit): Ditto.
11773 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
11774 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
11775 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
11776 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
11777 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
11778 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
11779
1b14b8aa
AS
117802008-11-03 Andreas Schwab <schwab@suse.de>
11781
11782 * gdb.base/hashline2.exp: Fix typo.
11783 * gdb.base/hashline3.exp: Likewise.
11784
f3134b88
TT
117852008-10-30 Tom Tromey <tromey@redhat.com>
11786
11787 * gdb.base/pointers.exp: Add test.
11788 * gdb.base/pointers.c (k, S): New typedefs.
11789 (instance): New global.
11790
c2226152
AS
117912008-10-30 Andreas Schwab <schwab@suse.de>
11792
11793 * gdb.base/args.exp: Add tests for newlines.
11794
462f405c
JB
117952008-10-30 Joel Brobecker <brobecker@adacore.com>
11796
11797 gdb.base/foll-exec.exp: Update the expected output of a couple
11798 of "info breakpoints" tests.
11799
79a45b7d
TT
118002008-10-28 Tom Tromey <tromey@redhat.com>
11801
11802 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
11803
adc13a14
PA
118042008-10-24 Pedro Alves <pedro@codesourcery.com>
11805
11806 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
11807 gdb_start_cmd.
11808 Use runto_main before any test that requires execution.
11809
252fbfc8
PA
118102008-10-23 Pedro Alves <pedro@codesourcery.com>
11811
11812 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
11813 instead of SIGINT.
11814
28148e3d
JB
118152008-10-22 Joel Brobecker <brobecker@adacore.com>
11816
11817 * gdb.base/completion.exp: Update expected output following
11818 the addition of the "info tasks" command.
11819
c209f847
TT
118202008-10-22 Tom Tromey <tromey@redhat.com>
11821
11822 * gdb.base/exprs.exp (test_expr): Add test for string
11823 concatenation.
11824
f177e350
PA
118252008-10-19 Pedro Alves <pedro@codesourcery.com>
11826
11827 * configure.ac: Output gdb.python/Makefile.
11828 * configure: Regenerate.
11829 * gdb.python/Makefile.in: New.
11830
cce89356
JB
118312008-10-16 Joel Brobecker <brobecker@adacore.com>
11832
11833 * gdb.base/foll-fork.exp: Adjust the expected output to match
11834 the new description for fork/vfork catchpoints in the "info
11835 breakpoints" output.
11836
176d289d
TJB
118372008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11838
11839 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
11840
a08702d6
TJB
118412008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11842
11843 * gdb.python/python-value.c: New file.
11844 * gdb.python/python-value.exp: New file.
11845
1c5cfe86
PA
118462008-10-15 Pedro Alves <pedro@codesourcery.com>
11847
11848 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
11849
5a98ad69
DP
118502008-10-15 Denis Pilat <denis.pilat@st.com>
11851
41702f1b 11852 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 11853
dcb1a1e2
TT
118542008-10-09 Tom Tromey <tromey@redhat.com>
11855
11856 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
11857 'fprintf' and 'stderr'.
11858
9124fe48
JB
118592008-10-07 Joel Brobecker <brobecker@adacore.com>
11860
11861 * gdb.ada/ref_tick_size.exp: New testcase.
11862
45452591
DE
118632008-10-06 Doug Evans <dje@google.com>
11864
11865 * gdb.dwarf2/dw2-cu-size.exp: New file.
11866 * gdb.dwarf2/dw2-cu-size.S: New file.
11867
11868 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
11869 .Ltype_int for clarity.
11870
4fc5b208
PP
118712008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11872
11873 PR gdb/2384:
11874 * gdb.cp/gdb2384.exp: Extended to test more cases.
11875 * gdb.cp/gdb2384.cc: Likewise.
11876 * gdb.cp/gdb2384-base.h: Likewise.
11877 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 11878
d78df370
JK
118792008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11880
11881 * gdb.base/maint.exp (maint print type): Remove printing
11882 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
11883
9a044a89
TT
118842008-09-30 Tom Tromey <tromey@redhat.com>
11885
11886 * gdb.base/macscp.exp: Add completion tests.
11887 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
11888 (TWENTY_THREE): Likewise.
11889 (FORTY_EIGHT): Likewise.
11890
506800a9
TT
118912008-09-30 Tom Tromey <tromey@redhat.com>
11892
11893 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
11894 everywhere.
11895 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
11896
1a6f01b5
JK
118972008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11898
11899 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
11900 testcase is derived from. Fix racy dependency on an expected PID
11901 number. No longer support the testcase on Linux kernel 2.4.x.
11902
2fae03e8
TT
119032008-09-27 Tom Tromey <tromey@redhat.com>
11904
11905 * gdb.base/macscp.exp: Add tests for stringification, splicing,
11906 and varargs.
11907
1ad15515
PA
119082008-09-22 Pedro Alves <pedro@codesourcery.com>
11909
11910 * lib/mi-support.exp (mi_expect_interrupt): New.
11911 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
11912 from gdb.mi/mi-nonstop.exp.
11913 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
11914 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
11915 lib/mi-support.exp.
11916 Use mi_check_thread_states throughout. Avoid ".*" and do not
11917 require an anchor after -exec-run.
11918
d0b76dc6
DJ
119192008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
11920
11921 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
11922 stop is pending. Avoid ".*" when two stops are pending.
11923 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
11924 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
11925 newlines in fullnames.
11926 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
11927 (mi_expect_stop): Update comments. Only anchor in sync mode.
11928 Do not match newlines.
11929 (mi_send_resuming_command_raw): Always return status.
11930 (mi_get_stop_line): Do not match more than one line by accident.
11931 Only anchor in sync mode.
11932 (mi_run_inline_test): If -exec-next fails, give up.
11933
9990c830
UW
119342008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11935
11936 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
11937 on SPU.
11938
ebcf6f00
JB
119392008-09-10 Joel Brobecker <brobecker@adacore.com>
11940
11941 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
11942
b6db24e5
JB
119432008-09-10 Joel Brobecker <brobecker@adacore.com>
11944
11945 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
11946 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11947 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
11948 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11949 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
11950 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
11951 gdb.ada/interface.exp, gdb.ada/null_array.exp,
11952 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11953 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11954 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11955 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
11956 Include the "= " sequence in the expected output of print tests.
11957
2bf448e0
JB
119582008-09-10 Joel Brobecker <brobecker@adacore.com>
11959
11960 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
11961 description for boolean types.
11962
d51fd4c8
PA
119632008-09-09 Pedro Alves <pedro@codesourcery.com>
11964
11965 * gdb.base/hook-stop-continue.c: New.
11966 * gdb.base/hook-stop-continue.exp: New.
11967
694182d2
DJ
119682008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11969
11970 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
11971
3b8a7fc0
JG
119722008-09-08 Jerome Guitton <guitton@adacore.com>
11973
11974 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
11975 (stack_check_probe_2, stack_check_probe_loop_1)
11976 (stack_check_probe_loop_2): New functions.
11977 (main): Add call to these new functions.
11978 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
11979 functions, check that the breakpoint is inserted at the appropriate
11980 location.
11981 (insert_breakpoint): Slightly refine this procedure so that it can
11982 be called several times in the test.
11983
96cc0ae8
JG
119842008-09-08 Jerome Guitton <guitton@adacore.com>
11985
11986 * gdb.base/stack-checking.c: New file.
11987 * gdb.base/stack-checking.exp: New file.
11988
1f08b409
TJB
119892008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11990
11991 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
11992 * gdb.arch/altivec-regs.exp: Likewise.
11993 * gdb.arch/vsx-regs.exp: Likewise.
11994
3099e1c4
TJB
119952008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11996
11997 * gdb.arch/ppc-fp.exp: New file.
11998 * gdb.arch/ppc-fp.c: New file.
11999
cc69bfc1
PP
120002008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12001
12002 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
12003 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 12004
b02a33db
MS
120052008-09-04 Michael Snyder <msnyder@vmware.com>
12006
12007 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
12008 as "at" (for non-debug functions such as _start).
12009
2992cbe0
UW
120102008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12011
12012 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
12013 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
12014 software watchpoints.
12015 * gdb.base/watch_thread_num.exp: Likewise.
12016
514f746b
AR
120172008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
12018
12019 * gdb.arch/i386-bp_permanent.exp: New test.
12020
876cecd0
TT
120212008-08-24 Tom Tromey <tromey@redhat.com>
12022
12023 * gdb.base/maint.exp: Update "maint print type".
12024
80f73d71
VP
120252008-08-21 Vladimir Prus <vladimir@codesourcery.com>
12026
12027 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
12028 support. Adjust the order of "*running" notifications.
12029 * gdb.mi/non-stop.c: Don't cast from int to void* and
12030 back.
12031
d9c78d7d
MK
120322008-08-20 Mark Kettenis <kettenis@gnu.org>
12033
12034 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
12035 expect to find it in the "info frame" output.
12036
97a2d1d3
DJ
120372008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
12038
12039 * gdb.base/interp.exp: Always consume both prompts.
12040
b96e2927
PA
120412008-08-20 Pedro Alves <pedro@codesourcery.com>
12042
12043 * gdb.base/pending.exp: Test pending breakpoints without symbols
12044 loaded.
12045
8cf6e61a
VP
120462008-08-19 Vladimir Prus <vladimir@codesourcery.com>
12047
12048 * lib/mi-support.exp (mi_expect_stop): Produce
12049 more details on failures.
12050 * gdb.mi/mi-nonstop.exp: New.
12051 * gdb.mi/non-stop.c: New.
12052
c6ebd6cf
VP
120532008-08-19 Vladimir Prus <vladimir@codesourcery.com>
12054
a9c64011
AS
12055 * gdb.mi/mi-async.exp: Use 'set target-async'.
12056 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 12057
46a9b8ed
DJ
120582008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
12059
12060 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
12061
44feb3ce
TT
120622008-08-17 Tom Tromey <tromey@redhat.com>
12063
12064 * gdb.base/help.exp (help catch): Rewrite.
12065
311a4e6b
TJB
120662008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
12067
12068 * gdb.base/define.exp: Test indented command documentation.
12069 * gdb.python/python.exp: Test indented multi-line command.
12070
604c2f83
LM
120712008-08-15 Luis Machado <luisgpm@br.ibm.com>
12072
12073 * testsuite/gdb.arch/vsx-regs.c: New source file.
12074 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
12075 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
12076
886a217c
TT
120772008-08-14 Tom Tromey <tromey@redhat.com>
12078
12079 * gdb.base/macscp.exp: Add regression test for "macro define" or
12080 "macro undef" with no arguments.
12081
c814a4f3
PP
120822008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12083
12084 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 12085
12ab8a60
UW
120862008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12087
12088 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
12089
d57a3c85
TJB
120902008-08-06 Tom Tromey <tromey@redhat.com>
12091
12092 * gdb.python/python.exp: New file.
12093
c7b778ff
JK
120942008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12095
12096 Fix for PR gdb/1543.
12097 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
12098 $LOCATION.
12099 (location): New variable.
12100 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
12101 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
12102 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
12103 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
12104 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
12105 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
12106 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
12107 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
12108 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
12109 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
12110 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
12111 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
12112 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
12113 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
12114 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
12115 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
12116 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
12117 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
12118 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
12119 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
12120 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
12121 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
12122 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
12123 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
12124 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
12125 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
12126 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
12127 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
12128 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
12129 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
12130 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
12131 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
12132 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
12133 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
12134 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
12135 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
12136 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
12137 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
12138 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
12139 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
12140 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
12141 gdb.base/type-opaque.exp, gdb.base/until.exp,
12142 gdb.base/value-double-free.c, gdb.base/varargs.exp,
12143 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
12144 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
12145 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12146 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
12147 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
12148 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12149 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12150 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12151 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
12152 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
12153 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
12154 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
12155 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
12156 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
12157 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
12158 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
12159 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
12160 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
12161 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
12162 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12163 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
12164 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
12165 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
12166 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12167 gdb.pascal/types.exp, gdb.stabs/weird.exp,
12168 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
12169 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
12170 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
12171 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
12172 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
12173 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
12174 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12175 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12176 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12177 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12178 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12179 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
12180 lib/mi-support.exp, lib/trace-support.exp: Remove reference
12181 to bug-gdb@prep.ai.mit.edu .
12182
5e06a3d1
VP
121832008-07-31 Vladimir Prus <vladimir@codesourcery.com>
12184
12185 * lib/mi-support.exp (mi_load_shlibs): New.
12186 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
12187
9d81d21b
VP
121882008-07-30 Vladimir Prus <vladimir@codesourcery.com>
12189
12190 * lib/mi-support.exp (get_mi_thread_list)
12191 (check_mi_and_console_threads): New, moved from ...
12192 * gdb.mi/mi-pthread.exp: ...here.
12193 * gdb.mi/gdb669.exp (get_mi_thread_list)
12194 (check_mi_and_console_threads): Delete.
12195 * gdb.mi/mi2-pthread.exp: Likewise.
12196
bae98fe0
TT
121972008-07-28 Tom Tromey <tromey@redhat.com>
12198
12199 * Makefile.in (just-check): Remove. Move body to...
12200 (check): ... here.
12201
57380f4e
DJ
122022008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12203
12204 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
12205 Add a test for duplicated SIGINTs.
12206
e09490f1
DJ
122072008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12208
12209 * gdb.threads/schedlock.exp (get_args): Update to work for any
12210 value of NUM.
12211 (Top level): Report the number of threads that did not resume.
12212
6387b45f
DJ
122132008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12214
12215 * gdb.dwarf2/dw2-compressed.S: Also define __start.
12216
62f64ff2
DJ
122172008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12218
12219 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
12220 non-MI prompt.
12221
fa8de41e
TT
122222008-07-26 Tom Tromey <tromey@redhat.com>
12223
12224 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
12225 (function_struct, function_struct_ptr): New globals.
12226 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
12227 function pointer in a struct.
12228
ccb3ac8a
TT
122292008-07-26 Tom Tromey <tromey@redhat.com>
12230
12231 * gdb.base/macscp.exp: Add test for macro lexing bug.
12232
d7d9f01e
TT
122332008-07-18 Tom Tromey <tromey@redhat.com>
12234
12235 * gdb.base/macscp.exp: Add macro tests.
12236
9bf07184
PP
122372008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12238
12239 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
12240
becf6477
PP
122412008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12242
12243 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
12244
0709f7d3
PP
122452008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
12246
12247 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 12248
7093c834
PP
122492008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12250
12251 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 12252
b432ffe3
JK
122532008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12254
12255 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
12256
b1a268e5
VP
122572008-07-12 Vladimir Prus <vladimir@codesourcery.com>
12258
12259 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
12260
e2995f8e
KB
122612008-07-11 Kevin Buettner <kevinb@redhat.com>
12262
12263 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
12264 of regexp to account for changes made to GDB in the printing of
12265 byte vectors.
12266
14032a66
TT
122672008-07-11 Tom Tromey <tromey@redhat.com>
12268
12269 * gdb.base/completion.exp: Add 'help' completion test.
12270
981505ef
JK
122712008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12272
12273 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
12274
10568435
JK
122752008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12276
12277 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
12278
4487aabf
PA
122792008-07-09 Pedro Alves <pedro@codesourcery.com>
12280
12281 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
12282
a4a9b1c4
PA
122832008-07-09 Pedro Alves <pedro@codesourcery.com>
12284
12285 * gdb.base/fullname.exp: Restore pwd if compiling failed.
12286
3c3185ac
JK
122872008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12288
12289 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
12290
7ebd49dc
VP
122912008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12292
12293 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
12294 previous commit. Add a comment.
12295
84e46146
PA
122962008-06-28 Pedro Alves <pedro@codesourcery.com>
12297
12298 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
12299
0f8d4a2f
VP
123002008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12301
12302 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
12303
f747e0ce
PA
123042008-06-27 Pedro Alves <pedro@codesourcery.com>
12305
12306 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
12307 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
12308 compiling an executable, link in an object that forces unbuffered
12309 output.
12310 * lib/set_unbuffered_mode.c: New file.
12311
734a5c36
JK
123122008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12313
12314 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
12315
a2840c35
VP
123162008-06-25 Vladimir Prus <vladimir@codesourcery.com>
12317
a9c64011
AS
12318 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
12319 mi_expect_stop.
12320 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
12321 Demand that *running is output.
12322 (detect_async): Perform checking every time.
12323 (mi_send_resuming_command): Extract everything into...
12324 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
12325 (mi_expect_stop): Don't accept any output before *stopped.
12326
6ae37fef
VP
123272008-06-13 Vladimir Prus <vladimir@codesourcery.com>
12328
12329 Robustify mi-simplerun.
a9c64011
AS
12330 * gdb.mi/basics.c (main): Add a call to sleep.
12331 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
12332 * gdb.mi/mi2-cli.exp: Likewise.
12333 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 12334
b4aa76f0 123352008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
12336
12337 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
12338
e1ac3328
VP
123392008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12340
a9c64011
AS
12341 * gdb.mi/mi-console.exp: Adjust.
12342 * gdb.mi/mi-syn-frame.exp: Adjust.
12343 * gdb.mi/mi2-console.exp: Adjust.
12344 * gdb.mi/mi2-syn-frame.exp: Adjust.
12345 * lib/mi-support.exp (mi_run_cmd): Adjust.
12346 (mi_send_resuming_command): Adjust.
e1ac3328 12347
f7f9a841
VP
123482008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12349
12350 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
12351 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
12352 testing of stopped.
12353 * gdb.mi/mi2-syn-frame.exp: Likewise.
12354 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
12355 (async, detect_async): New.
12356 (mi_expect_stop, mi_continue_to_line): Adjust expectation
12357 depending on if we're running in sync or async mode.
f7f9a841 12358
37cd5d19
TT
123592008-06-09 Tom Tromey <tromey@redhat.com>
12360
12361 * gdb.base/completion.exp: New tests for field name completion
12362 with spaces, and field name completion with '->'.
12363
65d12d83
TT
123642008-06-06 Tom Tromey <tromey@redhat.com>
12365
12366 * gdb.base/break1.c (struct some_struct): New struct.
12367 (values): New global.
12368 * gdb.base/completion.exp: Add field name completion test.
12369
ebfe2e3f
PP
123702008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12371
12372 * gdb.cp/call-c.exp: Test for incorrect handling of reference
12373 to pointer.
12374 * gdb.cp/call-c.cc: Likewise.
12375
bcf6fc3a
NR
123762008-06-06 Nick Roberts <nickrob@snap.net.nz>
12377
12378 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
12379 annotation.
12380
49fd4a42 123812008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 12382 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
12383
12384 * gdb.threads/execl.c, gdb.threads/execl1.c,
12385 gdb.threads/execl.exp: New tests.
a9c64011 12386
8a34ac3f
AR
123872008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
12388 Daniel Jacobowitz <dan@codesourcery.com>
12389
12390 * gdb.cp/exception.exp: Activate test, make it work with pending
12391 catchpoints.
12392
86ae69ef
JK
123932008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12394
12395 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
12396
f7f9ae2c
VP
123972008-05-28 Vladimir Prus <vladimir@codesourcery.com>
12398
a9c64011
AS
12399 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
12400 now printed.
12401 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 12402
2a2d4dc3
AS
124032008-05-27 Andreas Schwab <schwab@suse.de>
12404
12405 * gdb.base/frame-args.exp: Handle arguments that are optimized
12406 out.
12407
5099e4d9
LM
124082008-05-26 Luis Machado <luisgpm@br.ibm.com>
12409
12410 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
12411 quiet for ppc32 and group options into a single variable.
12412
d9c36a91
JB
124132008-05-23 Joel Brobecker <brobecker@adacore.com>
12414
12415 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
12416 of zero-size elements.
12417 * gdb.ada/null_array.exp: Test printing this new array.
12418
103a8671
JK
124192008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12420
12421 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
12422
07a4cc1a 124232008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
12424
12425 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
12426 of the "finish" command.
12427
55f996a7
NR
124282008-05-21 Nick Roberts <nickrob@snap.net.nz>
12429
12430 * gdb.base/annota1.exp: Test for new annotation.
12431
907fc202
UW
124322008-05-16 Pedro Alves <pedro@codesourcery.com>
12433
12434 * gdb.base/fixsection.exp: New file.
12435 * gdb.base/fixsection0.c: New file.
12436 * gdb.base/fixsection1.c: New file.
12437
e8f97270
UW
124382008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12439
12440 * gdb.base/annota1.exp: Accept printf@... in place of printf.
12441 * gdb.base/annota3.exp: Likewise.
12442
ac0bb574
NF
124432008-05-13 Nathan Froyd <froydnj@codesourcery.com>
12444
12445 * gdb.base/watch_thread_num.exp: Don't run tests that require
12446 watchpoints if the target doesn't support them.
12447
6fadd07a
DE
124482008-05-12 Doug Evans <dje@google.com>
12449
12450 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
12451
6e9a4a30
JB
124522008-05-09 Joel Brobecker <brobecker@adacore.com>
12453
12454 * gdb.ada/assign_1.exp: New testcase.
12455
08388c79
DE
124562008-05-09 Doug Evans <dje@google.com>
12457
a3c83fae
DE
12458 * gdb.base/find.exp: New file.
12459 * gdb.base/find.c: New file.
08388c79 12460
bd5ddfe8
DJ
124612008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
12462
12463 * gdb.base/commands.exp (watchpoint_command_test): Handle
12464 gdb,no_hardware_watchpoints.
12465 * gdb.base/float.exp: Allow ARM targets without floating point.
12466 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
12467
b5dd68e2 124682008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 12469 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
12470
12471 * gdb.ada/lang_switch: New test program.
12472 * gdb.ada/lang_switch.exp: New testcase.
12473
382d13d1
DE
124742008-05-05 Doug Evans <dje@google.com>
12475
12476 * gdb.base/help.exp (disassemble): Update expected help text.
12477
9dd789d0
PA
124782008-05-04 Pedro Alves <pedro@codesourcery.com>
12479
12480 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
12481
611c83ae
PA
124822008-05-04 Pedro Alves <pedro@codesourcery.com>
12483
12484 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
12485 different times.
12486
ff013f42
JK
124872008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12488
12489 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
12490 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
12491 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
12492 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
12493
96dff6a2
VP
124942008-05-04 Vladimir Prus <vladimir@codesourcery.com>
12495
12496 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
12497 notification to appear.
12498
55cd6f92
DJ
124992008-05-04 Daniel Jacobowitz <dan@debian.org>
12500
12501 * gdb.base/fullname.c: New file.
12502 * gdb.base/fullname.exp: New file.
12503 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
12504
d705c43c
PA
125052008-05-03 Pedro Alves <pedro@codesourcery.com>
12506
12507 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
12508 expressions with macros.
12509
333222e1
JK
125102008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12511
12512 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
12513
5ac01682
DJ
125142008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
12515
12516 * gdb.base/completion.exp: Handle lack of other symbols beginning
12517 with "a".
12518
12519 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
12520
237fc4c9
PA
125212008-05-02 Jim Blandy <jimb@codesourcery.com>
12522
12523 * gdb.asm/asmsrc1.s: Add scratch space.
12524
ed5e9466
DJ
125252008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12526 Daniel Jacobowitz <dan@codesourcery.com>
12527
12528 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
12529 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
12530 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
12531
b39cc962
DJ
125322007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
12533
12534 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
12535
36d520f5
JB
125362008-05-01 Joel Brobecker <brobecker@adacore.com>
12537
12538 * gdb.base/info-target.exp: New testcase.
12539
8d4e3071
DJ
125402008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12541
12542 * gdb.cp/hang.exp: Use .cc instead of .C.
12543 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
12544 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
12545
6f3f3097
DJ
125462008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12547
12548 * gdb.base/gdb1250.exp: Remove perror.
12549 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
12550
5550a914
PA
125512008-04-30 Pedro Alves <pedro@codesourcery.com>
12552
12553 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
12554 .2byte.
12555
d848e687
DJ
125562008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
12557
12558 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
12559 (maybe_kfail): New.
12560
93b5768b
PA
125612008-04-25 Pedro Alves <pedro@codesourcery.com>
12562
12563 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
12564
721c02de
VP
125652008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12566
a9c64011
AS
12567 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
12568 * gdb.mi/mi2-syn-frame.exp: Likewise.
12569 * lib/mi-support.exp: Likewise.
721c02de 12570
74960c60
VP
125712008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12572
12573 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
12574 to specify regexp for the location to stop at.
12575 * gdb.base/break-always.c: New.
12576 * gdb.base/break-always.exp: New.
12577
d24317b4
VP
125782008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12579
12580 * lib/mi-support.exp (mi_runto_helper): Adjust
12581 for the original-location field.
12582 (mi_create_breakpoint, mi_list_breakpoints): New.
12583 * gdb.mi/mi-break.exp: Adjust.
12584 * gdb.mi/mi2-break.exp: Adjust.
12585 * gdb.mi/mi-pending.exp: Adjust.
12586 * gdb.mi/mi-simplerun.exp: Adjust.
12587 * gdb.mi/mi2-simplerun.exp: Adjust.
12588 * gdb.mi/mi-syn-frame.exp: Adjust.
12589 * gdb.mi/mi2-syn-frame.exp: Adjust.
12590 * gdb.mi/mi-until.exp: Adjust.
12591 * gdb.mi/mi2-until.exp: Adjust.
12592 * gdb.mi/mi-var-display.exp: Adjust.
12593 * gdb.mi/mi2-var-display.exp: Adjust.
12594 * gdb.mi/mi-watch.exp: Adjust.
12595 * gdb.mi/mi2-watch.exp: Adjust.
12596
fdc59709 125972008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 12598
a9c64011
AS
12599 * aclocal.m4: Add override.m4.
12600 * configure: Regenerate.
fdc59709 12601
8e91f023
VP
126022008-04-19 Vladimir Prus <vladimir@codesourcery.com>
12603
12604 * gdb.mi/var-cmd.c (do_at_tests): Verify that
12605 '-var-update --all-values' reports new value even the type
12606 of a variable object has changed.
12607
233a11ab
CS
126082008-04-18 Craig Silverstein <csilvers@google.com>
12609
12610 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
12611 files.
d24317b4 12612
9c1137ad
JB
126132008-04-18 Joel Brobecker <brobecker@adacore.com>
12614
12615 * gdb.ada/atomic_enum: New test program.
12616 * gdb.ada/atomic_enum.exp: New testcase.
12617
66d0bbc7
DE
126182008-04-17 Doug Evans <dje@google.com>
12619
12620 * gdb.opt/Makefile.in: Fix whitespace.
12621
100906b0
UW
126222008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
12623
12624 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
12625
4584e32e
DE
126262008-04-17 Doug Evans <dje@google.com>
12627
12628 * gdb.base/hashline1.exp: New testcase.
12629 * gdb.base/hashline2.exp: New testcase.
12630 * gdb.base/hashline2.exp: New testcase.
12631
0a320680
PA
126322008-04-17 Pedro Alves <pedro@codesourcery.com>
12633
12634 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
12635
18ac113b
AR
126362008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
12637
12638 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
12639 temporary breakpoint to match "Temporary breakpoint".
12640 * gdb.base/break.exp (delete_breakpoints): Likewise.
12641 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
12642 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
12643 * gdb.base/display.exp: Likewise.
12644 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
12645 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
12646 * gdb.base/restore.exp (restore_tests): Likewise.
12647 * gdb.base/sepdebug.exp: Likewise.
12648 * gdb.base/watchpoint.exp: Likewise.
12649 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
12650 * gdb.mi/mi-pending.exp: Likewise.
12651 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
12652 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
12653 * gdb.mi/mi-var-cmd.exp: Likewise.
12654 * gdb.mi/mi-var-display.exp: Likewise.
12655 * gdb.mi/mi2-cli.exp: Likewise.
12656 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
12657 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
12658 * gdb.mi/mi2-var-display.exp: Likewise.
12659 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
12660 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
12661 new "disp" field.
a9c64011 12662 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
12663 reason. This is to support fix for PR2424.
12664
add38693
JK
126652008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12666
12667 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
12668
fcacd99f
VP
126692008-04-13 Vladimir Prus <vladimir@codesourcery.com>
12670
12671 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 12672 field. Add more floating varobj tests.
fcacd99f 12673 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
12674 field.
12675 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
12676 (main): Call do_at_tests.
12677 * lib/mi-support.exp (mi_create_floating_varobj)
12678 (mi_varobj_update_with_type_change): New.
fcacd99f 12679
de051565
MK
126802008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
12681
12682 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
12683 option of -var-evaluate-expression.
12684 * gdb.mi/mi2-var-display.exp: Likewise.
12685
dbc52822
VP
126862008-04-07 Vladimir Prus <vladimir@codesourcery.com>
12687
12688 Introduce test setup helpers.
a9c64011
AS
12689 * lib/gdb.exp (build_executable, clean_restart)
12690 (prepare_for_testing): New.
12691 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
12692 * gdb.base/return.exp: Likewise.
12693 * gdb.base/ending-run.exp: Likewise.
dbc52822 12694
473591da
NR
126952008-04-07 Nick Roberts <nickrob@snap.net.nz>
12696
12697 * gdb.mi/mi-async.exp: New test for asynchronous Machine
12698 Interface (MI) responses.
12699
2b2d9e11
VP
127002008-04-06 Vladimir Prus <vladimir@codesourcery.com>
12701
a9c64011
AS
12702 * gdb.cp/breakpoint.cc: New code to test conditions involving
12703 member variables.
12704 * gdb.cp/breakpoint.exp: Test condition involving member
12705 variables.
2b2d9e11 12706
bb378428
VP
127072008-04-05 Vladimir Prus <vladimir@codesourcery.com>
12708
12709 * lib/mi-support.exp (mi_expect_stop): New.
12710 (mi_run_cmd): Change the
12711 token. Use mi_send_resuming_command, use
12712 mi_expect_stop.
12713 (mi_execute_to_helper): Rename to mi_execute_to.
12714 (mi_send_resuming_command): Add more error patterns.
12715 (mi_wait_for_stop): Renamed to...
12716 (mi_get_stop_line): ...this.
12717 (mi_run_inline_test): Adjust.
12718
12719 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
12720 * gdb.mi/mi-console.exp: Likewise.
12721 * gdb.mi/mi-pending.exp: Likewise.
12722 * gdb.mi/mi-simplerun.exp: Likewise.
12723 * gdb.mi/mi-stack.exp: Likewise.
12724 * gdb.mi/mi-stepi.exp: Likewise.
12725 * gdb.mi/mi-syn-frame.exp: Add comment.
12726 * gdb.mi/mi-until.exp: Likewise.
12727 * gdb.mi/mi-var-display.exp: Likewise.
12728 * gdb.mi/mi-watch.exp: Likewise.
12729 * gdb.mi/mi2-cli.exp: Likewise.
12730 * gdb.mi/mi2-console.exp: Likewise.
12731 * gdb.mi/mi2-simplerun.exp: Likewise.
12732 * gdb.mi/mi2-stack.exp: Likewise.
12733 * gdb.mi/mi2-stepi.exp: Likewise.
12734 * gdb.mi/mi2-until.exp: Likewise.
12735 * gdb.mi/mi2-var-display.exp: Likewise.
12736 * gdb.mi/mi2-watch.exp: Likewise.
12737
62172bb9
UW
127382008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12739
12740 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
12741
12742 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
12743
a13e061a
PA
127442008-04-04 Pedro Alves <pedro@codesourcery.com>
12745
12746 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
12747 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
12748 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12749 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
12750 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
12751 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
12752 expect an mi error duplicated in stderr.
12753
eae06beb
JB
127542008-04-03 Joel Brobecker <brobecker@adacore.com>
12755
12756 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
12757 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
12758 Add a couple of tests that verify the behavior when the new setting
12759 is set to "cancel" and "all".
12760 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
12761 "ask" before we start the testing.
12762
79c6ced6
AR
127632008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
12764
12765 * gdb.cp/casts.cc: Add class reference variables.
12766 * gdb.cp/casts.exp: New test cases for up/down casting references.
12767
6c2d1a6b
MK
127682008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
12769
12770 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
12771 instead of beginning to make an extra test pass.
12772 * gdb.mi/mi2-var-display.exp: Likewise.
12773
55b411d9
MR
127742008-03-31 Maciej W. Rozycki <macro@mips.com>
12775
12776 * gdb.base/break.exp: Mark failures as such. Fix formatting.
12777
c6140da2
MD
127782008-03-31 Markus Deuling <deuling@de.ibm.com>
12779 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12780
12781 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
12782 value. Add xfail for older kernels.
12783
79732189
AR
127842008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
12785
12786 Bring mi-support in line with gdb.exp.
12787 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
12788 (mi_gdb_start): New function.
12789
33c3676e
MR
127902008-03-28 Maciej W. Rozycki <macro@mips.com>
12791
12792 * gdb.mi/mi-var-cmd.exp: Fix a typo.
12793
92e28119
VP
127942008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12795
12796 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
12797 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 12798
9e8e3afe
VP
127992008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12800
12801 * lib/mi-support.exp (mi_create_varobj_checked): New.
12802 (mi_list_varobj_children): Allow to check for a
12803 value.
12804 (mi_list_array_varobj_children): New.
12805
12806 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
12807 and mi_list_varobj_children, as opposed to hardcoding
12808 expected strings.
12809 * gdb.mi/gdb701.exp: Likewise.
12810 * gdb.mi/gdb792.exp: Likewise.
12811 * gdb.mi/mi-var-block.exp: Likewise.
12812 * gdb.mi/mi-var-cmd.exp: Likewise.
12813 * gdb.mi/mi-var-invalidate.exp: Likewise.
12814 * gdb.mi/mi2-var-block.exp: Likewise.
12815 * gdb.mi/mi2-var-child.exp: Likewise.
12816 * gdb.mi/mi2-var-cmd.exp: Likewise.
12817 * gdb.mi/mi2-var-display.exp: Likewise.
12818
9df50351
JK
128192008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12820
12821 Fix random false FAILs on i386.
12822 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
12823
31e5d73a
DJ
128242008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12825
12826 PR gdb/544
12827 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
12828
12f4afab
DJ
128292008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12830
12831 PR gdb/544
12832 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
12833
b562a0cb
DJ
128342008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12835
12836 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
12837 fixed PR gdb/544.
12838
17faa917
DJ
128392008-03-21 Pedro Alves <pedro@codesourcery.com>
12840
12841 * gdb.threads/fork-child-threads.exp: Test next over fork.
12842
6214f497
DJ
128432008-03-21 Chris Demetriou <cgd@google.com>
12844
12845 * gdb.base/break.exp (rbreak junk): New test for rbreak
12846 "Junk at end of arguments" issue.
12847
63092375
DJ
128482008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12849
12850 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
12851 *& to work on created array elements.
12852 (Top level): Test print $pc with a file. Test string operations
12853 without a target.
12854 * gdb.base/ptype.exp: Do not expect *& to work on created array
12855 elements.
12856
b21991b0
DJ
128572008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12858
12859 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12860 gdb.threads/staticthreads.exp: Update exit query.
12861
c4b347c7
SL
128622008-03-07 Sandra Loosemore <sandra@codesourcery.com>
12863
12864 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
12865
fa4727a6
DJ
128662008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
12867
12868 * gdb.base/watchpoint.c (global_ptr, func4): New.
12869 (main): Call func4.
12870 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
12871 (test_inaccessible_watchpoint): New.
12872
2f34202f
MR
128732008-02-29 Maciej W. Rozycki <macro@mips.com>
12874
12875 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
12876 select the largest.
12877
0d6ba1b1
DJ
128782008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12879
12880 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
12881 frames-invalid annotations.
12882
e691325a
PM
128832008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
12884
a9c64011 12885 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 12886
f85b5ecc
DE
128872008-02-27 Doug Evans <dje@google.com>
12888
12889 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
12890 for bug 1738.
12891 (breakpoint_to_handler_entry): Ditto.
12892
b40e7bf3
JB
128932008-02-27 Joel Brobecker <brobecker@adacore.com>
12894
12895 * gdb.base/ending-run.exp: Use the first line of code inside
12896 function body to test breakpoints.
12897 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
12898 location where the breakpoint is inserted when using the line
12899 where a function is declared. Fix typo in the description of
12900 one of the tests.
12901 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
12902
2faca73a
PM
129032008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12904
12905 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 12906 tests.
2faca73a 12907
6f439c36
PM
129082008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12909
12910 * gdb.base/args.exp: avoid same output for tests
12911 with single quotes.
12912
54e52265
VP
129132008-02-26 Vladimir Prus <vladimir@codesourcery.com>
12914
a9c64011
AS
12915 * gdb.base/annota1.exp: Adjust for 'info break'
12916 format changes.
12917 * gdb.base/annota3.exp: Likewise.
12918 * gdb.base/break.exp: Likewise.
12919 * gdb.base/condbreak.exp: Likewise.
12920 * gdb.base/pending.exp: Likewise.
12921 * gdb.base/sepdebug.exp: Likewise.
12922 * gdb.base/unload.exp: Likewise.
12923 * gdb.cp/ovldbreak.exp: Likewise.
12924 * gdb.mi/mi-pending.exp: Likewise.
54e52265 12925
897b09ca
DE
129262008-02-07 Doug Evans <dje@google.com>
12927
12928 * gdb.cp/mb-inline.exp: New.
12929 * gdb.cp/mb-inline.h: New.
12930 * gdb.cp/mb-inline1.cc: New.
12931 * gdb.cp/mb-inline2.cc: New.
12932
b1c32d35
PM
129332008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
12934
12935 * gdb.pascal/floats.pas: New test program.
12936 * gdb.pascal/floats.exp: New testcase.
12937
1a4ca44a
TJB
129382008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12939
12940 * gdb.base/callfuncs.c (t_float_many_args): New function.
12941 (t_double_many_args): New function.
12942 * gdb.base/callfuncs.exp: Add tests for exceeding float
12943 and double parameters passed through the stack.
12944
439048e8
JB
129452008-02-05 Joel Brobecker <brobecker@adacore.com>
12946
12947 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
12948 gdb.ada/complete/foo.adb: New files.
12949 * gdb.ada/complete.exp: New testcase.
12950
81fe8080
DE
129512008-02-03 Doug Evans <dje@google.com>
12952
301f0ecf
DE
12953 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
12954
81fe8080
DE
12955 * gdb.cp/gdb2384.exp: New file.
12956 * gdb.cp/gdb2384.cc: New file.
12957 * gdb.cp/gdb2384-base.h: New file.
12958 * gdb.cp/gdb2384-base.cc: New file.
12959
4b071aec
DE
129602008-02-02 Doug Evans <dje@google.com>
12961
12962 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
12963
61137ba6
JB
129642007-02-01 Joel Brobecker <brobecker@adacore.com>
12965
12966 * gdb.ada/sym_print_name: New test program.
12967 * gdb.ada/sym_print_name.exp: New testcase.
12968
129692007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
12970
12971 * gdb.ada/nested/hello.adb: New file.
12972 * gdb.ada/nested.exp: New testcase.
12973 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
12974
98deb0da
VP
129752008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12976
12977 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
12978 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
12979 don't cause future evaluations of function to report
12980 creation of internal breakpoints.
98deb0da 12981
723a2275
VP
129822008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12983
12984 * gdb.mi/mi-break.exp (test_error): New.
12985 Call it.
12986
fb546a2f
LM
129872008-01-31 Luis Machado <luisgpm@br.ibm.com>
12988
12989 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
12990 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
12991
2d8fd90a
PM
129922008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12993
12994 * gdb.pascal/integers.pas: New test program.
12995 * gdb.pascal/integers.exp: New testcase.
12996
a7fa0ded
PM
129972008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12998
12999 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
13000
5e1a1926
TJB
130012008-01-30 Luis Machado <luisgpm@br.ibm.com>
13002
13003 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
13004 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
13005
8d04f9f0
JB
130062008-01-30 Paul Hilfinger <hilfinger@adacore.com>
13007
13008 * gdb.ada/formatted_ref: New test program.
13009 * gdb.ada/formatted_ref.exp: New testcase.
13010
13011 * gdb.cp/formatted-ref.cc: New file.
13012 * gdb.cp/formatted-ref.exp: New testcase.
13013
ce75a98f
JB
130142008-01-30 Joel Brobecker <brobecker@adacore.com>
13015
13016 * gdb.base/ptype.exp: Add testing of "ptype $pc".
13017
e835f6bf
NR
130182008-01-30 Nick Roberts <nickrob@snap.net.nz>
13019
13020 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
13021 (test_file_list_exec_source_file): Update to new macro-info field.
13022
d118ef87
PH
130232008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
13024
13025 * gdb.ada/exprs: New test program.
13026 * gdb.ada/exprs.exp: New testcase.
13027
7d35ab09
TJB
130282008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13029
13030 * dfp-test.c (DELTA, DELTA_B): New definitions.
13031 (double_val1, double_val2, double_val3, double_val4, double_val5,
13032 double_val6, double_val7, double_val8, double_val9, double_val10,
13033 double_val11, double_val12, double_val13, double_val14, dec32_val1,
13034 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
13035 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
13036 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
13037 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
13038 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
13039 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
13040 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
13041 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
13042 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
13043 dec128_val16): New global variables.
13044 (decimal_dec128_align): New function.
13045 (decimal_mixed): Likewise.
13046 (decimal_many_args_dec32): Likewise.
13047 (decimal_many_args_dec64): Likewise.
13048 (decimal_many_args_dec128): Likewise.
13049 (decimal_many_args_mixed): Likewise.
13050 * dfp-test.exp: Add tests calling new inferior functions.
13051
2d717e4f
DJ
130522008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13053
13054 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
13055 gdb.server/ext-run.exp: New files.
13056 * lib/gdbserver-support.exp (gdbserver_download): New.
13057 (gdbserver_start): New. Update gdbserver expected
13058 output.
13059 (gdbserver_spawn): Use them.
13060 (gdbserver_start_extended): New.
13061
e85a822c
DJ
130622008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13063
13064 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
13065 Run on GNU/Linux.
13066 (do_exec_tests): Check for systems which do not support catchpoints.
13067 Do not match START.
13068 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
13069 Run on GNU/Linux. Enable verbose output.
13070 (check_fork_catchpoints): New.
13071 (explicit_fork_child_follow, catch_fork_child_follow)
13072 (tcatch_fork_parent_follow): Update expected messages.
13073 (do_fork_tests): Use check_fork_catchpoints.
13074 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
13075 Run on GNU/Linux. Enable verbose output.
13076 (check_vfork_catchpoints): New.
13077 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
13078 expected messages.
13079 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
13080
401ea829
JB
130812008-01-29 Jim Blandy <jimb@red-bean.com>
13082
13083 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
13084 host' errors.
13085 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
13086
aceaf3ad
JB
130872008-01-29 Jim Blandy <jimb@red-bean.com>
13088
13089 * gdb.threads/sigthread.c: Use barriers to ensure that
13090 child_thread and child_thread_two are always initialized before we
13091 start to use them.
13092
a5606eee
VP
130932008-01-29 Vladimir Prus <vladimir@codesourcery.com>
13094
13095 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
13096 * gdb.base/watchpoint-solib.c: New.
13097 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 13098
c55a82bb
PM
130992008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
13100
13101 * gdb.base/gdb1056.exp: Add unsigned integer test.
13102
0993fe05
DE
131032008-01-28 Doug Evans <dje@google.com>
13104
13105 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
13106
4fe42e7f
JB
131072008-01-27 Jim Blandy <jimb@codesourcery.com>
13108
c7a69933
JB
13109 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
13110
4fe42e7f
JB
13111 * gdb.base/expand-psymtabs.exp: Doc fix.
13112
5def8285
MK
131132008-01-26 Mark Kettenis <kettenis@gnu.org>
13114
13115 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
13116
5313c911
NR
131172008-01-24 Nick Roberts <nickrob@snap.net.nz>
13118
a9c64011 13119 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
13120 -var-set-format.
13121
93815fbf
VP
131222008-01-23 Chris Demetriou <cgd@google.com>
13123
13124 * gdb.threads/thread_events.c: New testcase source file.
13125 * gdb.threads/thread_events.exp: New testcase expect file.
13126
467a88ee
NR
131272008-01-23 Nick Roberts <nickrob@snap.net.nz>
13128
13129 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
13130
13131 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
13132 -var-set-format.
13133
d8f82aba
DJ
131342008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13135 Vladimir Prus <vladimir@codesourcery.com>
13136
13137 * gdb.base/float.exp: Allow missing floating point for m68k and
13138 PowerPC.
13139
60c46647
VP
131402008-01-22 Vladimir Prus <vladimir@codesourcery.com>
13141
13142 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
13143 ignore count.
13144 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
13145 * gdb.mi/mi-cli.exp: Adjust.
13146 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 13147
c7dd36a1
PA
131482008-01-17 Pedro Alves <pedro@codesourcery.com>
13149
13150 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
13151 and 'dummy_ptr' integer pointer. Initialize struct_declarations
13152 with dummy_ptr's address.
13153 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
13154 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
13155 all targets.
13156 * gdb.mi/mi2-var-child.exp: Likewise.
13157
39d5313e
JB
131582008-01-09 Joel Brobecker <brobecker@adacore.com>
13159
13160 * gdb.ada/null_array: New test program.
13161 * gdb.ada/null_array.exp: New testcase.
13162
0aea4bf3
LM
131632008-01-09 Luis Machado <luisgpm@br.ibm.com>
13164
13165 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
13166 with required float modifiers.
13167
0b354900
JB
131682008-01-08 Joel Brobecker <brobecker@adacore.com>
13169
13170 * gdb.ada/funcall_param: New test program.
13171 * gdb.ada/funcall_param.exp: New testcase.
13172
cdb7f5d4
JB
131732008-01-08 Joel Brobecker <brobecker@adacore.com>
13174
13175 * gdb.ada/arrayparam: New test program.
13176 * gdb.ada/arrayparam.exp: New testcase.
13177
88e2547f
JB
131782008-01-08 Joel Brobecker <brobecker@adacore.com>
13179
13180 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
13181 landed. Should also fix random failures in the test following it.
13182
f6867ce0
TJB
131832008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
13184
13185 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
13186 for expressions with decimal float values.
13187 (test_dfp_conversions): New function to test casts to and from
13188 decimal float types.
13189 Call test_dfp_conversions.
13190 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
13191 elements.
13192 (main): Initialize ds.float4 and ds.double8 elements.
13193 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
13194 string to new error message.
13195 (d64_set_tests): Likewise.
13196 (d128_set_tests): Likewise.
13197 Add tests for expressions with decimal float variables. Add tests for
13198 conversions to and from decimal float types.
13199
f9c11282
JB
132002008-01-05 Joel Brobecker <brobecker@adacore.com>
13201
13202 * gdb.ada/packed_tagged/comp_bug.adb: New file.
13203 * gdb.ada/packed_tagged.exp: New testcase.
13204
0ecbca72
JB
132052008-01-04 Joel Brobecker <brobecker@adacore.com>
13206
13207 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
13208 gdb.ada/homonym/homonym_main.adb: New files.
13209 * gdb.ada/homonym.exp: New testcase.
13210
c18d3d89
JB
132112008-01-04 Joel Brobecker <brobecker@adacore.com>
13212
13213 * gdb.ada/packed_array.exp: Add testing of references to
13214 a packed array.
13215
ecc7085b
JB
132162008-01-04 Joel Brobecker <brobecker@adacore.com>
13217
13218 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
13219 New files.
13220 * gdb.ada/type_coercion.exp: New testcase.
13221
c474c922
JB
132222008-01-04 Joel Brobecker <brobecker@adacore.com>
13223
13224 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
13225 gdb.ada/tagged/foo.adb: New file.
13226 * gdb.ada/tagged.exp: New testcase.
13227
9005b927
JB
132282008-01-04 Joel Brobecker <brobecker@adacore.com>
13229
13230 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
13231 gdb.ada/ptype_field/foo.adb: New files.
13232 * gdb.ada/ptype_field.exp: New testcase.
13233
1a6aaad8
JB
132342008-01-03 Joel Brobecker <brobecker@adacore.com>
13235
13236 * gdb.ada/print_pc.exp: New testcase.
13237
0ef22f53
JB
132382008-01-03 Joel Brobecker <brobecker@adacore.com>
13239
13240 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
13241 gdb.ada/taft_type/p.adb: New files.
13242 * gdb.ada/taft_type.exp: New testcase.
13243
1689ecf8
JB
132442008-01-03 Joel Brobecker <brobecker@adacore.com>
13245
13246 * gdb.ada/array_bounds/bar.adb: New file.
13247 * gdb.ada/array_bounds.exp: New testcase.
13248
a4d0b9c3
JB
132492008-01-03 Joel Brobecker <brobecker@adacore.com>
13250
13251 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
13252 gdb.ada/arrayptr/foo.adb: New files.
13253 * gdb.ada/arrayptr.exp: New testcase.
13254
a31ace00
JB
132552008-01-03 Joel Brobecker <brobecker@adacore.com>
13256
13257 * gdb.base/set-lang-auto.exp: New testcase.
13258
a97fced3
JB
132592008-01-03 Joel Brobecker <brobecker@adacore.com>
13260
13261 * gdb.ada/fun_addr/foo.adb: New file.
13262 * gdb.ada/fun_addr.exp: New testcase.
13263
ef29ce1a
JK
132642008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13265
13266 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
13267 New files
13268
0fafefe3
JB
132692008-01-02 Joel Brobecker <brobecker@adacore.com>
13270
13271 * array_subscript_addr/p.adb: New file.
a9c64011 13272 * array_subscript_addr.exp: New testcase.
0fafefe3 13273
c4359f8d
JB
132742008-01-02 Joel Brobecker <brobecker@adacore.com>
13275
a9c64011 13276 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
13277 New files.
13278 * gdb.ada/str_cmp_ref.exp: New testcase.
13279
1aa1b15b
JB
132802008-01-01 Joel Brobecker <brobecker@adacore.com>
13281
13282 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
13283 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 13284 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 13285
81c9b2cf
JB
132862008-01-01 Joel Brobecker <brobecker@adacore.com>
13287
13288 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
13289 gdb.ada/ref_param/pck.ads: New files.
13290 * gdb.ada/ref_param.exp: New testcase.
13291
319e4674
JB
132922008-01-01 Joel Brobecker <brobecker@adacore.com>
13293
13294 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
13295 gdb.ada/interface/foo.adb: New files.
13296 * gdb.ada/interface.exp: New testcase.
13297
ef682c56
JB
132982007-12-31 Jim Blandy <jimb@codesourcery.com>
13299
13300 * gdb.base/multi-forks.exp: Consume all output from child
13301 processes before proceeding to next test.
13302
f6f3eb6c
JB
133032007-12-29 Jim Blandy <jimb@codesourcery.com>
13304
13305 * configure: Regenerated.
13306
f652e42f
JB
133072007-12-27 Joel Brobecker <brobecker@adacore.com>
13308
13309 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
13310 gdb.ada/fixed_cmp/fixed.adb: New files.
13311 * gdb.ada/fixed_cmp.exp: New testcase.
13312
6943e596
JB
133132007-12-27 Joel Brobecker <brobecker@adacore.com>
13314
13315 * gdb.ada/boolean_expr.exp: New testcase.
13316
aad9a193
JB
133172007-12-26 Jim Blandy <jimb@codesourcery.com>
13318
13319 * gdb.base/multi-forks.exp: Doc fix.
13320
fb5f3683
JB
133212007-12-26 Joel Brobecker <brobecker@adacore.com>
13322
13323 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13324 * gdb.ada/char_param.exp: Do not compile our test program with
13325 -gnata, this is unnecessary.
13326 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
13327
384e4a9c
JB
133282007-12-24 Joel Brobecker <brobecker@adacore.com>
13329
13330 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
13331 gdb.ada/print_chars/foo.adb: New files.
13332 * gdb.ada/print_chars.exp: New testcase.
13333
01e044f7
JB
133342007-12-24 Joel Brobecker <brobecker@adacore.com>
13335
13336 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
13337 gdb.ada/char_param/foo.adb: New files.
13338 * gdb.ada/char_param.exp: New testcase.
13339
0ce17860
JB
133402007-12-22 Jim Blandy <jimb@codesourcery.com>
13341
13342 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
13343 hard-coding source line numbers into the test.
13344 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
13345 gdb_get_line_number to find.
13346
919809b9
JB
133472007-12-22 Joel Brobecker <brobecker@adacore.com>
13348
13349 * gdb.base/ptype.c (highest): New struct type.
13350 (the_highest): New variable of that type.
13351 (main): Add dummy assignment to a field of variable the_highest.
13352 * gdb.base/ptype.exp: Test type printing of our new variable.
13353
abc8a88d
PM
133542007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
13355
13356 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 13357 and record first explicitly generated thread number.
abc8a88d
PM
13358 Use that thread number for thread specific watchpoint test.
13359 Add iteration number to repetitive tests.
13360
5158f3e3
CES
133612007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13362 Jim Blandy <jimb@codesourcery.com>
13363
13364 * gdb.base/expand-psymtabs.c: New testcase
13365 source file.
13366 * gdb.base/expand-psymtabs.exp: New testcase
13367 expect file.
13368
37e4754d
LM
133692007-12-17 Luis Machado <luisgpm@br.ibm.com>
13370
13371 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
13372 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
13373
551e5d04
JB
133742007-12-17 Joel Brobecker <brobecker@adacore.com>
13375
13376 * gdb.ada/frame_args/foo.adb: New file.
13377 * gdb.ada/frame_args/pck.ads: New file.
13378 * gdb.ada/frame_args/pck.adb: New file.
13379 * gdb.ada/frame_args.exp: New testcase.
13380
a05ee097
JB
133812007-12-17 Joel Brobecker <brobecker@adacore.com>
13382
13383 * gdb.base/frame-args.c: New file.
13384 * gdb.base/frame-args.exp: New testcase.
13385
c162e8c9 133862007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 13387 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
13388
13389 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
13390
afe8ab22 133912007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13392
afe8ab22
VP
13393 * gdb.mi/mi-pending.exp: New.
13394 * gdb.mi/mi-pending.c: New.
13395 * gdb.mi/mi-pendshr.c: New.
13396
dfdfb3ca
JB
133972007-12-06 Jim Blandy <jimb@codesourcery.com>
13398
13399 * gdb.base/default.exp: Update expected output for 'info catch'.
13400
b7fca990
JK
134012007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13402
13403 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
13404 must be set to binary.
13405
6a1afc1e
PA
134062007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
13407
13408 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
13409
a6b151f1
DJ
134102007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
13411
13412 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
13413 gdb.mi/mi-file-transfer.exp: New.
13414
43039443
JK
134152007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13416
13417 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
13418
0ef2251b
MR
134192007-11-22 Maciej W. Rozycki <macro@mips.com>
13420
13421 * gdb.trace/backtrace.exp: Fix a typo.
13422 * gdb.trace/circ.exp: Likewise.
13423 * gdb.trace/collection.exp: Likewise.
13424 * gdb.trace/limits.exp: Likewise.
13425 * gdb.trace/report.exp: Likewise.
13426 * gdb.trace/tfind.exp: Likewise.
13427 * gdb.trace/while-dyn.exp: Likewise.
13428
5443631e
NR
134292007-11-21 Nick Roberts <nickrob@snap.net.nz>
13430
13431 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
13432 objects of pointers that can't be dereferenced are now
13433 "noneditable".
13434
a4ce5b0d
UW
134352007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13436
13437 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
13438 (target_cpu): Remove.
13439
d6e956e5
VP
134402007-10-15 Vladimir Prus <vladimir@codesourcery.com>
13441
13442 * gdb.base/ending-run.exp: Expect the list of cleared
13443 breakpoint to come in natural order, not the reversed one.
a9c64011 13444
214270ab
VP
134452007-11-07 Vladimir Prus <vladimir@codesourcery.com>
13446
13447 * gdb.mi/mi-var-child.c (do_child_deletion): New.
13448 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 13449
1a619819
LM
134502007-11-05 Luis Machado <luisgpm@br.ibm.com>
13451
13452 * gdb.base/printcmds.exp: New function
13453 test_printf_with_dfp.
13454
5b01a6fa
DE
134552007-11-02 Doug Evans <dje@google.com>
13456
13457 * gdb.disasm/t01_mov.s: Remove carriage returns.
13458 * gdb.disasm/t02_mova.s: Ditto.
13459 * gdb.disasm/t03_add.s: Ditto.
13460 * gdb.disasm/t04_sub.s: Ditto.
13461 * gdb.disasm/t05_cmp.s: Ditto.
13462 * gdb.disasm/t06_ari2.s: Ditto.
13463 * gdb.disasm/t07_ari3.s: Ditto.
13464 * gdb.disasm/t08_or.s: Ditto.
13465 * gdb.disasm/t09_xor.s: Ditto.
13466 * gdb.disasm/t10_and.s: Ditto.
13467 * gdb.disasm/t11_logs.s: Ditto.
13468 * gdb.disasm/t12_bit.s: Ditto.
13469 * gdb.disasm/t13_otr.s: Ditto.
13470
ec33ab7f
JK
134712007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13472
13473 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
13474
ae0d01ff
UW
134752007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13476
13477 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
13478 provide DFP support.
13479
55eddb0f
DJ
134802007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
13481
13482 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
13483 Test "set powerpc vector-abi". Skip auto-detection tests for old
13484 toolchains.
13485
7020f05c
PA
134862007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13487
13488 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
13489 with [string compare].
13490
84bc3db9
PA
134912007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13492
13493 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
13494 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
13495
5876dc88
LM
134962007-10-25 Luis Machado <luisgpm@br.ibm.com>
13497
13498 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
13499 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
13500 * gdb.opt/Makefile.in: New makefile.
13501 * Makefile.in: Create new directory "gdb.opt".
13502 * configure.ac: Add "gdb.opt" directory.
13503 * configure: Regenerated.
a9c64011 13504
c3ea9a14
DE
135052007-10-25 Doug Evans <dje@google.com>
13506
13507 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
13508 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
13509
a9c64011 135102007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
13511 Thiago Jung Bauermann <bauerman@br.ibm.com>
13512
13513 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
13514 Floating Point expressions.
13515 * gdb.base/dfp-test.exp: new file adding tests for Decimal
13516 Floating Point variables.
13517 * gdb.base/dfp-test.c: new file containing program with Decimal
13518 Floating variables, used by gdb.base/dfp-test.exp.
13519
62a24a2b
DJ
135202007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
13521
13522 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
13523
e7b1eae6
UW
135242007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13525
13526 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
13527 compiling test case with GCC.
13528 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
13529
c641edcc
UW
135302007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13531
13532 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
13533 format changes.
13534
5e5ebfe6
MS
135352007-10-18 Michael Snyder <msnyder@specifix.com>
13536
13537 * gdb.base/dbx.exp: Add missing "-re " operator.
13538
e831e7b6
GM
135392007-10-16 Gaius Mulley <gaius@glam.ac.uk>
13540
13541 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
13542 * configure.ac: Removed trailing spaces after backslash.
13543 * gdb.modula2: New directory.
13544 * gdb.modula2/Makefile.in: New file.
13545 * gdb.modula2/unbounded-array.exp: New file.
13546 * gdb.modula2/unbounded1.c: New file.
13547
7cc46491
DJ
135482007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
13549
13550 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
13551
135522007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
13553
13554 * gdb.base/sigstep.c (main): Add checks for
13555 return values for setitimer call.
13556 Call setitimer again with itimer = ITIMER_REAL
13557 if first call to setitimer fails.
13558
e91528f0
KH
135592007-10-11 Kazu Hirata <kazu@codesourcery.com>
13560
13561 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
13562 of $timeout.
13563
2ec9a4f8
DJ
135642007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
13565
13566 * gdb.server/server-run.exp: Test for dynamic linker symbols.
13567
135682007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
13569
13570 * lib/gdb.exp (gdb_run_cmd): Move comment outside
13571 of gdb_expect call, to avoid interruption.
13572
64b2fa04
PA
135732007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
13574
13575 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
13576 (v_unsigned_long_long, v_long_long_array)
13577 (v_signed_long_long_array, v_unsigned_long_long_array)
13578 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
13579 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
13580 [!NO_LONG_LONG]: New.
13581 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
13582 v_long_long_member.
13583
13584 (v_long_long_func, v_signed_long_long_func)
13585 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
13586 (main) [!NO_LONG_LONG]: Initialize long long variants.
13587
13588 * gdb.base/whatis.exp: If board file requests no_long_long, build
13589 test with NO_LONG_LONG defined. Test long long, signed long long,
13590 and unsigned long long variants but only if board file doesn't
13591 disable it.
13592
a912286e 135932007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 13594 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
13595
13596 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
13597 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
13598 * configure: Regenerated.
13599 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
13600 gdb.pascal/types.exp, lib/pascal.exp: New files.
13601
471ba8c9
DJ
136022007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
13603
13604 * gdb.cp/classes.exp (do_tests): Always step to the line after the
13605 call.
13606 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
13607 to return to the call.
13608 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
13609 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
13610 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
13611 * gdb.mi/mi-until.exp (test_until): Likewise.
13612 * gdb.mi/mi2-until.exp (test_until): Likewise.
13613
fef8a650
DJ
136142007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
13615
13616 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
13617 two-char array.
13618 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
13619
d983da9c
DJ
136202007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
13621
13622 * gdb.threads/watchthreads.c (thread_function): Sleep between
13623 iterations.
13624 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
13625 at once for S/390. Generate matching fails and passes.
13626
17f62551
VP
136272007-09-27 Vladimir Prus <vladimir@codesourcery.com>
13628
13629 * gdb.mi/var-cmd.c (do_children_tests): Initialize
13630 the 'struct_declarations' variable to zeros.
a9c64011 13631
ed0616c6
VP
136322007-09-24 Vladimir Prus <vladimir@codesourcery.com>
13633
13634 * gdb.cp/mb-ctor.cc: New.
13635 * gdb.cp/mb-ctor.exp: New.
13636 * gdb.cp/mb-templates.cc: New.
13637 * gdb.cp/mb-templates.exp: New.
13638
41f1b697
DJ
136392007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
13640
13641 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
13642
3f213f78
PA
136432007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
13644
13645 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
13646 targets.
13647 * configure: Regenerate.
13648
0d381245 136492007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13650
0d381245
VP
13651 * gdb.base/annota1.exp: Adjust for 'info break'
13652 format changes.
13653 * gdb.base/annota3.exp: Likewise.
13654 * gdb.base/break.exp: Likewise.
13655 * gdb.base/condbreak.exp: Likewise.
13656 * gdb.base/pending.exp: Likewise.
13657 * gdb.base/sepdebug.exp: Likewise.
13658 * gdb.base/unload.exp: Likewise.
13659 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 13660
fe3f5fa8
VP
136612007-09-22 Vladimir Prus <vladimir@codesourcery.com>
13662
13663 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
13664 messages.
13665 * gdb.base/chng-syms.exp: Likewise.
13666 * gdb.base/unload.exp: Likewise.
a9c64011 13667
a75cf6c0
DJ
136682007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
13669
13670 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
13671
18ecae38
DJ
136722007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
13673
13674 * schedlock.c (NUM): Change to 1.
13675 (main): Use args[0] for the main thread.
13676 * schedlock.exp: Only expect two threads. Only issue one pass or fail
13677 regardless of the number of threads.
13678
5509918f
MR
136792007-09-14 Maciej W. Rozycki <macro@mips.com>
13680
4a543daf
MR
13681 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
13682 type down.
13683 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13684 test.
13685 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
13686 watchpoint type down.
13687 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13688 test.
13689
136902007-09-14 Maciej W. Rozycki <macro@mips.com>
13691
5509918f
MR
13692 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
13693 Move all the tests here and run them twice, once using software
13694 watchpoints and once using hardware watchpoints.
13695 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
13696
40b53987
DJ
136972007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
13698
13699 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
13700 test.
13701
695e2681
MK
137022007-09-10 Mark Kettenis <kettenis@gnu.org>
13703
8b3fc8d8
MK
13704 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
13705 build-id.
13706
695e2681
MK
13707 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
13708 know about $ORIGIN. Calculate output dir from $dest instead of
13709 using ${objdir}/{$subdir}.
13710
58d69f29
MK
137112007-09-09 Mark Kettenis <kettenis@gnu.org>
13712
13713 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
13714 gcore, before continuing with the test.
13715
3e347599
DJ
137162007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
13717
13718 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
13719 * gdb.mi/mi-watch.exp: Likewise.
13720
ea37ba09
DJ
137212007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13722 Jim Blandy <jimb@codesourcery.com>
13723
13724 * gdb.arch/i386-sse.exp: Do not expect character constants.
13725 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
13726 * gdb.base/display.exp: Allow print/s.
13727 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
13728 and unsigned char array changes.
13729
2025a643
DJ
137302007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13731
13732 * gdb.base/display.exp: Add tests for printf %p.
13733
26669a27
PA
137342007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
13735
13736 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
13737 the dll name to unicode.
13738
c8f021f8
JK
137392007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13740
13741 * gdb.base/default.exp (show version): Update the version text.
13742 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
13743
4cf31eea
JK
137442007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13745
13746 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
13747 New files.
13748
4935890f
JK
137492007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13750
13751 * lib/gdb.exp (build_id_debug_filename_get): New function.
13752 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
13753 Remove the generate DEBUG file for the future testcase runs.
13754 New testcase for the NT_GNU_BUILD_ID retrieval.
13755 Move the final testing step to ...
13756 (test_different_dir): ... a new function.
13757 New parameter XFAIL to XFAIL all the tests performed.
13758 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
13759 New parameter TYPE to PF_PREFIX all the tests performed.
13760
02142340
VP
137612007-08-31 Vladimir Prus <vladimir@codesourcery.com>
13762
13763 * gdb.mi/mi-var-cp.cc (path_expression): New
13764 function.
13765 * gdb.mi/mi-var-cp.exp: Run path exression tests.
13766
36acd84e
UW
137672007-08-27 Markus Deuling <deuling@de.ibm.com>
13768
13769 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
13770 to fit into SPU Local Store memory.
13771
a896d121
JB
137722007-08-23 Joel Brobecker <brobecker@adacore.com>
13773
13774 * gdb.base/default.exp: Adjust the expected output of "info
13775 warranty" after the switch to GPLv3.
13776
7b433602
JB
137772007-08-23 Joel Brobecker <brobecker@adacore.com>
13778
13779 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
13780 to 30000 (from 20000).
13781
e22f8b7c
JB
137822007-08-23 Joel Brobecker <brobecker@adacore.com>
13783
13784 Switch the license of all .exp files to GPLv3.
13785 Switch the license of all .f and .f90 files to GPLv3.
13786 Switch the license of all .s and .S files to GPLv3.
13787
5a0e3bd0
JB
137882007-08-23 Joel Brobecker <brobecker@adacore.com>
13789
13790 * configure.ac: Switch license to GPLv3.
13791
cc00619d
JB
137922007-08-23 Joel Brobecker <brobecker@adacore.com>
13793
13794 Switch the licensing to GPLv3 for all .ads and .adb files.
13795
8d26208a
DJ
137962007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
13797
13798 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
13799 and t_int_double.
13800 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
13801
4fcb9948
JB
138022007-08-17 Joel Brobecker <brobecker@adacore.com>
13803
13804 * gdb.base/step-line.c: Switch license to GPL version 3, and
13805 update copyright year.
13806 * gdb.base/step-line.inp: Likewise.
13807
b9c34f67
JB
138082007-08-17 Joel Brobecker <brobecker@adacore.com>
13809
13810 * gdb.base/gdb1555.exp: Make expected output immune to formatting
13811 changes inside gdb1555.c.
13812 * gdb.base/pending.exp: Likewise.
13813
2cc17678
DJ
138142007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
13815
13816 * config/default.exp: New file.
13817
e48883f7
DJ
138182007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13819
13820 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
13821 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
13822
1ab80e5b
MR
138232007-07-30 Maciej W. Rozycki <macro@mips.com>
13824
13825 * gdb.base/dump.exp: Force the correct endianness for binary
13826 formats not carrying this information.
13827
aba471f5
DJ
138282007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13829
13830 * gdb.threads/staticthreads.exp: Match .*sem_post.
13831
d4e07204
DJ
138322007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13833
13834 * gdb.base/readline.exp (operate_and_get_next): Match the final
13835 prompt.
13836
2b97317d
KB
138372007-07-23 Kevin Buettner <kevinb@redhat.com>
13838
13839 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
13840 to restarting SID.
13841
44efa07a
KB
138422007-07-18 Kevin Buettner <kevinb@redhat.com>
13843
13844 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
13845 prior to `gdb_start'.
13846
7b5ebade
KB
138472007-07-18 Kevin Buettner <kevinb@redhat.com>
13848
13849 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
13850 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
13851 Remove call to gdb_unload.
13852
255e7678
DJ
138532007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
13854 Daniel Jacobowitz <dan@codesourcery.com>
13855
13856 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
13857 for __WIN32__.
13858 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
13859 * gdb.base/unload.exp: Use shared library test routines.
13860
3a40aaa0
UW
138612007-07-03 Markus Deuling <deuling@de.ibm.com>
13862
13863 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
13864 * gdb.base/solib-symbol-lib.c: Likewise.
13865 * gdb.base/solib-symbol-main.c: Likewise.
13866
b0f4b84b
DJ
138672007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
13868
13869 * config/gdbserver.exp (gdb_reconnect): New.
13870 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
13871 gdb.base/solib-disc.exp: New files.
13872 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
13873 remote debugging".
13874 (gdb_compile): Add shlib_load flag.
13875 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
13876 port.
13877 (gdbserver_reconnect): New.
13878
1b05479a
DJ
138792007-07-01 Nick Roberts <nickrob@snap.net.nz>
13880 Daniel Jacobowitz <dan@codesourcery.com>
13881
13882 * gdb.base/annota3.exp: Test for if construct.
13883
86f78eb2
DJ
138842007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
13885
13886 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
13887
6a2eb474 138882007-06-21 Chris Dearman <chris@mips.com>
a9c64011 13889 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
13890
13891 * gdb.base/display.exp: Allow a newline after display/i.
13892 * gdb.base/pc-fp.exp: Likewise.
13893 * gdb.base/sigbpt.exp: Likewise.
13894
f8b73d13
DJ
138952007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13896
13897 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
13898 required features to be included.
13899
4339e69e
DJ
139002007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13901
13902 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
13903 in info threads output.
13904
23d964e7
UW
139052007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13906 Markus Deuling <deuling@de.ibm.com>
13907
13908 * gdb.arch/spu-info.exp: New testcase.
13909 * gdb.arch/spu-info.c: New file.
13910
fd20f75b
DJ
139112007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
13912
13913 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
13914 tpcs_offset. Restore lr after the call.
13915 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
13916
2226f861
DJ
139172007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
13918
13919 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
13920 (gdbserver_run): Kill any running gdbserver.
13921 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
13922
d12371a9
MR
139232007-05-17 Maciej W. Rozycki <macro@mips.com>
13924
13925 * gdb.base/sigbpt.exp: Preset segv_addr.
13926
93f02886
DJ
139272007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
13928
13929 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
13930 (gdb_compile_shlib): Likewise.
13931 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
13932 (default_gdb_init): Clear cleanfiles.
13933 (gdb_finish): Delete recorded cleanfiles.
13934 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
13935
13936 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
13937 Do not use isnative.
13938 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
13939 gdb.base/so-impl-ld.exp: Likewise.
13940 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
13941 * gdb.base/unload.exp: Likewise. Do not pass empty option to
13942 gdb_compile.
13943
b04e06d7
VP
139442007-05-15 Vladimir Prus <vladimir@codesourcery.com>
13945
13946 * config/unknown.exp: Remove.
13947
069ed931
UW
139482007-05-15 Markus Deuling <deuling@de.ibm.com>
13949
13950 * gdb.base/info-proc.exp: Check is_remote.
13951
09db0d03
UW
139522007-05-14 Markus Deuling <deuling@de.ibm.com>
13953
13954 * gdb.base/gcore.exp: Initialize variable core_supported.
13955
af2cbe8c
DJ
139562007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13957
13958 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
13959
027c0295
DJ
139602007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13961
13962 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
13963 * gdb.threads/print-threads.exp (test_all_threads): Allow
13964 negative and hexadecimal thread IDs.
13965
dc5000e7
DJ
139662007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13967
13968 * gdb.java/jprint.java (public): Avoid invalid call to static
13969 method.
13970
2e74ed18
DP
139712007-05-14 Denis Pilat <denis.pilat@st.com>
13972
13973 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
13974 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
13975 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13976 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
13977 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
13978
83547f02
UW
139792007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13980
13981 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 13982 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
13983 this mode.
13984 * gdb.base/ovlymgr.c: Provide stubs for spu target.
13985 * gdb.base/spu.ld: New file.
13986
b18be20d
DJ
139872007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
13988
13989 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
13990
be444858
DJ
139912007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
13992
13993 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
13994
b1d53152
DJ
139952007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13996
13997 * gdb.java/jmain.exp: Handle demangled names with and without method
13998 signatures.
13999
d084b331
DJ
140002007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
14001
14002 * gdb.mi/mi-syn-frame.c (main, foo, bar)
14003 (have_a_very_merry_interrupt): Remove calls to puts.
14004 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
14005 inferior output.
14006 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
14007 test names.
14008
db9d7fc5
DJ
140092007-04-29 Markus Deuling <deuling@de.ibm.com>
14010 Daniel Jacobowitz <dan@codesourcery.com>
14011
14012 * gdb.base/auxv.exp (core_works): Also check is_remote.
14013 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
14014
ef783a7d 140152007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 14016
ef783a7d
VP
14017 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
14018 message, not the undefined 'module' variable.
14019 * gdb.base/siginfo.exp: Likewise.
14020 * gdb.base/sigstep.exp: Likewise.
14021 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
14022 serialport.
14023 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
14024
b7b73cae
CV
140252007-04-25 Corinna Vinschen <vinschen@redhat.com>
14026
14027 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
14028 target sim fails. Return 0 otherwise.
14029 (gdb_load): Return prematurely if gdb_target_sim fails.
14030
7d90fdfa
DP
140312007-04-16 Denis Pilat <denis.pilat@st.com>
14032
14033 * gdb.base/setshow.exp: Reset height after having set it to 100.
14034
5d3e9c85
DP
140352007-04-16 Denis Pilat <denis.pilat@st.com>
14036
14037 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
14038
18e75969
DP
140392007-04-16 Denis Pilat <denis.pilat@st.com>
14040
14041 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
14042
25d5ea92
VP
140432007-04-14 Vladimir Prus <vladimir@codesourcery.com>
14044
14045 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
14046 tests. Run the frozen varobjs test.
14047 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 14048 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 14049
0b49cb80
JK
140502007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14051
14052 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
14053 gdb.base/type-opaque.exp: New files.
14054
a73bafbc 140552007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
14056
14057 * gdb.mi/mi-var-child.c
a73bafbc
VP
14058 (do_children_tests): User char[2] instead of
14059 char so that automatic printing of pointers to char
14060 don't give unpredicable result.
14061 * gdb.mi/var-cmd.c (do_locals_test): Initialize
14062 local variables.
14063 * gdb.mi/mi-var-child.exp: Step to right line
14064 of do_children_tests.
14065 * gdb.mi/mi2-var-child.exp: Likewise.
14066 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 14067 do_locals_tests.
a73bafbc
VP
14068 (do_children_tests): User char[2] instead of
14069 char so that automatic printing of pointers to char
a9c64011 14070 don't give unpredicable result.
a73bafbc 14071 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 14072 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
14073 Pass test name to mi_wait_for_stop.
14074
7ce59000
DJ
140752007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14076
14077 * gdb.asm/asm-source.exp: Remove d10v case.
14078 * lib/gdb.exp (skip_cplus_tests): Likewise.
14079 * gdb.asm/d10v.inc: Deleted.
14080
20389057
DJ
140812007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14082
14083 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
14084
8807d78b
DJ
140852007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14086
14087 * config/netware.exp: Delete file.
14088
aa3edb8e
JB
140892007-03-29 Joel Brobecker <brobecker@adacore.com>
14090
14091 * gdb.dwarf2/dw2-noloc.S: New file.
14092 * gdb.dwarf2/dw2-noloc.exp: New file.
14093
297561ac
PA
140942007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
14095
14096 * gdb.cp/method2.cc: New test.
14097 * gdb.cp/method2.exp: New test.
14098 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
14099
1f81bd39
DJ
141002007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14101
14102 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
14103
9453113a
DJ
141042007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
14105
14106 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
14107
b741e217
DJ
141082007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14109
14110 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
14111 (gdb_load): Delete, replace with...
14112 (gdb_reload): ...this.
14113 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
14114 * gdb.server/server-mon.exp: Likewise.
14115 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
14116 (gdb_start_cmd): New.
14117 (gdb_file_cmd): Save the last loaded file.
14118 (gdb_reload): New.
14119 (gdb_gnu_strip_debug): Use transform.
14120 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
14121 support here. Use new $last_loaded_file. Check mtime.
14122 (gdb_target_cmd): Handle ObjC failure case.
14123 (infer_host_exec): Delete.
14124 (gdbserver_load): Rename to...
14125 (gdbserver_run): ...this. Simplify.
14126 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
14127 (mi_gdb_load): Move most contents to a new function...
14128 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
14129 (mi_run_cmd): Use mi_gdb_target_load.
14130 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
14131 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
14132 Use gdb_run_cmd.
14133 * gdb.base/charsign.exp: Remove incorrect comment.
14134 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
14135 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
14136 gdb.base/start.exp: Use gdb_start_cmd.
14137
446ab585 141382007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 14139 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
14140
14141 * gdb.base/sigbpt.exp: Fix the message when skipping test.
14142 * gdb.base/signull.exp: Similarly.
14143
bbb88ebf
UW
141442007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14145
14146 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
14147 messages available to test cases (like chng-sym.exp).
14148
cb8c4a99
AS
141492007-03-14 Andreas Schwab <schwab@suse.de>
14150
14151 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14152 format changes.
14153
4e463ff5
DJ
141542007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
14155
14156 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
14157 (optimized_1): New.
14158 (main): Call optimized_1.
14159 (gdb2029): Correct typos. Call gdb2029_marker.
14160 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
14161 for gdb2029.
14162
b6db2c47
MK
141632007-03-12 Mark Kettenis <kettenis@gnu.org>
14164
14165 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
14166 as tabs. Remove redundant test pattern.
14167
70ed3737
UW
141682007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14169
14170 * gdb.base/long_long.exp: Accept optional symbol name in <...>
14171 for /a format output.
14172
47b67b60
DJ
141732007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
14174
14175 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
14176 collect output incrementally.
14177
b8953b0e
UW
141782007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14179
14180 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
14181 for -var-create lpcharacter test.
14182 * gdb.mi/mi2-var-cmd.exp: Likewise.
14183
7acd5c40
UW
141842007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14185
14186 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
14187 pass on targets where address zero is readable.
14188
9c6759c1
UW
141892007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14190
14191 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
14192 just a single architecture.
14193
a2f1aeb4
UW
141942007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14195
14196 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
14197 (fetch_all_registers): New function, uses gdb_test_multiple and
14198 exp_continue to fetch inferior output line-by-line.
14199 Replace all uses of do_get_all_registers by fetch_all_registers.
14200
46579ac2
UW
142012007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14202
14203 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
14204 in target_info.
14205
fc133f24
MS
142062007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14207
a9c64011 14208 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
14209 consistancy; add a default (timeout) case.
14210
7646a51d
MS
142112007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14212
14213 * gdb.base/watchpoint.exp: Fix truncated comment.
14214
dcfff61f
MS
142152007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14216
14217 * Makefile.in: Remove spurious single-quotes from sed command.
14218
664e3ee9
DJ
142192007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14220
14221 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
14222 func.
14223 * gdb.mi/mi2-var-cmd.exp: Likewise.
14224
d7cc6f2f
JB
142252007-02-27 Joel Brobecker <brobecker@adacore.com>
14226
a9c64011
AS
14227 * gdb.dwarf2/dw2-producer.S: New file.
14228 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
14229
142302007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
14231
14232 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14233 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14234 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14235 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14236 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14237 Revert tests to use mi_gdb_test and include value field in output
14238 of -var-create.
14239
93d42b30
DJ
142402007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14241
14242 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
14243
c499ed39
DJ
142442007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14245
14246 * gdb.base/maint.exp: Remove full paths from test names.
14247 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
14248 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
14249
9836f81b
JB
142502007-02-27 Joel Brobecker <brobecker@adacore.com>
14251
14252 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
14253
c74d0ad8
DJ
142542007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14255
14256 * gdb.server/server-mon.exp: New test.
14257
2711e456
DJ
142582007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14259
14260 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
14261
ff6f572f
DJ
142622007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14263
14264 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
14265 register capitalization.
14266
fada3feb
DP
142672007-02-13 Denis Pilat <denis.pilat@st.com>
14268
14269 * gdb.mi/mi-var-invalidate.exp: New file.
14270
fb1e4ffc
DJ
142712007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14272
14273 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
14274
3da939d7
DJ
142752007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14276
14277 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
14278
123dc839
DJ
142792007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14280
14281 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
14282 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
14283
877e3645 142842007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
14285
14286 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14287 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14288 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14289 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14290 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 14291 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 14292 Update tests to include value field in output of -var-create.
a9c64011 14293
3c0a2960
AS
142942007-02-08 Andreas Schwab <schwab@suse.de>
14295
14296 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
14297
108546a0
DJ
142982007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
14299
14300 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
14301 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
14302
d701dcab
DP
143032007-02-02 Denis Pilat <denis.pilat@st.com>
14304
14305 * gdb.threads/threadapply.exp: check that frame is not changed by
14306 the thread apply all command.
14307
783e3e2f
AS
143082007-01-31 Andreas Schwab <schwab@suse.de>
14309
6d9c3a87
AS
14310 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14311
3c50d7b9
AS
14312 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
14313 in the dwarf sections.
14314 * gdb.dwarf2/mac-fileno.S: Likewise.
14315
783e3e2f
AS
14316 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
14317 bspstore register on ia64.
14318
78ff580e
AS
143192007-01-29 Andreas Schwab <schwab@suse.de>
14320
cc8e9b12
AS
14321 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
14322 "frame-begin" annotation.
14323
78ff580e
AS
14324 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
14325 number of "frames-invalid" annotations.
14326
704a4f78
DJ
143272007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14328
14329 * gdb.base/commands.exp: Call if_commands_test.
14330 (gdb_test_no_prompt, if_commands_test): New.
14331
e741bf94
MK
143322007-01-28 Mark Kettenis <kettenis@gnu.org>
14333
14334 * gdb.threads/sigthread.c (NSIGS): Make bigger.
14335
474d0ad3
AS
143362007-01-27 Andreas Schwab <schwab@suse.de>
14337
14338 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
14339 .short/.int/.quad in the dwarf sections.
14340 * gdb.dwarf2/dw2-intercu.S: Likewise.
14341 * gdb.dwarf2/dw2-intermix.S: Likewise.
14342
e784b426
JK
143432007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14344
14345 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
14346 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
14347 array.
e784b426
JK
14348 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
14349 * gdb.base/setvar.exp: Likewise.
14350
37f08e04
AS
143512007-01-26 Andreas Schwab <schwab@suse.de>
14352
9a01813a
AS
14353 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
14354 test.
14355
37f08e04
AS
14356 * gdb.base/multi-forks.exp ("restart $i"): Also match
14357 __kernel_syscall_via_break.
14358
6e2a9270
VP
143592007-01-24 Vladimir Prus <vladimir@codesourcery.com>
14360
14361 * lib/mi-support.exp (mi_delete_varobj): New.
14362 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
14363 testcase.
14364 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
14365 (main): Call the above.
14366 (reference_update_test, base_in_reference_test)
14367 (reference_to_pointer): Delete the created varobjs.
a9c64011 14368
e515b470
DJ
143692007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
14370
14371 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
14372 * configure: Regenerated.
14373 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
14374 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
14375 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
14376 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
14377 * lib/gdb.exp (gdb_skip_xml_test): New function.
14378
08d8bcd7
DJ
143792007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
14380
14381 * gdb.base/sigrepeat.exp: Correct error message.
14382
143832007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
14384 Daniel Jacobowitz <dan@codesourcery.com>
14385
14386 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
14387 gdb.arch/i386-gnu-cfi-asm.S: New files.
14388
97c3f1f3
JK
143892007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14390
14391 * lib/gdb.exp: Abort on missing `site.exp'.
14392
cb1df416
DJ
143932007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14394 Daniel Jacobowitz <dan@codesourcery.com>
14395
14396 * gdb.base/included.c, gdb.base/included.exp,
14397 gdb.base/included.h: New files.
14398
35990120
DJ
143992007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14400
14401 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
14402 (maximize_rlimit): Reduce limits on 64-bit systems.
14403
6e81a116 144042007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
14405
14406 From Marcus Deuling <deuling@de.ibm.com>:
14407 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
14408 every case.
14409
6c3c41f3
NR
144102007-01-13 Nick Roberts <nickrob@snap.net.nz>
14411
14412 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
14413 (test_path_specification): Use objdir instead of srcdir to always
14414 get an absolute filename.
14415
2f12c312
DJ
144162007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
14417
14418 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
14419
81121995
VP
144202007-01-11 Vladimir Prus <vladimir@codesourcery.com>
14421
14422 * gdb.mi/mi-var-cp.cc (reference_update_tests):
14423 Make sure the variable we're using is in scope.
14424 (reference_to_pointer): Likewise.
14425
4741b737
DJ
144262007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14427
14428 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
14429 has no debug information.
14430
054410c3
DJ
144312007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14432
14433 * gdb.base/annota1.exp: Remove extra send_gdb.
14434
818f79f6
DJ
144352007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14436
14437 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
14438
f7a6bb70
DJ
144392007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14440
14441 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
14442
57e66780
DJ
144432007-01-08 Nick Roberts <nickrob@snap.net.nz>
14444 Daniel Jacobowitz <dan@codesourcery.com>
14445
14446 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
14447 lcharacter or linteger change. Correct duplicated test name.
14448 * gdb.mi/mi2-var-cmd.exp: Likewise.
14449
3d799a95
DJ
144502007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14451
14452 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
14453
144542007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 14455
a9c64011
AS
14456 * gdb.base/nofield.c: New file.
14457 * gdb.base/nofield.exp: New testcase.
51679ba9 14458
eafb94e8
NR
144592007-01-05 Nick Roberts <nickrob@snap.net.nz>
14460
14461 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
14462
14463 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
14464 test.
14465
5e572bb4
DJ
144662007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14467
14468 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
14469
74a44383
DJ
144702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14471
14472 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
14473 when continuing.
14474
1b572db9
DJ
144752007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14476
14477 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
14478 Expect ".exe" extension.
14479
381bc39b
DJ
144802007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14481
14482 * gdb.base/charset.exp: Add explicit filename to break.
14483 * gdb.base/dbx.exp: Add explicit filename to breaks.
14484
2b70e4c6
DJ
144852007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14486
14487 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
14488 * gdb.mi/mi2-file.exp: Likewise.
14489
303b6f5d
DJ
144902007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14491
14492 Implement specification of MI tests as comments
14493 in C and C++ sources.
14494 * lib/mi-support.exp (mi_autotest_data): New variable.
14495 (mi_autotest_source): New variable.
14496 (count_newlines, mi_prepare_inline_tests)
14497 (mi_get_inline_test, mi_continue_to_line)
14498 (mi_run_inline_test, mi_tbreak)
14499 (mi_send_resuming_command, mi_wait_for_stop): New functions.
14500 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
14501 Run inline tests.
14502 * gdb.mi/mi-var-cp.cc: Define tests here.
14503
23da0d94
VP
145042007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14505
14506 Simplify usage of mi_continue_to.
14507 * lib/mi-support.exp (mi_runto_helper): Renamed
14508 from mi_runto, added new parameter 'run_or_continue'.
14509 (mi_runto): Use mi_runto_helper.
14510 (mi_continue_to): Accept just function name as parameter.
14511 Use mi_runto_helper.
14512 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
14513 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 14514
f9e18282
JB
145152006-01-04 Joel Brobecker <brobecker@adacore.com>
14516
14517 Make this testcase a bit more realistic. The current code
14518 is too simplistic, and allows the compiler to optimize out
14519 some of the entities we need for this testcase.
14520 * gdb.ada/null_record/bar.ads (Void_Star): New type.
14521 (Do_Nothing): Add extra parameter.
14522 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
14523 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
14524 by using a variable of type Void_Star.
14525
fd678c65
JB
145262006-01-04 Joel Brobecker <brobecker@adacore.com>
14527
14528 * gdb.ada/catch_ex/foo.adb: New file.
14529 * gdb.ada/catch_ex.exp: New testcase.
14530
05cfdb42
DJ
145312007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
14532
14533 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
14534 pass --image-base to linker.
14535
2e03ee74
DJ
145362007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14537 Daniel Jacobowitz <dan@codesourcery.com>
14538
14539 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
14540 secondary prompts.
14541
0d5de010
DJ
145422007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14543
14544 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
14545 output. Test the types of members and member pointers.
14546 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
14547 gdb/2092.
14548 * gdb.cp/member-ptr.exp: Search for a comment instead of a
14549 statement. Enable for GCC. Update expected output for some tests
14550 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
14551 layout.
14552 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
14553 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
14554 (Diamond::vget_base): New.
14555 (main): Add new tests.
14556 * gdb.cp/printmethod.exp: Update expected output for member functions.
14557 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
14558 print pEe->D::vg().
14559
61a771aa
DJ
145602007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14561
14562 * gdb.threads/tls.exp: Allow stops in sem_post.
14563
2fa63963
DJ
145642006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
14565
14566 * gdb.base/annota1.exp: Allow .*printf in backtraces.
14567 * gdb.base/annota3.exp: Likewise.
14568 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
14569 again (instead of timing out).
14570 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
14571 GCC bug 26475.
14572 * gdb.java/jmisc.exp: Adjust to work with method signatures including
14573 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
14574 test from jmisc1.exp.
14575 * gdb.java/jmisc1.exp: Delete.
14576 * gdb.java/jprint.exp: Adjust to work with method signatures including
14577 return types.
14578 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
14579 * gdb.threads/linux-dp.exp: Don't be confused by program output.
14580 * lib/java.exp (compile_java_from_source): Pass the correct type
14581 to target_compile.
14582
5eefc2b7
JB
145832006-12-31 Joel Brobecker <brobecker@adacore.com>
14584
14585 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
14586 (stack_align_edx): New function.
14587 (stack_align_eax): New function.
14588 (main): Add calls to stack_align_edx and stack_align_eax.
14589 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
14590 Add testing for the cases where the register used during a stack
14591 realignment is edx. Same for eax.
14592
227c54da
DJ
145932006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
14594
14595 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
14596 and generic PE targets.
14597
cab8ac94
JB
145982006-12-29 Joel Brobecker <brobecker@adacore.com>
14599
14600 * gdb.ada/array_return.exp: Update copyright date list.
14601
ba54f318
JB
146022006-12-27 Joel Brobecker <brobecker@adacore.com>
14603
14604 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
14605 (Create_Small_Float_Vector): New function.
14606 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
14607 function body.
14608 * gdb.ada/array_return/p.adb: Use new type and function from
14609 package Pck.
14610 * gdb.ada/array_return.exp: Add a test verifying that GDB is
14611 able to print the value returned by a function returning an
14612 array of float.
14613
6b7a35dd
JB
146142006-12-20 Joel Brobecker <brobecker@adacore.com>
14615
14616 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
14617 The associated tests should be PASSing.
14618
038224f6
VP
146192006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14620
14621 Test for base in references.
14622 * gdb.mi/mi-var-cp.cc: Add test code.
14623 * gdb.mi/mi-var-cp.exp: Test for bases in references.
14624 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
14625 * gdb.mi/mi2-watch.exp: Likewise.
14626 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
14627 (mi_list_varobj_children): New function.
14628
b26ed50d
VP
146292006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14630
14631 * lib/mi-support.exp
14632 (mi_runto): Accept "()" after function name.
14633 (mi_create_varobj): New function.
14634 (mi_varobj_update): New function.
14635 (mi_Check_varobj_value): New function.
14636 * gdb.mi/mi-var-cp.exp: New file.
14637 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 14638
08232497
DJ
146392006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
14640
14641 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
14642 gdb.base/weaklib2.c: New files.
14643
d394c993 146442006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 14645
ac6c2fba
NS
14646 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
14647 info. Adjust test names.
14648
8ec659a0 14649 * gdb.base/break.c (main): Move position of malloc.
d394c993 14650 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 14651
acd65feb
VP
146522006-11-28 Vladimir Prus <vladimir@codesourcery.com>
14653
14654 * gdb.mi/mi-var-cmd.exp: Check -var-update after
14655 assignement of arrays and function pointers.
14656 * gdb.mi/var-cmd.c: Add declaration necessary for above
14657 tests.
14658
f556d5e5
NS
146592006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14660
14661 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
14662
14663 * gdb.threads/linux-dp.exp: Read thread table before and after
14664 creating each philosopher and verify it.
14665
697bc68d
NS
146662006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14667 Paul Brook <paul@codesourcery.com>
14668 Daniel Jacobowitz <dan@codesourcery.com>
14669
14670 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 14671 main to remove duplication. Add start function of the form
697bc68d
NS
14672 '_*start[1-9]*'. Add RVDS start function.
14673
29d73ae4
DJ
146742006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14675
14676 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
14677
c1d88655
UW
146782006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14679
14680 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
14681 * gdb.asm/spu.inc: New file.
14682 * gdb.base/term.exp: Disable if [target_info exists noargs].
14683 * gdb.gdb/complaints.exp: Disable if ![isnative].
14684 * gdb.gdb/selftest.exp: Likewise.
14685 * gdb.gdb/observer.exp: Likewise.
14686 * gdb.gdb/xfullpath.exp: Likewise.
14687 * gdb.base/attach.exp: Disable on SPU target.
14688 * gdb.cp/bs145503.exp: Likewise.
14689 * gdb.cp/exception.exp: Likewise.
14690 * gdb.cp/userdef.exp: Likewise.
14691
32a13b1a
DJ
146922006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14693
14694 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
14695
d8295fe9
VP
146962006-11-10 Vladimir Prus <vladimir@codesourcery.com>
14697
14698 * gdb.base/completion.exp: Fix completion tests for
14699 'info' and 'info '.
14700 * gdb.base/help.exp (help_test_raw, test_class_help)
14701 (test_prefix_command_help): Move...
14702 * lib/gdb.exp: Here.
14703 * gdb.base/main.exp: Adjust.
14704 * gdb.cp/maint.exp: Adjust.
14705 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 14706
8c394015
VP
147072006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14708
14709 * gdb.stabs/weird.exp (print_weird_var): Use
14710 gdb_test_multiple instead of gdb_expect.
14711
027fc1bc
VP
147122006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14713
14714 * gdb.base/help.exp (help_test_raw): New.
14715 (test_class_help): New.
14716 (test_prefix_command_help): New.
14717 Adjust testcases.
14718
67609209
FR
147192006-11-09 Christophe Lyon <christophe.lyon@st.com>
14720
14721 * gdb.base/constvars.c (main): Write to crass and crips, so that
14722 they are allocated by the compiler.
14723
f73adfeb
AS
147242006-10-27 Andreas Schwab <schwab@suse.de>
14725
14726 * gdb.base/multi-forks.exp: Use "detach fork" instead of
14727 "detach-fork".
14728
2f83a18e
DJ
147292006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
14730
14731 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
14732 of patterns.
14733
94277a38
DJ
147342006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14735
14736 * gdb.base/sepdebug.exp: Remove debug format test.
14737 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
14738 Handle no-symtab.
14739 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
14740
5bd2f6e2
DJ
147412006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14742
14743 * gdb.threads/manythreads.c (thread_function, main): Don't cast
14744 int to pointer or pointer to int.
14745 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
14746
8c008720
DJ
147472006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
14748
14749 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
14750
9e35dae4
DJ
147512006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14752
14753 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
14754
d9639e13
DJ
147552006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14756
14757 PR c++/2116
14758 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
14759
390a1bd0
JB
147602006-10-06 Joel Brobecker <brobecker@adacore.com>
14761
14762 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
14763 the corresponding bug has been fixed in GDB (PR/2018).
14764
dd920c33
JB
147652006-10-06 Joel Brobecker <brobecker@adacore.com>
14766
14767 * gdb.base/subst.exp: New testcase.
14768
53bbefe9
JB
147692006-10-06 Joel Brobecker <brobecker@adacore.com>
14770
14771 * gdb.ada/array_return/pck.ads: Add copyright notice.
14772 * gdb.ada/array_return/pck.adb: Likewise.
14773 * gdb.ada/array_return/p.adb: Likewise.
14774 * gdb.ada/exec_changed/first.adb: Likewise.
14775 * gdb.ada/exec_changed/second.adb: Likewise.
14776
09851417
JB
147772006-10-06 Joel Brobecker <brobecker@adacore.com>
14778
14779 * gdb.ada/watch_arg/watch.adb: New file.
14780 * gdb.ada/watch_arg.exp: New testcase.
14781
041bf30d
VP
147822006-10-02 Vladimir Prus <vladimir@codesourcery.com>
14783
14784 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 14785 via string_to_regexp.
041bf30d 14786 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 14787
f286fbdd 147882006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
14789
14790 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
14791 Remove unused / obsolete files.
14792
7c07f349
NR
147932006-09-19 Nick Roberts <nickrob@snap.net.nz>
14794
14795 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
14796
cd5ff84a
VP
147972006-09-17 Vladimir Prus <vladimir@codesourcery.com>
14798
14799 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
14800 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 14801 the number of frames.
cd5ff84a 14802
ae018d1a
DJ
148032006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
14804
14805 * gdb.base/args.c (main): Add breakpoint marker.
14806 * gdb.base/args.exp: Use args_test for tests. Add new tests which
14807 really test empty arguments.
14808 (args_load): Delete.
14809 (args_test): New.
14810
b399c549
NR
148112006-09-13 Nick Roberts <nickrob@snap.net.nz>
14812
14813 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 14814 check for one file.
b399c549 14815
2ab1eb7a
VP
148162006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
14817
14818 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
14819 HIGH_FRAME argument to -stack-list-locals can be larger than
14820 the number of frames.
a9c64011 14821
476308bf
FF
148222006-08-18 Fred Fish <fnf@specifix.com>
14823
14824 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
14825 '$' in front of skip_vmx_tests_saved when setting that.
14826
8625200f
AS
148272006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
14828
14829 * gdb.base/trace-commands.exp: New file.
14830
089ec8f1
DJ
148312006-08-10 Joel Brobecker <brobecker@adacore.com>
14832 Daniel Jacobowitz <dan@codesourcery.com>
14833
14834 * gdb.base/step-bt.exp: Make hexadecimal address optional in
14835 expected output of the backtrace commands.
14836
b60f0898
JB
148372006-08-09 Joel Brobecker <brobecker@adacore.com>
14838
14839 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
14840 untested followed by return combination.
14841 * gdb.arch/altivec-regs.exp: Likewise.
14842 * gdb.arch/e500-abi.exp: Likewise.
14843 * gdb.arch/e500-regs.exp: Likewise.
14844 * gdb.arch/gdb1291.exp: Likewise.
14845 * gdb.arch/gdb1431.exp: Likewise.
14846 * gdb.arch/gdb1558.exp: Likewise.
14847 * gdb.arch/i386-prologue.exp: Likewise.
14848 * gdb.arch/i386-unwind.exp: Likewise.
14849 * gdb.asm/asm-source.exp: Likewise.
14850 * gdb.base/a2-run.exp: Likewise.
14851 * gdb.base/advance.exp: Likewise.
14852 * gdb.base/all-bin.exp: Likewise.
14853 * gdb.base/annota1.exp: Likewise.
14854 * gdb.base/annota3.exp: Likewise.
14855 * gdb.base/args.exp: Likewise.
14856 * gdb.base/arithmet.exp: Likewise.
14857 * gdb.base/assign.exp: Likewise.
14858 * gdb.base/async.exp: Likewise.
14859 * gdb.base/attach.exp: Likewise.
14860 * gdb.base/bang.exp: Likewise.
14861 * gdb.base/bigcore.exp: Likewise.
14862 * gdb.base/bitfields.exp: Likewise.
14863 * gdb.base/bitfields2.exp: Likewise.
14864 * gdb.base/break.exp: Likewise.
14865 * gdb.base/call-sc.exp: Likewise.
14866 * gdb.base/call-strs.exp: Likewise.
14867 * gdb.base/callfuncs.exp: Likewise.
14868 * gdb.base/checkpoint.exp: Likewise.
14869 * gdb.base/chng-syms.exp: Likewise.
14870 * gdb.base/code-expr.exp: Likewise.
14871 * gdb.base/commands.exp: Likewise.
14872 * gdb.base/completion.exp: Likewise.
14873 * gdb.base/cond-expr.exp: Likewise.
14874 * gdb.base/condbreak.exp: Likewise.
14875 * gdb.base/consecutive.exp: Likewise.
14876 * gdb.base/constvars.exp: Likewise.
14877 * gdb.base/corefile.exp: Likewise.
14878 * gdb.base/cvexpr.exp: Likewise.
14879 * gdb.base/dbx.exp: Likewise.
14880 * gdb.base/define.exp: Likewise.
14881 * gdb.base/detach.exp: Likewise.
14882 * gdb.base/display.exp: Likewise.
14883 * gdb.base/dump.exp: Likewise.
14884 * gdb.base/ena-dis-br.exp: Likewise.
14885 * gdb.base/ending-run.exp: Likewise.
14886 * gdb.base/environ.exp: Likewise.
14887 * gdb.base/eval-skip.exp: Likewise.
14888 * gdb.base/exprs.exp: Likewise.
14889 * gdb.base/fileio.exp: Likewise.
14890 * gdb.base/finish.exp: Likewise.
14891 * gdb.base/float.exp: Likewise.
14892 * gdb.base/foll-exec.exp: Likewise.
14893 * gdb.base/foll-fork.exp: Likewise.
14894 * gdb.base/foll-vfork.exp: Likewise.
14895 * gdb.base/freebpcmd.exp: Likewise.
14896 * gdb.base/funcargs.exp: Likewise.
14897 * gdb.base/gcore.exp: Likewise.
14898 * gdb.base/gdb1090.exp: Likewise.
14899 * gdb.base/gdb1250.exp: Likewise.
14900 * gdb.base/huge.exp: Likewise.
14901 * gdb.base/info-proc.exp: Likewise.
14902 * gdb.base/interrupt.exp: Likewise.
14903 * gdb.base/jump.exp: Likewise.
14904 * gdb.base/langs.exp: Likewise.
14905 * gdb.base/lineinc.exp: Likewise.
14906 * gdb.base/list.exp: Likewise.
14907 * gdb.base/logical.exp: Likewise.
14908 * gdb.base/long_long.exp: Likewise.
14909 * gdb.base/macscp.exp: Likewise.
14910 * gdb.base/maint.exp: Likewise.
14911 * gdb.base/mips_pro.exp: Likewise.
14912 * gdb.base/miscexprs.exp: Likewise.
14913 * gdb.base/multi-forks.exp: Likewise.
14914 * gdb.base/opaque.exp: Likewise.
14915 * gdb.base/overlays.exp: Likewise.
14916 * gdb.base/pc-fp.exp: Likewise.
14917 * gdb.base/pointers.exp: Likewise.
14918 * gdb.base/printcmds.exp: Likewise.
14919 * gdb.base/psymtab.exp: Likewise.
14920 * gdb.base/ptype.exp: Likewise.
14921 * gdb.base/recurse.exp: Likewise.
14922 * gdb.base/relational.exp: Likewise.
14923 * gdb.base/relocate.exp: Likewise.
14924 * gdb.base/remote.exp: Likewise.
14925 * gdb.base/reread.exp: Likewise.
14926 * gdb.base/restore.exp: Likewise.
14927 * gdb.base/return.exp: Likewise.
14928 * gdb.base/return2.exp: Likewise.
14929 * gdb.base/scope.exp: Likewise.
14930 * gdb.base/sect-cmd.exp: Likewise.
14931 * gdb.base/sep.exp: Likewise.
14932 * gdb.base/sepdebug.exp: Likewise.
14933 * gdb.base/setshow.exp: Likewise.
14934 * gdb.base/setvar.exp: Likewise.
14935 * gdb.base/sigall.exp: Likewise.
14936 * gdb.base/sigbpt.exp: Likewise.
14937 * gdb.base/signals.exp: Likewise.
14938 * gdb.base/signull.exp: Likewise.
14939 * gdb.base/sizeof.exp: Likewise.
14940 * gdb.base/solib.exp: Likewise.
14941 * gdb.base/step-line.exp: Likewise.
14942 * gdb.base/step-test.exp: Likewise.
14943 * gdb.base/structs.exp: Likewise.
14944 * gdb.base/structs2.exp: Likewise.
14945 * gdb.base/term.exp: Likewise.
14946 * gdb.base/twice.exp: Likewise.
14947 * gdb.base/until.exp: Likewise.
14948 * gdb.base/varargs.exp: Likewise.
14949 * gdb.base/volatile.exp: Likewise.
14950 * gdb.base/watchpoint.exp: Likewise.
14951 * gdb.base/whatis-exp.exp: Likewise.
14952 * gdb.base/whatis.exp: Likewise.
14953 * gdb.cp/ambiguous.exp: Likewise.
14954 * gdb.cp/annota2.exp: Likewise.
14955 * gdb.cp/annota3.exp: Likewise.
14956 * gdb.cp/bool.exp: Likewise.
14957 * gdb.cp/breakpoint.exp: Likewise.
14958 * gdb.cp/casts.exp: Likewise.
14959 * gdb.cp/class2.exp: Likewise.
14960 * gdb.cp/classes.exp: Likewise.
14961 * gdb.cp/cplusfuncs.exp: Likewise.
14962 * gdb.cp/ctti.exp: Likewise.
14963 * gdb.cp/derivation.exp: Likewise.
14964 * gdb.cp/exception.exp: Likewise.
14965 * gdb.cp/gdb1355.exp: Likewise.
14966 * gdb.cp/hang.exp: Likewise.
14967 * gdb.cp/inherit.exp: Likewise.
14968 * gdb.cp/local.exp: Likewise.
14969 * gdb.cp/m-data.exp: Likewise.
14970 * gdb.cp/m-static.exp: Likewise.
14971 * gdb.cp/member-ptr.exp: Likewise.
14972 * gdb.cp/method.exp: Likewise.
14973 * gdb.cp/misc.exp: Likewise.
14974 * gdb.cp/namespace.exp: Likewise.
14975 * gdb.cp/overload.exp: Likewise.
14976 * gdb.cp/ovldbreak.exp: Likewise.
14977 * gdb.cp/pr-1023.exp: Likewise.
14978 * gdb.cp/pr-1210.exp: Likewise.
14979 * gdb.cp/pr-574.exp: Likewise.
14980 * gdb.cp/printmethod.exp: Likewise.
14981 * gdb.cp/psmang.exp: Likewise.
14982 * gdb.cp/ref-params.exp: Likewise.
14983 * gdb.cp/ref-types.exp: Likewise.
14984 * gdb.cp/rtti.exp: Likewise.
14985 * gdb.cp/templates.exp: Likewise.
14986 * gdb.cp/try_catch.exp: Likewise.
14987 * gdb.cp/userdef.exp: Likewise.
14988 * gdb.cp/virtfunc.exp: Likewise.
14989 * gdb.disasm/am33.exp: Likewise.
14990 * gdb.disasm/h8300s.exp: Likewise.
14991 * gdb.disasm/mn10300.exp: Likewise.
14992 * gdb.disasm/sh3.exp: Likewise.
14993 * gdb.disasm/t01_mov.exp: Likewise.
14994 * gdb.disasm/t02_mova.exp: Likewise.
14995 * gdb.disasm/t03_add.exp: Likewise.
14996 * gdb.disasm/t04_sub.exp: Likewise.
14997 * gdb.disasm/t05_cmp.exp: Likewise.
14998 * gdb.disasm/t06_ari2.exp: Likewise.
14999 * gdb.disasm/t07_ari3.exp: Likewise.
15000 * gdb.disasm/t08_or.exp: Likewise.
15001 * gdb.disasm/t09_xor.exp: Likewise.
15002 * gdb.disasm/t10_and.exp: Likewise.
15003 * gdb.disasm/t11_logs.exp: Likewise.
15004 * gdb.disasm/t12_bit.exp: Likewise.
15005 * gdb.disasm/t13_otr.exp: Likewise.
15006 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
15007 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
15008 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15009 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
15010 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
15011 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15012 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15013 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15014 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
15015 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
15016 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15017 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15018 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15019 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15020 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15021 * gdb.mi/gdb701.exp: Likewise.
15022 * gdb.mi/gdb792.exp: Likewise.
15023 * gdb.mi/mi-basics.exp: Likewise.
15024 * gdb.mi/mi-break.exp: Likewise.
15025 * gdb.mi/mi-cli.exp: Likewise.
15026 * gdb.mi/mi-console.exp: Likewise.
15027 * gdb.mi/mi-disassemble.exp: Likewise.
15028 * gdb.mi/mi-eval.exp: Likewise.
15029 * gdb.mi/mi-file.exp: Likewise.
15030 * gdb.mi/mi-read-memory.exp: Likewise.
15031 * gdb.mi/mi-regs.exp: Likewise.
15032 * gdb.mi/mi-return.exp: Likewise.
15033 * gdb.mi/mi-simplerun.exp: Likewise.
15034 * gdb.mi/mi-stack.exp: Likewise.
15035 * gdb.mi/mi-stepi.exp: Likewise.
15036 * gdb.mi/mi-syn-frame.exp: Likewise.
15037 * gdb.mi/mi-until.exp: Likewise.
15038 * gdb.mi/mi-var-block.exp: Likewise.
15039 * gdb.mi/mi-var-child.exp: Likewise.
15040 * gdb.mi/mi-var-cmd.exp: Likewise.
15041 * gdb.mi/mi-var-display.exp: Likewise.
15042 * gdb.mi/mi-watch.exp: Likewise.
15043 * gdb.mi/mi2-basics.exp: Likewise.
15044 * gdb.mi/mi2-break.exp: Likewise.
15045 * gdb.mi/mi2-cli.exp: Likewise.
15046 * gdb.mi/mi2-console.exp: Likewise.
15047 * gdb.mi/mi2-disassemble.exp: Likewise.
15048 * gdb.mi/mi2-eval.exp: Likewise.
15049 * gdb.mi/mi2-file.exp: Likewise.
15050 * gdb.mi/mi2-read-memory.exp: Likewise.
15051 * gdb.mi/mi2-regs.exp: Likewise.
15052 * gdb.mi/mi2-return.exp: Likewise.
15053 * gdb.mi/mi2-simplerun.exp: Likewise.
15054 * gdb.mi/mi2-stack.exp: Likewise.
15055 * gdb.mi/mi2-stepi.exp: Likewise.
15056 * gdb.mi/mi2-syn-frame.exp: Likewise.
15057 * gdb.mi/mi2-until.exp: Likewise.
15058 * gdb.mi/mi2-var-block.exp: Likewise.
15059 * gdb.mi/mi2-var-child.exp: Likewise.
15060 * gdb.mi/mi2-var-cmd.exp: Likewise.
15061 * gdb.mi/mi2-var-display.exp: Likewise.
15062 * gdb.mi/mi2-watch.exp: Likewise.
15063 * gdb.stabs/exclfwd.exp: Likewise.
15064 * gdb.stabs/weird.exp: Likewise.
15065 * gdb.threads/gcore-thread.exp: Likewise.
15066 * gdb.trace/actions.exp: Likewise.
15067 * gdb.trace/backtrace.exp: Likewise.
15068 * gdb.trace/circ.exp: Likewise.
15069 * gdb.trace/collection.exp: Likewise.
15070 * gdb.trace/deltrace.exp: Likewise.
15071 * gdb.trace/infotrace.exp: Likewise.
15072 * gdb.trace/limits.exp: Likewise.
15073 * gdb.trace/packetlen.exp: Likewise.
15074 * gdb.trace/passc-dyn.exp: Likewise.
15075 * gdb.trace/passcount.exp: Likewise.
15076 * gdb.trace/report.exp: Likewise.
15077 * gdb.trace/save-trace.exp: Likewise.
15078 * gdb.trace/tfind.exp: Likewise.
15079 * gdb.trace/tracecmd.exp: Likewise.
15080 * gdb.trace/while-dyn.exp: Likewise.
15081 * gdb.trace/while-stepping.exp: Likewise.
15082
f4b618d1
JB
150832006-08-08 Joel Brobecker <brobecker@adacore.com>
15084
15085 * gdb.base/step-bt.c: New file.
15086 * gdb.base/step-bt.exp: New testcase.
15087
3d00d119
DJ
150882006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
15089
15090 * config/monitor.exp (gdb_load): Remove support for obsolete
15091 download-write-size.
15092 * gdb.base/remote.exp: Likewise. Update all callers of
15093 gdb_timed_load.
15094
017b5bd4
DJ
150952006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
15096
15097 * cursal.exp: Pass binfile to gdb_load.
15098
837c599d
DJ
150992006-08-01 Nathan Sidwell <nathan@codesourcery.com>
15100
15101 * gdb.base/cursal.exp: Add "" to gdb_load call.
15102
8dd4540b
MK
151032006-07-29 Mark Kettenis <kettenis@gnu.org>
15104
15105 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
15106 NetBSD/ELF targets.
15107
ab5c9f60
DJ
151082006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
15109
15110 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
15111 operator*.
15112
4c42eaff
DJ
151132006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
15114
15115 * gdb.base/completion.exp: Update for change in "file" behavior.
15116 * gdb.stabs/weird.exp: Likewise.
15117 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
15118 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
15119
0155cc76
NS
151202006-07-24 Nathan Sidwell <nathan@codesourcery.com>
15121
15122 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
15123 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
15124
16026cd7
AS
151252006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
15126
15127 * gdb.base/default.exp: Update source command error message.
15128 * gdb.base/help.exp: Update 'help source' message.
15129
16963cb6
DJ
151302006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
15131
15132 * gdb.cp/bs15503.exp: Update comment for no longer crashing
15133 test.
15134
6d7fd486
AS
151352006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
15136
15137 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
15138
29e8a844
DJ
151392006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15140
15141 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
15142
6afcfa39
DJ
151432006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15144
15145 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
15146
267a692b
MK
151472006-07-17 Mark Kettenis <kettenis@gnu.org>
15148
15149 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
15150 *-*-openbsd* from targets for wich we expect ARM FPA floating
15151 point format.
15152
85d2fec4
NR
151532006-07-17 Nick Roberts <nickrob@snap.net.nz>
15154
15155 * gdb.cp/annota3.exp: Expect frame-begin annotation.
15156
151572006-07-17 Mark Kettenis <kettenis@gnu.org>
15158
15159 * gdb.base/annota3.exp: Expect frame-begin annotation.
15160
85b4c6e8
JB
151612006-07-14 Joel Brobecker <brobecker@adacore.com>
15162
15163 * gdb.base/help.exp: Adjust "help unset" test to accept
15164 any list of unset commands.
15165
fb933624
DJ
151662006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
15167 Daniel Jacobowitz <dan@codesourcery.com>
15168
15169 * gdb.cp/ref-params.exp: New test.
15170 * gdb.cp/ref-params.cc: New source file.
15171 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
15172
1dff4b64
MK
151732006-07-08 Mark Kettenis <kettenis@gnu.org>
15174
15175 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
15176 spaces/tabs in regular expressions since they might not be there.
15177
40d2e0e3
AS
151782006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
15179
15180 * gdb.base/ifelse.exp: New file.
15181
f6c957d2
NS
151822006-07-04 Nathan Sidwell <nathan@codesourcery.com>
15183
15184 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
15185 line.
15186 * gdb.base/huge.exp: Loop over compilation to find a size that
15187 is acceptable.
15188 * gdb.base/remote.exp: Correct expected strings.
15189 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
15190
b9c5a23d
DJ
151912006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15192
15193 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
15194
9af2e58d
DJ
151952006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15196
15197 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
15198 native.
15199
30930ca5
DJ
152002006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15201
15202 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
15203 enable stabs testing.
15204
aa32fa1d
DJ
152052006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15206
bd4a4c80 15207 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
15208 gdb_test_multiple does.
15209
321fef15
DJ
152102006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15211
15212 * Makefile.in (host_alias): Remove.
15213 (target_alias): Use @target_noncanonical@.
15214 (site.exp): Don't set host_alias.
15215 * aclocal.m4: Remove contents. Include acx.m4.
15216 * configure: Regenerated.
15217 * configure.ac: Use ACX_NONCANONICAL_TARGET.
15218
e1c2defa
NS
152192006-06-13 Nathan Sidwell <nathan@codesourcery.com>
15220
e63b55d1
NS
15221 * lib/gdb.exp (gdb_load_cmd): New.
15222
5600ea19
NS
15223 * gdb.base/fileio.c: Add system(NULL) test.
15224 * gdb.base/fileio.exp: Check it.
15225
e1c2defa
NS
15226 * gdb.base/break.c: Add 10a breakpoint at }
15227 * gdb.base/break.exp: Add test for breakpoint at }
15228 * gdb.cp/anon-union.cc: Add code at end of function.
15229 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
15230 * gdb.mi/var-cmd.c: Add code at end of function.
15231 * gdb.mi/mi-var-display.exp: Adjust end of next.
15232 * gdb.mi/mi2-var-display.exp: Likewise.
15233 * gdb.base/fileio.c: Add stop function and insert calls at
15234 stopping places.
15235 * gdb.base/fileio.exp: Breakpoint stop function and remove
15236 explicit line number references.
15237
6c0112ec
JB
152382006-05-19 Joel Brobecker <brobecker@adacore.com>
15239
a9c64011
AS
15240 * gdb.base/del.exp (test_delete_alias): New function.
15241 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 15242
154189a4
FF
152432006-05-18 Fred Fish <fnf@specifix.com>
15244
15245 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
15246 required. Check for spurious output after program exits normally.
15247
582e64c2
FF
152482006-05-17 Fred Fish <fnf@specifix.com>
15249
15250 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
15251 gdb_load, so it works in the simulator.
15252
8ef6493a
FF
152532006-05-11 Fred Fish <fnf@specifix.com>
15254
15255 * gdb.base/bang.exp: Ignore unexpected output between the
15256 "program exited normally" and the gdb prompt, as many other
15257 tests do.
15258
692b141c
MK
152592006-05-07 Mark Kettenis <kettenis@gnu.org>
15260
15261 * gdb.base/help.exp: Make "delete checkpoint" part option for
15262 "help d" and "help delete" tests.
15263
540b8a30
UW
152642006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15265
a9c64011 15266 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
15267 expected output in some mi_gdb_test statements.
15268 * gdb.mi/mi2-basics.exp: Likewise.
15269
9b6462d9
JB
152702006-05-05 Joel Brobecker <brobecker@adacore.com>
15271
15272 * gdb.base/del.c: New file.
15273 * gdb.base/del.exp: New testcase.
15274
954de43b
DM
152752006-05-05 David S. Miller <davem@sunset.davemloft.net>
15276
15277 * gdb.base/break.exp: Do not assume a breakpoint on
15278 main will actually be in $srcfile when optimizing.
1303f75e
DM
15279 * gdb.base/savedregs.exp: Do not require that the dummy
15280 frame location match up to a symbol and source file location.
c3242428
DM
15281 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
15282 will get printed without a mi_cmd_data_list_register_values prefix.
15283 (*-data-list-register-*): Correct regular expressions to expect the new
15284 pseudo d? floating point registers.
15285 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 15286
c7e64c9a
DJ
152872006-05-05 Christophe Lyon <christophe.lyon@st.com>
15288
15289 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
15290 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
15291 is allocated by the compiler.
15292 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
15293 anons, e, anone to force their allocation by the compiler.
15294
152952006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
15296
15297 * gdb.base/help.exp: Update expected text for help d and
15298 help delete.
15299
27ce9a6d
MK
153002006-05-02 Mark Kettenis <kettenis@gnu.org>
15301
15302 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
15303 NetBSD/ELF targets.
15304
8608915f
MK
153052006-04-30 Mark Kettenis <kettenis@gnu.org>
15306
15307 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
15308 single-step breakpoint fails; make this a KFAIL on
15309 sparc*-*-openbsd*.
15310 * gdb.base/siginfo.exp: Likewise.
15311 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15312
b8db102d
MS
153132006-04-26 Michael Snyder <msnyder@redhat.com>
15314
15315 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
15316 which may have to consume output from other forks.
15317 Add tests to make sure that "delete fork" succeeded.
15318
c702009a
MS
153192006-04-20 Michael Snyder <msnyder@redhat.com>
15320
15321 * 2006-03-22 Jim Blandy <jimb@redhat.com>
15322 Add support for the Renesas M32C and M16C.
15323
15324 * gdb.asm/asm-source.exp: Add m32c target.
15325 * gdb.asm/m32c.inc: Support for m32c target.
15326
e28493f2
AS
153272006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
15328
15329 * gdb.base/commands.exp (recursive_source_test): New test.
15330
880da185
DM
153312006-04-04 David S. Miller <davem@sunset.davemloft.net>
15332
15333 * gdb.base/float.exp: Add pattern for sparc targets.
15334
61d9b92f
DJ
153352006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15336
15337 * gdb.base/commands.exp (stray_arg0_test): New test.
15338
bd717df8
PB
153392006-03-30 Paul Brook <paul@codesourcery.com>
15340
15341 * gdb.mi/mi-until.exp: kfail broken until command.
15342 * gdb.mi/mi2-until.exp: Ditto.
15343
ec793d3c
NR
153442006-03-27 Nick Roberts <nickrob@snap.net.nz>
15345
15346 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
15347
831004b7
AO
153482006-03-08 Alexandre Oliva <aoliva@redhat.com>
15349
15350 * gdb.base/prelink.exp: Anchor tested-for regular expression
15351 on gdb prompt.
15352
effe49a0
PB
153532006-03-07 Paul Brook <paul@codesourcery.com>
15354
15355 * gdb.base/assign.exp: Correct fail message.
15356
e5461016
PB
153572006-03-07 Paul Brook <paul@codesourcery.com>
15358
15359 * lib/compiler.c: Extract armcc version number.
15360 * lib/compiler.cc: Ditto.
15361
fc91c6c2
PB
153622006-03-07 Paul Brook <paul@codesourcery.com>
15363
15364 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
15365 additional_flags=-w.
15366 * gdb.arch/altivec-regs.exp: Ditto.
15367 * gdb.arch/e500-abi.exp: Ditto.
15368 * gdb.arch/e500-regs.exp: Ditto.
15369 * gdb.base/all-bin.exp: Ditto.
15370 * gdb.base/annota1.exp: Ditto.
15371 * gdb.base/annota3.exp: Ditto.
15372 * gdb.base/args.exp: Ditto.
15373 * gdb.base/arithmet.exp: Ditto.
15374 * gdb.base/assign.exp: Ditto.
15375 * gdb.base/async.exp: Ditto.
15376 * gdb.base/bang.exp: Ditto.
15377 * gdb.base/break.exp: Ditto.
15378 * gdb.base/call-rt-st.exp: Ditto.
15379 * gdb.base/completion.exp: Ditto.
15380 * gdb.base/cond-expr.exp: Ditto.
15381 * gdb.base/condbreak.exp: Ditto.
15382 * gdb.base/consecutive.exp: Ditto.
15383 * gdb.base/define.exp: Ditto.
15384 * gdb.base/display.exp: Ditto.
15385 * gdb.base/ena-dis-br.exp: Ditto.
15386 * gdb.base/environ.exp: Ditto.
15387 * gdb.base/eval-skip.exp: Ditto.
15388 * gdb.base/info-proc.exp: Ditto.
15389 * gdb.base/jump.exp: Ditto.
15390 * gdb.base/logical.exp: Ditto.
15391 * gdb.base/long_long.exp: Ditto.
15392 * gdb.base/maint.exp: Ditto.
15393 * gdb.base/miscexprs.exp: Ditto.
15394 * gdb.base/pc-fp.exp: Ditto.
15395 * gdb.base/pointers.exp: Ditto.
15396 * gdb.base/relational.exp: Ditto.
15397 * gdb.base/reread.exp: Ditto.
15398 * gdb.base/sect-cmd.exp: Ditto.
15399 * gdb.base/sep.exp: Ditto.
15400 * gdb.base/sepdebug.exp: Ditto.
15401 * gdb.base/until.exp: Ditto.
15402 * gdb.base/whatis-exp.exp: Ditto.
15403 * gdb.cp/annota2.exp: Ditto.
15404 * gdb.cp/annota3.exp: Ditto.
15405 * gdb.trace/actions.exp: Ditto.
15406 * gdb.trace/backtrace.exp: Ditto.
15407 * gdb.trace/circ.exp: Ditto.
15408 * gdb.trace/collection.exp: Ditto.
15409 * gdb.trace/deltrace.exp: Ditto.
15410 * gdb.trace/infotrace.exp: Ditto.
15411 * gdb.trace/limits.exp: Ditto.
15412 * gdb.trace/packetlen.exp: Ditto.
15413 * gdb.trace/passc-dyn.exp: Ditto.
15414 * gdb.trace/passcount.exp: Ditto.
15415 * gdb.trace/report.exp: Ditto.
15416 * gdb.trace/save-trace.exp: Ditto.
15417 * gdb.trace/tfind.exp: Ditto.
15418 * gdb.trace/tracecmd.exp: Ditto.
15419 * gdb.trace/while-dyn.exp: Ditto.
15420 * gdb.trace/while-stepping.exp: Ditto.
15421 * lib/gdb.exp: Ditto.
15422 (gdb_compile): Handle nowarning option.
15423
5f4a23d9
AO
154242006-03-07 Alexandre Oliva <aoliva@redhat.com>
15425
15426 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
15427 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
15428 Rename executable to prelinkt. Don't re-prelink if we didn't
15429 get a core file. Test prelink -u exit status to tell whether
15430 prelinking failed. Use gdb_test_multiple.
15431
9733fc94
DJ
154322006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
15433
15434 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
15435 (do_tests): Call it.
15436
cc10cae3
AO
154372006-02-28 Alexandre Oliva <aoliva@redhat.com>
15438
15439 * gdb.base/prelink.exp: New test.
15440 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
15441
15c46491
WZ
154422006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
15443
15444 * gdb.fortran/derived-type.f90: New file.
15445 * gdb.fortran/derived-type.exp: New testcase.
15446
5c9f7ded
DJ
154472006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
15448
15449 * gdb.base/default.exp: Allow ';' as a directory separator.
15450
5b96932b
AS
154512006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15452
15453 * gdb.base/help.exp (help add-symbol-file): Update.
15454
1986bccd
AS
154552006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15456
15457 * gdb.base/help.exp (help load): Update expected results.
15458
a8b7528f
FF
154592006-02-19 Fred Fish <fnf@specifix.com>
15460
15461 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
15462 specifix hex value as part of results.
15463 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 15464
f8261448
FF
154652006-02-16 Fred Fish <fnf@specifix.com>
15466
15467 * gdb.base/whatis.c: Define variables using typedefs char_addr,
15468 ushort_addr, and slong_addr, so the typedefs are not optimized
15469 away.
15470 * gdb.base/whatis.exp: Add tests using type name for struct type,
15471 union type, enum type, and typedef.
a9c64011 15472
31d8bdd2
MK
154732006-02-13 Mark Kettenis <kettenis@gnu.org>
15474
15475 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
15476
34e41e63
JB
154772006-02-13 Jim Blandy <jimb@redhat.com>
15478
15479 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
15480 case where it takes two "next" commands to skip past the init
15481 call.
15482
ac6e4f31
FF
154832006-02-12 Fred Fish <fnf@specifix.com>
15484
15485 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
15486 to handle cases where it takes two "next" commands to skip
15487 past the init call.
15488
2db2d571
JB
154892006-02-07 Joel Brobecker <brobecker@adacore.com>
15490
15491 * gdb.ada/array_return.exp: Mark the last test as expected to fail
15492 on hppa32 targets.
15493
38fcd64c
DJ
154942006-02-06 Vladimir Prus <ghost@cs.msu.su>
15495
15496 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
15497 field.
15498
1315ad46
MK
154992006-01-29 Mark Kettenis <kettenis@gnu.org>
15500
15501 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
15502
5625b943
DJ
155032006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15504
15505 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
15506 files.
15507
80df1bbe
DJ
155082006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15509
15510 * gdb.cp/maint.exp: Set complaints to a positive value.
15511
9078e690
DJ
155122006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15513
15514 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
15515 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
15516 function name.
15517
9c903399
DJ
155182006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15519
15520 * gdb.base/checkpoint.c: Update copyright notice. Include
15521 <stdlib.h>.
15522
761ae4d6
JB
155232006-01-04 Jim Blandy <jimb@redhat.com>
15524
15525 * gdb.asm/asm-source.exp: Independently provide default values for
15526 asm-flags and debug-flags. Use 'string equal' to do the
15527 comparison, not the implicit expr's '==' operator. Remove
15528 now-unneeded assignments to asm-flags. In h8300 case, place
15529 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
15530
099ac3dd
MS
155312006-01-04 Michael Snyder <msnyder@redhat.com>
15532
15533 * gdb.base/checkpoint.c: New file.
15534 * gdb.base/checkpoint.exp: New file.
15535 * gdb.base/multi-fork.c: New file.
15536 * gdb.base/multi-fork.exp: New file.
15537 * gdb.base/pi.txt: New file (data for checkpoint.c test).
15538
f4d85314
FF
155392006-01-04 Fred Fish <fnf@specifix.com>
15540
15541 * gdb.base/ptype.c (foo): Add typedef.
15542 (intfoo): Add function.
15543 * gdb.base/ptype1.c: New file.
15544 * gdb.base/ptype.exp: Handle compilation and linking with two
15545 source files. Test that proper type for "foo" is found based
15546 on source context rather than first match found in symtabs.
15547
a1b06f35
MK
155482005-12-28 Mark Kettenis <kettenis@gnu.org>
15549
15550 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
15551 * gdb.asm/openbsd.inc: Indent commands.
15552
d082a1e2
MK
155532005-12-26 Mark Kettenis <kettenis@gnu.org>
15554
c65016bd
MK
15555 * gdb.base/freebpcmd.exp: Increase timeout.
15556
d082a1e2
MK
15557 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
15558
d3c32a0e
DJ
155592005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
15560
15561 * gdb.base/default.exp: Update check for "show version".
15562
9fdb1f50
RC
155632005-12-09 Randolph Chung <tausq@debian.org>
15564
15565 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
15566 * gdb.asm/pa64.inc: New file.
15567
5f2c56f7
RC
155682005-12-09 Randolph Chung <tausq@debian.org>
15569
15570 * gdb.asm/common.inc: Indent commands.
15571 * gdb.asm/asmsrc1.s: Likewise.
15572 * gdb.asm/asmsrc2.s: Likewise.
15573
8117349c
RC
155742005-12-09 Randolph Chung <tausq@debian.org>
15575
15576 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
15577 (get_addr_of_sym): Remove duplicate print.
15578 (gen_core): xfail hppa*-*-hpux*, update expected output.
15579 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
15580 * gdb.arch/pa64-nullify.s: New file.
15581
8f07f25a
RC
155822005-12-09 Randolph Chung <tausq@debian.org>
15583
15584 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
15585
55b39184
DJ
155862005-12-07 Christophe Lyon <christophe.lyon@st.com>
15587
15588 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
15589 code generation for these functions.
15590 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
15591 error message.
15592
31e2b00f
AS
155932005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
15594
15595 * gdb.base/help.exp (help b, help br, help bre, help brea)
15596 (help break): Update the expected message.
15597
c3d0b56e
SC
155982005-11-11 Stephane Carrez <stcarrez@nerim.fr>
15599
15600 * gdb.asm/m68hc11.inc: Setup the data section.
15601 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
15602 script for this test.
15603 (m6812-*-*): Likewise.
15604
36ae0ea9
RC
156052005-11-09 Randolph Chung <tausq@debian.org>
15606
15607 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
15608
9d6f42e9
WZ
156092005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
15610
15611 * gdb.base/break.exp: Fix a comment typo.
15612
e2126a14
EZ
156132005-11-03 Jim Blandy <jimb@redhat.com>
15614
a9c64011
AS
15615 Checked in by Elena Zannoni <ezannoni@redhat.com>
15616
889bf7c5 15617 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 15618
e0ac7199
CV
156192005-11-02 Corinna Vinschen <vinschen@redhat.com>
15620
15621 * gdb.arch/gdb1558.c: Include stdio.h.
15622
31d3fb18
MK
156232005-10-31 Mark Kettenis <kettenis@gnu.org>
15624
15625 * gdb.asm/asm-source.exp: Use -e instead of --entry.
15626
e52b687c
MK
156272005-10-31 Mark Kettenis <kettenis@gnu.org>
15628
15629 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
15630
f4711d79
PG
156312005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
15632
a9c64011
AS
15633 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15634 vscr" tests to better match output.
f4711d79 15635
987a9106
JB
156362005-10-12 Jim Blandy <jimb@redhat.com>
15637
15638 * gdb.base/structs.exp (any): New function.
15639 (test_struct_returns): Don't make any assumptions at all about
15640 what value the function returns when GDB can't set the return
15641 value.
15642
2336bb58
JB
156432005-10-09 Joel Brobecker <brobecker@adacore.com>
15644
15645 * gdb.ada/arrayidx/p.adb: New file.
15646 * gdb.ada/arrayidx.exp: New testcase
15647
156482005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
15649
15650 * gdb.ada/array_return/pck.ads: New file.
15651 * gdb.ada/array_return/pck.adb: New file.
15652 * gdb.ada/array_return/p.adb: New file.
15653 * gdb.ada/array_return.exp: New testcase.
15654
705335ea
JB
156552005-10-03 Joel Brobecker <brobecker@adacore.com>
15656
a9c64011
AS
15657 * gdb.base/arrayidx.c: New file.
15658 * gdb.base/arrayidx.exp: New testcase.
705335ea 15659
11ee9940
NR
156602005-09-29 Nick Roberts <nickrob@snap.net.nz>
15661
15662 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
15663 frames-invalid and breakpoints-invalid are no longer generated
15664 with level 3 so don't expect them in the output.
15665
39fb8e9e
BR
156662005-09-27 Bob Rossi <bob@brasko.net>
15667
a9c64011 15668 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
15669 from test. Escape the | in mi_gdb_test call.
15670 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
15671 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
15672 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
15673 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
15674 expected regex's in mi_gdb_test calls.
15675 * lib/mi-support.exp: Remove arbitrary .* from tests.
15676 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
15677 Fully anchor GDB/MI expected results in mi_gdb_test.
15678 * lib/gdb.exp (string_to_regexp): Escape the ] character.
15679 * gdb.base/sizeof.exp: Remove escape character. Correct test.
15680
2af48f68
PB
156812005-09-26 Paul Brook <paul@codesourcery.com>
15682
15683 * long_long.exp: Exclude eabi targets from arm FPA float format test.
15684
f34502bc
WZ
156852005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15686
15687 * bfp-test.c: New file.
15688 * bfp-test.exp: New testcase.
15689
ca929517
WZ
156902005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15691
15692 * gdb.fortran/subarray.exp: New testcase to test the evaluation
15693 of subarray and substring variable.
15694 * gdb.fortran/subarray.f: New source file for the test of subarray
15695 and substring variable evaluation.
15696 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
15697 of string constant.
15698
c761af65
DJ
156992005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
15700
15701 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
15702 copyright dates.
15703
561d7a1d
PG
157042005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
15705
15706 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
15707 powerpc altivec' test with an almost identical 'info vector' test.
15708
b2b64cc9
PG
157092005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15710
a9c64011
AS
15711 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15712 vscr" tests to match output.
b2b64cc9 15713
6ac4d15a
PG
157142005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15715
a9c64011
AS
15716 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
15717 output.
6ac4d15a 15718
40e55bef
BR
157192005-09-11 Bob Rossi <bob@brasko.net>
15720
889bf7c5
PA
15721 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
15722 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
15723 commands that return an MI output command and an asyncronous MI output
15724 command.
40e55bef
BR
15725 * gdb.mi/mi-console.exp: Ditto.
15726
3c7385ec
BR
157272005-09-11 Bob Rossi <bob@brasko.net>
15728
15729 * gdb.mi/mi-var-child.c: Include <string.h>.
15730
a6cd0eb3
DJ
157312005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
15732
15733 * killed.exp: Correct gdb_expect syntax.
15734
2f168eed
CV
157352005-08-09 Corinna Vinschen <vinschen@redhat.com>
15736
15737 * lib/mi-support.exp (mi_gdb_load): Fix typo.
15738
ecd3fd0f
BR
157392005-08-02 Bob Rossi <bob@brasko.net>
15740
15741 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
15742 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
15743 Change tests to inferior-tty-set/show.
15744 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
15745 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
15746 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
15747 inferior. Use mi_gdb_test to get GDB and Inferior output.
15748 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
15749 descriptor.
15750 (mi_inferior_tty_name): Add inferior PTY file name.
15751 (mi_gdb_start): Add INFERIOR_PTY parameter.
15752 (mi_gdb_test): Add IPATTERN parameter.
15753
f1ea48cb 157542005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 15755
f1ea48cb
BR
15756 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
15757 parameter to mi_gdb_test.
15758 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
15759
6e650a67
DJ
157602005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15761
15762 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
15763 struct_declarations.
15764 * gdb.mi/mi-var-child.exp: Step over the initialization of
15765 struct_declarations.
15766
8be260b6
DJ
157672005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15768
15769 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
15770 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
15771 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
15772 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
15773 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
15774 file.
15775
4e660f07
NR
157762005-07-27 Nick Roberts <nickrob@snap.net.nz>
15777
15778 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
15779 (do_children_tests): Assign values to the extra elements.
15780
15781 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
15782 them for tests for "-var-update --no-values" and
a9c64011 15783 "-var-update --all-values".
4e660f07
NR
15784 Add test for "-var-list-children --simple-values".
15785
15786 * gdb.mi/basics.c (callee4): Add integer array D[3]...
15787
15788 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
15789 "-stack-list-locals --simple-values" Improve doc strings and
15790 comments.
15791
6bdae935
MK
157922005-07-18 Mark Kettenis <kettenis@gnu.org>
15793
598b7a6f
MK
15794 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
15795 *-*-openbsd*.
15796 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
15797
6bdae935
MK
15798 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
15799 sigaltsatck'.
15800
1323e929 158012005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 15802
1323e929
BR
15803 * gdb.base/default.exp (tty): Changed output of command.
15804 * gdb.base/help.exp (help tty): Ditto.
15805
b1a9c082
MK
158062005-07-12 Mark Kettenis <kettenis@gnu.org>
15807
15808 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
15809
10a844a2
MK
158102005-07-10 Mark Kettenis <kettenis@gnu.org>
15811
15812 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
15813 -stack-select-frame without arguments.
15814 (test_stack_frame_listing): Add test for newly implemented command
15815 -stack-info-frame.
15816
3cb3b8df
BR
158172005-07-06 Bob Rossi <bob@brasko.net>
15818
15819 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
15820 command.
15821 (Copyright): Update copyright.
15822
a0c5fbcf
WZ
158232005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
15824
15825 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
15826 tests to evaluate exponentiation expression.
15827
984971d0
AS
158282005-06-29 Andreas Schwab <schwab@suse.de>
15829
15830 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
15831 main to avoid warnings.
15832
15833 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
15834
fe03833f
NR
158352005-06-20 Nick Roberts <nickrob@snap.net.nz>
15836
15837 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
15838 -stack-select-frame without arguments.
15839 (test_stack_frame_listing): Add test for newly implemented command
15840 -stack-info-frame.
a9c64011 15841
7a55f279
WZ
158422005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
15843
0ffa0ea5
DJ
15844 * gdb.fortran/array-element.f: New file.
15845 * gdb.fortran/array-element.exp: New testcase.
7a55f279 15846
26585198
DJ
158472005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15848
15849 * gdb.base/bigcore.exp: Correct checks for systems which can
15850 not dump a large core file.
15851
c1bd25fd
DJ
158522005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15853
15854 * gdb.base/relocate.c: Add a copyright notice.
15855 (dummy): Remove.
15856 * gdb.base/relocate.exp: Test printing the values of variables
15857 from a relocatable file.
15858
589e074d
DJ
158592005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15860
15861 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
15862 excess MI output after an error.
15863
0915f927
JB
158642005-05-29 Joel Brobecker <brobecker@adacore.com>
15865
15866 * gdb.arch/alpha-step.c: New file.
15867 * gdb.arch/alpha-step.exp: New testcase.
15868
76ff342d
DJ
158692005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
15870 Dennis Brueni <dennis@slickedit.com>
15871
15872 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
15873 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
15874 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
15875 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
15876 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15877 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
15878 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
15879
96b0c7ac
DJ
158802005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
15881 Wu Zhou <woodzltc@cn.ibm.com>
15882
15883 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
15884 IBM's xlc compiler.
15885 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
15886 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
15887
f21565d2
JB
158882005-05-13 Jim Blandy <jimb@redhat.com>
15889
15890 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
15891 calling gdb_suppress_entire_file.
15892 * gdb.base/charset.exp: Same.
15893 * gdb.base/call-rt-st.exp: Same.
15894
6006a3a1
BR
158952005-05-05 Bob Rossi <bob_rossi@cox.net>
15896
15897 * lib/gdb.exp (fullname_syntax): Added global regex.
15898 (fullname_syntax_POSIX): Ditto.
15899 (fullname_syntax_UNC): Ditto.
15900 (fullname_syntax_DOS_CASE): Ditto.
15901 (fullname_syntax_DOS): Ditto.
15902 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
15903 fullname_syntax variable to scope and use it.
15904 (test_file_list_exec_source_files): Ditto.
15905 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
15906
c3b69c04
DJ
159072005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
15908
15909 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
15910
3c95e6af
PG
159112004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
15912
a9c64011
AS
15913 * lib/gdb.exp (skip_altivec_tests): New function, based on
15914 check_vmx_hw_available from the GCC testsuite.
15915 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
15916 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 15917
78df6c56
JB
159182005-05-02 Jim Blandy <jimb@redhat.com>
15919
15920 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
15921 calling gdb_suppress_entire_file.
15922
1690f9cf
DJ
159232005-04-30 Randolph Chung <tausq@debian.org>
15924
15925 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
15926 Slightly relax "sem_post" name checking.
15927
5ea106f7
PG
159282005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15929
15930 * gdb.base/unload.exp: Use new shared library infrastructure.
15931
bf7234cf
PG
159322005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15933
15934 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 15935 infrastructure.
bf7234cf 15936
547b869a
CV
159372005-04-29 Corinna Vinschen <vinschen@redhat.com>
15938
15939 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
15940 * gdb.asm/h8300.inc: New file.
15941
f07e55f0
PG
159422005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15943
15944 * gdb.base/shlib-call.exp: Change to use new shared library
15945 infrastructure.
15946
3cbba3d1
PG
159472005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15948
a9c64011
AS
15949 * gdb.base/pending.exp: Change to use new shared library
15950 infrastructure.
3cbba3d1 15951
ed6df200
PG
159522005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15953
a9c64011
AS
15954 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
15955 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 15956
8c8f4ebe
PG
159572005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
15958
a9c64011
AS
15959 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
15960 shared objects being adjusted and update copyright years.
8c8f4ebe 15961
607fbc54
DJ
159622005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
15963
15964 * ChangeLog: Correct some 2003-01-13 dates.
15965 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
15966 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
15967 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
15968 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
15969 gdb.trace/tfind.exp: Update copyright years.
15970
57bf0e56
DJ
159712005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
15972 Daniel Jacobowitz <dan@codesourcery.com>
15973
15974 * lib/gdb.exp (gdb_compile): Handle shlib=.
15975 (gdb_compile_shlib): New function.
15976
9b593790
PG
159772005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
15978
a9c64011 15979 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 15980
9494c6a5
DJ
159812005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15982
15983 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
15984 gdb.server.
15985 * configure.ac: Likewise.
15986 * configure: Regenerated.
15987 * gdb.gdbserver/Makefile.in: Moved to...
15988 * gdb.server/Makefile.in: ... here.
15989 * gdb.gdbserver/server.c: Moved to...
15990 * gdb.server/server.c: ... here.
15991 * gdb.gdbserver/server-run.exp: Moved to...
15992 * gdb.server/server-run.exp: ... here.
15993
6f8eac0e
DJ
159942005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15995
15996 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
15997 * configure.ac: Create gdb.gdbserver/Makefile.
15998 * configure: Regenerated.
15999 * lib/gdbserver-support.exp: New file, derived from
16000 config/gdbserver.exp.
16001 * config/gdbserver.exp: Use gdbserver-support.exp.
16002 * gdb.gdbserver/Makefile.in: New file.
16003 * gdb.gdbserver/server.c: New file.
16004 * gdb.gdbserver/server-run.exp: New file.
16005
6e87504d
PG
160062005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
16007
a9c64011
AS
16008 * lib/gdb.exp (test_compiler_info): Return compiler_info
16009 if no arguments are given.
6e87504d 16010
d1779be4
PG
160112005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
16012
16013 * gdb.arch/altivec-abi.exp: Check for compiler and set
16014 use altivec' flag accordingly.
16015 * gdb.arch/altivec-regs.exp: Likewise.
16016
88750304
DJ
160172005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
16018
16019 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
16020
f3fb768d
AS
160212005-03-27 Andreas Schwab <schwab@suse.de>
16022
16023 * gdb.base/bigcore.c (main): Add missing mode argument in open
16024 call.
16025
7e813ac5
DJ
160262005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
16027
16028 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
16029 downloads.
16030 * config/gdbserver.exp (gdb_load): Likewise.
16031
8e3049aa
PB
160322005-03-14 Paul Brook <paul@codesourcery.com>
16033
16034 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
16035 targets.
16036
a9df7c44
JB
160372005-03-09 Joel Brobecker <brobecker@adacore.com>
16038
16039 * gdb.dwarf2/dup-psym.S: New file.
16040 * gdb.dwarf2/dup-psym.exp: New testcase.
16041
9f0d94e8
JB
160422005-03-09 Joel Brobecker <brobecker@adacore.com>
16043
16044 * gdb.ada/exec_changed/first.adb: New file.
16045 * gdb.ada/exec_changed/second.adb: New file.
16046 * gdb.ada/exec_changed.exp: New testcase.
16047
5f579bc5
NS
160482005-03-08 Nathan Sidwell <nathan@codesourcery.com>
16049
36e9969c
NS
16050 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
16051 (A2): New class.
16052 (main): Test operator+.
16053 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
16054 breakpoint test.
16055
5f579bc5
NS
16056 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
16057 * gdb.base/signull.exp: Disable if gdb,nosignals.
16058 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
16059 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
16060 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
16061 * gdb.mi/mi2-console.exp: Likewise.
16062 * gdb.trace/collection.exp (run_trace_experiment): Consume the
16063 continue output at start.
16064 (gdb_collect_locals_test): Robustify regexp.
16065 * gdb.trace/passc-dyn.exp: Fix comment typo.
16066 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
16067
be46087e
CV
160682005-03-08 Corinna Vinschen <vinschen@redhat.com>
16069
16070 * gdb.asm/asm-source.exp: Add iq2000 case.
16071 * gdb.asm/iq2000.inc: New file.
16072
384e1a61 160732005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 16074
384e1a61
MI
16075 * gdb.base/command.exp: Change hardcoded value to regular expression.
16076 * gdb.base/float.exp: Add powerpc to the list of targets checked.
16077
584b6e9e
DJ
160782005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
16079
16080 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
16081 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
16082 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
16083 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
16084 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
16085
ab5b5d61
MK
160862005-03-05 Mark Kettenis <kettenis@gnu.org>
16087
16088 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
16089 changes.
16090
ae051c1b
PG
160912004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
16092
a9c64011
AS
16093 * lib/compiler.c: Add test for IBM's xlc compiler.
16094 * lib/compiler.cc: Likewise.
ae051c1b 16095
3f0f6ed2
JB
160962004-02-24 Joel Brobecker <brobecker@adacore.com>
16097
16098 * gdb.ada/fixed_points.exp: Create compilation object directory
16099 before running the test.
16100 * gdb.ada/null_record.exp: Likewise.
16101 * gdb.ada/packed_array.exp: Likewise.
16102 * gdb.ada/start.exp: Likewise.
16103
724f452b
JB
161042005-02-15 Joel Brobecker <brobecker@adacore.com>
16105
16106 * gdb.ada/packed_array/pa.adb: New file.
16107 * gdb.ada/packed_array.exp: New testcase.
16108
57f5cdfb 161092005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 16110
1f393151
MK
16111 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
16112 files.
16113
ebdda337
MK
16114 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
16115 on *-*-openbsd*. Correctly match whitespace in regukar
16116 expressions.
16117
cf309262
DJ
161182005-02-10 Daniel Jacobowitz <dan@debian.org>
16119
16120 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
16121 PR exp/1821
16122 * gdb.base/gdb1821.c: New test file.
16123 * gdb.base/gdb1821.exp: New test file.
16124
3be49e7a
JB
161252005-02-09 Joel Brobecker <brobecker@adacore.com>
16126
16127 * gdb.base/start.c: New file.
16128 * gdb.base/start.exp: New testcase.
16129
e292e67d
JB
161302005-02-09 Joel Brobecker <brobecker@adacore.com>
16131
16132 * gdb.ada/start/dummy.adb: New file.
16133 * gdb.ada/start.exp: New testcase.
16134
dbdfa66c
CV
161352005-02-09 Corinna Vinschen <vinschen@redhat.com>
16136
16137 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
16138 for printing symbols and statistics.
16139 Add test for using relative pathnames in "maint print msymbols" test.
16140 Mark "maint info sections DATA" XFAIL on Cygwin.
16141 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
16142 tests.
16143
d7941671
AC
161442005-02-09 Andreas Schwab <schwab@suse.de>
16145
16146 Committed by Andrew Cagney <cagney@gnu.org>
16147 * gdb.base/remotetimeout.exp: New file.
16148
74e5ef44
MK
161492005-02-07 Mark Kettenis <kettenis@gnu.org>
16150
16151 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
16152
464dd14d
JB
161532005-02-03 Joel Brobecker <brobecker@adacore.com>
16154
16155 * gdb.ada/gnat_ada.gpr: New file.
16156 * gdb.ada/gnat_ada.gin: Delete, no longer used.
16157 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
16158 * configure.ac: No longer generate gnat_ada.gpr.
16159 * configure: Regenerate.
16160 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
16161 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
16162 * gdb.ada/null_record/bar.ads: Likewise.
16163 * gdb.ada/null_record/bar.adb: Likewise.
16164 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
16165 * gdb.ada/null_record.exp (testdir): New variable.
16166 (testfile): executable is now in testdir subdirectory.
16167 (srcfile): Use full path to the main compilation unit.
16168 * gdb.ada/fixed_points.exp: Same changes as above.
16169
30d756ae
NR
161702005-02-03 Nick Roberts <nickrob@snap.net.nz>
16171
16172 * gdb.base/interp.exp: New test.
16173
9d799f85
AC
161742005-01-24 Andrew Cagney <cagney@gnu.org>
16175
16176 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
16177
15656118
AC
161782005-01-19 Andrew Cagney <cagney@gnu.org>
16179
a892c31b
AC
16180 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
16181 configure.ac not configure.in.
16182
15656118
AC
16183 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
16184 of powerpc*-*-*.
16185 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 16186 * gdb.base/list.exp (test_list_function)
15656118
AC
16187 (test_list_filename_and_function): Ditto.
16188 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
16189
a7b01baf
AC
161902005-01-16 Andrew Cagney <cagney@gnu.org>
16191
17d92a02
AC
16192 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
16193
a7b01baf
AC
16194 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
16195
bc8332bb
AC
161962005-01-14 Andrew Cagney <cagney@gnu.org>
16197
16198 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
16199 * gdb.mi/mi2-var-cmd.exp: Ditto.
16200
4d074752
CV
162012005-01-10 Corinna Vinschen <vinschen@redhat.com>
16202
16203 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
16204
bec39cab
AC
162052005-01-07 Andrew Cagney <cagney@gnu.org>
16206
16207 * configure.ac: Rename configure.in, require autoconf 2.59.
16208 * configure: Re-generate.
16209 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
16210 * gdb.stabs/configure: Re-generate.
16211 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
16212 * gdb.hp/configure: Re-generate.
16213 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
16214 autoconf 2.59.
16215 * gdb.hp/gdb.objdbg/configure: Re-generate.
16216 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
16217 autoconf 2.59.
16218 * gdb.hp/gdb.defects/configure: Re-generate.
16219 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
16220 autoconf 2.59.
16221 * gdb.hp/gdb.compat/configure: Re-generate.
16222 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
16223 autoconf 2.59.
16224 * gdb.hp/gdb.base-hp/configure: Re-generate.
16225 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
16226 autoconf 2.59.
16227 * gdb.hp/gdb.aCC/configure: Re-generate.
16228
f10b16d4
JB
162292004-12-15 Jim Blandy <jimb@redhat.com>
16230
16231 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
16232 under NPTL when there is debugging info available for libpthread.
16233
fb6e1814
JG
162342004-12-13 Jerome Guitton <guitton@gnat.com>
16235
16236 * gdb.ada/fixed_points.c: New file.
16237 * gdb.ada/fixed_points.exp: New file.
16238
fe46cd3a
RC
162392004-12-03 Randolph Chung <tausq@debian.org>
16240
16241 * gdb.arch/pa-nullify.exp: New file.
16242 * gdb.arch/pa-nullify.s: New file.
16243
8de0841b
RC
162442004-11-30 Randolph Chung <tausq@debian.org>
16245
16246 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
16247 instead of "tbug". Fix regexp to work properly with gdb_test.
16248
c8170782
PH
162492004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
16250
16251 * gdb.base/bitfields2.exp: New test.
16252 * gdb.base/bitfields2.c: New file.
16253
954269c2
RE
162542004-11-28 Richard Earnshaw <rearnsha@arm.com>
16255
16256 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
16257
0107feed
RC
162582004-11-16 Randolph Chung <tausq@debian.org>
16259
16260 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
16261
f073ae8c
DJ
162622004-11-14 Daniel Jacobowitz <dan@debian.org>
16263
16264 * gdb.threads/threadapply.exp: Correct "macro details" test.
16265
19ad59e7
JJ
162662004-11-11 Jeff Johnston <jjohnstn@redhat.com>
16267
16268 * gdb.threads/threadapply.exp: New test.
16269 * gdb.threads/threadapply.c: New file.
16270
9cf0961b
MK
162712004-11-07 Mark Kettenis <kettenis@gnu.org>
16272
16273 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
16274 frames.
16275
c789492a
FL
162762004-11-05 Felix Lee <felix+log1@specifixinc.com>
16277
16278 * gdb.base/cursal.exp: New file.
16279 * gdb.base/cursal.c: New file.
16280
a1e167bb
AC
162812004-11-03 Andrew Cagney <cagney@gnu.org>
16282
16283 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
16284
b7cbf173
MK
162852004-10-30 Mark Kettenis <kettenis@gnu.org>
16286
16287 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
16288 NetBSD/ELF targets.
16289
88f9d34f
JB
162902004-10-29 Joel Brobecker <brobecker@gnat.com>
16291
16292 * gdb.threads/bp_in_thread.c: New file, copied from
16293 pthread_cond_wait.c.
16294 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
16295 file, rather than reusing the .c file from another testcase.
16296
ca7d6a0c
JB
162972004-10-20 Joel Brobecker <brobecker@gnat.com>
16298
16299 * gdb.ada/null_record.exp: Check where we stopped after
16300 sending the start command, instead of where the associated
16301 temporary breakpoint was inserted.
16302
0d863d03
AC
163032004-10-14 Andrew Cagney <cagney@gnu.org>
16304
16305 * gdb.mi/gdb701.c (main): Return 0.
16306
d11e72cb
DJ
163072004-10-13 Daniel Jacobowitz <dan@debian.org>
16308
d40539a4 16309 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 16310
e1923096
JJ
163112004-10-12 Jeff Johnston <jjohnstn@redhat.com>
16312
16313 * gdb.threads/schedlock.c: Add comment markers to use to find
16314 line numbers.
16315 * gdb.threads/schedlock.exp: Adjust regex to handle the new
16316 comments.
16317 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
16318 breakpoint lines.
16319
ec8ba2c9
DJ
163202004-10-12 Daniel Jacobowitz <dan@debian.org>
16321
16322 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
16323
0eb3658b
DJ
163242004-10-12 Daniel Jacobowitz <dan@debian.org>
16325
16326 * configure.in: Add gdb.dwarf2.
16327 * configure: Regenerated.
16328 * Makefile.in: Add gdb.dwarf2.
16329 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
16330 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
16331 gdb.dwarf2/file1.txt: New files.
16332
a271cc33
OF
163332004-10-11 Orjan Friberg <orjanf@axis.com>
16334
a9c64011 16335 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
16336 of "run", since the latter doesn't work with remote targets. Adjust
16337 the breakpoint numbering accordingly.
16338 * gdb.threads/pthread_cond_wait.exp: Ditto.
16339
895ce074
MC
163402004-10-08 Michael Chastain <mec.gnu@mindspring.com>
16341
16342 * gdb.base/overlays.exp: Update copyright years.
16343
6be3092d
KI
163442004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
16345
16346 * gdb.base/overlays.exp: Disable if target is Linux.
16347
e05389b8
FL
163482004-10-06 Felix Lee <felix+log1@specifixinc.com>
16349
16350 * config/gdbserver.exp (gdb_load): Use right filename on remote.
16351
73cb587d
KI
163522004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
16353
16354 * gdb.asm/asm-source.exp: Add m32r-linux target.
16355 * gdb.asm/m32r-linux.inc: New file.
16356
3c0edcdc
AC
163572004-09-24 Andrew Cagney <cagney@redhat.com>
16358 David Anderson <anderson@redhat.com>
16359
16360 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
16361 command fails, assume things will work.
16362 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
16363 (_GNU_SOURCE): Define.
16364 (print_unsigned, print_hex): Change parameter to "long long".
16365 (print_byte_count): New function, use to print byte counts.
16366 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
16367 O_LARGEFILE.
16368 (main): Compute an upper bound on a corefile in max_core_size.
16369 Limit memory chunk size to max_core_size. Limit total memory
16370 allocated to max_core_size.
16371
4bb3667f
AC
163722004-09-23 Andrew Cagney <cagney@gnu.org>
16373
16374 * gdb.base/bigcore.exp: Replace the code that creates a corefile
16375 from a separate process with code that creates a corefile by
16376 making the inferior dump core.
16377
60fe1a51
MK
163782004-09-23 Mark Kettenis <kettenis@gnu.org>
16379
16380 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
16381 block.
16382
8e937346
MC
163832004-09-23 Michael Chastain <mec.gnu@mindspring.com>
16384
16385 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
16386 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
16387 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
16388 Likewise.
16389
7213f6d6
JJ
163902004-09-20 Jeff Johnston <jjohnstn@redhat.com>
16391
16392 * gdb.java/jprint.exp: New test case for java inferior call.
16393 * gdb.java/jprint.java: Ditto.
16394
eac69dca
JB
163952004-09-15 Joel Brobecker <brobecker@gnat.com>
16396
16397 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
16398
22227696
MC
163992004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16400
16401 * gdb.threads/killed.c: Include <stdlib.h>.
16402 * gdb.threads/pthreads.c: Likewise.
16403
7dd403a4
MC
164042004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16405
16406 * gdb.threads/killed.c: Add copyright notice.
16407
33f2d567
JM
164082004-09-10 Jason Molenda (jmolenda@apple.com)
16409
a9c64011
AS
16410 * gdb.base/define.exp: Two new tests to verify zero space chars
16411 after 'if' and 'while' commands in a user-defined command is correctly
16412 parsed.
33f2d567 16413
e05b62ac
AC
164142004-09-08 Andrew Cagney <cagney@gnu.org>
16415
16416 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
16417 delivery test with duplicate at end of file.
16418
9cbe82da
MK
164192004-09-06 Mark Kettenis <kettenis@jive.nl>
16420
16421 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
16422
564803d9
MC
164232004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16424
16425 * config/hppro.exp: Removed.
16426
7c6807ce
MC
164272004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16428
16429 * config/sparclet.exp: Removed.
16430
bf7e26dd
MC
164312004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16432
16433 * config/udi.exp: Removed.
16434
714e341b
MC
164352004-09-02 Michael Chastain <mec.gnu@mindspring.com>
16436
16437 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
16438 of "exp_continue".
16439 (advancei): Likewise.
16440
1236e623
JJ
164412004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16442
16443 * gdb.base/unload.exp: Fix so messages aren't duplicated.
16444
3bdcad15
MI
164452004-09-01 Manoj Iyer <manjo@austin.ibm.com>
16446
228af206 16447 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
16448 to check for nodebug in executable.
16449 * gdb.gdb/observer.exp (setup_test): Likewise.
16450 * gdb.gdb/selftest.exp (test_with_self): Likewise.
16451 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
16452
c72b934c
AC
164532004-09-01 Andrew Cagney <cagney@gnu.org>
16454
16455 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16456 files.
16457
edd9b715
JJ
164582004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16459
16460 * gdb.base/unload.exp: Fix expected warning message to match
16461 latest format.
16462
fb4ce06b
CV
164632004-09-01 Corinna Vinschen <vinschen@redhat.com>
16464
16465 * gdb.base/call-rt-st.exp: Fix typos.
16466
ce78e7c3
MI
164672004-08-31 Manoj Iyer <manjo@austin.ibm.com>
16468
16469 * gdb.threads/thread_check.exp: New testcase.
16470 * gdb.threads/thread_check.c: New testcase.
16471
2dedb159
AC
164722004-08-31 Andrew Cagney <cagney@gnu.org>
16473
16474 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
16475 (skip_to_handler_entry): New procedures. Test stepping into a
16476 handler when the breakpoint is at the handler's entry point.
16477
68f53502
AC
164782004-08-30 Andrew Cagney <cagney@gnu.org>
16479
16480 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
16481 gdb/1757.
16482
3e3ffd2b
MC
164832004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16484
16485 With code from Manoj Iyer <manjo@austin.ibm.com>:
16486 * lib/gdb.exp (gdb_file_cmd): Return more information in the
16487 return value. Add an arm for "no debugging symbols found".
16488 Change a stray "error" to "perror".
16489 (gdb_run_cmd): Adapt to new return value.
16490 * gdb.base/remote.exp: Adapt to new return value.
16491 * gdb.gdb/complaints.exp: Likewise.
16492 * gdb.gdb/observer.exp: Likewise.
16493 * gdb.gdb/selftest.exp: Likewise.
16494 * gdb.gdb/xfullpath.exp: Likewise.
16495
4b6f5fd2
JB
164962004-08-27 Joel Brobecker <brobecker@gnat.com>
16497
16498 * gdb.threads/bp_in_thread.exp: New testcase.
16499
e5b25496
MC
165002004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16501
16502 Fix PR testsuite/1735.
16503 * gdb.threads/schedlock.c (thread_function): Add a cast
16504 to suppress a gcc warning.
16505 * gdb.threads/thread-specific.c (thread_function): Likewise.
16506
934353d6
MC
165072004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16508
16509 * gdb.base/unload.c: Include <stdlib.h>.
16510
f98a0aef 165112004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 16512
f98a0aef 16513 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
16514 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
16515 synchronized after the "return".
16516
5a2e8882
MC
165172004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16518
16519 * gdb.mi/basics.c: Include <stdio.h>.
16520 * gdb.mi/pthreads.c: Include <stdlib.h>.
16521 * gdb.mi/var-cmd.c: Include <stdlib.h>.
16522
a9640423
MC
165232004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16524
16525 * gdb.threads/schedlock.c: Add copyright notice.
16526
b04e311d
AC
165272004-08-25 Andrew Cagney <cagney@gnu.org>
16528
16529 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
16530 (skip_over_handler, breakpoint_over_hander): New test procedures.
16531 (advance, advancei): Add a proper prefix, do not use
16532 rerun_to_main.
16533 * gdb.base/sigstep.c (main): Change to use an infinite loop.
16534
7c27f15b
MC
165352004-08-24 Michael Chastain <mec.gnu@mindspring.com>
16536
16537 * gdb.mi/basics.c: Add copyright notice.
16538 * gdb.mi/var-cmd.c: Add copyright notice.
16539
fffc87ae
MC
165402004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16541
16542 * lib/gdb.exp: Remove signed_keyword_not_used.
16543 * lib/compiler.c: Likewise.
16544 * lib/compiler.cc: Likewise.
16545
d782e0bf
MC
165462004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16547
16548 * gdb.base/whatis.c: Remove conditional disabling of "signed".
16549 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
16550
96033e83
MC
165512004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16552
16553 * gdb.base/whatis.c: Add copyright notice.
16554
cf38c229
MK
165552004-08-20 Mark Kettenis <kettenis@gnu.org>
16556
16557 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
16558 it to skip the breakpoints encoded in the inline assembly.
16559
f4b49756
MC
165602004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16561
16562 * Makefile.in: Add gdb.fortran.
16563
2f193b69
MC
165642004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16565
16566 * gdb.base/call-sc.exp (test_scalar_returns):
16567 Fix cut-and-paste glitch in "Make fun return now".
16568
89a237cb
MC
165692004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16570
16571 * configure.in: Add gdb.fortran.
16572 * configure: Regenerate.
16573 * gdb.fortran/Makefile.in: New file.
16574 * lib/gdb.exp (skip_fortran_tests): New procedure.
16575
469aff8e
MC
165762004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16577
16578 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
16579 reference to bug-gnu@prep.ai.mit.edu.
16580 * gdb.mi/mi-var-child.exp: Likewise.
16581 * gdb.mi/mi-var-cmd.exp: Likewise.
16582 * gdb.mi/mi-var-display.exp: Likewise.
16583 * gdb.mi/mi2-var-block.exp: Likewise.
16584 * gdb.mi/mi2-var-child.exp: Likewise.
16585 * gdb.mi/mi2-var-cmd.exp: Likewise.
16586 * gdb.mi/mi2-var-display.exp: Likewise.
16587
00b51b9f
MK
165882004-08-15 Mark Kettenis <kettenis@gnu.org>
16589
16590 * gdb.base/unload.c (main): Make local variable msg const.
16591
45f07fef
MC
165922004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16593
16594 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
16595 to bug-gnu@prep.ai.mit.edu.
16596 * gdb.mi/mi-disassemble.exp: Likewise.
16597 * gdb.mi/mi-eval.exp: Likewise.
16598 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
16599 default line number.
16600 * gdb.mi/mi-return.exp: Likewise.
16601 * gdb.mi/mi-simplerun.exp: Likewise.
16602 * gdb.mi/mi-stack.exp: Likewise.
16603 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
16604 number with explicit range test.
16605 * gdb.mi/mi-watch.exp: Likewise.
16606 * gdb.mi/mi2-break.exp: Likewise.
16607 * gdb.mi/mi2-cli.exp: Likewise.
16608 * gdb.mi/mi2-disassemble.exp: Likewise.
16609 * gdb.mi/mi2-eval.exp: Likewise.
16610 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
16611 default line number.
16612 * gdb.mi/mi2-return.exp: Likewise.
16613 * gdb.mi/mi2-simplerun.exp: Likewise.
16614 * gdb.mi/mi2-stack.exp: Likewise.
16615 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
16616 number with explicit range test.
16617 * gdb.mi/mi2-watch.exp: Likewise.
16618
dd8c8ee7
MC
166192004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16620
16621 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
16622 * gdb.cp/m-static.exp: Likewise.
16623 * gdb.cp/rtti.exp: Likewise.
16624
4e838464
MK
166252004-08-14 Mark Kettenis <kettenis@gnu.org>
16626
16627 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
16628
8d8cb839
EZ
166292004-08-14 Eli Zaretskii <eliz@gnu.org>
16630
16631 * ChangeLog: Prefix Local Variables with semi-colons and indent
16632 the reference to older ChangeLog files, to fix fontification in
16633 Emacs.
16634
deea8bb0
MC
166352004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16636
16637 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
16638 * gdb.mi/mi2-break.exp: Likewise.
16639
c3297504
MC
166402004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16641
16642 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
16643
25808999
MC
166442004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16645
16646 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
16647
226a8d71
MC
166482004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16649
16650 * gdb.cp/classes.exp: Remove unused declarations. Just let
16651 test names default instead of providing special names. Remove
16652 extraneous demangler test.
16653
37fdf854
JJ
166542004-08-12 Jeff Johnston <jjohnstn@redhat.com>
16655
16656 * gdb.base/unload.exp: New test for breakpoints in dynamically
16657 loaded libraries.
16658 * gdb.base/unload.c: Ditto.
16659 * gdb.base/unloadshr.c: Ditto.
16660
2d3a7986
MC
166612004-08-12 Michael Chastain <mec.gnu@mindspring.com>
16662
16663 * gdb.cp/classes.exp (test_ptype_class_objects): Call
16664 cp_test_ptype_class.
16665 (test_enums): Likewise.
16666
c72b934c
AC
166672004-08-10 Andrew Cagney <cagney@gnu.org>
16668
16669 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16670 files.
16671
cc503c8a
AC
166722004-08-10 Andrew Cagney <cagney@gnu.org>
16673
16674 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
16675 init_malloc call.
16676
902f2ccb
MC
166772004-08-10 Michael Chastain <mec.gnu@mindspring.com>
16678
16679 * ChangeLog: Add copyright notice. The notice is copied
16680 from emacs 21.3 top level ChangeLog.
16681
78c90502
MC
166822004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16683
16684 * lib/cp-support.exp: New file.
16685 * lib/cp-support.exp (cp_test_type_class): New function.
16686 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
16687 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
16688 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
16689 cp_test_ptype_class.
16690
88e5ea78
MC
166912004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16692
16693 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
16694 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16695 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
16696 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
16697 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16698 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
16699 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
16700 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
16701 gdb.mi/mi2-watch.exp: Update copyright years.
16702
6a89fc9c
MK
167032004-08-09 Mark Kettenis <kettenis@gnu.org>
16704
16705 * gdb.base/sigaltstack.exp: Provide proper anchoring.
16706
1482e0de
MC
167072004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16708
16709 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
16710 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
16711 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
16712 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16713 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
16714 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
16715 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
16716 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16717 gdb.mi/mi-watch.exp: Update copyright years.
16718
1a5ce3f3
DJ
167192004-08-08 Daniel Jacobowitz <dan@debian.org>
16720
16721 PR gdb/1738
16722 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
16723 from a breakpoint with a pending signal.
16724
04f6ecf2
DJ
167252004-08-08 Daniel Jacobowitz <dan@debian.org>
16726
16727 PR gdb/1736
16728 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
16729 * gdb.base/sigaltstack.exp (finish_test): Consume output until
16730 the prompt.
16731 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
16732
54d90d35
DJ
167332004-08-08 Daniel Jacobowitz <dan@debian.org>
16734
16735 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
16736
d2f6abb0
DJ
167372004-08-08 Daniel Jacobowitz <dan@debian.org>
16738
16739 PR gdb/1736
16740 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
16741 for i?86-*-linux*.
16742
5598c03d
DJ
167432004-08-08 Daniel Jacobowitz <dan@debian.org>
16744
16745 * gdb.arch/i386-prologue.exp: Compile without debug information.
16746
c6fee705
MC
167472004-08-08 Michael Chastain <mec.gnu@mindspring.com>
16748
16749 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
16750 rather than asking gdb to search.
16751
dd90efdb
MC
167522004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16753
16754 * gdb.base/gcore.c: Include <string.h>.
16755
1e84bec1
MC
167562004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16757
16758 * gdb.base/gcore.c: Add copyright notice.
16759
e425eb2b
MC
167602004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16761
16762 * gdb.base/freebpcmd.c: Include <stdio.h>.
16763 * gdb.base/long_long.c: Include <string.h>.
16764 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
16765 * gdb.base/siginfo.c: Include <string.h>.
16766 * gdb.base/sigstep.c: Include <string.h>.
16767
cb9aaed5
MC
167682004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16769
16770 * gdb.base/complex.c: Include <stdlib.h>.
16771
55944f3d
MC
167722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16773
16774 * gdb.base/complex.c: Add copyright notice.
16775
7b2953d9
MC
167762004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16777
16778 * gdb.base/charset.c: Include <stdlib.h>.
16779
c9133d23
MC
167802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16781
16782 * gdb.base/auxv.c: Include <stdlib.h>.
16783
0a8490ad
MC
167842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16785
16786 * gdb.base/auxv.c: Add copyright notice.
16787
3426d5ec
MC
167882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16789
16790 * gdb.base/coremaker.c: Add copyright notice.
16791 * gdb.base/coremaker2.c: Add copyright notice.
16792
8da195dd
AC
167932004-08-04 Andrew Cagney <cagney@gnu.org>
16794
16795 * gdb.base/store.exp: Update copyright.
16796 (check_set, up_set, check_struct, up_struct): Add a prefix to test
16797 names, do not import gdb_prompt.
16798
8d394f98
AC
167992004-08-01 Andrew Cagney <cagney@gnu.org>
16800
16801 Fix PR testsuite/1729.
16802 * gdb.base/dump.exp: Add test name to callers of capture_value, do
16803 not use capture_value with value 4.
16804 (capture_value): Add optional test name parameter.
16805 (test_reload_saved_value, test_restore_saved_value): Use $msg as
16806 the prefix, pass to capture_value.
16807
b6702b23
MK
168082004-08-01 Mark Kettenis <kettenis@gnu.org>
16809
16810 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
16811 * gdb.arch/i386-prologue.c (standard): New prototype and function.
16812 (main): Call new function.
16813
c203e0ca
MC
168142004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16815
16816 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
16817
a7995a30
MC
168182004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16819
16820 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
16821
9366563b
MC
168222004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16823
b6eeaf26 16824 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
16825 Accept more values of vtbl pointer. Remove some messages
16826 about "obsolete gcc or gdb".
16827
2fc1f950
MC
168282004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16829
16830 * gdb.cp/classes.exp: Accept more varieties of ptype output.
16831
c724d49b
MC
168322004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16833
16834 * gdb.base/asm-source.exp: Properly convert target board
16835 debug flags from gcc format to binutils format.
16836
736b0fce
MK
168372004-07-28 Mark Kettenis <kettenis@gnu.org>
16838
16839 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
16840 gdb1718". PR backtrace/1718 partially fixed.
16841
5633ea5c
JJ
168422004-07-27 Jeff Johnston <jjohnstn@redhat.com>
16843
16844 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
16845
575eebb1
NC
168462004-07-26 Nick Clifton <nickc@redhat.com>
16847
16848 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
16849 good default value for a specific architecture is available then
16850 set it to that value. Otherwise default to the -gstabs switch.
16851 Remove the -g... switches from the asm-flags variable. Allow the
16852 target board info to override the value if it wants to. Pass the
16853 switch on the assembler command line.
16854
62104619
MK
168552004-07-23 Mark Kettenis <kettenis@gnu.org>
16856
16857 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
16858 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
16859 (main): Call new function.
16860
4a1135b8
MC
168612004-07-22 Michael Chastain <mec.gnu@mindspring.com>
16862
16863 Test for PR exp/1715.
16864 * gdb.base/radix.exp: Refactor common procedures. Make all
16865 test names unique. Change XFAIL to KFAIL.
16866
8a12c1f0
MC
168672004-07-20 Michael Chastain <mec.gnu@mindspring.com>
16868
16869 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
16870 * gdb.ada/gnat_ada.gin: ... to here.
16871 * configure.in: Use gnat_ada.gin.
16872 * configure: Regenerate.
16873
23b451cf
AC
168742004-07-20 Andrew Cagney <cagney@gnu.org>
16875
16876 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
16877 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
16878 XFAILs. Clean up test messages and comments. Check backtraces.
16879 Delete re-sync code.
16880
ab618a02
MC
168812004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16882
16883 Fix PR cli/740.
16884 * gdb.base/annota1.exp: Honor gdb,nosignals.
16885 * gdb.base/annota3.exp: Likewise.
16886
46dad340
MC
168872004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16888
16889 * lib/java.exp: Update copyright notice.
16890
756d8c70
AC
168912004-07-19 Andrew Cagney <cagney@gnu.org>
16892
16893 * gdb.base/selftest.exp: Copy file from here ...
16894 * gdb.gdb/selftest.exp: ... to here.
16895
586027e6
AC
168962004-07-16 Andrew Cagney <cagney@redhat.com>
16897
16898 * lib/insight-support.exp: Delete file.
16899 * lib/java.exp (java_init): Fix copyright.
16900
029d2200
AC
169012004-07-16 Andrew Cagney <cagney@gnu.org>
16902
16903 * gdb.base/restore.c: Append "prologue" to comments marking the a
16904 function's prologue.
16905 * gdb.base/restore.exp: Update copyright, re-indent.
16906 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
16907 callerN" prefix where needed. Update patterns that match a
16908 function's prologue.
16909
653b62c5
MC
169102004-07-16 Michael Chastain <mec.gnu@mindspring.com>
16911
16912 * gdb.base/restore.c: Add copyright notice.
16913
f7d690e5
AC
169142004-07-16 Andrew Cagney <cagney@gnu.org>
16915
16916 * gdb.base/logical.exp: Update copyright.
16917 (evaluate): New procedure. Use to re-implement tests using
16918 several tables.
16919
d629a7cb
MH
169202004-07-14 Martin Hunt <hunt@redhat.com>
16921
16922 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
16923 which fixes some problems where init.tcl was not found.
16924
9c7bb332
AC
169252004-07-13 Andrew Cagney <cagney@gnu.org>
16926
6bf46641
AC
16927 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
16928 (check_sizeof, check_valueof): Do not include the output in the
16929 test name. Use gdb_test.
16930 (get_valueof): Use gdb_test_multiple.
16931
c4ffd4c0
AC
16932 * gdb.base/step-test.exp: Update copyright. Use
16933 gdb_test_multiple. Ensure that test names do not include
16934 architecture dependent output.
16935
ab89363a
AC
16936 * gdb.gdb/observer.exp: Update copyright.
16937 (setup_test): Use gdb_test_multiple.
16938 (attach_first_observer, attach_second_observer)
16939 (attach_third_observer, detach_first_observer)
16940 (detach_second_observer, detach_third_observer)
16941 (reset_counters, check_counters): Make $message a prefix.
16942 (test_normal_stop_notifications): Add "args" parameter - a list of
16943 init functions to be called. Make $message a prefix,
16944 (test_observer_normal_stop): Change the message prefixes so that
16945 they are unique, pass the attach / detach procedures to
16946 test_normal_stop_notifications.
16947
ec58997a
AC
16948 * gdb.base/signull.exp (test_segv): Prefix all tests with
16949 "${name}". Clean up test messages.
16950
b475183b
AC
16951 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
16952
9c7bb332
AC
16953 * gdb.base/ena-dis-br.exp: Update copyright.
16954 (break_at): New function. Replace send_gdb with gdb_test,
16955 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
16956 ignore count, not stopped at bpt", with KFAIL.
16957
2dd95497
CV
169582004-07-13 Corinna Vinschen <vinschen@redhat.com>
16959
16960 * gdb.base/attach.exp: Remove cleanupfile handling.
16961
419e626b
AC
169622004-07-12 Andrew Cagney <cagney@gnu.org>
16963
16964 * gdb.base/annota1.exp: Cleanup corefile test name.
16965 * gdb.base/annota3.exp: Ditto.
16966
8b1b3228
AC
169672004-07-12 Andrew Cagney <cagney@gnu.org>
16968
78650829
AC
16969 * gdb.base/signals.exp: Clean up copyright, re-indent.
16970
8b1b3228
AC
16971 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
16972 gdb_test and gdb_test_multiple.
16973
935c2760
JJ
169742004-07-08 Jeff Johnston <jjohnstn@redhat.com>
16975
16976 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 16977 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
16978 provide line number info for first statement in main.
16979
1544280f
AC
169802004-07-08 Andrew Cagney <cagney@gnu.org>
16981
1279f4ff
AC
16982 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
16983
1544280f
AC
16984 * gdb.base/sigbpt.exp: Make the common part of each test name a
16985 prefix instead of suffix.
16986
bcc82369
BR
169872004-07-07 Bob Rossi <bob_rossi@cox.net>
16988
16989 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
16990 test from test_tbreak_creation_and_listing to
16991 test_file_list_exec_source_file
16992 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
16993 Changed name of test from test_tbreak_creation_and_listing to
16994 test_file_list_exec_source_file
16995
23f4b0aa
JJ
169962004-07-07 Jeff Johnston <jjohnstn@redhat.com>
16997
16998 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
16999 the jmisc() constructor instead of <init>.
17000 * gdb.java/jmisc1.exp: Ditto.
17001
56401cd5
AC
170022004-07-07 Andrew Cagney <cagney@gnu.org>
17003
17004 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
17005 corrupting the PC.
17006
44ae2f6a
MC
170072004-07-06 Michael Chastain <mec.gnu@mindspring.com>
17008
17009 * gdb.cp/templates.exp: Accept whitespace change in demangler
17010 output.
17011
45a83408
AC
170122004-07-06 Andrew Cagney <cagney@gnu.org>
17013
17014 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
17015
d205ad70
MC
170162004-07-02 Michael Chastain <mec.gnu@mindspring.com>
17017
17018 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
17019 * lib/compiler.cc: Likewise.
17020
06ea1a61
MC
170212004-06-30 Michael Chastain <mec.gnu@mindspring.com>
17022
17023 * lib/compiler.cc: Work around string preprocessing problem
17024 with old hp c++ compiler.
17025 * lib/compiler.c: Likewise.
17026
daab1251
CV
170272004-06-29 Corinna Vinschen <vinschen@redhat.com>
17028
17029 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
17030 directives to conditionalize symbol prefixing.
17031 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
17032 additional_flags handling. Add underscore prefix for Cygwin.
17033 * gdb.arch/i386-unwind.c: Use preprocessor directives to
17034 conditionalize symbol prefixing.
17035 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
17036 additional_flags handling. Add underscore prefix for Cygwin.
17037
cc984116
CV
170382004-06-29 Corinna Vinschen <vinschen@redhat.com>
17039
17040 * gdb.base/bigcore.exp: Skip test on Cygwin.
17041
c279b077
MC
170422004-06-28 Michael Chastain <mec.gnu@mindspring.com>
17043
17044 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
17045 formats for "info register". Use gdb_test_multiple. Fix
17046 the "invalid register" test.
17047
0e915747
CV
170482004-06-28 Corinna Vinschen <vinschen@redhat.com>
17049
17050 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
17051 PID for Cygwin. Add Cygwin specific strings to check for in some
17052 tests.
17053 (do_attach_tests): Add a test for user interaction when attaching
17054 to a process with no matching symbol table already loaded.
17055
11422c86
AC
170562004-06-26 Andrew Cagney <cagney@gnu.org>
17057
17058 Test PR java/1567 and PR java/1565.
17059 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
17060 * gdb.java/jmisc2.exp: Delete file.
17061
cefbce26
MC
170622004-06-26 Michael Chastain <mec.gnu@mindspring.com>
17063
17064 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
17065
e19f872c
CV
170662004-06-25 Corinna Vinschen <vinschen@redhat.com>
17067
17068 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
17069 attach process.
17070
d931ba3b
MC
170712004-06-23 Michael Chastain <mec.gnu@mindspring.com>
17072
17073 * gdb.cp/pr-1553.exp: Remove.
17074
aef68c48
MC
170752004-06-22 Michael Chastain <mec.gnu@mindspring.com>
17076
17077 * gdb.cp/pr-1553.cc: Remove.
17078 * gdb.cp/pr-1553.exp: Disable this test.
17079
8d5df71a
JB
170802004-06-20 Jim Blandy <jimb@redhat.com>
17081
a9c64011 17082 Fix PR testsuite/1680.
8d5df71a
JB
17083 * gdb.arch/i386-sse.exp: Properly quote curly braces in
17084 regular expressions.
17085
4ac6f39d
MC
170862004-06-19 Michael Chastain <mec.gnu@mindspring.com>
17087
17088 Fix PR testsuite/1679.
17089 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
17090 Issue an UNSUPPORTED result instead.
17091
1b413552
JB
170922004-06-18 Jim Blandy <jimb@redhat.com>
17093
17094 * gdb.base/charset.exp: Only send a control-C if we see a new
17095 prompt and incomplete command.
17096
6daa6ebd
MC
170972004-06-18 Michael Chastain <mec.gnu@mindspring.com>
17098
17099 * gdb.cp/pr-574.cc: Add copyright notice.
17100
51fa4ae0
JB
171012004-06-17 Jim Blandy <jimb@redhat.com>
17102
17103 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
17104 cases where the regexp has no groups; this grabs random text from
17105 the previous test suite, whatever that was.
17106
8fea26c5
MC
171072004-06-17 Michael Chastain <mec.gnu@mindspring.com>
17108
17109 * gdb.cp/printmethod.cc: Add copyright notice.
17110
1e3aeb41
MC
171112004-06-16 Michael Chastain <mec.gnu@mindspring.com>
17112
17113 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
17114
9d9030bc
AC
171152004-06-16 Andrew Cagney <cagney@gnu.org>
17116
17117 * gdb.base/signull.c: Update copyright. Include <string.h>.
17118 (bowler): Replace data_pointer with data_read
17119 and data_write cases. Add code_descriptor case.
17120 (zero, desc): New array and pointer.
17121 (data, code): Change to simple pointers.
17122 * gdb.base/signull.exp: Fix probe pattern matching a function
17123 descriptor SIGSEGV. Replace data_pointer with data_read and
17124 data_write tests.
17125
acd4ad44
AC
171262004-06-16 Andrew Cagney <cagney@gnu.org>
17127
17128 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
17129
08fd625c
MC
171302004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17131
17132 * gdb.base/long_long.c: Add copyright notice.
17133
1903502c
MC
171342004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17135
17136 * gdb.base/long_long.exp: Remove reference to
17137 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
17138 to gdb_breakpoint and gdb_continue_to_breakpoint.
17139
83313cb1
JB
171402004-06-14 Jim Blandy <jimb@redhat.com>
17141
17142 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
17143 endian case.
17144
1bf404ef
AC
171452004-06-14 Andrew Cagney <cagney@gnu.org>
17146
17147 * gdb.base/gcore.exp (capture_command_output): Delete the always
17148 passing tests containing inferior values.
17149 * gdb.base/ending-run.exp: Do not include the breakpoint address
17150 in the test message. Update copyright.
17151 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
17152 size in the test name, use gdb_test_multiple. Update copyright.
17153
ef220b33
MC
171542004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17155
17156 * gdb.cp/ref-types.cc: Add copyright notice.
17157
4f70a4c9
MC
171582004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17159
17160 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
17161 hp_aCC_compiler.
17162 * lib/compiler.cc: Likewise.
17163 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
17164 'set' commands. Log diagnostics for other lines. Set
17165 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
17166
335928ac
MC
171672004-06-13 Michael Chastain <mec.gnu@mindspring.com>
17168
17169 * gdb.cp/try_catch.cc: Add copyright notice.
17170
2efb12e8
MC
171712004-06-12 Michael Chastain <mec.gnu@mindspring.com>
17172
17173 * gdb.cp/userdef.cc: Add copyright notice.
17174
0bbed51a
MC
171752004-06-11 Michael Chastain <mec.gnu@mindspring.com>
17176
17177 * gdb.cp/virtfunc.cc: Add copyright notice.
17178
e12a46c9
RC
171792004-06-11 Randolph Chung <tausq@debian.org>
17180
17181 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
17182 problem.
17183
338e05af
AC
171842004-06-10 Andrew Cagney <cagney@gnu.org>
17185
17186 * lib/compiler.cc, lib/compiler.c: Append either
17187 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
17188 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
17189 instead of gcc-3-3.
17190
dc3f10cb
AC
171912004-06-09 Andrew Cagney <cagney@gnu.org>
17192
b4d946af
AC
17193 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
17194 gdb/1455, bug is specific to "long long" and "double".
a9c64011 17195
dc3f10cb
AC
17196 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
17197 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
17198 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
17199 fixed.
17200
b5c0bfa2
AC
172012004-06-09 Andrew Cagney <cagney@gnu.org>
17202
17203 * gdb.base/structs.exp (test_struct_returns): Replace
17204 "return_value_unknown" and "finish_value_unknown" by
17205 "return_value_known" and "finish_value_known". Instead of
17206 "return_value_unknown" iff "finish_value_unknown", check
17207 "return_value_known" implies "finish_value_known".
17208
caeb605f
MH
172092004-06-08 Martin Hunt <hunt@redhat.com>
17210
17211 * gdb.base/float.exp: Add pattern for mips targets.
17212
c892bb64
RC
172132004-06-08 Randolph Chung <tausq@debian.org>
17214
17215 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
17216 message for unknown architectures more clear.
17217
48306d3e
JB
172182004-06-08 Joel Brobecker <brobecker@gnat.com>
17219
17220 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
17221 start the execution of the program.
17222
83ecb59f
JB
172232004-06-07 Jim Blandy <jimb@redhat.com>
17224
17225 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
17226 * gdb.arch/i386-cpuid.h: New helper file.
17227
55264cb4
RC
172282004-06-07 Randolph Chung <tausq@debian.org>
17229
17230 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
17231 has started.
17232
23cadb28
RM
172332004-06-04 Roland McGrath <roland@redhat.com>
17234
17235 Fix PR gdb/1647.
17236 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
17237 differently to be robust to output buffering differences.
17238
51d01eda
MC
172392004-06-04 Michael Chastain <mec.gnu@mindspring.com>
17240
17241 * gdb.threads/pthreads.exp: Update copyright years.
17242 (check_control_c): Change asynchronous 'after' to synchronous.
17243
f4fc3b93
RM
172442004-06-04 Roland McGrath <roland@redhat.com>
17245
17246 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
17247 next gdb prompt.
17248
4013522b
MC
172492004-06-02 Michael Chastain <mec.gnu@mindspring.com>
17250
17251 Fix PR gdb/1636.
17252 * gdb.threads/manythreads.exp: Change asynchronous 'after'
17253 calls to synchronous.
17254
7a8f1e6b
JB
172552004-05-26 Jim Blandy <jimb@redhat.com>
17256
17257 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
17258
81bb3443
RC
172592004-05-24 Randolph Chung <tausq@debian.org>
17260
17261 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
17262 * gdb.asm/pa.inc: New file.
17263
8f5a3103
MK
172642004-05-22 Mark Kettenis <kettenis@gnu.org>
17265
17266 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
17267
734b8fe8 172682004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 17269 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
17270
17271 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
17272 GDB prompt.
17273
725603e1
UW
172742004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17275
f4fc3b93 17276 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
17277 setjmp/longjmp. Use sigaction instead of signal.
17278
8b923272 172792004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 17280 Michael Snyder <msnyder@redhat.com>
8b923272
JB
17281
17282 * gdb.threads/pthread_cond_wait.c: New file.
17283 * gdb.threads/pthread_cond_wait.exp: New testcase.
17284
8bfabb04
AC
172852004-05-13 Andrew Cagney <cagney@redhat.com>
17286
17287 * gdb.base/signull.exp, gdb.base/signull.c: New files.
17288 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
17289
42edda50
AC
172902004-05-11 Andrew Cagney <cagney@redhat.com>
17291
17292 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
17293 fixed but revealed gdb/1639.
17294
d303a6c7
AC
172952004-05-10 Andrew Cagney <cagney@redhat.com>
17296
17297 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
17298 func1" and "next to 2nd alarm", kernel bug avoided.
17299
bf08c2a1
DJ
173002004-05-10 Daniel Jacobowitz <dan@debian.org>
17301
17302 PR external/1568
17303 * gdb.base/bigcore.exp: Check the size of the dumped core file.
17304 XFAIL if it is smaller than bytes_allocated.
17305 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
17306 (main): Make chunks_allocated unsigned. Correct comment.
17307
c0586a34
JB
173082004-05-07 Joel Brobecker <brobecker@gnat.com>
17309
17310 * gdb.arch/powerpc-aix-prologue.c: New file.
17311 * gdb.arch/powerpc-aix-prologue.exp: New file.
17312
f2785d12
JB
173132004-05-07 Jim Blandy <jimb@redhat.com>
17314
17315 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
17316 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
17317
bd7f6e30
JB
173182004-05-06 Joel Brobecker <brobecker@gnat.com>
17319
17320 * gdb.base/sep.exp: No longer setup_kfail when the program was
17321 built with dwarf2.
17322
0a5e7efe
JI
173232004-05-05 Jim Ingham <jingham@apple.com>
17324
17325 * gdb.base/pending.exp: Make sure pending breakpoints
17326 preserve the ignore count.
f4fc3b93 17327
a8958849
MK
173282004-04-27 Jerome Guitton <guitton@gnat.com>
17329
17330 * i386-prologue.exp: Add testcase for jump instruction as first
17331 instruction of the real code.
17332 * i386-prologue.c (jump_at_beginning): New function.
17333
7e103f5b
MK
173342004-04-28 Mark Kettenis <kettenis@gnu.org>
17335
17336 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
17337 x86_64-*-*.
17338
5d38b224
MK
173392004-04-28 Mark Kettenis <kettenis@gnu.org>
17340
17341 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
17342 i*86-*-*.
17343
0ef32fd9
MK
173442004-04-25 Mark Kettenis <kettenis@gnu.org>
17345
17346 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
17347 expression that checks the return type.
17348
71d7dd7c
AC
173492004-04-23 Andrew Cagney <cagney@redhat.com>
17350
17351 * gdb.base/call-sc.exp: New test of scalar call/return values.
17352 * gdb.base/call-sc.c: Ditto.
17353
1e9f977e
JJ
173542004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17355
17356 * gdb.threads/manythreads.c: Reduce thread stack size.
17357
899d9e3a
JJ
173582004-04-23 Jeff Johnston <jjohnstn@redhat.com>
17359
17360 * gdb.threads/manythreads.c: Add copyright notice.
17361
61bcae62
AC
173622004-04-23 Andrew Cagney <cagney@redhat.com>
17363
17364 * gdb.base/siginfo.exp: Better handle step out of signal.
17365 * gdb.base/sigstep.exp: Ditto.
17366
7339a42e 173672004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 17368 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
17369
17370 * gdb.threads/manythreads.c: New testcase.
17371 * gdb.threads/manythreads.exp: Ditto.
17372
5c98409b
JB
173732004-04-22 Jim Blandy <jimb@redhat.com>
17374
17375 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
17376 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
17377
3b611f1a
MC
173782004-04-21 Michael Chastain <mec.gnu@mindspring.com>
17379
17380 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
17381
f0fd9238
AC
173822004-04-21 Andrew Cagney <cagney@redhat.com>
17383
17384 * gdb.base/sigstep.c: New file.
17385 * gdb.base/sigstep.exp: New file.
17386
90990674
JB
173872004-04-16 Joel Brobecker <brobecker@gnat.com>
17388
17389 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
17390 call to observer_notify_normal_stop.
17391
78cef34b
AC
173922004-04-15 Andrew Cagney <cagney@redhat.com>
17393
17394 * gdb.base/siginfo.c: New file.
17395 * gdb.base/siginfo.exp: New file.
17396
d2343407
JB
173972004-04-12 J. Brobecker <brobecker@gnat.com>
17398
17399 * gdb.base/sep.exp: Fix typo in comment.
17400
a2dba3c8
JB
174012004-04-12 J. Brobecker <brobecker@gnat.com>
17402
17403 * gdb.base/sep.c: New file.
17404 * gdb.base/sep-proc.c: New file.
17405 * gdb.base/sep.exp: New testcase.
17406
15f7b60e
MK
174072004-04-09 Mark Kettenis <kettenis@gnu.org>
17408
17409 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
17410 support.
17411
44f4de1a
AC
174122004-04-05 Andrew Cagney <cagney@redhat.com>
17413
17414 * gdb.base/sigaltstack.c: New file.
17415 * gdb.base/sigaltstack.exp: New file.
17416
ef04f396
JB
174172004-04-04 Joel Brobecker <brobecker@gnat.com>
17418
17419 * gdb.base/foll-fork.exp: Update the expected output for
17420 "help set follow-fork-mode", to match a change that was made
17421 to the help of this variable on 2004-01-13.
17422
d40d2c92
JB
174232004-04-01 Joel Brobecker <brobecker@gnat.com>
17424
17425 * lib/ada.exp: Add copyright notice.
17426 * bar.ads: Likewise.
17427 * bar.adb: Likewise.
17428 * null_record.adb: Likewise.
17429 * null_record.exp: Likewise.
17430 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
17431
f86ef5a3
JB
174322004-04-01 Joel Brobecker <brobecker@gnat.com>
17433
17434 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
17435 * configure: Regenerate.
17436
414e70e3
JB
174372004-04-01 Joel Brobecker <brobecker@gnat.com>
17438
17439 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
17440 to build the application. Remove the message printed when in
17441 verbose mode, redundant with the UNSUPPORTED message above.
17442
f0aaee49
JB
174432004-03-31 Joel Brobecker <brobecker@gnat.com>
17444
17445 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
17446 * gdb.ada (null_record.exp): New testcase.
17447
ac81cb54
JB
174482004-03-31 Joel Brobecker <brobecker@gnat.com>
17449
17450 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
17451
854af2f7
JB
174522004-03-31 Joel Brobecker <brobecker@gnat.com>
17453
17454 * gdb.ada: New subdirectory.
17455 * gdb.ada/Makefile.in: New file.
17456 * gdb.ada/gnat_ada.gpr.in: New file.
17457
034cb681
JB
174582004-03-31 Joel Brobecker <brobecker@gnat.com>
17459
17460 * lib/ada.exp: New file.
17461
78a1a894
DJ
174622004-03-24 Daniel Jacobowitz <drow@mvista.com>
17463
17464 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
17465 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
17466
4b2b3b3e
AC
174672004-03-22 Andrew Cagney <cagney@redhat.com>
17468
17469 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
17470 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
17471 Problem identified by Ulrich Weigand.
17472
23c73aa3
DC
174732004-03-17 David Carlton <carlton@kealia.com>
17474
17475 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
17476 PR c++/826.
17477
d63a86f8
RM
174782004-03-16 Roland McGrath <roland@redhat.com>
17479
17480 * gdb.base/auxv.exp: New file.
17481 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
17482
0e02aa50
DC
174832004-03-12 David Carlton <carlton@kealia.com>
17484
17485 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
17486 * gdb.cp/pr-1553.cc: Ditto.
17487 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
17488 pass branch.
17489
c20b71be
MC
174902004-03-12 Michael Chastain <mec.gnu@mindspring.com>
17491
17492 * gdb.cp/templates.exp: Accept more template types.
17493
c7414a01
MC
174942004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17495
17496 From Corinna Vinschen with modifications.
17497 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
17498 local variable obj_with_enum.
17499 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
17500 results with obj_with_enum.
17501
ed69573c
MC
175022004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17503
17504 * gdb.cp/classes.cc: New file, copied from misc.cc.
17505 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
17506
28301461
MC
175072004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17508
17509 * gdb.cp/misc.cc: Add copyright notice.
17510
1198ecbe
DC
175112004-03-05 David Carlton <carlton@kealia.com>
17512
17513 * gdb.cp/rtti.exp: Add 'print *obj3' test.
17514 * gdb.cp/rtti.h: Update copyright.
17515 (namespace n2::n3): New.
17516 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
17517 (n2::n3::func3): New.
17518 (main): Call n2::n3::func3.
17519 * gdb.cp/rtti2.cc: Update copyright.
17520 (n2::create3): New.
17521
9e08c470
MK
175222004-03-04 Mark Kettenis <kettenis@gnu.org>
17523
17524 * gdb.asm/openbsd.inc: Fix typo.
17525
4bebc3aa
FF
175262004-03-03 Fred Fish <fnf@redhat.com>
17527
17528 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
17529 "val" instead of unused "size". Update copyright year.
17530
6ea9fb37
DJ
175312004-02-29 Daniel Jacobowitz <drow@mvista.com>
17532
17533 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
17534 to use unsigned char.
17535 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
17536 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
17537
23b23974
DJ
175382004-02-29 Daniel Jacobowitz <drow@mvista.com>
17539
17540 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
17541 line of output.
17542
7574fd53
DJ
175432004-02-28 Daniel Jacobowitz <drow@mvista.com>
17544
17545 * gdb.base/relocate.c (dummy): Initialize.
17546
a195357f
DJ
175472004-02-28 Daniel Jacobowitz <drow@mvista.com>
17548
17549 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
17550 a breakpoint at exit.
17551
72fd54a9
FF
175522004-02-27 Fred Fish <fnf@redhat.com>
17553
17554 * gdb.base/chng-syms.exp: Add expect condition to match failing
17555 case that isn't a timeout.
17556
b9d23137
AC
175572004-02-27 Andrew Cagney <cagney@redhat.com>
17558
17559 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
17560 support.
17561
15d208f6 175622004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 17563
15d208f6
FF
17564 * gdb.arch/gdb1431.c: Remove.
17565 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
17566 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
17567 of "until" incorrectly.
17568
98f9cd2d
JB
175692004-02-26 J. Brobecker <brobecker@gnat.com>
17570
17571 * gdb.cp/class2.cc (empty): New class.
17572 (refer): New function.
17573 (main): Declare an object of type empty and use it.
17574 * gdb.cp/class2.exp: Print the value of an object of type empty.
17575
9b50c11b
JJ
175762004-02-26 Jeff Johnston <jjohnstn@redhat.com>
17577
17578 * gdb.base/langs.exp: Update query string to match the
17579 new nquery format used for pending breakpoints.
17580
0dcd613f
AC
175812004-02-26 Andrew Cagney <cagney@redhat.com>
17582
17583 Fix PR i18n/1570.
17584 * gdb.base/charset.c: Update copyright notice.
17585 (main, init_string): Remove the escape character '\e' tests.
17586 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
17587 * gdb.base/charset.exp (valid_host_charset): Ditto.
17588 * gdb.base/setvar.exp: Ditto.
17589
b8a56647
AC
175902004-02-24 Andrew Cagney <cagney@redhat.com>
17591
90d59e34
AC
17592 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
17593 mmapped data in core file" PASS and FAIL messages consistent.
17594
b8a56647
AC
17595 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
17596 setting a breakpoint. Work around PR java/1565.
17597
9f27c604
JJ
175982004-02-23 Jeff Johnston <jjohnstn@redhat.com>
17599
17600 * lib/gdb.exp (gdb_breakpoint): Update query string to match
17601 new nquery format.
17602 * gdb.base/pending.exp: Ditto.
17603
3224a706
MK
176042004-02-22 Mark Kettenis <kettenis@gnu.org>
17605
17606 * configure.in: Run stabs tests on *BSD.
17607 * configure: Regenerated.
17608
41e0a9ca
MK
176092004-02-21 Mark Kettenis <kettenis@gnu.org>
17610
17611 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
17612
1e1b3428
FF
176132004-02-20 Fred Fish <fnf@redhat.com>
17614
17615 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
17616 blank in test for "returns short", for consistency with other
17617 "returns xxx" tests. Update copyright year.
17618
f9a7572a
FF
176192004-02-19 Fred Fish <fnf@redhat.com>
17620
17621 New testcase for PR breakpoint/1558.
17622 * gdb.arch/gdb1558.exp: New file.
17623 * gdb.arch/gdb1558.c: New file.
17624
b2ce2854
EZ
176252004-02-19 Elena Zannoni <ezannoni@redhat.com>
17626
17627 * gdb.base/nodebug.exp: Fix typo.
17628
e7c9ff01
JB
176292004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17630
17631 Committed by Jim Blandy <jimb@redhat.com>.
17632
62f4b920
JB
17633 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
17634
2db536a1
JB
17635 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
17636
e7c9ff01
JB
17637 * gdb.base/float.exp: Support s390*-*-* targets.
17638
f3205b34
AF
176392004-02-17 Adam Fedor <fedor@gnu.org>
17640
17641 * gdb.base/gdb1555.exp: New file.
17642 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
17643
9d62932d
EZ
176442004-02-17 Elena Zannoni <ezannoni@redhat.com>
17645
17646 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
17647
344c9711
FF
176482004-02-16 Fred Fish <fnf@redhat.com>
17649
17650 * gdb.arch/gdb1291.c: Remove
17651 * gdb.arch/gdb1291.s: New test input file.
17652 * gdb.arch/gdb1291.exp: Expand test to check case that should not
17653 fail. Test for correct result, known incorrect result, other
17654 failures and timeouts.
17655
2d822687
AC
176562004-02-16 Andrew Cagney <cagney@redhat.com>
17657
17658 * gdb.base/bigcore.exp: New file.
17659 * gdb.base/bigcore.c: New file.
17660
dac15b66
AC
176612004-02-13 Andrew Cagney <cagney@redhat.com>
17662
17663 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
17664 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
17665 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
17666 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
17667 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
17668 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
17669 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
17670 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
17671 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
17672 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
17673
6bdfc2c4
JJ
176742004-02-11 Jeff Johnston <jjohnstn@redhat.com>
17675
17676 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
17677 executed is an alloc instruction.
17678
87b3ede8
DC
176792004-02-11 David Carlton <carlton@kealia.com>
17680
17681 * gdb.cp/breakpoint.exp: New.
17682 * gdb.cp/breakpoint.cc: New.
17683
6e19e2bf
MC
176842004-02-11 Michael Chastain <mec.gnu@mindspring.com>
17685
17686 Partial fix for PR gdb/1543.
17687 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
17688 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
17689 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
17690 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
17691 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
17692 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
17693 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
17694 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
17695 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
17696 to bug-gdb@prep.ai.mit.edu .
17697 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
17698 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
17699 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
17700 Likewise.
17701
5c5455dc
AC
177022004-02-10 Andrew Cagney <cagney@redhat.com>
17703
17704 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
17705 using gdb_internal_error_resync.
17706
9cf689d7
DJ
177072004-02-09 Daniel Jacobowitz <drow@mvista.com>
17708
17709 * gdb.threads/thread-specific.exp: Stop early if no threads are
17710 found.
17711
d2dc51db
MC
177122004-02-09 Michael Chastain <mec.gnu@mindspring.com>
17713
17714 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
17715
14b1a056
DJ
177162004-02-08 Daniel Jacobowitz <drow@mvista.com>
17717
17718 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
17719 breakpoints.
17720
83f66e8f
DJ
177212004-02-07 Daniel Jacobowitz <drow@mvista.com>
17722
17723 * config/sim.exp (gdb_load): Handle $arg == "".
17724 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
17725 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
17726
30fc0091
EZ
177272004-02-07 Elena Zannoni <ezannoni@redhat.com>
17728
a9c64011
AS
17729 * gdb.base/maint.exp: Update test to reflect
17730 obstack changes.
30fc0091 17731
4d806929
JJ
177322004-02-04 Jeff Johnston <jjohnstn@redhat.com>
17733
17734 * gdb.base/pendshr.c (pendfunc): New function that calls
17735 pendfunc1.
17736 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
17737
7bfdd688
FF
177382004-02-04 Fred Fish <fnf@redhat.com>
17739
17740 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
17741 function symbols and update copyright years.
17742 * gdb.arch/gdb1291.c: Ditto.
17743
aaa08ee4
MC
177442004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17745
17746 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
17747
dbad7755
MC
177482004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17749
17750 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
17751
ec4646ef
MC
177522004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17753
17754 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
17755
1b802196
FF
177562004-02-02 Fred Fish <fnf@redhat.com>
17757
17758 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
17759 remote targets. Update copyright years.
17760
18fe2033
JJ
177612004-02-02 Jeff Johnston <jjohnstn@redhat.com>
17762
17763 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
17764 support.
17765 * gdb.base/langs.exp: Fix test which attempts to create
17766 breakpoint on non-existent function to handle new pending
17767 support.
17768 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
17769 a breakpoint.
17770 * gdb.base/pending.exp: New test.
17771 * gdb.base/pending.c: New file.
17772 * gdb.base/pendshr.c: Ditto.
17773
8d577d32
DC
177742004-02-02 David Carlton <carlton@kealia.com>
17775
17776 * gdb.cp/overload.exp: Add overloadNamespace tests.
17777 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
17778 (overloadNamespace, XXX): New.
17779 (main): Call XXX::marker2.
17780
3ad13771
FF
177812004-02-01 Fred Fish <fnf@redhat.com>
17782
17783 * gdb.base/dump.exp: Use runto_main instead of "runto main".
17784 * gdb.base/finish.exp: Ditto.
17785 * gdb.base/gcore.exp: Ditto.
17786 * gdb.base/huge.exp: Ditto.
17787 * gdb.base/info-proc.exp: Ditto.
17788 * gdb.base/return2.exp: Ditto.
17789 * gdb.threads/gcore-thread.exp: Ditto.
17790
44c75849
DJ
177912004-02-01 Daniel Jacobowitz <drow@mvista.com>
17792
17793 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
17794
005bc093
MK
177952004-02-01 Mark Kettenis <kettenis@gnu.org>
17796
17797 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
17798 that opening the file succeeds on OpenBSD.
17799
c47cebdb
DJ
178002004-02-01 Daniel Jacobowitz <drow@mvista.com>
17801
17802 * gdb.threads/thread-specific.c: New file.
17803 * gdb.threads/threads-specific.exp: New test script.
17804 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
17805 to expect_out.
17806
5a01311c
MK
178072004-02-01 Mark Kettenis <kettenis@gnu.org>
17808
17809 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
17810 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
17811 only on the "print_small_structs from print_long_arg_list" test.
17812
ce22a4f1
DJ
178132004-02-01 Daniel Jacobowitz <drow@mvista.com>
17814
17815 * gdb.base/completion.exp: Kill a stray backslash.
17816
17817 From Jim Ingham <jingham@apple.com>:
17818 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
17819 agrees with the result from sending a tab.
17820
abbab9d3
DJ
178212004-01-31 Daniel Jacobowitz <drow@mvista.com>
17822
17823 * gdb.base/chng-syms.exp: Remove stray newline.
17824
53904d1e
MK
178252004-01-31 Mark Kettenis <kettenis@gnu.org>
17826
17827 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
17828 *-*-openbsd*.
17829 * gdb.asm/openbsd.inc: New file.
17830
3a4b3aac
MK
178312004-01-30 Mark Kettenis <kettenis@gnu.org>
17832
17833 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
17834 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
17835 *-*solaris2*. Remove commented out default settings for
17836 asm-flags. Replace gdb_compile with target_link.
17837
ebac27b4
MC
178382004-01-29 Michael Chastain <mec.gnu@mindspring.com>
17839
17840 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
17841 for all tests. Remove old hp-ux and cygnus xfail cases.
17842
d8679d84
PH
178432004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
17844
17845 * gdb.base/chng-syms.exp: New file.
17846 * gdb.base/chng-syms.c: New file.
17847
0a55bc22
MC
178482004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17849
17850 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
17851 Provide arms for current output in all my configurations.
17852
94b8e876
MC
178532004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17854
17855 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
17856 * lib/compiler.cc: Likewise.
17857 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
17858 get the right preprocessor. Eval the output directly. Remove
17859 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
17860 hp_f77_compiler and hp_f90_compiler completely.
17861 (gdb_preprocess): Delete.
17862 (get_compiler): Delete.
17863
7cf03d44
MK
178642004-01-24 Mark Kettenis <kettenis@gnu.org>
17865
17866 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
17867 <string.h>.
17868
68b6dce9
NR
178692004-01-24 Nick Roberts <nick@nick.uklinux.net>
17870
17871 * gdb.mi/mi-stack.exp: Update copyright.
17872
b368761e
DC
178732004-01-23 David Carlton <carlton@kealia.com>
17874
17875 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
17876 test for cp_lookup_transparent_type.
17877 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
17878 call them.
17879
f2061b53
DJ
178802004-01-23 Daniel Jacobowitz <drow@mvista.com>
17881
17882 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
17883 after -var-update.
17884
37fc574a
DC
178852004-01-23 David Carlton <carlton@kealia.com>
17886
17887 * gdb.cp/namespace.cc (C::ensureRefs): New.
17888 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
17889
8e94b928
NR
178902004-01-20 Nick Roberts <nick@nick.uklinux.net>
17891
17892 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
17893 case "-stack-list-locals 2".
17894 * gdb.mi/mi-var-child.exp: Test for case
17895 "-var-list-children --all-values NAME".
17896
997b0952
MC
178972004-01-18 Michael Chastain <mec.gnu@mindspring.com>
17898
17899 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
17900
52470da3
MK
179012004-01-18 Mark Kettenis <kettenis@gnu.org>
17902
7049b4b8
MK
17903 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
17904 used with gdb_test_multiple.
17905
52470da3
MK
17906 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
17907 read at address 0. This fixes PR testsuite/1504.
17908
da6012e5
DJ
179092004-01-18 Daniel Jacobowitz <drow@mvista.com>
17910
17911 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
17912 Remove downloading, guessing the host executable, the calls to
17913 gdb_file_cmd and gdb_target_cmd, and "load" support.
17914 (infer_host_exec): New function broken out from gdb_load.
17915 (gdb_load): New wrapper for gdbserver_gdb_load.
17916 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
17917 gdb_target_cmd. Use -target-select.
17918 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
17919 Download binaries to the host. Clear last_mi_remote_file when
17920 we load a new binary.
17921 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
17922 call gdbserver_gdb_load and mi_gdb_target_cmd.
17923
32c70722
MC
179242004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17925
17926 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
17927 type patterns.
17928
b0cecf36
MC
179292004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17930
17931 * gdb.cp/templates.exp: Fix typo in test name of
17932 "print Foo<volatile char*>::foo".
17933
4120d7e6
MC
179342004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17935
17936 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
17937
f679e530
BE
179382004-01-16 Ben Elliston <bje@wasabisystems.com>
17939
17940 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
17941 (clean mostlyclean): Remove empty rm.
17942
091c48f6
MC
179432004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17944
17945 * gdb.base/setvar.exp: Add copyright years.
17946
3e5fc8d2
DC
179472004-01-14 David Carlton <carlton@bactrian.org>
17948
17949 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
17950 PR c++/1511 and update coment.
17951 * gdb.cp/templates.exp: Update patterns to match current output.
17952 If changes involve something other than whitespace, KFAIL
17953 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
17954
63d06c5c
DC
179552004-01-14 David Carlton <carlton@kealia.com>
17956
17957 * gdb.cp/namespace.exp: Add tests involving classes defined within
17958 namespaces.
17959 * gdb.cp/namespace.cc (C::CClass): New.
17960 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
17961
a51dab88
EZ
179622004-01-14 Elena Zannoni <ezannoni@redhat.com>
17963
17964 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
17965 what debug info we have. Print a better message if something goes
17966 wrong while producing the separate debug info file.
17967
a476ccc9
MC
179682004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17969
17970 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
17971
f453692c
MC
179722004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17973
17974 * gdb.base/callfuncs.c: Add copyright notice.
17975
f40063a5
MC
179762004-01-13 Michael Chastain <mec.gnu@mindspring.com>
17977
17978 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
17979 inheritance. PR gdb/1498, PR gcc/13539.
17980
19ac3974
EZ
179812004-01-13 Elena Zannoni <ezannoni@redhat.com>
17982
a9c64011
AS
17983 * gdb.threads/gcore-thread.exp: Prefix name of binary with
17984 test specific name.
17985 * gdb.mi/gdb669.exp: Ditto.
17986 * gdb.mi/mi-pthreads.exp: Ditto.
17987 * gdb.mi/mi1-pthreads.exp: Ditto.
17988 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 17989
56c97c6e
MC
179902004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17991
17992 * gdb.cp/member-ptr.cc: Add copyright notice.
17993
a0644324
MC
179942004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17995
17996 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
17997 some patterns for recent versions of gcc and hpacc. Delete
17998 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
17999 Delete tests that access a NULL pointer-to-member-data. This
18000 script is still disabled for gcc.
18001
32fabe09
EZ
180022004-01-12 Elena Zannoni <ezannoni@redhat.com>
18003
18004 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 18005 escaped correctly.
32fabe09 18006
1f8a6abb
EZ
180072004-01-12 Elena Zannoni <ezannoni@redhat.com>
18008
18009 * gdb.base/sepdebug.exp: New file.
18010 * gdb.base/sepdebug.c: New file.
18011 * lib/gdb.exp (separate_debug_filename): New procedure.
18012 (gdb_gnu_strip_debug): New procedure.
18013
48efe704
AC
180142004-01-12 Andrew Cagney <cagney@redhat.com>
18015
18016 * gdb.mi/ChangeLog: Delete file. Renamed to ...
18017 * gdb.mi/ChangeLog-1999-2003: New file.
18018
a9415475
AC
180192004-01-12 Andrew Cagney <cagney@redhat.com>
18020
18021 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
18022 "Renaming a directory to a non-empty directory returns ENOTEMPTY
18023 or EEXIST", treat EBUSY as an XFAIL.
18024
83b8cf9d
MC
180252004-01-11 Michael Chastain <mec.gnu@mindspring.com>
18026
18027 * gdb.base/scope.exp: Remove obsolete setup_xfail for
18028 hp_cc_compiler.
18029
9939d2a8
MC
180302004-01-10 Michael Chastain <mec.gnu@mindspring.com>
18031
18032 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
18033 decorations.
18034
1ff8cadf
MC
180352004-01-10 Michael Chastain <mec.gnu@mindspring.com>
18036
18037 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
18038 and "(aCC)" decorations. Remove obsolete doco about old
18039 test results.
18040
6fa9022e
MC
180412004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18042
18043 * gdb.cp/exception.exp: Fix typo in doco.
18044
209721fe
MK
180452004-01-09 Mark Kettenis <kettenis@gnu.org>
18046
18047 * gdb.base/gdb1476.exp: Fix typo.
18048
ef11303e
MC
180492004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18050
18051 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
18052 file.
18053
041ab88c
MC
180542004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18055
18056 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
18057 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
18058 Use gdb_compile. Remove restriction on gcc. Add some patterns
18059 for recent version of gdb. Delete second half, which was a copy
18060 of the first half with different build flags. This test is
18061 still disabled because it is still not ready for production.
18062
e36d075a
MC
180632004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18064
18065 * gdb.cp/exception.cc: Add copyright notice.
18066 * gdb.cp/exception.exp: Add a notice that this file is broken
18067 because of line number changes caused by addition of copyright
18068 notice.
18069
42b190ad
MC
180702004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18071
18072 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
18073 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
18074
8f25f06b
MC
180752004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18076
18077 * gdb.cp/classes.exp: Accept gnu abi 2.
18078 * gdb.cp/derivation.exp: Likewise.
18079 * gdb.cp/overload.exp: Likewise.
18080 * gdb.cp/virtfunc.exp: Likewise.
18081
06ded8b8
MC
180822004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18083
18084 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
18085 semicolon after end of function.
18086
77c26ae3
MC
180872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18088
18089 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
18090 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
18091 boilerplate code for compiling and running the program under
18092 test. Add some string method tests.
18093
20757486
MC
180942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18095
18096 * gdb.cp/bs15503.cc: Add copyright notice.
18097 * gdb.cp/bs15503.exp: Adjust line number.
18098
0fd3b503
MC
180992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18100
18101 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
18102 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
18103
10d1bea8
MC
181042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18105
18106 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
18107 hp_cc_compiler.
18108
2789202a
MC
181092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18110
18111 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
18112 * gdb.cp/ctti.exp: Use the marker instead of "next".
18113 With gcc, run further before bailing.
18114
b862f14c
MC
181152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18116
18117 * gdb.cp/cttiadd.cc: Add copyright notice.
18118 * gdb.cp/cttiadd1.cc: Likewise.
18119 * gdb.cp/cttiadd2.cc: Likewise.
18120 * gdb.cp/cttiadd3.cc: Likewise.
18121
96da2469
MC
181222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18123
18124 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
18125 Use gdb_test, gdb_test_multiple. Use floating-point values that
18126 have exact representations in IEEE-ish formats.
18127
053248ff
MC
181282004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18129
18130 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
18131 compilers. Delete duplicate call to get_compiler_info.
18132 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
18133 * gdb.base/volatile.exp: Likewise.
18134
84acecdd
MK
181352004-01-07 Mark Kettenis <kettenis@gnu.org>
18136
18137 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
18138 memory at address 0.
18139
fe11a27f
MC
181402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18141
18142 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
18143 to test for hp-ux assembler. Fix copyright years.
18144
60ad077b
AC
181452004-01-07 Andrew Cagney <cagney@redhat.com>
18146
18147 * gdb.base/fileio.c (strerrno): Add "EBUSY".
18148
1c9b8f33
AC
181492004-01-07 Andrew Cagney <cagney@redhat.com>
18150
18151 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
18152 when creating the read-only file. From analysis by Roland McGrath
18153 and Elena Zannoni.
18154
753ccc7a
MC
181552004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18156
18157 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
18158
eca3e36b
MC
181592004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18160
18161 * gdb.base/cvexpr.c: Be type-safe with function pointers and
18162 data pointers.
18163
f8d4bac4
MC
181642004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18165
18166 * gdb.cp/m-static.exp: Compile one source file at a time.
18167 Delete unused call to get_compiler_info.
18168
9b4e0f94
MC
181692004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18170
18171 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
18172 * gdb.base/call-rt-st.exp: Likewise.
18173 * gdb.base/nodebug.exp: Likewise.
18174 * gdb.base/volatile.exp: Likewise.
18175 * gdb.cp/ref-types.exp: Likewise.
18176 * gdb.cp/templates.exp: Likewise.
18177
023c1024
MK
181782004-01-05 Mark Kettenis <kettenis@gnu.org>
18179
18180 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
18181
19703c4a
MC
181822004-01-05 Michael Chastain <mec.gnu@mindspring.com>
18183
18184 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
18185 hppa*-hp-hpux*.
18186
18b67037
MK
181872004-01-04 Mark Kettenis <kettenis@gnu.org>
18188
ba6219c8
MK
18189 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18190 x86_64-*-*.
18191
18b67037
MK
18192 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18193 sparc64-*-* and sparc*-solaris2*.
18194
1bfbbb9d
MK
181952004-01-04 Mark Kettenis <kettenis@gnu.org>
18196
18197 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
18198 return ${tests}" test. The ${tests} already mentions the
18199 filename.
18200
06846494
MC
182012004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18202
18203 * gdb.cp/local.exp: Accept gcc abi 2.
18204
3b0cb202
MC
182052004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18206
18207 * gdb.cp/templates.exp: Accept gcc abi 2.
18208
0643ec3f
MC
182092004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18210
18211 * lib/compiler.cc: Remove supports_template_debugging.
18212 * gdb.cp/templates.exp: Do not test supports_template_debugging.
18213
d231d0b1
MC
182142004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18215
18216 * gdb.cp/namespace.exp: Accept gcc abi 2.
18217
44ffb27c
MC
182182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18219
18220 * gdb.cp/method.exp: Accept gcc abi 2.
18221
184ad485
MC
182222004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18223
18224 * gdb.cp/classes.exp: Generate identical results as old version.
18225 * gdb.cp/derivation.exp: Likewise.
18226 * gdb.cp/overload.exp: Likewise.
18227 * gdb.cp/virtfunc.exp: Likewise.
18228
116f09e7
MC
182292004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18230
18231 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
18232 mysterious bug with sourceware version of expect.
18233
b1379776
MC
182342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18235
18236 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
18237 current versions of gcc, including gcc abi 2. Remove gratuitous
18238 restart of test program. Use gdb_test_multiple and gdb_test for
18239 all tests. Add patterns to xfail missing "const" in "const char *"
18240 and kfail PR gdb/1155.
18241
6b7a4c0e
MC
182422004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18243
18244 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
18245 current versions of gcc, including gcc abi 2. Remove gratuitous
18246 restart of test program. Use gdb_test_multiple and gdb_test for
18247 all tests. Add patterns to kfail PR gdb/1498.
18248
51615d72
MC
182492003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18250
18251 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
18252 current versions of gcc, including gcc abi 2. Use "breakpoint"
18253 and "continue" instead of restarting the target program. Use
18254 gdb_test_multiple and gdb_test for all tests.
18255
7b79a9d7
MK
182562004-01-01 Mark Kettenis <kettenis@gnu.org>
18257
18258 * gdb.asm/asm-source.exp: Update copyright year. Link statically
18259 for *-*-solaris2*.
18260
1cd3489f
MC
182612003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18262
18263 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
18264 current versions of gcc, including gcc abi 2. Use "breakpoint"
18265 and "continue" instead of restarting the target program several
18266 times. Use gdb_test_multiple and gdb_test for all tests.
18267
850742db
MC
182682003-12-18 Michael Chastain <mec.gnu@mindspring.com>
18269
18270 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
18271 source files.
18272
eb4bbda8
MC
182732003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18274
18275 * gdb.base/environ.exp: Handle compiling test case from multiple
18276 source files.
18277
e42c7771
MC
182782003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18279
18280 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
18281
80e4b428
JB
182822003-12-17 Jim Blandy <jimb@redhat.com>
18283
5f06973a
JB
18284 * gdb.base/freebpcmd.c: Add copyright notice.
18285
80e4b428
JB
18286 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
18287
0ab84fb7
MC
182882003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18289
18290 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
18291
1b3bb3d0
JB
182922003-12-13 Jim Blandy <jimb@redhat.com>
18293
18294 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
18295
3a4c9371
KB
182962003-12-12 Kevin Buettner <kevinb@redhat.com>
18297
18298 * gdb.asm/frv.inc: New file.
18299 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
18300
a1dea79a
FF
183012003-12-09 Fred Fish <fnf@redhat.com>
18302
18303 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
18304 functions to break1.c and leave prototypes behind. Add more
18305 "set breakpoint NN here" comments.
18306 * gdb.base/break1.c: New file.
18307
18308 * gdb.base/break.exp: Handle compiling test case from multiple
18309 source files and change source file references as needed.
18310 * gdb.base/completion.exp: Ditto.
18311 * gdb.base/condbreak.exp: Ditto.
18312 * gdb.base/define.exp: Ditto.
18313 * gdb.base/ena-dis-br.exp: Ditto.
18314 * gdb.base/info-proc.exp: Ditto.
18315 * gdb.base/maint.exp: Ditto.
18316 * gdb.base/until.exp: Ditto.
18317
18318 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
18319 hardcoded line numbers.
18320 * gdb.base/define.exp: Ditto.
18321 * gdb.base/ena-dis-br.exp: Ditto.
18322 * gdb.base/maint.exp: Ditto.
18323 * gdb.base/until.exp: Ditto.
18324
18325 * gdb.base/completion.exp: Use "break1" for completion tests since
18326 "break" is no longer a unique prefix.
18327
5266b69c
AC
183282003-12-06 Andrew Cagney <cagney@redhat.com>
18329
18330 * gdb.base/structs.exp (test_struct_returns): When applicable, set
18331 "return_value_unimplemented". When an unimplemented struct return
18332 architecture, report incorrect values as a KFAIL
18333
374451f0
MC
183342003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18335
18336 * gdb.cp/rtti.exp: Accept new wording of warning from
18337 cp_lookup_rtti_type.
18338
ba9b20a7
MC
183392003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18340
18341 Partial fix for PR testsuite/1456.
18342 * gdb.base/scope.exp (test_at_main): Replace references to
18343 gcc_compiled with calls to test_compiler_info.
18344 (test_at_foo): Likewise.
18345 (test_at_bar): Likewise.
18346
b74b6d0b
MC
183472003-12-04 Michael Chastain <mec.gnu@mindspring.com>
18348
18349 Partial fix for PR testsuite/1456.
18350 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
18351 to test_compiler_info.
18352
ccfa3402
MC
183532003-12-03 Michael Chastain <mec.gnu@mindspring.com>
18354
18355 * gdb.base/so-impl-ld.exp: Update copyright notice.
18356
f6246aba
MC
183572003-12-02 Michael Chastain <mec.gnu@mindspring.com>
18358
18359 Partial fix for PR testsuite/1456.
18360 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
18361 to test_compiler_info.
18362
13ae734a
MC
183632003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18364
18365 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
18366 from current versions of gdb. Clean up regular expressions.
18367 Delete redundant timeout case.
18368
d8e1cdee
MC
183692003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18370
18371 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
18372 from current versions of gdb. Clean up regular expressions.
18373 Delete redundant timeout case.
18374
96457b64
MC
183752003-12-01 Michael Chastain <mec.gnu@mindspring.com>
18376
18377 Partial fix for PR testsuite/1456.
18378 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
18379 gcc_compiled with call to test_compiler_info.
18380
f35309fc
MC
183812003-11-30 Michael Chastain <mec.gnu@mindspring.com>
18382
18383 Partial fix for PR testsuite/1456.
18384 * gdb.base/list.exp (test_list_function): Delete unused declaration
18385 of gcc_compiled.
18386
d7afdf9b
MC
183872003-11-29 Michael Chastain <mec.gnu@mindspring.com>
18388
18389 Partial fix for PR testsuite/1456.
18390 * gdb.base/complex.exp: Replace reference to gcc_compiled with
18391 call to test_compiler_info.
18392
71507b56
MK
183932003-11-29 Mark Kettenis <kettenis@gnu.org>
18394
18395 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
18396 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
18397 it to create the appropriate note.inc.
18398 * gdb.asm/asmsrc1.s: Include "note.inc".
18399 * gdb.asm/netbsd.inc: New file.
18400 * gdb.asm/empty.inc: New file.
18401
f81f93f7
MC
184022003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18403
18404 Partial fix for PR testsuite/1456.
18405 * gdb.base/constvars.exp: Replace references to gcc_compiled with
18406 calls to test_compiler_info.
18407
9a77938e
MC
184082003-11-27 Michael Chastain <mec.gnu@mindspring.com>
18409
18410 Partial fix for PR testsuite/1456.
18411 * gdb.base/volatile.exp: Replace references to gcc_compiled with
18412 calls to test_compiler_info.
18413
e8367dc7
MK
184142003-11-27 Mark Kettenis <kettenis@gnu.org>
18415
18416 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
18417 pattern for the KFAILs.
18418
526c61ee
AF
184192003-11-25 Adam Fedor <fedor@gnu.org>
18420
18421 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
18422 * gdb.objc/objcdecode.m: New file.
18423
28f2d600
AF
184242003-11-25 Adam Fedor <fedor@gnu.org>
18425
18426 * gdb.objc/nondebug.exp: Test for PR objc/1236.
18427 * gdb.objc/nondebug.m: New file.
18428
a3895cee
BE
184292003-11-26 Ben Elliston <bje@wasabisystems.com>
18430
18431 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
18432 NetBSD as it does on FreeBSD. Modelled on a similar change by
18433 Mark Kettenis on 2003-05-30.
18434 (link-flags): Set to "--entry _start" regardless of target.
18435 Special linker flags are to be appended to $link-flags.
18436 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
18437
c9f2c8a3
MC
184382003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18439
18440 * gdb.cp/method.exp: Accept output of new demangler.
18441
15a0587a 184422003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
18443
18444 * gdb/class2.exp: New file.
18445 * gdb/class2.cc: New file.
18446
3c00b570
MC
184472003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18448
18449 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
18450 of new demangler.
18451
7027acc7
MK
184522003-11-23 Mark Kettenis <kettenis@gnu.org>
18453
18454 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
18455 of gdb_test "run".
18456
b0e1598a
MK
184572003-11-23 Mark Kettenis <kettenis@gnu.org>
18458
18459 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
18460 "continue" into "run".
18461
4d9eda44
MC
184622003-11-23 Michael Chastain <mec.gnu@mindspring.com>
18463
18464 Partial fix for PR testsuite/1456.
18465 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
18466 call to test_compiler_info.
18467 * gdb.cp/ctti.exp: Likewise.
18468 * gdb.cp/derivation.exp: Likewise.
18469 * gdb.cp/member-ptr.exp: Likewise.
18470 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
18471 reference to gcc_compiled.
18472
184732003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
18474
18475 Fix PR testsuite/1463.
18476 * gdb.base/structs.exp (start_structs_test): Call
18477 get_debug_format before using the debug format.
18478
d422fe19
AC
184792003-11-22 Andrew Cagney <cagney@redhat.com>
18480
18481 * lib/gdb.exp (gdb_test_multiple): Add simple example.
18482 * gdb.base/structs.exp: Use gdb_test_multiple.
18483
039cf96d
AC
184842003-11-20 Andrew Cagney <cagney@redhat.com>
18485
6882279b
AC
18486 * gdb.base/structs.exp: Handle and recover from internal errors.
18487 Replace "foo${n}" with "foo<n>" in test messages.
18488
e53890ae
AC
18489 * gdb.base/structs.exp: Update copyright. Rewrite.
18490 * gdb.base/structs.c: Update copyright. Rewrite.
18491
2b211c59
AC
18492 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
18493 resync count exceeded.
d63a86f8 18494
039cf96d
AC
18495 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
18496 from the internal error.
18497 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
18498 Original from Jim Blandy.
18499 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 18500
eac98b22
AC
185012003-11-19 Andrew Cagney <cagney@redhat.com>
18502
18503 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
18504 KFAIL.
18505
67455b2a
MK
185062003-11-17 Mark Kettenis <kettenis@gnu.org>
18507
18508 New testcase for PR backtrace/1435.
18509 * gdb.arch/i386-unwind.exp: New file.
18510 * gdb.arch/i386-unwind.c: New file.
18511
853d6e5b
AC
185122003-11-17 Andrew Cagney <cagney@redhat.com>
18513
18514 * lib/gdb.exp (compiler_info): New global.
18515 (test_compiler_info): New function.
18516 (get_compiler_info): Set compiler_info.
18517 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
18518 "compiler_info" to gcc-<major>-<minor>.
18519
38cf6e11
MC
185202003-11-15 Michael Chastain <mec.gnu@mindspring.com>
18521
18522 * gdb.trace/configure: Remove.
18523
a50d3602
EZ
185242003-11-13 Elena Zannoni <ezannoni@redhat.com>
18525
18526 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 18527 breakpoints.
a50d3602
EZ
18528 * gdb.base/break.exp: Remove all references to explicit line
18529 numbers.
18530
d9407aaa
NC
185312003-11-11 Nick Clifton <nickc@redhat.com>
18532
18533 * gdb.base/shreloc.exp: Do not run for targets which do not
18534 support shared objects.
18535
db488fc1
CV
185362003-11-10 Corinna Vinschen <vinschen@redhat.com>
18537
18538 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
18539 Don't run tests if nofileio flag is given.
18540
6a90a18e
EZ
185412003-11-07 Elena Zannoni <ezannoni@redhat.com>
18542
18543 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 18544 as well as 'Watchpoint'.
6a90a18e 18545
0b915e9c
EZ
185462003-11-06 Elena Zannoni <ezannoni@redhat.com>
18547
18548 Reported by Jim Ingham <jingham@apple.com>:
18549 * gdb.base/annota1.exp: Match at least one occurrence of the
18550 signal handler annotation.
18551
d7e4b55f
EZ
185522003-11-06 Elena Zannoni <ezannoni@redhat.com>
18553
a9c64011
AS
18554 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
18555 as well as 'Watchpoint'.
d7e4b55f 18556
2fe4e8d0
MC
185572003-11-05 Michael Chastain <mec@shout.net>
18558
18559 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
18560
6ef88553
KW
185612003-11-03 Kris Warkentin <kewarken@qnx.com>
18562
18563 * gdb.arch/gdb1291.c: New test file.
18564 * gdb.arch/gdb1291.exp: New test script.
18565 * gdb.arch/gdb1431.c: New test file.
18566 * gdb.arch/gdb1431.exp: New test script.
18567
ae7dc4d8
MC
185682003-10-22 Michael Chastain <mec@shout.net>
18569
18570 * gdb.mi/pthreads.c: Add copyright notice.
18571
c39d7427
MC
185722003-10-22 Michael Chastain <mec@shout.net>
18573
18574 * gdb.threads/pthreads.c: Add copyright notice.
18575
8b7d96c1
MC
185762003-10-20 Michael Chastain <mec@shout.net>
18577
18578 * gdb.base/gdb1056.exp: New test script.
18579
d1d69fdd
DJ
185802003-10-13 Daniel Jacobowitz <drow@mvista.com>
18581
18582 * gdb.threads/killed.exp: Use gdb_run_cmd.
18583
7d605576
DJ
185842003-10-13 Daniel Jacobowitz <drow@mvista.com>
18585
18586 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
18587 create a core file.
18588 * gdb.threads/gcore-thread.exp: Likewise.
18589
618ec112
CV
185902003-10-13 Corinna Vinschen <vinschen@redhat.com>
18591
18592 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
18593 type, based on char type.
18594 (struct bit_flags_short_t): New bitfield type, based on short type.
18595 (init_bit_flags_char): New fuction.
18596 (init_bit_flags_short): Ditto.
18597 (print_bit_flags_char): Ditto.
18598 (print_bit_flags_short): Ditto.
18599 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
18600
9367a73c
MC
186012003-10-11 Michael Chastain <mec@shout.net>
18602
18603 * gdb.base/call-rt-st.exp: Update copyright year.
18604
1decf120
KI
186052003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
18606
18607 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
18608 * gdb.disasm/sh3.s: Ditto.
18609
5445b2ae
DJ
186102003-10-07 Daniel Jacobowitz <drow@mvista.com>
18611
18612 * gdb.threads/switch-threads.exp: New test.
18613 * gdb.threads/switch-threads.c: New source file.
18614
aec24853
CV
186152003-10-07 Corinna Vinschen <vinschen@redhat.com>
18616
18617 * gdb.base/ending-run.exp: Add sh specific case.
18618
adc7428d
AC
186192003-10-06 Andrew Cagney <cagney@redhat.com>
18620
18621 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
18622 * gdb.disasm/mn10200.exp: Delete obsolete file.
18623
c9d37158
DJ
186242003-09-29 Daniel Jacobowitz <drow@mvista.com>
18625
18626 * ChangeLog: Correct an entry command.exp -> commands.exp.
18627 * gdb.base/commands.exp (bp_deleted_in_command_test)
18628 (temporary_breakpoint_commands): Check noargs.
18629
79c2c32d
DC
186302003-09-25 David Carlton <carlton@kealia.com>
18631
18632 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
18633 of some print tests, where appropriate. Add tests for C::D::cd,
18634 E::ce, F::cXfX, G::XgX.
18635 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
18636
594e6d67
RE
186372003-09-25 Richard Earnshaw <rearnsha@arm.com>
18638
18639 * lib/java.exp (java_init): Import target_alias before using it.
18640
10f0d451
DC
186412003-09-25 David Carlton <carlton@kealia.com>
18642
18643 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
18644
274bcba0
EZ
186452003-09-23 Elena Zannoni <ezannoni@redhat.com>
18646
d63a86f8 18647 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 18648 weirdness.
274bcba0 18649
cdbf20f7
MC
186502003-09-17 Michael Chastain <mec@shout.net>
18651
18652 * gdb.cp/gdb1355.exp: New file.
18653 * gdb.cp/gdb1355.c: New file.
18654
71e06f80
CV
186552003-09-15 Corinna Vinschen <vinschen@redhat.com>
18656
18657 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
18658 * gdb.asm/sh.inc: New file.
18659
5c4e30ca
DC
186602003-09-11 David Carlton <carlton@kealia.com>
18661
bd45b7af
DC
18662 * gdb.cp/namespace.exp: Add tests for namespace types.
18663 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
18664 (test_namespace): New.
18665
1c199746
EZ
186662003-09-11 Elena Zannoni <ezannoni@redhat.com>
18667
a9c64011 18668 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 18669 * gdb.stabs/weird.exp: Ditto.
1c199746 18670
04ed252f
MC
186712003-09-08 Michael Chastain <mec@shout.net>
18672
18673 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
18674
d8a2d9e7
MC
186752003-09-07 Michael Chastain <mec@shout.net>
18676
18677 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
18678 'parse error'.
18679
161afb24
MK
186802003-09-07 Mark Kettenis <m.kettenis@osp.nl>
18681
18682 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
18683
49f2741a
MC
186842003-08-30 Michael Chastain <mec@shout.net>
18685
18686 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
18687 * gdb.gdb/observer.exp: Ditto.
18688 * gdb.gdb/xfullpath.exp: Ditto.
18689
8afa723e
MK
186902003-08-29 Mark Kettenis <kettenis@gnu.org>
18691
18692 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
18693 *-*-*bsd*.
18694
f31dfe3b
JJ
186952003-08-28 Jeff Johnston <jjohnstn@redhat.com>
18696
18697 * gdb.base/dump.exp: Skip for ia64.
18698
4630e498
JJ
186992003-08-25 Jeff Johnston <jjohnstn@redhat.com>
18700
18701 * gdb.asm/asm-source.exp: Add ia64 support.
18702 * gdb.asm/ia64.inc: New file.
18703
1105b7ef
MC
187042003-08-22 Michael Chastain <mec@shout.net>
18705
18706 * gdb.cp: New directory.
18707 * gdb.cp/*: Copy from gdb.c++/*.
18708 * gdb.c++/*: Remove.
18709 * Makefile.in: Change gdb.c++ to gdb.cp.
18710 * configure.in: Ditto.
18711 * configure: Regnerate.
18712
c945b932
MK
187132003-08-18 Mark Kettenis <kettenis@gnu.org>
18714
18715 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
18716 * gdb.arch/i386-prologue.c (gdb1338): Add function.
18717
2b66634b
DJ
187182003-08-17 Daniel Jacobowitz <drow@mvista.com>
18719
18720 * mi-var-display.exp (-var-list-children weird): Accept function
18721 pointers with argument types.
18722 * mi1-var-display.exp (-var-list-children weird): Likewise.
18723 * mi2-var-display.exp (-var-list-children weird): Likewise.
18724
a356f73b
DJ
187252003-08-17 Daniel Jacobowitz <drow@mvista.com>
18726
18727 * gdb.base/annota3.exp: Add missing newline.
18728
483417b8
MC
187292003-08-06 Michael Chastain <mec@shout.net>
18730
18731 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
18732
c99c59c3
MS
187332003-08-12 Michael Snyder <msnyder@redhat.com>
18734
18735 * gdb.base/float.exp: Add test for SH.
18736
55ed7501
MK
187372003-08-10 Mark Kettenis <kettenis@gnu.org>
18738
18739 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
18740
1a371f2e
EZ
187412003-08-07 Elena Zannoni <ezannoni@redhat.com>
18742
18743 * gdb.base/completion.exp: Remove reduntant completion test
18744 on filename.
18745
e0f353ce
EZ
187462003-08-07 Elena Zannoni <ezannoni@redhat.com>
18747
a9c64011
AS
18748 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
18749 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
18750 gdb.trace/save-trace.exp: Make sure that full pathnames are
18751 escaped correctly.
e0f353ce 18752
5710a1af 187532003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 18754
a9c64011
AS
18755 * configure.in: Don't generate config.h from config.hin.
18756 * configure: Regenerate.
18757 * config.hin: Remove file.
18758 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
18759 * gdb.threads/pthreads.c: Ditto.
5710a1af 18760
dcd81ce9
DJ
187612003-08-07 Daniel Jacobowitz <drow@mvista.com>
18762
18763 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18764 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
18765 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
18766 Replace ld24 with seth/add3.
18767
6009d884
AC
187682003-08-02 Andrew Cagney <cagney@redhat.com>
18769
18770 * gdb.base/annota3.exp: New file.
18771 * gdb.base/annota3.c: New file.
18772 * gdb.c++/annota3.exp: New file.
18773 * gdb.c++/annota3.cc: New file.
18774
51514e06
MC
187752003-07-29 Michael Chastain <mec@shout.net>
18776
18777 * gdb.threads/tls.c (spin): Check errno only if sem_wait
18778 actually failed.
18779 (do_pass): Likewise.
18780 * gdb.threads/tls.exp: Always initialize no_of_threads.
18781
4ee6625b
DJ
187822003-07-27 Daniel Jacobowitz <drow@mvista.com>
18783
18784 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
18785 pattern.
18786 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
18787 * gdb.threads/tls.exp: Recognize one case of the host library not
18788 supporting TLS.
18789
225f2bf6
AC
187902003-07-27 Andrew Cagney <cagney@redhat.com>
18791
18792 * gdb.base/fileio.exp: Use SH when running commands using
18793 remote_exec.
18794
bcb27c9f
DJ
187952003-07-24 Daniel Jacobowitz <drow@mvista.com>
18796
18797 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18798 * gdb.base/relocate.c (dummy): New padding array.
18799
3d67be83
MS
188002003-07-22 Michael Snyder <msnyder@redhat.com>
18801
d63a86f8 18802 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
18803
18804 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
18805 patterns to be more general, accepting old and new output.
18806 Some output chars (such as '+') also must be quoted.
d63a86f8 18807 Some addresses are displayed numerically instead of
3d67be83
MS
18808 symbolically.
18809
57ba3b85
MS
188102003-07-23 Michael Snyder <msnyder@redhat.com>
18811
686d097c
MS
18812 * gdb.base/return2.exp: Don't test long-long return.
18813
57ba3b85
MS
18814 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
18815 * gdb.disasm/t01_mov.exp: Ditto.
18816 * gdb.disasm/t02_mova.s: Ditto.
18817 * gdb.disasm/t02_mova.exp: Ditto.
18818 * gdb.disasm/t03_add.s: Ditto.
18819 * gdb.disasm/t03_add.exp: Ditto.
18820 * gdb.disasm/t04_sub.s: Ditto.
18821 * gdb.disasm/t04_sub.exp: Ditto.
18822 * gdb.disasm/t05_cmp.s: Ditto.
18823 * gdb.disasm/t05_cmp.exp: Ditto.
18824 * gdb.disasm/t06_ari2.s: Ditto.
18825 * gdb.disasm/t06_ari2.exp: Ditto.
18826 * gdb.disasm/t07_ari3.s: Ditto.
18827 * gdb.disasm/t07_ari3.exp: Ditto.
18828 * gdb.disasm/t08_or.s: Ditto.
18829 * gdb.disasm/t08_or.exp: Ditto.
18830 * gdb.disasm/t09_xor.s: Ditto.
18831 * gdb.disasm/t09_xor.exp: Ditto.
18832 * gdb.disasm/t10_and.s: Ditto.
18833 * gdb.disasm/t10_and.exp: Ditto.
18834 * gdb.disasm/t11_logs.s: Ditto.
18835 * gdb.disasm/t11_logs.exp: Ditto.
18836 * gdb.disasm/t12_bit.s: Ditto.
18837 * gdb.disasm/t12_bit.exp: Ditto.
18838 * gdb.disasm/t13_otr.s: Ditto.
18839 * gdb.disasm/t13_otr.exp: Ditto.
18840
e00759ef
EZ
188412003-07-22 Elena Zannoni <ezannoni@redhat.com>
18842
18843 * gdb.threads/tls.exp :Add kfail for 'info address' case.
18844
8bc2021f
EZ
188452003-07-22 Elena Zannoni <ezannoni@redhat.com>
18846
a9c64011
AS
18847 * gdb.threads/tls.c : New file.
18848 * gdb.threads/tls.exp : New file.
18849 * gdb.threads/tls-main.c : New file.
18850 * gdb.threads/tls-shared.c : New file.
18851 * gdb.threads/tls-shared.exp : New file.
8bc2021f 18852
89320c4c
AS
188532003-07-22 Andreas Schwab <schwab@suse.de>
18854
18855 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
18856
180dea7c
AS
188572003-07-20 Andreas Schwab <schwab@suse.de>
18858
18859 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
18860 due to insn reordering.
18861
0714963c
AC
188622003-07-15 Andrew Cagney <cagney@redhat.com>
18863
18864 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
18865
98a23b3f
MC
188662003-07-15 Michael Chastain <mec@shout.net>
18867
18868 * gdb.base/gdb1250.exp: New file.
18869 * gdb.base/gdb1250.c: New file.
18870
27e417a2
ML
188712003-07-09 Michal Ludvig <mludvig@suse.cz>
18872
18873 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
18874 expansion of size_t to 'unsigned long', not only to 'unsigned'.
18875
8bc2021f
EZ
188762003-07-09 Elena Zannoni <ezannoni@redhat.com>
18877
a9c64011
AS
18878 * gdb.threads/tls.c: New file.
18879 * gdb.threads/tls.exp: New file.
18880 * gdb.threads/tls-main.c: New file.
18881 * gdb.threads/tls-shared.c: New file.
18882 * gdb.threads/tls-shared.exp: New file.
8bc2021f 18883
d99968dc
EZ
188842003-07-09 Elena Zannoni <ezannoni@redhat.com>
18885
18886 * gdb.base/annota1.exp: Make sure that we properly escape the
18887 full path of the source file. Xfail more permissive patterns,
d63a86f8 18888 due to a compiler debug info problem.
d99968dc 18889
83876b3b
AS
188902003-07-07 Andreas Schwab <schwab@suse.de>
18891
2705e972
AS
18892 * gdb.asm/m68k.inc: New file.
18893 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
18894
83876b3b
AS
18895 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
18896 arguments"): Also match negative number.
18897
18898 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
18899
3a871b37
DJ
189002003-07-03 Daniel Jacobowitz <drow@mvista.com>
18901
18902 * gdb.base/store.c (charest): New typedef.
18903 (add_char): Rename to add_charest, update.
18904 (wack_char): Rename to wack_charest, update types. Return l + r
18905 to keep r live across the call.
18906 (wack_short, wack_int, wack_long, wack_longest, wack_float)
18907 (wack_double, wack_doublest): Return l + r to keep r live across
18908 the call.
18909 * gdb.base/store.exp: Accomodate store.c changes.
18910
b2a7f303
DC
189112003-06-30 David Carlton <carlton@kealia.com>
18912
18913 * gdb.c++/maint.exp (test_invalid_name): New.
18914 (test_first_component): Add tests for invalid names.
18915
3c6cb4a1
MC
189162003-06-29 Michael Chastain <mec@shout.net>
18917
18918 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
18919 output of '<VTT for class>' for virtual base classes.
18920
f1c2644b
DJ
189212003-06-29 Daniel Jacobowitz <drow@mvista.com>
18922
18923 * gdb.base/completion.exp: Tab-complete "complet" instead of
18924 "compl".
18925 * gdb.base/complex.exp, gdb.base/complex.c: New files.
18926
18080350
DJ
189272003-06-29 Daniel Jacobowitz <drow@mvista.com>
18928
18929 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
18930 * gdb.base/volatile.exp: Likewise.
18931
f56973f8
DJ
189322003-06-29 Daniel Jacobowitz <drow@mvista.com>
18933
18934 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
18935 gdb/1265.
18936
189372003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
18938 Daniel Jacobowitz <drow@mvista.com>
18939
18940 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
18941 initial line count of 'captured_main' from 26 to 32.
18942 (test_with_self): Allow xmalloc call to be interleaved with the
18943 preceding two lines.
18944
e766d4d6
JB
189452003-06-24 Joel Brobecker <brobecker@gnat.com>
18946
18947 * gdb.base/bang.exp: New testcase.
18948
f125c9a4
JB
189492003-06-23 Joel Brobecker <brobecker@gnat.com>
18950
18951 * gdb.base/langs.exp: Add some tests for the "minimal" language
18952 support.
18953
6e25beaf
EZ
189542003-06-23 Elena Zannoni <ezannoni@redhat.com>
18955
18956 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
18957 the testcase.
18958
2f816dda
DJ
189592003-06-22 Daniel Jacobowitz <drow@mvista.com>
18960
18961 * gdb.base/relocate.exp: Test add-symbol-file with a variable
18962 offset.
18963
db5a5748
DJ
189642003-06-22 Daniel Jacobowitz <drow@mvista.com>
18965
18966 * gdb.c++/pr-1210.cc: New file.
18967 * gdb.c++/pr-1210.exp: New file.
18968
1df0c130
DJ
189692003-06-21 Daniel Jacobowitz <drow@mvista.com>
18970
18971 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
18972 000-exec-continue.
18973
a92feac0
MK
189742003-06-15 Mark Kettenis <kettenis@gnu.org>
18975
18976 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
18977 on *-*-*bsd* instead of *-*-freebsd*.
18978
81a58f5b
AC
189792003-06-14 Andrew Cagney <cagney@redhat.com>
18980
18981 * gdb.base/store.exp: Test longest and doublest. Test all
18982 parameters. Weaken return statement match.
18983 * gdb.base/store.c: Add longest and doublest - aka long long and
18984 long double functions. Put all parameters into local register
18985 variables. Use negative values.
18986
b257a0d3
AC
189872003-06-14 Andrew Cagney <cagney@redhat.com>
18988
18989 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
18990 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
18991 exit status.
18992 * gdb.base/fileio.exp: Disable target when nointerrupts and
18993 noinferiorio, instead of limiting it to remote. Use remote_exec
18994 instead of system.
d63a86f8 18995
21c38304
JJ
189962003-06-12 Jeff Johnston <jjohnstn@redhat.com>
18997
18998 * gdb.base/float.exp: Add ia64 support.
18999
1bcdb424
CV
190002003-06-12 Corinna Vinschen <vinschen@redhat.com>
19001
19002 * gdb.base/fileio.exp: Run only on remote targets.
19003
6aeb981f
CV
190042003-06-10 Corinna Vinschen <vinschen@redhat.com>
19005
19006 * gdb.base/fileio.c: New file, testing File-I/O.
19007 * gdb.base/fileio.exp: Ditto.
19008
53df362e
RG
190092003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
19010
19011 * gdb.base/shreloc.exp: New file, check symbol values obtained from
19012 shared objects after relocation at load time (gdb PR/1132).
19013 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 19014 as above, part of the shared object relocation test.
53df362e 19015
ffee1b46
MK
190162003-06-08 Mark Kettenis <kettenis@gnu.org>
19017
b5ca3722
MK
19018 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
19019 fully filled history list.
19020 * gdb.base/gdb_history: New file.
19021
03ed860d
MK
19022 * gdb.base/signals.exp: XFAIL "continue to func1" on
19023 i*86-*-freebsd*.
19024
ffee1b46
MK
19025 * gdb.base/attach.exp: When trying to attach to a nonexistent
19026 process, make it possible to specify the PID based on the target,
19027 and do so for *-*-freebsd*.
19028
d80dbb52
RH
190292003-06-02 Richard Henderson <rth@redhat.com>
19030
19031 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
19032
6dd77b81
RH
190332003-06-02 Richard Henderson <rth@redhat.com>
19034
19035 * gdb.base/selftest.exp: Next over lim_at_start initialization.
19036
f6347e16
RH
190372003-06-02 Richard Henderson <rth@redhat.com>
19038
19039 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
19040
2c161407
DJ
190412003-06-01 Daniel Jacobowitz <drow@mvista.com>
19042
19043 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
19044 of globalvar.
19045
572eb746
MK
190462003-06-01 Mark Kettenis <kettenis@gnu.org>
19047
19048 * gdb.asm/asm-source.exp: Check for memory read errors in
19049 disassembler test on *BSD too.
19050
9e9617a5
RH
190512003-06-01 Richard Henderson <rth@redhat.com>
19052
19053 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
19054 for .frame.
19055 (gdbasm_call): Lose ldgp.
19056 (gdbasm_startup): Add frame information.
19057 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
19058
7b34ad4e
MK
190592003-05-31 Mark Kettenis <kettenis@gnu.org>
19060
19061 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
19062 i?86-*-*.
19063
10059fdf
MK
190642003-05-30 Mark Kettenis <kettenis@gnu.org>
19065
19066 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19067 FreeBSD.
19068
acf4b816
RH
190692003-05-29 Richard Henderson <rth@redhat.com>
19070
19071 * gdb.asm/alpha.inc: New file.
19072 * gdb.asm/asm-source.exp: Use it.
19073
e9ecd949
JB
190742003-05-29 Jim Blandy <jimb@redhat.com>
19075
19076 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
19077 'core.PID'.
19078
e3e5a4f3
JB
190792003-05-22 Jim Blandy <jimb@redhat.com>
19080
19081 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
19082 backtrace.
d63a86f8 19083
72fe3d25
DC
190842003-05-20 David Carlton <carlton@math.stanford.edu>
19085
19086 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
19087 this time.
19088
58da2eb2
DC
190892003-05-19 David Carlton <carlton@bactrian.org>
19090
19091 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
19092 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
19093
1fcb5155
DC
190942003-05-19 David Carlton <carlton@bactrian.org>
19095
19096 * gdb.c++/namespace.exp: Add namespace scope and anonymous
19097 namespace tests.
19098 Bump copyright date.
19099 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
19100 (main): Call C::D::marker2.
19101 * gdb.c++/namespace1.cc: New file.
19102
85e85163
JJ
191032003-05-14 Jeff Johnston <jjohnstn@redhat.com>
19104
19105 Roland McGrath <roland@redhat.com>
d63a86f8 19106 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
19107 there is no manager thread.
19108
a25fbfec
JJ
191092003-05-08 Jeff Johnston <jjohnstn@redhat.com>
19110
d63a86f8
RM
19111 * gdb.threads/schedlock.exp: Remove assumption that all threads
19112 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
19113 in one of the child threads rather than the main thread.
19114
be375bae
JB
191152003-05-07 Jim Blandy <jimb@redhat.com>
19116
09bf6082
JB
19117 Add support for assembly source testing on the s390x.
19118 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
19119 architecture.
19120 * gdb.asm/s390x.inc: New file.
19121
be375bae
JB
19122 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
19123 succession of 'if' statements.
19124
00905d52
AC
191252003-05-05 Andrew Cagney <cagney@redhat.com>
19126
19127 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
19128
b1e29e33
AC
191292003-05-05 Andrew Cagney <cagney@redhat.com>
19130
19131 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
19132 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
19133
e33d66ec
EZ
191342003-05-02 Elena Zannoni <ezannoni@redhat.com>
19135
19136 * gdb.base/charset.exp: Update based on new behavior of set/show
19137 charset commands.
19138
2b6fd0d8
AC
191392003-05-01 Andrew Cagney <cagney@redhat.com>
19140
19141 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
19142 variable do not give memory errors.
19143
130cacce
AF
191442003-04-30 Adam Fedor <fedor@gnu.org>
19145
19146 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
19147 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
19148 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
19149 gdb.objc/basicclass.m: : New files
19150
19151 * lib/gdb.exp (gdb_compile_objc): New procedure.
19152
bea71854
DJ
191532003-04-27 Daniel Jacobowitz <drow@mvista.com>
19154
19155 * gdb.base/signals.exp: Make backtrace tests more specific.
19156
0f20eeea
DC
191572003-04-23 David Carlton <carlton@bactrian.org>
19158
19159 * gdb.c++/maint.exp (test_first_component): Add tests for
19160 'operator' in more locations.
19161
c8c4d8dc
KB
191622003-04-16 Kevin Buettner <kevinb@redhat.com>
19163
19164 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
19165
3fe60e3c
EZ
191662003-04-16 Elena Zannoni <ezannoni@redhat.com>
19167
19168 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 19169 func marke' instead. Update test name.
3fe60e3c 19170
9219021c
DC
191712003-04-15 David Carlton <carlton@math.stanford.edu>
19172
19173 * gdb.c++/maint.exp: New file.
19174
5dd55bdd
EZ
191752003-04-14 Elena Zannoni <ezannoni@redhat.com>
19176
19177 * gdb.threads/schedlock.c: Change type of thread function argument
19178 to long, to avoid warnings on 64-bit platforms.
19179
00890572
EZ
191802003-04-14 Elena Zannoni <ezannoni@redhat.com>
19181
a9c64011
AS
19182 * gdb.base/attach.exp: Add new message from ptrace in case of
19183 attaching to nonexistent process.
d63a86f8 19184
93201743
JB
191852003-04-11 Jim Blandy <jimb@redhat.com>
19186
19187 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19188 gdb.c++/userdef.cc: Place comments on the lines to which the
19189 marker function might return.
19190 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19191 gdb.c++/userdef.exp: Look for those comments to check that we've
19192 returned to the right place, instead of checking line numbers.
19193
2a11c64d
EZ
191942003-04-11 Elena Zannoni <ezannoni@redhat.com>
19195
a9c64011
AS
19196 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
19197 match on sourcefile name, instead of directory name.
2a11c64d 19198
68ab8fc5
EZ
191992003-04-10 Elena Zannoni <ezannoni@redhat.com>
19200
d63a86f8 19201 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
19202 working directory name.
19203
5624293a
JB
192042003-04-09 Jim Blandy <jimb@redhat.com>
19205
19206 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19207 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
19208 after an inferior function call, report the failure, but allow the
19209 test to continue.
19210
f1f02ee4
SC
192112003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19212
19213 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19214 with -DPROTOTYPES.
19215
6eb79af0
SC
192162003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19217
19218 * gdb.base/break.exp: Revert last patch.
19219
8dfb4cf0
SC
192202003-04-04 Stephane Carrez <stcarrez@nerim.fr>
19221
19222 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19223 with -DPROTOTYPES.
19224
ed4c619a
AC
192252003-04-02 Andrew Cagney <cagney@redhat.com>
19226
19227 * gdb.base/callfuncs.exp: Make "print add" messages unique.
19228 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
19229 matching directories by the name breakpoint.
19230 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
19231 Make "continue to marker1" consistent.
19232 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
19233 message consistent.
19234 * lib/gdb.exp: Put "the program is no longer running", and "the
19235 program exited" in parenthesis.
19236 * lib/mi-support.exp: Ditto.
d63a86f8 19237
4e35d5f0 192382003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 19239
4e35d5f0
BR
19240 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
19241
71900fe8
AC
192422003-03-29 Andrew Cagney <cagney@redhat.com>
19243
19244 * gdb.base/sizeof.c (main): Print the value of '\377'.
19245 * gdb.base/sizeof.exp: Check the sign of '\377'.
19246
c0655a16
MC
192472003-03-27 Michael Chastain <mec@shout.net>
19248
19249 * gdb.base/gdb1090.exp: New file.
19250 * gdb.base/gdb1090.cc: New file.
19251
5b2a3989
JB
192522003-03-27 J. Brobecker <brobecker@gnat.com>
19253
19254 * gdb.gdb/observer.exp: New regression test.
19255
79876890
MC
192562003-03-27 Michael Chastain <mec@shout.net>
19257
19258 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
19259 * gdb.base/ptype.exp: Likewise.
19260
6eac95e3
CV
192612003-03-27 Corinna Vinschen <vinschen@redhat.com>
19262
19263 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
19264
e8c71839
MC
192652003-03-26 Michael Chastain <mec@shout.net>
19266
19267 * gdb.base/ptype.exp: Actually use some typedef'd types.
19268
71b10041
SC
192692003-03-21 Stephane Carrez <stcarrez@nerim.fr>
19270
19271 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
19272 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
19273
2512cf80
CV
192742003-03-20 Corinna Vinschen <vinschen@redhat.com>
19275
19276 * gdb.base/default.exp: Fix regular expression.
19277
0d195a4f
CV
192782003-03-20 Corinna Vinschen <vinschen@redhat.com>
19279
19280 * gdb.base/args.exp: Fix regular expression.
19281
8a2dbca8
CV
192822003-03-20 Corinna Vinschen <vinschen@redhat.com>
19283
19284 * gdb.base/help.exp: Allow Win32 child process.
19285
bf028682
CV
192862003-03-20 Corinna Vinschen <vinschen@redhat.com>
19287
19288 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
19289 when stepping out of main().
19290
182dbe85
CV
192912003-03-20 Corinna Vinschen <vinschen@redhat.com>
19292
19293 * gdb.base/default.exp: Check for win32 specific message when calling
19294 "run" without executable.
19295
d67a6ba5
CV
192962003-03-20 Corinna Vinschen <vinschen@redhat.com>
19297
19298 * gdb.base/args.exp: Expect .exe in output.
19299
a955b5bb
CV
193002003-03-20 Corinna Vinschen <vinschen@redhat.com>
19301
19302 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
19303 Cygwin native.
19304
bf6bad4b
AC
193052003-03-17 Andrew Cagney <cagney@redhat.com>
19306
19307 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
19308 vector registes.
19309 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
19310 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
19311
293e9a31
DC
193122003-03-17 David Carlton <carlton@math.stanford.edu>
19313
19314 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
19315 test, for PR breakpoints/38.
19316 Call test_watchpoint_and_breakpoint.
19317 * gdb.base/watchpoint.c (func3): New function.
19318 (main): Call func3.
19319
5330f2db
DC
193202003-03-04 David Carlton <carlton@math.stanford.edu>
19321
19322 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
19323 Garply<Garply<char> >:: garply".
19324 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
19325 with respect to PR c++/1111; note also PR c++/1113.
19326 (test_template_breakpoints): KFAIL "constructor breakpoint" with
19327 respect to PR c++/1062.
19328 KFAIL "destructor breakpoint" with respect to PR c++/1112.
19329
6ece72da
DC
193302003-03-03 David Carlton <carlton@math.stanford.edu>
19331
19332 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
19333 with respect to PR c++/57.
19334 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
19335 c++/826.
19336 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
19337 respect to PR c++/57.
19338
85ca1584
DC
193392003-03-03 David Carlton <carlton@math.stanford.edu>
19340
19341 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
19342 respect to PR c++/33 into FAILs.
19343
98e9c5b8
MC
193442003-03-03 Michael Chastain <mec@shout.net>
19345
7bedbf27
MC
19346 * configure.in: Update copyright years.
19347
193482003-03-03 Michael Chastain <mec@shout.net>
19349
19350 * Makefile.in: Update copyright years.
98e9c5b8 19351
f683e100
DC
193522003-02-28 David Carlton <carlton@math.stanford.edu>
19353
19354 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
19355 print class instead of struct and/or superfluous protection
19356 specifiers, as long as the resulting output is equivalent to the
19357 source code.
19358 Delete FIXME from end of messages on tests that don't need
19359 fixing.
19360
a9e0cf2c
DC
193612003-02-28 David Carlton <carlton@math.stanford.edu>
19362
19363 * gdb.c++/templates.exp (do_tests): Allow const in the two
19364 Foo<volatile char *>::foo tests.
19365
e8d359df
MS
193662003-02-27 Michael Snyder <msnyder@redhat.com>
19367
d63a86f8 19368 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
19369 will be consistant.
19370
0b71dc91
DC
193712003-02-26 David Carlton <carlton@math.stanford.edu>
19372
19373 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
19374 char *>::foo" test with respect to PR c++/33. Create a new test
19375 which is identical to that one except that it doesn't put the
19376 space between the "char" and the "*"; KFAIL it, too.
19377
dd14ab43
DC
193782003-02-26 David Carlton <carlton@math.stanford.edu>
19379
19380 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
19381 template types into either PASSes or KFAILs (corresponding to PR
19382 c++/57). Tweak indentation. Update copyright.
19383
1146c7f1
SC
193842003-02-23 Stephane Carrez <stcarrez@nerim.fr>
19385
19386 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
19387
74641dfb
MC
193882003-02-13 Michael Chastain <mec@shout.net>
19389
19390 * gdb.base/exprs.exp: Remove i960 remnants.
19391 * gdb.base/funcargs.exp: Likewise.
19392 * gdb.base/list.exp: Likewise.
19393 * gdb.base/ptype.exp: Likewise.
19394
559cd2d0
DC
193952003-02-14 David Carlton <carlton@math.stanford.edu>
19396
19397 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
19398 pEe->D::vg()" from XFAIL to KFAIL.
19399
c4f90d87
JM
194002003-02-13 Jason Molenda (jmolenda@apple.com)
19401
19402 * gdb.base/maint.exp: Update maint print statistics regexp to include
19403 new entries.
19404
cbc4d97c
MC
194052003-02-13 Michael Chastain <mec@shout.net>
19406
19407 * gdb.c++/inherit.exp: Remove call to get_debug_format.
19408
40f235b7
MC
194092003-02-12 Michael Chastain <mec@shout.net>
19410
19411 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
19412 * gdb.c++/inherit.exp: Likewise.
19413 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
19414 * gdb.c++/templates.exp: Likewise.
19415 * gdb.c++/virtfunc.exp: Likewise.
19416
c56716b0
JM
194172003-02-06 Jason Molenda (jason-cl@molenda.com)
19418
19419 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
19420 why the code is written that way.
19421
070afcf8
MC
194222003-02-05 Michael Chastain <mec@shout.net>
19423
19424 * gdb.base/dump.exp: Add missing copyright line.
19425
5d0331e5
JM
194262003-02-05 Jason Molenda (jason-cl@molenda.com)
19427
f7ae6d3e 19428 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
19429 at the beginning so the breakpoint doesn't get set on the loop.
19430
92851186
MC
194312003-02-05 Michael Chastain <mec@shout.net>
19432
19433 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
19434 output for configurations with gcc 2.95.3.
19435
cbf1e085
AC
194362003-02-05 Keith Seitz <keiths@redhat.com>
19437 Andrew Cagney <ac131313@redhat.com>
19438
19439 * gdb.mi/mi-cli.exp: New file.
d63a86f8 19440
29518e1e
MC
194412003-02-04 Michael Chastain <mec@shout.net>
19442
19443 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
19444 Call perror and then continue.
19445
5af1d5f3
MC
194462003-02-03 Michael Chastain <mec@shout.net>
19447
19448 * gdb.c++/pr-1023.cc: New file.
19449 * gdb.c++/pr-1023.exp: New file.
19450
6b549786
JB
194512003-02-05 Jim Blandy <jimb@redhat.com>
19452
19453 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
19454 it's local to foobar. Check for it there, and check that it's not
19455 present in main.
19456 * gdb.c++/local.cc (marker2): New function.
19457 (foobar): Call marker1.
19458 (main): Call marker2 instead of marker1.
19459
67f16606
AC
194602003-02-04 Andrew Cagney <ac131313@redhat.com>
19461
19462 * gdb.disasm/mn10200.exp: Obsolete file.
19463 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
19464 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
19465 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
19466
1c5cb38e
DC
194672003-02-04 David Carlton <carlton@math.stanford.edu>
19468
19469 * gdb.c++/overload.exp: Test intToChar(1).
19470 * gdb.c++/overload.cc (intToChar): New.
19471 (main): Call intToChar.
19472
d1fe6965
DC
194732003-02-03 David Carlton <carlton@math.stanford.edu>
19474
19475 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
19476 'might_kfail' arg.
19477 KFAIL some of the continue_to_bp_overloaded calls, according to
19478 PR c++/1025.
19479
9ba61c5d
MC
194802003-02-01 Michael Chastain <mec@shout.net>
19481
19482 * gdb.base/advance.c (marker1): New marker function.
19483 * gdb.base/advance.exp: When the 'advance' command lands on the
19484 return breakpoint, it can legitimately stop on either the
19485 current line or the next line. Accommodate both outcomes.
19486 * gdb.base/until.exp: Likewise.
19487
e7494ffb
AC
194882003-02-02 Andrew Cagney <ac131313@redhat.com>
19489
19490 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19491 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
19492 now a list, not a tuple.
19493 * gdb.mi/mi-var-display.exp: Ditto.
19494 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 19495
075559bc
AC
194962003-02-01 Andrew Cagney <ac131313@redhat.com>
19497
19498 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19499 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
19500 stack backtraces.
19501 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 19502
2bd4c7b1
MK
195032003-02-01 Mark Kettenis <kettenis@gnu.org>
19504
19505 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19506 gdb.mi/mi1-pthreads.exp: Return instead of calling
19507 gdb_suppress_entire_file.
19508
eabd8992
MS
195092003-02-01 Mark Salter <msalter@redhat.com>
19510
19511 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
19512
71469e2f
MS
195132003-01-31 Mark Salter <msalter@redhat.com>
19514
19515 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
19516 Support empty arg.
19517
38a94d44
MC
195182003-01-30 Michael Chastain <mec@shout.net>
19519
19520 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
19521 This was a workaround for a UTF-8 bug in readline 4.3. The bug
19522 has been fixed in gdb/readline on 2003-01-09.
19523
19ea9e73
MS
195242003-01-29 Michael Snyder <msnyder@redhat.com>
19525
e8d359df
MS
19526 * gdb.base/maint.exp: Allow for leading underscore in symbol.
19527 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
19528 * gdb.base/args.exp: Skip if target does not support args passing.
19529
2307bd6a
DJ
195302003-01-22 Daniel Jacobowitz <drow@mvista.com>
19531
19ea9e73 19532 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
19533 gdb_test. Accept a list of expect arguments as the third
19534 parameter.
19535 (gdb_test): Use it.
19536
f2dd3617
EZ
195372003-01-20 Elena Zannoni <ezannoni@redhat.com>
19538
19539 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
19540 allow for different test tree configurations. Update some
19541 tescases accordingly.
19542 * gdb.arch/altivec-regs.exp: Ditto.
19543 * gdb.asm/asm-source.exp: Ditto.
19544 * gdb.base/advance.exp: Ditto.
19545 * gdb.base/display.exp: Ditto.
d63a86f8 19546 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
19547 * gdb.base/mips_pro.exp: Ditto.
19548 * gdb.base/overlays.exp: Ditto.
19549 * gdb.base/relocate.exp: Ditto.
19550 * gdb.base/setshow.exp: Ditto.
19551 * gdb.base/step-line.exp: Ditto.
19552 * gdb.base/step-test.exp: Ditto.
19553 * gdb.base/until.exp: Ditto.
19554 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
19555
c71cdefd
DC
195562003-01-17 David Carlton <carlton@math.stanford.edu>
19557
19558 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
19559 corresponding to PR c++/945.
19560 Update copyright.
19561
fdba05d7
DC
195622003-01-17 David Carlton <carlton@math.stanford.edu>
19563
19564 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
19565 corresponding to PR c++/68.
19566
195672003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
19568
19569 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
19570 (test_paddr_hairy_functions): Call print_addr_2_kfail for
19571 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
19572
c362c33a
EZ
195732003-01-15 Elena Zannoni <ezannoni@redhat.com>
19574
0fbc361c
EZ
19575 * gdb.base/break.exp: Fix change of default location, because of
19576 removal of until tests.
19577 * gdb.base/help.exp: Update test for new 'until' help message.
19578 Add test for help on 'advance'.
a9c64011 19579 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 19580
dabf8a35
MK
195812003-01-15 Mark Kettenis <kettenis@gnu.org>
19582
19583 * gdb.base/default.exp: Adapt "info float" test for recent changes
19584 to that command. Add test for "info vector".
19585 * gdb.base/float.exp: New file. Add test for "info float" that
19586 resembles the old test in gdb.base/default.exp.
19587
a1769aca
DC
195882003-01-15 David Carlton <carlton@math.stanford.edu>
19589
19590 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
19591
82025e13
EZ
195922003-01-15 Elena Zannoni <ezannoni@redhat.com>
19593
19594 * gdb.base/break.exp: Move the tests of until command from here...
19595 * gdb.base/until.exp: ... to here. New file. Add other tests.
19596 * gdb.base/advance.c: New file.
19597 * gdb.base/advance.exp: New file.
19598
8f9ab801
EZ
195992003-01-14 Elena Zannoni <ezannoni@redhat.com>
19600
a9c64011
AS
19601 * gdb.base/args.c: New file.
19602 * gdb.base/args.exp: New file.
8f9ab801 19603
9ae66589
DJ
196042003-01-14 Daniel Jacobowitz <drow@mvista.com>
19605
19606 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
19607
8d77e5c3
DJ
196082003-01-14 Daniel Jacobowitz <drow@mvista.com>
19609
19610 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
19611
12d2f0a1
DJ
196122003-01-14 Daniel Jacobowitz <drow@mvista.com>
19613
19614 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
19615 dates.
19616
6ca37014
DJ
196172003-01-13 Daniel Jacobowitz <drow@mvista.com>
19618
19619 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
19620
b0023472
DJ
196212003-01-13 Daniel Jacobowitz <drow@mvista.com>
19622
19623 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
19624 (ptype &*"foo").
19625 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
19626
607fbc54 196272003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
19628
19629 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
19630 * gdb.mi/mi1-console.exp: Likewise.
19631
607fbc54 196322003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
19633
19634 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
19635 * gdb.mi/mi1-console.exp: Likewise.
19636
a1fb14a2
DJ
196372003-01-13 Daniel Jacobowitz <drow@mvista.com>
19638
19639 * gdb.c++/overload.exp: Remove some fixed XFAILs.
19640
c4cf40b7
DJ
196412003-01-09 Daniel Jacobowitz <drow@mvista.com>
19642
19643 * gdb.base/detach.exp: New test.
19644
696d5a5b
DJ
196452003-01-09 Daniel Jacobowitz <drow@mvista.com>
19646
19647 * Makefile.in (ALL_SUBDIRS): New variable.
19648 (subdirs, clean, distclean): Use it.
19649 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
19650 regenerating Makefile, since it is generated from the top level.
19651 * gdb.asm/Makefile.in: Likewise.
19652 * gdb.base/Makefile.in: Likewise.
19653 * gdb.c++/Makefile.in: Likewise.
19654 * gdb.disasm/Makefile.in: Likewise.
19655 * gdb.java/Makefile.in: Likewise.
19656 * gdb.mi/Makefile.in: Likewise.
19657 * gdb.threads/Makefile.in: Likewise.
19658 * gdb.trace/Makefile.in: Likewise.
19659
754533e4
DC
196602003-01-09 David Carlton <carlton@math.stanford.edu>
19661
19662 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
19663 Add copyright year 2003.
19664
d8b3e9ee
MC
196652003-01-06 Michael Chastain <mec@shout.net>
19666
19667 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
19668 When selecting a thread, 'line' and 'file' are optional.
19669 * gdb.mi/mi1-pthreads.exp: Likewise.
19670
8e9e0fe6
AS
196712003-01-06 Andreas Schwab <schwab@suse.de>
19672
19673 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
19674 failures.
19675
b5ab8ff3
DJ
196762003-01-04 Daniel Jacobowitz <drow@mvista.com>
19677
19678 Fix PR gdb/844
19679 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
19680 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
19681
19682 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
19683 instead of calling gdb_suppress_entire_file.
19684 * gdb.threads/print-threads.exp: Likewise.
19685 * gdb.threads/schedlock.exp: Likewise.
19686
19687 * gdb.threads/killed.exp: Return instead of calling
19688 gdb_suppress_entire_file.
19689 * gdb.threads/linux-dp.exp: Likewise.
19690 * gdb.threads/pthreads.exp: Likewise.
19691
1e698235
DJ
196922003-01-04 Daniel Jacobowitz <drow@mvista.com>
19693
19694 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
19695 stabs.
19696 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
19697 * gdb.base/whatis.exp: Always allow (void) after function names.
19698
147ff08c
DJ
196992003-01-04 Daniel Jacobowitz <drow@mvista.com>
19700
19701 * gdb.c++/casts.exp: Correct regexp.
19702
dc62bfc2
MK
197032003-01-04 Mark Kettenis <kettenis@gnu.org>
19704
19705 * configure.in: Call AC_CONFIG_HEADER. Don't call
19706 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
19707 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
19708 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
19709 aforementioned directories in the AC_OUPUT call.
19710 * config.hin: New file.
19711 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19712 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
19713 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
19714 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
19715 pass -I$objdir instead of -I$objdir/$subdir in compilation.
19716 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
19717 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
19718 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
19719 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
19720 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
19721 gdb.threads/configure.in, gdb.threads/configure,
19722 gdb.threads/config.in, gdb.trace/configure.in,
19723 gdb.trace/configure: Removed.
19724
77afa639
MC
197252003-01-03 Michael Chastain <mec@shout.net>
19726
19727 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
19728 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
19729
7634bb6e
DJ
197302003-01-03 Daniel Jacobowitz <drow@mvista.com>
19731
19732 * gdb.base/store.exp: Fix regular expressions.
19733
b39c905e
MK
197342002-12-28 Mark Kettenis <kettenis@gnu.org>
19735
19736 * configure.in: Rewrite.
19737 * configure: Regenerated.
19738
0a8551dd
DC
197392003-01-03 David Carlton <carlton@math.stanford.edu>
19740
19741 * gdb.base/psymtab.exp: New file.
19742 * gdb.base/psymtab1.c: Ditto.
19743 * gdb.base/psymtab2.c: Ditto.
19744
c60b7188
AF
197452002-12-23 Adam Fedor <fedor@gnu.org>
19746
19747 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
19748
ee73db83
DC
197492002-12-23 David Carlton <carlton@math.stanford.edu>
19750
19751 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
19752 and current_directory initialization.
19753
d6c1774e
JB
197542002-12-22 Jim Blandy <jimb@redhat.com>
19755
f0a847b8
JB
19756 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
19757 rather than as part of the output file name.
19758
d6c1774e
JB
19759 * gdb.base/attach.exp: There's no need to copy the test program to
19760 /tmp; that was only ever necessary on HP/UX, and this test is
19761 entirely disabled there anyway.
19762
f0708dbb
JB
197632002-12-21 Jim Blandy <jimb@redhat.com>
19764
4c2acfea
JB
19765 * gdb.c++/psmang.exp: Doc fix.
19766
f0708dbb
JB
19767 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
19768 test.
19769
9579e000
DC
197702002-12-20 David Carlton <carlton@math.stanford.edu>
19771
19772 * gdb.c++/annota2.exp: KFAIL annotate-quit.
19773
d1810171
MC
197742002-12-18 Michael Chastain <mec@shout.net>
19775
19776 * gdb.c++/annota2.exp: Add copyright year 2002.
19777
76565097
DC
197782002-12-17 David Carlton <carlton@math.stanford.edu>
19779
19780 * gdb.c++/try_catch.cc: Add marker comments.
19781 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
19782 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
19783 * gdb.c++/m-static.cc: Ditto.
19784 * gdb.c++/m-static1.cc: Ditto.
19785 * gdb.c++/try_catch.cc: Ditto.
19786
da81390b
JJ
197872002-12-16 Jeff Johnston <jjohnstn@redhat.com>
19788
19789 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
19790 to see whether we are using the new -environment-directory
19791 command which resets via -r or the old version of the command
19792 which may prompt the user. Part of fix for gdb/741.
19793
b304d130
AC
197942002-12-13 Andrew Cagney <ac131313@redhat.com>
19795
19796 * gdb.fortran/types.exp: Update obsolete comment.
19797 * gdb.fortran/exprs.exp: Ditto.
19798 * lib/gdb.exp: Delete obsolete code.
19799 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
19800 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
19801 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
19802 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
19803 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
19804 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
19805 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
19806 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
19807 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
19808 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
19809 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
19810 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
19811 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
19812 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
19813 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
19814 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
19815 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
19816 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
19817 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
19818 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
19819 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
19820 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
19821 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
19822 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
19823 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
19824 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
19825 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
19826 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
19827 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
19828 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
19829 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
19830 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
19831 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
19832 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
19833 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
19834 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
19835 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
19836
a23b6e6a
DC
198372002-12-11 David Carlton <carlton@math.stanford.edu>
19838
19839 * gdb.c++/m-data.exp: Add test for members that shadow global
19840 variables: see PR gdb/804.
19841 * gdb.c++/m-data.cc: Ditto.
19842
6604731b
DJ
198432002-12-10 Daniel Jacobowitz <drow@mvista.com>
19844
19845 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
19846
de46ecd7
DC
198472002-12-06 David Carlton <carlton@math.stanford.edu>
19848
19849 * gdb.base/store.c: Don't declare functions static.
19850
27e829d0
AC
198512002-12-04 Andrew Cagney <ac131313@redhat.com>
19852
19853 * gdb.base/store.exp, gdb.base/store.c: New files.
19854
92806416
DJ
198552002-12-03 Daniel Jacobowitz <drow@mvista.com>
19856
19857 * gdb.base/selftest.exp: Update for current gdb.
19858
3bcbaac5
DJ
198592002-12-03 Daniel Jacobowitz <drow@mvista.com>
19860
19861 * gdb.base/maint.exp: Only dump symbols from one source file
19862 or objfile.
19863
f4f00b1f
DJ
198642002-12-03 Daniel Jacobowitz <drow@mvista.com>
19865
19866 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
19867 function call.
19868
f1c8a949
JB
198692002-11-25 Jim Blandy <jimb@redhat.com>
19870
19871 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
19872 function appearing in error message.
19873
9e297a97
DJ
198742002-11-21 Daniel Jacobowitz <drow@mvista.com>
19875
19876 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
19877
1f312e79
JJ
198782002-11-08 Jeff Johnston <jjohnstn@redhat.com>
19879
d63a86f8
RM
19880 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
19881 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
19882 should be in mi console format. This is part of fix for PR gdb/604.
19883
83c31e7d
FN
198842002-09-18 Fernando Nasser <fnasser@redhat.com>
19885
19886 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
19887 which explicitly prints the zero offset as "+0".
19888
322b3f65
DJ
198892002-10-22 Daniel Jacobowitz <drow@mvista.com>
19890
19891 * gdb.threads/schedlock.c (args): Make unsigned.
19892
198932002-10-21 Daniel Jacobowitz <drow@mvista.com>
19894
19895 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
19896 numbers. Allow "foo2|selected stack frame".
19897 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
19898 * gdb.asm/asmsrc2.s: Likewise.
19899 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
19900 comments.
19901 * gdb.asm/mips.inc: New file.
19902
5e2fe5b8
AF
199032002-10-18 Adam Fedor <fedor@gnu.org>
19904
19905 * gdb.base/default.exp: Update expected output to include 'ObjC'.
19906 * gdb.base/help.exp: Likewise.
19907
abe1a5d0
KB
199082002-10-17 Kevin Buettner <kevinb@redhat.com>
19909
19910 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
19911 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
19912
10abb1d4
JB
199132002-10-02 Jim Blandy <jimb@redhat.com>
19914
19915 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
19916
1f609b42
AC
199172002-10-01 Andrew Cagney <ac131313@redhat.com>
19918
19919 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
19920 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
19921 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
19922 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
19923 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
19924 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
19925 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
19926
0aee02e4
AC
199272002-09-29 Andrew Cagney <ac131313@redhat.com>
19928
19929 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
19930 * mi0-disassemble.exp, mi0-eval.exp: Delete.
19931 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
19932 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
19933 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
19934 * mi0-var-block.exp, mi0-var-child.exp: Delete.
19935 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 19936
6fde09ad
KB
199372002-09-27 Kevin Buettner <kevinb@redhat.com>
19938
19939 * gdb.base/annota1.exp (info break): Make directory components of
19940 path optional since not all compilers emit this debug information.
19941
889bf7c5
PA
19942 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
19943 step ends up stepping out of the function instead of stopping on
19944 the epilogue.
6fde09ad 19945
9e8aab75
KS
199462002-09-26 Keith Seitz <keiths@redhat.com>
19947
19948 * lib/insight-support.exp (gdbtk_start): Figure out where
19949 the insight executable is based on where gdb is. Use this
19950 executable to start insight instead of gdb.
19951
e36180d7
AC
199522002-09-25 Andrew Cagney <cagney@redhat.com>
19953
19954 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
19955
9dd34b2b
AC
199562002-09-24 Andrew Cagney <ac131313@redhat.com>
19957
19958 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
19959 test_isolated_complaints.
19960 (test_empty_complaint): New function.
19961 (test_empty_complaints): New function. Check no output when no
19962 complaints.
d63a86f8 19963
dea97812
KB
199642002-09-19 Jim Blandy <jimb@redhat.com>
19965
a9c64011 19966 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 19967
54951bd7
AC
199682002-09-19 Andrew Cagney <ac131313@redhat.com>
19969
19970 * gdb.gdb/complaints.exp: New file.
19971
dec43320
AC
199722002-09-18 Andrew Cagney <ac131313@redhat.com>
19973
19974 * gdb.base/maint.exp: Check `help maint internal-warning'.
19975
e70d6e3f
DC
199762002-09-18 David Carlton <carlton@math.stanford.edu>
19977
19978 * gdb.c++/m-static.exp: Remove breakpoints depending on line
19979 numbers, and replace them by a single breakpoint after the
19980 constructors are all finished.
19981 Add test 4.
19982 * gdb.c++/m-static.cc: Add test 4.
19983 * gdb.c++/m-static.h: New file.
19984 * gdb.c++/m-static1.cc: New file.
19985
19986 * gdb.c++/printmethod.exp: New file.
19987 * gdb.c++/printmethod.cc: New file.
19988
19989 * gdb.c++/pr-574.exp: New file.
19990 * gdb.c++/pr-574.cc: New file.
19991
afb5c968
CV
199922002-09-18 Corinna Vinschen <vinschen@redhat.com>
19993
19994 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
19995 embedded targets which never actually exit.
19996
31e45dee
FN
199972002-09-18 Fernando Nasser <fnasser@redhat.com>
19998
19999 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
20000 "don't step after run" as unresolved or unsupported, instead of xfail.
20001
a283c5a1
CV
200022002-09-18 Corinna Vinschen <vinschen@redhat.com>
20003
20004 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
20005 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
20006 Add newline to expected string in "step out of main (status wrapper)"
20007 case.
20008
11350d2a
CV
200092002-09-18 Corinna Vinschen <vinschen@redhat.com>
20010
20011 * lib/gdb.exp (rerun_to_main): Allow restarting application.
20012 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
20013
0deec7d6
TT
200142002-09-17 Tom Tromey <tromey@redhat.com>
20015
20016 * gdb.base/printcmds.exp (test_print_string_constants): Expect
20017 \000, not \0, in double-quoted string.
20018
b2b4a1b5
CV
200192002-09-14 Corinna Vinschen <vinschen@redhat.com>
20020
c9d37158 20021 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
20022 string after running the commands execution on breakpoint tests.
20023
1c56143a
CV
200242002-09-13 Corinna Vinschen <vinschen@redhat.com>
20025
20026 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
20027
37f8da45
JB
200282002-09-12 Joel Brobecker <brobecker@gnat.com>
20029
20030 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
20031
08b468e0
KS
200322002-09-10 Keith Seitz <keiths@redhat.com>
20033
20034 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
20035 runto proc.
20036 (mi_run_to_main): Use mi_runto.
20037 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
20038
dc360f58
KS
200392002-09-10 Keith Seitz <keiths@redhat.com>
20040
20041 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
20042 regexp for stopping at main. Could have multiple event notifications.
20043 Don't assume that main was declared with no parameters.
20044 (mi_next): Use mi_step_to.
20045 (mi_step): Use mi_next_to.
20046
ce3abcfb
CV
200472002-09-09 Corinna Vinschen <vinschen@redhat.com>
20048
20049 * gdb.base/default.exp: Fix expected string in `info float' test.
20050
d1f5b980
BE
200512002-09-09 Ben Elliston <bje@redhat.com>
20052
20053 * config/mips.exp: Update comments.
20054 * config/mips-idt.exp: Likewise.
20055 * config/nind.exp: Likewise.
20056 * config/slite.exp: Likewise.
20057 * config/sparclet.exp: Likewise.
20058 * config/udi.exp: Likewise.
20059 * config/vx.exp: Likewise.
20060 * config/vxworks29k.exp: Likewise.
20061
2f71430b
JB
200622002-09-05 Jim Blandy <jimb@redhat.com>
20063
20064 * gdb.threads/killed.exp: Fix test failure message.
20065
7ddebc7e
KS
200662002-09-04 Keith Seitz <keiths@redhat.com>
20067
20068 * lib/mi-support.exp: Update copyright.
20069 (mi_gdb_test): Increase the priority of the expected pattern
20070 so that it matches gdb_test.
20071
0ae67eb3
KS
200722002-09-03 Keith Seitz <keiths@redhat.com>
20073
20074 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
20075 Use integer comparison instead of string comparison for testing
20076 whether binary was built.
20077
38fc42c8
JB
200782002-09-03 Jim Blandy <jimb@redhat.com>
20079
20080 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
20081
b6ff0e81
JB
200822002-08-29 Jim Blandy <jimb@redhat.com>
20083
20084 * gdb.threads/pthreads.exp: Move the portable thread compilation
20085 code into a function in lib/gdb.exp, and call that from here.
20086 * lib/gdb.exp (gdb_compile_pthreads): New function.
20087
07c98896
KS
200882002-08-29 Keith Seitz <keiths@redhat.com>
20089
20090 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
20091 expect_out so that callers can get at it.
20092
0312286c
DJ
200932002-08-23 Daniel Jacobowitz <drow@mvista.com>
20094
20095 * gdb.threads/print-threads.c: New file.
20096 * gdb.threads/print-threads.exp: New file.
20097 * gdb.threads/schedlock.c: New file.
20098 * gdb.threads/schedlock.exp: New file.
20099
dd039bc4
EZ
201002002-08-22 Elena Zannoni <ezannoni@redhat.com>
20101
a9c64011
AS
20102 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
20103 not altivec.c.
dd039bc4 20104
1f36144c
MK
201052002-08-17 Mark Kettenis <kettenis@gnu.org>
20106
20107 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
20108 targets. The problem should be fixed now.
20109
16057ec7 201102002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
20111
20112 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
20113 2002-07-24 change that removes final dots from error messages.
20114
3c1499ad
TT
201152002-08-13 Tom Tromey <tromey@redhat.com>
20116
20117 * gdb.base/readline.exp: New file.
20118
a20ce2c3
AC
201192002-08-01 Andrew Cagney <ac131313@redhat.com>
20120
20121 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
20122 supress message.
20123
db034ac5
AC
201242002-08-01 Andrew Cagney <cagney@redhat.com>
20125
20126 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
20127 CHILL_FOR_TARGET and CHILL_LIB.
20128 * configure.in (configdirs): Remove gdb.chill.
20129 * configure: Regenerate.
20130 * lib/gdb.exp: Obsolete references to chill.
20131 * gdb.fortran/types.exp: Ditto.
20132 * gdb.fortran/exprs.exp: Ditto.
20133
3e000b18
KB
201342002-07-30 Kevin Buettner <kevinb@redhat.com>
20135
20136 * gdb.base/shlib-call.exp (additional_flags): Conditionally
20137 set Irix-specific compile and link flags.
20138
28f4966b
KB
201392002-07-29 Kevin Buettner <kevinb@redhat.com>
20140
20141 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
20142 source files. The ``-o'' option doesn't work with the ``-E'' option
20143 when using the Irix compiler.
20144
46c0d5a6
DJ
201452002-07-19 Daniel Jacobowitz <drow@mvista.com>
20146
20147 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
20148 Improve support for reusing an exec file. Copy exec file
20149 to target, and run gdbserver on the target instead of on the host.
20150
eecf4bed
JB
201512002-07-18 Jim Blandy <jimb@redhat.com>
20152
0f815cdf
JB
20153 * gdb.base/ending-run.exp: Don't expect to see the program end in
20154 some orderly fashion when we're running on a real stand-alone
20155 board.
20156
eecf4bed
JB
20157 * gdb.base/interrupt.exp: Correct logic for skipping tests on
20158 targets that don't support interrupts.
20159
52d309e4
JB
201602002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
20161
20162 * gdb.base/attach.exp: Add patterns to match output from /proc-based
20163 systems.
20164 Move comments in expect statements to inside the actions, so that they
20165 don't get matched against.
20166
ff683d9e
MK
201672002-07-10 Mark Kettenis <kettenis@gnu.org>
20168
20169 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
20170 function when asleep" test.
20171
b5356753
AC
201722002-07-10 Andrew Cagney <ac131313@redhat.com>
20173
20174 * gdb.base/page.exp: Rewrite to handle problems with very long
20175 `info set' output. Update copyright.
20176
6aa4d13a
AC
201772002-06-26 Andrew Cagney <ac131313@redhat.com>
20178
20179 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
20180 gdb.threads-hp.
20181 * gdb.hp/configure: Regenerate.
20182 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
20183 * gdb.hp/gdb.threads-hp/configure: Delete file.
20184 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
20185
8cf8c2b8
AC
201862002-06-22 Andrew Cagney <ac131313@redhat.com>
20187
20188 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
20189 setlocale, bindtextdomain and textdomain.
20190
6827a8f8
JB
201912002-06-11 Jim Blandy <jimb@redhat.com>
20192
919d772c
JB
20193 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
20194 preprocessor macro information is present.
20195
6827a8f8
JB
20196 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
20197 tests.
20198
c15b0d21
MS
201992002-06-06 Michael Snyder <msnyder@redhat.com>
20200
c5984d70
MS
20201 * gdb.base/overlays.exp: Record addresses of overlay
20202 functions in TCL variables rather than in GDB variables,
20203 to avoid having GDB convert them to pointers (with loss
20204 of information).
20205
d63a86f8 20206 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 20207 default linker script changes.
c15b0d21
MS
20208 * gdb.base/long_long.exp: Add check for sizeof (long double).
20209
be26fe0d
ML
202102002-06-06 Michal Ludvig <mludvig@suse.cz>
20211
20212 * gdb.asm/asm-source.exp: Add x86-64 target.
20213 * gdb.asm/x86_64.inc: New.
d63a86f8 20214
258093ca 202152002-05-30 Michael Chastain <mec@shout.net>
258093ca 20216
4b3153f1 20217 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
20218 * gdb.c++/m-static.cc: New file.
20219 * gdb.c++/m-static.exp: New file.
20220
241264c6
MS
202212002-05-28 Michael Snyder <msnyder@redhat.com>
20222
20223 * gdb.base/call-ar-st.exp: Allow for reduced floating point
20224 precision.
20225
9bba8c8f 202262002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 20227
4b3153f1 20228 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
20229 * gdb.c++/m-data.cc: New file.
20230 * gdb.c++/m-data.exp: New file.
20231
202322002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 20233
4b3153f1 20234 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 20235 * gdb.c++/try_catch.cc: New file.
d63a86f8 20236 * gdb.c++/try_catch.exp: New file.
9bba8c8f 20237
def1b996
MC
202382002-05-27 Michael Chastain <mec@shout.net>
20239
20240 * gdb.c++/local.exp: Accept more nested types in output.
20241
522ba268
MC
202422002-05-26 Michael Chastain <mec@shout.net>
20243
20244 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
20245
277254ba
MS
202462002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
20247
20248 * lib/gdb.exp (gdb_wrapper_init): Just because
20249 gdb_wrapper_file exists, this does not mean that the file
20250 should not be rebuilt. That is what gdb_wrapper_initialized
20251 is for.
20252 (default_gdb_init): Reset gdb_wrapper_initialized.
20253
b61a8733
MS
202542002-05-23 Michael Snyder <msnyder@redhat.com>
20255
d63a86f8 20256 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
20257 the precision of the floating point test results.
20258 * gdb.base/call-rt-st.exp: Ditto.
20259
b61a8733
MS
20260 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
20261 * gdb.base/call-rt-st.exp: Ditto.
20262
56f6e910
MC
202632002-05-19 Michael Chastain <mec@shout.net>
20264
20265 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
20266
ad0b0016
EZ
202672002-05-19 Elena Zannoni <ezannoni@redhat.com>
20268
a9c64011
AS
20269 * configure.in (configdirs): Add gdb.arch.
20270 * configure: Regenerate.
ad0b0016 20271
f617d2b6
JB
202722002-05-17 Jim Blandy <jimb@redhat.com>
20273
20274 * gdb.base/completion.exp: Recognize the more detailed error
20275 messages produced by the macro expander's lexical analyzer.
20276
eac2a696
EZ
202772002-05-14 Elena Zannoni <ezannoni@redhat.com>
20278
a9c64011
AS
20279 * gdb.arch/altivec-abi.c: New file.
20280 * gdb.arch/altivec-abi.exp: New file.
20281 * gdb.arch/altivec-regs.c: New file.
20282 * gdb.arch/altivec-regs.exp: New file.
eac2a696 20283
2fdde8f8
DJ
202842002-05-14 Daniel Jacobowitz <drow@mvista.com>
20285
20286 * gdb.base/maint.exp (maint print type): Update for new type
20287 structure.
d63a86f8 20288
e31f1a7c
EZ
202892002-05-14 Elena Zannoni <ezannoni@redhat.com>
20290
20291 * gdb.arch: New directory.
20292 * gdb.arch/configure.in: New file.
20293 * gdb.arch/configure: New file.
20294 * gdb.arch/Makefile.in: New file.
20295
db589741
CV
202962002-05-13 Corinna Vinschen <vinschen@redhat.com>
20297
20298 * gdb.asm/asm-source.exp: Add v850 as supported target.
20299 * gdb.asm/v850.inc: New file.
20300
8ce2a7dc
DJ
203012002-05-13 Daniel Jacobowitz <drow@mvista.com>
20302
20303 * gdb.c++/annota2.exp (annotate-quit): Add comment.
20304
df763c7f
DJ
203052002-05-12 Daniel Jacobowitz <drow@mvista.com>
20306
20307 * gdb.base/break.exp: Check 'break "marker2"'.
20308
377daeed
MS
203092002-05-10 Michael Snyder <msnyder@redhat.com>
20310
20311 * gdb.base/long_long.exp: Fix typo.
20312
c4b7bc2b
JB
203132002-05-10 Jim Blandy <jimb@redhat.com>
20314
ecac9a4e
JB
20315 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
20316 a bug.
20317
c4b7bc2b
JB
20318 * gdb.base/printcmds.exp (test_integer_literals_rejected):
20319 Recognize more detailed error message produced by the macro
20320 expander's lexical analyzer.
20321 * lib/gdb.exp (test_print_reject): Same.
20322
e71019a1
MK
203232002-05-09 Mark Kettenis <kettenis@gnu.org>
20324
20325 * gdb.c++/method.exp: Fix typo.
20326
fedfc8e6
MS
203272002-05-08 Michael Snyder <msnyder@redhat.com>
20328
166a1957
MS
20329 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
20330 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 20331 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
20332 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
20333 Add iftarget clause for strongarm.
d63a86f8 20334
f1c47eb2
MS
203352002-05-06 Michael Snyder <msnyder@redhat.com>
20336
cb9a9d3e
MS
20337 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
20338 (gdb_continue_to_end): Accept output from status wrapper.
20339 * gdb.base/ending-run.exp: Add case for output from status wrapper.
20340 Clean up fail messages to match pass messages.
20341
f1c47eb2
MS
20342 Enable the "needs_status_wrapper" testsuite feature.
20343 * lib/gdb.exp (gdb_wrapper_init): New procedure.
20344 (gdb_compile): Conditionally call gdb_wrapper_init.
20345 * gdb.base/a2-run.exp: Recognize output from status wrapper.
20346 * gdb.c++/method.exp: Recognize output from status wrapper.
20347
6079c749
BE
203482002-05-06 Ben Elliston <bje@redhat.com>
20349From Graydon Hoare <graydon@redhat.com>
20350
20351 * config/sid.exp: Include support for "rawsid" protocol.
20352
188baff3
JB
203532002-05-03 Jim Blandy <jimb@redhat.com>
20354
20355 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
20356 * gdb.c++/hang3.C: New file.
20357
b9c07f0f
AC
203582002-05-04 Andrew Cagney <ac131313@redhat.com>
20359
20360 * gdb.base/default.exp: Remove obsolete code.
20361 * gdb.c++/misc.exp: Ditto. Update copyright.
20362 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
20363 * gdb.base/whatis.exp: Ditto. Update copyright.
20364 * gdb.base/scope.exp: Ditto. Update copyright.
20365 * gdb.base/ptype.exp: Ditto. Update copyright.
20366 * gdb.base/printcmds.exp: Ditto. Update copyright.
20367 * gdb.base/opaque.exp: Ditto. Update copyright.
20368 * gdb.base/list.exp: Ditto.
20369 * gdb.base/funcargs.exp: Ditto. Update copyright.
20370 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
20371 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
20372 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
20373 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
20374 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
20375 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
20376
5c7a0397
MS
203772002-05-02 Michael Snyder <msnyder@redhat.com>
20378
d6dcc264 20379 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
20380 * gdb.base/long_long.exp: Add xscale target.
20381 * gdb.base/default.exp: Add xscale target.
20382
eb7f1c48
JB
203832002-05-01 Jim Blandy <jimb@redhat.com>
20384
20385 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
20386 gdb.c++/hang.exp: New test.
20387
a6befae8
FF
203882002-05-01 Fred Fish <fnf@redhat.com>
20389
20390 * gdb.base/completion.exp: Handle completions of "./Make" for
20391 more than one completion possibility, as is the case when we
20392 build and test in the source tree.
20393
0a310277
AG
203942002-04-29 Anthony Green <green@redhat.com>
20395
20396 * gdb.java/jmisc1.exp: New file.
20397 * gdb.java/jmisc2.exp: New file.
20398
6ff9af88
DJ
203992002-04-24 Daniel Jacobowitz <drow@mvista.com>
20400
20401 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
20402
96b3d632
EZ
204032002-04-23 Elena Zannoni <ezannoni@redhat.com>
20404
20405 * gdb.base/help.exp: Change 'help status' to allow for target
20406 dependent output differences.
20407
5019bb54
MC
204082002-04-22 Michael Chastain <mec@shout.net>
20409
20410 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
20411
a805a116
MC
204122002-04-22 Michael Chastain <mec@shout.net>
20413
20414 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
20415
a1706bfd
DM
204162002-04-17 David S. Miller <davem@redhat.com>
20417
20418 * gdb.asm/sparc64.inc: New file.
20419 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
20420
a73a20a2
EZ
204212002-04-19 Elena Zannoni <ezannoni@redhat.com>
20422
20423 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
20424 instruction file directly into the build tree. Clean up at end of
20425 test.
20426
ba678339
DM
204272002-04-18 David S. Miller <davem@redhat.com>
20428
20429 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
20430 handle 64-bit platforms correctly.
20431 * gdb.base/maint.exp: Likewise.
20432
b03399da
KB
204332002-04-18 Kevin Buettner <kevinb@redhat.com>
20434
20435 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
20436 ``-fpic'' when compiling files comprising a shared library, but
20437 it does need additional linker flags in order to find shared
20438 libraries at run time.
20439
e2004992
KB
204402002-04-18 Kevin Buettner <kevinb@redhat.com>
20441
20442 * gdb.base/cvexpr.c (use): New function.
20443 (main): Invoke use() on all global variables to prevent
20444 some linkers from deleting these otherwise unused symbols.
20445
d8937120
MC
204462002-04-17 Michael Chastain <mec@shout.net>
20447From David S. Miller <davem@redhat.com>
20448
20449 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
20450 handle 64-bit platforms correctly.
20451
ffd61a58
MS
204522002-04-12 Michael Snyder <msnyder@redhat.com>
20453From Jim Blandy <jimb@redhat.com>
a9c64011 20454 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
20455 script can handle this instead.
20456 * gdb.base/bar.c (barx): Same.
20457 * gdb.base/baz.c (bazx): Same.
20458 * gdb.base/grbx.c (grbxx): Same.
20459
20460 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
20461 manager doesn't automatically unmap overlays unnecessarily.
20462
6b8426a6
MH
204632002-04-10 Martin M. Hunt <hunt@redhat.com>
20464
20465 * gdb.base/ending-run.exp: Fix pattern for Mips targets
20466 stepping out of main.
20467
34af4875
MC
204682002-04-09 Michael Chastain <mec@shout.net>
20469
20470 * gdb.c++/local.cc (main): Move call to marker1() inside nested
20471 scope so that the nested scope tests will make sense.
20472 * gdb.c++/local.exp: Write patterns that actually work with gcc
20473 (the HP patterns "were never known to work with gcc").
20474 Keep the old aCC patterns too.
20475
2d1676a0
DJ
204762002-04-09 Daniel Jacobowitz <drow@mvista.com>
20477
20478 * gdb.base/attach.exp: Correct target board test.
20479
3a63e3f9
MC
204802002-04-08 Michael Chastain <mec@shout.net>
20481
20482 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
20483 in a const method. Add some xfail and fail cases for configurations
20484 that do not emit the "const ...".
20485
f18dabd2
MC
204862002-04-07 Michael Chastain <mec@shout.net>
20487
20488 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
20489 Accept "A * const" and "const A * const" as type of "this".
20490 Fix spelling of getFunky throughout. Make messages uniform.
20491
0fcddd82
EZ
204922002-04-07 Elena Zannoni <ezannoni@redhat.com>
20493
a9c64011 20494 Work around for PR gdb/285:
0fcddd82
EZ
20495 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
20496
16a8534a
EZ
204972002-04-07 Elena Zannoni <ezannoni@redhat.com>
20498
20499 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
20500 instructions file at run time instead of configure time.
20501 Sometimes we run the test in a directory that is not the one we
20502 configured in.
20503 * gdb.asm/configure.in: Delete creation of symlink.
20504 * gdb.asm/configure: Regenerate.
20505
24181d81
JB
205062002-04-05 J. Brobecker <brobecker@gnat.com>
20507
20508 * gdb.gdb/xfullpath.exp: New test, to exercise the new
20509 xfullpath () function.
20510
7cdb7107
DJ
205112002-04-04 Daniel Jacobowitz <drow@mvista.com>
20512
20513 * gdb.asm/Makefile.in: Correct dependencies.
20514
20515 * gdb.asm/powerpc.inc: New file.
20516 * gdb.asm/asm-source.exp: Add PowerPC.
20517 * gdb.asm/configure.in: Likewise.
20518 * gdb.asm/configure: Regenerated.
20519
a7d17088
DJ
205202002-04-04 Daniel Jacobowitz <drow@mvista.com>
20521
20522 * gdb.base/relocate.exp: New file.
20523 * gdb.base/relocate.c: New file.
20524
cd721503
FF
205252002-04-04 Fred Fish <fnf@redhat.com>
20526
20527 * gdb.base/step-test.exp: Update comment regarding stopping in
20528 memcpy/bcopy calls inserted as part of the compiler runtime.
20529
b22ad7a7
MS
205302002-04-04 Michael Snyder <msnyder@redhat.com>
20531
20532 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
20533
5f279fa6
DJ
205342002-04-03 Daniel Jacobowitz <drow@mvista.com>
20535
20536 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
20537 (gdb_expect): Remove $notransfer hack.
20538
dd0fd3ce
DJ
205392002-04-02 Daniel Jacobowitz <drow@mvista.com>
20540
20541 * gdb.c++/classes.exp ("calling method for small class"): Match
20542 updated register output.
20543
1e50cda1
DJ
205442002-03-30 Daniel Jacobowitz <drow@mvista.com>
20545
20546 Fix PR gdb/452
20547 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
20548 when finished. Make gdb_file_cmd send "exec-file" when
20549 appropriate.
20550
24015922
DJ
205512002-03-30 Daniel Jacobowitz <drow@mvista.com>
20552
20553 * gdb.base/attach.exp: Remove extra setup_xfail.
20554
dd7dfd64
MS
205552002-03-26 Michael Snyder <msnyder@redhat.com>
20556
20557 * gdb.base/default.exp: Add tests for dump, append, and restore.
20558 * gdb.base/help.exp: Add tests for dump, append, and restore.
20559 * gdb.base/dump.exp: New file, test dump, append and restore.
20560 * gdb.base/dump.c: New file.
20561
48b2f8d7
MS
205622002-03-27 Michael Snyder <msnyder@redhat.com>
20563
d63a86f8 20564 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
20565 clean-ups in help messages.
20566
05b4d525
FF
205672002-03-26 Fred Fish <fnf@redhat.com>
20568
20569 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
20570 have debugging info for those functions and the compiler uses them
20571 internally to copy structs around.
20572
d7679631
FF
205732002-03-26 Fred Fish <fnf@redhat.com>
20574
20575 * gdb.base/list.exp: Revert the change made yesterday and add note
20576 about why we don't list the default lines for remote targets.
20577
523ac3f9
MS
205782002-03-25 Michael Snyder <msnyder@redhat.com>
20579
20580 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
20581
754b2b8d
FF
205822002-03-25 Fred Fish <fnf@redhat.com>
20583
20584 * gdb.base/list.exp: This test works on remote targets so remove
20585 the short circuit for remote targets. Update copyright.
20586
33c3e192
FF
205872002-03-25 Fred Fish <fnf@redhat.com>
20588
20589 * gdb.base/attach.exp: Fix logic error that was suppressing this
20590 test for all non hppa*-*-hpux* targets, instead of the hp target.
20591 Move comments closer to the suppression point. Also now need to
20592 check that we are running natively.
20593
d43e73ee
MS
205942002-03-22 Michael Snyder <msnyder@redhat.com>
20595
882c8f02
MS
20596 * gdb.base/default.exp: Add test for gcore. Update copyright.
20597 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 20598
04c12f60
FF
205992002-03-06 Fred Fish <fnf@redhat.com>
20600
20601 * gdb.base/funcargs.c: Remove extraneous ';' character.
20602 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
20603
b43df995
MC
206042002-03-04 Michael Chastain <mec@shout.net>
20605
20606 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
20607 accommodate gcc v3 function signature.
20608 * gdb.mi/mi0-var-cmd-exp: Ditto.
20609
92362027
AC
206102002-02-24 Andrew Cagney <ac131313@redhat.com>
20611
20612 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
20613 ``GNU/Linux'' or ``Linux kernel''
20614 * testsuite/gdb.threads/pthreads.c: Ditto.
20615
258ad32d
MC
206162002-02-24 Michael Chastain <mec@shout.net>
20617
20618 * gdb.threads/pthreads.c (thread1): Add a return statement.
20619 (thread2): Likewise.
20620 (foo): Likewise.
20621
04c3b3d4
MC
206222002-02-23 Michael Chastain <mec@shout.net>
20623
20624 * gdb.threads/linux-dp.c (philosopher): Add a return statement
20625 to placate gcc.
20626
5a2a0a20
MC
206272002-02-23 Michael Chastain <mec@shout.net>
20628
20629 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
20630 test "ptype bint". The test passes on all my stabs configurations.
20631
a640f7fc
JB
206322002-02-21 Jim Blandy <jimb@redhat.com>
20633
27924826
JB
20634 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
20635 filename at a time, and watch for the ones we want to see.
20636
a640f7fc
JB
20637 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
20638 types of pointers to prototyped functions.
20639
edcc8c75
AC
206402002-02-20 Andrew Cagney <ac131313@redhat.com>
20641
20642 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
20643 signed, unsigned and straight char.
20644 (padding_char, padding_short, padding_int, padding_long,
20645 padding_long_long, padding_float, padding_double,
20646 padding_long_double): New global variables.
20647 (fill, fill_structs): New functions.
20648
20649 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
20650 for correctly sized writes. Update copyright.
20651 (get_valueof): New procedure.
20652 (get_sizeof): Call get_valueof.
20653 (check_valueof): New procedure.
20654 (check_padding): New procedure.
20655
ac57ea44
MC
206562002-02-20 Michael Chastain <mec@shout.net>
20657
20658 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
20659 to setup_xfail. Document some of the remaining calls.
20660
7a10c941
MC
206612002-02-18 Michael Chastain <mec@shout.net>
20662
20663 * gdb.c++/userdef.exp: Update copyright year.
20664
fb8acdcc
DJ
206652002-02-18 Daniel Jacobowitz <drow@mvista.com>
20666
20667 * gdb.c++/userdef.exp: Test overloaded operators properly.
20668 Remove xfails.
20669
fda6ae12
MS
206702002-02-14 Michael Snyder <msnyder@redhat.com>
20671
20672 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
20673
676a0442
DJ
206742002-02-14 Daniel Jacobowitz <drow@mvista.com>
20675
20676 * gdb.base/a2-run.exp: Check for a remote target properly.
20677 * gdb.base/annota1.exp: Likewise.
20678 * gdb.base/list.exp: Likewise.
20679 * gdb.base/reread.exp: Likewise.
20680 * gdb.base/scope.exp: Likewise.
20681 * gdb.base/shlib-call.exp: Likewise.
20682 * gdb.base/term.exp: Likewise.
20683 * gdb.c++/annota2.exp: Likewise.
20684
78b4f468
RE
206852002-02-13 Richard Earnshaw <rearnsha@arm.com>
20686
20687 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
20688
9a81ba51
MC
206892002-02-10 Michael Chastain <mec@shout.net>
20690
20691 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
20692 (call_after_alloca): Ditto.
20693
004af6c7
DJ
206942002-02-10 Daniel Jacobowitz <drow@mvista.com>
20695
20696 * gdb.base/ending-run.exp: Guard "cont" test with
20697 gdb_skip_stdio_test.
20698
37225f62
JB
206992002-02-06 Jim Blandy <jimb@redhat.com>
20700
20701 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
20702 from here...
20703 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
20704 To here. Disable this test on non-HP platforms. Add big comment.
20705
fe6fdd96
MS
207062002-02-04 Michael Snyder <msnyder@redhat.com>
20707
20708 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
20709 other than d10v and m32r.
20710
036fad3f
RE
207112002-02-02 Richard Earnshaw <rearnsha@arm.com>
20712
20713 * gdb.base/default.exp: Rewrite test patterns to reduce time
20714 taken to match them.
20715
7148ab62
DJ
207162002-01-30 Daniel Jacobowitz <drow@mvista.com>
20717
20718 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
20719 Allow a start function above main.
20720 * gdb.threads/linux-dp.exp: Fix copyright date.
20721
396cc255
DJ
207222002-01-30 Daniel Jacobowitz <drow@mvista.com>
20723
a9c64011
AS
20724 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
20725 (check_philosopher_stack): Check for manager thread before checking
20726 for a just-starting thread.
396cc255 20727
f038d31b
DJ
207282002-01-30 Daniel Jacobowitz <drow@mvista.com>
20729
20730 From Neil Booth <neil@daikokuya.demon.co.uk>:
20731 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
20732 warnings.
20733
b3ff9d9a
FF
207342002-01-21 Fred Fish <fnf@redhat.com>
20735
20736 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
20737 not caller.
20738
39ad761d
JB
207392002-01-21 Jim Blandy <jimb@redhat.com>
20740
20741 * gdb.base/reread.exp: Check that GDB properly re-reads the
20742 executable file when it changes while no inferior is running.
20743
aaf320fa
FF
207442002-01-21 Fred Fish <fnf@redhat.com>
20745
a9c64011
AS
20746 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
20747 optionally accept the "shlib events" variation.
aaf320fa 20748
808a31f5
JB
207492002-01-21 Jim Blandy <jimb@redhat.com>
20750
20751 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
20752 call `fflush' after every `printf', so that the output is produced
20753 at predictable points, regardless of whatever buffering does (or
20754 doesn't) take place.
20755 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
20756 at different points.
20757
4420d5e2
DJ
207582002-01-20 Daniel Jacobowitz <drow@mvista.com>
20759
20760 * gdb.c++/inherit.exp: Update copyright years.
20761 * gdb.c++/method.exp: Likewise.
20762
3e36a0f4
DJ
207632002-01-20 Daniel Jacobowitz <drow@mvista.com>
20764
20765 * gdb.c++/classes.exp: Update for improved v3 support and skipping
20766 artificial methods/arguments.
20767 * gdb.c++/derivation.exp: Likewise.
20768 * gdb.c++/inherit.exp: Likewise.
20769 * gdb.c++/method.exp: Likewise.
20770 * gdb.c++/virtfunc.exp: Likewise.
20771
b4ceaee6
AC
207722002-01-18 Andrew Cagney <ac131313@redhat.com>
20773
20774 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
20775 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
20776 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
20777 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
20778 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
20779 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
20780
ecace851
JB
207812002-01-17 Jim Blandy <jimb@redhat.com>
20782
20783 * gdb.asm/asm-source.exp (info symbol): Take another shot at
20784 anchoring the pattern matching the entry point symbol's name.
20785
375fc983
AC
207862002-01-17 Andrew Cagney <ac131313@redhat.com>
20787
20788 * gdb.base/maint.exp: Update ``maint internal-error'' to match
20789 continue/quit query. Update copyright.
20790
fe6fdd96
MS
207912002-01-14 Michael Snyder <msnyder@redhat.com>
20792
20793 * gdb.base/gcore.exp: Remove extra debugging output.
20794
e017c81f
DJ
207952002-01-13 Daniel Jacobowitz <drow@mvista.com>
20796
20797 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
20798 for slightly dubious v2 mangled string.
20799
37ab3bf8
DJ
208002002-01-13 Daniel Jacobowitz <drow@mvista.com>
20801
20802 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
20803
1bc05c3a 208042002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 20805
1bc05c3a 20806 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 20807
1bc05c3a
JM
20808 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
20809 constructors.
20810 * gdb.c++/derivation.exp: Likewise.
20811 * gdb.c++/templates.exp: Likewise.
20812 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 20813
1bc05c3a
JM
208142002-01-10 Michael Snyder <msnyder@redhat.com>
20815
20816 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 20817
a911c360
MS
208182002-01-08 Michael Snyder <msnyder@redhat.com>
20819
20820 * gdb.base/gcore.exp: New test for generate-core-file command.
20821 * gdb.base/gcore.c: Testcase for above.
20822 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
20823
ea2119ec
JM
208242002-01-08 Jason Merrill <jason@redhat.com>
20825
20826 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
20827
68203136
FF
208282002-01-07 Fred Fish <fnf@redhat.com>
20829
20830 * gdb.c++/overload.exp: Remove unconditional xfails for:
20831 print foo_instance1.overloadargs(1)
20832 print foo_instance1.overloadargs(1, 2)
20833 print foo_instance1.overloadargs(1, 2, 3)
20834 print foo_instance1.overloadargs(1, 2, 3, 4)
20835 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
20836 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
20837 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
20838 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
20839 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
20840 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
20841 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
20842 print foo_instance1.overload1arg()
20843 print foo_instance1.overload1arg((char)arg2)
20844 print foo_instance1.overload1arg((signed char)arg3)
20845 print foo_instance1.overload1arg((unsigned char)arg4)
20846 print foo_instance1.overload1arg((int)arg7)
20847 print foo_instance1.overload1arg((unsigned int)arg8)
20848 print foo_instance1.overload1arg((float)arg11)
20849 print foo_instance1.overload1arg((double)arg12)
d63a86f8 20850
21b9b5b1
MS
208512002-01-07 Michael Snyder <msnyder@redhat.com>
20852
20853 * gdb.base/huge.exp: New test. Print a very large target data object.
20854 (skip_huge_test): New test variable. Define if you want to skip this
20855 test. The test reads an 8 megabyte data object from the target, so it
20856 might be very time consuming on remote targets with a slow connection.
20857 * gdb.base/huge.c: New file. Test case for above.
20858
725f922e
FF
208592002-01-07 Fred Fish <fnf@redhat.com>
20860
20861 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
20862 g_instance.bfoo, and g_instance.cfoo.
20863
889bf7c5 208642002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 20865
889bf7c5
PA
20866 * gdb.base/break.c (multi_line_if_conditional): New function.
20867 (multi_ilne_while_conditional): Likewise.
20868 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
20869 IF or WHILE condition puts the breakpoint at the start of
20870 the condition.
f286b2c3 20871
634d57ec
JL
20872 * gdb.base/selftest.exp (backtrace through signal handler): Remove
20873 hppa*-*-hpux* expected failure.
20874 * gdb.base/structs.exp (do_function_calls): Similarly.
20875
20876 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
20877 watchpoints.
20878
9fbfe2dc
AC
208792002-01-06 Andrew Cagney <ac131313@redhat.com>
20880
20881 Fix PR gdb/66.
20882 * gdb.base/structs.exp: Replace skip for a29k with skip for
20883 gdb,cannot_call_functions.
20884 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
20885 * gdb.base/callfuncs.exp: Ditto.
20886 * gdb.base/call-rt-st.exp: Ditto.
20887 * gdb.base/call-strs.exp: Ditto.
20888 * gdb.base/callfwmall.exp: Ditto.
20889 * gdb.base/scope.exp: Obsolete xfail a29k.
20890 * gdb.c++/misc.exp: Ditto.
20891 * gdb.c++/cplusfuncs.exp: Ditto.
20892 * gdb.base/ptype.exp: Ditto.
20893 * gdb.base/printcmds.exp: Ditto.
20894 * gdb.base/opaque.exp: Ditto.
20895 * gdb.base/list.exp: Ditto.
20896 * gdb.base/funcargs.exp: Ditto.
20897 * gdb.base/default.exp: Ditto.
20898
8ddad156
MS
208992002-01-04 Michael Snyder <msnyder@redhat.com>
20900
ca4976a6 20901 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
20902 * gdb.base/maint.exp: Add tests for maint info sections options.
20903
1b074332
JL
20904Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
20905
20906 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
20907
7d159115
CV
209082001-12-20 Corinna Vinschen <vinschen@redhat.com>
20909
20910 * gdb.asm/arm.inc: New file.
20911 * gdb.asm/asm-source.exp: Add arm targets.
20912 * gdb.asm/configure.in: Ditto.
20913 * gdb.asm/configure: Recreated from configure.in.
20914
8fb87725
JL
20915Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
20916
afabe08c
JL
20917 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
20918 with HP's compiler.
20919 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
20920 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
20921 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
20922 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
20923
20924 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
20925 either HP's compilers or GCC.
20926
db521deb
JL
20927 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
20928 a SIGBUS or SIGSEGV.
20929
20930 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
20931
20932 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
20933 can be compiled with either HP's compiler or GCC.
20934
cfa88ab7
JL
20935 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
20936 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
20937 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
20938
ca344dff
JL
20939 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
20940 to match current gdb output. Update due to using auto-solib-limit
20941 for limiting instead of overloading auto-solib-add.
20942 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
20943 test program.
20944
3f3c6e55 20945 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
20946 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
20947 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
20948 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
20949 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
20950 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
20951 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
20952 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
20953 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
20954 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
20955 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
20956 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
20957 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 20958
8fb87725
JL
20959 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
20960 a SIGTRAP to the inferior.
20961
cf599fa7
CV
209622001-12-19 Corinna Vinschen <vinschen@redhat.com>
20963
20964 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
20965 Substitute call to target_link by call to gdb_compile.
20966
2cd045cd
JL
20967Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
20968
a9c64011
AS
20969 * gdb.base/break.exp: Fix HP specific search string when testing
20970 backtracing in a called function.
2cd045cd 20971
a9c64011
AS
20972 * gdb.base/constvars.exp: Only set lang to C++ if we're
20973 compiling the test with HP's compilers.
20974 * gdb.base/volatile.exp: Similarly.
2cd045cd 20975
99ebe9ac
JB
209762001-12-19 Jim Blandy <jimb@redhat.com>
20977
20978 * gdb.base/printcmds.exp: Expect the null character to be printed
20979 as '\0', and the '\013' to be printed as '\v'.
20980 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
20981 * gdb.base/setvar.exp: Same.
20982
b9891b29
JB
209832001-12-17 Jim Blandy <jimb@redhat.com>
20984
0eba65ab
JB
20985 * gdb.base/completion.exp: Rather than completing very long
20986 filenames, which can make the readline library produce output we
20987 don't recognize, cd to the directory first, and then complete
20988 using nice, short relative paths.
20989
6970b5b1
JB
20990 * gdb.base/completion.exp: On some systems, there is, in fact, a
20991 variable named `b' in scope, since GDB treats all static
a9c64011
AS
20992 variables as being in scope. So use `no_var_named_this'
20993 instead of `b'.
6970b5b1 20994
b9891b29 20995 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 20996 can't find the core file's registers as a failure.
b9891b29 20997
e6ccd35f
JSC
209982001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
20999
a9c64011
AS
21000 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
21001 test expect string more specific.
e6ccd35f 21002
105ba819
CV
210032001-12-13 Corinna Vinschen <vinschen@redhat.com>
21004
21005 * gdb.asm/asm-source.exp: Add support for xstormy16.
21006 * gdb.asm/configure.in: Ditto.
21007 * gdb.asm/configure: Rebuild.
21008 * gdb.asm/xstormy16.inc: New file.
21009
e9e79dd9
FF
210102001-12-10 Fred Fish <fnf@redhat.com>
21011
21012 * gdb.base/maint.exp: Update to match changes in type dumping code.
21013
347dc97d
JB
210142001-12-10 Jim Blandy <jimb@redhat.com>
21015
21016 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
21017 matching the entry point symbol's name at the beginning of the
21018 line.
347dc97d 21019
5178b9d6
DJ
210202001-12-07 Daniel Jacobowitz <drow@mvista.com>
21021
21022 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
21023 gdb.c++/inherit.exp, gdb.c++/method.exp,
21024 gdb.c++/namespace.exp, gdb.c++/templates.exp,
21025 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
21026 and class layout support.
21027
af890c52
DJ
210282001-12-07 Daniel Jacobowitz <drow@mvista.com>
21029
21030 * gdb.c++/classes.exp: Add test for static member function.
21031 * gdb.c++/misc.cc: Add class with static member function.
21032
7a345fb3
JB
210332001-12-07 Jim Blandy <jimb@redhat.com>
21034
f2e54a80 21035 If GDB says it can't find the struct the function returned, report
8032bf31
JB
21036 those tests as `unsupported'.
21037 * gdb.base/call-rt-st.exp (print_struct_call): New function.
21038 Rewrite subsequent tests to use it.
21039
21040 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
21041 those tests as `unsupported'.
21042 * gdb.base/structs.exp (call_struct_func): New function.
21043 (do_function_calls): Use call_struct_func to call the functions
21044 returning structs.
21045
0bc69509
JB
21046 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
21047 whether functions are prototyped or not, so we can't possibly pass
21048 arguments to t_float_values2 properly.
21049
7a345fb3
JB
21050 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
21051 value of `timeout' for targets other than the mips*tx39-*.
21052
edb6ede1
MS
210532001-12-06 Michael Snyder <msnyder@redhat.com>
21054
d63a86f8 21055 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
21056 and detect whether the start symbol has a leading underscore.
21057
2d842f13
JB
210582001-12-04 Jim Blandy <jimb@redhat.com>
21059
21060 * gdb.base/completion.exp: Clarify indentation.
21061
68550daf
JB
210622001-12-03 Jim Blandy <jimb@redhat.com>
21063
21064 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
21065 variables on the S/390, not `.word'.
21066
cd5195a8
JB
210672001-11-30 Jim Blandy <jimb@redhat.com>
21068
21069 Add assembly-source tests for s390-ibm-linux.
21070 * gdb.asm/s390.inc: New file.
21071 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
21072 the S/390 architecture.
a9c64011 21073 * gdb.asm/configure: Regenerated.
cd5195a8 21074
ca9efc90
MS
210752001-11-30 Michael Snyder <msnyder@redhat.com>
21076
21077 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
21078 next, info source, info sources, info line, global and static
21079 variables, and static functions.
21080 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
21081 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
21082 * gdb.asm/asmsrc1.s: Add a static function and some variables.
21083 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
21084 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
21085 (gdbasm_leave): Restore frame pointer.
21086 (gdbasm_startup): Copy stack set-up from crt0.S.
21087
d0e66976
FN
210882001-11-26 Fernando Nasser <fnasser@redhat.com>
21089
21090 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
21091 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
21092 to a local (non-static) variable. Copy tstruct.a to a static buffer
21093 and return a pointer to that buffer.
21094 * gdb.base/callfwmall.c (t_structs_a): Ditto.
21095
e2334072
MK
210962001-11-24 Mark Kettenis <kettenis@gnu.org>
21097
21098 * gdb.asm/configure.in: Fix recognition of ix86 target.
21099 * gdb.asm/configure: Regenerate.
21100
756caa3d
MS
211012001-11-21 Michael Snyder <msnyder@redhat.com>
21102
21103 * gdb.asm/sparc.inc: New file.
21104 * gdb.asm/asm-source.exp: Recognize sparc target.
21105 * gdb.asm/configure.in: Recognize sparc target.
21106 * gdb.asm/configure: Regenerate.
d63a86f8 21107
9a4d72d5
MS
211082001-11-21 Michael Snyder <msnyder@redhat.com>
21109
21110 * gdb.asm/m32r.inc: New file.
21111 * gdb.asm/asm-source.exp: Recognize m32r target.
21112 * gdb.asm/configure.in: Recognize m32r target.
21113 * gdb.asm/configure: Regenerate.
21114
a773d1cd
MS
211152001-11-20 Michael Snyder <msnyder@redhat.com>
21116
017ac23d
MS
21117 * gdb.asm/i386.inc: New file.
21118 * gdb.asm/asm-source.exp: Recognize ix86 target.
21119 * gdb.asm/configure.in: Recognize ix86 target.
21120 * gdb.asm/configure: Regenerate.
21121
a773d1cd
MS
21122 * gdb.c++/namespace.exp: Fix quotes in output messages.
21123
bb632afb
MS
211242001-11-14 Michael Snyder <msnyder@redhat.com>
21125
25d559ca 21126 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
21127 qualifier in a type cast expression, to designate an address
21128 in the instruction space (Harvard architecture).
21129
4749e309
MS
211302001-11-13 Michael Snyder <msnyder@redhat.com>
21131
21132 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
21133 Tests for expressions using 'const' and 'volatile'.
21134
25050984
CV
211352001-11-13 Corinna Vinschen <vinschen@redhat.com>
21136
21137 * gdb.asm/asm-sources.exp: Allow defining linker flags.
21138
1902c51f
DJ
211392001-11-12 Daniel Jacobowitz <drow@mvista.com>
21140
21141 * lib/mi-support.exp (mi_run_to_helper): Move comments
21142 outside of gdb_expect.
21143
dcf95b47
DJ
211442001-11-11 Daniel Jacobowitz <drow@mvista.com>
21145
21146 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
21147 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
21148 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
21149 mi0_run_to): New functions.
21150 * gdb.mi/mi-simplerun.exp: Use them.
21151 * gdb.mi/mi0-simplerun.exp: Likewise.
21152 * gdb.mi/mi-var-cmd.exp: Likewise.
21153 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 21154
45b074e1
AC
211552001-11-10 Andrew Cagney <ac131313@redhat.com>
21156
21157 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
21158 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
21159
bf50d346
AC
211602001-11-09 Andrew Cagney <ac131313@redhat.com>
21161
21162 * gdb.base/restore.exp: Include $expected value in restored test
21163 message.
21164
9383332c
AC
211652001-11-09 Andrew Cagney <ac131313@redhat.com>
21166
21167 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
21168 implemented.
21169
db62520a
MS
211702001-11-08 Michael Snyder <msnyder@redhat.com>
21171
21172 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
21173 Add pass/fail message for stop at breakpoint in call dummy function.
21174
b5703437
MS
211752001-11-07 Michael Snyder <msnyder@redhat.com>
21176
d63a86f8
RM
21177 * gdb.c++/templates.exp (test_template_breakpoints):
21178 If we get an overload menu, but it does not match what
760f6330 21179 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
21180 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
21181 making the whitespace optional. Argument for "new" may be
21182 "unsigned" as well as "unsigned int/long".
d63a86f8 21183 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
21184 making the whitespace optional. Also replace "(void) with
21185 "((void|)), making the keyword "void" optional.
d63a86f8 21186 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
21187 making the whitespace optional. Also replace "(void) with
21188 "((void|)), making the keyword "void" optional.
3bf40917
MS
21189 * gdb.base/callfuncs.c (t_float_values): This function must
21190 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 21191 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
21192 can be tested against both cases. Usually one case involves
21193 promotion of float to double, while the other does not.
21194 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
21195 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
21196 includes a stack frame for "start".
21197
c8ab4e6d
JB
211982001-11-05 Jim Blandy <jimb@redhat.com>
21199
21200 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
21201 pointers are 32 bits long, and that offsets of relocs are always
21202 stored in the data (REL-style), and not in the reloc entry itself
21203 (RELA-style).
21204 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
21205 stabs.
21206
3f08ced9
MS
212072001-11-01 Michael Snyder <msnyder@redhat.com>
21208
21209 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
21210 and regular expression operators by using quoting.
21211
cbfa24cd
MS
212122001-10-31 Michael Snyder <msnyder@redhat.com>
21213
21214 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
21215 depending on what the symbol table contains.
21216 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
21217 the output of the ptype command. Similarly, accept both "const &"
21218 and "const&".
21219
aaa68313
CV
212202001-10-31 Corinna Vinschen <vinschen@redhat.com>
21221
21222 * gdb.base/miscexprs.c (main): Add usage of preprocessor
21223 symbol `STORAGE' to allow to choose the storage class of
21224 the local datastructures.
21225 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
21226 compiler directive.
21227
91740388
MS
212282001-10-30 Michael Snyder <msnyder@redhat.com>
21229
21230 * gdb.base/jump.exp: Allow it to run for all targets.
21231
1b7c05e7
CV
212322001-10-29 Corinna Vinschen <vinschen@redhat.com>
21233
21234 * gdb.base/call-ar-st.c (print_double_array): Match for loop
21235 with new double_array size.
21236 (main): Change storage class of all local variables to static.
21237 Reduce size of double_array to 9.
21238 * gdb.base/call-ar-st.exp: Increase timeout value.
21239 Change expected output for double array to match new size in
21240 call-ar-st.c.
21241
36a22261
CV
212422001-10-29 Corinna Vinschen <vinschen@redhat.com>
21243
21244 * gdb.base/ending-run.exp: Create identical output when passing
21245 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 21246 Stormy16 target.
36a22261 21247
92b8ae91
MK
212482001-10-28 Mark Kettenis <kettenis@gnu.org>
21249
21250 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
21251 that we catch the expected failure under Linux/x86.
21252
cb135b83
OF
212532001-10-29 Orjan Friberg <orjanf@axis.com>
21254
21255 * gdb.base/setvar.exp: Escape curly braces.
21256 * gdb.stabs/weird.exp: Ditto.
21257
6884aa54
DJ
212582001-10-27 Daniel Jacobowitz <drow@mvista.com>
21259
21260 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
21261 * gdm.mi/mi0-hack-cli.exp: Likewise.
21262
0398c9aa
AC
212632001-10-25 Andrew Cagney <ac131313@redhat.com>
21264
21265 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
21266 messages.
21267
d20bf2e8
AC
212682001-10-21 Andrew Cagney <ac131313@redhat.com>
21269
21270 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
21271 checking MI enabled.
21272
03dd63aa
CV
212732001-10-09 Corinna Vinschen <vinschen@redhat.com>
21274
21275 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
21276
1d9d99f3
FCE
212772001-10-04 Frank Ch. Eigler <fche@redhat.com>
21278
21279 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
21280 if gdb child process crashes, just signal an error.
21281
838ae6c4
JB
212822001-10-02 Jim Blandy <jimb@redhat.com>
21283
21284 * lib/gdb.exp (test_xfail_format): Simplify.
21285
21286 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
21287 front of the variable name `format'. Simplify `if'.
21288
8f0cbc1c
DJ
212892001-10-01 Daniel Jacobowitz <drow@mvista.com>
21290
21291 * gdb.threads/pthreads.exp: Wait for output and delay
21292 before sending ^C.
21293
1f08dafd
DJ
212942001-10-01 Daniel Jacobowitz <drow@mvista.com>
21295
21296 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
21297 some incorrect output instead of timing out.
21298 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
21299
674f90ff
CV
213002001-09-28 Corinna Vinschen <vinschen@redhat.com>
21301
21302 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
21303 check to allow additional `int'.
21304
9b284272
DJ
213052001-09-27 Daniel Jacobowitz <drow@mvista.com>
21306
21307 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
21308 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
21309
b55a4771
MS
213102001-09-27 Michael Snyder <msnyder@redhat.com>
21311
21312 * lib/gdb.exp (test_debug_format): New proc.
21313 (setup_xfail_format): Use new proc test_debug_format.
21314 * gdb.base/constvars.exp (local_compiler_xfail_check): New
21315 proc; use new service proc test_debug_format.
21316 Replace all other "gcc_compiled" tests with this test.
21317 * gdb.base/volatile.exp (local_compiler_xfail_check): New
21318 proc; use new service proc test_debug_format.
21319 Replace all other "gcc_compiled" tests with this test.
21320
213212001-09-27 Michael Snyder <msnyder@redhat.com>
21322
21323 * gdb.base/cvexpr.exp: New file.
21324 * gdb.base/cvexpr.c: New file
21325 Test for expressions using const and volatile keywords.
21326
4e6667ac
CV
213272001-09-26 Corinna Vinschen <vinschen@redhat.com>
21328
21329 * gdb.base/constvars.exp: Check for different orders of keywords
21330 and additional "int" strings in output.
21331
4f337972
AC
213322001-09-22 Andrew Cagney <ac131313@redhat.com>
21333
21334 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
21335 responses from "help maint".
21336
2015650d
FCE
213372001-09-19 Frank Ch. Eigler <fche@redhat.com>
21338
21339 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
21340 to localhost:NNN instead of :NNN, in case Xvfb is listening
21341 only on TCP.
21342
f3bcedc1
CV
213432001-09-19 Corinna Vinschen <vinschen@redhat.com>
21344
21345 * gdb.base/recurse.exp: When checking leaving the watchpoint
21346 scope, recognize when gdb is in function's epilogue and pass.
21347
6b819c92
KS
213482001-09-18 Keith Seitz <keiths@redhat.com>
21349
21350 * lib/insight-support.exp (_gdbtk_export_target_info): Add
21351 support for running tests against sid targets.
21352 (gdbtk_done): Ditto.
21353
a10c9419
CV
213542001-09-18 Corinna Vinschen <vinschen@redhat.com>
21355
21356 * gdb.base/ending-run.c (main): Set stdout buffersize
21357 to the same reasonable value for any target.
21358 * gdb.base/ending-run.exp: Add a regular expression
21359 to make testsuite happy on Sanyo Stormy16 target.
21360
739d0d99
CV
213612001-09-17 Corinna Vinschen <vinschen@redhat.com>
21362
21363 * gdb.base/display.c (do_loops): Add float variable `f'.
21364 Increment f in loop.
21365 * gdb.base/display.exp: Increment timeout by 60 seconds.
21366 Change float display test to use variable `f'.
21367
1b8947f0
JB
213682001-09-17 Jim Blandy <jimb@redhat.com>
21369
21370 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
21371 overflowing the limited breakpoint tables on some ROM monitors
21372 (like the ROM68K).
21373
9890ac81
FCE
213742001-09-15 Frank Ch. Eigler <fche@redhat.com>
21375
21376 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
21377 the "-ac" (disable access control) flag.
21378
6db765ea
JH
213792001-08-30 Jeff Holcomb <jeffh@redhat.com>
21380
21381 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
21382 ints.
21383
4c32cc04
KS
213842001-08-30 Keith Seitz <keiths@redhat.com>
21385
21386 * lib/gdb.exp: Move all insight-related functionality into
21387 separate file.
21388 * lib/insight-support.exp: New file.
21389
8d6e6f81
FCE
213902001-08-29 Frank Ch. Eigler <fche@redhat.com>
21391
21392 * config/sid.exp (sid_start): Never set sid verbosity; disable
21393 expect_background {} that consumed its stdout; tolerate </dev/null.
21394 Attempt to set endianness override in "sid" protocol mode. Cleanup.
21395
6a90e1d0
AC
213962001-08-18 Andrew Cagney <ac131313@redhat.com>
21397
21398 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
21399 CLI jump command to start it.
21400 (mi_run_to_main): Fail immediatly when unexpected output.
21401
1759b3c3
AC
214022001-08-18 Andrew Cagney <ac131313@redhat.com>
21403
21404 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
21405 beginning of function. Fix PR gdb/191.
21406
61d11d80
FCE
214072001-08-16 Frank Ch. Eigler <fche@redhat.com>
21408
21409 * config/sid.exp (sid_start): Don't warn if we cannot figure out
21410 what to force sid endianness to.
21411
942a4df2
KS
214122001-08-15 Keith Seitz <keiths@redhat.com>
21413
21414 * lib/gdb.exp (gdbtk_start): Don't set environment
21415 variables for TCL_LIBRARY and friends. Insight will
21416 now figure these out for itself.
21417
0521c418
MS
214182001-08-02 Michael Snyder <msnyder@redhat.com>
21419
21420 * gdb.base/completion.exp: Remove the symbol "a64l" from
21421 the expect string; this is target-specific, and not related
21422 to what is being tested.
21423
74a9a58a
DB
214242001-08-02 Dave Brolley <brolley@redhat.com>
21425
21426 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
21427
c70819fa
MS
214282001-07-25 Michael Snyder <msnyder@redhat.com>
21429
c2b8fa57
MS
21430 * gdb.base/consecutive.exp: New file. Test stepping over
21431 breakpoints on consecutive instructions.
21432 * gdb.base/consecutive.c: New file.
21433
c70819fa
MS
21434 * gdb.base/call-rt-st.exp: Use double-backslash to quote
21435 curly braces in regular expressions.
21436
2b1a1355
MS
214372001-07-25 Michael Snyder <msnyder@redhat.com>
21438
21439 * gdb.base/ending-run.exp: Accept "Program exited normally" as
21440 legitimate output from stepping out of main.
21441
413eca6f
KS
214422001-07-22 Keith Seitz <keiths@redhat.com>
21443
21444 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
21445 the empty string, do not run the tests.
21446
7e5a9322
SC
214472001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21448
21449 * gdb.base/long_long.exp: Detect size of pointer. Take into
21450 account 2-byte pointers when testing for p/a results.
21451
de58f10f
SC
214522001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21453
d63a86f8 21454 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
21455 and defined to 1K for m68hc11.
21456 (random_data): Reduce table to 1K for embedded platforms (68hc11).
21457 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
21458 (sizeof_random_data): New variable to tell the size of the data table;
21459 don't test past this size; always run to main.
21460
d6f5fea1
SC
214612001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21462
21463 * gdb.base/return2.exp: return of long long and double fails for
21464 68HC11; don't execute these tests on that platform.
21465 * gdb.base/return.exp: Return of a double fails for 68hc11.
21466
c477543d
SC
214672001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21468
21469 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
21470 tests that print a float.
21471 * call-rt-st.exp: Likewise.
21472
63cf1c79
MK
214732001-07-12 Mark Kettenis <kettenis@gnu.org>
21474
21475 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
21476 running this test on Linux.
21477
112f9ab5
MC
214782001-06-24 Michael Chastain <chastain@redhat.com>
21479
21480 * gdb.base/arithmet.exp: Remove some tests to make all test names
21481 unique.
21482
4970cb0f
MS
214832001-07-03 Michael Snyder <msnyder@redhat.com>
21484
21485 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
21486 the output of the ptype command.
21487
d85da69f
MS
214882001-07-02 Michael Snyder <msnyder@redhat.com>
21489
4c8a82de
MS
21490 * gdb.base/completion.exp: Don't assume that break.c is the only
21491 source file that may contain functions named "marker".
d85da69f
MS
21492 * gdb.base/corefile.exp: Quote the curly braces in regexp.
21493
8afc772b
AC
214942001-06-28 Andrew Cagney <ac131313@redhat.com>
21495
21496 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
21497 of files to delete.
21498
21499 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
21500 * gdb.disasm/h8300s.exp: New file.
21501 gdb.disasm/h8300s.s: Likewise.
21502
cff22675
AC
215032001-06-27 Andrew Cagney <ac131313@redhat.com>
21504
21505 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
21506 empty breakpoint tables.
21507
68c81b54
AC
215082001-06-25 Andrew Cagney <ac131313@redhat.com>
21509
21510 * lib/mi-support.exp: Update args=... part of stop-reason
21511 patterns. Accept either a list or a tuple.
21512
2dd62704
AC
215132001-06-23 Andrew Cagney <ac131313@redhat.com>
21514
21515 * lib/mi-support.exp: Remove local emacs variable defining
21516 change-log-default-name.
21517
b4127474
MC
215182001-06-22 Michael Chastain <chastain@redhat.com>
21519
21520 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
21521 This is operationally compatible with the previous version.
21522
8dbfb380
JB
215232001-06-13 Jim Blandy <jimb@redhat.com>
21524
21525 * lib/gdb.exp (gdb_test): Doc fix.
21526
f2d8c86d
MC
215272001-06-10 Michael Chastain <chastain@redhat.com>
21528
21529 * gdb.base/exprs.exp: Remove a duplicate test.
21530
81564d34
JB
215312001-06-06 Jim Blandy <jimb@redhat.com>
21532
21533 * gdb.base/return2.exp (main): Use values to test float and double
21534 returns that are not NaN's, to avoid being confused by IEEE
21535 comparison rules.
21536
da55addb
MS
215372001-06-04 Michael Snyder <msnyder@redhat.com>
21538
21539 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 21540 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
21541 rather than wait for 12 more tests to time out.
21542
42c65987
JB
215432001-06-06 Jim Blandy <jimb@redhat.com>
21544
b18bced9 21545 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 21546 Don't forget to match the GDB prompt.
b18bced9 21547
42c65987
JB
21548 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
21549
5b41e5f0
JB
215502001-06-04 Jim Blandy <jimb@redhat.com>
21551
21552 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
21553 command.
21554
015e046f
KB
215552001-05-31 Kevin Buettner <kevinb@redhat.com>
21556
21557 * gdb.base/annota1.exp (info break): Match four or more spaces
21558 after "Address".
21559
fb1ffbbe
MC
215602001-05-31 Michael Chastain <chastain@redhat.com>
21561
21562 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
21563 (dm_type_int_star): Likewise.
21564 (dm_type_long_star): Likewise.
21565 (dm_type_void_star): Likewise.
21566
5ea2a32c
KB
215672001-05-29 Kevin Buettner <kevinb@redhat.com>
21568
21569 * gdb.base/completion.exp (INPUTRC): Set this environment variable
21570 to a known value in order to get consistent results regardless
21571 of the setting of INPUTRC or the presence or contents of .inputrc.
21572
ae23c492
MS
215732001-05-24 Michael Snyder <msnyder@redhat.com>
21574
ac55707e
MS
21575 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
21576 Don't require that the main thread and the manager thread are the
21577 first in the list.
21578
ae23c492
MS
21579 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
21580 debugging. If test fails, issue an "unsupported" not a "fail".
21581
400071f1
JB
215822001-05-24 Jim Blandy <jimb@redhat.com>
21583
21584 Don't assume that short is shorter than int.
21585 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
21586 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 21587 this isn't true.
400071f1
JB
21588 ("print unsigned char == (~0)"): Add test that verifies that ~0,
21589 an int, is not equal to ~0 stored in an unsigned char. This tests
21590 the same thing that the previous test meant to, but works on
21591 16-bit machines, too.
21592 ("print unsigned char != (~0)"): Same test, complemented.
21593
0816a3e5
MS
215942001-05-24 Michael Snyder <msnyder@redhat.com>
21595
21596 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 21597 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
21598 and prevents dejagnu getting out of step.
21599
f6dc23a9
KB
216002001-05-23 Kevin Buettner <kevinb@redhat.com>
21601
21602 * gdb.base/finish.exp (finish_void): Revise pattern for
21603 stopping on the call statement to not permit stopping at
21604 the start of the instructions comprising the call sequence.
21605
7dbd117d
MC
216062001-05-19 Michael Chastain <chastain@redhat.com>
21607
21608 * gdb.base/callfuncs.exp: Make all test names unique.
21609 * gdb.base/commands.exp: Make all test names unique.
21610 * gdb.base/condbreak.exp: Make all test names unique.
21611 * gdb.base/dbx.exp: Make all test names unique.
21612 * gdb.base/default.exp: Make all test names unique.
21613 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
21614 and TIMEOUT messages to their corresponding PASS message.
21615 * gdb.base/ending-run.exp: Make all test names unique.
21616 * gdb.base/long_long.exp: Remove duplicate test.
21617
6b0b0a9e
KB
216182001-05-21 Kevin Buettner <kevinb@redhat.com>
21619
21620 * gdb.base/finish.exp (finish_void): Allow "finish" command to
21621 stop on the call statement as well as the statement after the
21622 call.
21623
2caa35cb
MS
216242001-05-21 Michael Snyder <msnyder@redhat.com>
21625
21626 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
21627
40713331
EZ
216282001-05-10 Elena Zannoni <ezannoni@redhat.com>
21629
a9c64011
AS
21630 * gdb.base/completion.exp: Revamp test. Make it execute on all
21631 platforms.
40713331 21632
c2c1be8d
EZ
216332001-05-10 Elena Zannoni <ezannoni@redhat.com>
21634
a9c64011
AS
21635 * config/gdbserver.exp (gdb_load): Handle the case
21636 in which the arguments to gdbserver are given in the
21637 baseboard configuration file.
21638 Also handle the case in which the server needs to do a
21639 load.
2c9cd303 21640
9671de48
KS
216412001-05-07 Keith Seitz <keiths@cygnus.com>
21642
a9c64011
AS
21643 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
21644 set up the display for testing.
21645 (gdbtk_start): Convert all paths to paths that tcl will like.
21646 Export target information to environment.
21647 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
21648 necessary.
21649 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
21650 (to_tcl_path): New proc to convert a given pathname into
21651 a path acceptible as an argument to a tcl command.
21652 (_gdbtk_export_target_info): New proc to export target info
21653 into the environment for gdbtk testing.
21654 (gdbtk_done): New proc to signal end-of-test.
9671de48 21655
5a360f47
JB
216562001-05-06 Jim Blandy <jimb@redhat.com>
21657
21658 * restore.c: Make the code of caller0 correspond to its comment.
21659
66c756c6
MS
216602001-05-03 Michael Snyder <msnyder@redhat.com>
21661
21662 * config/sid.exp (gdb_target_sid): Check for error messages.
21663 On error or timeout, don't make expect exit (which will terminate
21664 all subsequent tests); instead just make gdb exit.
d63a86f8 21665 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
21666 return a negative value.
21667
a966fde5
JB
216682001-04-24 Jim Blandy <jimb@redhat.com>
21669
851c18e0
JB
21670 * gdb.c++/templates.exp: If we see the prompt for the overload
21671 list, but we haven't recognized any of the longer patterns,
21672 arrange for this test to fail, not hang.
21673
a966fde5
JB
21674 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
21675 variations.
21676
db144853
MC
216772001-04-22 Michael Chastain <chastain@redhat.com>
21678
21679 * gdb.c++/local.exp: Use the 'runto' library function.
21680 * gdb.c++/namespace.exp: Likewise.
21681 * gdb.c++/overload.exp: Likewise.
21682
3207ec21
KB
216832001-03-26 Kevin Buettner <kevinb@redhat.com>
21684
21685 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
21686 * gdb.base/step-line.exp: New file. Test step/next in presence of
21687 #line directives.
21688 * gdb.base/step-line.c: New file. Test program for the above.
21689 * gdb.base/step-line.inp: New file. We pretend that this file has
21690 been transformed by some other tool into step-line.c.
21691
13b57657
JB
216922001-03-21 Jim Blandy <jimb@redhat.com>
21693
21694 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
21695 unmangled operator names.
21696
754cbe1c
JB
216972001-03-20 Jim Blandy <jimb@redhat.com>
21698
21699 * gdb.threads/linux-dp.exp: Recognize an additional message
21700 generated by GDB when it doesn't understand how to debug threads
21701 on the target system.
21702
177495c9
AC
217032001-03-19 Andrew Cagney <ac131313@redhat.com>
21704
21705 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
21706
f266096b
MC
217072001-03-12 Michael Chastain <chastain@redhat.com>
21708
21709 * gdb.c++/derivation.exp: Use the 'runto' library function.
21710
cac3c2ff
MC
217112001-03-12 Michael Chastain <chastain@redhat.com>
21712
21713 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
21714
b6c11a24
MC
217152001-02-24 Michael Chastain <chastain@redhat.com>
21716
21717 * gdb.c++/ref-types.exp: Change handwritten code to library
21718 function 'runto'.
21719
6bae5bce
OF
217202001-03-16 Orjan Friberg <orjanf@axis.com>
21721
21722 * gdb.base/signals.exp: Set count to 0 explicitly.
21723
0015fd9a
MS
217242001-03-15 Mark Salter <msalter@redhat.com>
21725
21726 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
21727 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
21728 (gdb_load): Add support for additional target_info: gdb_download_size
21729 and gdb_load_timeout.
0015fd9a 21730
fc33412a
DT
21731Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
21732
21733 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
21734 file -- to prevent failing when the compile fails but we have no
21735 intention of running the tests anyway.
fc33412a
DT
21736
21737 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
21738 tests if set.
21739
21740 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 21741 integers.
fc33412a
DT
21742
21743 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
21744 * gdb.c++/namespace.exp: Ditto.
21745
115f06de
OF
217462001-03-07 Orjan Friberg <orjanf@axis.com>
21747
21748 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
21749 * gdb.base/pointers.exp: Relax pattern match of decimals.
21750
b6ba6518
KB
217512001-03-06 Kevin Buettner <kevinb@redhat.com>
21752
21753 * Makefile.in, config/abug.exp, config/cfdbug.exp,
21754 config/cpu32bug.exp, config/dve.exp, config/est.exp,
21755 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
21756 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
21757 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
21758 config/sh.exp, config/sid.exp, config/slite.exp,
21759 config/sparclet.exp, config/udi.exp, config/unknown.exp,
21760 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
21761 config/vxworks.exp, config/vxworks29k.exp,
21762 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
21763 gdb.base/all-bin.exp, gdb.base/annota1.exp,
21764 gdb.base/arithmet.exp, gdb.base/assign.exp,
21765 gdb.base/async.exp, gdb.base/attach.exp,
21766 gdb.base/bitfields.exp, gdb.base/bitops.exp,
21767 gdb.base/break.exp, gdb.base/call-ar-st.exp,
21768 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
21769 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
21770 gdb.base/commands.exp, gdb.base/completion.exp,
21771 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
21772 gdb.base/constvars.exp, gdb.base/corefile.exp,
21773 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
21774 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
21775 gdb.base/ending-run.exp, gdb.base/environ.exp,
21776 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
21777 gdb.base/finish.exp, gdb.base/foll-exec.exp,
21778 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
21779 gdb.base/funcargs.exp, gdb.base/help.exp,
21780 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
21781 gdb.base/logical.exp, gdb.base/long_long.exp,
21782 gdb.base/maint.exp, gdb.base/mips_pro.exp,
21783 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
21784 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
21785 gdb.base/pointers.exp, gdb.base/printcmds.exp,
21786 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
21787 gdb.base/regs.exp, gdb.base/relational.exp,
21788 gdb.base/remote.exp, gdb.base/reread.exp,
21789 gdb.base/restore.exp, gdb.base/return2.exp,
21790 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
21791 gdb.base/selftest.exp, gdb.base/setshow.exp,
21792 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
21793 gdb.base/sigall.exp, gdb.base/signals.exp,
21794 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
21795 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
21796 gdb.base/step-test.exp, gdb.base/structs.c,
21797 gdb.base/structs.exp, gdb.base/structs2.exp,
21798 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
21799 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
21800 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
21801 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
21802 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
21803 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
21804 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
21805 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
21806 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
21807 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
21808 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
21809 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
21810 gdb.fortran/types.exp, gdb.java/jmisc.exp,
21811 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
21812 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
21813 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
21814 gdb.trace/circ.exp, gdb.trace/collection.exp,
21815 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
21816 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
21817 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
21818 gdb.trace/report.exp, gdb.trace/save-trace.exp,
21819 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
21820 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
21821 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
21822 notices.
21823
dc96c6c7 218242001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
21825
21826 * gdb.base/varargs.c (find_max_double): Fix printf format string:
21827 first arg is int not float.
21828
dc96c6c7 218292001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
21830
21831 * gdb.base/reread.exp: Unsupported for non-native targets;
21832 doesn't work for remote debugging.
21833
9b0c4aeb
FN
218342001-02-19 Fernando Nasser <fnasser@redhat.com>
21835
21836 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
21837 * gdb.base/ending-run.exp: Properly handle the BSP state when
21838 stepping past the end of main.
9b0c4aeb 21839
02aa71d5
MC
218402001-02-19 John Moore <jmoore@redhat.com>
21841
21842 * gdb.base/commands.exp (infrun_breakpoint_command_test):
21843 Converted HPUX fix for non-expected items following multiple
21844 step commands into general solution for all platforms.
21845
1fa449a4
MC
218462001-02-18 Michael Chastain <chastain@redhat.com>
21847
21848 * gdb.c++/classes.exp (do_tests): Change runto statements
21849 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21850 statements demangler agnostic.
21851 * gdb.c++/virtfunc.exp (do_tests): Likewise.
21852 (gdb_virtfunc_restart): Likewise.
21853
b2f9ec70
MC
218542001-02-14 Michael Chastain <chastain@redhat.com>
21855
21856 * gdb.c++/inherit.exp (do_tests): Change runto statements
21857 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21858 statements demangler agnostic.
21859
cf74b8ca
AC
21860Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
21861
21862 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
21863 ``continue to bkpt at common_routine in thread 2'' and ``stopped
21864 before calling common_routine 15 times'' tests.
cf74b8ca 21865
99f78f56
MC
218662001-02-11 Michael Chastain <chastain@redhat.com>
21867
21868 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
21869 Helps the test script figure out which demangler is in use.
21870 (dm_type_foo_ref): Ditto.
21871 (dm_type_int_star): Ditto.
21872 (dm_type_long_star): Ditto.
21873 (dm_type_unsigned_int): Ditto.
21874 (dm_type_void): Ditto.
21875 (dm_type_void_star): Ditto.
99707966 21876 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
21877 Probe the gdb demangler and set variables to accommodate
21878 formatting differences.
21879 (info_func_regexp): New function. Same as info_func, but
21880 matches against a regexp.
21881 (info_func): Match against a literal string.
21882 (print_addr_2): New function. Match against a literal string,
21883 which can be different from the input to gdb.
21884 (print_addr): Simply call print_addr_2 with the same argument twice.
21885 (test_lookup_operator_functions): Use demangler formatting variables.
21886 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
21887 the tests in the same order as the C++ class declaration.
21888 (test_paddr_operator_functions): Ditto.
21889 (test_paddr_overloaded_functions): Ditto.
21890 (test_paddr_hairy_functions): Use demangler formatting variables.
21891 Add reference to gdb/19 for related tests.
21892 (do_tests): Call probe_demangler.
21893
1de8f023
KB
218942001-01-30 Kevin Buettner <kevinb@redhat.com>
21895
21896 * gdb.c++/templates.cc (printf): Remove unused function definition.
21897
ca3f91ed
MS
218982001-01-26 Felix Lee <flee@redhat.com>
21899
21900 * sid.exp (sid_exit): Pass host, not target, to remote_close.
21901
219022001-01-25 matthew green <mrg@redhat.com>
21903
21904 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
21905 up sid.
21906 (sid_exit): Call `remote_pop_conn' after GDB is gone.
21907
219082001-01-25 matthew green <mrg@redhat.com>
21909
21910 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 21911 Deprecate $sid_spawn_id.
ca3f91ed
MS
21912 (sid_exit): Remove code necessary only for `spawn.'
21913
219142001-01-25 matthew green <mrg@redhat.com>
21915
21916 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
21917
fb18ec4a
MC
219182001-01-28 Michael Chastain <chastain@redhat.com>
21919
21920 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
21921 to call when tests fail. It takes gdb out of the overloaded
21922 function choice menu back to the main prompt, so that the test
21923 program stays synchronized.
21924 (set_bp_overloaded): New proc to collect all the common
21925 code for setting a breakpoint on an overloaded name. Calls
21926 take_gdb_out_of_choice_menu when needed.
21927 (menu_overload1arg): New variable to collect the repeated
21928 instances of the expected menu for an overloaded name. Change
21929 the regular expression to handle changes in g++ type encoding:
21930 "void" can be either "void" or "", and "unsigned int" can be
21931 either "unsigned int" or "unsigned".
21932 (continue_to_bp_overloaded): Change regular expressions to handle
21933 changes in g++ type encoding.
21934 (no proc): Call take_gdb_out_of_choice_menu when needed.
21935 Remove redundant calls to "info break". Accept either "canceled"
21936 or "cancelled". Change regular expressions in "info break"
21937 calls to handle changes in g++ type encoding. Give all tests
21938 unique strings.
21939
9c646a6e
BE
219402001-01-17 Ben Elliston <bje@redhat.com>
21941
21942 * config/sid.exp: New file.
21943
9549d9c1
AC
21944Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
21945
21946 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
21947
dc96c6c7 219482000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
21949
21950 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
21951 Add a RE to accept a non-ascii char if one is ever presented.
21952
b4df4f68
FN
219532000-12-20 Fernando Nasser <fnasser@redhat.com>
21954
297dd0fd 21955 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 21956
dc96c6c7 219572000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 21958
d63a86f8 21959 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
21960 in regexp. One '\' does not suffice on Linux.
21961
4a7bddb6
MC
219622000-12-09 Michael Chastain <chastain@redhat.com>
21963
21964 * gdb.base/break.exp (test_clear_command): Use a marker function
21965 rather than 'main' for the test function. Also move this
21966 test to an execution point where the marker function names are
21967 guaranteed to be bound to functions. (Executing tests after a
21968 'finish' from main runs into name conflicts with local names
21969 in __libc_start_main).
21970
dc96c6c7 219712000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
21972
21973 * gdb.base/finish.exp: New test for gdb's "finish" command.
21974 * gdb.base/return2.exp: New test for gdb's "return" command.
21975 * gdb.base/return2.c: New source file for above.
21976
dc96c6c7 219772000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
21978
21979 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
21980 * gdb.base/miscexprs.exp: Ditto.
21981 * gdb.base/pointers.exp: Ditto.
21982 * gdb.c++/derivation.exp: Ditto.
21983 * gdb.c++/local.exp: Ditto.
21984 * gdb.c++/namespace.exp: Ditto.
21985 * gdb.c++/overload.exp: Ditto.
21986 * gdb.c++/ref-types.exp: Ditto.
21987
dc96c6c7 219882000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
21989
21990 * gdb.base/constvars.exp: Test result of "up" command.
21991 * gdb.base/miscexprs.exp: Ditto.
21992 * gdb.base/pointers.exp: Ditto.
21993 * gdb.base/scope.exp: Ditto.
21994 * gdb.c++/derivation.exp: Ditto.
21995 * gdb.c++/local.exp: Ditto.
21996 * gdb.c++/namespace.exp: Ditto.
21997 * gdb.c++/overload.exp: Ditto.
21998 * gdb.c++/ref-types.exp: Ditto.
21999
44097287
FN
220002000-11-22 Michael Chastain <chastain@redhat.com>
22001
22002 * mips_pro.exp: Accept either "middle -> top -> main" or
22003 "middle -> main" in the backtrace, because gcc can optimize
22004 tail calls to jumps. Remove setup_xfail for the hppa case.
22005 Add a comment with the original warning messages from PR 3016,
22006 which was filed in 1993, to preserve them for posterity.
22007
9d2e1bab
ND
220082000-11-17 Nick Duffek <nsd@redhat.com>
22009
22010 * lib/gdb.exp (gdb_test): Override timeout with board info.
22011
1aca8eb7
ND
220122000-11-17 Nick Duffek <nsd@redhat.com>
22013
22014 * gdb.base/display.exp: Don't kill running stub. Add "again" to
22015 the second kill and detach messages.
22016
93076499
ND
220172000-11-17 Nick Duffek <nsd@redhat.com>
22018
22019 * configure.in: Add AC_EXEEXT.
22020 * configure: Regenerate.
22021 * Makefile.in (just-check): Export EXEEXT.
22022 * lib/gdb.exp ($EXEEXT): Import from environment.
22023 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
22024 expect "maint dump-me" on Cygwin.
22025 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
22026 $EXEEXT.
22027
30e87cd3
ND
220282000-11-17 Nick Duffek <nsd@redhat.com>
22029
22030 * gdb.base/break.exp: Test backtrace and finish from called
22031 function on all platforms, not just HP-UX.
22032
dc96c6c7 220332000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
22034
22035 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
22036 code from gdb_target_monitor, so it can be used independantly
22037 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 22038
dc96c6c7 220392000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
22040
22041 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
22042 * gdb.base/corefile.exp: Expect the message "Program is being
22043 debugged already" when we send the "corefile" command, since
22044 the preceeding gdb_load may have connected gdb to a remote target.
22045 * gdb.base/display.exp: Disable hardware watchpoints if new
22046 board info variable "no_hardware_watchpoints" is true.
22047 Replace single-letter commands with more readable ones.
22048 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
22049 if new board info variable "no_hardware_watchpoints" is true.
22050 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
22051 to see if stdio (printf) testing is possible.
22052 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
22053 board info variable "no_hardware_watchpoints" is true. Use new
22054 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
22055
39124dea
FN
220562000-11-13 Fernando Nasser <fnasser@redhat.com>
22057
22058 From Orjan Friberg <orjanf@axis.com>:
22059 * gdb.base/printcmds.exp: Escape curly braces followed by a number
22060 in array print pattern match.
22061
a9e2e984
FN
220622000-11-09 Fernando Nasser <fnasser@redhat.com>
22063
22064 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
22065 spelling "cancelled" to U.S. spelling "canceled" to match changes
22066 made to gdb.
22067 * gdb.c++/ovldbreak.exp: Ditto.
22068
c7db355b
PS
220692000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22070
22071 * gdb.base/callfuncs.c (main): Moved to end of file, call
22072 t_double_values to initialize the FPU before inferior calls are made.
22073 * gdb.base/callfuncs.exp: Test for register preservation after calling
22074 inferior functions. Add tests for continuining, finishing and
22075 returning from a stop in a call dummy.
22076
dc96c6c7 220772000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
22078
22079 * gdb.base/commands.exp: Break up long lines, and re-indent.
22080
dc96c6c7 220812000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
22082
22083 * config/gdbserver.exp: Rewritten from the ground up, to make it
22084 compatible with the current dejagnu tree, and to make it work with
22085 the new "gdbserver" in libremote.
22086
dc96c6c7 220872000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
22088
22089 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
22090 * gdb.base/varargs.exp: Skip entire test if no printf support.
22091 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
22092 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
22093
dc96c6c7 220942000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
22095
22096 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
22097 no floating point support.
22098 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
22099 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
22100 * gdb.base/call-rt-st.exp: Ditto.
22101 * gdb.base/call-strs.exp: Ditto.
22102
bac5fc66
JG
221032000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
22104
22105 * gdb.base/sizeof.c: include <stdio.h>.
22106
22107 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
22108 'finish', otherwise uncaptured gdb_prompt would potentially
22109 throw remaining test points out of sync.
bac5fc66 22110
b22a6027
SB
221112000-07-26 Scott Bambrough <scottb@netwinder.org>
22112
22113 * gdb.base/recurse.exp: Run tests for all targets.
22114 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
22115 gnu-oldld case on ARM.
22116 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
22117 for ARM targets.
d63a86f8 22118
d8231941
AG
22119Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
22120
22121 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
22122 * gdb.java/configure: Rebuild.
22123
8caabe69
AG
22124Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
22125
22126 * gdb.java/jv-exp.exp: New file.
22127
9d273ca3
AG
22128Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
22129
22130 * configure: Rebuilt.
22131 * configure.in (configdirs): Add gdb.java.
22132 * gdb.java/jmisc.java: New file.
22133 * gdb.java/jmisc.exp: New file.
22134 * gdb.java/Makefile.in: New file.
22135 * gdb.java/configure: Rebuilt.
22136 * gdb.java/configure.in: New file.
22137 * lib/java.exp: New file.
22138
4f823a66
AC
22139Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
22140
22141 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 22142 underflow.
4f823a66 22143
2391e11d
AC
22144Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
22145
22146 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 22147 and the compilers sizes.
2391e11d 22148
54602222
ND
221492000-07-09 Nick Duffek <nsd@redhat.com>
22150
22151 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
22152 (use_methods): New function.
22153 (main): Call use_methods().
22154 * gdb.c++/classes.exp (test_method_param_class): New procedure.
22155 (do_tests): Call test_method_param_class.
22156
2bec0572
ND
221572000-07-09 Nick Duffek <nsd@redhat.com>
22158
22159 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
22160 spelling.
22161 (test_enums): New procedure. Move enum tests from end of script
22162 to here. Set breakpoint on function name instead of line number.
22163 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
22164 (enums2): New marker function.
22165 (enums1): New function.
22166 (main): Call enums1(). Move enum tests to enums1().
22167
78492fde
AC
22168Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
22169
22170 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 22171 compile/link program. Update line numbers.
78492fde
AC
22172 * gdb.asm/d10v.inc: Define ``startup''.
22173 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 22174
49a2cef8
AC
22175Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
22176
22177 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
22178
3e6c8688
EZ
221792000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22180
22181 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 22182 of 'help maint print' command.
3e6c8688 22183
9ff5cbe9
AC
22184Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
22185
22186 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 22187 they use gdb_expect_list.
9ff5cbe9 22188
17c579bd
AC
22189Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
22190
22191 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
22192 memory-read-packet-size'' instead of ``set endian big'' to test
22193 long commands.
17c579bd 22194
e6d71bf3
DB
221952000-06-03 Daniel Berlin <dan@cgsoftware.com>
22196
22197 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 22198 g++, and stop skipping them.
e6d71bf3
DB
22199
22200 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
22201 work under g++.
22202
d63a86f8 22203 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
22204 initialization.
22205
dc96c6c7 222062000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
22207
22208 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
22209 the regular expression: accept an (almost) arbitrary sequence of
22210 "frames-invalid" and "breakpoints-invalid" messages both before
22211 and after the "starting" message.
22212
dc96c6c7 222132000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
22214
22215 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 22216
dc96c6c7 222172000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
22218
22219 * gdb.base/annota1.exp (annotate-signal-handler-caller):
22220 Relax the regular expression a little, make it pass on Solaris 8.
22221
8216cda9
KB
222222000-05-12 Kevin Buettner <kevinb@redhat.com>
22223
22224 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 22225 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
22226 Instead, it is permissible for gdb to stop on the line of the
22227 call itself.
22228
1a570b2f
MS
222292000-05-12 Michael Snyder <msnyder@.cygnus.com>
22230
22231 * gdb.base/break.exp (bp on small function, optimized file):
22232 Add a second pass pattern. The behavior differs here between stabs
22233 and dwarf for one-line functions. Stabs preserves two line symbols
22234 (one before the prologue and one after) with the same line number,
22235 but dwarf regards these as duplicates and discards one of them.
22236 Therefore the address after the prologue (where the breakpoint is)
22237 has no exactly matching line symbol, and GDB reports the breakpoint
22238 as if it were in the middle of a line rather than at the beginning.
22239
dc96c6c7 222402000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 22241
d63a86f8 22242 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
22243 rather than "send_gdb" (for consistancy).
22244
7d418785
AC
22245Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
22246
22247 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
22248 * gdb.c++/templates.cc: Properly check for GCC version number.
22249 * lib/compiler.cc: Likewise
22250
dc96c6c7 222512000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 22252
d63a86f8 22253 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
22254 gdb may not stop at the first line of main, due to code motion.
22255
dc96c6c7 222562000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
22257
22258 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
22259 This test depends on parsing the printf output from the target.
22260 Since the sparclet stub doesn't do stdio, this will never work.
22261 * gdb.base/call-rt-st.exp: ditto.
22262 * gdb.base/call-strs: ditto.
22263
dc96c6c7 222642000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
22265
22266 * gdb.base/miscexprs.exp: make sizeof long array test portable.
22267
22268 * gdb.base/ending-run.exp: After connecting to a remote target,
22269 but before running, the target will appear to be in a random
22270 location. Specify both a file and a line for breakpoints.
22271 Also, the function that calls main may be called 'init'
22272 rather than 'start'.
22273
a5a51225
EZ
222742000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22275
22276 * gdb.base/help.exp: Update output for add-symbol-file command.
22277
7930cc7c
FN
222782000-04-10 Fernando Nasser <fnasser@cygnus.com>
22279
22280 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22281 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
22282
23e37ab1
C
222832000-04-07 J.T. Conklin <jtc@redback.com>
22284
e93c542c
C
22285 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
22286
23e37ab1
C
22287 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
22288
591b8fa3
PDM
22289Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
22290
22291 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 22292 values that can be represented exactly.
591b8fa3
PDM
22293 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
22294 above change, and to not check against the directory part of the source
22295 file name.
22296 (step into print_long_arg_list): Likewise.
22297 (print print_small_structs from print_long_arg_list): Likewise.
22298 (print print_long_arg_list): Likewise.
22299
7a495180
EZ
223002000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22301
30b53638 22302 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 22303
beb998c6
AC
22304Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
22305
22306 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
22307
1c689132
DB
223082000-03-25 Daniel Berlin <dan@cgsoftware.com>
22309
22310 * gdb.base/commands.exp (deprecated_command_test): Add test for
22311 deprecate with no arguments.
22312
c1790a9d
JL
223132000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
22314
22315 * gdb.base/break.exp: Add new test for setting breakpoints on
22316 optimized code so we can test breakpoints work even when function
22317 prologues may be optimized away
22318
003ba290
FN
223192000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
22320
22321 From David Whedon <dwhedon@gordian.com>
a9c64011 22322 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 22323
6837a0a2
DB
223242000-03-22 Daniel Berlin <dan@cgsoftware.com>
22325
22326 * gdb.base/help.exp: Added test for new apropos command.
22327
b9593231
KB
223282000-03-21 Kevin Buettner <kevinb@redhat.com>
22329
22330 * gdb.base/pointers.c (usevar): New function.
22331 (main): Make sure that global variables v_int_pointer2, rptr,
22332 and y are all referenced someplace in the program by calling
22333 usevar() on them. [Some linkers delete symbols which are
22334 never referenced. The space remains, but there's no way to
22335 get a (symbolic) handle on the variable from the debugger.]
22336
751a959b
EZ
223372000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22338
22339 * gdb.base/printcmds.c: Add typedeffed arrays.
22340
22341 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 22342 procedure to test arrays that are typedef'd.
751a959b 22343
73a93a32
JI
223442000-03-13 James Ingham <jingham@leda.cygnus.com>
22345
22346 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 22347 the library directories.
73a93a32 22348
fb40c209
AC
22349Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
22350
22351 * configure.in (configdirs): Add sub directory gdb.mi.
22352 * configure: Re-generate.
22353
22354 * gdb.mi: New directory.
d63a86f8 22355
ee4dd2c9
AC
223562000-02-25 Scott Bambrough <scottb@netwinder.org>
22357
22358 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 22359 a long long value as a double on ARM platforms.
ee4dd2c9 22360
70f0cc22
JB
223612000-02-16 Jim Blandy <jimb@redhat.com>
22362
22363 * gdb.base/break.exp ("breakpoint line number"): Make sure the
22364 default source file is set properly before running this test.
22365
853819b8
EZ
223662000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22367
22368 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 22369 gdbtk/library directory, not in gdbtcl2.
853819b8 22370
dfcd3bfb
JM
223712000-02-04 Jim Blandy <jimb@redhat.com>
22372
22373 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
22374 backslash from regexp pattern.
22375
22376 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
22377 procedure. Use it to run all the "continue to bp overloaded"
22378 tests. Note that this changes the names of the tests slightly.
22379 If the breakpoint hit message includes a hex PC value, because
22380 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
22381 from the real source code, still consider that a pass.
22382
22383 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
22384 XFAIL here if the breakpoint message contains a hex address. Note
22385 similar change on 1999-11-02.
22386
22387 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
22388
22389 * gdb.base/ptype.exp: Establish a default source file before
22390 calling get_debug_format.
22391
223922000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
22393
22394 * gdb.base/watchpoint.exp: Remove duplication of test messages.
22395
8b93c638
JM
223962000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22397
22398 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
22399 of successive stepi commands -- while in the prologue we should see
22400 the function entry bracket.
22401
224022000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22403
22404 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
22405 reach __change_mode() when stepping through the end of main().
22406
c5394b80
JM
224072000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
22408
22409 * gdb.base/default.exp: Fix expected pattern.
22410 * gdb.base/help.exp: Same.
22411
0d06e24b
JM
224122000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22413
22414 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 22415 Don't use xfail's because that affects only the following test.
d63a86f8 22416
0d06e24b 22417 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 22418 solaris or linux.
0d06e24b
JM
22419
22420 * gdb.base/selftest.exp: Update to reflect changes to main.c.
22421
dc96c6c7 224222000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 22423
d63a86f8 22424 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
22425 "A syntax error" rather than "A parse error". Accept both.
22426
224272000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
22428
22429 * gdb.base/default.exp: Remove OS dependent string from "target
22430 remote" test.
22431 * gdb.base/help.exp: Same for "help target remote" test.
22432
c3f6f71d
JM
224332000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22434
22435 From Jim Kingdon <kingdon@redhat.com>:
22436
22437 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
22438 prompt (cleanup rather than necessity, but still might keep output
22439 from spilling to next test).
c3f6f71d
JM
22440
224412000-01-02 Fred Fish <fnf@cygnus.com>
22442
22443 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
22444 AIX, which defines them in <sys/types.h>.
22445
ed9a39eb 224461999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 22447
ed9a39eb 22448 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 22449 float" test.
ed9a39eb
JM
22450
224511999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 22452
ed9a39eb 22453 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
22454
22455 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
22456 outermost frame disallowed".
22457
224581999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
22459
22460 * gdb.base/setvar.exp: New tests for setting the value of a struct
22461 with a constant list.
22462
224631999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
22464
22465 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
22466 require the user to type a cast before setting the value of a struct.
22467
de57eccd
JM
224681999-12-06 Jim Blandy <jimb@cygnus.com>
22469
22470 * gdb.base/default.exp: Expect the new 'info float' command on
22471 all i386 platforms.
22472
22473 * gdb.threads/linux-dp.exp: Expand our ability to recognize
22474 LinuxThreads libraries that don't support debugging.
22475
c2d11a7d
JM
22476Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22477
22478 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
22479 Change the buffer type to ``unsigned char'' to simplify size
22480 arithmetic.
c2d11a7d
JM
22481
22482 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
22483 stub only handles 400-1 byte packets. Verify that the download
22484 worked.
c2d11a7d
JM
22485
224861999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
22487
22488 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
22489 tests, using UNRESOLVED for the untested cases. Also, does not wait
22490 for a timeout if the prompt was received before a recognizable pattern.
22491
224921999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
22493
22494 * lib/gdb.exp (gdb_expect_list): Fix spelling.
22495
224961999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22497
22498 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 22499 watchpoints.
c2d11a7d
JM
22500
225011999-11-24 Jason Merrill <jason@casey.cygnus.com>
22502
22503 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
22504
22505 * gdb.c++/local.exp: Be more flexible in recognizing local class
22506 name mangling. Don't allow horribly truncated method names.
22507 * gdb.c++/derivation.exp: Expect protected inheritance.
22508 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
22509 * gdb.c++/virtfunc.exp: Likewise.
22510 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
22511 when printing a nested enum.
22512
225131999-11-22 Jim Blandy <jimb@cygnus.com>
22514
22515 * gdb.base/step-test.exp: Properly await GDB's response to setting
22516 a breakpoint on the call to large_struct_by_value.
22517
22518 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
22519 just because we have debug info for the `start' function.
22520
225211999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
22522
22523 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
22524 "Unknown signal" messages, which indicate (on LinuxThreads) that
22525 GDB doesn't know how to debug threads on this system. This is
22526 better than hanging while philosopher 0 dumps chatter into gdb.log.
22527
225281999-11-18 Tom Tromey <tromey@cygnus.com>
22529
22530 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
22531
225321999-11-18 Fred Fish <fnf@cygnus.com>
22533
22534 * gdb.base/coremaker2.c: Add sample program for generating
22535 cores that is more self contained than coremaker.c. Eventually
22536 I'll add more code to this and tie it into the testsuite.
22537
4ce44c66
JM
225381999-11-12 Stan Shebs <shebs@andros.cygnus.com>
22539
22540 * gdb.base/dollar.exp: Remove, now in gdb.hp.
22541
225421999-11-10 Jimmy Guo <guo@cup.hp.com>
22543
22544 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 22545 from $srcdir/lib/.
4ce44c66 22546 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 22547 and gdb.c++/.
4ce44c66
JM
22548
22549 * gdb.c++/derivation.exp: remove redundant get compiler info code.
22550
d63a86f8 22551 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
22552 'continue with watch' test point.
22553
225541999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
22555
22556 Merged from p2linux-990323-branch:
d63a86f8 22557
4ce44c66
JM
22558 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
22559
11cf8741
JM
22560Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
22561
22562 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 22563 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
22564
22565Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
22566
22567 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 22568 gdb_expect_list.
11cf8741
JM
22569
22570Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
22571
22572 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
22573
225741999-11-03 Mark Salter <msalter@cygnus.com>
22575
22576 * gdb.base/break.exp: Fix "stub continue" pattern.
22577
225781999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
22579
22580 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
22581
225821999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
22583
22584 * gdb.base/display.exp ("finish"): Add timeout clause.
22585
22586 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
22587 plain prompt clause, so this doesn't have to time out in order to
22588 fail.
22589
22590 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 22591 breakpoint hit messages include an address.
11cf8741
JM
22592
22593 * gdb.base/display.exp: Don't forget to escape parens in regular
22594 expressions. Unix regexp notatation sucks.
22595
225961999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22597
22598 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 22599 order for 'signalled' message.
11cf8741 22600
5c44784c
JM
226011999-11-01 Stan Shebs <shebs@andros.cygnus.com>
22602
22603 From Jimmy Guo <guo@cup.hp.com>:
22604 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
22605 * gdb.base/annota1.c: Add code for tests to work with.
22606
226071999-10-26 Frank Ch. Eigler <fche@cygnus.com>
22608
22609 * gdb.base/remote.exp: New test for remote downloading settings.
22610 * gdb.base/remote.c: New file with large .data.
22611
917317f4
JM
226121999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
22613
22614 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
22615 for LinuxThreads support, merged from the Code Fusion branch.
22616
22617Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
22618
22619 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
22620 containing exp_continue into a while within an expect. Don't
22621 attempt a start more than three times. Check return value from
22622 gdb_load.
d63a86f8 22623
2df3850c
JM
22624Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
22625
22626 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 22627 a pass case.
2df3850c 22628
2acceee2
JM
226291999-10-01 Kevin Buettner <kevinb@cygnus.com>
22630
22631 * gdb.base/break.c (main): Added a statement that we can step
22632 off of.
22633 * gdb.base/break.exp: Added tests for setting a breakpoint
22634 at an offset and stepping onto a breakpoint.
22635
226361999-10-01 Fred Fish <fnf@cygnus.com>
22637
d63a86f8 22638 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
22639 gdb output.
22640
c2c6d25f
JM
226411999-09-18 Jim Blandy <jimb@cris.red-bean.com>
22642
22643 * gdb.base/break.exp: Code locations are in hex, don't forget!
22644 (For HP-UX.)
22645
226461999-09-17 Stan Shebs <shebs@andros.cygnus.com>
22647
22648 * condbreak.exp: Use break.c as test program.
22649 * condbreak.c: Remove, redundant with break.c.
22650
226511999-09-15 Stan Shebs <shebs@andros.cygnus.com>
22652
22653 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 22654 Z-packets if the target needs it.
c2c6d25f
JM
22655
226561999-09-13 James Ingham <jingham@leda.cygnus.com>
22657
22658 * gdb.c++/overload.exp: Added tests for listing overloaded
22659 functions with function pointers in the arg, explicitly calling
22660 out the version you want.
22661
cff3e48b
JM
226621999-09-09 Stan Shebs <shebs@andros.cygnus.com>
22663
22664 * long_long.exp: Add variations of test cases that work for
22665 targets with 16-bit ints and 32-bit doubles.
22666
d4f3574e
SS
226671999-09-08 Stan Shebs <shebs@andros.cygnus.com>
22668
22669 * break.c (main): Compare a possibly-uninitialized argc with an
22670 unlikely value that fits in 16 bits.
22671
226721999-09-07 Stan Shebs <shebs@andros.cygnus.com>
22673
22674 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
22675 0xfeeb, don't want negative numbers if ints are 16 bits.
22676
22677 * lib/gdb.exp (skip_cplus_tests): New proc.
22678 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
22679 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
22680 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
22681 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
22682 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
22683 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
22684 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
22685 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
22686
22687 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
22688
22689Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
22690
22691 * gdb.base/corefile.exp (up): Allow a parameter to appear
22692 in the frame that we're going up to.
22693
22694 From Jim Blandy <jimb@cygnus.com>:
22695
22696 * gdb.base/default.exp (info float): Expect some output now.
22697
22698 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
22699 returning floating-point values to fail on the x86.
22700 * gdb.base/callfwmall.exp (do_function_calls): Same.
22701
22702 * gdb.base/list.exp (test_listsize): Correct expectations for
22703 listing line 1 with listsize 2. Also, listing a single line
22704 works now, as does listing three lines. [Kevin's note: There
22705 were a number of other cases fixed too where the expectations
22706 differed...]
22707
227081999-09-02 Stan Shebs <shebs@andros.cygnus.com>
22709
22710 * gdb.base/selftest.exp: Add case for when version prints as
22711 constant string instead of char pointer.
22712
104c1213
JM
227131999-08-25 Stan Shebs <shebs@andros.cygnus.com>
22714
22715 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 22716 stepping out of main.
104c1213
JM
22717
22718 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
22719 G++ used.
22720
22721 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 22722 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
22723
22724 * gdb.c++/ovldbreak.exp: Update match string in test that
22725 includes a warning of multiple breakpoints.
22726
227271999-08-24 Stan Shebs <shebs@andros.cygnus.com>
22728
22729 * gdb.base/display.exp: Improve precision of step-after-finish
22730 added yesterday.
22731
22732 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 22733 test.
104c1213
JM
22734
22735 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
22736 configs when using G++, not just hppa*.
22737
227381999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22739
22740 * gdb.base/async.c: New file.
22741 * gdb.base/async.exp: New file.
22742
22743Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
22744
22745 * gdb.base/break.exp: Tweak PA specific tests to properly handle
22746 PA64.
22747
53a5351d
JM
22748Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
22749
104c1213
JM
22750 * gdb.base/display.exp: "finish" can leave us mid-line on many
22751 targets, deal with it. Add a small constant to main, instead of
22752 1000 since main+1000 may not be a valid address in the target.
22753
53a5351d
JM
22754 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
22755 on hpux11.
22756
22757 * gdb.base/attach.exp: Handle another hpux11 error message variant
22758 when attaching to a process that does not exist.
22759
227601999-08-19 J.T. Conklin <jtc@redback.com>
22761
22762 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 22763 characters in 'continue to 1241' test.
53a5351d
JM
22764
227651999-08-17 Stan Shebs <shebs@andros.cygnus.com>
22766
22767 * gdb.base/call-ar-st.exp: Add a shorter match case for the
22768 stop in print_long_arg_list, define and use a whitespace
22769 variable in print_small_structs test, add an XFAIL for Solaris.
22770 * gdb.base/dbx.exp: XFAIL func commands until somebody is
22771 interested enough to fix.
22772
7be570e7
JM
227731999-08-13 Keith Seitz <keiths@cygnus.com>
22774
22775 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
22776 (dbx_gdb_load): Remove. Use gdb_load instead, since that
22777 proc knows about targets other than the natives.
22778 (test_assign): Use "gdb_run_cmd" to "run" the target.
22779 Check that we've actually hit the breakpoint at main.
22780 When we attempt to assign a value to a local variable, check
22781 that the variable is in the current scope, i.e., don't use
22782 a test with an empty result.
22783
22784Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
22785
22786 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 22787 command.
7be570e7
JM
22788
227891999-08-09 Stan Shebs <shebs@andros.cygnus.com>
22790
22791 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22792 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
22793 gdb.compat, gdb.threads-hp.
22794 gdb.hp/configure, gdb.hp/configure.in: New files.
22795 gdb.hp/Makefile.in: Recurse into new subdirs.
22796 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
22797 gdb.hp/gdb.objdbg: New directory, tests for debugging info
22798 in object files.
22799 gdb.hp/tools: New directory, aux tools for HP-specific tests.
22800
96baa820
JM
228011999-08-05 Stan Shebs <shebs@andros.cygnus.com>
22802
22803 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 22804 funky printf, remove a bogus p/a test.
96baa820
JM
22805
228061999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22807
22808 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
22809 connected to the target. This is necessary when running not
22810 natively.
96baa820
JM
22811
228121999-08-03 Stan Shebs <shebs@andros.cygnus.com>
22813
22814 * gdb.base/step-test.exp: Removed some extraneous messages.
22815
22816 * gdb.base/long_long.exp: Don't run memory examination tests
22817 on little-endian targets (they will need a different set of
22818 results to match).
22819
228201999-08-02 Stan Shebs <shebs@andros.cygnus.com>
22821
22822 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
22823 until somebody decides to fix GDB.
22824
22825 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 22826 constant as "ULL".
96baa820
JM
22827 * gdb.base/long_long.exp: Loosen x/c test, add partial result
22828 matches for a couple x/2 commands.
22829
a0b3c4fd
JM
228301999-07-30 Stan Shebs <shebs@andros.cygnus.com>
22831
22832 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
22833 by merging in ref-types2 tests.
22834 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
22835
22836 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22837 * gdb.c++/Makefile.in: Add standard actions.
22838 (EXECUTABLES): Rename from PROGS, update list.
22839 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
22840 from gdb.hp.
22841 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
22842 foo and bar locals.
22843 * gdb.c++/anon-union.exp: Fix tests to match.
22844 * gdb.c++/classes.exp: Run if HP compiler used, add extra
22845 expect matches to handle output variations.
22846 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
22847 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 22848 output, add HP alternatives for new and delete prints.
a0b3c4fd 22849 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 22850 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
22851 * gdb.c++/demangle.exp: Use $style when reporting failure.
22852 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
22853 * gdb.c++/inherit.exp: Run if HP compiler used, add some
22854 match alternatives.
22855 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 22856 compilers.
a0b3c4fd
JM
22857 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
22858 * gdb.c++/method.exp: Add match alternatives.
22859 * gdb.c++/misc.cc: Add bool types.
22860 * gdb.c++/misc.exp: Add tests for bool types.
22861 * gdb.c++/overload.exp: Add xfails.
22862 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
22863 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
22864 add some more template parameter tests (only for HP currently).
22865 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
22866 * gdb.c++/virtfunc.cc: Add return type and value for main.
22867 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
22868 match alternatives.
d63a86f8 22869
a0b3c4fd
JM
228701999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22871
22872 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
22873
228741999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
22875
22876 * gdb.base/signals.exp: Don't expect getting a backtrace from
22877 within a signal handler to fail on Linux.
22878
228791999-07-29 Stan Shebs <shebs@andros.cygnus.com>
22880
22881 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22882 * lib/gdb.exp: Remove some gratuitious semicolons.
22883 (delete_breakpoints): Increase timeout.
22884 (gdb_expect): Add -notransfer option.
22885 (gdb_test): Use -notransfer option.
22886 (get_compiler_info): Add f77 case.
22887 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 22888 case.
a0b3c4fd
JM
22889 (gdb_preprocess): Call get_compiler.
22890
22891 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
22892 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
22893 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
22894 gdb.base/long_long.exp, gdb.base/printcmds.exp,
22895 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
22896 third arg to gdb_test.
a0b3c4fd
JM
22897 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
22898 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 22899 HP-UX xfails, add others.
a0b3c4fd
JM
22900 * gdb.base/completion.exp: Reflect name change of self-test.
22901 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
22902 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
22903 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
22904 HP failure number.
a0b3c4fd
JM
22905 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
22906 useless HP-UX 10.30 references.
22907 * gdb.base/maint.exp: Loosen matches.
22908 * gdb.base/pointers.c (main): Declare more_code.
22909 * gdb.base/pointers.exp: Match on output of a `next'.
22910 * gdb.base/structs.c: Add prototypes.
22911 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
22912 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
22913
229141999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22915
22916 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 22917 command.
a0b3c4fd
JM
22918
229191999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22920
22921 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
22922 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
22923
22924 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
22925 debug info. Deal with lack of signal hanlder info in stack.
22926
a9c64011 22927 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
22928 * gdb.base/annota1.exp: If printf has debug info, deal with it.
22929
5a2468f5
JM
229301999-07-19 Stan Shebs <shebs@andros.cygnus.com>
22931
22932 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 22933 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 22934
adf40b2e
JM
22935Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22936
22937 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 22938 a1-selftest.exp.
adf40b2e
JM
22939 * gdb.base/configure: Re-generate.
22940
229411999-07-12 Stan Shebs <shebs@andros.cygnus.com>
22942
22943 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
22944 in trying to run first and name is too long.
22945
22946 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
22947 pointers2.c and pointers2.exp, respectively.
22948 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
22949 doschk happier.
22950
43e526b9
JM
229511999-07-08 Stan Shebs <shebs@andros.cygnus.com>
22952
22953 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
22954 callfuncs2.c and callfuncs2.exp.
22955
22956 * gdb.base/list.exp: Remove mistaken xfails.
22957 * gdb.base/list0.h: Add optional prototypes.
22958
9846de1b
JM
22959Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
22960
a9c64011 22961 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 22962 calling malloc.
a9c64011
AS
22963 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
22964 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 22965 use.
9846de1b
JM
22966
229671999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22968
22969 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
22970 * gdb.base/annota2.cc, annota2.exp: Move from here.
22971 * gdb.c++/annota2.cc, annota2.exp: To here.
22972 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
22973
43ff13b4
JM
22974Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
22975
22976 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 22977 a consistent format.
43ff13b4 22978
085dd6e6
JM
229791999-06-25 Stan Shebs <shebs@andros.cygnus.com>
22980
22981 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22982 * lib/gdb.exp (get_compiler_info): Add detection for assorted
22983 HP compilers, also set the globals $true and $false.
22984
22985 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
22986 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
22987 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
22988 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
22989 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
22990 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
22991 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
22992 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
22993 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
22994 whatis.c} Add C++ compatible function definitions and return
22995 types, add includes for library functions.
085dd6e6
JM
22996 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
22997 * gdb.base/step-test.c (myglob): Rename from glob.
22998 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
22999 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
23000 files, move here from gdb.hp.
085dd6e6 23001 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
23002 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
23003 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
23004 Adjust line numbers in regexps.
085dd6e6
JM
23005
23006 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
23007 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
23008 instead of 0/1.
23009
23010 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
23011 foll-vfork.exp: New files, move here from gdb.hp.
23012 * gdb.base/page.exp: New file, test of pagination command.
23013
23014 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
23015 recursion test.
23016 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
23017
23018 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 23019 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
23020
23021 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 23022 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 23023 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 23024 watchpoint test.
085dd6e6
JM
23025 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
23026 them work.
23027 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
23028 expressions properly.
23029 * gdb.base/corefile.exp: Loosen the match slightly.
23030 * gdb.base/default.exp: Allow "Error accessing memory" message
23031 also.
23032 * gdb.base/display.exp: Skip over x/0 j if PA64.
23033 * gdb.base/funcargs.exp: Add xfails for HP-UX.
23034 * gdb.base/interrupt.exp: Ditto.
23035 * gdb.base/langs.exp: Add symbolic matches governed by compiler
23036 in use.
23037 * gdb.base/list.exp: Add xfails for HP-UX.
23038 * gdb.base/long_long.exp: Refine some of the numeric matches.
23039 * gdb.base/mips_pro.exp: Xfail on HP-UX.
23040 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
23041 * gdb.base/nodebug.exp: Succeed on more varieties of output.
23042 * gdb.base/opaque.exp: Remove some HP-UX xfails.
23043 * gdb.base/ptype.exp: Succeed on more varieties of output.
23044 * gdb.base/scope.exp: Add xfails for HP-UX.
23045 * gdb.base/sect-cmd.exp: Add more cases.
23046 * gdb.base/setvar.exp: Add xfails for HP-UX.
23047 * gdb.base/shlib-call.exp: Loosen some matches slightly.
23048 * gdb.base/signals.exp: Match on void symbolically.
23049 * gdb.base/step-test.exp: Add case for PA64.
23050 * gdb.base/term.exp: Add exit and restart.
23051 * gdb.base/twice.exp: Clean up after self.
23052 * gdb.base/varargs.exp: Disable overload resolution explicitly.
23053 * gdb.base/whatis.exp: Allow more ways to pass tests.
23054
23055 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 23056 no longer useful.
085dd6e6
JM
23057
23058Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
23059
23060 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 23061 list of patterns.
085dd6e6 23062 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
23063 print_double_array(double_array)", "continuing to breakpoint
23064 1018", "print print_double_array(array_d)" and "continuing to
23065 1034" tests.
d63a86f8 23066
085dd6e6
JM
230671999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
23068
a9c64011 23069 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
23070
230711999-06-24 Stan Shebs <shebs@andros.cygnus.com>
23072
23073 * config/mt-*: Remove, these haven't been used since 1996.
23074
230751999-06-22 Stan Shebs <shebs@andros.cygnus.com>
23076
23077 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 23078 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
23079 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
23080
9e0b60a8
JM
230811999-06-18 Stan Shebs <shebs@andros.cygnus.com>
23082
23083 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
23084 simpler match case for the ptype of the big class.
23085
230861999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23087
23088 * gdb.exp: Fix test for gdb_prompt existence.
23089
230901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23091
23092 * gdb.exp (gdb_test): Add fail after calls to perror.
23093
230941999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23095
23096 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
23097
230981999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23099
23100 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
23101
0f71a2f6
JM
23102Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
23103
23104 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 23105 malloc() is linked in.
0f71a2f6
JM
23106
231071999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23108
23109 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
23110 step at end.
23111
23112 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
23113
231141999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
23115
23116 * gdb.java/jv-print.exp: New file. (Our first Java test!)
23117
cce74817
JM
23118Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
23119
23120 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
23121 * gdb.base/mips_pro.exp: Likewise.
23122
231231999-06-02 Keith Seitz <keiths@cygnus.com>
23124
23125 * gdb.c++/templates.cc: Change all "new" operators to throw
23126 an exception.
23127 * gdb.c++/cplusfuncs.cc: Likewise.
23128
23129 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
23130
23131Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
23132
23133 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
23134 * gdb.base/ending-run.exp: When stepping out of main, accept a
23135 step into an arbitrary assembler file.
cce74817 23136
392a587b
JM
231371999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23138
d63a86f8 23139 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 23140 "breakpoint-invalid" to be printed.
d63a86f8 23141 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
23142 number of "frames-invalid" and "breakpoint-invalid" to be printed.
23143 * gdb.base/annota2.cc: Initialize a.x to 0.
23144
9e086581
JM
231451999-05-17 Keith Seitz <keiths@cygnus.com>
23146
23147 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
23148 when "skip_float_tests" set.
23149 Ditto for "print print_double_array(array_d)", "print print_small_structs",
23150 "print print_ten_doubles", and "step into print_long_arg_list".
23151 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
23152 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
23153 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
23154 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
23155 "skip_float_tests" is set.
23156 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
23157 when "skip_float_tests" set.
d63a86f8 23158
cd0fc7c3
SS
231591999-05-06 Keith Seitz <keiths@cygnus.com>
23160
23161 * gdb.base/annota2.cc: Include stdio.h.
23162
23163Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
23164
23165 * gdb.base/crossload.exp: Remove, this has been disabled ever
23166 since BFD stopped including all targets, and cross-GDB gets
23167 plenty of testing anyway.
23168 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
23169 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
23170 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
23171 * gdb.base/README: Remove, was doc for this.
23172 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 23173 needed.
cd0fc7c3 23174
b83266a0
SS
231751999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23176
23177 * gdb.base/call-ar-st.exp: Fix one regular expression in test
23178 output.
23179
23180 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
23181 * gdb.base/annota2.exp: New file. More annotation tests.
23182 * gdb.base/annota1.c: New file. Source file for annota1.exp.
23183 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
23184
231851999-04-23 Angela Marie Thomas <angela@cygnus.com>
23186
23187 * config/cfdbug.exp: New file.
23188
7a292a7a
SS
231891999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
23190
23191 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
23192 Marcus Daniel's and Dale Hawkins's demangler crashes.
23193
23194 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
23195 test_lucid_style_demangling, test_arm_style_demangling,
23196 test_hp_style_demangling): Try Tom Tromey's core-dumping
23197 identifier under each demangling style.
7a292a7a
SS
23198
231991999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
23200
23201 * gdb.c++/demangle.exp: Include the current demangling style
23202 in all test names.
23203 (current_demangling_style): New global variable.
23204 (set_demangling_style, test_demangling_core, test_demangling,
23205 test_demangling_exact): New functions.
23206 (test_gnu_style_demangling, test_lucid_style_demangling,
23207 test_arm_style_demangling, test_hp_style_demangling): Use those,
23208 instead of calling gdb_test and gdb_test_exact directly.
23209 (catch_demangling_errors): New function, which reports errors
23210 signalled by the demangling test functions in an orderly way.
23211 (do_tests): Use catch_demangling_errors.
23212
232131999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
23214
23215 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 23216 grouping in expressions, not {}.
7a292a7a
SS
23217
23218 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 23219 initialized yet.
7a292a7a
SS
23220
232211999-04-01 Stan Shebs <shebs@andros.cygnus.com>
23222
23223 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
23224 are listed.
23225
232261999-03-26 Stan Shebs <shebs@andros.cygnus.com>
23227
23228 * gdb.stabs/weird.exp: Test for CC being defined before
23229 looking at its value.
23230
232311999-03-25 Stan Shebs <shebs@andros.cygnus.com>
23232
23233 * gdb.base/call-ar-st.exp: Remove stray '#'.
23234 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
23235 "short int" and "long int".
23236 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 23237 change, to mollify finicky HP compiler.
7a292a7a
SS
23238 * gdb.hp/reg-test.exp (testfile): Fix file name.
23239 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 23240
7a292a7a
SS
23241 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
23242 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
23243 alternate form of enum ptype.
23244
c906108c
SS
232451999-03-23 Stan Shebs <shebs@andros.cygnus.com>
23246
7a292a7a
SS
23247 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
23248 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
23249 passing skip_hp_tests, so as not to waste time on guaranteed
23250 failure.
7a292a7a 23251
c906108c
SS
23252 * gdb.c++/overload.cc: Pass string instead of char addr, always
23253 init ccpfoo.
23254 * gdb.c++/templates.cc: Fix syntax error.
23255
7a292a7a
SS
23256Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23257
23258 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 23259 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
23260 command.
23261
232621999-03-18 James Ingham <jingham@cygnus.com>
23263
23264 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
23265
23266 * gdb.c++/method.exp: It was testing an uninitialized int on the
23267 stack and assuming it was positive.
23268
23269 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
23270
23271 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 23272 keep it from killing the rest of the tests.
7a292a7a
SS
23273 Use gdb_continue_to_end.
23274
23275 * gdb.base/sigall.exp: use gdb_continue_to_end.
23276
23277 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
23278
23279 * gdb.base/display.exp: use runto_main, not run.
23280
d63a86f8
RM
23281 * gdb.base/default.exp: Check for the current error message in the
23282 r abbreviation test.
7a292a7a
SS
23283 Add strongarm to the targets that know info float.
23284
d63a86f8 23285 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
23286 run which doesn't work with monitors.
23287
23288 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
23289
23290 * gdb.base/break.exp: use the gdb_continue_to_end proc.
23291
23292 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
23293 program. Traps the case (in Cygmon) when the program never really
23294 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
23295 more places, so I used my name. Sorry Mark...
23296
23297 * config/monitor.exp (gdb_target_monitor): added another
23298 target_info parameter: remotebinarydownload. This will set the
23299 remotebinarydownload flag if this is causing some boards trouble.
23300
233011999-03-18 Mark Salter <msalter@cygnus.com>
23302
23303 * lib/gdb.exp (continue_to_exit): New function.
23304
23305 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
23306 * gdb.base/ending-run.exp: Ditto.
23307 * gdb.base/step-test.exp: Ditto.
23308
233091999-03-16 Stan Shebs <shebs@andros.cygnus.com>
23310
23311 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
23312 (suggested by Art Haas <ahaas@neosoft.com>).
23313
233141999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
23315
889bf7c5 23316 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
23317
23318Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
23319
23320 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 23321 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
23322
233231999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
23324
23325 * gdb.base/call-strs.exp: Don't assume that `step' will step over
23326 a call to strlen; sometimes we do have sources.
23327
233281999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
23329
23330 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 23331 character, so GDB won't print garbage after its end.
d63a86f8 23332
c906108c
SS
23333 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
23334 breakpoint there instead. Sometimes GCC emits memcpy to handle
23335 the large structures being passed by value, so we step into that
23336 instead of sum_array_print, which obscures what we're really testing.
23337 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
23338 the bizarre steps into memcpy, so do that here. Add check for
23339 stepping into function calls that pass large structures by value.
23340 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
23341 Remove all references to specific line numbers.
23342 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
23343 New type and function.
23344 (main): Call large_struct_by_value, passing it a large struct by value.
23345 * lib/gdb.exp (gdb_get_line_number): New function.
23346
23347 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
23348 more portable.
23349
7a292a7a
SS
233501999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
23351
c906108c
SS
23352 * lib/gdb.exp: Doc fixes.
23353
7a292a7a
SS
233541999-03-05 Nick Clifton <nickc@cygnus.com>
23355
d63a86f8 23356 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
23357
233581999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
23359
c906108c 23360 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
23361 commands. They're not germane to this test, and they don't work
23362 that way on remote targets.
c906108c 23363
3fc11d3e
JM
233641999-03-01 James Ingham <jingham@cygnus.com>
23365
23366 * Changelog entries merged over from gdb development branch.
23367
3fc11d3e
JM
23368 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
23369
23370 * lib/gdb.exp (gdbtk_analyze_results): Generic function
23371 for outputting results of test run.
23372
2d4a1622 23373 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
23374
23375 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 23376
7a292a7a
SS
233771999-02-25 Felix Lee <flee@cygnus.com>
23378
23379 * lib/gdb.exp (debug_format): initialize
23380
c906108c
SS
233811999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
23382
23383 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
23384 * gdb.base/call-rt-st.c: Ditto.
23385
c906108c
SS
233861999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
23387
23388 * gdb.threads/pthreads.exp (horiz): New variable.
23389 (test_startup): Fix regexps that capture thread numbers.
23390
233911999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
23392
23393 * gdb.base/smoke.exp: Disambiguate two test case names (both
23394 called ``print'').
23395
23396Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23397
23398 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 23399 compilation.
c906108c
SS
23400
234011999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23402
23403 * gdb.base/miscexprs.exp: Change patterns to match GDB's
23404 actual output formatting.
23405 * gdb.base/smoke.exp: GDB removes leading 0's.
23406 * gdb.base/volatile.exp: Don't check type of remuneration;
23407 that variable is no longer defined in constvars.c.
23408 * gdb.base/step-test.c (main): Exit with explicit exit code.
23409 * gdb.base/step-test.exp: Remove two nexti checks--they are
23410 not portable.
23411
234121999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23413
23414 * gdb.base/help.exp ("help delete display"): Fix test to match
23415 gdb's output.
23416
23417 * gdb.base/long_long.c (known_types): Initialize values to zero.
23418 * gdb.base/long_long.exp: Step one more line
23419 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
23420 leading zeros. Explicitly ask for hex formatting. Use
23421 unique test case names.
c906108c
SS
23422
23423Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23424
d63a86f8 23425 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
23426
23427 * gdb.c++/method.exp: Add missing close brace.
23428
234291999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
23430
23431 * gdb.base/maint.exp: Use 'set height 0' to disable page
23432 prompting, not 'set height 400'.
23433
23434 Fix a bunch of timeouts.
23435 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
23436 four separate tests, so expect doesn't take forever to match a ton
23437 of text against a regexp with lots of .* forms.
23438 ("maint print psymbols", "maint print symbols"): Make some of
23439 these greps more selective, so that expect doesn't try to wade
23440 through huge piles of output and time out.
23441
23442 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
23443
23444 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
23445 tests: one which doesn't expect shlib events to be reported, and
23446 another which does, but is XFAIL for all platforms other than
23447 HP/UX.
c906108c
SS
23448
23449 * gdb.base/break.exp: Teach the test suite that the `catch
23450 fork', `catch vfork', and `catch exec' commands produce error
23451 messages on platforms that don't provide these features.
23452
23453Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23454
23455 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
23456 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
23457 (shortening names from solib_threshold.exp etc), won't run on
23458 anything but HP-UX for the foreseeable future.
c906108c 23459 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 23460 reflect move.
c906108c
SS
23461
23462Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
23463
23464 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 23465 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
23466
23467Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
23468
23469 * gdb.base/shlib-call.exp: add test cases to verify that gdb
23470 successfully re-sets breakpoints in shared libraries.
23471 * gdb.base/shmain.c (main): return 0, don't fall off the end.
23472
23473Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23474
d63a86f8
RM
23475 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
23476 and compiled w/o GCC.
c906108c
SS
23477
23478 * gdb.hp/watch-cmd.exp: ditto.
23479
23480 * gdb.hp/watch-hp.exp: ditto.
23481
23482 * gdb.hp/xdb1.exp: ditto.
23483
23484 * gdb.hp/xdb2.exp: ditto.
23485
23486 * gdb.hp/dbx.exp: ditto.
23487
23488Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
23489
23490 * constvars.c: Remove C++-isms.
23491 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 23492 with GCC.
c906108c
SS
23493
23494Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
23495
23496 The following changes are part of the HP merge.
23497
23498 * gdb.base/break.exp: new tests to verify that catchpoints for
23499 fork, vfork, and exec don't trigger inappropriately.
23500
23501 * gdb.base/opaque.exp: compile one file at a time, then link.
23502
23503 * gdb.base/signals.exp: be more restrictive about which hppa
23504 systems receive a setup_xfail. new tests.
23505
23506 * gdb.base/solib_threshold.build: new file.
23507 * gdb.base/solib_threshold.exp: new file.
23508 * gdb.base/solib_threshold.link_opts: new file.
23509 * gdb.base/solib_threshold.mk: new file.
23510 * gdb.base/gen_solib_threshold.c: new file.
23511
23512 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
23513 tests. New tests for enums inside classes.
23514
23515 * gdb.c++/compiler.cc: indicate support of template debugging.
23516
23517 * gdb.c++/demangle.exp: run hp style demangling tests.
23518
23519 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
23520 tests.
23521
23522 * gdb.c++/misc.cc: changes to support new tests.
23523
23524 * gdb.c++/templates.cc: changes to support HP's compiler; changes
23525 to support new tests.
23526
23527 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
23528 gcc, then skip these tests.
23529
23530Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
23531
23532 The following files are part of the HP merge; some had longer
23533 names at HP, but have been renamed to be no more than 14
23534 characters in length.
23535
23536 * gdb.hp/ambiguous.cc: new file.
23537 * gdb.hp/ambiguous.exp: new file.
23538 * gdb.hp/attach.exp: new file.
23539 * gdb.hp/attach2.exp: new file.
23540 * gdb.hp/classes-hp.exp: new file.
23541 * gdb.hp/ctti.exp: new file.
23542 * gdb.hp/ctti-add.cc: new file.
23543 * gdb.hp/ctti-add1.cc: new file.
23544 * gdb.hp/ctti-add2.cc: new file.
23545 * gdb.hp/ctti-add3.cc: new file.
23546 * gdb.hp/dbx.exp: new file.
23547 * gdb.hp/exception.cc: new file.
23548 * gdb.hp/exception.exp: new file.
23549 * gdb.hp/foll-exec.c: new file.
23550 * gdb.hp/foll-exec.exp: new file.
23551 * gdb.hp/foll-fork.c: new file.
23552 * gdb.hp/foll-fork.exp: new file.
23553 * gdb.hp/foll-vfork.c: new file.
23554 * gdb.hp/foll-vfork.exp: new file.
23555 * gdb.hp/inherit-hp.exp: new file.
23556 * gdb.hp/more-steps.exp: new file.
23557 * gdb.hp/namespace.cc: new file.
23558 * gdb.hp/namespace.exp: new file.
23559 * gdb.hp/optimize.exp: new file.
23560 * gdb.hp/pxdb.c: new file.
23561 * gdb.hp/pxdb.exp: new file.
23562 * gdb.hp/quicksort.exp: new file.
23563 * gdb.hp/reg-test.exp: new file.
23564 * gdb.hp/reg-test.s: new file.
23565 * gdb.hp/sized-enum.c: new file.
23566 * gdb.hp/sized-enum.exp: new file.
23567 * gdb.hp/start-stop.exp: new file.
23568 * gdb.hp/templ-hp.cc: new file.
23569 * gdb.hp/templ-hp.exp: new file.
23570 * gdb.hp/thr-lib.c: new file.
23571 * gdb.hp/thr-lib.exp: new file.
23572 * gdb.hp/thr-lib.h: new file.
23573 * gdb.hp/thr-liblib.c: new file.
23574 * gdb.hp/virtfun-hp.c: new file.
23575 * gdb.hp/virtfun-hp.exp: new file.
23576 * gdb.hp/watch-cmd.exp: new file.
23577 * gdb.hp/watch-hp.exp: new file.
23578 * gdb.hp/xdb1.exp: new file.
23579 * gdb.hp/xdb2.exp: new file.
23580 * gdb.hp/xdb3.exp: new file.
23581
23582Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
23583
23584 The following files are part of the HP merge; some had longer
23585 names at HP, but have been renamed to be no more than 14
23586 characters in length.
23587
23588 * gdb.base/ss.h: new file.
23589 * gdb.base/call-ar-st.c: new file.
23590 * gdb.base/call-ar-st.exp: new file.
23591 * gdb.base/call-rt-st.c: new file.
23592 * gdb.base/call-rt-st-exp: new file.
23593 * gdb.base/call-strs.exp: new file.
23594 * gdb.base/ena-dis-br.exp: new file.
23595 * gdb.base/environ.exp: new file.
23596 * gdb.base/long_long.exp: new file.
23597 * gdb.base/sect-cmd.exp: new file.
23598 * gdb.base/shlib-cl2.exp: new file.
23599 * gdb.base/smoke.exp: new file.
23600 * gdb.base/so-impl-ld.c: new file.
23601 * gdb.base/so-impl-ld.exp: new file.
23602 * gdb.base/so-indr-cl.c: new file.
23603 * gdb.base/so-indr-cl.exp: new file.
23604 * gdb.base/varargs.exp: new file.
23605 * gdb.base/volatile.exp: new file.
23606 * gdb.base/whatis-exp.exp: new file.
7a292a7a 23607 * gdb.base/display.exp: new file.
c906108c
SS
23608 * gdb.c++/derivation.exp: new file.
23609 * gdb.c++/local.exp: new file.
23610 * gdb.c++/member-ptr.exp: new file.
23611 * gdb.c++/overload.exp: new file.
23612 * gdb.c++/ovldbreak.exp: new file.
23613 * gdb.c++/ref-types.exp: new file.
23614 * gdb.c++/ref-types2.exp: new file.
23615 * gdb.c++/userdef.exp: new file.
d63a86f8 23616
c906108c
SS
23617Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
23618
23619 * gdb.base/default.exp: Reflect wording change in remote.c.
23620
dc96c6c7 23621Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23622
23623 * gdb.base/help.exp: Update to reflect current text.
23624
23625Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
23626
23627 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
23628 they're stack variables and contain garbage.
23629 * gdb.c++/anon-union.exp: new file.
23630
23631 The following changes were made by David Taylor
889bf7c5
PA
23632 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23633 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23634 in changes by HP.
c906108c
SS
23635
23636 * gdb.base/bitops.exp: new file.
23637 * gdb.base/default.exp: change expected messages for catch and
23638 info catch tests to reflect HP merge changes.
23639 * gdb.base/enable-disable-break.exp
23640 * gdb.base/ending-run.c: new file.
23641 * gdb.base/long_long.c: new file.
23642 * gdb.base/maint.exp: new file.
23643 * gdb.base/pointers2.exp: new file.
23644 * gdb.base/shlib-call2.exp: new file.
23645 * gdb.base/solib.exp: new file.
23646 * gdb.base/step-test.c: new file.
23647 * gdb.c++/anon-union.cc: new file.
23648 * gdb.c++/local.cc: new file.
23649 * gdb.c++/member-pointer.cc: new file.
23650 * gdb.c++/method.cc: new file.
23651 * gdb.c++/ref-types.cc: new file.
23652 * gdb.c++/ref-types2.cc: new file.
23653 * gdb.c++/userdef.cc: new file.
d63a86f8 23654
c906108c
SS
23655 * gdb.base/scope.exp: compile one file at a time, then link.
23656 * gdb.base/langs.exp: ditto.
23657 * gdb.base/list.exp: ditto.
d63a86f8 23658
c906108c
SS
23659Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
23660
23661 The following changes were made by David Taylor
889bf7c5
PA
23662 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23663 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23664 in changes by HP.
d63a86f8 23665
c906108c
SS
23666 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
23667 skip tests. When compiling pass c++ flag to gdb_compile.
23668 * gdb.c++/
d63a86f8 23669
c906108c
SS
23670 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
23671 test for on hppa*-*-hpux*; use args to see if c++ was specified.
23672 (skip_hp_tests): new function.
23673 (gdb_preprocess): new function.
23674
23675 * configure.in (hpdir): decide whether to configure gdb.hp.
23676 * configure: regenerated.
23677
23678 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
23679 to delete on clean.
23680 (EXECUTABLES): update to reflect new additions.
23681 * gdb.base/commands.exp: update message expected.
23682 * gdb.base/default.exp: add copyright notice.
23683 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
23684 * gdb.base/help.exp: update messages to reflect current text.
23685 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
23686 targets for recurse tests.
23687 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
23688 skip this file.
23689
23690 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
23691 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
23692 compilation.
23693 * gdb.c++/misc.exp: ditto.
23694 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
23695 run the tests. tell gdb_compile that it's a c++ compilation.
23696
23697 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 23698
c906108c
SS
23699 * gdb.base/all-bin.exp: new file.
23700 * gdb.base/arithmet.exp: new file.
23701 * gdb.base/assign.exp: new file.
23702 * gdb.base/completion.exp: new file.
23703 * gdb.base/cond-expr.exp: new file.
23704 * gdb.base/condbreak.exp: new file.
23705 * gdb.base/define.exp: new file.
23706 * gdb.base/dollar.exp: new file.
23707 * gdb.base/environment.exp: new file.
23708 * gdb.base/eval-skip.exp: new file.
23709 * gdb.base/jump.exp: new file.
23710 * gdb.base/logical.exp: new file.
23711 * gdb.base/pointers.exp: new file.
23712 * gdb.base/relational.exp: new file.
23713 * gdb.base/section_command.exp: new file.
23714 * gdb.base/whatis-expr.exp: new file.
23715
23716 * gdb.base/all-types.c: new file.
23717 * gdb.base/call-array-struct.c: new file.
23718 * gdb.base/call-return-struct.c: new file.
23719 * gdb.base/call-strings.c: new file.
23720 * gdb.base/callfuncs2.c: new file.
23721 * gdb.base/condbreak.c: new file.
23722 * gdb.base/constvars.c: new file.
23723 * gdb.base/display.c: new file.
23724 * gdb.base/int-type.c: new file.
23725 * gdb.base/jump.c: new file.
23726 * gdb.base/miscexprs.c: new file.
23727 * gdb.base/pointers.c: new file.
23728 * gdb.base/pointers2.c: new file.
23729 * gdb.base/shmain.c: new file.
23730 * gdb.base/shr1.c: new file.
23731 * gdb.base/shr2.c: new file.
23732 * gdb.base/solib.c: new file.
23733 * gdb.base/solib1.c: new file.
23734 * gdb.base/solib2.c: new file.
23735 * gdb.base/varargs.c: new file.
23736 * gdb.c++/derivation.cc: new file.
23737 * gdb.c++/overload.cc: new file.
23738 * gdb.c++/ovldbreak.cc: new file.
23739 * gdb.hp/attach.c: new file.
23740 * gdb.hp/attach2.c: new file.
23741 * gdb.hp/average.c: new file.
23742 * gdb.hp/compiler.c: new file.
23743 * gdb.hp/compiler.cc: new file.
23744 * gdb.hp/execd-program.c: new file.
23745 * gdb.hp/follow-exec.c: new file.
23746 * gdb.hp/follow-fork.c: new file.
23747 * gdb.hp/follow-vfork-and-exec.c: new file.
23748 * gdb.hp/misc-hp.cc: new file.
23749 * gdb.hp/more-steps.c: new file.
23750 * gdb.hp/optimize.c: new file.
23751 * gdb.hp/quicksort.c: new file.
23752 * gdb.hp/run-hp.c: new file.
23753 * gdb.hp/start-stop.c: new file.
23754 * gdb.hp/sum.c: new file.
23755 * gdb.hp/templates-hp.cc: new file.
23756 * gdb.hp/thread-local-in-lib.c: new file.
23757 * gdb.hp/thread-local-in-lib.h: new file.
23758 * gdb.hp/thread-local-in-lib.lib.c: new file.
23759 * gdb.hp/vforked-program.c: new file.
23760 * gdb.hp/virtfunc-hp.cc: new file.
23761 * gdb.hp/watchpoint-hp.c: new file.
23762 * gdb.hp/xdb.c: new file.
23763 * gdb.hp/xdb0.c: new file.
23764 * gdb.hp/xdb0.h: new file.
23765 * gdb.hp/xdb1.c: new file.
23766
23767Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
23768
23769 The following change was made by Edith Epstein
889bf7c5
PA
23770 <eepstein@cygnus.com> as part of a project to merge in changes
23771 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
23772
23773 * gdb.c++/demangle.exp: changed the expected output for some
23774 ARM-style mangling -- removed second reference to datatype.
889bf7c5 23775 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 23776 T1<char>::~T1<char>(void)
c906108c 23777 becomes,
a9c64011
AS
23778 maint demangle __dt__11T1__pt__2_cFv
23779 T1<char>::~T1(void)
c906108c 23780
889bf7c5 23781 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 23782
c906108c
SS
23783Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
23784
23785 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
23786 * gdb.trace/backtrace.exp: Likewise.
23787 * gdb.trace/circ.exp: Likewise.
23788 * gdb.trace/collection.exp: Likewise.
23789 * gdb.trace/deltrace.exp: Likewise.
23790 * gdb.trace/infotrace.exp: Likewise.
23791 * gdb.trace/limits.exp: Likewise.
23792 * gdb.trace/packetlen.exp: Likewise.
23793 * gdb.trace/passc-dyn.exp: Likewise.
23794 * gdb.trace/passcount.exp: Likewise.
23795 * gdb.trace/report.exp: Likewise.
23796 * gdb.trace/save-trace.exp: Likewise.
23797 * gdb.trace/tfind.exp: Likewise.
23798 * gdb.trace/tracecmd.exp: Likewise.
23799 * gdb.trace/while-dyn.exp: Likewise.
23800 * gdb.trace/while-stepping.exp: Likewise.
23801
238021998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
23803
23804 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
23805
23806Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
23807
23808 From Brendan Kehoe:
23809 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
23810 int return types.
23811
23812Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
23813
23814 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 23815 remote dos host testing right.
c906108c
SS
23816
23817Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
23818
23819 * gdb.base/corefile.exp: remove some xfails.
23820
23821Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
23822
23823 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 23824 have different timestamps.
c906108c
SS
23825
23826Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
23827
23828 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 23829 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
23830
23831Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
23832
23833 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 23834 delta.
c906108c
SS
23835
23836Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
23837
23838 * gdb.base/default.exp: Add brace missing from previous delta.
23839
23840Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
23841
23842 * gdb.base/default.exp: Support test for info float for all
23843 varieties of arm toolchain.
23844
dc96c6c7 23845Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23846
23847 * gdb.trace/*.exp: remove "remote_download" command.
23848
dc96c6c7 23849Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23850
23851 * gdb.trace/*.exp: remove -gdwarf from compile.
23852
23853Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
23854
23855 * gdb.trace/configure.in(AC_INIT): typo
23856 * gdb.trace/configure: regenerated
23857
dc96c6c7 23858Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23859
23860 * config/m68k-emc.exp: New file.
23861 * lib/<emc-support.exp trace-support.exp}: New files.
23862 * configure.in: add new test directory gdb.trace.
23863 * gdb.trace/{configure configure.in Makefile.in}: New files.
23864 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
23865 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
23866 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
23867 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
23868 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
23869 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
23870 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 23871
dc96c6c7 23872Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23873
23874 * gdb.c++/classes.exp: Change all regular expressions to match
23875 arbitrary combinations of newline/carriage-return, so that they
23876 will work equally well on Unix and Windows.
23877 * gdb.c++/inherit.exp: ditto.
23878 * gdb.c++/virtfunc.exp: ditto.
23879
238801998-08-11 Dawn Perchik <dawn@cygnus.com>
23881
23882 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
23883
c2d11a7d
JM
23884Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
23885
23886 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
23887 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
23888 to use a0-a3/d0-d3 as needed.
23889
23890Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
23891
23892 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
23893 * gdb.disasm/am33.exp: Corresponding changes.
23894
c906108c
SS
238951998-07-11 Felix Lee <flee@cygnus.com>
23896
23897 * gdb.base/callfuncs.exp: add cmp10 test.
23898 * gdb.base/callfuncs.c (cmp10): new function.
23899
23900Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
23901
d63a86f8 23902 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
23903 into two parts to get around a synchronization problem in expect.
23904
3fc11d3e
JM
23905Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
23906
23907 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
23908
23909 * configure.in: Add options for gdbtk testsuite.
23910
23911 * configure: Regenerate.
23912
23913 * gdb.gdbtk: New directory to hold gdbtk tests.
23914
c906108c
SS
23915Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23916
23917 * gdb.fortran/types.exp: Escape brackets in expect patterns
23918 for test_float_literal_types_accepted tests.
23919 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
23920 before run test.
23921
c2d11a7d
JM
23922Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
23923
23924 * am33.exp: Just compile, do not link the testcase.
23925 * am33.s: Add ".am33" pseudoop to force am33 mode.
23926
c906108c
SS
239271998-06-25 Felix Lee <flee@cygnus.com>
23928
23929 * gdb.base/setshow.exp: make sure $pc is sane.
23930
23931 * gdb.stabs/weird.exp: split expect patterns properly.
23932
c2d11a7d
JM
23933Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
23934
23935 * gdb.disasm/am33.s: New disassembler testfile for the am33.
23936 * gdb.disasm/am33.exp: Run it.
23937
dc96c6c7 23938Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23939
23940 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
23941 match processing (and eliminate spurious timeouts when running).
23942
dc96c6c7 23943Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23944
23945 * gdb.base/signals.exp (test_handle_all_print): put back Mach
23946 exception test, but conditionalize it on target [mach | gnu].
23947
dc96c6c7 23948Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23949
23950 * gdb.base/overlays.exp: fixup compile line for linker script.
23951
23952Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
23953
23954 * gdb.fortran/types.exp: don't guess at float size.
23955
23956Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
23957
23958 * gdb.base/exprs.exp: delete test that depends on int size.
23959
23960Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
23961
23962 * config/sim.exp: Removed checks for target triplets.
23963 (gdb_target_sim): Use gdb,target_sim_options.
23964
23965Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
23966
23967 * gdb.base/reread.exp: New file.
23968 * gdb.base/reread1.c: New file.
23969 * gdb.base/reread2.c: New file.
23970
23971Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
23972
23973 * config/sim.exp: Use 'target sim -sparclite' when running
23974 SPARClite programs.
23975
23976Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
23977
23978 * gdb.base/structs2.exp: New file.
23979 * gdb.base/structs2.c: New file.
23980
23981Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
23982
23983 * gdb.asm/common.inc: New file.
23984 * gdb.asm/d10v.inc: New file.
23985 * asm-source.exp: Pass -I's to gas to find .inc files.
23986 Update line numbers in expected output.
23987 * asmsrc1.s: Rewrite.
23988 * asmsrc2.s: Rewrite.
23989 * configure.in: Create arch.inc symlink.
23990 * configure: Regenerate.
23991 * Makefile.in (distclean): Delete arch.inc.
23992
23993Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
23994
23995 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
23996 (t_enum_value2): ditto
23997 (t_enum_value3): ditto
23998 (main): ditto
c906108c
SS
23999Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24000
24001 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
24002 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
24003 change.
24004 Use gdb_test instead of send_gdb/gdb_expect sequences.
24005
24006Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
24007
24008 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
24009 not void.
24010
24011Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
24012
24013 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
24014 subroutines. Used to test gdbs ability to single step through PC
24015 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
24016
24017Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
24018
24019 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
24020 more rigorous EGCS C++ error checking.
24021
24022Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24023
a9c64011
AS
24024 * gdb.base/help.exp: Clean up `help set args' and `help show args'
24025 tests.
24026 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
24027 function when asleep.
24028 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
24029 for i*86 Linux and SVR4 signal handling problems.
24030 Remove linux xfail for `next to handler in signals_tests_1', fixed
24031 by recent infrun.c change.
24032 Limit backtrace to 10 frames to avoid timeout problems with infinite
24033 stack backtraces.
24034 Adjust expect pattern in `handle all print' test to match Apr 28 1997
24035 target.[ch] change.
c906108c
SS
24036
24037Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
24038
24039 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
24040 for a newline from gdb before continuing.
24041 (default_gdb_exit): Just look for y or n.
24042 (gdb_test): Detect abnormal exit from GDB running on DOS; if
24043 it does, fail the rests of the tests in the file.
24044
24045Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
24046
24047 * config/cygmon.exp: New file.
24048
24049Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
24050
24051 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 24052 main" test on remote targets.
c906108c
SS
24053
24054 * gdb.base/scope.exp: Fix problem with filelocal_bss before
24055 run test on remote targets.
24056
24057Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
24058
24059 * gdb.asm: New directory.
24060 * configure.in: Configure it.
24061 * configure: Regenerate.
24062 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
24063 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
24064
24065Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
24066
24067 * config/mn10300-eval.exp: New file to support MN10300 eval board.
24068
dc96c6c7 24069Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 24070
a9c64011
AS
24071 * gdb.base/overlays (several files): Merge the two overlay
24072 managers into one. Change variables (foox, barx, bazx, grbxx)
24073 back into ints but force them to load in their proper sections.
c906108c
SS
24074
24075Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
24076
24077 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 24078 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
24079 (D10VCopy): Handle memory regions crossing 16k boundaries.
24080 (D10VCopy): Transfer data in 32 bit chunks.
24081
24082Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
24083
24084 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 24085 correct.
c906108c
SS
24086
24087 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 24088 map. Include space for printf in .text segment.
c906108c
SS
24089
24090 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 24091 updated d10v memory VMA/LMA map.
c906108c 24092 (D10VCopy): Call D10VTranslate.
d63a86f8 24093
c906108c
SS
24094Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
24095
24096 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
24097
24098 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
24099 that it won't be put into the .sdata - small data -
24100 section. Update reference.
c906108c
SS
24101 * gdb.base/baz.c (bazx, baz): Ditto.
24102 * gdb.base/foo.c (foox, foo): Ditto.
24103 * gdb.base/grbx.c (grbxx, grbx): Ditto.
24104
24105 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 24106 to be arrays.
d63a86f8 24107
dc96c6c7 24108Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 24109
a9c64011
AS
24110 * gdb.base/overlays.exp: fix up and get working again.
24111 Add tests for backtraces from an overlay function.
d63a86f8 24112
c906108c
SS
24113Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
24114
24115 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
24116 "calling function with watchpoint enabled".
24117
24118Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
24119
24120 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 24121 gdb_suppress_tests for d10v-*-*.
c906108c
SS
24122 * lib/gdb.exp (gdb_suppress_tests): Disable this function
24123 pending review of whether it is useful or not.
24124
24125Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
24126
24127 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
24128
24129Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
24130
24131 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
24132 * config/dve.exp: New file to support Densan boards.
24133
24134Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
24135
24136 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 24137 reads and BSD.
c906108c
SS
24138
24139Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
24140
24141 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
24142 response.
24143
24144 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
24145
24146Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
24147
24148 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 24149 test.
c906108c
SS
24150
24151 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 24152 target_sizeof_long and target_bigendian_p.
c906108c 24153 (structs_by_value, structs_by_reference): Check values according
889bf7c5 24154 to targets word size and endianess.
d63a86f8 24155
c906108c
SS
24156Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
24157
24158 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 24159 output.
c906108c
SS
24160
24161Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
24162
24163 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 24164 Update test of set args help to match source change.
c906108c
SS
24165
24166Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
24167
24168 * gdb.base/default.exp: Expect help system output to be in
24169 alphabetical order.
24170 * gdb.base/help.exp: Ditto.
24171
24172Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
24173
24174 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
24175 "i*86-pc-linux-gnu*".
24176 * gdb.base/interrupt.exp: Ditto.
24177 * gdb.base/corefile.exp: Ditto.
24178
24179 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 24180 define vxworks when building the testcase.
c906108c
SS
24181
24182 * gdb.base/ptype.exp: Fix testnames to be unique.
24183 * gdb.base/radix.exp: Ditto.
24184 * gdb.base/term.exp: Ditto.
24185 * gdb.base/whatis.exp: Ditto.
24186 * gdb.c++/classes.exp: Ditto.
24187
24188Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
24189
24190 * gdb.base/callfuncs.exp: Fix indentation.
24191
24192 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
24193 suppress_flag has been set.
24194 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
24195 target feature.
24196
24197Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
24198
24199 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
24200 the testcase.
24201
24202 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 24203 set_debug_traps() and breakpoint().
c906108c
SS
24204 * gdb.c++/misc.cc (main): Ditto.
24205 * gdb.c++/templates.cc (main): Ditto.
24206 * gdb.c++/virtfunc.cc (main): Ditto.
24207
24208Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
24209
24210 * lib/gdb.exp(gdb_step_for_stub): New function.
24211 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
24212 exists, reload the executable and do a "continue" instead of
24213 doing a jump.
24214 (runto_main): Use gdb_step_for_stub.
d63a86f8 24215
c906108c 24216 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 24217 tests to have unique names.
c906108c
SS
24218 * gdb.base/callfuncs.exp: Ditto.
24219 * gdb.base/commands.exp: Ditto.
24220 * gdb.base/default.exp: Ditto.
24221 * gdb.base/help.exp: Ditto.
24222 * gdb.base/list.exp: Ditto.
24223 * gdb.base/opaque.exp: Ditto.
24224 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
24225 similar tests.
d63a86f8 24226
c906108c
SS
24227 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
24228 * gdb.c++/cplusfuncs.cc: Ditto.
24229 * gdb.c++/virtfunc.cc: Ditto.
24230
24231 * config/monitor.exp: Keep track of the last file we saw, rather
24232 than trying to get the info from gdb.
24233
24234 * gdb.fortran/types.exp: Move comment to previous line.
24235
24236Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
24237
24238 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 24239 target mode.
c906108c
SS
24240
24241Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
24242
24243 From Bob Manson:
24244 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 24245 string from GDB when it connects.
c906108c
SS
24246
24247 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
24248
24249Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
24250
24251 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
24252 if we can't get a debug format from GDB (we may be testing an
24253 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
24254
24255 * gdb.stabs/weird.exp: Fix quoting.
24256
24257 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
24258
24259Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
24260
24261 * config/arm-ice.exp: New file.
24262
24263Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
24264
24265 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 24266 until it has been modified to work with the new testsuite.
c906108c 24267
99707966 24268 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
24269 testcase won't compile, cause all of the testcases in the file to
24270 fail instead.
c906108c
SS
24271
24272 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
24273 (gdb_clear_suppressed): New procedure.
24274 (gdb_stop_suppressing_tests): Only clear suppress_flag if
24275 it contains a positive value.
24276
24277Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
24278
24279 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
24280
24281 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
24282
24283Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
24284
24285 * lib/gdb.exp (setup_xfail_format): New function.
24286 (get_debug_format): New function to get debug format.
24287 (debug_format): New global variable to hold last value set
24288 by get_debug_format.
24289 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 24290 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
24291 * gdb.c++/ptype.exp: Ditto.
24292 * gdb.c++/classes.exp: Ditto.
24293 * gdb.c++/cplusfuncs.exp: Ditto.
24294 * gdb.c++/inherit.exp: Ditto.
24295 * gdb.c++/templates.exp: Ditto.
24296 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 24297
c906108c
SS
24298Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
24299
24300 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
24301 host doesn't have a currently-open connection.
24302
24303 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
24304 any gdb stub target. Handle cases where gdb doesn't respond when
24305 interrupted in a sane fashion.
c906108c
SS
24306
24307 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 24308 same thing in a totally different way.
c906108c
SS
24309
24310 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 24311 setting "timeout".
c906108c 24312 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 24313 default_gdb_init now.
c906108c
SS
24314
24315Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
24316
24317 * gdb.base/printcmds.exp: Fix "check for floating addition"
24318 regexp to accept results within approx +/- .01 of exact value.
24319 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
24320
24321Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
24322
24323 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 24324 properly.
c906108c
SS
24325 (gdb_expect): Add optional timeout parameter, and add timeout
24326 value to various calls.
24327 (gdb_suppress_tests): Only give one warning message per group.
24328
24329Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
24330
24331 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
24332 global variables. Handle getting a value for $timeout more
24333 gracefully.
c906108c
SS
24334
24335Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24336
24337 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 24338 initialize.
c906108c 24339 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 24340 by a target configuration file.
c906108c
SS
24341 (gdb_expect): Pass the timeout to remote_expect.
24342
24343 * config/monitor.exp(gdb_load): Fix typo in regexp.
24344
24345Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
24346
24347 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
24348
24349Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
24350
24351 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
24352 here. Call gdb_target_exec before rebooting the target, to make
24353 sure the connection to the target is closed.
c906108c
SS
24354 (gdb_load): Pass the name of the executable to gdb_target_monitor.
24355 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
24356 Also detect "Timeout reading from remote" error.
24357
24358 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
24359 gdb_target_monitor. Don't call gdb_file_cmd here; let
24360 gdb_target_monitor do it.
c906108c
SS
24361
24362 * gdb.disasm/hppa.exp: Don't use exec_output.
24363
24364Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
24365
24366 * gdb.base/list.exp: If we're debugging a non-native target,
24367 try to set the pc register to point to the start of the
24368 program before doing the first list command.
24369
24370 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 24371 test_calls after restarting.
c906108c
SS
24372
24373 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 24374 reloading.
c906108c
SS
24375
24376 * gdb.base/watchpoint.exp: Fix typo.
24377
24378 * gdb.base/setshow.exp: Check for use_gdb_stub.
24379
24380 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 24381 stub case.
c906108c
SS
24382 * gdb.base/langs.exp: Ditto.
24383
24384 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
24385 gdb_load_offset. If we weren't given a file to load, figure out
24386 what the current file is and use it.
c906108c
SS
24387
24388 * config/i386-bozo.exp: New file.
24389
24390Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
24391
24392 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
24393 feature.
24394
24395 * config/proelf.exp: New entry.
24396
24397Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
24398
24399 * lib/gdb.exp: Remove spurious .* patterns at the beginning
24400 of regexps.
24401
24402 * gdb.base/watchpoint.exp: Don't run the test_stepping
24403 tests if gdb can't call functions on the target.
24404
24405 * gdb.base/setshow.exp: Don't run the set prompt tests if
24406 the board has gdb_prompt set.
24407
24408Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
24409
24410 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
24411 * gdb.base/commands.exp: Likewise.
24412 * gdb.base/setshow.exp: Likewise.
24413
24414Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
24415
24416 * config/monitor.exp(gdb_start): Look for gdb_prompt target
24417 feature.
24418
24419 * config/i960.exp: New file.
24420
24421Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
24422
24423 * gdb.base/funcargs.exp: Check for gdb,short_int target
24424 feature instead of looking for explicit target triplets.
24425
dc96c6c7 24426Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 24427
d63a86f8 24428 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
24429 "p 123DEADBEEF", to check parse_number.
24430 * top.c: change "to enable to enable" to "to enable" in a couple
24431 of help strings.
24432
24433Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
24434
24435 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
24436 on the mn10300.
d63a86f8 24437
c906108c
SS
24438Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
24439
24440 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
24441 where the test executable is run with explicit args.
24442 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
24443
24444Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
24445
24446 * gdb.base/run.c: Use FAKEARGV to build test executable that
24447 does not require a command line arg, since most simulators
24448 don't currently support passing such an arg into the simulated
24449 program.
24450 * gdb.base/commands.exp: Change tests to insert the proper
24451 value as the arg to the first recursive factorial call. Change
24452 compilation line to define FAKEARGV at compile time.
24453
24454Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
24455
24456 * gdb.base/recurse.exp: Enable these tests for the mn10300.
24457 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
24458 function with watchpoint enabled" test.
24459
24460Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
24461
24462 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 24463 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
24464
24465 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 24466 "Tests restarted" messages.
c906108c
SS
24467
24468Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
24469
24470 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
24471
dc96c6c7 24472Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24473
24474 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
24475 for INFO SYMBOL; add help tests for OVERLAY commands.
24476 * gdb.base/default.exp: add tests for INFO SYMBOL command;
24477 add tests for OVERLAY commands
24478 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
24479 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
24480 * gdb.base/sigall.c: add usestubs code frag
24481 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 24482
c906108c
SS
24483Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
24484
24485 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
24486 failures.
24487 (gdb_stop_suppressing_tests): Note that tests have restarted.
24488
24489Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
24490
24491 * config/h8300.exp: New file.
24492
24493Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
24494
24495 * gdb.base/setshow.exp: Check for the existence of a
24496 feature, not its value.
24497
24498Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
24499
24500 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
24501
24502 * gdb.base/scope.exp: It's now init0(), not init().
24503
24504 * gdb.base/scope0.c: For now, change init() to be init0().
24505
24506 * config/monitor.exp: Use gdb_serial in preference to serial
24507 or netport.
24508
24509 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 24510 and it's not already set.
c906108c
SS
24511
24512Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
24513
24514 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 24515 isn't using a stub and if it supports argument passing.
c906108c
SS
24516
24517Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
24518
24519 * config/udi.exp(gdb_start): Make sure UDICONF is set
24520 properly before starting gdb.
24521
24522Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
24523
24524 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
24525 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
24526 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
24527
24528Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
24529
24530 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 24531 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
24532
24533 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
24534
24535 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
24536
24537 * config/monitor.exp: Make sure we disconnect from the target.
24538 Also, try a reboot/reload cycle instead of failing if the
24539 load fails.
24540
24541Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
24542
24543 * gdb.base/default.exp: Don't set match_max.
24544 * gdb.base/help.exp: Ditto.
24545 * gdb.base/list.exp: Ditto.
24546 * gdb.base/signals.exp: Ditto.
24547
24548 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
24549 set, use remote_ld to download the testcase instead of
24550 the GDB loader.
24551
24552Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
24553
24554 * config/vr5000.exp: New file.
24555
24556 * config/monitor.exp(gdb_target_monitor): Add pattern for
24557 "Ending remote" to detect errors in connecting.
24558
24559 * gdb.base/setshow.exp: Add .* within auto language test.
24560
24561 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
24562 target feature.
24563
24564 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 24565 and reboot the board if necessary.
c906108c
SS
24566
24567 * gdb.base/setvar.exp(test_set): Handle multiple prints within
24568 a set of tests. Remove print.* from the patterns being checked.
24569
24570Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
24571
24572 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
24573 refer to gdb_spawn_id.
24574
24575 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
24576 longer used.
24577 * config/sparclet.exp: Ditto.
24578 * config/sparclet-old.exp: Ditto.
24579 * config/slite.exp: Ditto.
24580 * config/sim.exp: Ditto.
24581 * gdb.base/funcargs.exp: Ditto.
24582
24583 * lib/gdb.exp:Remove references to gdb_spawn_id.
24584 (gdb_expect): Move to remote.exp.
24585
24586Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
24587
24588 * config/monitor.exp: Detect the "Couldn't establish connection"
24589 message from GDB.
24590
24591Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
24592
24593 * gdb.base/bitfields.exp: Use runto instead of explicit
24594 gdb_run_cmd/gdb_expect sequences.
24595
24596 * gdb.base/break.exp(text_next_with_recursion): Add match for
24597 gdb_expect call.
24598
24599 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
24600 We also need to handle the "A program is being debugged already"
24601 prompt from gdb. Use gdb_test to set the baud rate.
24602
24603 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
24604 to 20000. Really. I mean it.
24605
24606Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24607
24608 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
24609 fails. If suppress_flag is set, skip perror message about not
24610 being able to send to GDB.
c906108c 24611 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 24612 GDB.
c906108c
SS
24613 (gdb_expect): If suppress_flag is set, always fail immediately.
24614 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
24615 (gdb_init): Call gdb_stop_suppressing_tests.
24616 (default_gdb_exit): Ditto.
24617 (default_gdb_start): Ditto.
24618
24619 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 24620 gdb_stop_suppressing_tests as appropriate.
c906108c 24621 * gdb.base/break.exp: Ditto.
889bf7c5 24622 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
24623 * gdb.base/commands.exp: Ditto.
24624 * gdb.base/exprs.exp: Ditto.
889bf7c5 24625 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
24626 * gdb.base/list.exp: Ditto.
24627 * gdb.base/recurse.exp: Ditto.
889bf7c5 24628 * gdb.base/scope.exp: Ditto.
c906108c
SS
24629 * gdb.base/structs.exp: Ditto.
24630 * gdb.c++/inherit.exp: Ditto.
24631
24632Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
24633
24634 * config/vr4300.exp: New file.
24635
99707966 24636 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 24637
99707966 24638 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
24639
24640Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
24641
24642 * lib/gdb.exp(gdb_init): New function.
24643
24644 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 24645 for each individual variable set.
c906108c
SS
24646
24647 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
24648 name.
24649
24650 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
24651
24652 * gdb.base/scope.exp: Use gdb_test.
24653
24654 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
24655 aborting; the testsuite driver will do that for us (see
24656 gdb_finish). Also, use gdb_test in a few more places.
24657
24658Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
24659
24660 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
24661
24662Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
24663
24664 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
24665 and "add_tests" are not at the same address.
24666
24667Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
24668
24669 * gdb.base/ptype.exp: Use gdb_test.
24670
24671Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
24672
24673 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
24674 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
24675 left in. No longer expect them to fail.
24676
24677 * gdb.stabs/*.mt; Deleted, no longer used.
24678 * gdb.stabs/configure.in: Remove references to target makefile
24679 frags.
24680 * gdb.stabs/configure: Rebuilt.
24681
24682 * gdb.disasm/*.mt: Deleted, no longer used.
24683 * gdb.disasm/configure.in: Remove references to target makefile
24684 frags. Use "sh3.s" as the unique filename for this directory.
24685 * gdb.disasm/configure: Rebuilt.
24686
24687 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
24688 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
24689 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
24690
24691Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
24692
24693 * config/udi.exp: Use mondfe,name instead of remote_host.
24694
24695Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
24696
24697 * gdb.base/watchpoint.exp: Don't expect a failure when calling
24698 a function with a watchpoint enabled on the mn10200.
24699
24700 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
24701 before trying to create it!
24702
24703Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
24704
24705 * config/vx.exp: Use hostname instead of netport.
24706
24707 * config/vxworks.exp: New file.
24708
24709 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
24710
24711 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 24712 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
24713 occurs.
24714
24715 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
24716 $gdb_spawn_id directly.
24717 (gdb_run_cmd): Try _start as well as start. Use the target feature
24718 gdb,start_symbol as the symbol to start from when jumping.
24719
24720Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
24721
24722 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
24723 redundant) test.
24724
24725 * gdb.base/recurse.exp: Relax final value test for 'b' so that
24726 it doesn't lose for 16bit integer systems.
24727
24728Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
24729
24730 * gdb.fortran/types.exp: If the target doesn't support "double"
24731 data types, then expect "real" types to only be 4 bytes.
24732
24733 * gdb.c++/virtfunc.exp: Expect failure for virtual function
24734 call tests if the target doesn't support inferior function calls.
24735
24736 * gdb.base/printcmds.exp: Allow minor deviation in FP values
24737 in printf tests.
24738
24739Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
24740
24741 * gdb.base/help.exp: Disable "help set", "help show", and
24742 "help support". Simplify regexp for "help stack".
24743
24744 * gdb.base/default.exp: Set match_max to 5000 and the timeout
24745 to 60 seconds. Temporarily set match_max to 15000 around the
24746 "info copying" test.
24747
24748 * gdb.base/nodebug.exp: Don't try to do an inferior function
24749 call if the target doesn't support them.
24750 * gdb.base/printcmds.exp: Likewise.
24751 * gdb.base/setvar.exp: Likewise.
24752 * gdb.base/structs.exp: Likewise.
24753 * gdb.c++/templates.exp: Likewise.
24754 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
24755
24756 * gdb.base/recurse.exp: Enable for the mn10200.
24757
24758 * configure.in: Do configure gdb.stabs directory for *-*-elf
24759 targets.
24760 * configure: Rebuilt.
24761
24762 * gdb.base/break.exp: Check for gdb,noresults before testing
24763 exit status and/or results from the target.
24764 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
24765 * lib/gdb.exp: Remove old (now bogus) initialization of
24766 noinferior, noargs, noresults and nosignals.
24767
24768Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
24769
24770 * config/sh.exp: New file.
24771
24772 * config/slite.exp: Try to connect multiple times to the board
24773 before rebooting. Only send a "monitor run" if need_monitor_run
24774 is set.
24775
24776 * gdb.base/break.exp: Don't do the "stub continue" test if
24777 the target has gdb_stub set.
24778
24779 * gdb.base/callfuncs.exp: Increase the timeout.
24780
24781 * gdb.base/interrupt.exp: Don't even try to compile the testcase
24782 if the target has gdb,noinferiorio set.
24783
24784 * gdb.base/list.exp: Increase match_max to 10000 characters.
24785
24786 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
24787
24788 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
24789 target.
24790
24791 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
24792
24793Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
24794
24795 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
24796 trying to delete the copy of gdb. Catch the file delete so we
24797 don't die if the delete fails; also, the file should be copied to
24798 the host, not to the build.
c906108c
SS
24799
24800Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
24801
24802 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 24803 parenthesis in case it contains multiple regexps separated
c906108c
SS
24804 with |.
24805
24806 * gdb.base/watchpoint.exp: Use gdb_test.
24807 * gdb.base/default.exp: Ditto.
24808
24809Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
24810
99707966 24811 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 24812
c906108c
SS
24813 * gdb.base/scope.exp: Use gdb_test.
24814 * gdb.c++/classes.exp: Ditto.
24815 * gdb.c++/inherit.exp: Ditto.
24816
24817Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
24818
24819 * gdb.base/crossload.exp: Don't use execute_anywhere, use
24820 remote_exec instead.
24821 * gdb.base/corefile.exp: Don't be ridiculous.
24822 * gdb.base/*.c: Add missing stub invocations.
24823
24824Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
24825
24826 * config/slite.exp: Miscellaneous fixes.
24827
24828 * lib/gdb.exp: Fix runto.
24829
24830 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
24831 the target.
24832
24833 * gdb.base/watchpoint.exp: Fix regexp.
24834
24835 * lib/gdb.exp(default_gdb_exit): Add a catch to the
24836 close and wait commands, as the descriptor may now be
24837 invalid. Always call "remote_close host".
24838
24839Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
24840
24841 Major rewrite for testsuite revision.
d63a86f8 24842
c906108c
SS
24843 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
24844 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
24845 instead of relying on spawn_id to always contain a valid
24846 spawn id.
24847 (get_compiler_info): New procedure to build the ${binfile}.ci
24848 file, instead of replicating this in N different places.
24849 (gdb_compile): New procedure.
d63a86f8 24850
c906108c 24851 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
24852 appropriate arguments) instead of compile. Use gdb_test in a lot
24853 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
24854 at the start of a testcase, as this is no longer done magically.
24855
24856 config/*-gdb.exp: Rename without the -gdb suffix.
24857
24858 config/mips.exp: Use remote_close instead of exit_remote_shell.
24859 config/monitor.exp: Use target_info instead of looking at
24860 baud, timeout, etc.
24861 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
24862
24863Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24864
24865 * gdb.c++/templates.exp (test_ptype_of_templates),
24866 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
24867 Update expect patterns for destructors and assignment operators
24868 to match corresponding c-typeprint.c changes.
24869 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
24870 to destructor breakpoint test, GDB should be able to set the
24871 destructor breakpoint without specifying arguments.
24872
24873Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
24874
24875 * gdb.threads/pthreads.exp: Change result for failure to compile due
24876 to lack of pthreads runtime support from an error to simply an
24877 unsupported test, per dejagnu standards.
24878
24879Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24880
24881 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
24882 where GDB exits to reduce pattern match time.
24883 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
24884
24885 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
24886
dc96c6c7 24887Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24888
24889 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
24890 * gdb.base/default.exp: ditto.
24891 * gdb.base/nodebug.exp: ditto.
24892 * gdb.base/printcmds.exp: ditto.
24893 * gdb.base/ptype.exp: ditto.
24894 * gdb.base/setvar.exp: ditto.
24895 * gdb.base/structs.exp: ditto.
24896 * gdb.base/setshow.c: Guard against uninitialized values of argc.
24897
24898Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
24899
24900 * configure, */configure: Rebuild with autoconf 2.12.
24901
24902Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
24903
24904 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
24905 use new i*86-pc-linux*-gnu quads.
24906 * gdb.base/corefile.exp: Ditto.
24907 * gdb.base/signals.exp: Ditto.
24908 * gdb.base/sigall.exp: Ditto.
24909 * gdb.base/interrupt.exp: Ditto.
24910
24911 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
24912 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
24913 RedHat 4.0.
d63a86f8 24914
c906108c 24915 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
24916 linux. This allows the test case to at least compile on latest
24917 linux, but still not run due to missing the threads runtime library.
c906108c
SS
24918
24919Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24920
24921 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
24922 directory to search gdb directory. Accept and step over conditional
24923 stack alignment code. Consume $prompt in failure cases.
24924 Reset timeout to $oldtimeout instead of some arbitrary value.
24925 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
24926 timeout problems with infinite stack backtraces.
24927 * gdb.base/ptype.exp (ptype struct link, union tu_link):
24928 Accept function parameters for linkfunc member.
24929
24930Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
24931
24932 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
24933 (CXXFLAGS): Remove, unreferenced.
24934 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
24935 previous -B options and also add -B option to pick up cross compiled
24936 runtime.
c906108c
SS
24937 (TARGET_INCLUDES): Add for -I options and add code to initialize when
24938 doing cross compiles.
24939 (target_alias): Declare global.
24940 (xgcc): Set variable to full path of gcc in build tree. Use findfile
24941 to verify that gcc exists in build tree, and if so set CC to that
24942 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 24943
c906108c
SS
24944Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
24945
24946 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
24947 ptype test for anonymous union. Fixup testcase to match
24948 current gcc debug output.
24949
24950Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
24951
24952 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
24953 force argument to an unsigned long type.
24954
24955Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
24956
24957 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 24958 tests and anonymous union print/ptype tests.
c906108c
SS
24959 * gdb.base/list.exp (test_forward-search): Increase timeout by
24960 5 minutes for the "search extremely long line" case.
24961 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
24962 completely optional and that the pass/fail messages use the command as
24963 the message if that third arg is a null string.
24964 (gdb_test_exact): Arrange that a null string pattern means match a
24965 null string output rather than any output, which might include random
889bf7c5 24966 errors.
c906108c
SS
24967 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
24968 backtrace test.
24969 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
24970 always failing and failure is now exposed by gdb.exp changes.
24971
24972Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
24973
24974 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
24975 weren't being noted.
24976
24977Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24978
24979 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
24980 * gdb.stabs/weird.exp: Remove v_comb xfails.
24981
dc96c6c7 24982Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24983
24984 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 24985 list.exp scope.exp watchpoint.exp]
c906108c 24986 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 24987
dc96c6c7 24988Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24989
24990 * config/monitor.exp: Increase download timeout to 1000 seconds.
24991
dc96c6c7 24992Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24993
24994 * config/m32r.exp: Increase timeout to 120 seconds.
24995
24996Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
24997
24998 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
24999 and accept older ordering as obsolescent gcc or gdb.
25000 * gdb.c++/templates.exp: Ditto.
25001 * gdb.c++/virtfunc.exp: Ditto.
25002
25003Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
25004
25005 * gdb.base/coremaker.c: Add code to mmap some data so we
25006 can check that it ends up in the core file.
25007 * gdb.base/corefile.exp: Add test to read mmapped data
25008 from core file.
25009
dc96c6c7 25010Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25011
25012 * config/m32r.exp: New file.
25013
25014Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
25015
25016 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
25017 that cflags can contains -gstabs, and work correctly for other tests.
25018
dc96c6c7 25019Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25020
25021 * gdb.base/setshow.exp: New file, tests show and set.
25022 * gdb.base/setshow.c: New file, tests show and set.
25023 * gdb.base/help.exp: Add test for help set|show annotate.
25024 * gdb.base/default.exp: Add test for set|show annotate.
25025
25026Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
25027
25028 * testsuite/gdb.base/break.exp: Make backtrace from factorial
25029 errors unique.
25030 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
25031 explicitly.
25032
25033Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
25034
25035 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
25036 and width commands. This is done elsewhere.
25037 * (gdb_start): Don't call gdb_start_sim here. That's already
25038 done in gdb_load. This fixes lots of failures in default.exp.
25039
25040Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
25041
25042 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
25043 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
25044 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
25045 in the same we we treat other failures (since it may be an expected
889bf7c5 25046 condition), rather than as an error.
c906108c
SS
25047 * gdb.base/signals.exp (test_handle_all_print): Revert back to
25048 old test format.
25049
25050Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
25051
25052 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
25053 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 25054 twice. Nuke the duplicates.
c906108c 25055 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 25056 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
25057 Remove config.h along with other config files.
25058
25059Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
25060
25061 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
25062 "p func1 ()" and note that rests of tests are skipped.
25063 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 25064 setup_xfails for "print func2::coremaker_local".
c906108c
SS
25065 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
25066 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
25067 affected by the previous run test.
25068 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
25069 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
25070 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
25071 "pass int powerset tuple" and "pass modeless int powerset tuple".
25072 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
25073 "real write 4" and "real write 8".
25074 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 25075 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
25076 "print \$i after tuple assign 2", and
25077 "print vs2 after tuple assign 2".
25078 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
25079 meaningful error message and return -1 so the caller can
25080 suppress further tests and avoid a cascade of errors.
d63a86f8 25081
c906108c
SS
25082Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
25083
25084 * gdb.base/a1-selftest.exp: Tweak tests to account for new
25085 format for printing version.
25086 * gdb.base/default.exp: Ditto.
25087 * gdb.base/interrupt.exp: Fix problem with cascade of
25088 errors if child process dies while calling a function.
d63a86f8 25089
c906108c
SS
25090Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
25091
25092 * Makefile.in (VPATH): Add
25093 * Makefile.in (Makefile, config.status): Fix rules so things get
25094 remade when necessary.
25095
25096Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
25097
25098 * Makefile.in (just-check): Add path to sibling expect dir
25099 to environment variable specified by RPATH_ENVVAR.
25100
25101Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
25102
25103 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
25104 (just-check): Add shared library paths for libstdc++, tk,
25105 tcl, bfd, and opcodes to the environment variable specified
25106 in RPATH_ENVVAR.
25107 * configure.in: Add support to recognize --enable-shared flag
25108 and generate correct value for RPATH_ENVVAR.
25109 * configure: Regenerated with autoconf.
25110
25111Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
25112
25113 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 25114 include all osf versions.
c906108c
SS
25115 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
25116 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
25117 when target is linux. When failing to build pthreads test
25118 executable, give more meaningful message.
25119 * gdb.threads/pthreads.c: Hpux also uses old definition of second
25120 arg for pthread_create.
d63a86f8 25121
c906108c
SS
25122Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
25123
25124 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 25125 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 25126 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 25127 and -lpthreads (everybody else).
c906108c
SS
25128 (test_startup): Fail gracefully if threads are not supported.
25129 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
25130 "p/c array_index("abcdef",2)" when not gcc compiled.
25131 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
25132 "print func2::coremaker_local" when not gcc compiled.
25133 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
25134 "ptype on opaque struct tagname (statically)",
25135 "ptype on opaque struct tagname (dynamically) 1", and
25136 "ptype on opaque struct tagname (dynamically) 2"
25137 for not compiled with gcc.
25138 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
25139 backtrace when compiled with gcc.
d63a86f8 25140 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
25141 than always return success.
25142
25143Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
25144
25145 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
25146
25147Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
25148
25149 * gdb.base/structs.exp: Undo last change.
25150
25151Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
25152
25153 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
25154 encapsulate all the steps/nexts done during self test, starting
25155 at main, and makes them less sensitive to optimization issues.
25156 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
25157 signal handler" test.
25158 * gdb.threads/pthreads.exp: Only run this for native configs.
25159 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
25160 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
25161 tests.
25162 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
25163 for "runto test_calls(void)" test.
d63a86f8 25164
c906108c
SS
25165Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
25166
25167 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
25168 and don't expect address info in breakpoint confirmations.
25169
25170Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
25171
25172 * gdb.base/list.exp (test_forward_search): Increase timeout
25173 temporarily by 60 seconds for searching extremely long line,
889bf7c5 25174 and then reset to old value when done. Increase expect input
c906108c
SS
25175 buffer to 10000.
25176
25177Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
25178
25179 * gdb.base/list.exp (test_forward_search): Fix to handle very
25180 long source line without overflowing expect's input buffer.
25181
25182Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
25183
25184 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
25185 "buffer_full".
25186
25187 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
25188 "buffer_full".
25189
25190 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
25191 "buffer_full".
25192
25193 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
25194 "buffer_full".
25195
25196Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
25197
25198 * configure.in (configdirs): Add gdb.threads.
25199 * configure: Regenerated with autoconf.
25200 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
25201 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
25202 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 25203
c906108c
SS
25204Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
25205
25206 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
25207
25208Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
25209
25210 * gdb.base/signals.exp (test_handle_all_print): Test separately for
25211 each signal's status in the output of "handle all print".
25212 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
25213 the \r\n sequence that immediately precedes the gdb prompt.
25214 * gdb.base/a1-selftest.exp: Save original timeout and restore
25215 after test.
25216
25217Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
25218
25219 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
25220 symbol.
25221
25222Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
25223
25224 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
25225
25226Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
25227
25228 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
25229 timeout by 60 seconds.
25230
25231Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
25232
25233 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
25234 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
25235 error return.
25236
25237Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
25238
25239 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
25240 gdb initialization, also report how long dejagnu waited. Restore
25241 old timeout before doing error return. Temporarily increase timeout
889bf7c5 25242 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
25243
25244Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
25245
25246 * lib/gdb.exp: Report timeout value for verbosity level 2.
25247 * config/gdbserver.exp: Ditto.
25248 * config/hppro.exp: Ditto.
25249 * config/mips-gdb.exp: Ditto.
25250 * config/monitor.exp: Ditto.
25251 * config/netware.exp: Ditto.
25252 * config/sim-gdb.exp: Ditto.
25253 * config/slite-gdb.exp: Ditto.
25254 * config/udi-gdb.exp: Ditto.
25255 * config/unix-gdb.exp: Ditto.
25256 * config/vx-gdb.exp: Ditto.
25257 * gdb.base/a1-selftest.exp: Ditto.
25258 * gdb.base/a2-run.exp: Ditto.
25259 * gdb.base/break.exp: Ditto.
25260 * gdb.base/corefile.exp: Ditto.
25261 * gdb.base/list.exp: Ditto.
25262 * gdb.base/recurse.exp: Ditto.
25263 * gdb.base/scope.exp: Ditto.
25264 * gdb.base/signals.exp: Ditto.
25265
25266Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25267
25268 * gdb.threads/Makefile.in (docdir): Removed.
25269
25270Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25271
25272 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 25273 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 25274 @srcdir@.
d63a86f8 25275 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
25276 autoconf 2.5 or higher.
25277 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
25278
25279Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
25280
25281 * configure: Regenerated.
25282 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
25283 avoid name clashes with SunOS headers.
25284
25285Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
25286
25287 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
25288
25289Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
25290
25291 * gdb.base/callfuncs.exp: Finish last change -- make sure the
25292 prototype information ends up in the compiler info file.
25293
25294Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
25295
25296 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
25297 attempting to regenerate it. Eliminate use of a temporary file
25298 and just generate the info file directly. Source it immediately,
25299 for consistency of use.
25300 * gdb.base/corefile.exp: Ditto
25301 * gdb.base/exprs.exp: Ditto.
25302 * gdb.base/funcargs.exp: Ditto.
25303 * gdb.base/langs.exp: Ditto.
25304 * gdb.base/list.exp: Ditto.
25305 * gdb.base/mips_pro.exp: Ditto.
25306 * gdb.base/nodebug.exp: Ditto.
25307 * gdb.base/opaque.exp: Ditto.
25308 * gdb.base/ptype.exp: Ditto.
25309 * gdb.base/scope.exp: Ditto.
25310 * gdb.base/setvar.exp: Ditto.
25311 * gdb.base/signals.exp: Ditto.
25312 * gdb.base/whatis.exp: Ditto.
25313 * gdb.c++/templates.exp: Ditto.
25314 * gdb.c++/virtfunc.exp: Ditto.
25315 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 25316 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
25317
25318Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25319
25320 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
25321 it got fixed by the recent lookup_minimal_symbol_by_pc change.
25322 Increase timeout, a lot of single stepping might be needed if the
25323 target has no hardware watchpoints.
25324
25325Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
25326
25327 * gdb.base/break.exp: Ignore compiler warnings when compiling
25328 break.c.
25329 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
25330 * gdb.base/default.exp: Add h8300 xfails. Handle messages
25331 from remote-sim.
25332 * gdb.base/exprs.exp: Add h8300 xfails.
25333 * gdb.base/funcargs.exp: Likewise.
25334 * gdb.base/nodebug.exp: Likewise.
25335 * gdb.base/printcmds.exp: Likewise.
25336 * gdb.base/ptype.exp: Likewise.
25337 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
25338 h8300 xfails.
d63a86f8 25339 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
25340 on the h8300.
25341 * gdb.base/funcargs.c: Explicitly make last constant argument to
25342 call_after_alloca_subr an unsigned long type.
25343 * gdb.base/return.c: Include stdio.h.
25344
25345Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
25346
25347 * config/abug.exp: New file for the older Motorola Bug monitor
25348 that runs on the mvme13x series VME boards.
25349 * config/monitor.exp: Use the new config array for target settings
25350 if they exist.
25351
25352Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
25353
25354 * sim-gdb.exp: Make the SH simulator allocate less space when
25355 it is targeted.
25356
25357Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
25358
25359 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
25360 test.
25361
25362Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
25363
25364 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
25365 "rs6000-*-*" for "list function in include file" when gcc compiled.
25366 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
25367 for "p ctable1[120]".
25368 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
25369 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
25370 Remove setup_xfail for "rs6000-*-*" for
25371 "print 'scope0.c'::filelocal before run".
25372 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
25373 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
25374 since some compilers don't allow both options to be given
25375 on the same command line. Create object file and move it.
d63a86f8 25376
c906108c
SS
25377Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
25378
25379 * gdb.base/corefile.exp: Always regenerate the core file, since
25380 we always regenerate the coremaker program. Detect special case
25381 where registers cannot be read from core file.
d63a86f8 25382
c906108c
SS
25383Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
25384
25385 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
25386 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
25387 * gdb.c++/templates.exp: Only match on basename of file since
25388 some formats like xcoff don't encode directory information.
25389 * gdb.stabs/weird.exp: Use the right sed script for powerpc
25390 and rs6000 AIX xcoff targets.
25391 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
25392 * configure: Regenerate.
25393 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
25394 here, rather than in distclean.
d63a86f8 25395
c906108c
SS
25396Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
25397
25398 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
25399 defined, and use it to compile the test case with -O2. The
25400 native compilation still uses no optimization.
25401 * gdb.base/mips_pro.c: Remove inline assembly code since
25402 it is compiled PIC by default, which results in assembler
25403 warnings that make the testsuite think the compilation
25404 was unsuccessful.
25405
25406Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
25407
25408 * gdb.c++/misc.exp: Add note to message for
25409 "print s.a for foo struct" that this is a known gcc 2.7.2
25410 and earlier bug.
25411
25412Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
25413
25414 * gdb.base/break.exp: Fix pattern for matching "Delete all
25415 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
25416 setup_xfail for deleting all breakpoints test. Fix various
25417 timeout messages to include "(timeout)".
25418 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
25419 for "p t_float_values2(3.14159,float_val2)".
25420 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
25421 for "continue to call2g" when gcc compiled.
25422 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
25423 "up to foo in langs.exp", "show language at foo in langs.exp",
25424 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
25425 and "show language at fsub in langs.exp".
25426 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
25427 "list line 1 in include file", "list message for lines past EOF",
25428 "list function in include file", "list list0.h:foo", and
25429 "list filename:function; nonexistant function".
25430 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
25431 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
25432 and "ptype t_char_array" to be for native cc only.
d63a86f8 25433
c906108c
SS
25434Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
25435
d63a86f8 25436 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 25437 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 25438 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
25439
25440Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
25441
25442 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
25443 "bt in signals.exp". This problem only appears when running
25444 the testsuite, and then only intermittently.
25445
25446Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
25447
25448 * gdb.base/return.exp (return_tests): Differentiate between
25449 two tests of continuing.
25450
25451Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
25452
25453 * */Makefile.in (maintainer-clean): Remove config.log.
25454 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
25455 * gdb.c++/Makefile.in (PROGS): Add inherit.
25456 (clean): Remove *.ci.
25457
25458Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
25459
25460 * gdb.c++/misc.cc: Add test code from Mike Stump.
25461 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
25462
25463Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
25464
25465 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
25466 to "alpha-*-osf2*" and add comment.
25467 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
25468 setup_xfail for "step over execarg initialization" and
25469 "step over corearg initialization".
c906108c
SS
25470 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
25471 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
25472 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 25473 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
25474 "print func2::coremaker_local", and "backtrace in corefile.exp".
25475 * gdb.base/signals.exp: Build and source signals.ci.
25476 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
25477 to be for gcc only.
25478 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 25479
c906108c
SS
25480Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25481
25482 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
25483 Feb 3 procfs.c change.
25484
25485Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
25486
25487 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
25488
25489Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
25490
25491 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
25492 from dejagnu's apparent default of 10 seconds, which gives random
25493 results when running the tests over NFS on moderately loaded systems.
25494 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
25495
25496Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
25497
25498 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
25499 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 25500 result reports.
c906108c
SS
25501
25502Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
25503
25504 * configure.in (CY_AC_PATH_TCLH): Remove.
25505 * configure: Regenerate.
25506
25507Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
25508
25509 * gdb.c++/Makefile.in (clean): Add missing '{'.
25510
25511Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
25512
25513 * lib/gdb.exp: Provide a default value for noinferior.
25514
25515 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
25516 Load libgloss.exp.
25517
25518Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
25519
25520 * gdb.disasm/hppa.exp: Compile directly into an executable, use
25521 the executable, not the .o to run the tests from.
25522
25523Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
25524
25525 * gdb.base/break.exp: Don't test for program exit or exit status
25526 if $noresults if nonzero.
25527 * gdb.base/langs.exp: Likewise.
25528 * gdb.base/watchpoint.exp: Likewise.
25529
25530 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
25531 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
25532 trying to compile the testcase.
25533
25534Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
25535
25536 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
25537 * gdb.base/signals.exp (continue to handler): Likewise.
25538
25539Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
25540
25541 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
25542
25543 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
25544
25545Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
25546
25547 * gdb.base/corefile.exp: Recognize "not found" as failure
25548 when trying to determine if a core file was generated.
25549 If no core file was generate the first time, try again without
25550 the ulimit -c to work around braindamaged shells.
25551
25552Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
25553
25554 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
25555 [] tests with "test" and enclose string in quotes.
25556 * gdb.stabs/configure: Rebuild
d63a86f8 25557
c906108c
SS
25558Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
25559
25560 Changes in sync with expect:
25561 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
25562 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
25563 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
25564 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
25565 argument to AC_REQUIRE.
25566 * configure: Regenerated.
25567
25568Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
25569
25570 * gdb.base/corefile.exp: When generating a core, discard any
25571 error messages about ulimit not found and the "core dumped"
25572 message from the shell that runs the coredumper.
25573
25574Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
25575
25576 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
25577
25578 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
25579 which sed script to run. Expect failure for v_comb test
25580 on PA targets too.
d63a86f8 25581
c906108c
SS
25582Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
25583
25584 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 25585 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
25586
25587Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
25588
25589 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
25590 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 25591 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
25592 * lib/gdb.exp (default_gdb_start): Fix typo.
25593 * gdb.base/corefile.exp: Allow "Core was generated by ..."
25594 messages to not include the full program name that caused
25595 the core dump since some systems (such as solaris) apparently
25596 truncate this path to about 80 characters.
25597 When generating a core file first try increasing the core file
25598 size limit to unlimited since some systems may default it to
25599 zero, and it is harmless to try it. Move the test for failing
25600 to generate a core file to where it will actually get executed.
25601 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
25602 new gdb result from g++ debug info improvements and make old
25603 pattern obsolescent. Also account for size_t differences
25604 (may be int or long).
25605 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
25606 initialization before function call is placed in the delay slot
25607 and thus appears to be skipped over by commands such as "next".
25608
25609Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
25610
25611 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
25612
25613Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
25614
25615 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
25616 input source file; fix code to compile test to deal with this
25617 convention.
25618 * gdb.c++/*.exp: Likewise.
25619
25620Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
25621
25622 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
25623 "bt in signals.exp".
25624
25625Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
25626
25627 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
25628 "step over execarg initialization" and
889bf7c5 25629 "step over corearg initialization".
c906108c
SS
25630
25631Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
25632
25633 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
25634 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
25635
25636Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
25637
25638 From Rob Savoye (rob@poseidon.cygnus.com)
25639 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
25640 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
25641 configure.in}, gdb.disasm/{Makefile.in, configure.in},
25642 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
25643 configure.in}: Major reworking for autoconfig.
c906108c
SS
25644 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
25645 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 25646 New files.
c906108c
SS
25647 * config/unix-gdb.exp: Make GDB global.
25648 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
25649 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
25650 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
25651 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
25652 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
25653 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 25654 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
25655 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
25656 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
25657 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
25658 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 25659 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
25660 to returns as necessary, arrange for test to compile own testcase
25661 executable.
c906108c 25662 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 25663
c906108c
SS
25664Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
25665
25666 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 25667 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
25668 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
25669 "backtrace through signal handler".
25670
25671Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25672
25673 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
25674 continuing from a job control stop signal.
25675 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
25676
25677Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
25678
25679 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
25680 * gdb.base/corefile.exp: Likewise.
25681 * gdb.base/funcargs.exp: Likewise.
25682
25683Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
25684
25685 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
25686 * config/monitor.exp: Add support for setting baud rate.
25687
25688Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
25689
25690 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
25691 i*86-*-linux* xfails for "backtrace through signal handler".
25692 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
25693 "print func2::coremaker_local".
25694 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 25695 alpha-dec-osf2* xfail for
c906108c
SS
25696 "delete all breakpoints when none".
25697
25698Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
25699
25700 * gdb.base/break.exp: Change test that deletes all breakpoints
25701 when no user breakpoints are installed. A post 4.15 change
25702 causes gdb to no longer prompt in this case.
25703
25704Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
25705
25706 * gdb.base/return.exp (return_tests): Change xfail for test
25707 "correct value returned double test" to stop xfailing at
25708 Solaris 2.5. Apparently the bug has been fixed.
25709
25710Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
25711
25712 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
25713 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
25714
25715Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
25716
25717 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
25718 * gdb.disasm/hppa.s: Corresponding changes.
25719
25720Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
25721
25722 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
25723 makefile fragment.
25724 * config/mt-hpux: Deleted.
25725
25726Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
25727
d63a86f8 25728 * Many files: When warning about suppressed tests due to a
c906108c
SS
25729 nonexistant test binary, avoid incrementing the warning count.
25730
25731Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
25732
25733 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 25734
c906108c
SS
25735Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25736
25737 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
25738 "sparc-*-solaris2*".
25739
25740Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25741
25742 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
25743 Add global and local variables and initialize them.
25744 * gdb.base/corefile.exp: Test correct mapping of corefile sections
25745 by printing variables. Remove rs6000 and powerpc xfails, BFD now
25746 extracts the file name and terminating signal from the core file.
25747 * TODO: Remove note about tests for correct mapping of corefile.
25748 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
25749 from optimizing it away.
25750 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
25751 handles common blocks.
25752
25753Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
25754
25755 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
25756 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
25757
25758Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
25759
25760 * Makefile.in (maintainer-clean): New target, synonym for
25761 realclean.
25762 * gdb.base/Makefile.in (maintainer-clean): Likewise.
25763 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
25764 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
25765 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
25766 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
25767 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
25768
25769Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
25770
25771 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
25772 xfails when not gcc compiled for "print foo::funclocal".
25773 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
25774 "print foo::funclocal at foo",
25775 "print 'scope1.c'::foo::funclocal at foo",
25776 "print foo::funclocal_bss at foo",
25777 "print 'scope1.c'::foo::funclocal_bss at foo",
25778 "print foo::funclocal_ro at foo",
25779 "print 'scope1.c'::foo::funclocal_ro at foo",
25780 "print bar::funclocal at foo" and
25781 "print 'scope1.c'::bar::funclocal at foo".
25782 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
25783 gcc compiled for "print foo::funclocal at bar".
25784 Expand all messages to ensure that they identify that
25785 the test is at bar().
25786 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
25787 gcc compiled for:
25788 "ptype on opaque struct pointer (statically)",
25789 "ptype on opaque struct tagname (statically)",
25790 "ptype on opaque struct pointer (dynamically) 1",
25791 "ptype on opaque struct tagname (dynamically) 1",
25792 "ptype on opaque struct pointer (dynamically) 2" and
25793 "ptype on opaque struct tagname (dynamically) 2
25794 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
25795 gcc compiled for:
25796 "p datalocal"
25797 "whatis datalocal",
25798 "ptype datalocal",
25799 "p bsslocal",
25800 "whatis bsslocal", and
25801 "ptype bsslocal".
25802 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
25803 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
25804 when not gcc compiled.
25805 * gdb.base/funcargs.exp (float_and_integral_args): Add
25806 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
25807 compiled.
25808 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
25809 "backtrace from call6a" when not gcc compiled.
25810 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
25811 "backtrace from call7a" when not gcc compiled.
25812 * gdb.base/callfuncs.exp (do_function_calls):
25813 Add "hppa*-*-hpux*" xfail when not gcc compiled for
25814 "p t_char_array_values(char_array_val2,char_array_val1)",
25815 "p t_char_array_values(char_array_val1,char_array_val2)",
25816 "p t_char_array_values("carray 1","carray 2")",
25817 "p t_char_array_values("carray 1",char_array_val2)",
25818 "p t_char_array_values(char_array_val1,"carray 2")",
25819 "p sum_args(1,{2})",
25820 "p sum_args(2,{2,3})",
25821 "p sum_args(3,{2,3,4})",
25822 "p sum_args(4,{2,3,4,5})"
25823 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
25824 "backtrace in corefile.exp" when not gcc compiled.
25825
25826Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25827
25828 * gdb.base/signals.exp: Rewrite `handle all print' test as
25829 a procedure. Accept blanks or TABs as whitespace, increase
25830 timeout and expect input buffer size for the large output
25831 from the command. Remove "i*86-*-bsdi2.0" xfail.
25832
25833Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25834
25835 * gdb.base/setvar.exp: Add new testcases for truncation when
25836 assigning invalid values to bitfields.
25837
25838Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
25839
d63a86f8 25840 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
25841 mips-sgi-irix* xfail for
25842 "call inferior func with struct - returns char *"
25843 and fix test so that an optional (unsigned char *) cast is
889bf7c5 25844 accepted in the result.
c906108c
SS
25845
25846Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
25847
25848 * gdb.base/funcargs.exp (float_and_integral_args): Remove
25849 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
25850 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
25851 * gdb.base/signals.exp: Remove duplicate "handle all print" test
25852 that accidentally got checked in.
25853
25854Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
25855
d63a86f8 25856 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
25857 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
25858 compiled test.
25859 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
25860 Add mips-sgi-irix5* xfail for not gcc compiled.
25861 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
25862 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
25863 "p top", "whatis top", "p middle", and "whatis middle".
25864 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
25865 "whatis signed char" for not gcc compiled.
25866 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
25867 "set variable signed char=-1 (-1)" and
25868 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
25869 * gdb.base/funcargs.exp (float_and_integral_args):
25870 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
25871 Add mips-sgi-irix* xfail when not gcc compiled for
25872 "continue to call2b".
25873 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
25874 "continue to call2g".
25875 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
25876 "backtrace from call6a"
25877 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
25878 "backtrace from call7k".
25879 Add mips-sgi-irix5* xfail when not gcc compiled for
25880 "backtrace from call7a".
25881 (localvars_after_alloca): Fix gdb_test cmds for
25882 "print * after runto ...".
25883 Remove rs6000-*-* xfails for
25884 "print i after runto localvars_after_alloca" and
25885 "print l after runto localvars_after_alloca"
25886 for all compilers.
25887 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 25888 when not compiled with gcc, for:
c906108c
SS
25889 "print signed char == (minus)",
25890 "print signed char != (minus)",
25891 "print signed char < (minus)",
25892 "print signed char > (minus)".
25893 * gdb.base/callfuncs.exp (do_function_calls):
25894 Add mips-sgi-irix* xfail, when compiled with native compiler, for
25895 "call inferior func with struct - returns char *".
d63a86f8 25896 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
25897 "correct value returned double test" to include Solaris 2.4.
25898 * gdb.base/funcargs.exp (float_and_integral_args):
25899 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 25900
c906108c
SS
25901Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25902
25903 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
25904 enumeration bitfields if compiling with GNU C.
25905 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
25906 to empty' prompt.
25907
25908Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
25909
25910 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
25911 test for PRO targets.
25912
25913 * gdb.base/funcargs.exp: Avoid ever setting more than 8
25914 breakpoints in the inferior at any given time by making
25915 two groups of breakpoints for call2*, call6* and call7*
25916 tests.
25917
25918Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25919
25920 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
25921 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
25922 from optimizing it away.
25923 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
25924 "call inferior func with struct".
25925
25926Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
25927
25928 * configure.in: Only configure gdb.chill for particular targets.
25929
25930Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
25931
25932 * gdb.base/Makefile.in: Add action to .c.o transformation
25933 rule that generates a .ci file for each .o file and remove
25934 explicit .c.o rules except for callfuncs.o.
25935 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
25936 generates a .ci file for each .o file and remove explicit
25937 .cc.o rules.
25938 (clean): Remove *.tmp *.ci files.
25939 (EXECUTABLES): Remove templ-info.exp.
25940 * gdb.base/compiler.c: New file.
25941 * gdb.c++/compiler.cc: New file
25942 * gdb.base/scope.exp: Source gdb.base/scope.ci.
25943 Change rs6000-*-* xfail for
25944 "print 'scope0.c'::filelocal_ro" and
25945 "print 'scope1.c'::filelocal" and
25946 "print 'scope1.c'::filelocal_bss" and
25947 "print 'scope1.c'::filelocal_ro" and
25948 "print 'scope1.c'::foo::funclocal" and
25949 "print 'scope1.c'::foo::funclocal_ro" and
25950 "print 'scope1.c'::bar::funclocal" and
25951 "print 'scope0.c'::filelocal_ro" and
25952 "print 'scope1.c'::filelocal at foo" and
25953 "print 'scope1.c'::filelocal_bss at foo" and
25954 "print 'scope1.c'::filelocal_ro at foo" and
25955 "print 'scope1.c'::foo::funclocal at foo" and
25956 "print 'scope1.c'::foo::funclocal_bss at foo" and
25957 "print 'scope1.c'::foo::funclocal_ro at foo" and
25958 "print 'scope1.c'::bar::funclocal at foo" and
25959 "print 'scope0.c'::filelocal_ro" and
25960 "print 'scope1.c'::filelocal" and
25961 "print 'scope1.c'::filelocal_bss" and
25962 "print 'scope1.c'::filelocal_ro" and
25963 "print 'scope1.c'::foo::funclocal" and
25964 "print 'scope1.c'::foo::funclocal_bss" and
25965 "print 'scope1.c'::foo::funclocal_ro" and
25966 "print 'scope1.c'::bar::funclocal" and
25967 "print 'scope1.c'::bar::funclocal_bss"
25968 to only be xfail'd when not compiled with gcc.
d63a86f8 25969 Add rs6000-*-* xfail for
c906108c
SS
25970 "print 'scope0.c'::filelocal_bss before run"
25971 when compiled with gcc.
25972 (test_at_main): Add rs6000-*-* xfail for
25973 "print filelocal_ro in test_at_main"
25974 when compiled with gcc.
25975 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 25976 Add rs6000-*-aix* xfail for
c906108c
SS
25977 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
25978 "ptype t_char_array", not compiled with gcc.
25979 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
25980 xfail for "list foo (in include file)" when gcc compiled.
25981 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 25982 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
25983 "run to call0a" if not compiled with gcc.
25984 (unsigned_integral_args): Add rs6000-*-* xfail for
25985 "run to call1a" if not compiled with gcc.
25986 (float_and_integral_args): Add rs6000-*-* xfail for
25987 "run to call2a" if not compiled with gcc and for
25988 "continue to call2b" for any compiler.
25989 Add rs6000-*-* xfail to
25990 "print f1 after run to call2a" for gcc compiled.
25991 (discard_and_shuffle): Add rs6000-*-* xfail for
25992 "run to call6a".
25993 (shuffle_round_robin): Add rs6000-*-* xfail for
25994 "backtrace from call7a" if not compiled with gcc.
25995 Add rs6000-*-* xfail for
25996 "backtrace from call7b" if compiled with gcc.
25997 (call_after_alloca): Add rs6000-*-* xfail for
25998 "print c in call_after_alloca" and
25999 "print s in call_after_alloca" and
26000 "backtrace from call_after_alloca_subr"
26001 if not compiled with gcc.
26002 (localvars_in_indirect_call): Add rs6000-*-* xfail for
26003 "print c in localvars_in_indirect_call" and
26004 "print c in localvars_in_indirect_call" and
26005 "backtrace in indirectly called function" and
26006 "stepping into indirectly called function"
26007 if not compiled with gcc.
26008 (localvars_after_alloca): Add rs6000-*-* xfail for
26009 "print c after runto localvars_after_alloca" and
26010 "print s after runto localvars_after_alloca" and
26011 "print i after runto localvars_after_alloca" and
26012 "print l after runto localvars_after_alloca"
26013 for all compilers.
26014 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
26015 than whatis-info.exp.
26016 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
26017 than opaque-info.exp.
26018 Setup rs6000-*-* xfail for
d63a86f8 26019 "ptype on opaque struct pointer (statically)" and
c906108c
SS
26020 "ptype on opaque struct pointer (dynamically)" when
26021 not compiled with gcc.
26022 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
26023 rather than callf-info.exp.
26024 (do_function_calls): Add clear_xfail for rs6000-*-* for
26025 "p t_float_values2(3.14159,float_val2)". Seems to work
26026 fine there, both with xlc and gcc. Need to find out what
26027 it is doing right and fix other platforms.
26028 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
26029 "call inferior func with struct - returns int",
26030 "call inferior func with struct - returns long",
26031 "call inferior func with struct - returns float",
26032 "call inferior func with struct - returns double",
26033 "call inferior func with struct - returns char *",
26034 but only if not gcc compiled (presumes xlc compiled).
26035 Change rs6000-*-* xfails for
26036 "call inferior func with struct - returns char" and
26037 " call inferior func with struct - returns short" to only
26038 xfail if not using gcc.
26039 (clean mostlyclean): Remove *.ci and *.tmp files.
26040 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
26041 than templ-info.exp.
26042 * gdb.base/langs.exp: Source gdb.base/langs.ci.
26043 Add rs6000-*-* xfail for "up to foo in langs.exp"
26044 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 26045 when not gcc compiled.
d63a86f8 26046
c906108c
SS
26047Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26048
26049 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
26050 * gdb.base/corefile.exp: Likewise.
26051 * gdb.base/list.exp: Likewise.
26052 * gdb.base/scope.exp: Likewise.
26053 * gdb.base/siganls.exp: Likewise.
26054
26055 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
26056 compiler output.
26057 * gdb.base/whatis.exp: Likewise.
26058
26059Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
26060
26061 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
26062 failure (opcode table has been fixed to match reality).
26063
26064Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
26065
26066 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
26067 "call inferior func with struct - returns char",
26068 "call inferior func with struct - returns short"
26069
26070 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
26071 "print 'scope0.c'::filelocal at main",
26072 "print 'scope0.c'::filelocal_bss in test_at_main",
26073 "print 'scope0.c'::filelocal at foo",
26074 "print 'scope0.c'::filelocal_bss in test_at_foo",
26075 "print 'scope0.c'::filelocal at bar",
26076 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 26077
c906108c
SS
26078 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
26079 in source file 1". This bug seems to have been fixed with both
26080 gcc and native cc (was native assembler bug?).
26081
26082Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
26083
26084 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
26085 "backtrace through signal handler" to "i*86-*-sysv4*".
26086 * gdb.base/signals.exp: Add xfail for "'next' behaved as
26087 continue" case. Add "known SVR4 bug" to fail message.
26088 Add "i*86-*-bsdi2.0" xfail for "handle all print".
26089 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
26090 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
26091 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
26092 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
26093 "up to foo in langs.exp", "show language at foo in
26094 langs.exp", "up to cppsub_ in langs.exp", "show
26095 language at cppsub_ in langs.exp", "up to fsub in
26096 langs.exp", and "show language at fsub in langs.exp".
26097 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
26098 "bactrace in corefile.exp".
26099 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
26100 "call inferior function with struct - returns float" and
26101 "call inferior function with struct - returns double".
d63a86f8 26102
c906108c
SS
26103Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
26104
26105 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
26106 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
26107 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
26108 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
26109
26110Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
26111
26112 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
26113 (or overriden) "CHILL" macro rather then bare "gcc".
26114 Also look for ../../gcc/xgcc since that is what we will
26115 actually need, not "Makefile". Remove following assignment
26116 of CHILL to CHILL_FOR_TARGET because that results in
26117 recursive definition.
26118
26119Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
26120
26121 * gdb.base/corefile.exp: Change xfail for backtrace in
26122 corefile.exp from linuxaout to all linux.
26123 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
26124 cases where we miss the breakpoint at the signal handler
26125 for some reason. Setup xfail for linuxoldld/linuxaout and
26126 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
26127 hitting SIGURG breakpoint.
26128 * gdb.base/signals.exp: Setup xfail for "next" acting like
26129 continue to add linuxoldld. Setup xfail for all linux for
26130 "next to handler in signals_tests_1", "backtrace in
26131 signals_tests_1", "continue to func1", "pass SIGUSR1",
26132 and continue to handler".
26133
26134Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
26135
26136 * Update all FSF addresses except those in COPYING* files.
26137
26138Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
26139
26140 * gdb.base/a2-run.exp: Change messages to be more explicit about
26141 the status of args, and quote binfile in results.
26142
26143Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
26144
26145 * gdb.base/callfuncs.exp: Add tests for passing structs to
26146 inferior functions and return various types.
26147 * gdb.base/callfuncs.c: Add functions to receive a struct
26148 and return a member of the struct, in various types.
26149
26150Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26151
26152 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
26153
26154Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
26155
26156 * config/vxworks29k.exp: New file, sources vxworks.exp.
26157
26158Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26159
26160 * config/gdbremote.exp: New file. Testing framework using
26161 gdbserver.
26162
26163Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
26164
26165 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
26166 "call function when asleep" and "send end of file".
26167 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
26168 for "backtrace in corefile.exp".
26169 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
26170 for "backtrace through signal handler".
26171 * gdb.base/corefile.exp: Make sure we actually generate a core file
26172 before trying the core tests. Some systems allow the user to suppress
26173 generation of core files and default to that (linux for example).
26174 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
26175 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
26176
26177Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26178
26179 * gdb.threads: New directory with some crude multi-threaded
26180 gdb tests (step.exp and step2.exp).
26181 * config/mt-lynx (STEP_EXECUTABLE): Define.
26182 (THREADFLAGS): Define.
26183
26184Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
26185
26186 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
26187
26188 * gdb.base/signals.exp: Disable whole file for lynx until
26189 further notice.
26190
26191 * gdb.base/signals.exp: xfail test where "next" acts like
26192 "continue" for lynx.
26193
26194 * gdb.base/interrupt.exp: xfail test for calling function while
26195 inferior is asleep for lynx.
26196
26197 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
26198 than one cr-lf after each command.
26199
26200Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26201
26202 * configure.in: Reinstate setting of stabsdirs variable, fix
26203 typo in setting up configdirs for native builds.
26204
26205 * gdb.base/return.exp: Fix typo in return double test.
26206 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
26207 compiler from optimizing them away.
26208
26209Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
26210
26211 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
26212 sequences to be echo'd by gdb when using gdb_test.
26213 * gdb.chill/chexp.exp: Likewise.
26214 * gdb.fortran/exprs.exp: Likewise
26215
26216Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26217
26218 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
26219 after the inferior gdb has started.
26220
26221 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
26222 after each command.
26223 * gdb.base/funcargs.exp: Likewise.
26224 * gdb.base/gdbvars.exp: Likewise.
26225 * gdb.base/interrupt.exp: Likewise.
26226 * gdb.base/list.exp: Likewise.
26227 * gdb.base/watchpoint.exp: Likewise.
26228 * gdb.c++/demangle.exp: Likewise.
26229 * gdb.c++/inherit.exp: Likewise.
26230 * gdb.chill/chexp.exp: Likewise.
26231 * gdb.fortran/exprs.exp: Likewise.
26232
26233 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
26234 test if we can't handle IO to/from the inferior.
26235
26236 * gdb.c++/misc.exp: Always check for a program already being
26237 started after sending a "run" command to gdb.
26238
26239 * gdb.base/twice.exp: Start with a fresh gdb.
26240
26241 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
26242 only depend on gdb's expression code, not the chill runtime.
26243
26244 * gdb.base/return.c: Put return values into variables so we
26245 can have gdb print them rather than depending on the program
26246 to print them.
26247 * gdb.base/return.exp: Corresponding changes.
26248
26249 * lib/gdb.exp: Provide default value for noinferiorio.
26250 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
26251 the inferior.
26252
26253 * gdb.base/break.exp: Always check for a program already being
26254 started after sending a "run" command to gdb.
26255 (text_next_with_recursion): Don't check the output from the
26256 program's printf statement. Instead just make sure the program
26257 exited.
26258
26259 * gdb.base/commands.exp: Protect tests which need arguments with
26260 $noargs conditionals.
26261
26262Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26263
26264 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
26265 of structure member arrays to match gdb/valops.c:value_addr change.
26266
26267Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
26268
26269 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
26270 cases.
26271
26272Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
26273
26274 * configure.in (configdirs): Remove gdb.chill from default list
26275 of subdirs and then add it back in only if doing a native build.
26276 The current chill compiler does not yet work in any cross build.
26277 * Revert all signal changes from Jul 6.
26278 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
26279 for sh-hms targets, allowing these tests to link, with no other
26280 changes. Testing is suppressed by setting "nosignals" in site.exp.
26281
26282Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
26283
26284 * configure.in (signaldirs): Define and add to configdirs for all
26285 targets except some specific ones that are known to not support signals.
26286 Also clean up formatting.
26287 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
26288 (signals, sigall): Remove rules to build.
26289 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
26290 Moved to new gdb.signals directory.
26291 * gdb.signals: New test directory.
26292 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
26293 signals.c signals.exp}: New or moved files.
26294
26295Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
26296
26297 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
26298
26299Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
26300
26301 * gdb.base/return.exp: Xfail `return double' test failure
26302 on at least Solaris 2.3 and handle future/past versions on
26303 a case by case basis as appropriate. Also update message
26304 to include i*86 failures.
26305
26306Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26307
26308 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
26309
26310 * lib/gdb.exp: Fix comment which erroneously identified
26311 gdb_file_cmd as gdb_load (the 19 May change was in fact to
26312 gdb_file_cmd not gdb_load).
26313 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
26314
26315 * gdb.base/setvar.exp: Make test names consistent between pass and
26316 fail cases. Use gdb_test more.
26317
26318Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26319
26320 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
26321
26322Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26323
26324 * gdb.base/help.exp: Fix expected help string for `show commands'.
26325
26326Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
26327
26328 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
26329
26330 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
26331 of a text section.
26332
26333Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
26334
26335 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
26336 that loop eventually terminates. Fix Connection refused logic so
26337 that testsuite will expire nicely.
26338
26339Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
26340
26341 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
26342 config/rom68k.exp: New tcl glue for the appropriate monitors.
26343 These all just end up calling monitor.exp.
26344 * config/monitor.exp (gdb_target_monitor): Handle `Connection
26345 refused' by retrying. Cleanup some timeout issues.
26346 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
26347 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
26348 callers don't have to set/restore global timeout variable.
26349
26350 * The following set of changes centralizes management of the global
26351 timeout variable. This way, it can be set in one target dependent
26352 place instead of dozens of places scattered throughout the test suite.
26353 If you need to lengthen a timeout, then you should either set timeout
26354 in one of the config/{target}.exp files, or multiply it by a factor.
26355 Setting it to an absolute value is always going to lose for some
26356 targets.
26357 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
26358 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
26359 * gdb.base/funcargs.exp: Don't set timeout.
26360 * gdb.base/list.exp (test_forward_search): Only use local timeout.
26361 * gdb.base/printcmds.exp (test_print_string_constants
26362 test_print_array_constants): Don't set timeout.
26363 * gdb.base/ptype.exp: Don't set timeout.
26364 * gdb.base/recurse.exp: Don't set timeout.
26365 * gdb.base/return.exp: Don't set timeout.
26366 * gdb.base/watchpoint.exp: Don't set timeout.
26367 * gdb.c++/classes.exp (do_tests): Don't set timeout.
26368 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
26369
26370Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
26371
26372 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
26373
26374Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26375
26376 * lib/gdb.exp: Disable chill tests for irix5.
26377
26378Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26379
26380 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
26381 each test pass or fail.
26382
26383Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26384
26385 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
26386 xlc not gcc.
26387
26388Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
26389
26390 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
26391
26392Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
26393
26394 * config/est.exp: Fix copyright and comments. Remove dead code.
26395 Use targetname, serialport and baud variables instead of fixed
26396 constants.
26397 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
26398 * config/cpu32bug.exp: New file to support cpu32bug monitors.
26399
26400Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26401
26402 * gdb.base/watchpoint.exp: Don't run
26403 test_watchpoint_triggered_in_syscall for sunos.
26404
26405Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26406
26407 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
26408 they don't seem to exist. Do include stdio.h.
26409
26410Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26411
26412 * gdb.base/a1-selftest.exp: Add alpha xfail.
26413
26414Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26415
26416 * gdb.base/watchpoint.c (main): Prompt before calling read().
26417 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
26418 Revise accordingly. Remove cruft about sending "123" several
26419 times, until it gets noticed. Clean up the "print buf[0]" stuff
26420 so that it passes or fails, and waits for prompts in the usual way.
26421
26422Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26423
26424 * gdb.base/recurse.exp: Fix comment.
26425
26426 * TODO: Remove item about printing variables in nodebug.exp. Add
26427 item about enabling tests which are only run on some targets.
26428
26429 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
26430 fail, make test names unique, use new gdb_test convention
26431 regarding pattern, use gdb_test more, etc.).
26432
26433 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
26434 fail, make test names unique, etc.).
26435
26436Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26437
26438 * gdb.base/nodebug.c: Change return type of top and middle to
26439 short.
26440 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
26441 are fixed by the recent mdebugread.c changes. Allow `short ()'
26442 as type for top and middle.
26443
26444Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26445
26446 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
26447 nearly as I can tell, the whole thing was an accident in Stu's
26448 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
26449 to replace a send/expect pair with gdb_test, but ended up only
26450 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
26451 of 30 Mar 1995 took care of it, but left this vestigial comment
26452 which I am now nuking.
26453
26454Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26455
26456 * gdb.base/break.exp: Look for different line number for
26457 breakpoint at main depending on usestubs.
26458
26459Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26460
26461 * gdb.base/list.exp: Adjust some alternate expect patterns to
26462 match recent list0.c change. Add alternate expect pattern for
26463 output from `list default lines around main' for optimizing
26464 compilers.
26465
26466Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26467
26468 * lib/gdb.exp: If nosignals is not set, set it to 0.
26469
26470Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
26471
26472 * config/slite-gdb.exp: Responds to load symbol table prompt.
26473 * gdb.base/break.exp: Adjust line number, fix rerun.
26474 * gdb.base/langs0.c: Add #ifdef usestubs.
26475
26476Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
26477
26478 * gdb.base/list.exp: Adjust line contents after adding new lines in
26479 list0.c. Also fix a syntax error.
26480
26481 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
26482 * gdb.base/break.exp: ditto.
26483 * gdb.base/list.exp: ditto.
26484 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
26485 * gdb.base/run.c: ditto.
26486 * gdb.base/list0.c: ditto.
26487 * gdb.base/funcargs.c: ditto.
26488
26489Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
26490
26491 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
26492 $targetname, $serialport and $baud instead of hardwired variables.
26493 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
26494 target doesn't support signals.
26495
26496Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
26497
26498 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
26499
26500Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26501
26502 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
26503 Don't rely on the value of an auto variable before it has been
26504 initialized. Use gdb_test more.
26505
26506Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26507
26508 * lib/gdb.exp (default_gdb_version): A version number must start
26509 with a digit, but other than that contains all characters up to
26510 the first whitespace character.
26511
26512Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26513
26514 * gdb.base/commands.exp (breakpoint_command_test): New tests.
26515
26516Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26517
26518 * gdb.c++/*.exp: Warn if executable does not exist. The original
26519 reason for skipping the warning was that configure.in sometimes
26520 intentionally skipped building the executables but the tcl code
26521 had no way of knowing. That (a) was always bogus with respect to
26522 error handling, (b) is no longer true (right now there is no way
26523 to skip C++ tests).
26524
26525 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
26526
26527Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26528
26529 * gdb.base/list.exp: Add expect patterns for output from
26530 SunPRO compiled executables.
26531 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
26532 types.
26533
26534Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26535
26536 * gdb.base/break.exp (test_next_with_recursion): Accept any line
26537 number (we are already testing that the correct source line text
26538 gets printed).
26539
26540 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
26541 that is what is intended, but something needed to be done to get
26542 sunos4 native working again.
26543
26544 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
26545
26546 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
26547 apparently went with a (very) old xfail.
26548
26549Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
26550
26551 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
26552 runto_main is a proc in gdb.exp that will do 'step' for target use
26553 stubs.
26554 * gdb.base/exprs.exp: ditto.
26555 * gdb.base/interrupt.exp: ditto.
26556 * gdb.base/opaque.exp: ditto.
26557 * gdb.base/printcmds.exp: ditto.
26558 * gdb.base/ptype.exp: ditto.
26559 * gdb.base/scope.exp: ditto.
26560 * gdb.base/setvar.exp: ditto.
26561 * gdb.base/signals.exp: ditto.
26562 * gdb.base/twice.exp: ditto.
26563 * gdb.c++/classes.exp: ditto.
26564 * gdb.c++/inherit.exp: ditto.
26565 * gdb.c++/templates.exp: ditto.
26566 * gdb.base/break.exp: no run and hit main for stubs. Change line
26567 numbers for breakpoints and info breakpoint.
26568 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
26569 breakpoint().
26570 * gdb.base/callfuncs.c: ditto.
26571 * gdb.base/exprs: ditto.
26572 * gdb.base/interrupt.c: ditto.
26573 * gdb.base/opaque0.c: ditto.
26574 * gdb.base/printcmds.c: ditto.
26575 * gdb.base/ptype.c: ditto.
26576 * gdb.base/scope0.c: ditto.
26577 * gdb.base/setvar.c: ditto.
26578 * gdb.base/signals.c: ditto.
26579 * gdb.base/twice.c: ditto.
26580 * gdb.c++/misc.cc: ditto.
26581 * gdb.c++/templates.cc: ditto.
26582
26583Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26584
26585 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
26586
26587 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
26588 somewhere between `read' and `main.c'. I'm pretty sure the
26589 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
26590 and it isn't particularly useful.
26591
26592 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
26593
26594Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26595
26596 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
26597
26598Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
26599
26600 * config/mt-slite: add LIBS and -nostdlib.
26601 * config/slite-gdb.exp: add this new file to support sparclite target.
26602
26603Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
26604
26605 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
26606
26607 * gdb.base/a2-run.exp: Change argument to istarget from
26608 "*-*-vxworks" to "*-*-vxworks*".
26609 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
26610
26611Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
26612
26613 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
26614 will not runto main but do a 'step' to step out of breakpoint().
26615 * config/mt-slite: add -Dusestubs.
26616
26617Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26618
26619 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
26620 instead of just @.
26621
26622 * gdb.base/signals.exp: Add test for "handle all print".
26623 * TODO: Remove "handle all print". Also remove item about
26624 checking copyright date (I don't like the idea of a spurious FAIL
26625 based on when we run the tests).
26626
26627 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
26628 for SunOS4 (reason for failure not investigated). Remove
26629 redundant test for $binfile.
26630
26631 * gdb.base/nodebug.c (array_index): Call malloc.
26632
26633 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
26634
26635Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
26636
26637 * gdb.base/recurse.exp: Update gdb_test invocation to use new
26638 conventions and slightly simplify the matching regexp.
26639
26640Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26641
26642 * gdb.base/break.exp: Update gdb_test invocation to use new
26643 convention.
26644
26645 * lib/gdb.exp: If noargs is not set, set it to 0.
26646
26647 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
26648 tests unique.
26649
26650 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
26651
26652Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26653
26654 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
26655 one argument of type "<non-float parameter>".
26656
26657Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
26658
26659 * config/rom68k.exp: New file to support Motorola IDP board.
26660 * gdb.base/a2-run.exp: Skip this file if noargs is set.
26661 * gdb.base/break.c: Change things around so that this program
26662 doesn't depend upon args. This is necessary to make remote
26663 targets work (in general, they can't take args).
26664 * gdb.base/break.exp: Don't try to send args to program. Don't
26665 expect output. Also, replace lots of code with gdb_test.
26666
26667Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26668
26669 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
26670 printing of '\'' (which is what the comment says we are testing,
26671 even though we were not), not '''.
26672 (test_integer_literals_rejected): Test that printing ''' is an error.
26673
26674 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26675 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
26676 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
26677 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
26678 Use gdb_test not test_print_accept.
26679 * lib/gdb.exp: Remove test_print_accept.
26680
26681 * gdb.base/signals.exp (signal_tests_1): Make pass message
26682 consistent with fail message.
26683
26684 * gdb.base/whatis.exp: Remove xfails for printing char vs.
26685 unsigned char; the bug (PR 1821) is fixed.
26686
26687 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
26688
26689 * gdb.base/scope.exp (test_at_localscopes): Call pass for
26690 successful tests--makes xfailing them work right.
26691
26692Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26693
26694 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
26695 only \r\n, not .*. The test can pass .* as the last thing in
26696 $pattern if that is what it wants. In addition to providing this
26697 flexibility, this change should speed up pattern matching in cases
26698 where the pattern already ended with .* (there were a number of
26699 them). This change also helps catch bad patterns--in the old
26700 scheme the typo "char \*" instead of "char \\*" would pass. Now
26701 it is caught.
26702 * Many .exp files: Update callers.
26703
26704 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
26705 clearer and does not spuriously match multiple ('s. Likewise for
26706 ) and *.
26707
26708 * gdb.base/nodebug.exp: Test ability to call a function and pass
26709 it a string (even with no debugging info).
26710
26711 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
26712 "p '\'", which is the same as "p ''" once tcl gets done with
26713 quoting, to "p '\\'", which I suspect is what is intended (one
26714 backslash gets sent to GDB).
26715
26716 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
26717
26718Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26719
26720 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
26721 1817) was fixed literally years ago.
26722
26723Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26724
26725 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
26726 test, it causes stepping out of call_after_alloca_subr with
26727 optimizing compilers.
26728 (localvars_in_indirect_call): Consume GDB prompt if `finish'
26729 fails.
26730
26731 * gdb.c++/templates.exp: Source templ-info.exp only if
26732 the templates executable exists.
26733
26734 * gdb.c++/misc.cc (class Contains_static_instance,
26735 class Contains_nested_static_instance),
26736 gdb.c++/classes.exp (test_static_members): Test printing of
26737 a class that contains a static instance of the class.
26738
26739Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26740
26741 * gdb.base/langs2.c (cppsub_): Don't prototype.
26742 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
26743 only, I believe).
26744
26745Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26746
26747 * lib/gdb.exp (skip_chill_tests): New procedure.
26748
26749 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
26750
26751Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
26752
26753 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
26754 each expect pattern. Cuts runtime from 12 to about 4 seconds.
26755
26756Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26757
26758 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
26759
26760 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
26761 disassemble 8, not 16, instructions for part 4.
26762
26763 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
26764 support the latter anymore.
26765
26766 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
26767 -DNO_PROTOTYPES.
26768 * gdb.base/callfuncs.c: Control use of prototypes based on
26769 NO_PROTOTYPES, not __STDC__.
26770 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
26771 t_float_values2 tests if prototypes in use.
26772
26773 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
26774 t_double_values): When checking differences against DELTA, check
26775 that difference is within the range (-DELTA,DELTA), not just
26776 (-infinity,DELTA).
26777
26778Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
26779
26780 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
26781 'file' command firts, then 'target', then 'load', this is due to gdb
26782 target set up.
26783 * config/mips-gdb.exp: Fix a couple regular exp bugs.
26784
26785Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
26786
26787 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
26788 FP load/store variants.
26789 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
26790
26791Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26792
26793 * gdb.base/term.exp: Do not give a warning if not native, it is
26794 not an abnormal condition.
26795
26796Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
26797
26798 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
26799 t_char_array".
26800
26801Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26802
26803 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
26804 are getting the version number.
26805
26806 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
26807 if not native, it is not an abnormal condition.
26808
26809Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26810
26811 * lib/gdb.exp: Just use "file exists", rather than undocumented
26812 dejagnu procedure "findfile".
26813
26814Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26815
26816 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
26817 (LDFLAGS): Set to -Xlinker -Ur.
26818
26819 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
26820 Removed, these values are set by lib/gdb.exp.
26821
26822 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
26823
26824Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26825
26826 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
26827 of replicating gdb startup code.
26828
26829 * config/mt-vxworks (LDFLAGS): Set to -r.
26830 (CFLAGS_FOR_TARGET): Removed.
26831
26832 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
26833 (gdb) and gdb for vxworks uses (vxgdb).
26834
26835 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
26836 executable is not in the tree and host != target, use sed and
26837 program_transform_name to determine the gdb name used by the
26838 target.
26839
26840 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
26841 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
26842
26843Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26844
26845 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
26846 floats, chars, and shorts where there are ANSI-style function
26847 definitions.
26848
26849 * gdb.base/langs.exp, gdb.base/langs*: New test.
26850 * gdb.base/Makefile.in: Build it.
26851 * TODO: Remove item about checking that C names don't get C++
26852 demangling applied; this test tests it.
26853
26854Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26855
26856 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
26857 went with the const70 xfail. The xfail went away a year ago.
26858
26859 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
26860
26861 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
26862 for hp300.
26863
26864 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
26865
26866 * gdb.base/a1-selftest.exp: Don't run on hp300.
26867
26868Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26869
26870 * Makefile.in (site.exp): Set host_alias and target_alias as well
26871 as host_triplet and target_triplet.
26872
26873Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26874
26875 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
26876
26877 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
26878 places as other ecoff systems).
26879
26880 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
26881 ultrix.
26882
26883Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26884
26885 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
26886 remove them.
26887 * gdb.base/nodebug.exp: Accept "function" in addition to "text
26888 variable and "variable" in addition to "data variable".
26889 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
26890
26891 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
26892 2.
26893 * gdb.base/list1.c (long_line): Add additional statement at start
26894 of function.
26895 * gdb.base/list.exp (test_forward_search): Update line number to
26896 reflect new statement.
26897
26898Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26899
26900 * gdb.base/signals.exp: Reinitialize searched source directories
26901 after gdb_start call.
26902
26903Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
26904
26905 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
26906 * gdb.stabs/Makefile.in: Likewise.
26907
26908 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
26909 change. Instead split the tests into smaller pieces.
26910 * gdb.disasm/hppa.s: Corresponding changes.
26911
26912Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26913
26914 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26915 Quote ^C when passing it to stty. For some shells ^ is a pipe.
26916
26917 * gdb.base/funcargs.exp: Modify many tests so that every test
26918 either passes or fails. Make some test names unique.
26919
26920Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26921
26922 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26923 Call stty to set interrupt character.
26924
26925 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
26926 for HP assembler versus GNU assembler based on actual behavior of
26927 $(CC), rather than assuming that $(AS) is always the GNU assembler.
26928
26929 * TODO: Suggest a few more stepping tests.
26930
26931Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
26932
26933 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
26934 restart GDB for h8300 after a continue.
26935 (return): Add pattern to match a29k-udi behavior.
26936 * gdb.base/nodebug.exp: Remove obsolete comment.
26937 * gdb.base/regs.exp: New file, testing of register displays.
26938 * gdb.base/return.exp: Fix typo in reference to $objdir.
26939 * gdb.base/whatis.exp: Always start with a fresh GDB.
26940
26941Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26942
26943 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
26944 higher, these tests generate a lot of output.
26945
26946Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26947
26948 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
26949 code following the catch silently ignored some errors; without the
26950 catch they should be thrown like any other tcl error. Also, the
26951 catch used "" instead of {} which meant all the callers who wanted
26952 to include one of the characters "[]$ had to quote it an extra time.
26953 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
26954 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
26955 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
26956 Remove extra quoting.
26957
26958Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
26959
26960 * gdb.base/commands.exp: Make test names unique; every test either
26961 passes or fails. Update some comments.
26962
26963 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
26964
26965Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26966
26967 The following fixes a FAIL caused by the fact that the alpha stabs
26968 configuration didn't use the ".if alpha" code in weird.def.
26969 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
26970 bit pointer, so the 32 bit version works even on the alpha.
26971 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
26972 Remove the stuff which allowed us to have separate versions for
26973 alpha and everything else.
26974
26975 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
26976 regexp which "info func operator\[\](" is supposed to match. Fix
26977 string to send to GDB. Note that GDB still doesn't work right. Add a
26978 new test for "info func .perator\[\](" which GDB does handle correctly.
26979
26980 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
26981
26982Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26983
26984 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
26985 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
26986 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
26987 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
26988 it makes the tests harder to understand and confuses test-o-matic.
26989 The preferred style is that each test provides a PASS or a FAIL,
26990 and has a unique message (e.g. "continue #54" not just "continue")
26991 which is the same for the pass and the fail.
26992 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26993 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
26994 to lib/gdb.exp.
26995 * gdb.base/printcmds.exp: Use test_print_accept. Remove
26996 prt_accept which was basically the same thing. Likewise for
26997 test_print_reject and prt_reject.
26998 * lib/gdb.exp (test_print_reject): Add some more error message
26999 patterns to match from the former printcmds.exp (prt_reject).
27000 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
27001 One defect of the passcount stuff is that some of it failed to
27002 report XPASS where appropriate.
27003 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
27004 stuff before and after arg in expected pattern.
27005 (test_paddr_operator_functions): Re-do test without print_addr_of;
27006 this is the only test which seems to want extra stuff there.
27007
27008Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27009
27010 * gdb.base/nodebug.exp: Update new tests to reflect improved
27011 wording of gdb output.
27012
27013 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
27014 and "ptype" work on variables in files compiled without -g.
27015 Replaces commented out "maint print msymbol" tests.
27016
27017Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27018
27019 * gdb.base/setvar.c (dummy): Call malloc.
27020
27021 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
27022 losing with the irix4 sed.
27023
27024 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
27025 ALRM" on irix4.
27026
27027Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27028
27029 * TODO: Remove items about corefile.exp testing new exec-file and
27030 backtrace; both are now done. Add items about printing enums.
27031
27032Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27033
27034 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
27035 "get signal $thissig" test fails.
27036
27037 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
27038
27039Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27040
27041 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
27042 compiler warning with dec alpha compiler.
27043
27044 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
27045 extra \n from gdb_test call (this explains why the prompt test
27046 that I removed yesterday was there).
27047 (user_defined_command_test): Remove extra \n and prompt test.
27048
27049 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
27050 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
27051 doesn't exist.
27052 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
27053 Also remove alpha workaround, which turns out to be because
27054 SIGABRT == SIGLOST.
27055
27056 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
27057
27058 * gdb.base/help.exp: Don't test "help show".
27059
27060Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27061
27062 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
27063 "set print address" is on.
27064 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
27065 pass prompt to gdb_test; gdb_test already looks for the prompt.
27066
27067 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
27068
27069 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
27070 was a vestige of the manual TESTSTRATEGY, and the purpose of it
27071 was to make sure that gdb can read a core file. But (a) the "read
27072 the corefile" part didn't make it to a1-selftest.exp, we just
27073 delete the corefile after creating it, and (b) we test reading
27074 corefiles in corefile.exp anyway. Also, this test left around a
27075 xgdb process on Solaris.
27076
27077 * gdb.base/corefile.exp: Also test backtrace.
27078
27079Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
27080
27081 * gdb.base/commands.exp: Test a simple user defined command with
27082 arguments and if/while statements; verify the full user command is
27083 printed by "show user".
27084
27085 * gdb.base/commands.exp: Test if/while commands as part of a
27086 breakpoint command list; verify they appear in breakpoint
27087 information.
27088
27089Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27090
27091 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
27092 than by dividing by zero.
27093
27094Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
27095
27096 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
27097 performing an inferior call with watchpoints enabled.
27098 * gdb.base/watchpoint.c (main): Delete second unnecessary read
27099 call.
27100
27101Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27102
27103 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
27104 of "file" command.
27105
27106 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
27107 Add additional pattern for when "int operator int(void);" appears
27108 in a different order.
27109
27110Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27111
27112 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
27113
27114 * gdb.base/help.exp: Replace most of docstrings for "info signals"
27115 and "signal" with ".*".
27116
27117Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27118
27119 * TODO: Add note about "handle all nostop".
27120
27121 * gdb.base/{sigall.c, sigall.exp}: New test.
27122 * gdb.base/Makefile.in: Add it.
27123
27124Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
27125
27126 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
27127 when invoking GDB, suppresses any windowing interface.
27128
27129Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
27130
27131 * config/sim-gdb: New file, simulator testing support.
27132
27133Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
27134
27135 * gdb.base/interrupt.exp: Test calling func1 twice.
27136
27137Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
27138
27139 * gdb.base/list.exp (test_forward_search): Set timeout higher
27140 when we'll be getting lots of output from gdb.
27141
27142 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
27143 "init_malloc" to after the expect statement. Run it if that
27144 regexp is taken, but also for two others which happen if source
27145 cannot be found.
27146
27147Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27148
27149 * gdb.base/printcmds.exp: New test, for printing register before
27150 program is running.
27151
27152Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27153
27154 * gdb.base/list.exp: Correct some alternate expect patterns
27155 to reflect changes in list1.c.
27156
27157Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27158
27159 * TODO: Add item regarding large frames.
27160
27161 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
27162
27163 * TODO: Remove item about enabling return.exp; it
27164 is enabled. Suggest a few more "return" tests.
27165
27166Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27167
27168 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
27169 anonymous unions.
27170
27171Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27172
27173 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
27174 and pr-5646.o, so "make" is the same as "make all", not "make
27175 pr-4975.o".
27176
27177Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
27178
27179 * gdb.base/list.exp: Adjust expectations to reflect changes in
27180 list1.c.
27181 (test_forward_search): New test proc.
27182 * gdb.base/list1.c (long_line): New function, has long source line.
27183
27184Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
27185
27186 * gdb.base/a1-selftest.exp: Change initial stepping to know about
27187 additional line of code that was added.
27188
27189Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
27190
27191 * gdb.disasm/hppa.s: Break the large branching tests into smaller
27192 tests so as not to overflow expect's input buffers.
27193 * gdb.disasm/hppa.exp: Corresponding changes.
27194
27195Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27196
27197 Beginnings of template debugging tests.
27198 * gdb.c++/templ-info.cc: New file to test for template
27199 debugging capability of the compiler.
27200 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
27201 templ-info.cc.
27202 * gdb.c++/templates.cc: Add explicit template instantiations
27203 to enable compiling with -fno-implicit-templates. Add destructor
27204 and 'value' method to T5 class for template tests.
27205 * gdb.c++/templates.exp: Add testcases for printing of template
27206 types, setting breakpoints on template methods and calling a
d63a86f8 27207 template method.
c906108c
SS
27208
27209Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
27210
27211 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
27212 branch target since some assemblers (gas-2.5) may emit a
27213 relocation for the branch instead of resolving it in the
27214 assembler.
27215
27216Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27217
27218 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
27219 through signal handler.
27220
27221Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27222
27223 * configure.in (*-*-netware): Use config/mt-netware.
27224
27225 * config/mt-netware: New file.
27226 * config/mt-i386-netware: Removed, separate configs for different
27227 netware architectures are no longer needed now that we have
27228 --with-headers.
27229
27230Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27231
27232 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
27233 by the recent changes to use ANSI C arithmetic conversions.
27234
27235Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27236
27237 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
27238 bug involving using inferior_pid to figure out whether to select a
27239 frame.
27240
27241Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
27242
27243 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
27244 match the current disassembler output.
27245
27246Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
27247
27248 * gdb.fortran/exprs.exp: Expect VOID instead of void.
27249 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
27250 types, expect "int" as type of integer values (for now).
27251
27252Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
27253
27254 * gdb.base/commands.exp: New tests for if/while commands.
27255
27256Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
27257
27258 * lib/gdb.exp (runto): Replace sub-pattern for hex value
27259 by .*, since hex values have different syntax in Chill mode.
27260
27261Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27262
27263 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
27264 linefeed from expect pattern for repeated types with indices > 9.
27265
27266Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
27267
27268 First part of Fortran test suite.
27269 * gdb.fortran: New directory.
27270 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
27271
27272Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27273
27274 * gdb.base/default.exp: Update expect pattern for load command
27275 without arguments.
27276
27277Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
27278
27279 * configure.in: Change i386 to i[345]86.
27280 * gdb.base/configure.in: Likewise.
27281 * gdb.c++/configure.in: Likewise.
27282 * gdb.chill/configure.in: Likewise.
27283
27284Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
27285
27286 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
27287 patterns, since that is not a valid context for comments.
27288
27289Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
27290
27291 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
27292 repeated types and repeated types with indices > 9.
27293
27294Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
27295
27296 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
27297 2417; old bug has been fixed.
27298
27299Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
27300
27301 * gdb.base/interrupt.exp: When trying to wake up the inferior,
27302 send the newline ourselves instead of assuming gdb_test will do
27303 so when passed an empty input string.
27304
27305 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
27306 stabs testcode.
27307
27308Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27309
27310 * lib/gdb.exp (gdb_test): Don't send anything if the first
27311 argument is an empty string. This makes cases where we want to
27312 match output that is already in expect's buffers (for example,
27313 matching a breakpoint after gdb_run_cmd has been called) work
27314 reliably.
27315
27316Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27317
27318 * config/netware.exp: New file.
27319
27320Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27321
27322 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
27323 the -B and -L prefixes so we can find the debugging stub.
27324
27325 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
27326 there and we are using the gcc from the tree.
27327
27328 * gdb.base/types.c: Removed.
27329
27330 * gdb.base/configure.in: Look for makefile fragments in ../config.
27331 Recognize i386-*-netware.
27332 * gdb.c++/configure.in: Likewise.
27333
27334Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27335
27336 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
27337 the correct TCL syntax.
27338
27339Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27340
27341 * gdb.base/opaque.exp: use runto instead of messing around with
27342 breakpoints. Simplify by using gdb_test.
27343
27344 * gdb.base/bitfields.exp: restart between tests on netware targets
27345 because breakpoints aren't relocated after target death. Run
27346 processes to completion.
27347
27348 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
27349
27350Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
27351
27352 * Makefile.in: Remove extra tabs that confuse some versions
27353 of "make". Use the newly built gdb to test with by default,
27354 rather than the first one in the tester's search path.
27355
27356Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
27357
27358 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
27359
27360 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
27361 condition help.
27362
27363Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27364
27365 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
27366
27367 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
27368 running.
27369 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
27370 * gdb.base/funcargs.exp: Likewise.
27371
27372 * gdb.base/bitfields.exp: Simplify by using gdb_test.
27373 * gdb.base/funcargs.exp: Likewise.
27374
27375 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
27376 message is "".
27377
27378Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27379
27380 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
27381 return,signals,twice}.exp: Handle non-existant binaries
27382 consistantly.
27383
27384 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
27385 * gdb.base/Makefile.in: Don't try to generate a core dump, we
27386 might testing a cross development system.
27387
27388Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27389
27390 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
27391 runtest script is relative to ${srcdir}, not ${rootdir}.
27392
27393Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
27394
27395 * gdb.base/signals.exp: Allow for optionality of breakpoint
27396 address.
27397
27398Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27399
27400 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
27401
27402Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27403
27404 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
27405 for size_t definition.
27406 * gdb.c++/templates.cc: Likewise
27407
27408 * config/mt-i386-netware: New file.
27409
27410 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
27411 defined.
27412
27413 * gdb.base/Makefile.in: Added support for systems that name core
27414 files by appending "core" to the program name.
27415 * gdb.base/a1-selftest.exp: Likewise.
27416
27417Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27418
27419 * gdb.base/return.exp: Add comment and message for `return double'
27420 test failure on Sparc Solaris.
27421
27422Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
27423
27424 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
27425
27426Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27427
27428 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
27429 from optimizing them away.
27430 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
27431 patterns to include default constructors and assignment operators,
27432 to match gcc versions beyond 2.5.8. Accept any cplus demangling
27433 character in the output of the virtual base pointer.
27434
27435Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27436
27437 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
27438 expression match in print_addr_of to avoid unintented matches.
27439 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
27440 versions up to 2.5.8.
27441
27442Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27443
27444 * gdb.base/list.exp: Tweak alternate pattern for listing of an
27445 included file to run under newer versions of expect.
27446 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
27447 consecutive >'s in templates to accomodate recent cplus-dem.c change.
27448 Remove xfail for the virtual table of BDDHookV.
27449
27450Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
27451
27452 * lib/gdb.exp (string_to_regexp): Set a default result.
27453 (default_gdb_start): Fix misleading message.
27454
27455Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
27456
27457 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
27458 Remove all CC, etc definitions.
27459 * config/mt-hpux: New file.
27460 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
27461 (CFLAGS, LDFLAGS): Define.
27462 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
27463
27464 * Makefile.in (site.exp): Don't insert host_os, etc.
27465 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
27466 (distclean): Check existence of subdir.
27467 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
27468 * gdb.base/Makefile.in: General cleanup and simplification.
27469 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27470 to build executables. Use default rule to build .o files.
27471 (EXPECT, RUNTEST, CC): Fix relative pathname.
27472 (site.exp): Don't insert host_os, etc.
27473 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
27474 and/or SIGUSR1 defined.
27475 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
27476 * gdb.c++/Makefile.in: General cleanup and simplification.
27477 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27478 (CFLAGS): Remove.
27479 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
27480
27481Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
27482
27483 * gdb.base/recurse.exp: Misc changes to get tests running again
27484 after Kung's changes to the watchpoint code.
27485 * gdb.base/watchpoint.exp: Likewise.
27486
27487Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
27488
27489 * lib/gdb.exp (string_to_regexp): Convert {\} also.
27490
27491Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
27492
27493 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
27494 * lib/gdb.exp (default_gdb_start): Define.
27495 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
27496 gdb.base/funcargs.exp, gdb.base/opaque.exp,
27497 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
27498 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
27499 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
27500 Don't call gdb_target_udi in between tests.
27501
27502Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27503
27504 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
27505 (which was basically just a local version of the same thing). In
27506 addition to avoiding duplication, gdb_test_exact is faster.
27507 * lib/gdb.exp (gdb_test_exact): Fix typo.
27508
27509 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
27510 don't give an error.
27511
27512 * gdb.base/term.exp: Call delete_breakpoints before starting.
27513
27514 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
27515 (t10): Add comment.
27516
27517Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27518
27519 Reorganization of the GDB Test Suite.
27520
27521 * gdb.base: New directory, contains all the basic tests.
27522 * gdb.c++: New directory, tests specific to C++.
27523 * gdb.chill: New directory, tests specific to Chill.
27524 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
27525 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
27526 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
27527 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
27528 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
27529 t30-31 to chill).
27530 * */gdbme.*: Rename to match appropriate expect scripts.
27531 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
27532 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
27533 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
27534 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
27535 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
27536 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
27537 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
27538 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
27539 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
27540 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
27541 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
27542 gdb.c++/virtfunc.cc: New names of C++ files.
27543 * gdb.chill/chillvars.ch: New name of Chill file.
27544 * gdb.base/configure.in, gdb.c++/configure.in,
27545 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
27546 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27547 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
27548 * configure.in (configdirs): Update to reflect directory changes.
27549 (target_abbrev): No longer define for any configuration.
27550 * Makefile.in: Cosmetic improvements to header comments.
27551
27552Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
27553
27554 Various changes to gdb.t31:
27555
27556 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
27557 * gdbme.ch: Make all key-words and predefineds be upper-case.
27558 * chillvars.exp: Expect key-words and predefinds in upper-case.
27559
27560 * chillvars.exp: Use gdb_test_exact many places.
27561 Change expected output for arrays (which now includes index labels).
27562
27563 * pr-5020.exp, gdme.ch (module PR_5020):
27564 New test, for PR-5020.
27565
27566Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
27567
27568 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
27569 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
27570
27571Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
27572
27573 * Makefile.in: Fix bit-rot in definitions of CHILL,
27574 CHILL_FOR_TARGET and Chill_LIB.
27575 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
27576 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
27577 CHILL, and CHILL_LIB.
27578
27579Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
27580
27581 * Revert the previous changes. Please see Rob's directory
27582 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
27583
27584Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
27585
27586 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
27587 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
27588 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
27589 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
27590 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
27591 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
27592 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
27593 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
27594 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
27595 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
27596 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
27597 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
27598 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
27599 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
27600 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
27601 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
27602 changes from 94Q1.
27603
27604Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
27605
27606 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
27607 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
27608 Rob's new testing fragments.
27609
27610Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
27611
27612 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 27613 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
27614
27615Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27616
27617 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
27618 version also, match on casted version strings, and match on
27619 gdb startup case where the line numbers might be messed up.
27620
27621Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
27622
27623 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 27624 (CFLAGS): Delete it from here.
c906108c
SS
27625
27626Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
27627
27628 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
27629
27630Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
27631
27632 * Makefile.in (RUNTEST): Default to just "runtest".
27633
27634Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27635
27636 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
27637 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
27638 the code has been restructured.
27639
27640Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27641
27642 * gdb.t00/default.exp (set write): Allow any number of \r and/or
27643 \n, not just one of each.
27644
27645 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
27646 /bin/cc gives a warning if you do.
27647
27648Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
27649
d63a86f8 27650 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
27651 __t10ListS_link1ZUiRCUiPT0
27652
27653Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27654
27655 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
27656 on local variables in recursive functions.
27657
27658 * gdb.t07/Makefile.in: Build the new test.
27659
27660Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27661
27662 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
27663 directly. Instead compare the return values from actual calls.
27664
27665Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
27666
27667 * Makefile.in (check): Set TCL_LIBRARY for runtest.
27668
27669Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27670
27671 * From Peter Schauer with minor modifications.
a9c64011
AS
27672 * gdb.t15/return.exp (return_tests): Handle targets where "return"
27673 stops in mid-line in the caller. Add xfail for returning a float
27674 value on X86 targets.
c906108c
SS
27675
27676Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27677
27678 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
27679 to avoid expect lossage.
27680 (fmem_LRbug_tests): Likewise.
27681 * gdb.disasm/hppa.s: Corresponding changes.
27682
27683 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
27684 conditions to work with latest dejagnu/expect.
27685
27686 * gdb.t15/funcargs.exp (finish from indirect call): No longer
27687 expected to fail on the PA.
27688 (backtrace in call with trampolines): Explicitly require main
27689 to be frame #1 (no trampolines should show up in backtrace).
27690
27691 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
27692 "continue -expect".
27693 * gdb.t06/break.exp: Likewise.
27694 * gdb.t07/watchpoint.exp: Likewise.
27695 * gdb.t13/bitfields.exp: Likewise.
27696 * gdb.t15/{funcargs,return}.exp: Likewise.
27697 * gdb.stabs/weird.exp: Likewise.
27698 * config/{mips,udi}-gdb.exp: Likewise.
27699
27700 * hppa.sed: Enclose comments within a sed command to avoid
27701 losing with the old OSF1 sed.
27702
27703Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27704
27705 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
27706 sequent dynix.
27707 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
27708 * gdb.t15/funcargs.exp: Conditionally step again to really
27709 finish from marker_call_with_trampolines. Handle the case where
27710 the first step from within call_with_trampolines already steps
27711 us back to main.
27712 * gdb.t15/gdbme.c: Add comment to closing brace of
27713 call_with_trampolines for funcargs.exp.
27714
27715Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27716
d63a86f8 27717 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
27718 Fix typo(s).
27719
27720Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27721
27722 * gdb.t07/gdbme.c: More code for watchpoint testing.
27723
27724 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
27725 "Hardware watchpoint" throughout file.
27726 (test_watchpoint_triggered_in_syscall): New test.
27727 (test_complex_watchpoint): New test.
27728
27729Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27730
27731 * gdbme.c (call_with_trampolines): New function to try and step
27732 into. Tests trampoline problems on the PA.
27733
27734 * funcargs.exp (localvars_in_indirect_call): No longer expect
27735 stepping into indirect call to fail on PAs.
27736 (test_stepping_over_trampolines): New test.
27737
27738Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27739
27740 * TODO: Add suggestions for static member function tests, and
27741 completion tests.
27742
27743Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27744
27745 * TODO: Add suggestions for "p/a" tests.
27746
27747 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
27748 (default_gdb_exit): Replace all the hair with sending "quit" to
27749 the process with a simple close.
27750
27751Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27752
27753 * TODO: Add suggestions for shared library tests.
27754
27755Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27756
27757 * TODO: Add suggestions for x/s tests.
27758
27759Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27760
27761 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
27762 "enable once", and "enable breakpoints once" with ".*".
27763
27764Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27765
27766 * TODO: Add suggestions about structure passing tests.
27767
27768Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27769
27770 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
27771 the primary1 test, use work around if __GNUC__ < 2.
27772 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
27773 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
27774 Test for bad output rather than waiting for timeout. Issue
27775 second continue only if first continue failed.
27776
27777Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27778
27779 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
27780 operator[] test with gdb_test because the old code didn't seem to
27781 be getting the quoting right with the new dejagnu.
27782
27783Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
27784
27785 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
27786 one from the path.
27787 * Makefile.in: Use a fresh expect if there is one, use runtest
27788 from the src tree if there is one.
d63a86f8 27789
c906108c
SS
27790Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27791
27792 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
27793 next over recursive call. Revise the tests from that point on
27794 (which had been skipped) to match GDB's actual (correct) output.
27795
27796 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
27797 with next over a breakpoint whose condition is false.
27798
27799 * gdb.t00/help.exp: Comment out "help set print" tests just like
27800 (and for same reason as) "help set" test.
27801
27802Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27803
27804 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
27805 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
27806
27807Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27808
27809 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
27810 necessary gdb_target_udi.
27811
27812 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
27813
27814 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
27815 1838 and 2417; they are fixed.
27816
27817 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
27818 gdb.t03/ptype.exp (ptype structure, ptype union):
27819 Remove xfails; the test is looser than when the xfails were added.
27820
27821 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
27822 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
27823
27824 * gdb.t01/run.exp: Only run shell test if isnative.
27825
27826 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
27827 since "run" automatically loads if necessary. Call gdb_target_udi
27828 after the "file" since "file" kills any execution target.
27829
27830 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
27831 GDB. GDB doesn't work that way (not anymore at least) on UDI.
27832 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
27833 argument for UDI.
27834
27835Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27836
27837 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
27838
27839 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
27840
27841Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27842
27843 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
27844 properly quoting regexps. This makes the second argument to
27845 demangle a fixed string, which matches the callers, instead of a
27846 shell-style pattern which is what the previous implementation
27847 used. Update some of the callers.
27848
27849Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27850
27851 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
27852 (comib_nullified_tests): Fix typo.
27853 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
27854 strings. No longer expected to fail.
27855
27856 * gdb.disasm/hppa.s (addib_tests): Fix typo.
27857 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
27858 strings. No longer expected to fail.
27859
27860 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
27861 string. No longer expected to fail.
27862
27863Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27864
27865 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
27866 No longer expected to fail.
27867
27868 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
27869 string. No longer expected to fail.
27870
27871Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27872
27873 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
27874 only in the names (I probably got most of them). I was even
27875 generous with some which differed in underscores in names, and
27876 probably missed a few, and I *still* was able to remove almost a
27877 third of the file with almost no impact on testsuite coverage.
27878
27879Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27880
27881 * gdb.t00/default.exp: Match udi_attach error message as well as
27882 the one from child_attach.
27883
27884 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
27885
27886 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
27887
27888 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
27889 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
27890
27891 * Move test with enums and partial symbols back to
27892 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
27893 Reverts the change of 26 May 93. Per today's change to
27894 stabs.texinfo, the behavior that weird.exp was expecting was
27895 unreasonable; what is important is that the compiler+gdb get
27896 things right, which happens with a recent gcc. Also fix the test
27897 to deal with native compilers which put out the stab gdb can't
27898 deal with.
27899
27900Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27901
27902 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
27903 in the names. The main thing these accomplish is to slow things down.
27904 Many more such duplicates surely remain.
27905
27906 * gdb.t00/help.exp: Comment out "help support" test just like
27907 (and for same reason as) "help set" test.
27908
27909Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
27910
27911 * gdb.t06/break.exp: Remove setup_xfails for
27912 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
27913 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
27914 about known bug in gcc to include up through 2.5.8.
27915 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
27916 well as "_vb$".
27917 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
27918 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
27919 with latest gcc and gdb.
27920 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
27921 well as "_vb$".
27922
27923Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27924
27925 * configure.in (hppa*-*-*): Also configure and build stabs-only
27926 tests.
27927
27928Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27929
27930 * gdb.t10/hppa.mt: A makefile fragment for the PA.
27931 * gdb.t10/configure.in (hppa*-*-*): Use it.
27932
27933Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27934
27935 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
27936
27937Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27938
27939 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
27940 versions prior to 1.13.5.
27941
27942Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27943
27944 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
27945 the prompt is at the start of a line.
27946
27947Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27948
27949 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
27950 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
27951 in the copr tests now.
27952 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
27953 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
27954 expected to fail.
27955
27956Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
27957
27958 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
27959 gdb.t31/chillvars.exp, lib/gdb.exp:
27960 Tweak to run under either version of expect.
27961 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
27962 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
27963 * gdb.t11/list.exp: Remove extraneous whitespace.
27964
27965Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27966
27967 * gdb.t16/printcmds.exp (test_print_strings): Accept
27968 "(unsigned char *) " before the string.
27969
27970 * TODO: Add notes about printing of fancy types and GDB expressions.
27971
27972Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
27973
27974 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
27975 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 27976 if doing mips-idt-ecoff.
c906108c
SS
27977
27978Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
27979
27980 * Most .exp files: Tweak to run under either version of expect.
27981
27982Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27983
27984 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
27985 xfails; I'm not sure why they are failing, but not because of PR 1806.
27986
27987Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
27988
27989 * config/unix-gdb.exp: Remove gdb_unload cause it's already
27990 defined in lib/gdb.exp.
27991
27992Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27993
27994 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
27995 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
27996 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
27997 have to be typeless.
27998
27999Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28000
28001 * TODO: Add suggestion for copyright year test.
28002
28003Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
28004
28005 * configure.in (*-*-lynxos*): Add stabs tests.
28006
28007Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
28008
28009 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
28010 so insert a tab before any assembler directive in column zero.
28011
28012 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
28013 stores.
28014 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
28015 stores.
28016 (fpu_short_memory_tests): Likewise.
28017
28018Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28019
28020 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
28021 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
28022 .stabs directives in comments.
28023
28024Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28025
28026 * TODO: New file, describing tests we could write.
28027 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
28028
28029Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28030
28031 * gdb.t06/signals.exp: Add kludge to force re-sync.
28032
28033 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
28034 to xgdb instead of gdb, get out of gdb.
28035
28036Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
28037
28038 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
28039 for info.
28040
28041Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
28042
28043 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
28044 * gdb.stabs/configure.in (hppa*-*-*): Use it.
28045 * gdb.stabs/hppa.sed: New sed script for the PA.
28046
28047Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28048
28049 * gdb.stabs: Re-write weird.def and configuration to use sed
28050 instead of cpp. sed is portable and POSIX; cpp is neither.
28051
28052Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28053
28054 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
28055
28056Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28057
28058 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
28059
28060Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28061
28062 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
28063 "_vb$".
28064 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
28065 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
28066
28067Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28068
28069 * lib/gdb.exp: Comment out code which depends on non-existent
28070 `transform' procedure.
28071
28072Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
28073
28074 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
28075 * lib/gdb.exp: Transform tool name.
28076 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
28077 1.1's new error handling system.
28078
28079Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28080
28081 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
28082
28083Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28084
28085 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
28086 They made pattern matching so slow that timeouts happened on
28087 heavily loaded systems. Now any output from "show print" which
28088 gets us back to the GDB prompt is a PASS.
28089
28090Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
28091
28092 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
28093
28094Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28095
28096 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
28097
28098 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
28099 It is not from PR 3220.
28100
28101Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28102
28103 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
28104 just started failing because they depended on the order the
28105 subcommands are presented, or exact docstring text. This kind of
28106 test is a pain and has minimal benefit.
28107
28108Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28109
28110 * gdb.t09/corefile.exp: At end of test, use "core" command with
28111 no arguments.
28112
28113Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
28114
28115 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
28116 17}/Makefile.in: Make it possible to run the testsuite with Sun
28117 make and CC = cross gcc by adding explicit build rules for .o
28118 files.
28119
28120Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28121
28122 * gdb.t15/funcargs.exp: Don't put comments on same line as
28123 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 28124
c906108c
SS
28125Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28126
28127 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
28128
28129Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
28130
28131 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
28132 * gdb.t20/inherit.exp: remove three dumplicate entries.
28133
28134Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28135
28136 * gdb.t06/break.exp: For "next over recursive call", fail on any
28137 incorrect output, not just on "factorial (value=2)".
28138
28139Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28140
28141 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
28142 working now. Add an xfail if accesing a bss variable causes
28143 a memory error if the target is not yet run.
28144
28145Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28146
28147 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
28148 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
28149 name of __st* demangling (2 strings). Did Kung really get the
28150 more than 95 others right without testing them?
28151
28152Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
28153
28154 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
28155
28156Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
28157
28158 * configure.in (configdirs): Add gdb.disasm
28159 * gdb.disasm: New directory for GDB disassembler tests.
28160 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
28161
28162Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28163
28164 * gdb.t00/help.exp: Don't test "help set".
28165
28166 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
28167 from within expect statements. None of these happen anymore and
28168 they cause regressions to be silently unnoticed.
28169
28170 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
28171 messages) about known failures with gcc cygnus-2.4.5-930417.
28172
28173 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
28174 comp-info.exp so it gets built if it doesn't exist.
28175
28176 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
28177 it is no longer used.
28178 * gdb.t13/comp-info.c: Removed.
28179
28180Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28181
28182 * gdb.t06/signals.exp: Add xfail for sun3.
28183
28184Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28185
28186 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
28187 relevant because ^C doesn't get sent but failure can be reproduced
28188 interactively).
28189
28190Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28191
28192 * gdb.stabs/alpha.mt: New configuration file for alpha.
28193 * gdb.stabs/configure.in: Use it.
28194 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
28195 sharing with alpha.mt, redefine long to word via preprocessor.
28196 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
28197 for alpha.
28198 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
28199 native cc.
28200 * gdb.t00/teststrategy.exp: Change expect string so that we
28201 consume the `(xgdb)' from the command echo and from the gdb prompt.
28202 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
28203 gdb currently compares all values as long, so this failure probably
28204 applies to any configuration where LONGEST is bigger than a target int.
28205 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
28206 with gcc.
28207 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
28208 to handle opaque pointers, gcc is.
28209 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
28210 as first argument. Include <sys/types.h> and change all operator
28211 new definitions to use size_t.
28212 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
28213 now that we use size_t.
28214
28215Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28216
a9c64011 28217 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 28218 a long or float array cast all array members to the same type.
a9c64011 28219 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 28220 with 64 bit longs.
a9c64011 28221 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 28222 on alpha.
a9c64011 28223 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
28224
28225Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28226
28227 * gdb.t24 (demangle.exp): Constructors of templates have names like
28228 vector<int>::vector(int) not vector<int>::vector<int>(int). See
28229 section 14.6 of the ARM.
28230
28231 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
28232 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
28233 accomplish little and slow down the testsuite.
28234
28235 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
28236 Accept spaces various places.
28237
28238Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28239
28240 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
28241 with watchpoint enabled.
28242
28243 * Makefile.in: Remove definition of CC and remove the second
28244 definition of CXX (the "CXX = gcc" one remains). These definitions
28245 were causing backquotes to be expanded within backquotes, which
28246 doesn't work.
28247
28248Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
28249
28250 * gdb.t17/callfuncs.exp: Add "return 0" to end.
28251
28252Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28253
a9c64011
AS
28254 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
28255 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
28256 by mips cc and contains no stabs entries.
28257
28258Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
28259
28260 * config/vx-gdb.exp: Use fake device to load files rather than
28261 NFS.
28262 * lib/gdb.exp: New proc to do "file" command.
28263 * config/unix-gdb.exp: Use new "file" proc.
28264
28265Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
28266
28267 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
28268 Rework board rebooting slightly.
28269 (gdb_exit): Don't exit from the remote shell; there isn't one.
28270 * gdb.stabs/weird.exp: If a program is being debugged already,
28271 kill it.
28272 * gdb.t04/setvar.exp: Stop and restart gdb.
28273 * gdb.t05/expr.exp: Likewise.
28274 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
28275 restart gdb and reload the program.
28276 * gdb.t08/opaque.exp: Likewise.
28277 * gdb.t12/scope.exp: Likewise.
28278 * gdb.t13/bitfields.exp: Likewise.
28279 * gdb.t15/funcargs.exp: Likewise.
28280 * gdb.t20/classes.exp: Likewise.
28281 * gdb.t03/ptype.exp: Increase timeout.
28282 * gdb.t16/printcmds.exp (test_print_string_constants,
28283 test_print_array_constants): Likewise.
28284 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
28285 * gdb.t20/classes.exp (do_tests): Likewise.
28286 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
28287
28288Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
28289
28290 * gdb.stabs: Renamed *wierd* to *weird*.
28291
28292Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28293
28294 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
28295 for timeout. Add "known gcc 2.4.5 bug" to failure message.
28296
28297Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28298
28299 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
28300 (do_tests): Remove xfail for whatis on one_var and two_var.
28301
28302Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
28303
28304 * Makefile.in: Made cross building work better by adding
28305 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
28306
28307Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28308
28309 * gdb.t15/{return.c,return.exp,Makefile.in}:
28310 New test, currently commented out.
28311
28312Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
28313
28314 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
28315 still running and removes the leftover named socket so GDb can do
28316 clean restarts.
28317
28318Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
28319
28320 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
28321 console, not GDB.
28322 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
28323 cross testing works better with "make check"
28324 * config/unix-gdb: Use default procedures for exit and version.
28325 * config/vx-gdb.exp: Cleaned up and massaged back to working order
28326 with the newest VxWorks.
28327
28328Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28329
28330 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
28331 old form.
28332
28333 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
28334 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
28335
28336 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
28337
28338 * config/unix-gdb.exp: Remove this version of gdb_exit
28339 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
28340 Rob says he'll look at it when he gets back to testing boards.
28341
28342Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
28343
28344 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
28345 an expected fail for certain ptype commands.
28346
28347 * gdb.t20/classes.exp: Update expected results of "ptype class
28348 Base1" to account for the constructor that now appears in the type.
28349
28350Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
28351
28352 * configure.in (configdirs): Restore gdb.t04, which mysteriously
28353 disappeared from list.
28354 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
28355 "alldone" proc with call to cleanup and exit.
28356 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
28357 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
28358 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
28359 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
28360 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
28361 "alldone" proc with simple returns that suppress remaining
28362 tests. The alldone proc went away many months ago.
28363
28364Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28365
28366 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
28367
28368 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
28369
28370Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28371
28372 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
28373 as vax gdb will display them.
28374
28375Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28376
28377 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
28378 optimizers.
28379
28380 * scope.exp: Change "bad value for localval" messages so each one
28381 is unique.
28382
28383 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
28384 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
28385
28386 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
28387
28388Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28389
28390 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
28391 doesn't exist (due to optimization).
28392
28393Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28394
28395 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
28396 contains \r because the filename is long.
28397
28398 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
28399 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
28400
28401Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28402
28403 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
28404 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
28405 Ultrix.
28406 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
28407 int tests.
28408 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
28409
28410Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
28411
28412 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
28413
28414 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 28415 to match does not match the passing case but still matches the
c906108c
SS
28416 failing case.
28417
28418Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28419
28420 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
28421
28422Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
28423
28424 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
28425 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
28426 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
28427 Remove various versions of gdb_exit.
28428 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
28429 gdb_exit.
28430 * config/unix-gdb.exp: gdb_exit remains here, and should override
28431 the generic version, since it's doing a lot of wierd stuff that
28432 the other versions aren't. FIXME, fold it in, or abandon this
28433 version.
28434
28435Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28436
28437 * gdb.t24/demangle.exp: Add tests for PR 3220.
28438
28439Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28440
28441 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
28442
28443Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
28444
28445 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
28446 "i386-*-*". Works for i486 as well.
28447
28448 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
28449 bug, and expand domain of xfail to all SVR4 systems, since the
28450 actual problem is likely to be in generic SVR4 /proc support.
28451
28452Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28453
28454 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
28455
28456Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
28457
28458 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
28459 xfails for other systems. Match a missing 'Continuing.' as an
28460 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
28461
28462 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
28463 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
28464 Only issue warning for missing executables if -all option is used.
28465
28466 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
28467 file if -all option is used. It's like an unpredictable XFAIL.
28468
28469Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28470
28471 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
28472 for dynamically linked binaries.
28473
28474 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
28475
28476Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28477
28478 * gdb.t20/inherit.exp: Change message for "print tagless struct"
28479 to state that this is a known bug in old versions of g++.
28480
28481Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28482
28483 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
28484 while waiting for `Continuing'.
28485
28486Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
28487
28488 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
28489 in text, data, and bss.
28490 * gdb.t10/nodebug.c: Add local and global test variables for
28491 initialized and uninitialized data.
28492
28493Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28494
28495 * config/unix-gdb.exp (gdb_exit): Add "wait".
28496
28497Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28498
28499 * gdb.t06/signals.exp: xfail the continue from the handler for all
28500 targets.
28501
28502 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
28503 function with watchpoints enabled, the i386 call dummy starts with
28504 a call.
28505
28506 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
28507 386 bsd names its corefiles.
28508
28509Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
28510
28511 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
28512 compilers don't grok it.
28513 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
28514 with small octal ints rather than character constants, which
28515 are signed and might not fit if first promoted to int.
28516
28517Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
28518
28519 * gdb.t09/Makefile.in (clean): Remove corefile.
28520
28521Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28522
28523 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
28524
28525Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28526 and Jim Kingdon (kingdon@cygnus.com)
28527
28528 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
28529 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
28530 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
28531
28532Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28533
28534 * gdb.t17/interrupt.exp: Add xfail for hppa.
28535
28536Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28537
28538 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
28539 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
28540 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
28541 to determine signed-ness of bitfields and use the result to setup
28542 the xfail.
28543 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
28544 * gdb.t15/funcargs.exp: Use them to step until the second indirect
28545 call line is reached if necessary.
28546
28547Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28548
28549 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
28550
28551Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28552
28553 * gdb.t06/break.exp: Also test `clear' command.
28554
28555Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28556
28557 * gdb.t00/teststrategy.exp: Remove extra quote.
28558
28559 * gdb.t07/watchpoint.exp: Change xfail for calling function with
28560 watchpoint enabled to be for all non-68k machines.
28561
28562 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
28563
28564Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28565
28566 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
28567 targets use aout.mt instead of ecoff.mt as gas understands
28568 standard aout format.
28569
28570Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28571
28572 * lib/gdb.exp (runto): Don't insist that function we are running to
28573 was compiled with -g.
28574
28575 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
28576
28577 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
28578 to get back into the read system call.
28579 Accept leading newline in case where we woke it up.
28580
28581Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28582
28583 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
28584 to make the stabs test work on ecoff systems using gcc and -with-stabs.
28585 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
28586 enable ecoff configuration.
28587
28588Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28589
28590 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
28591
28592Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28593
28594 * gdb.t16/printcmds.exp: Add another printf test.
28595
28596Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
28597
28598 * configure.in: If configured -with-stabs on any target, add
28599 stabsdirs to configdirs.
28600
28601Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28602
28603 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
28604 fun" so pattern does not match the command itself.
28605
28606Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28607
28608 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
28609
28610Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28611
28612 * gdb.t17/interrupt.exp: Test for more things.
28613
28614Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28615
28616 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
28617 compiler arranges the code and line numbers.
28618
28619 * gdb.t17/interrupt.exp: Don't send \n after ^C.
28620
28621Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28622
28623 * gdb.t00/help.exp: Increase expect input buffer size.
28624
28625Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28626
28627 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
28628
28629 * gdb.t07/watchpoint.exp: Add xfail for hppa.
28630
28631 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
28632
28633 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
28634 [0-9]*, not just [0-9].
28635
28636Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28637
28638 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
28639
28640 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
28641
28642Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28643
28644 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
28645
28646Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28647
28648 * gdb.t06/signals.c: Add xfails for sun3.
28649
28650 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
28651
28652 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
28653 test_stepping tests.
28654
28655Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28656
28657 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
28658
28659 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
28660
28661 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
28662 rather than actually putting it through cpp twice.
28663
28664 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
28665
28666Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
28667
28668 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
28669 no longer needed.
28670
28671Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28672
28673 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
28674
28675 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
28676 C++ features prints as "struct", make it a pass, not an xfail.
28677
28678Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28679
28680 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
28681 Don't require VA to print as "class" rather than "struct".
28682
28683Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
28684
28685 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
28686
28687Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28688
28689 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
28690
28691Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28692
28693 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
28694 order.
28695
28696Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28697
28698 * gdb.t16/printcmds.exp: Add printf tests.
28699
28700 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
28701
28702 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
28703
28704Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
28705
28706 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
28707 pass counts, to counteract any existing or future setup_xfails.
28708
28709Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28710
28711 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
28712 {BEGIN,END}_COMMON for common block instead of STAB.
28713 * gdb.stabs/wierd.exp: Add xfail for rs6000.
28714
28715 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
28716 intp_var should be N_GSYM not N_LSYM.
28717 wierd-aout.S: Use a label for the value of the N_SO.
28718 wierd.def: Remove all backslashes.
28719 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
28720
28721Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28722
28723 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
28724 get the expected next to inheritance3.
28725
28726Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28727
28728 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
28729 now that gcc-2.4 gets it right.
28730
28731Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28732
28733 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
28734
28735 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
28736 generating comp-info.exp which works for cross-compilation.
28737
28738Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
28739
28740 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
28741 "*-*-sysv4.*".
28742
28743Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
28744
28745 * gdb.t01/run.exp: Start with a fresh gdb.
28746 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
28747 SVR4.x.
28748
28749Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
28750
28751 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
28752 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
28753 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
28754 Makefile.in (distclean, realclean): Remove gdbme.c from list of
28755 things to remove.
28756
28757Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
28758
28759 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
28760 test cases from bug reports.
28761
28762Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
28763
28764 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
28765 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
28766 avoid spurious xfails.
28767 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
28768 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
28769 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
28770
28771Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
28772
28773 * gdb.t00/teststrategy.exp: Rework to provide more useful
28774 description of each test, fix problem with systems that define
28775 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
28776 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
28777 results for "next over recursive call" so timeouts aren't taken
28778 by error.
28779
28780Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
28781
28782 * gdb.t12/scope.exp: Test printing of variables before run.
28783
28784 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
28785 printed in wrong order due to sorting.
28786
28787Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
28788
28789 * gdb.t00/teststrategy.exp: Fix expected results for printing
28790 user entered string constant. Is array of char, prints with no
28791 address.
28792
28793 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
28794 commands.
28795 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
28796 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
28797 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
28798 of struct of char arrays.
28799 * gdb.t00/radix.exp: New tests for radix commands.
28800
28801Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
28802
28803 * gdb.t16/printcmd.exp: Print a variable before running program
28804 (with xfail for AIX).
28805
28806Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
28807
28808 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
28809
28810 * gdb.t16/printcmd.exp: Don't print variables before running program.
28811
28812 * gdb.t06/break.exp: Don't require envp argument to main.
28813
28814 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
28815
28816 * gdb.t02/whatis.exp, gdb.t11/list.exp:
28817 Add xfails for rs6000.
28818
28819 * gdb.t02/whatis.exp: Change other tests not to re-test something
28820 we already tested.
28821
28822 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
28823 each type used has a variable of that type.
28824
28825Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
28826
28827 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
28828
28829Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
28830
28831 * configure.in: change srctrigger to be a file, not a directory
28832
28833Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
28834
28835 * configure.in (mips-idt-ecoff*): Added trailing '*'.
28836
28837 * gdb.t11/list.exp: Fixed a couple of typos.
28838
28839Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
28840
28841 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
28842 is fixed and PR is closed.
28843 * gdb.t16 (gdbme.c): Add simple test string variable.
28844 * gdb.t16 (printcmds.exp): Add tests with simple test string
28845 variable, primarily for boundaries on "set print elements".
28846
28847Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
28848
28849 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
28850 Make leading 0's optional and don't expect a tab in the middle
28851 of the number.
28852
28853 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
28854
28855 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
28856 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
28857 don't end command passed to gdb_test with newline.
28858
28859 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
28860 signed keyword away, don't expect signed bitfields to be signed.
28861
28862 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
28863 printing with only as many 1's as are in the field as well as printing
28864 with 32 1's (see comment).
28865
28866Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
28867
28868 * gdb.t00/default.exp: Start with a fresh gdb.
28869 * configure.in (configdirs): Remove gdb.t31 until the chill
28870 compiler works again. It no longer is able to find chillrt0
28871 since it isn't in libchill.a anymore.
28872 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
28873 wierd.o, make more modular.
28874 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
28875 spurious newlines that caused problems.
28876
28877Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28878
28879 * Move test with enums and partial symbols from gdb.t03/ptype.exp
28880 to gdb.stabs/wierd.exp since GCC has worked around the bug.
28881 gdb.stabs/wierd.{exp,def}: Many new tests.
28882
28883 * gdb.t00/default.exp: update info line for new message.
28884
28885 * gdb.t02/{whatis.exp,gdbme.c}:
28886 Test that "char *" doesn't print as "caddr_t".
28887
28888Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28889
28890 * gdb.t00/help.exp: Use .* in place of some help messages which
28891 just changed.
28892 gdb.t00/default.exp: Update "info frame" test for new message.
28893 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
28894 Remove some xfails
28895
28896Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28897
28898 * gdb.t03/{gdbme.c,ptype.exp}:
28899 Add tests for typedef'd struct and union without tags.
28900 Also check "whatis" on a variable of a typedef'd enum without a tag.
28901
28902 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
28903 PRMS 1823; the bug still exists but isn't reproduced by this test
28904 anymore), and remove rs6000 XFAIL (the bug is fixed).
28905
28906 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
28907 duplicated from whatis.exp. For those that are left, accept
28908 "long", "long int", or "int" for long variables (whatis.exp already
28909 has an XFAIL for "int", so no need to fail it here).
28910
28911 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
28912 Deal with GCC's names for types now that GDB uses the compiler's names.
28913
28914 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
28915 setup_xfail's for sunos4. If we #defined the signed keyword away,
28916 don't expect GDB to know that char it is signed.
28917
28918 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
28919
28920Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
28921
28922 * configure.in (configdirs): Add gdb.t24 for C++ tests that
28923 should work on any system, regardless of debugging format.
28924 * gdb.t21/demangle.exp: Move to gdb.t24.
28925 * gdb.t24/demangle.exp: Move from gdb.t21.
28926 * gdb.t24/{Makefile.in, configure.in}: New files.
28927
28928Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28929
28930 * configure.in: Do gdb.stabs and C++ tests only for stabs.
28931 * gdb.stabs: New directory.
28932
28933Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28934
28935 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
28936 not just "Quit anyway?".
28937
28938Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
28939
28940 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
28941 that all setup_xfails are immediately followed by clear_xfails.
28942
28943Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
28944
28945 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
28946 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
28947 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
28948 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
28949 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
28950 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
28951 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
28952 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
28953 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
28954 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
28955 gdb.t31/chillvars.exp, lib/gdb.exp:
28956 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
28957 bug-gdb@prep.ai.mit.edu.
28958
28959Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
28960
28961 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
28962 with 0.0, not integer 0.
28963
28964Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
28965
28966 * gdb.t06/break.exp: Update for "Kill the program" message change.
28967
28968Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
28969
28970 * Makefile.in (GDBFLAGS): Set to -nx.
28971 * Makefile.in (site.exp): Use GDBFLAGS.
28972
28973Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28974
28975 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
28976 Makefiles.
28977 (check): depend on just-check.
28978 (just-check): added so that tests can be run without a noop
28979 build pass.
28980
28981Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28982
28983 Switch to using configure's configdirs.
28984 * Makefile.in (Makefile): add configure.in dependency.
28985 (SUBDIRS): removed redundant assignment.
28986 * configure.in: switch subdirs assignment to configdirs.
28987 * gdb.t*/configure.in: new files.
28988
28989Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
28990
28991 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
28992 works.
28993
28994Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
28995
28996 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
28997 in explicit rules. Apparently this is not supported by some makes.
28998
28999Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
29000
29001 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
29002
29003Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29004
29005 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
29006 disappeared.
29007
29008Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
29009
29010 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
29011
29012Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
29013
29014 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
29015 watchpoint problem that is now fixed.
29016 * gdb.t30/chexp.exp: Remove setup_xfail for printing
29017 uninitialized convenience variables.
29018 * gdb.t31/chillvars.exp: Fix expected patterns for printing
29019 structures.
29020
29021Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29022
29023 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
29024 which causes expect to get out of sync with gdb on long output
29025 from help set.
29026 * gdb.t09/corefile.exp: Make expected pattern for core file
29027 failing signal and frame output format less sun specific.
29028
29029Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
29030
29031 * gdb.t31/chillvars.exp: Add and remove initial dummy
29032 breakpoint, so that symbol table is forced in.
29033 (Needed at least on Sunos4, though it seems not SVR4.)
29034 * gdb.t31/chillvars.exp: Update for changed output format.
29035
29036Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
29037
a9c64011 29038 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
29039
29040Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
29041
29042 * Makefile.in: Added --srcdir when invoking runtest, removed the
29043 need for a local config file. (optional now)
29044
29045Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
29046
29047 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
29048 failure count used to force early termination. Add some more
29049 expected failures for gnu style demangling.
29050
29051Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29052
29053 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
29054 pmi variable from gdb.t20/gdbme to get optimized away.
29055 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
29056 Check for written corefile upon timeout _and_ eof.
29057
29058Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29059
29060 * config/unix-gdb.exp: Add missing return 0.
29061
29062Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29063
29064 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
29065 test termination.
29066
29067Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
29068
29069 * configure.in (subdirs): Put back gdb.t17 which mysteriously
29070 disappeared.
29071
29072Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
29073
29074 * gdb.t10/crossload.exp: Disable the i860-elf test until such
29075 time as i860 support works.
29076
d63a86f8 29077 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
29078 "backtrace 100\r" rather than just "backtrace\r", to match last
29079 change.
29080
29081Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
29082
29083 * config/udi-gdb.exp (gdb_exit): Remove close command.
29084 (gdb_target_udi): New procedure to set the UDI target.
29085 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
29086 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
29087 Added waits for prompts after several question responses. Added
29088 some more responses used by a29k-amd-udi-gdb.
29089 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
29090 pass different arguments, restart UDI connection after program
29091 completion.
29092 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
29093 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
29094 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
29095 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
29096 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
29097 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
29098 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
29099 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
29100 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
29101 after program completion.
29102 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
29103 compiled with a SELECT_VECS setting.
29104 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
29105 infinite recursion.
29106
29107 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
29108 Added checks for COFF results, and made them expected failures for
29109 all targets. It would be better to make them expected failures
29110 for COFF targets only.
29111
29112Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
29113
29114 * Makefile.in: add null dvi target, don't bother to recurse
29115 through test directories for info and install-info; rename
29116 $(datadir) to be dejagnu instead of deja-gnu
29117
29118Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
29119
29120 * gdb.t31/gdbme.ch: Re-enable code that previously caused
29121 compiler to coredump.
29122 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
29123 code.
29124
29125Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
29126
29127 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
29128 coredump.
29129 * gdb.t31/chillvars.exp: Comment out tests that depend on that
29130 code.
29131
29132Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
29133
29134 * gdb.t03/ptype.exp: tests for return code from gdb_test.
29135 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
29136 which in a shell. Deletes xgdb when done.
29137 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
29138 Tests the return from the "set height" or "set width" commands.
29139 Added a few return codes where needed.
29140
29141Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
29142
29143 * Makefile.in (SUBDIRS): Add gdb.t17.
29144 * configure.in (subdirs): Add gdb.t17.
29145 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
29146 files to test gdb's calling of functions in the inferior with
29147 the correct arguments and gdb's ability to retrieve any
29148 result returned.
29149
29150Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
29151
29152 * config/unix-gdb.exp (gdb_exit): Remove close commands that
29153 may be called after gdb goes away. Previous versions of expect
29154 needed these to avoid file descriptor leaks, but they cause
29155 errors with the current revision of expect.
29156 * gdb.t00/gdbvars.exp: Use -re on expected output after
29157 setting sevenbit-strings.
29158 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
29159 to set sevenbit-strings consistent across tests.
29160 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
29161 set sevenbit-strings consistent across tests.
29162
29163Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
29164
29165 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
29166 expected output to match current "expect" expectations.
29167
29168Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
29169
29170 * gdb.t00/default.exp: Change expected output for default "source"
29171 command, to match new gdb behavior which requires a filename to
29172 source.
29173
29174Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
29175
29176 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
29177 expected fail for i486-*-* that misses the marker2 function.
29178 * gdb.t10/crossload.exp (bfddefault): Allow successful
29179 recognition of a format to pass even if no symbols are found.
29180 Explicitly catch failures where the format is not recognized
29181 or is ambiguous, and add the reason to the fail message.
29182 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
29183 the cause is and invalid target and add reason to failure message.
29184 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
29185 elf32-i386, elf32-sparc, and elf32-i860.
29186 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
29187 Set up expected failure for 'filename'::variable scope resolution,
29188 which is now apparently broken on all targets.
29189 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
29190 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
29191 gdb.t23/templates.exp: Change failure for missing binfile into
29192 just a warning.
29193 gdb.t21/demangle.exp: Change all cfront references to 'arm'
29194 references.
29195
29196Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
29197
29198 * gdb.t00/default.exp: Add expected output for default "source"
29199 command, to match new gdb behavior.
29200 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
29201
29202Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
29203
29204 * config/*-gdb.exp: returns an error, rather than exiting on
29205 internal errors.
29206
29207Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
29208
29209 * gdb.t03/gdbme.c: Add pointer to struct variable.
29210 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
29211 referencing struct members.
29212
29213Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
29214
29215 * configure.in (mips-idt-ecoff): New target.
29216 * config/mips-gdb.exp: New file for remote board using MIPS remote
29217 debugging protocol.
29218
29219 * Redid configuration scheme. Removed gdb.t*/configure.in.
29220 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
29221 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
29222 distclean targets. Built executables via .o files. Adjusted
29223 tests to account for source files in $(srcdir) rather than
29224 $(objdir).
29225 * lib/gdb.exp (runto): Don't expect () after the function name,
29226 because it may have arguments.
29227
29228Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
29229
29230 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
29231 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
29232 expected failures for mips-idt-* and mips-sgi-*.
29233 * gdb.t00/default.exp (attach): Kill process if requested.
29234 * gdb.t00/help.exp (help target core, help target): Accept a gdb
29235 that does not read core files.
29236 * gdb.t01/run.exp: Removed checks for exit status code.
29237 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
29238 it is linked in.
29239 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
29240 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
29241 appropriate, rather than doing it by hand.
29242 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
29243 execution.
29244 * gdb.t10/crossload.exp: Kill existing program if needed.
29245 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
29246 appropriate, rather than doing it by hand. Always increase
29247 timeout for this test, not just for VxWorks.
29248
29249Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
29250
29251 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
29252 of Chill STRUCT types and STRUCT values.
29253 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
29254 than "char".
29255 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 29256 struct2): New struct definitions and initializations to test
c906108c
SS
29257 simple Chill STRUCT types.
29258
29259Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
29260
29261 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
29262 the null byte at the end of strings.
29263 * gdb.t00/default.exp: Make show version insensitive to copyright
29264 date.
29265 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
29266 to avoid dependencies on target char signedness.
29267 * gdb.t16/printcmds.exp: Update expected results for explicitly
29268 unsigned char.
29269 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
29270 now work.
29271 * gdb.t21/demangle.exp: Add many more patterns for template
29272 demangling, most of them being expected failures.
29273 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
29274 string we are matching for, to match on the whole string.
29275 * gdb.t21/demangle.exp: Add many new test strings to demangle,
29276 and fix a whole bunch that had incorrect expected output but were
29277 passing anyway because of the bug in "proc demangle".
29278 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
29279 type.
29280 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
29281
29282Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
29283
a9c64011
AS
29284 * gdb/testsuite: made modifications to testcases, etc., to allow
29285 them to work properly given the reorganization of deja-gnu and the
29286 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
29287
29288Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
29289
29290 * gdb/testsuite: Initial creation of gdb/testsuite.
29291 Migrated dejagnu testcases and support files for testing nm to
29292 gdb/testsuite from deja-gnu. These files were moved "as is"
29293 with no modifications. This migration is part of a major overhaul
29294 of dejagnu. The modifications to these testcases, etc., which
29295 will allow them to work with the new version of dejagnu will be
29296 made in a future update.
48efe704 29297
8d8cb839 29298 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 29299\f
8d8cb839
EZ
29300;; Local Variables:
29301;; mode: change-log
29302;; left-margin: 8
29303;; fill-column: 74
29304;; version-control: never
29305;; End:
902f2ccb 29306
0b302171 29307 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
29308 Copying and distribution of this file, with or without modification,
29309 are permitted provided the copyright notice and this notice are preserved.