]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
666b578b
JK
12012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Fix compatibility with old GCC (~4.1).
4 * gdb.cp/converts.cc (my_enum_var): New variable.
5
42056501
AB
62012-09-14 Andrew Burgess <aburgess@broadcom.com>
7
8 * gdb.xml/tdesc-regs.exp: Update expected output for new
9 vector_size syntax of vector types.
10
b9516fa1
YPK
112012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
12
13 Refactor Python "gdb" module into a proper Python package, by
14 introducing a new "_gdb" module for code implemented in C, and
15 using reload/__import__ instead of exec.
16 * gdb.python/python.exp (Test stderr location): Update module
17 location of GDB-specific sys.stderr.
18 (Test stdout location): Ditto for sys.stdout.
19
18dc9ad8
JK
202012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21
22 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
23
ea3a9873
KS
242012-09-12 Keith Seitz <keiths@redhat.com>
25
26 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
27 conversion statement.
28
5941debb
DE
292012-09-12 Doug Evans <dje@google.com>
30
31 * gdb.base/help.exp: Remove testing of individual command help text,
32 too much of a maintenance burden. Instead, test the functionality
33 of "help" itself.
34
cfc35e02
DE
352012-09-11 Doug Evans <dje@google.com>
36
3a0ed5d7
DE
37 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
38 breakpoint.
39
cfc35e02
DE
40 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
41 * gdb.dwarf2/fission-reread.S: Ditto.
42 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
43 * gdb.dwarf2/fission-reread.exp: Ditto.
44
350b1b26
AB
452012-09-11 Andrew Burgess <aburgess@broadcom.com>
46
47 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
48
2fa15f23
JB
492012-09-10 Joel Brobecker <brobecker@adacore.com>
50
51 * gdb.ada/optim_drec: New testcase.
52
09be558e
DE
532012-09-10 Doug Evans <dje@google.com>
54
55 * boards/fission.exp: Explicitly mark "board" as not remote.
56
5b4f6e25
KS
572012-09-10 Keith Seitz <keiths@redhat.com>
58
59 PR gdb/13483
60 * gdb.cp/converts.cc (A::A): Add ctor.
61 (A::member_): Add member.
62 (enum my_enum): New enumeration.
63 (main): Add calls to foo1_7 with various
64 permitted arguments.
65 * gdb.cp/converts.exp: Add tests for boolean
66 conversions permitted by the standard.
67
b4ca5ed9
YPK
682012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
69
70 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
71 avoid spurious results due to ~/.gdbinit.
72 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
73 $INTERNAL_GDBFLAGS in run command.
74 * gdb.gdb/observer.exp (setup_test): Ditto.
75 * gdb.gdb/selftest.exp (test_with_self): Ditto.
76 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
77
d54b30bb
DE
782012-09-06 Doug Evans <dje@google.com>
79
14910956
DE
80 * boards/fission.exp: New file.
81
d54b30bb
DE
82 * gdb.python/py-value.exp: Use clean_restart.
83
91b253e1
DE
842012-09-05 Doug Evans <dje@google.com>
85
86 * gdb.base/info-macros.c: Fix whitespace.
87
1292279a
PA
882012-08-28 Pedro Alves <palves@redhat.com>
89
90 PR gdb/14428
91
92 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
93
1c8cdcb1
JK
942012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
95
96 * gdb.base/break-caller-line.c: New file.
97 * gdb.base/break-caller-line.exp: New file.
98
1e8e8b51
JK
992012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
100
101 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
102 * gdb.arch/i386-cfi-notcurrent.S: New file.
103 * gdb.arch/i386-cfi-notcurrent.exp: New file.
104
1591a1e8
PA
1052012-08-27 Wei-cheng Wang <cole945@gmail.com>
106 Yao Qi <yao@codesourcery.com>
107 Pedro Alves <palves@redhat.com>
108
109 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
110 New procedures.
111 (top level): Add overlap checking tests.
112
4442ada7
TT
1132012-08-24 Tom Tromey <tromey@redhat.com>
114
115 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
116 gdb_test_multiple fails for other reasons.
117
e7d50cc9
YQ
1182012-08-24 Yao Qi <yao@codesourcery.com>
119
120 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
121
dfbd5e7b
PA
1222012-08-23 Pedro Alves <palves@redhat.com>
123
124 * gdb.base/help.exp: Adjust to "handle" help text change.
125
8d735b87
YQ
1262012-08-23 Yao Qi <yao@codesourcery.com>
127
128 * gdb.trace/disconnected-tracing.c (start, end): New.
129 (main): Call start and end.
130 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
131 existing tests into this proc.
132 (disconnected_tfind): New.
133
61b1d759
YQ
1342012-08-23 Yao Qi <yao@codesourcery.com>
135
136 * boards/native-gdbserver.exp (${board}_upload): New.
137 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
138 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
139 Execute tfile on remote target.
140 Copy trace file from target to host.
141
6ca1b147
JM
1422012-08-22 Joseph Myers <joseph@codesourcery.com>
143
144 * gdb.arch/thumb-bx-pc.S: New file.
145 * gdb.arch/thumb-bx-pc.exp: New file.
146
706e3705
TT
1472012-08-22 Tom Tromey <tromey@redhat.com>
148
149 * gdb.base/maint.exp: Update.
150
b4893d48
TT
1512012-08-22 Tom Tromey <tromey@redhat.com>
152
153 * lib/gdb.exp (skip_unwinder_tests): New proc.
154 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
155 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
156
45b7da81
TT
1572012-08-21 Tom Tromey <tromey@redhat.com>
158
159 * gdb.hp/gdb.aCC/exception.exp: Remove.
160
f94363d7
AP
161012-08-19 Andrew Pinski <apinski@cavium.com>
162
163 * gdb.arch/mips-octeon-bbit.c: New file.
164 * gdb.arch/mips-octeon-bbit.exp: New Test.
165
e5afdbd7
KS
166012-08-19 Keith Seitz <keiths@redhat.com>
167
168 PR c++/14365
169 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
170 * gdb.dwarf2/dw2-anon-mptr.S: New file.
171
c29e8b64
JK
1722012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
173
174 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
175 verbose -log by more specific untested call.
176
15a7e7bc
YQ
1772012-08-18 Yao Qi <yao@codesourcery.com>
178
179 * gdb.trace/tfind.exp: Move tests on various command help before
180 checking target supports trace.
181 Fix the expected output of 'help tfind end'.
182
a451cb65
KS
1832012-08-17 Keith Seitz <keiths@redhat.com>
184
185 PR c++/13356
186 * gdb.base/default.exp: Update all "check type" tests.
187 * gdb.base/help.exp: Likewise.
188 * gdb.base/setshow.exp: Likewise.
189 * gdb.cp/converts.cc (foo1_type_check): New function.
190 (foo2_type_check): New function.
191 (foo3_type_check): New function.
192 (main): Call new functions.
193 * converts.exp: Add tests for integer-to-pointer conversions
194 with/without strict type-checking.
195
dbf6a605
MF
1962012-08-16 Mike Frysinger <vapier@gentoo.org>
197
198 * gdb.base/help.exp: Update expected output.
199
0c92d8c1
JB
2002012-08-16 Joel Brobecker <brobecker@adacore.com>
201
202 * gdb.ada/rdv_wait: New testcase.
203
e56f7f42
JK
2042012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
205
206 * gdb.base/attach-twice.exp: Remove excessive ps exec.
207
f47f77df
DE
2082012-08-13 Doug Evans <dje@google.com>
209
e202d6e8 210 * gdb.base/help.exp: Update expected output.
f47f77df
DE
211 * gdb.base/default.exp: Update expected output of "show convenience".
212
a72c3253
DE
2132012-08-10 Doug Evans <dje@google.com>
214
215 * gdb.python/py-strfns.c: New file.
216 * gdb.python/py-strfns.exp: New file.
217 * gdb.python/py-type.exp (test_fields): Add vector tests.
218
de0bea00
MF
2192012-08-10 Mike Frysinger <vapier@gentoo.org>
220
221 PR cli/10436:
222 * gdb.base/completion.exp: Add tests for handle completion.
223
5b9afe8a
YQ
2242012-08-09 Yao Qi <yao@codesourcery.com>
225
226 * gdb.mi/mi-cmd-param-changed.exp: New.
227 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
228 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
229 * gdb.mi/mi2-prompt.exp: Likewise.
230
4f485ebc
DE
2312012-08-08 Doug Evans <dje@google.com>
232
233 * gdb.base/debug-expr.c: New file.
234 * gdb.base/debug-expr.exp: New file.
235 * gdb.base/exprs.exp: Test {type} casts.
236 * gdb.cp/debug-expr.exp: New file.
237
5888842d
JK
2382012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
239
240 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
241 global variable loop, not a 'break'. Add loop count limit to 100.
242 Add new fail case for terminated vgdb.
243
4f69f4c2
JK
2442012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
245 Jean-Marc Saffroy <saffroy@gmail.com>
246
247 PR 11804
248 * gdb.base/gcore-relro.exp: New file.
249 * gdb.base/gcore-relro-main.c: New file.
250 * gdb.base/gcore-relro-lib.c: New file.
251
e2de5390
JK
2522012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
253
254 Do not false FAIL with old GCCs.
255 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
256 GCC < 4.5 in $no_hw mode.
257
606603c5
JK
2582012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
259
260 * gdb.base/default.exp (cd): Accept new directory with no arguments.
261
777f26c2
JK
2622012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
263
264 * gdb.base/list.exp (test_only_end): New function.
265 Call it.
266
2c12abee
TT
2672012-08-06 Tom Tromey <tromey@redhat.com>
268
269 * gdb.python/py-mi.exp: Add test for printer whose children
270 are a list.
271 * gdb.python/py-prettyprint.c (struct children_as_list): New.
272 (main): New variable children_as_list.
273 * gdb.python/py-prettyprint.py (class pp_children_as_list):
274 New.
275 (register_pretty_printers): Register new printer.
276
0eae2cf4
EBM
2772012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
278
279 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
280 symbols. Abort if vgdb remote connection is closed.
281
09e0881d
DE
2822012-08-02 Doug Evans <dje@google.com>
283
284 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
285
b40f514f
SDJ
2862012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
287
288 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
289 s390x, PowerPC 64 and m68k-linux.
290
11315ae0
UW
2912012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
292
293 * gdb.base/annota1.exp: Accept no frames-invalid notification
294 when starting up the program.
295 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
296 show a symbolic value as well.
297 * gdb.server/server-exec-info.exp: Skip test when skipping
298 gdbserver test and/or when skipping shared library tests.
299 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
300 avoid name conflicts with other tests.
301
0547eeed
UW
3022012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
303
304 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
305 Fix wrong output on big-endian systems.
306 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
307 4-byte pointer types on 64-bit s390x.
308
bdddb4de
UW
3092012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
310
311 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
312 marker comment at the beginning (after intialization).
313 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
314 breakpoint on marker comment instead of function begin.
315 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
316 PowerPC.
317 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
318 or 64-bit PowerPC.
319 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
320 gdb,no_hardware_watchpoints flag is set.
321 (initialize): Remove now redundant can-use-hw-watchpoints change.
322
5d206025
YQ
3232012-08-02 Yao Qi <yao@codesourcery.com>
324 Pedro Alves <palves@redhat.com>
325
326 * boards/local-remote-host.exp: New.
327
4f665099
UW
3282012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
329
330 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
331 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
332 * gdb.base/print-file-var.exp: Likewise.
333 * gdb.server/solib-list.exp: Skip on remote targets.
334
b62e2b27
UW
3352012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
336
337 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
338 watchpoints on ARM. When expecting software watchpoints, tolerate
339 (remote) targets that report unsupported hardware watchpoint only
340 at continue time.
341 (test_wide_location_2): Likewise.
342
a967a851
JK
3432012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
344
345 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
346 valgrind versions.
347
75d9f9ff 3482012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
349
350 * gdb.base/valgrind-infcall.c: New file.
351 * gdb.base/valgrind-infcall.exp: New file.
352
75d9f9ff
JK
353 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
354
1c9f2ed2
KS
3552012-07-30 Keith Seitz <keiths@redhat.com>
356
357 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
358 linespecs.
359
7f9b2034
DE
3602012-07-30 Doug Evans <dje@google.com>
361
85220e01
DE
362 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
363 * gdb.dwarf2/pr13961.S: Ditto.
364
7f9b2034
DE
365 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
366
4e969b4f
AB
3672012-07-30 Andrew Burgess <aburgess@broadcom.com>
368
369 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
370 change its format immediately after reloading the binary.
371
e7de8362
JK
3722012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
373
374 Fix testsuite regression after --use-deprecated-index-sections removal.
375 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
376 string.
377 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
378
7255706c
YQ
3792012-07-27 Yao Qi <yao@codesourcery.com>
380
381 KFAIL for PR remote/14161.
382 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
383 Cleanup socket files.
384 (strace_info_marker): Detach inferior.
385
f2e8016f
TT
3862012-07-26 Tom Tromey <tromey@redhat.com>
387
388 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
389
f66713d2
JK
3902012-07-26 Markus Metzger <markus.t.metzger@intel.com>
391
392 * gdb.python/py-inferior.c (thread): New function.
393 (check_threads): New function.
394 (test_threads): New function.
395 * gdb.python/py-inferior.exp: Added test.
396 Replaced runto with continue to breakpoint.
397
8223e12c
TT
3982012-07-26 Tom Tromey <tromey@redhat.com>
399
400 * lib/ada.exp (standard_ada_testfile): New proc.
401 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
402 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
403 * gdb.ada/array_return.exp: Use standard_ada_testfile.
404 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
405 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
406 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
407 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
408 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
409 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
410 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
411 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
412 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
413 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
414 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
415 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
416 * gdb.ada/char_param.exp: Use standard_ada_testfile.
417 * gdb.ada/complete.exp: Use standard_ada_testfile.
418 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
419 standard_output_file.
420 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
421 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
422 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
423 standard_output_file.
424 * gdb.ada/exprs.exp: Use standard_ada_testfile.
425 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
426 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
427 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
428 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
429 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
430 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
431 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
432 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
433 * gdb.ada/homonym.exp: Use standard_ada_testfile.
434 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
435 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
436 * gdb.ada/interface.exp: Use standard_ada_testfile.
437 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
438 standard_output_file
439 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
440 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
441 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
442 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
443 * gdb.ada/nested.exp: Use standard_ada_testfile.
444 * gdb.ada/null_array.exp: Use standard_ada_testfile.
445 * gdb.ada/null_record.exp: Use standard_ada_testfile.
446 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
447 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
448 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
449 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
450 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
451 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
452 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
453 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
454 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
455 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
456 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
457 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
458 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
459 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
460 * gdb.ada/start.exp: Use standard_ada_testfile.
461 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
462 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
463 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
464 * gdb.ada/tagged.exp: Use standard_ada_testfile.
465 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
466 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
467 * gdb.ada/tasks.exp: Use standard_ada_testfile.
468 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
469 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
470 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
471 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
472 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
473 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
474 * gdb.ada/widewide.exp: Use standard_ada_testfile.
475
bbec57e4
JK
4762012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
477
478 Fix testsuite regression after --use-deprecated-index-sections removal.
479 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
480
9cc8e32c
JK
4812012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
482
483 Fix compatibility with Tcl before 7.5.
484 * lib/future.exp (lreverse): New function if it does not exist.
485
ea5ca7b5
MK
4862012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
487
488 * gdb.mi/mi-pending.c: New method to set a second pending
489 breakpoint.
490 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
491 condition.
492
64776a0b
PA
4932012-07-20 Pedro Alves <palves@redhat.com>
494
495 PR threads/11692
496 PR gdb/12203
497
498 * gdb.threads/create-fail.c: New file.
499 * gdb.threads/create-fail.exp: New file.
500
13e4e967
PA
5012012-07-19 Pedro Alves <palves@redhat.com>
502
503 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
504 * config/vx.exp (gdb_start): Likewise.
505 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
506 * gdb.base/setvar.exp (test_set): Likewise.
507 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
508 * gdb.reverse/sigall-precsave.exp: Likewise.
509 * gdb.reverse/sigall-reverse.exp: Likewise.
510
b7aefa4d
PA
5112012-07-19 Pedro Alves <palves@redhat.com>
512
513 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
514 handler before recording.
515
608b4967
TT
5162012-07-19 Tom Tromey <tromey@redhat.com>
517
518 * gdb.cp/casts.exp: Add tests for typeof and decltype.
519 * gdb.cp/casts.cc (decltype): New function.
520 (main): Use it.
521
b1e0c0fa
PA
5222012-07-19 Pedro Alves <palves@redhat.com>
523
524 * gdb.base/sigall.exp (signals): New list.
525 <top level>: Loop over signals in the $signals list instead of
526 calling a test function once per signal.
527 * gdb.reverse/sigall-precsave.exp (signals): New list.
528 <top level>: Loop over signals in the $signals list instead of
529 calling a test function once per signal.
530 * gdb.reverse/sigall-reverse.exp (signals): New list.
531 <top level>: Loop over signals in the $signals list instead of
532 calling a test function once per signal.
533
6ace3df1
YQ
5342012-07-19 Yao Qi <yao@codesourcery.com>
535
536 * gdb.base/setshow.exp: Test 'set args ~'.
537
263a0f8c
JK
5382012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
539
540 * gdb.base/store.exp (check_set): Import gdb_prompt.
541 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
542 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
543
8f043999
JK
5442012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
545
546 PR 11914
547 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
548 (main): Call eval_sub.
549 * gdb.python/py-prettyprint.exp:
550 (python execfile ('py-prettyprint.py')): Move it earlier.
551 New breakpoint for eval-break.
552 (continue to breakpoint: eval-break, info locals): New test.
553 (python execfile ('py-prettyprint.py')): Move it from here.
554 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
555 (register_pretty_printers): Register pp_eval_type.
556
725c7b66
JK
5572012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
558
559 Fix a testcase regression by me.
560 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
561 DW_FORM_data4.
562
4359dff1
JK
5632012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
564 Doug Evans <dje@google.com>
565
566 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
567 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
568
61e44cfa
JK
5692012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
570
571 Fix gdbserver run regression.
572 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
573
93c0ef37
TT
5742012-07-12 Tom Tromey <tromey@redhat.com>
575
576 * lib/gdb.exp (standard_testfile): Don't declare objdir.
577 (clean_restart): Likewise.
578 (core_find): Use standard_output_file.
579
76027ef5
TT
5802012-07-12 Tom Tromey <tromey@redhat.com>
581
582 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
583 * gdb.dwarf2/dw2-anonymous-func.exp: Use
584 prepare_for_testing_full.
585 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
586 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
587 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
588 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
589 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
590 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
591 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
592 prepare_for_testing_full.
593 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
594 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
595 prepare_for_testing_full.
596 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
597 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
598 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
599
85b4440a
TT
6002012-07-12 Tom Tromey <tromey@redhat.com>
601
602 * lib/gdb.exp (build_executable_from_specs): New proc, from
603 build_executable.
604 (build_executable): Use it.
605 (prepare_for_testing_full): New proc.
606
55baab26
TT
6072012-07-11 Tom Tromey <tromey@redhat.com>
608
609 * gdb.reverse/break-precsave.exp: Use standard_output_file.
610 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
611 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
612 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
613 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
614 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
615 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
616 * gdb.reverse/step-precsave.exp: Use standard_output_file.
617 * gdb.reverse/until-precsave.exp: Use standard_output_file.
618 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
619
298a9cf0
TT
6202012-07-10 Tom Tromey <tromey@redhat.com>
621
622 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
623 standard_output_file.
624 * gdb.mi/gdb2549.exp: Use standard_testfile.
625 * gdb.mi/gdb669.exp: Use standard_testfile.
626 * gdb.mi/gdb701.exp: Use standard_testfile.
627 * gdb.mi/gdb792.exp: Use standard_testfile.
628 * gdb.mi/mi-async.exp: Use standard_testfile.
629 * gdb.mi/mi-basics.exp: Use standard_testfile.
630 * gdb.mi/mi-break.exp: Use standard_testfile.
631 * gdb.mi/mi-cli.exp: Use standard_testfile.
632 * gdb.mi/mi-console.exp: Use standard_testfile.
633 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
634 * gdb.mi/mi-eval.exp: Use standard_testfile.
635 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
636 * gdb.mi/mi-file.exp: Use standard_testfile.
637 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
638 * gdb.mi/mi-logging.exp: Use standard_testfile.
639 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
640 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
641 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
642 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
643 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
644 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
645 * gdb.mi/mi-pending.exp: Use standard_testfile,
646 standard_output_file.
647 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
648 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
649 * gdb.mi/mi-regs.exp: Use standard_testfile.
650 * gdb.mi/mi-return.exp: Use standard_testfile.
651 * gdb.mi/mi-reverse.exp: Use standard_testfile.
652 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
653 * gdb.mi/mi-solib.exp: Use standard_testfile,
654 standard_output_file.
655 * gdb.mi/mi-stack.exp: Use standard_testfile.
656 * gdb.mi/mi-stepi.exp: Use standard_testfile.
657 * gdb.mi/mi-stepn.exp: Use standard_testfile.
658 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
659 * gdb.mi/mi-until.exp: Use standard_testfile.
660 * gdb.mi/mi-var-block.exp: Use standard_testfile.
661 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
662 * gdb.mi/mi-var-child.exp: Use standard_testfile.
663 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
664 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
665 * gdb.mi/mi-var-display.exp: Use standard_testfile.
666 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
667 standard_output_file.
668 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
669 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
670 * gdb.mi/mi-watch.exp: Use standard_testfile.
671 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
672 * gdb.mi/mi2-basics.exp: Use standard_testfile.
673 * gdb.mi/mi2-break.exp: Use standard_testfile.
674 * gdb.mi/mi2-cli.exp: Use standard_testfile.
675 * gdb.mi/mi2-console.exp: Use standard_testfile.
676 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
677 * gdb.mi/mi2-eval.exp: Use standard_testfile.
678 * gdb.mi/mi2-file.exp: Use standard_testfile.
679 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
680 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
681 * gdb.mi/mi2-regs.exp: Use standard_testfile.
682 * gdb.mi/mi2-return.exp: Use standard_testfile.
683 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
684 * gdb.mi/mi2-stack.exp: Use standard_testfile.
685 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
686 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
687 * gdb.mi/mi2-until.exp: Use standard_testfile.
688 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
689 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
690 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
691 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
692 * gdb.mi/mi2-watch.exp: Use standard_testfile.
693
f5f3a911
TT
6942012-07-10 Tom Tromey <tromey@redhat.com>
695
696 * gdb.cp/abstract-origin.exp: Use standard_testfile.
697 * gdb.cp/ambiguous.exp: Use standard_testfile,
698 prepare_for_testing.
699 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
700 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
701 * gdb.cp/anon-ns.exp: Use standard_testfile.
702 * gdb.cp/anon-struct.exp: Use standard_testfile.
703 * gdb.cp/anon-union.exp: Use standard_testfile,
704 prepare_for_testing.
705 * gdb.cp/arg-reference.exp: Use standard_testfile,
706 prepare_for_testing.
707 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
708 * gdb.cp/breakpoint.exp: Use standard_testfile,
709 prepare_for_testing.
710 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
711 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
712 standard_output_file.
713 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
714 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
715 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
716 (test_static_members): Update.
717 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
718 * gdb.cp/converts.exp: Use standard_testfile.
719 * gdb.cp/cp-relocate.exp: Use standard_testfile.
720 * gdb.cp/cpcompletion.exp: Use standard_testfile,
721 prepare_for_testing.
722 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
723 * gdb.cp/cplabel.exp: Use standard_testfile.
724 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
725 prepare_for_testing.
726 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
727 * gdb.cp/derivation.exp: Use standard_testfile,
728 prepare_for_testing.
729 * gdb.cp/destrprint.exp: Use standard_testfile.
730 * gdb.cp/dispcxx.exp: Use standard_testfile.
731 * gdb.cp/exception.exp: Use standard_testfile,
732 prepare_for_testing.
733 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
734 * gdb.cp/extern-c.exp: Use standard_testfile,
735 prepare_for_testing.
736 * gdb.cp/formatted-ref.exp: Use standard_testfile,
737 prepare_for_testing.
738 * gdb.cp/fpointer.exp: Use standard_testfile.
739 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
740 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
741 standard_output_file.
742 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
743 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
744 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
745 standard_output_file.
746 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
747 (do_tests): Update.
748 * gdb.cp/koenig.exp: Use standard_testfile.
749 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
750 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
751 * gdb.cp/m-static.exp: Use standard_testfile,
752 prepare_for_testing.
753 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
754 * gdb.cp/mb-inline.exp: Use standard_testfile,
755 prepare_for_testing.
756 * gdb.cp/mb-templates.exp: Use standard_testfile,
757 prepare_for_testing.
758 * gdb.cp/member-ptr.exp: Use standard_testfile,
759 prepare_for_testing.
760 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
761 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
762 * gdb.cp/method2.exp: Use standard_testfile.
763 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
764 standard_output_file.
765 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
766 (do_tests): Update.
767 * gdb.cp/namespace-enum.exp: Use standard_testfile,
768 prepare_for_testing.
769 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
770 prepare_for_testing.
771 * gdb.cp/namespace.exp: Use standard_testfile,
772 prepare_for_testing.
773 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
774 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
775 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
776 * gdb.cp/nsimport.exp: Use standard_testfile,
777 prepare_for_testing.
778 * gdb.cp/nsnested.exp: Use standard_testfile.
779 * gdb.cp/nsnoimports.exp: Use standard_testfile.
780 * gdb.cp/nsrecurs.exp: Use standard_testfile,
781 prepare_for_testing.
782 * gdb.cp/nsstress.exp: Use standard_testfile,
783 prepare_for_testing.
784 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
785 * gdb.cp/operator.exp: Use standard_testfile.
786 * gdb.cp/oranking.exp: Use standard_testfile.
787 * gdb.cp/overload-const.exp: Use standard_testfile.
788 * gdb.cp/overload.exp: Use standard_testfile,
789 prepare_for_testing.
790 * gdb.cp/ovldbreak.exp: Use standard_testfile.
791 * gdb.cp/ovsrch.exp: Use standard_testfile.
792 * gdb.cp/paren-type.exp: Use standard_testfile.
793 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
794 prepare_for_testing.
795 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
796 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
797 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
798 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
799 * gdb.cp/pr10728.exp: Use standard_testfile,
800 standard_output_file.
801 * gdb.cp/pr12028.exp: Use standard_testfile.
802 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
803 * gdb.cp/pr9167.exp: Use standard_testfile.
804 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
805 * gdb.cp/printmethod.exp: Use standard_testfile,
806 prepare_for_testing.
807 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
808 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
809 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
810 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
811 standard_output_file.
812 * gdb.cp/readnow-language.exp: Use standard_testfile.
813 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
814 (gdb_start_again): Use clean_restart.
815 * gdb.cp/ref-types.exp: Use standard_testfile,
816 prepare_for_testing.
817 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
818 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
819 * gdb.cp/smartp.exp: Use standard_testfile.
820 * gdb.cp/static-method.exp: Use standard_testfile.
821 * gdb.cp/static-print-quit.exp: Use standard_testfile.
822 * gdb.cp/temargs.exp: Use standard_testfile.
823 * gdb.cp/templates.exp: Use standard_testfile,
824 prepare_for_testing.
825 (do_tests): Update.
826 * gdb.cp/try_catch.exp: Use standard_testfile,
827 prepare_for_testing.
828 * gdb.cp/typedef-operator.exp: Use standard_testfile.
829 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
830 * gdb.cp/virtbase.exp: Use standard_testfile,
831 prepare_for_testing.
832 * gdb.cp/virtfunc.exp: Use standard_testfile,
833 prepare_for_testing.
834 (do_tests): Update.
835 * gdb.cp/virtfunc2.exp: Use standard_testfile,
836 prepare_for_testing.
837
686f09d0
TT
8382012-07-10 Tom Tromey <tromey@redhat.com>
839
840 * lib/gdb.exp (standard_testfile): Unset output variables from
841 earlier invocations.
842
9357e021
YQ
8432012-07-10 Yao Qi <yao@codesourcery.com>
844
845 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
846 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
847 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
848 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
849 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
850 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
851 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
852 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
853 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
854 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
855 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
856 * gdb.mi/mi-var-display.exp: Likewise.
857 * gdb.mi/mi-var-invalidate.exp: Likewise.
858 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
859 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
860 * gdb.mi/mi2-console.exp: Likewise.
861 * gdb.mi/mi2-disassemble.exp: Likewise.
862 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
863 * gdb.mi/mi2-read-memory.exp: Likewise.
864 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
865 * gdb.mi/mi2-simplerun.exp: Likewise.
866 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
867 * gdb.mi/mi2-syn-frame.exp: Likewise.
868 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
869 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
870 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
871
e314d629
TT
8722012-07-09 Tom Tromey <tromey@redhat.com>
873
874 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
875 * gdb.base/callfuncs.exp: Add cast-based test.
876 * gdb.base/callfuncs.c (voidfunc): New function.
877
06928b3f
DE
8782012-07-08 Doug Evans <dje@google.com>
879
880 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
881
32f11bad
JK
8822012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
883
884 Fix XFAIL compatibility with old i386 systems.
885 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
886 Check also 'Cannot insert breakpoint 0'.
887
76b83c51
JK
8882012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
889
890 PR 14321
891 * gdb.base/find.exp
892 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
893
a6fb9c08
TT
8942012-07-06 Tom Tromey <tromey@redhat.com>
895
896 * gdb.base/whatis.exp: Add test.
897
71918a86
TT
8982012-07-06 Tom Tromey <tromey@redhat.com>
899
900 * gdb.base/whatis.exp: Add regression test.
901
fcde5961
TT
9022012-07-06 Tom Tromey <tromey@redhat.com>
903
904 * gdb.base/whatis.exp: Add tests.
905
f9cf0f4a
JK
9062012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
907
908 PR 12649
909 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
910 gdb_test_multiple $gdb_prompt terminator.
911
979ade8b
PA
9122012-07-04 Pedro Alves <palves@redhat.com>
913
914 * gdb.mi/mi-reverse.exp: Use supports_reverse and
915 supports_process_record.
916
8a980b44
PA
9172012-07-04 Pedro Alves <palves@redhat.com>
918
919 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
920 endings.
921 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
922
855ba978
SS
9232012-07-03 Stan Shebs <stan@codesourcery.com>
924
925 * gdb.base/info-os.c (main): Retry resource acquisition until an
926 available one is found.
927 * gdb.base/info-os.exp: Collect resource keys from the program
928 and use them in matching.
929
fcb44371
JK
9302012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
931
932 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
933 Wrap the test into loop for corefile and core0file.
934
08a67be6
JK
9352012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
936
937 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
938 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
939 .note.GNU-stack.
940
0f3c2347
JK
941 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
942
ff4a4500
SDJ
9432012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
944
945 * gdb.base/help.exp (help b, help br, help bre, help brea, help
946 break): Include help message for the new `-probe' and `-probe-stap'
947 options.
948
d3ce09f5
SS
9492012-07-02 Stan Shebs <stan@codesourcery.com>
950
951 * gdb.base/dprintf.exp: Add agent style tests.
952
a1624241
JK
9532012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
954
955 * gdb.base/stale-infcall.c (infcall): New label test-next.
956 (main): New labels test-pass and test-fail.
957 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
958 $test_fail_bpnum to test-fail.
959 (test system longjmp tracking support): New test.
960 Delete $test_fail_bpnum.
961 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
962 breakpoint.
963
42e7ad6c
DE
9642012-06-30 Doug Evans <dje@google.com>
965
966 * gdb.dwarf2/fission-reread.S: New file.
967 * gdb.dwarf2/fission-reread.exp: New file.
968
37ce89eb
SS
9692012-06-28 Stan Shebs <stan@codesourcery.com>
970
971 * gdb.mi/mi-logging.exp: New file.
972
e5ef252a
PA
9732012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
974 Pedro Alves <palves@redhat.com>
975
976 * gdb.threads/siginfo-threads.exp: New file.
977 * gdb.threads/siginfo-threads.c: New file.
978 * gdb.threads/sigstep-threads.exp: New file.
979 * gdb.threads/sigstep-threads.c: New file.
980
22f1fbae
TT
9812012-06-28 Tom Tromey <tromey@redhat.com>
982
983 * gdb.go/package.exp: Partially revert earlier patch; use
984 gdb_compile again. Use standard_output_file.
985
2e3cf129
DE
9862012-06-27 Doug Evans <dje@google.com>
987
988 * gdb.dwarf2/fission-base.c: New file.
989 * gdb.dwarf2/fission-base.S: New file.
990 * gdb.dwarf2/fission-base.exp: New file.
991
785fd303
JK
9922012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
993
994 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
995
1bb9788d
TT
9962012-06-27 Tom Tromey <tromey@redhat.com>
997
998 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
999 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
1000
c83ee902
TT
10012012-06-27 Tom Tromey <tromey@redhat.com>
1002
1003 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
1004 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
1005 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
1006 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
1007 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
1008 prepare_for_testing.
1009 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
1010 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
1011 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
1012 standard_testfile.
1013 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
1014 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
1015 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
1016 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
1017 prepare_for_testing.
1018 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
1019 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
1020 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
1021 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
1022 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
1023 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
1024 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
1025 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
1026 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
1027 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
1028 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
1029 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
1030 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
1031 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
1032 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
1033 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
1034 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
1035 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
1036 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
1037 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
1038 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
1039 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
1040 standard_output_file.
1041 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
1042 standard_output_file.
1043 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
1044 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
1045 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
1046 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
1047 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
1048 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
1049 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
1050 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
1051 * gdb.dwarf2/implptr.exp: Use standard_testfile.
1052 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
1053 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
1054 * gdb.dwarf2/pieces.exp: Use standard_testfile.
1055 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
1056 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
1057 * gdb.dwarf2/valop.exp: Use standard_testfile,
1058 prepare_for_testing.
1059
5204774b
TT
10602012-06-27 Tom Tromey <tromey@redhat.com>
1061
1062 * gdb.python/python.exp: Fix regexps in pagination tests.
1063
ee0bf529
SCR
10642012-06-26 Siva Chandra Reddy <sivachandra@google.com>
1065
1066 * gdb.python/py-symtab.exp: Add tests to test the new attribute
1067 'last' of gdb.Symtab_and_line.
1068 * gdb.python/py-symbol.c: Move break point comment to enable
1069 testing of gdb.Symtab_and_line.last.
1070
14fcc022
TT
10712012-06-26 Tom Tromey <tromey@redhat.com>
1072
1073 * gdb.threads/step.c: Remove.
1074 * gdb.threads/step.exp: Remove.
1075 * gdb.threads/step2.exp: Remove.
1076
0efbbabc
TT
10772012-06-26 Tom Tromey <tromey@redhat.com>
1078
1079 * gdb.threads/watchpoint-fork.exp (test): Use
1080 standard_output_file. Don't declare objdir.
1081 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
1082 standard_output_file.
1083 * gdb.threads/attach-stopped.exp: Use standard_testfile.
1084 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
1085 clean_restart. Remove incdir.
1086 * gdb.threads/corethreads.exp: Use standard_testfile.
1087 * gdb.threads/execl.exp: Use standard_testfile,
1088 standard_output_file, clean_restart.
1089 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
1090 clean_restart.
1091 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
1092 clean_restart.
1093 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
1094 incdir.
1095 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
1096 clean_restart. Remove incdir.
1097 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
1098 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
1099 clean_restart. Remove incdir.
1100 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
1101 Remove incdir.
1102 * gdb.threads/leader-exit.exp: Use standard_testfile.
1103 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
1104 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
1105 clean_restart.
1106 * gdb.threads/manythreads.exp: Use standard_testfile,
1107 clean_restart. Remove incdir.
1108 * gdb.threads/multi-create.exp: Use standard_testfile,
1109 clean_restart.
1110 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
1111 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
1112 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
1113 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
1114 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
1115 * gdb.threads/pending-step.exp: Use standard_testfile,
1116 clean_restart. Remove incdir.
1117 * gdb.threads/print-threads.exp: Use standard_testfile,
1118 clean_restart. Remove incdir.
1119 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
1120 clean_restart. Remove incdir.
1121 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
1122 Remove incdir.
1123 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
1124 incdir.
1125 * gdb.threads/sigthread.exp: Use standard_testfile,
1126 clean_restart.
1127 * gdb.threads/staticthreads.exp: Use standard_testfile,
1128 clean_restart. Remove incdir.
1129 * gdb.threads/switch-threads.exp: Use standard_testfile,
1130 clean_restart. Remove incdir.
1131 * gdb.threads/thread-execl.exp: Use standard_testfile,
1132 clean_restart. Remove incdir.
1133 * gdb.threads/thread-find.exp: Use standard_testfile,
1134 clean_restart.
1135 * gdb.threads/thread-specific.exp: Use standard_testfile,
1136 clean_restart. Remove incdir.
1137 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
1138 clean_restart. Remove incdir.
1139 * gdb.threads/thread_check.exp: Use standard_testfile,
1140 clean_restart. Remove incdir.
1141 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
1142 incdir.
1143 * gdb.threads/threadapply.exp: Use standard_testfile,
1144 clean_restart. Remove incdir.
1145 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
1146 clean_restart. Remove incdir.
1147 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
1148 clean_restart.
1149 * gdb.threads/tls-shared.exp: Use standard_testfile,
1150 clean_restart, standard_output_file.
1151 * gdb.threads/tls-var.exp: Use standard_testfile,
1152 standard_output_file.
1153 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
1154 Remove incdir.
1155 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
1156 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
1157 incdir.
1158 * gdb.threads/watchthreads2.exp: Use standard_testfile,
1159 clean_restart. Remove incdir.
1160
497a5eb0
TT
11612012-06-26 Tom Tromey <tromey@redhat.com>
1162
1163 * gdb.trace/actions.exp: Use standard_testfile.
1164 * gdb.trace/ax.exp: Use standard_testfile.
1165 * gdb.trace/backtrace.exp: Use standard_testfile.
1166 * gdb.trace/change-loc.exp: Use standard_testfile.
1167 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
1168 * gdb.trace/collection.exp: Use standard_testfile,
1169 prepare_for_testing.
1170 * gdb.trace/deltrace.exp: Use standard_testfile.
1171 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
1172 * gdb.trace/ftrace.exp: Use standard_testfile.
1173 * gdb.trace/infotrace.exp: Use standard_testfile.
1174 * gdb.trace/packetlen.exp: Use standard_testfile.
1175 * gdb.trace/passc-dyn.exp: Use standard_testfile.
1176 * gdb.trace/passcount.exp: Use standard_testfile.
1177 * gdb.trace/pending.exp: Use standard_testfile.
1178 * gdb.trace/report.exp: Use standard_testfile.
1179 * gdb.trace/save-trace.exp: Use standard_testfile.
1180 * gdb.trace/stap-trace.exp: Use standard_testfile.
1181 * gdb.trace/status-stop.exp: Use standard_testfile.
1182 * gdb.trace/strace.exp: Use standard_testfile.
1183 * gdb.trace/tfile.exp: Use standard_testfile.
1184 * gdb.trace/tfind.exp: Use standard_testfile.
1185 * gdb.trace/trace-break.exp: Use standard_testfile.
1186 * gdb.trace/trace-mt.exp: Use standard_testfile.
1187 * gdb.trace/tracecmd.exp: Use standard_testfile.
1188 * gdb.trace/tspeed.exp: Use standard_testfile.
1189 * gdb.trace/tstatus.exp: Use standard_testfile.
1190 * gdb.trace/tsv.exp: Use standard_testfile.
1191 * gdb.trace/unavailable.exp: Use standard_testfile,
1192 prepare_for_testing.
1193 * gdb.trace/while-dyn.exp: Use standard_testfile.
1194 * gdb.trace/while-stepping.exp: Use standard_testfile.
1195
7686c074
TT
11962012-06-26 Tom Tromey <tromey@redhat.com>
1197
1198 * gdb.reverse/break-precsave.exp: Use standard_testfile.
1199 * gdb.reverse/break-reverse.exp: Use standard_testfile.
1200 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
1201 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
1202 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
1203 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
1204 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
1205 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
1206 prepare_for_testing.
1207 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
1208 prepare_for_testing.
1209 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
1210 prepare_for_testing.
1211 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
1212 prepare_for_testing.
1213 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
1214 prepare_for_testing
1215 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
1216 * gdb.reverse/machinestate.exp: Use standard_testfile.
1217 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
1218 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
1219 build_executable.
1220 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
1221 build_executable.
1222 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
1223 standard_output_file.
1224 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
1225 standard_output_file.
1226 * gdb.reverse/step-precsave.exp: Use standard_testfile.
1227 * gdb.reverse/step-reverse.exp: Use standard_testfile.
1228 * gdb.reverse/until-precsave.exp: Use standard_testfile.
1229 * gdb.reverse/until-reverse.exp: Use standard_testfile.
1230 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
1231 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
1232
481fc100
TT
12332012-06-26 Tom Tromey <tromey@redhat.com>
1234
1235 * gdb.stabs/weird.exp: Remove directory-checking code. Use
1236 standard_output_file.
1237 * gdb.stabs/exclfwd.exp: Use standard_testfile,
1238 prepare_for_testing. Remove directory-checking code.
1239
7bb18ae2
TT
12402012-06-25 Tom Tromey <tromey@redhat.com>
1241
1242 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
1243 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
1244 build_executable, not prepare_for_testing.
1245 * gdb.multi/base.exp: Use standard_output_file. Use
1246 build_executable, not prepare_for_testing.
1247
cf09b3e4
TT
12482012-06-25 Tom Tromey <tromey@redhat.com>
1249
1250 * gdb.fortran/subarray.exp: Use standard_testfile,
1251 prepare_for_testing.
1252 * gdb.fortran/multi-dim.exp: Use standard_testfile.
1253 * gdb.fortran/module.exp: Use standard_testfile.
1254 * gdb.fortran/logical.exp: Use standard_testfile.
1255 * gdb.fortran/library-module.exp: Use standard_testfile,
1256 standard_output_file.
1257 * gdb.fortran/derived-type.exp: Use standard_testfile,
1258 prepare_for_testing.
1259 * gdb.fortran/complex.exp: Use standard_testfile,
1260 prepare_for_testing.
1261 * gdb.fortran/charset.exp: Use standard_testfile.
1262 * gdb.fortran/array-element.exp: Use standard_testfile,
1263 prepare_for_testing.
1264
18b5ff1b
KS
12652012-06-25 Keith Seitz <keiths@redhat.com>
1266
1267 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
1268 Change rbreak-related tests to KFAIL and add bugzilla numbers.
1269
17b77626
TT
12702012-06-25 Tom Tromey <tromey@redhat.com>
1271
1272 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
1273 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
1274 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
1275 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
1276
f91e3dc1
TT
12772012-06-25 Tom Tromey <tromey@redhat.com>
1278
1279 * gdb.linespec/ls-errs.exp: Use standard_testfile.
1280 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
1281 * gdb.linespec/linespec.exp: Use standard_testfile.
1282
a884434d
TT
12832012-06-25 Tom Tromey <tromey@redhat.com>
1284
1285 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
1286 prepare_for_testing.
1287
efc9d70a
TT
12882012-06-25 Tom Tromey <tromey@redhat.com>
1289
1290 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
1291 prepare_for_testing.
1292 * gdb.opt/inline-break.exp: Use standard_testfile,
1293 prepare_for_testing.
1294 * gdb.opt/inline-bt.exp: Use standard_testfile,
1295 prepare_for_testing.
1296 * gdb.opt/inline-cmds.exp: Use standard_testfile,
1297 prepare_for_testing.
1298 * gdb.opt/inline-locals.exp: Use standard_testfile,
1299 prepare_for_testing.
1300
e2fc92c6
TT
13012012-06-25 Tom Tromey <tromey@redhat.com>
1302
1303 * gdb.asm/asm-source.exp: Use standard_output_file,
1304 standard_testfile. Construct .o files in proper subdir.
1305
b0963d73
TT
13062012-06-25 Tom Tromey <tromey@redhat.com>
1307
1308 * gdb.server/ext-attach.exp: Use standard_testfile,
1309 prepare_for_testing.
1310 * gdb.server/ext-run.exp: Use standard_testfile,
1311 build_executable.
1312 * gdb.server/file-transfer.exp: Use standard_testfile,
1313 prepare_for_testing.
1314 * gdb.server/server-exec-info.exp: Use standard_testfile.
1315 * gdb.server/server-mon.exp: Use standard_testfile,
1316 prepare_for_testing.
1317 * gdb.server/server-run.exp: Use standard_testfile,
1318 build_executable.
1319 * gdb.server/solib-list.exp: Use standard_testfile,
1320 standard_output_file.
1321
8a3e1f8d
TT
13222012-06-25 Tom Tromey <tromey@redhat.com>
1323
1324 * lib/gdb.exp (standard_output_file): Use "file join".
1325 * gdb.go/chan.exp: Use standard_testfile.
1326 * gdb.go/handcall.exp: Use standard_testfile.
1327 * gdb.go/hello.exp: Use standard_testfile.
1328 * gdb.integers/chan.exp: Use standard_testfile.
1329 * gdb.go/methods.exp: Use standard_testfile.
1330 * gdb.go/package.exp: Use standard_testfile.
1331 * gdb.go/strings.exp: Use standard_testfile.
1332 * gdb.go/types.exp: Use standard_testfile.
1333 * gdb.go/unsafe.exp: Use standard_testfile.
1334
944a9061
MGD
13352012-06-25 Greta Yorsh <greta.yorsh@arm.com>
1336
1337 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
1338
1c06bd58
JK
13392012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1340
1341 Fix regression by the previous commit.
1342 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
1343
b4a58790
TT
13442012-06-22 Tom Tromey <tromey@redhat.com>
1345
1346 * gdb.python/lib-types.exp: Use standard_testfile,
1347 prepare_for_testing.
1348 * gdb.python/py-block.exp: Use standard_testfile.
1349 * gdb.python/py-breakpoint.exp: Use standard_testfile.
1350 * gdb.python/py-events.exp: Use standard_testfile,
1351 standard_output_file.
1352 * gdb.python/py-evsignal.exp: Use standard_testfile.
1353 * gdb.python/py-evethreads.exp: Use standard_testfile.
1354 * gdb.python/py-explore-cc.exp: Use standard_testfile.
1355 * gdb.python/py-explore.exp: Use standard_testfile.
1356 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
1357 standard_output_file.
1358 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
1359 prepare_for_testing.
1360 * gdb.python/py-frame-inline.exp: Use standard_testfile.
1361 * gdb.python/py-frame.exp: Use standard_testfile.
1362 * gdb.python/py-inferior.exp: Use standard_testfile.
1363 * gdb.python/py-infthread.exp: Use standard_testfile.
1364 * gdb.python/py-mi.exp: Use standard_testfile.
1365 * gdb.python/py-objfile-script.exp: Use standard_testfile,
1366 build_executable.
1367 * gdb.python/py-objfile.exp: Use standard_testfile.
1368 * gdb.python/py-pp-maint.exp: Use standard_testfile,
1369 prepare_for_testing.
1370 * gdb.python/py-prettyprint.exp: Use standard_testfile.
1371 * gdb.python/py-progspace.exp: Use standard_testfile,
1372 build_executable.
1373 * gdb.python/py-prompt.exp: Use standard_testfile,
1374 build_executable.
1375 * gdb.python/py-section-script.exp: Use standard_testfile,
1376 build_executable.
1377 * gdb.python/py-shared.exp: Use standard_testfile,
1378 standard_output_file, clean_restart.
1379 * gdb.python/py-symbol.exp: Use standard_output_file,
1380 prepare_for_testing.
1381 * gdb.python/py-symtab.exp: Use standard_output_file,
1382 prepare_for_testing
1383 * gdb.python/py-template.exp: Use standard_testfile.
1384 * gdb.python/py-type.exp: Use standard_testfile.
1385 * gdb.python/py-value-cc.exp: Use standard_testfile.
1386 * gdb.python/py-value.exp: Use standard_testfile.
1387 * gdb.python/python.exp: Use standard_testfile, build_executable.
1388
2c44deac
TT
13892012-06-22 Tom Tromey <tromey@redhat.com>
1390
1391 * gdb.objc/basicclass.exp: Use standard_testfile.
1392 (do_objc_tests): Don't declare objdir.
1393 * gdb.objc/nondebug.exp: Use standard_testfile.
1394 (do_objc_tests): Don't declare objdir.
1395 * gdb.objc/objcdecode.exp: Use standard_testfile.
1396 (do_objc_tests): Don't declare objdir.
1397
c24ccbce
TT
13982012-06-22 Tom Tromey <tromey@redhat.com>
1399
1400 * gdb.java/jmain.exp: Use standard_testfile.
1401 * gdb.java/jmisc.exp: Use standard_testfile.
1402 * gdb.java/jnpe.exp: Use standard_testfile.
1403 * gdb.java/jprint.exp: Use standard_testfile.
1404
0a6d0306
TT
14052012-06-22 Tom Tromey <tromey@redhat.com>
1406
1407 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
1408 (standard_output_file, standard_testfile): New procs.
1409 (build_executable, clean_restart): Use standard_output_file.
1410
6ea815ef
YQ
14112012-06-22 Yao Qi <yao@codesourcery.com>
1412
1413 * boards/native-gdbserver.exp: New proc ${board}_exec.
1414 * boards/native-stdio-gdbserver.exp: Likewise.
1415
4c93b1db
TT
14162012-06-21 Tom Tromey <tromey@redhat.com>
1417
1418 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
1419 (build_executable): Update.
1420 (get_compiler_info): Remove 'binfile' argument.
1421 * gdb.ada/arrayidx.exp: Update.
1422 * gdb.ada/null_array.exp: Update.
1423 * gdb.arch/altivec-abi.exp: Update.
1424 * gdb.arch/altivec-regs.exp: Update.
1425 * gdb.arch/amd64-byte.exp: Update.
1426 * gdb.arch/amd64-dword.exp: Update.
1427 * gdb.arch/amd64-word.exp: Update.
1428 * gdb.arch/i386-avx.exp: Update.
1429 * gdb.arch/i386-byte.exp: Update.
1430 * gdb.arch/i386-sse.exp: Update.
1431 * gdb.arch/i386-word.exp: Update.
1432 * gdb.arch/ppc-dfp.exp: Update.
1433 * gdb.arch/ppc-fp.exp: Update.
1434 * gdb.arch/vsx-regs.exp: Update.
1435 * gdb.base/all-bin.exp: Update.
1436 * gdb.base/annota1.exp: Update.
1437 * gdb.base/async.exp: Update.
1438 * gdb.base/attach.exp: Update.
1439 * gdb.base/break-interp.exp: Update.
1440 * gdb.base/call-ar-st.exp: Update.
1441 * gdb.base/call-rt-st.exp: Update.
1442 * gdb.base/call-sc.exp: Update.
1443 * gdb.base/callfuncs.exp: Update.
1444 * gdb.base/catch-load.exp: Update.
1445 * gdb.base/completion.exp: Update.
1446 * gdb.base/complex.exp: Update.
1447 * gdb.base/condbreak.exp: Update.
1448 * gdb.base/consecutive.exp: Update.
1449 * gdb.base/constvars.exp: Update.
1450 * gdb.base/corefile.exp: Update.
1451 * gdb.base/eval-skip.exp: Update.
1452 * gdb.base/expand-psymtabs.exp: Update.
1453 * gdb.base/exprs.exp: Update.
1454 * gdb.base/fileio.exp: Update.
1455 * gdb.base/fixsection.exp: Update.
1456 * gdb.base/funcargs.exp: Update.
1457 * gdb.base/gdb11530.exp: Update.
1458 * gdb.base/gdb1555.exp: Update.
1459 * gdb.base/gnu-ifunc.exp: Update.
1460 * gdb.base/gnu_vector.exp: Update.
1461 * gdb.base/info-macros.exp: Update.
1462 * gdb.base/jit-simple.exp: Update.
1463 * gdb.base/jit-so.exp: Update.
1464 * gdb.base/jit.exp: Update.
1465 * gdb.base/langs.exp: Update.
1466 * gdb.base/list.exp: Update.
1467 * gdb.base/logical.exp: Update.
1468 * gdb.base/long_long.exp: Update.
1469 * gdb.base/longjmp.exp: Update.
1470 * gdb.base/macscp.exp: Update.
1471 * gdb.base/mips_pro.exp: Update.
1472 * gdb.base/miscexprs.exp: Update.
1473 * gdb.base/morestack.exp: Update.
1474 * gdb.base/nodebug.exp: Update.
1475 * gdb.base/opaque.exp: Update.
1476 * gdb.base/pc-fp.exp: Update.
1477 * gdb.base/pending.exp: Update.
1478 * gdb.base/permissions.exp: Update.
1479 * gdb.base/pointers.exp: Update.
1480 * gdb.base/prelink.exp: Update.
1481 * gdb.base/printcmds.exp: Update.
1482 * gdb.base/psymtab.exp: Update.
1483 * gdb.base/ptype.exp: Update.
1484 * gdb.base/relational.exp: Update.
1485 * gdb.base/scope.exp: Update.
1486 * gdb.base/setvar.exp: Update.
1487 * gdb.base/shlib-call.exp: Update.
1488 * gdb.base/shreloc.exp: Update.
1489 * gdb.base/signals.exp: Update.
1490 * gdb.base/sizeof.exp: Update.
1491 * gdb.base/so-impl-ld.exp: Update.
1492 * gdb.base/so-indr-cl.exp: Update.
1493 * gdb.base/solib-disc.exp: Update.
1494 * gdb.base/solib-display.exp: Update.
1495 * gdb.base/solib-nodir.exp: Update.
1496 * gdb.base/solib-overlap.exp: Update.
1497 * gdb.base/solib-symbol.exp: Update.
1498 * gdb.base/solib-weak.exp: Update.
1499 * gdb.base/solib.exp: Update.
1500 * gdb.base/store.exp: Update.
1501 * gdb.base/structs.exp: Update.
1502 * gdb.base/structs2.exp: Update.
1503 * gdb.base/type-opaque.exp: Update.
1504 * gdb.base/unload.exp: Update.
1505 * gdb.base/varargs.exp: Update.
1506 * gdb.base/volatile.exp: Update.
1507 * gdb.base/watch_thread_num.exp: Update.
1508 * gdb.base/watchpoint-solib.exp: Update.
1509 * gdb.base/watchpoint.exp: Update.
1510 * gdb.base/watchpoints.exp: Update.
1511 * gdb.base/whatis.exp: Update.
1512 * gdb.cell/arch.exp: Update.
1513 * gdb.cell/break.exp: Update.
1514 * gdb.cell/bt.exp: Update.
1515 * gdb.cell/core.exp: Update.
1516 * gdb.cell/data.exp: Update.
1517 * gdb.cell/ea-cache.exp: Update.
1518 * gdb.cell/f-regs.exp: Update.
1519 * gdb.cell/fork.exp: Update.
1520 * gdb.cell/gcore.exp: Update.
1521 * gdb.cell/mem-access.exp: Update.
1522 * gdb.cell/ptype.exp: Update.
1523 * gdb.cell/registers.exp: Update.
1524 * gdb.cell/sizeof.exp: Update.
1525 * gdb.cell/solib-symbol.exp: Update.
1526 * gdb.cell/solib.exp: Update.
1527 * gdb.cp/ambiguous.exp: Update.
1528 * gdb.cp/breakpoint.exp: Update.
1529 * gdb.cp/bs15503.exp: Update.
1530 * gdb.cp/casts.exp: Update.
1531 * gdb.cp/class2.exp: Update.
1532 * gdb.cp/cpexprs.exp: Update.
1533 * gdb.cp/cplusfuncs.exp: Update.
1534 * gdb.cp/ctti.exp: Update.
1535 * gdb.cp/dispcxx.exp: Update.
1536 * gdb.cp/gdb1355.exp: Update.
1537 * gdb.cp/gdb2384.exp: Update.
1538 * gdb.cp/gdb2495.exp: Update.
1539 * gdb.cp/infcall-dlopen.exp: Update.
1540 * gdb.cp/local.exp: Update.
1541 * gdb.cp/m-data.exp: Update.
1542 * gdb.cp/m-static.exp: Update.
1543 * gdb.cp/mb-ctor.exp: Update.
1544 * gdb.cp/mb-inline.exp: Update.
1545 * gdb.cp/mb-templates.exp: Update.
1546 * gdb.cp/member-ptr.exp: Update.
1547 * gdb.cp/method.exp: Update.
1548 * gdb.cp/namespace.exp: Update.
1549 * gdb.cp/nextoverthrow.exp: Update.
1550 * gdb.cp/nsdecl.exp: Update.
1551 * gdb.cp/nsrecurs.exp: Update.
1552 * gdb.cp/nsstress.exp: Update.
1553 * gdb.cp/nsusing.exp: Update.
1554 * gdb.cp/pr-1023.exp: Update.
1555 * gdb.cp/pr-1210.exp: Update.
1556 * gdb.cp/pr-574.exp: Update.
1557 * gdb.cp/pr9631.exp: Update.
1558 * gdb.cp/printmethod.exp: Update.
1559 * gdb.cp/psmang.exp: Update.
1560 * gdb.cp/re-set-overloaded.exp: Update.
1561 * gdb.cp/rtti.exp: Update.
1562 * gdb.cp/shadow.exp: Update.
1563 * gdb.cp/templates.exp: Update.
1564 * gdb.cp/try_catch.exp: Update.
1565 * gdb.dwarf2/dw2-ranges.exp: Update.
1566 * gdb.dwarf2/pr10770.exp: Update.
1567 * gdb.fortran/library-module.exp: Update.
1568 * gdb.hp/gdb.aCC/optimize.exp: Update.
1569 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
1570 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
1571 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
1572 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
1573 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
1574 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
1575 * gdb.hp/gdb.compat/xdb1.exp: Update.
1576 * gdb.hp/gdb.compat/xdb2.exp: Update.
1577 * gdb.hp/gdb.compat/xdb3.exp: Update.
1578 * gdb.hp/gdb.defects/bs14602.exp: Update.
1579 * gdb.hp/gdb.defects/solib-d.exp: Update.
1580 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
1581 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
1582 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
1583 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
1584 * gdb.mi/gdb792.exp: Update.
1585 * gdb.mi/mi-pending.exp: Update.
1586 * gdb.mi/mi-solib.exp: Update.
1587 * gdb.mi/mi-var-cp.exp: Update.
1588 * gdb.opt/clobbered-registers-O2.exp: Update.
1589 * gdb.opt/inline-bt.exp: Update.
1590 * gdb.opt/inline-cmds.exp: Update.
1591 * gdb.opt/inline-locals.exp: Update.
1592 * gdb.python/py-events.exp: Update.
1593 * gdb.python/py-finish-breakpoint.exp: Update.
1594 * gdb.python/py-type.exp: Update.
1595 * gdb.reverse/solib-precsave.exp: Update.
1596 * gdb.reverse/solib-reverse.exp: Update.
1597 * gdb.server/solib-list.exp: Update.
1598 * gdb.stabs/weird.exp: Update.
1599 * gdb.threads/attach-into-signal.exp: Update.
1600 * gdb.threads/attach-stopped.exp: Update.
1601 * gdb.threads/tls-shared.exp: Update.
1602 * gdb.trace/change-loc.exp: Update.
1603 * gdb.trace/strace.exp: Update.
1604
95c391b6
TT
16052012-06-19 Tom Tromey <tromey@redhat.com>
1606
1607 * gdb.base/whatis.exp: Add tests.
1608
e910f0b6
TT
16092012-06-19 Tom Tromey <tromey@redhat.com>
1610
1611 * gdb.cp/m-static.cc (keepalive): New function.
1612 (gnu_obj_1::method): Use it.
1613
422d65e7
DE
16142012-06-18 Doug Evans <dje@google.com>
1615
1616 * gdb.base/info-fun.exp: New file.
1617 * gdb.base/info-fun.c: New file.
1618 * gdb.base/info-fun-solib.c: New file.
1619
e2e4d78b
JK
16202012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1621
1622 Remove stale dummy frames.
1623 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
1624 (maintenance info breakpoints): New tests.
1625 * gdb.base/stale-infcall.c: New file.
1626 * gdb.base/stale-infcall.exp: New file.
1627
1788b2d3
JK
16282012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1629
1630 * gdb.arch/amd64-entry-value-param.S: New file.
1631 * gdb.arch/amd64-entry-value-param.c: New file.
1632 * gdb.arch/amd64-entry-value-param.exp: New file.
1633
663b969e
TT
16342012-06-15 Tom Tromey <tromey@redhat.com>
1635
1636 * gdb.cp/namespace.exp: Add "show lang" test.
1637
8e09ad05
IS
16382012-06-15 Iain Sandoe <iain@codesourcery.com>
1639
1640 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
1641 case. (top level): Use gdb_file_cmd instead of gdb_load.
1642
f85e18ee
JK
16432012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1644
1645 PR tdep/14222
1646 * gdb.arch/i386-sse-stack-align.S: New file.
1647 * gdb.arch/i386-sse-stack-align.c: New file.
1648 * gdb.arch/i386-sse-stack-align.exp: New file.
1649
f3b5e280
KS
16502012-06-13 Keith Seitz <keiths@redhat.com>
1651
1652 PR breakpoints/13798 and mi/11541
1653 * gdb.linespec/ls-errs.exp: Add a few more tests for
1654 filenames with spaces and colons.
1655
50af5481
JK
16562012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1657
1658 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
1659 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
1660 (test_function): Call CV_f.
1661 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
1662 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
1663 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
1664 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
1665 (p CV_f(CV::i)): New tests.
1666
d55637df
TT
16672012-06-13 Tom Tromey <tromey@redhat.com>
1668
1669 * gdb.base/condbreak.exp: Add tests for "condition" completion.
1670
cc80f267
JK
16712012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1672
1673 Fix regression by the "ambiguous linespec" series.
1674 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
1675 tests.
1676
bb2af9cc
JK
16772012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1678
1679 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
1680 missing.
1681
e81a37f7
TT
16822012-06-11 Tom Tromey <tromey@redhat.com>
1683
1684 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
1685 location...
1686 (main): ...here.
1687
8efd7788
YQ
16882012-06-07 Yao Qi <yao@codesourcery.com>
1689
1690 * gdb.trace/strace.exp: Shorten some too-long lines.
1691
359f5fe6
PA
16922012-06-06 Pedro Alves <palves@redhat.com>
1693
1694 * gdb.threads/clone-new-thread-event.c: New file.
1695 * gdb.threads/clone-new-thread-event.exp: New file.
1696
7b2fe205
YQ
16972012-06-06 Yao Qi <yao@codesourcery.com>
1698
1699 * gdb.base/dprintf.c (main): Add extra parameter when calling
1700 printf and fprintf.
1701 (bar): New function. It is a dead function, but to ensure
1702 'malloc' is linked explicitly.
1703
3eca55e8
YQ
17042012-06-06 Yao Qi <yao@codesourcery.com>
1705
1706 * gdb.base/info-proc.exp: Return if target doesn't support
1707 'info proc'.
1708
91cc9324
JK
17092012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1710
1711 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
1712 (run program with breakpoint commands): XFAIl if it is not.
1713
c56e7c43
JB
17142012-06-05 Joel Brobecker <brobecker@adacore.com>
1715
1716 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
1717 and add comment.
1718 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
1719 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
1720 "STOP" marker. Adjust testing strategy to make it work on
1721 all targets.
1722
1723 * gdb.base/print-file-var-main.c (main): Rewrite using local
1724 variables and adjust get_version_2's return value check.
1725 Add small comment.
1726 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
1727 marker. Adjust testing strategy to make it work on all targets.
1728
ccab2054
JB
17292012-06-05 Joel Brobecker <brobecker@adacore.com>
1730
1731 * gdb.ada/bad-task-bp-keyword: New testcase.
1732
d0d86158
JK
17332012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1734
1735 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
1736 Simplify it to ...
1737 (symbol-file ${testfile1}): ... here.
1738 (test eliminated var my_global_symbol)
1739 (test eliminated var my_static_symbol)
1740 (test eliminated var my_global_func, get address of main): Wrap them to
1741 'single psymtabs' and 'single symtabs'
1742 (get address of my_global_symbol, get address of my_static_symbol)
1743 (get address of my_global_func, get address of main): Wrap them to
1744 'order1' and 'order2'.
1745
952cf74c
JK
1746 * gdb.base/code_elim.exp
1747 (add-symbol-file ${testfile1} 0x100000)
1748 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
1749 'order2'.
1750 (order1: add-symbol-file ${testfile1} 0x100000)
1751 (order1: add-symbol-file ${testfile2} 0x200000)
1752 (order2: add-symbol-file ${testfile2} 0x200000)
1753 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
1754 .bss as appropriate.
1755
0c5bf5a9
JK
17562012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1757
1758 * gdb.server/solib-list-lib.c: New file.
1759 * gdb.server/solib-list-main.c: New file.
1760 * gdb.server/solib-list.exp: New file.
1761
4196f325
MR
17622012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
1763
1764 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
1765 for 'set print symbol' change.
1766
bfb05775
JK
17672012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1768
1769 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
1770 .debug_abbrev_seg3.
1771
685b1105
JK
17722012-05-24 John Steele Scott <toojays@toojays.net>
1773
1774 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
1775 * gdb.dwarf2/dw2-icc-opaque.S: New file.
1776 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
1777
f3e0e960
SS
17782012-05-23 Stan Shebs <stan@codesourcery.com>
1779
1780 * gdb.mi/mi-info-os.exp: New file.
1781
11eb1b4d
KS
17822012-05-23 Keith Seitz <keiths@redhat.com>
1783
1784 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
1785 return -1 to suppress the rest of the tests.
1786 (compile_stap_bin): Return boolean success value.
1787
b1af9e97
TT
17882012-05-21 Tom Tromey <tromey@redhat.com>
1789
1790 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
1791 Remove kfails.
1792 (test_print_mi_member_types): Likewise.
1793
248537e3
TT
17942012-05-21 Tom Tromey <tromey@redhat.com>
1795
1796 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
1797 print symbol' change.
1798
d791e155
TJB
17992012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
1800
1801 * gdb.python/py-prompt.exp: Quit if the target is remote.
1802
e77afa2e
JK
18032012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1804
1805 Fix ERROR: internal buffer is full.
1806 * gdb.base/info-os.exp (expect_multiline): New function.
1807 (get process list, get process groups, get threads)
1808 (get file descriptors, get internet-domain sockets)
1809 (get shared-memory regions, get semaphores, get message queues): Use
1810 it for these tests.
1811
9cb709b6
TT
18122012-05-18 Tom Tromey <tromey@redhat.com>
1813
1814 * gdb.mi/mi-var-cmd.exp: Update.
1815 * gdb.objc/basicclass.exp (do_objc_tests): Update.
1816 * gdb.cp/virtbase.exp: Update.
1817 * gdb.cp/classes.exp (test_static_members): Update.
1818 * gdb.cp/casts.exp: Update.
1819 * gdb.base/pointers.exp: Update.
1820 * gdb.base/funcargs.exp (pointer_args): Update.
1821 (structs_by_reference): Update.
1822 * gdb.base/find.exp: Update.
1823 * gdb.base/call-strs.exp: Send "set print symbol off".
1824 * gdb.base/call-ar-st.exp: Update.
1825 * gdb.ada/fun_addr.exp: Update.
1826 * gdb.base/printcmds.exp (test_print_symbol): New proc.
1827 Call it.
1828 (test_print_repeats_10, test_print_strings)
1829 (test_print_char_arrays): Update.
1830
b012acdd
TT
18312012-05-18 Tom Tromey <tromey@redhat.com>
1832
1833 * gdb.base/charset.exp (string_display): Update.
1834
1d51a733
TT
18352012-05-18 Tom Tromey <tromey@redhat.com>
1836
1837 * gdb.mi/mi2-var-display.exp: Update.
1838 * gdb.mi/mi-var-display.exp: Update.
1839 * gdb.mi/mi-var-child.exp: Update.
1840 * gdb.cp/expand-psymtabs-cxx.exp: Update.
1841 * gdb.cp/cp-relocate.exp (get_func_address): Update.
1842
957df313
DE
18432012-05-17 Doug Evans <dje@google.com>
1844
682c7f7b
DE
1845 * info-macros.exp: Pass "debug" to prepare_for_testing.
1846
957df313
DE
1847 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
1848 * gdb.ada/Makefile.in (clean): Ditto.
1849 * gdb.arch/Makefile.in (clean): Ditto.
1850 * gdb.asm/Makefile.in (clean): Ditto.
1851 * gdb.base/Makefile.in (clean): Ditto.
1852 * gdb.cell/Makefile.in (clean): Ditto.
1853 * gdb.cp/Makefile.in (clean): Ditto.
1854 * gdb.disasm/Makefile.in (clean): Ditto.
1855 * gdb.dwarf2/Makefile.in (clean): Ditto.
1856 * gdb.fortran/Makefile.in (clean): Ditto.
1857 * gdb.go/Makefile.in (clean): Ditto.
1858 * gdb.hp/Makefile.in (clean): Ditto.
1859 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
1860 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
1861 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
1862 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
1863 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
1864 * gdb.java/Makefile.in (clean): Ditto.
1865 * gdb.linespec/Makefile.in (clean): Ditto.
1866 * gdb.mi/Makefile.in (clean): Ditto.
1867 * gdb.modula2/Makefile.in (clean): Ditto.
1868 * gdb.multi/Makefile.in (clean): Ditto.
1869 * gdb.objc/Makefile.in (clean): Ditto.
1870 * gdb.opencl/Makefile.in (clean): Ditto.
1871 * gdb.opt/Makefile.in (clean): Ditto.
1872 * gdb.pascal/Makefile.in (clean): Ditto.
1873 * gdb.python/Makefile.in (clean): Ditto.
1874 * gdb.reverse/Makefile.in (clean): Ditto.
1875 * gdb.server/Makefile.in (clean): Ditto.
1876 * gdb.stabs/Makefile.in (clean): Ditto.
1877 * gdb.threads/Makefile.in (clean): Ditto.
1878 * gdb.trace/Makefile.in (clean): Ditto.
1879 * gdb.xml/Makefile.in (clean): Ditto.
1880
abc9d0dc
TT
18812012-05-16 Tom Tromey <tromey@redhat.com>
1882
1883 * gdb.base/macscp1.c (macscp_expr): Add comment.
1884 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
1885
6a3a010b
MR
18862012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1887
1888 * gdb.base/return-nodebug.exp: Also test float and double types.
1889
01429c8e
JK
18902012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1891
1892 PR testsuite/12649
1893 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
1894
54115cd4
JK
1895 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
1896
0c5f383f
SDJ
18972012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
1898
1899 * gdb.base/stap-probe.exp (stap_test): Remove calls to
1900 `rerun_to_main'.
1901 (stap_test_no_debuginfo): Likewise.
1902
e7e0cddf
SS
19032012-05-14 Stan Shebs <stan@codesourcery.com>
1904
1905 * gdb.base/dprintf.c: New file.
1906 * gdb.base/dprintf.exp: New file.
1907
c772f8e7
HZ
19082012-05-14 Hui Zhu <hui_zhu@mentor.com>
1909
1910 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
1911 * gdb.trace/disconnected-tracing.c: New file.
1912 * gdb.trace/disconnected-tracing.exp: New file.
1913
7efc75aa
SCR
19142012-05-13 Siva Chandra Reddy <sivachandra@google.com>
1915
1916 * gdb.python/python.c: Add a new breakpoint comment.
1917 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
1918
85d4a676
SS
19192011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
1920
1921 * gdb.base/info-os.exp: New file.
1922 * gdb.base/info-os.c: New file.
1923
64ea88dc
JB
19242012-05-10 Joel Brobecker <brobecker@adacore.com>
1925
4647ab1b
JB
1926 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
1927 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
1928 New files.
64ea88dc 1929
afba63f1
JB
19302012-05-10 Joel Brobecker <brobecker@adacore.com>
1931
1932 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
1933 gdb.base/ctxobj.exp: New files.
1934
9d198b1e
TT
19352012-05-09 Tom Tromey <tromey@redhat.com>
1936
1937 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
1938
9bfee719
MR
19392012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
1940
1941 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
1942
3a7341d8
MR
19432012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
1944
1945 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
1946 before using it.
1947
52b3699b
TG
19482012-05-04 Tristan Gingold <gingold@adacore.com>
1949
1950 * gdb.base/set-noassign.exp: New test.
1951
a20ee7a4
SCR
19522012-05-03 Siva Chandra Reddy <sivachandra@google.com>
1953
1954 * gdb.python/py-symbol.exp: Add tests to test the new methods
1955 gdb.Symtab.global_block() and gdb.Symtab.static_block().
1956 * gdb.python/py-symbol.c: Add new struct to help test
1957 gdb.Symtab.static_block().
1958
bf2f0858
DE
19592012-05-03 Doug Evans <dje@google.com>
1960
1961 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
1962 commented out.
1963
2d4e0376
YQ
19642012-05-03 Yao Qi <yao@codesourcery.com>
1965
1966 * gdb.base/catch-syscall.exp: Skip it before compilation if target
1967 doesn't support.
1968 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
1969 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
1970
6d0bb9f3
YQ
19712012-05-03 Yao Qi <yao@codesourcery.com>
1972
1973 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
1974
fd820528
DE
19752012-04-30 Doug Evans <dje@google.com>
1976
1977 PR testsuite/13961
1978 * gdb.dwarf2/pr13961.S: New file.
1979 * gdb.dwarf2/pr13961.exp: New file.
1980
b9e219b9
YQ
19812012-04-29 Yao Qi <yao@codesourcery.com>
1982
1983 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
1984
3019eac3
DE
19852012-04-28 Doug Evans <dje@google.com>
1986
1987 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
1988 .Ltype_int_in_cu2. Use name "int2" instead of "int".
1989 All uses updated.
1990 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
1991 "ptype func_cu1" to expand cu2 before cu1.
1992
62e5f89c
SDJ
19932012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
1994 Tom Tromey <tromey@redhat.com>
1995
1996 * gdb.base/default.exp: Add `$_probe_arg*' convenience
1997 variables.
1998 * gdb.base/stap-probe.c: New file.
1999 * gdb.base/stap-probe.exp: New file.
2000 * gdb.trace/stap-trace.c: New file.
2001 * gdb.trace/stap-trace.exp: New file.
2002 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
2003 libgcc's unwinder.
2004
14132e89
MR
20052012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
2006
2007 * gdb.arch/mips16-thunks-inmain.c: New file.
2008 * gdb.arch/mips16-thunks-main.c: New file.
2009 * gdb.arch/mips16-thunks-sin.c: New file.
2010 * gdb.arch/mips16-thunks-sinfrob.c: New file.
2011 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
2012 * gdb.arch/mips16-thunks-sinmain.c: New file.
2013 * gdb.arch/mips16-thunks-sinmips16.c: New file.
2014 * gdb.arch/mips16-thunks.exp: New file.
2015
a766d390
DE
20162012-04-25 Doug Evans <dje@google.com>
2017
2018 * configure.ac: Create gdb.go/Makefile.
2019 * configure: Regenerate.
2020 * gdb.base/default.exp: Add "go" to "set language" testing.
2021 * gdb.go/Makefile.in: New file.
2022 * gdb.go/basic-types.exp: New file.
2023 * gdb.go/chan.exp: New file.
2024 * gdb.go/chan.go: New file.
2025 * gdb.go/handcall.exp: New file.
2026 * gdb.go/handcall.go: New file.
2027 * gdb.go/hello.exp: New file.
2028 * gdb.go/hello.go: New file.
2029 * gdb.go/integers.exp: New file.
2030 * gdb.go/integers.go: New file.
2031 * gdb.go/methods.exp: New file.
2032 * gdb.go/methods.go: New file.
2033 * gdb.go/package.exp: New file.
2034 * gdb.go/package1.go: New file.
2035 * gdb.go/package2.go: New file.
2036 * gdb.go/print.exp: New file.
2037 * gdb.go/strings.exp: New file.
2038 * gdb.go/strings.go: New file.
2039 * gdb.go/types.exp: New file.
2040 * gdb.go/types.go: New file.
2041 * gdb.go/unsafe.exp: New file.
2042 * gdb.go/unsafe.go: New file.
2043 * lib/future.exp: Add Go support.
2044 (gdb_find_go, gdb_find_go_linker): New procs.
2045 (gdb_default_target_compile): Add Go support.
2046 * lib/gdb.exp (skip_go_tests): New proc.
2047 * lib/go.exp: New file.
2048
e65f9ffb
TT
20492012-04-25 Tom Tromey <tromey@redhat.com>
2050
2051 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
2052
14e75d8e
JK
20532012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2054 Jan Kratochvil <jan.kratochvil@redhat.com>
2055
2056 PR symtab/7259:
2057 * gdb.base/enumval.c: New test case.
2058 * gdb.base/enumval.exp: New test case.
2059 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
2060 field.bitpos.
2061
f3525b70
PA
20622012-04-17 Pedro Alves <palves@redhat.com>
2063
2064 * Makefile.in (site.exp): Make site.exp source
2065 $srcdir/lib/append_gdb_boards_dir.exp.
2066 * lib/append_gdb_boards_dir.exp: New file.
2067
bccbefd2
JK
20682012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2069
2070 New option "set auto-load safe-path".
2071 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
2072 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
2073
bf88dd68
JK
20742012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2075
2076 auto-load: Implementation.
2077 * gdb.base/help.exp (test set height): Increase the height.
2078 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
2079 to ...
2080 (info auto-load python-scripts): ... here.
2081 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
2082 to ...
2083 (info auto-load python-scripts *): ... here.
2084
c0d4d1c0
YQ
20852012-04-16 Yao Qi <yao@codesourcery.com>
2086
2087 * lib/trace-support.exp (get_in_proc_agent): New.
2088 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
2089 of in process trace agent.
2090 * gdb.trace/ftrace.exp: Likewise.
2091 * gdb.trace/pending.exp: Likewise.
2092 * gdb.trace/trace-break.exp: Likewise.
2093 * gdb.trace/trace-mt.exp
2094 * gdb.trace/tspeed.exp: Likewise.
2095 * gdb.trace/tstatus.exp
2096 * gdb.trace/strace.exp: Likewise.
2097
cbf68a60
TS
20982012-04-16 Thomas Schwinge <thomas@codesourcery.com>
2099
dd6d3b70
TS
2100 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
2101 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
2102
cbf68a60
TS
2103 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
2104
8264ba82
AG
21052012-04-14 Anton Gorenkov <xgsa@yandex.ru>
2106
2107 PR mi/13393
2108 * gdb.mi/mi-var-rtti.cc: New file.
2109 * gdb.mi/mi-var-rtti.exp: New file.
2110 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
2111 function.
2112 (mi_varobj_update_with_type_change): updated to avoid code duplication.
2113
de0919f8 21142012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
2115
2116 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
2117 EXECUTABLES.
2118 * gdb.python/py-explore.c: C program used for testing the new
2119 'explore' command on C constructs.
2120 * gdb.python/py-explore.cc: C++ program used for testing the new
2121 'explore' command on C++ constructs.
2122 * gdb-python/py-explore.exp: Tests for the new 'explore'
2123 command on C constructs.
2124 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
2125 command on C++ constructs.
2126
a82da7dd
MK
21272012-04-07 Mark Kettenis <kettenis@gnu.org>
2128
2129 * gdb.base/funcargs.exp (complex_args): Fix typo.
2130
e127cba8
JK
21312012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2132
2133 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
2134 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
2135
40e084e1
KS
21362012-04-05 Keith Seitz <keiths@redhat.com>
2137
2138 * gdb.base/advance.exp: Update error message for
2139 "advance malformed" test.
2140 * gdb.base/break.exp: Likewise for "breakpoint with
2141 trailing garbage" test.
2142 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
2143 with trailing garbage" test.
2144 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
2145 trailng garbage" test.
2146 * gdb.base/until.exp: Likewise for "malformed until" test.
2147 * gdb.cp/ovldbreak.exp: Create the breakpoint table
2148 for "breakpoint info (after setting on all)".
2149 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
2150 tests.
2151 * gdb.cp/cplabel.cc: New file.
2152 * gdb.cp/cplabel.exp: New test.
2153 * gdb.linespec/ls-errs.c: New file.
2154 * gdb.linespec/ls-errs.exp: New test.
2155
a72c8f6a
JK
21562012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2157
2158 * gdb.trace/unavailable.exp
2159 (collect globals: print object on: print derived_partial)
2160 (collect globals: print object on: print derived_whole)
2161 (collect globals: print object off: print derived_partial)
2162 (collect globals: print object off: print derived_whole): Update
2163 expected output.
2164
f87a3023
KS
21652012-03-30 Keith Seitz <keiths@redhat.com>
2166
2167 * gdb.python: Add test for linespecs with commas.
2168
e2171b3c
KS
21692012-03-28 Keith Seitz <keiths@redhat.com>
2170
2171 * gdb.linespec/ls-dollar.cc: New file.
2172 * gdb.linespec/ls-dollar.exp: New test.
2173
21742012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
2175
2176 * gdb.cp/namespace.exp: Add breakpoint tests for functions
2177 starting with the global namespace.
2178
2f4e0a80
DE
21792012-03-23 Doug Evans <dje@google.com>
2180
2181 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
2182
7b282c5a
SCR
21832012-03-22 Siva Chandra Reddy <sivachandra@google.com>
2184
2185 * gdb.python/py-value.cc: Add test case for testing the
2186 methodology exposing C++ values to Python.
2187 * gdb.python/py-value-cc.exp: Add tests testing the methodology
2188 exposing C++ values to Python.
2189 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
2190
2e98ca53
JK
21912012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2192 Siddhesh Poyarekar <siddhesh@redhat.com>
2193
2194 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
2195 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
2196 (generate native core dump): Make the test unsupported if core cannot
2197 be generated.
2198
8320cc4f
JK
21992012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2200
2201 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
2202 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
2203 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
2204
3a69ffb2
JK
22052012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2206
2207 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
2208
8fabffee
DE
22092012-03-17 Doug Evans <dje@google.com>
2210
2211 * dg-extract-results.sh: Handle KFAILs.
2212
ab260dad
JK
22132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2214
2215 PR symtab/13777
2216 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
2217
53ba8333
JB
22182012-03-16 Joel Brobecker <brobecker@adacore.com>
2219
2220 * gdb.ada/set_pckd_arr_elt: New testcase.
2221
481860b3
GB
22222012-03-16 Gary Benson <gbenson@redhat.com>
2223
2224 PR breakpoints/10738
2225 * gdb.opt/inline-break.exp: New file.
2226 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
2227 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
2228 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
2229 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
2230 * gdb.base/async-shell.exp: Likewise.
2231 * lib/mi-support.exp (library_loaded_re): Likewise.
2232
410528f0
TT
22332012-03-15 Tom Tromey <tromey@redhat.com>
2234
2235 * gdb.cp/virtfunc2.exp: Update expected output.
2236 * gdb.cp/pr9631.exp: Update expected output.
2237 * gdb.cp/member-ptr.exp: Update expected output.
2238 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
2239 output.
2240 * gdb.cp/casts.exp: Update expected output.
2241
c4aeac85
TT
22422012-03-15 Tom Tromey <tromey@redhat.com>
2243
2244 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
2245 (test_info_vtbl): Likewise.
2246 (do_tests): Call test_info_vtbl.
2247 * gdb.cp/virtfunc.cc (va): New global.
2248
856d06f9
TS
22492012-03-15 Thomas Schwinge <thomas@codesourcery.com>
2250
2251 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
2252 describing DWARF data structures.
2253 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
2254 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
2255 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
2256 * gdb.dwarf2/dw2-entry-value.S: Likewise.
2257 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2258 * gdb.dwarf2/dw2-param-error.S: Likewise.
2259 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
2260 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
2261 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
2262 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
2263 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2264 * gdb.dwarf2/pr11465.S: Likewise.
2265
e837f12a
JK
22662012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2267
2268 * gdb.mi/mi2-prompt.exp: New file.
2269
ccbb4f28
JB
22702012-03-13 Joel Brobecker <brobecker@adacore.com>
2271
2272 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
2273
32039130
JB
22742012-03-13 Joel Brobecker <brobecker@adacore.com>
2275
2276 * gdb.ada/bp_range_type: New testcase.
2277
16899756
DE
22782012-03-13 Doug Evans <dje@google.com>
2279
2280 * gdb.base/default.exp: Delete tests for symbol-reloading.
2281 * gdb.base/help.exp: Ditto.
2282 * gdb.base/setshow.exp: Ditto.
2283 * gdb.base/gdb_history: Delete references to symbol-reloading.
2284
87b0bb13
JK
22852012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2286
2287 * gdb.base/attach-twice.c: New files.
2288 * gdb.base/attach-twice.exp: New files.
2289
0d7941a9
KS
22902012-03-08 Keith Seitz <keiths@redhat.com>
2291
2292 * lib/gdb.exp (gdb_get_line_number): Throw an
2293 error instead of returning -1.
2294 * gdb.base/break.exp: Remove unused variable
2295 bp_location5.
2296 * gdb.base/hbreak2.exp: Likewise.
2297 * gdb.base/sepdebug.exp: Likewise.
2298
f4647387
YQ
22992012-03-08 Yao Qi <yao@codesourcery.com>
2300 Pedro Alves <palves@redhat.com>
2301
2302 Fix PR server/13392.
2303 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
2304 (tracepoint_change_loc_2): Remove kfail. Return if failed to
2305 download tracepoints.
2306 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
2307 (pending_tracepoint_resolved_during_trace): Likewise.
2308 (pending_tracepoint_installed_during_trace): Likewise.
2309 (pending_tracepoint_with_action_resolved): Likewise.
2310
83c532cb
KS
23112012-03-08 Keith Seitz <keiths@redhat.com>
2312
2313 * gdb.ada/array_bounds.exp: Get breakpoint for line
2314 with "START", not "STOP".
2315 * gdb.python/py-infthread.exp: Do not continue to
2316 line marked "Break here.", which is undefined.
2317
d6b6bbb7
LM
23182012-03-08 Luis Machado <lgustavo@codesourcery.com>
2319
2320 Revert:
2321
2322 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 Implement testsuite workaround for PR breakpoints/13781.
2325 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2326 (set breakpoint condition-evaluation host): New conditional command.
2327
7fe25d9b
JK
23282012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2329
2330 Fix CU relative vs. absolute DIE offsets.
2331 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
2332 one.
2333
51898c15
JK
23342012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2335
2336 Fix false FAIL on distros with relro linkage as default.
2337 * gdb.reverse/solib-precsave.exp: Try to compile the test using
2338 -Wl,-z,norelro first.
2339
8131799e
JB
23402012-03-06 Joel Brobecker <brobecker@adacore.com>
2341
2342 * gdb.ada/bp_on_var: New testcase.
2343
ba241969
JB
23442012-03-06 Joel Brobecker <brobecker@adacore.com>
2345
2346 * gdb.ada/bp_enum_homonym: New testcase.
2347
abe49676
YQ
23482012-03-06 Yao Qi <yao@codesourcery.com>
2349
2350 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
2351 x86_64-*-* and i?86-*-*.
2352 Set up KFAIL for gdb/13808.
2353
d8df103b
TT
23542012-03-05 Tom Tromey <tromey@redhat.com>
2355
2356 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
2357 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
2358
b7b189f3
TT
23592012-03-05 Tom Tromey <tromey@redhat.com>
2360
2361 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
2362
69dc1c4d
YQ
23632012-03-04 Yao Qi <yao@codesourcery.com>
2364
2365 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
2366 messages for KFAIL.
2367
3f20c47f
JK
23682012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2369
2370 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
2371 (print one_two_three, indexes off, print few_reps, indexes off)
2372 (print many_reps, indexes off, print empty, indexes off)
2373 (print one_two_three, print few_reps, print many_reps, print empty):
2374 Call setup_xfail if $gcc_old.
2375
abf1152a
JK
23762012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2377
2378 Implement testsuite workaround for PR breakpoints/13781.
2379 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2380 (set breakpoint condition-evaluation host): New conditional command.
2381
a06715f8
JK
23822012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2383
2384 Code cleanup.
2385 * gdb.cp/mb-templates.exp: New variables executable. Use it for
2386 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
2387 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
2388 number 1 by $bpnum. Four times.
2389
5808517f
YQ
23902012-03-03 Yao Qi <yao@codesourcery.com>
2391
2392 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
2393
dfe2ac14
JK
23942012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2395
2396 Setup KFAIL for PR server/13796.
2397 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
2398
8bbc467a
JB
23992012-03-02 Joel Brobecker <brobecker@adacore.com>
2400
2401 * gdb.ada/operator_bp: New testcase.
2402
c0eac87f
JB
24032012-03-02 Joel Brobecker <brobecker@adacore.com>
2404
2405 * gdb.ada/info_locals_renaming: New testcase.
2406
4f42c881
TT
24072012-03-02 Tom Tromey <tromey@redhat.com>
2408
2409 * gdb.base/nextoverexit.c: New file.
2410 * gdb.base/nextoverexit.exp: New file.
2411
7380c0c9
EBM
24122012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2413
2414 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
2415 parameter.
2416
1faeff08
MR
24172012-03-01 Maciej W. Rozycki <macro@mips.com>
2418
2419 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
2420 core registers.
2421
320b6f49
MR
24222012-03-01 Maciej W. Rozycki <macro@mips.com>
2423 Maciej W. Rozycki <macro@codesourcery.com>
2424 Daniel Jacobowitz <dan@codesourcery.com>
2425
2426 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
2427
ad5f7d6e
PA
24282012-03-01 Pedro Alves <palves@redhat.com>
2429
2430 PR gdb/13767
2431
2432 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
2433 (gdb_collect_globals_test): Call it.
2434
d3dc44a6
KS
24352012-03-01 Keith Seitz <keiths@redhat.com>
2436
2437 * gdb.cp/method2.exp: Output of overload menu is now
2438 alphabetized. Update tests for "break A::method".
2439 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
2440 of hard-coding them.
2441 Overload menu is alphabetized: rewrite to accommodate.
2442 Unset variables LINE and TYPES which are used in other tests.
2443 Compute the output of "info break".
2444 Update the breakpoint table after all breakpoints are deleted.
2445 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
2446 compute ACTUALS and the method body based on parameters.
2447 Update expected output accordingly.
2448 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
2449 unique comments to allow the use of gdb_get_line_number.
2450
24512012-03-01 Keith Seitz <keiths@redhat.com>
2452
2453 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
2454 some Tcl syntax.
2455 * gdb.cp/ovldbreak.exp: Likewise.
2456
7949c2a0
KS
24572012-03-01 Keith Seitz <keiths@redhat.com>
2458
2459 * gdb.base/help.exp (help show user): Update expected result
2460 for new doc string changes (add "non-python").
2461
7d74f244
DE
24622012-03-01 Scott J. Goldman <scottjg@vmware.com>
2463
2464 * gdb.python/py-cmd.exp: Add test to verify that python commands can
2465 be put in the user-defined category and that the commands appear in
2466 "help user-defined".
2467
1b611343
JB
24682012-02-29 Joel Brobecker <brobecker@adacore.com>
2469
2470 * gdb.ada/tagged_not_init: New testcase.
2471
99b1c762
JB
24722012-02-29 Joel Brobecker <brobecker@adacore.com>
2473
2474 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
2475 * gdb.ada/enum_idx_packed: New testcase.
2476
2d4a02ee
JB
24772012-02-29 Joel Brobecker <brobecker@adacore.com>
2478
2479 * gdb.ada/aliased_array: New testcase.
2480
2e6fda7d
JB
24812012-02-29 Joel Brobecker <brobecker@adacore.com>
2482
2483 * gdb.ada/whatis_array_val: New testcase.
2484
9a7f938f
JK
24852012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2486
2487 Fix disp-step-syscall.exp: fork: single step over fork.
2488 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
2489 whitespaces.
2490 (single step over $syscall): Remove its check.
2491 (single step over $syscall final pc): New check.
2492
8703a944
JK
24932012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2494
2495 Support processors without SSSE3.
2496 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
2497 pabsd into ...
2498 (ssse3_test): ... a new function.
2499 (main): Call ssse3_test.
2500 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
2501 Update expected values everywhere.
2502 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
2503 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
2504 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
2505 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
2506 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
2507 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
2508 Move these tests lower.
2509 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
2510 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
2511 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
2512 New tests.
2513
c03e6ccc
YQ
25142012-02-29 Yao Qi <yao@codesourcery.com>
2515 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.trace/trace-mt.c: New.
2518 * gdb.trace/trace-mt.exp: New.
2519
7964b62a
TS
25202012-02-28 Thomas Schwinge <thomas@codesourcery.com>
2521
2c8910ba
TS
2522 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
2523 numbers instead of hardcoding them.
2524 * gdb.base/annota1.c: Provide suitable markers.
2525 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
2526 numbers instead of hardcoding them.
2527 * gdb.base/annota3.c: Provide suitable markers.
2528
2529 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
2530 * gdb.base/annota3.c: Likewise.
2531 * gdb.base/sigall.c: Likewise.
2532 * gdb.base/signals.c: Likewise.
2533 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 2534
5a41c0b7
MR
25352012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
2536
2537 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
2538 failure return path.
2539
ebbbe5c5
LM
25402012-02-27 Luis Machado <lgustavo@codesourcery.com>
2541
2542 * gdb.base/save-bp.exp: Account for new condition evaluator output.
2543
8d126d8a
LM
25442012-02-24 Luis Machado <lgustavo@codesourcery.com>
2545
2546 * gdb.base/cond-eval-mode.exp: New file.
2547
11337c2f
PA
25482012-02-24 Pedro Alves <palves@redhat.com>
2549
2550 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
2551 (top level): Use with_test_prefix.
2552
13fc3e3c
PA
25532012-02-24 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.threads/attach-into-signal.exp (corefunc): Use
2556 with_test_prefix.
2557
07c1b626
JK
25582012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2559
2560 Fix false FAILs on old CPUs without SSE.
2561 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
2562 Return untested for Illegal instruction.
2563
596ba138
JK
25642012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2565
2566 Fix false FAILs with glibc debug infos installed.
2567 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
2568 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
2569
aeaa2474
SA
25702012-02-22 Sterling Augustine <saugustine@google.com>
2571
2572 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
2573 constant with cast.
2574
aed555c9
PA
25752012-02-21 Pedro Alves <palves@redhat.com>
2576
2577 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
2578
78afebb4
PA
25792012-02-21 Pedro Alves <palves@redhat.com>
2580
2581 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
2582
fdcfef12
PA
25832012-02-21 Pedro Alves <palves@redhat.com>
2584
2585 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
2586 with_test_prefix.
2587
0f4d39d5
PA
25882012-02-21 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
2591 with_test_prefix here.
2592 (top level): Do it here instead. Remove `:' from the
2593 with_test_prefix string.
2594 * gdb.base/attach-pie-misread.exp: Remove the leading space the
2595 the suffix `:' from the with_test_prefix prefix string.
2596 * gdb.base/break-interp.exp: Ditto.
2597 * gdb.base/catch-load.exp: Ditto.
2598 * gdb.base/disp-step-syscall.exp: Ditto.
2599 * gdb.base/jit-so.exp: Ditto.
2600 * gdb.base/jit.exp: Ditto.
2601 * gdb.base/sepdebug.exp: Ditto.
2602 * gdb.base/solib-display.exp: Ditto.
2603 * gdb.base/solib-overlap.exp: Ditto.
2604 * gdb.base/watch-cond-infcall.exp: Ditto.
2605 * gdb.base/watchpoint.exp: Ditto.
2606 * gdb.dwarf2/dw2-noloc.exp: Ditto.
2607 * gdb.mi/mi-watch.exp: Ditto.
2608 * gdb.mi/mi2-watch.exp: Ditto.
2609 * gdb.threads/non-ldr-exc-1.exp: Ditto.
2610 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2611 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2612 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2613 * gdb.threads/watchpoint-fork.exp: Ditto.
2614 * gdb.threads/watchthreads-reorder.exp: Ditto.
2615 * gdb.trace/change-loc.exp: Ditto.
2616 * gdb.trace/pending.exp: Ditto.
2617 * gdb.trace/status-stop.exp: Ditto.
2618 * gdb.trace/strace.exp: Ditto.
2619 * gdb.trace/trace-break.exp: Ditto.
2620 * gdb.trace/unavailable.exp: Ditto.
2621 * lib/gdb.exp (with_test_prefix): Always prefix with space and
2622 suffix with colon. Adjust leading comments.
2623
6a5870ce
PA
26242012-02-21 Pedro Alves <palves@redhat.com>
2625 Tom Tromey <tromey@redhat.com>
2626
2627 * lib/gdb.exp: Add description of test prefixes.
2628 (with_test_prefix): New procedure.
2629 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
2630 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
2631 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
2632 instead of lappend to append to pf_prefix.
2633 * gdb.base/catch-load.exp: Use with_test_prefix.
2634 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
2635 * gdb.base/jit-so.exp: Use with_test_prefix.
2636 * gdb.base/jit.exp: Use with_test_prefix.
2637 * gdb.base/return-nodebug.exp (do_test): Use append instead of
2638 lappend to append to pf_prefix.
2639 * gdb.base/sepdebug.exp: Use with_test_prefix.
2640 * gdb.base/solib-display.exp: Use with_test_prefix.
2641 * gdb.base/solib-overlap.exp: Use with_test_prefix.
2642 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
2643 * gdb.base/watchpoint.exp: Use with_test_prefix.
2644 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
2645 * gdb.mi/mi-watch.exp: Use with_test_prefix.
2646 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
2647 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
2648 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
2649 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
2650 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
2651 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
2652 append instead of lappend to append to pf_prefix.
2653 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
2654 * gdb.trace/change-loc.exp: Use with_test_prefix.
2655 * gdb.trace/pending.exp: Use with_test_prefix.
2656 * gdb.trace/status-stop.exp: Use with_test_prefix.
2657 * gdb.trace/strace.exp: Use with_test_prefix.
2658 * gdb.trace/trace-break.exp: Use with_test_prefix.
2659 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
2660 instead of lappend to append to pf_prefix.
2661
35dc4a6b
JK
26622012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2663
2664 Fix racy FAILs.
2665 * gdb.base/inferior-died.c (main): Add return of 0.
2666 * gdb.base/inferior-died.exp (continue): Fix expectation of
2667 asynchronous events.
2668 (p 1): New test.
2669
c5a006e6
PA
26702012-02-20 Pedro Alves <palves@redhat.com>
2671
2672 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
2673 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
2674 gdb's internal debug output. For the non-threaded case, look for
2675 "Program received signal SIGLARM", for the threaded case, peek at
2676 the thread's siginfo.
2677
cc51a170
PA
26782012-02-20 Pedro Alves <palves@redhat.com>
2679
2680 General cleanup, make output test messages unique, and build
2681 different executable files for the non-threaded and threaded
2682 cases.
2683
2684 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
2685 Delete.
2686 (executable_nothr, executable_thr): New globals.
2687 (top level): Adjust to delete both executables.
2688 (corefunc): New parameter $executable. Set $pf_prefix instead of
2689 hand writing a prefix in tests. Issue a clean_restart and enable
2690 lin-lwp debug output here.
2691 (top level): Adjust. Use build_executable. Don't start gdb here,
2692 and don't enable lin-lwp debug output here.
2693 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
2694
c755f03d
JK
26952012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2696
2697 Fix racy FAILs.
2698 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
2699 "continue" command.
2700
6bec5e0a
JK
27012012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2702
2703 Fix for gdbserver non-extended mode.
2704 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
2705 and gdb_run_cmd.
2706
2e8265fd
TT
27072012-02-17 Tom Tromey <tromey@redhat.com>
2708
2709 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
2710 * gdb.python/py-events.exp: Check 'dir' output.
2711 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
2712
9e507076
YQ
27132012-02-17 Yao Qi <yao@codesourcery.com>
2714
2715 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
2716
32d22ab1
TT
27172012-02-16 Tom Tromey <tromey@redhat.com>
2718
2719 * gdb.base/inferior-died.c: Don't include stdio.h.
2720
9addecb9
TT
27212012-02-16 Tom Tromey <tromey@redhat.com>
2722
2723 * gdb.base/inferior-died.c: New file.
2724 * gdb.base/inferior-died.exp: New file.
2725
4cb6da1c
AR
27262012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
2727
2728 * gdb.base/break-inline.exp: New file.
2729 * gdb.base/break-inline.c: New file.
2730
3af2590d
TT
27312012-02-15 Tom Tromey <tromey@redhat.com>
2732
2733 * gdb.base/pc-fp.exp: Add "info register" tests.
2734
29988831
TT
27352012-02-15 Tom Tromey <tromey@redhat.com>
2736
2737 * gdb.base/regs.exp: Remove.
2738
10010058
PA
27392012-02-15 Pedro Alves <palves@redhat.com>
2740
2741 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
2742 the target doesn't support tracepoints.
2743 * gdb.trace/circ.exp: Ditto.
2744 * gdb.trace/collection.exp: Ditto.
2745 * gdb.trace/packetlen.exp: Ditto.
2746 * gdb.trace/passc-dyn.exp: Ditto.
2747 * gdb.trace/report.exp: Ditto.
2748 * gdb.trace/tfind.exp: Ditto.
2749 * gdb.trace/tspeed.exp: Ditto.
2750 * gdb.trace/tsv.exp: Ditto.
2751 * gdb.trace/unavailable.exp: Ditto.
2752 * gdb.trace/while-dyn.exp: Ditto.
2753
a2e0062d
PA
27542012-02-15 Pedro Alves <palves@redhat.com>
2755
2756 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
2757 gdb_test_multiple, and call unsupported instead of fail, if the
2758 remote side does not support the request.
2759
a1999d40
PA
27602012-02-15 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
2763 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
2764 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
2765 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
2766 * gdb.server/server-run.exp: Make sure gdb is disconnected.
2767 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
2768 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
2769 doesn't start with "extended-" already.
2770
7cee1e54
PA
27712012-02-15 Pedro Alves <palves@redhat.com>
2772
2773 Support extended-remote. Avoid cascading timeouts.
2774
2775 * gdb.base/attach.exp (do_attach_tests): Add expected output for
2776 the extended-remote target. If attaching with no file fails, load
2777 the file manually.
2778 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
2779
816338b5
SS
27802012-02-14 Stan Shebs <stan@codesourcery.com>
2781
2782 * gdb.base/ena-dis-br.exp: Add enable count test.
2783
cc30c4bd
PA
27842012-02-13 Pedro Alves <palves@redhat.com>
2785
2786 * config/mips-idt.exp: Delete.
2787 * gdb.base/a2-run.exp: Remove mips-idt xfails.
2788 * gdb.base/bitfields.exp: Remove mips-idt restarts.
2789 * gdb.base/break.exp: Remove mips-idt references.
2790 * gdb.base/chng-syms.exp: Ditto.
2791 * gdb.base/default.exp: Ditto.
2792 * gdb.base/funcargs.exp (funcargs_reload): Delete.
2793 (top level): Don't call it.
2794 * gdb.base/opaque.exp: Remove mips-idt restarts.
2795 * gdb.base/ptype.exp: Remove mips-idt xfails.
2796 * gdb.base/scope.exp: Remove mips-idt restarts.
2797 * gdb.base/sepdebug.exp: Remove mips-idt references.
2798 * gdb.base/watchpoint.exp (maybe_clean_restart)
2799 (maybe_reinitialize): Delete.
2800 (test_disabling_watchpoints, test_disabling_watchpoints)
2801 (test_watchpoint_triggered_in_syscall)
2802 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2803 Don't call them.
2804
57008375
JK
28052012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2806
2807 * gdb.server/server-exec-info.exp: New file.
2808
4a2d9c08
PA
28092012-02-10 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
2812 always non-empty.
2813 (test_attach): Always pass $exec to test_attach_gdb.
2814
09fa21bd
TT
28152012-02-08 Tom Tromey <tromey@redhat.com>
2816
2817 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
2818 before inferior is started.
2819
f0823d2c
TT
28202012-02-07 Tom Tromey <tromey@redhat.com>
2821
2822 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
2823 Symbol.value.
2824 * gdb.python/py-symbol.c (qq): Set default value.
2825
28262012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
2827
2828 * gdb.python/py-symbol.c (qq): New global.
2829 * gdb.python/py-symbol.exp: Add test for frame-less
2830 lookup_symbol.
2831 * gdb.python/py-symtab.exp: Fix line number.
2832
f7e44f65
JB
28332012-02-03 Joel Brobecker <brobecker@adacore.com>
2834
2835 * gdb.ada/mi_task_arg: New testcase.
2836
4c9ed63c
PA
28372012-02-02 Pedro Alves <palves@redhat.com>
2838
2839 * gdb.reverse/until-precsave.exp: Also put "record save" under the
2840 extended timeout.
2841
c0b9f2c6
PA
28422012-02-02 Pedro Alves <palves@redhat.com>
2843
2844 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
2845 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
2846
5f8cefd7
PA
28472012-02-02 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.base/term.exp: Rewrite.
2850 * gdb.base/term.c: New.
2851
2f3a2569
PA
28522012-02-02 Pedro Alves <palves@redhat.com>
2853
2854 * gdb.base/default.exp (run "r" abbreviation, run): Add
2855 extended-remote expected output.
2856
f149aabd
TT
28572012-02-02 Tom Tromey <tromey@redhat.com>
2858
2859 * gdb.cp/dispcxx.exp: New file.
2860 * gdb.cp/dispcxx.cc: New file.
2861
03bef283
TT
28622012-02-01 Tom Tromey <tromey@redhat.com>
2863
2864 * gdb.base/jit-simple.exp: New file.
2865 * gdb.base/jit-simple.c: New file.
2866
a79b18b5
YQ
28672012-01-30 Yao Qi <yao@codesourcery.com>
2868
2869 * gdb.base/skip.exp: Make test result unique.
2870
f0d1a53e
JK
28712012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2872
2873 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
2874 compatibility with valgrind-3.7.0.
2875
4b3c9f41
PA
28762012-01-27 Pedro Alves <palves@redhat.com>
2877
2878 * gdb.base/watchpoint.exp (no_hw): New global.
2879 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
2880 disable hw watchpoints.
2881 (test_wide_location_1, test_wide_location_2): If no_hw is set,
2882 don't expect hw watchpoints.
2883 (no_hw_watchpoints): Always clean restart.
2884 (do_tests): New procedure, factored out from the top level.
2885 (top level): Run tests twice. Once with hw watchpoints enabled,
2886 another time with hw watchpoints disabled.
2887
a13491c8
PA
28882012-01-27 Pedro Alves <palves@redhat.com>
2889
2890 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
2891 out from the top level.
2892 (top level): Call it instead.
2893
f2c8a051
PA
28942012-01-27 Pedro Alves <palves@redhat.com>
2895
2896 * gdb.base/watchpoint.exp (top level): Re-enable hardware
2897 watchpoints sooner.
2898
654d7a9e
PA
28992012-01-27 Pedro Alves <palves@redhat.com>
2900
2901 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
2902
274f47f3
PA
29032012-01-27 Pedro Alves <palves@redhat.com>
2904
2905 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
2906 "You may have requested too many hardware
2907 breakpoints/watchpoints".
2908
e4d63ba2
PA
29092012-01-27 Pedro Alves <palves@redhat.com>
2910
2911 * gdb.base/watchpoint.exp (maybe_clean_restart)
2912 (maybe_reinitialize): New.
2913 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
2914 expect "hit N times".
2915 (test_disabling_watchpoints, test_complex_watchpoint)
2916 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2917 Call maybe_clean_restart.
2918 (top level): Use clean_restart. Remove "mips-idt-*"
2919 reinitialization.
2920
dbd95daf
PA
29212012-01-27 Pedro Alves <palves@redhat.com>
2922
2923 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
2924
f3ad2025
PA
29252012-01-27 Pedro Alves <palves@redhat.com>
2926
2927 * gdb.base/watchpoint.exp: Clean restart after tests that don't
2928 require `initialize' anymore. Remove unnecessary `initialize'
2929 calls.
2930
100aa3ae
PA
29312012-01-27 Pedro Alves <palves@redhat.com>
2932
2933 * gdb.base/watchpoint.exp (wp_set): Delete.
2934 (initialize, test_simple_watchpoint, top level): Remove dead code.
2935
c79a8e11
PA
29362012-01-27 Pedro Alves <palves@redhat.com>
2937
2938 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
2939 typo.
2940
048fe15a
PA
29412012-01-27 Pedro Alves <palves@redhat.com>
2942
2943 * config/extended-gdbserver.exp: New file.
2944 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
2945 comment.
2946 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
2947 * boards/native-extended-gdbserver.exp: New file.
2948
4033a6bf
PA
29492012-01-26 Pedro Alves <palves@redhat.com>
2950
2951 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
2952 and gdb_test_multiple.
2953
3d7f4b81
PA
29542012-01-26 Pedro Alves <palves@redhat.com>
2955
2956 Make test messages unique, and more identifiable.
2957 * gdb.multi/watchpoint-multi.exp: Change test messages.
2958
484abf42
TT
29592012-01-25 Tom Tromey <tromey@redhat.com>
2960
2961 * gdb.base/solib-disc.exp: Fix regexps.
2962
edcc5120
TT
29632012-01-24 Tom Tromey <tromey@redhat.com>
2964
2965 * lib/mi-support.exp (mi_expect_stop): Add special case for
2966 solib-event.
2967 * gdb.base/catch-load-so.c: New file.
2968 * gdb.base/catch-load.exp: New file.
2969 * gdb.base/catch-load.c: New file.
2970 * gdb.base/break-interp.exp (reach_1): Update regexp.
2971
30b91c90
JK
29722012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2973
2974 Fix fuzzy results.
2975 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
2976 lpsimple and func.
2977
53fe1783
GB
29782012-01-24 Gary Benson <gbenson@redhat.com>
2979
2980 Delete #if 0'd out code.
2981 * gdb.base/default.exp (info catch): Remove.
2982 * gdb.base/gdb_history (info catch): Likewise.
2983 * gdb.base/help.exp (info catch): Likewise.
2984
d0d8b0c6
JK
29852012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2986
2987 Fix watchpoints to be specific for each inferior.
2988 * gdb.multi/watchpoint-multi.c: New file.
2989 * gdb.multi/watchpoint-multi.exp: New file.
2990
4403d8e9
JK
29912012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2992
2993 Fix watchpoints across inferior fork.
2994 * gdb.threads/watchpoint-fork-child.c: New file.
2995 * gdb.threads/watchpoint-fork-mt.c: New file.
2996 * gdb.threads/watchpoint-fork-parent.c: New file.
2997 * gdb.threads/watchpoint-fork-st.c: New file.
2998 * gdb.threads/watchpoint-fork.exp: New file.
2999 * gdb.threads/watchpoint-fork.h: New file.
3000
050a2e1d
PA
30012012-01-23 Pedro Alves <palves@redhat.com>
3002
3003 * gdb.base/call-signal-resume.exp: Allow output after "return".
3004
6a52fb62
PA
30052012-01-20 Pedro Alves <palves@redhat.com>
3006
3007 * gdb.python/py-finish-breakpoint.py: Fix typo.
3008
145b16a9
UW
30092012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
3010
3011 * gdb.base/info-proc.exp: Also run on remote targets. Main
3012 "info proc" command is now always present; whether target supports
3013 actual info proc operation is detected when attempting to issue
3014 the command.
3015
26f6125e
JK
30162012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3017
3018 * .gdbinit: Remove.
3019
eb5227ce
PA
30202012-01-19 Pedro Alves <palves@redhat.com>
3021
3022 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
3023 look at the funtions' returns.
3024 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
3025 (jprint.print(int, int)): Change return type to int. Adjust.
3026
1db33378
PP
30272012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3028
3029 PR gdb/9538
3030 * gdb.base/sepdebug.exp: New test.
3031
b9736cf8
PA
30322012-01-18 Pedro Alves <palves@redhat.com>
3033
3034 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
3035 Allow output before ^done.
3036
4aac40c8
TT
30372012-01-16 Tom Tromey <tromey@redhat.com>
3038
3039 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
3040 Add tests for relative directory.
3041
cafec441
TT
30422012-01-16 Tom Tromey <tromey@redhat.com>
3043
3044 * gdb.base/printcmds.c (enum flag_enum): New.
3045 (three): New global.
3046 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
3047 enum printing.
3048 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
3049 FlagEnumerationPrinter.
3050 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
3051 * gdb.python/py-pp-maint.c (enum flag_enum): New.
3052 (fval): New global.
3053
abcc4978
PA
30542012-01-16 Pedro Alves <palves@redhat.com>
3055
3056 * lib/gdb.exp (banned_procedures): New variable.
3057 (banned_variables_traced): Rename to ...
3058 (banned_traced): ... this.
3059 (gdb_init): Also trace banned procedures.
3060 (gdb_finish): Also untrace banned procedures.
3061
97ccebe8
PA
30622012-01-16 Pedro Alves <palves@redhat.com>
3063
3064 Remove all calls to strace.
3065
2af7517b
JK
30662012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3067
3068 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
3069 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
3070
9241a8bc
PP
30712012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3072
3073 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
3074 * gdb.base/pie-execl.exp: Likewise.
3075
3848a17f
KS
30762012-01-12 Keith Seitz <keiths@redhat.com>
3077
3078 PR mi/10586
3079 * gdb.mi/var-cmd.c (struct anonymous): New structure.
3080 (do_anonymous_type_tests): New function.
3081 (main): Call do_anonymous_type_tests.
3082 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
3083 (verify_everything): New procedure.
3084 * gdb.mi/mi-var-cp.cc (class A): New class.
3085 (anonymous_structs_and_unions): New function.
3086 (main): Call anonymous_structs_and_unions.
3087 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
3088 (verify_everything): New procedure.
3089
440e2fca
KS
30902012-01-12 Keith Seitz <keiths@redhat.com>
3091
3092 * lib/mi-support.exp: Expand comments about PATH_EXPR.
3093 (varobj_tree::get_path_expr): Assume that all varobjs are
3094 compound unless they are known simple types.
3095 Adjust path expressions based on parent type, path parent type,
3096 and tree language.
3097 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
3098 the root varobj.
3099 (mi_walk_varobj_tree): Add LANGUAGE parameter.
3100
675399c9
PA
31012012-01-11 Pedro Alves <palves@redhat.com>
3102
3103 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
3104 core files on this machine" anymore.
3105
97ddaa9b
PH
31062012-01-11 Paul Hilfinger <hilfingr@adacore.com>
3107
3108 * gdb.base/watchpoint.c (recurser): Initialize local_x.
3109 (main): Repeat recurser call.
3110 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
3111 equivalent to 'local_x'.
3112
ea733575
PH
31132012-01-11 Paul Hilfinger <hilfingr@adacore.com>
3114 Joel Brobecker <brobecker@adacore.com>
3115
3116 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
3117
2ca0b532
PA
31182012-01-05 Pedro Alves <alves.ped@gmail.com>
3119
3120 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
3121 * gdb.python/py-events.c (first): Add bits for new "step N" test.
3122 * gdb.python/py-events.exp: Test that "step N" tripping on a
3123 breakpoint emits a breakpoint event.
3124
6e681866
JB
31252012-01-03 Joel Brobecker <brobecker@adacore.com>
3126
3127 * gdb.base/auxv.exp: Reformat the copyright notice.
3128
3c2d6aff
YQ
31292012-01-03 Yao Qi <yao@codesourcery.com>
3130
3131 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
3132 (strace_trace_on_diff_addr): New.
3133 * gdb.trace/strace.c: (main): Add two local variables.
3134
0852fee3
UW
31352011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
3136
3137 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
3138 * gdb.cell/gcore.exp: Likewise.
3139 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
3140 to verify the correct instance of main is selected.
3141
12c3e59c
JB
31422012-01-02 Joel Brobecker <brobecker@adacore.com>
3143
3144 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
3145 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
3146 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
3147 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
3148 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
3149 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
3150 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
3151 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
3152 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
3153 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
3154 gdb.threads/thread_check.c: Reformat copyright header.
3155
c0f378ec
EBM
31562011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
3157
e4a7ca93 3158 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
3159 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
3160 is not enabled.
3161
3bc96cfb
JK
31622011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3163
3164 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
3165 parameter to self_exec, adjust the function.
3166 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
3167 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
3168 (set var do_exit = 0): Remove test.
3169 (newline at end of file): Add one.
3170
095bcf5e
JB
31712011-12-27 Joel Brobecker <brobecker@adacore.com>
3172
3173 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
3174 New files.
3175
18d19bd1
JK
31762011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3177
3178 Fix racy FAILs.
3179 * gdb.threads/fork-thread-pending.c (barrier): New variable.
3180 (thread_function, thread_forker): Call pthread_barrier_wait for it.
3181 (main): Call pthread_barrier_init for it.
3182
e809353a
JK
31832011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3184
3185 Fix double send_gdb leading to racy FAILs.
3186 * gdb.base/break.exp (set silent break bp_location1): Replace
3187 3x send_gdb and gdb_expect by gdb_test.
3188 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
3189 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
3190 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
3191 instead of send_gdb. Twice.
3192 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
3193 3x send_gdb and gdb_expect by gdb_test.
3194 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
3195
da8cb7ec
JK
31962011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3197
3198 * gdb.linespec/linespec.exp: Compile using {c++}.
3199
ae1a303e
JK
32002011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3201
3202 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
3203 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
3204 (verify GCC PR debug/51668): New test.
3205
cc72b2a2
KP
32062011-12-23 Kevin Pouget <kevin.pouget@st.com>
3207
3208 Introduce gdb.FinishBreakpoint in Python.
3209 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
3210 py-finish-breakpoint2
3211 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
3212 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
3213 instead of line number.
3214 * gdb.python/py-finish-breakpoint.c: New file.
3215 * gdb.python/py-finish-breakpoint.exp: New file.
3216 * gdb.python/py-finish-breakpoint.py: New file.
3217 * gdb.python/py-finish-breakpoint2.cc: New file.
3218 * gdb.python/py-finish-breakpoint2.exp: New file.
3219 * gdb.python/py-finish-breakpoint2.py: New file.
3220
3b7962f9
JK
32212011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3222
3223 Partial fix of compatibility with gcc-4.7.
3224 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
3225 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
3226 Add comment to add a PASS case in the future.
3227
6538471c
JK
3228 Fix compatibility with gcc-4.7.
3229 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
3230
7052e42c
UW
32312011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
3232
3233 PR tdep/12797
3234 * gdb.base/callfuncs.exp: Remove KFAIL.
3235
9ac7f98e
JB
32362011-12-21 Joel Brobecker <brobecker@adacore.com>
3237
3238 * gdb.ada/task_bp: New testcase.
3239
f6eeced0
JK
32402011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3241
3242 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
3243 -DNO_SECTIONS.
3244 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
3245
72225e17
JK
32462011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3247
3248 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
3249 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
3250 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3251 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
3252 conditional for gcc <= 4.5.
3253
13ac8d2c
JK
32542011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3255
3256 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
3257 by XFAIL.
3258 * gdb.cp/static-method.exp (info addr A::func())
3259 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3260 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3261 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3262 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
3263 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
3264 (test value of F in k3_m): Likewise.
3265 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3266 Likewise.
3267
049682ba
JK
32682011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3269
3270 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
3271 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
3272 Remove.
3273 * gdb.threads/attachstop-mt.c: Remove.
3274 * gdb.threads/attachstop-mt.exp: Remove.
3275
2c9d8796
MK
32762011-12-17 Mark Kettenis <kettenis@gnu.org>
3277
3278 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
3279
e0f9f062
DE
32802011-12-16 Doug Evans <dje@google.com>
3281
f4aa2101 3282 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
3283 * boards/native-gdbserver.exp: New file.
3284
e0f9f062
DE
3285 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
3286 gdbserver output.
3287 (gdbserver_default_get_remote_address): New function.
3288 (gdbserver_start): Call gdb,get_remote_address to compute argument
3289 to "target remote" command.
3290
80b6e756
PM
32912011-12-16 Phil Muldoon <pmuldoon@redhat.com>
3292
1c3ad6ab 3293 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
3294 python print-stack. Add set/show python print-stack
3295 off|full|message tests.
3296
1576bd00
YQ
32972011-12-15 Yao Qi <yao@codesourcery.com>
3298
3299 * gdb.trace/strace.c: New
3300 * gdb.trace/strace.exp: New.
3301
d6a0f6e0
TT
33022011-12-14 Tom Tromey <tromey@redhat.com>
3303
3304 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
3305
31015e1d
DE
33062011-12-14 Doug Evans <dje@google.com>
3307
3308 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
3309
7b50312a
PA
33102011-12-14 Pedro Alves <pedro@codesourcery.com>
3311
3312 PR threads/10729
3313
3314 * gdb.mi/watch-nonstop.c: New file.
3315 * gdb.mi/mi-watch-nonstop.exp: New file.
3316
924437bc
PA
33172011-12-13 Pedro Alves <pedro@codesourcery.com>
3318 Doug Evans <dje@google.com>
3319
3320 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
3321 (clean_restart): Remove references to the gdb_stub target board
3322 variable.
3323 (gdb_step_for_stub): Delete.
3324
3325 * gdb.base/annota1.exp: Remove all references to [target_info
3326 exists gdb_stub], gdb_step_for_stub and usestubs.
3327 * gdb.base/annota3.exp: Ditto.
3328 * gdb.base/async.exp: Ditto.
3329 * gdb.base/break.exp: Ditto.
3330 * gdb.base/code-expr.exp: Ditto.
3331 * gdb.base/commands.exp: Ditto.
3332 * gdb.base/completion.exp: Ditto.
3333 * gdb.base/condbreak.exp: Ditto.
3334 * gdb.base/consecutive.exp: Ditto.
3335 * gdb.base/cvexpr.exp: Ditto.
3336 * gdb.base/define.exp: Ditto.
3337 * gdb.base/display.exp: Ditto.
3338 * gdb.base/ena-dis-br.exp: Ditto.
3339 * gdb.base/environ.exp: Ditto.
3340 * gdb.base/gnu-ifunc.exp: Ditto.
3341 * gdb.base/maint.exp: Ditto.
3342 * gdb.base/pending.exp: Ditto.
3343 * gdb.base/sect-cmd.exp: Ditto.
3344 * gdb.base/sepdebug.exp: Ditto.
3345 * gdb.base/unload.exp: Ditto.
3346 * gdb.base/watchpoint-solib.exp: Ditto.
3347 * gdb.cp/annota2.exp: Ditto.
3348 * gdb.cp/annota3.exp: Ditto.
3349 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
3350 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
3351 * gdb.mi/mi-pending.exp: Ditto.
3352 * gdb.trace/circ.exp: Ditto.
3353 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
3354 * gdb.base/list.exp: Ditto.
3355
3356 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
3357 breakpoint function and all references to the usestubs macro.
3358 * gdb.base/exprs.c: Ditto.
3359 * gdb.base/freebpcmd.c: Ditto.
3360 * gdb.base/bitfields.c: Ditto.
3361 * gdb.base/bitfields2.c: Ditto.
3362 * gdb.base/break.c: Ditto.
3363 * gdb.base/call-sc.c: Ditto.
3364 * gdb.base/call-signals.c: Ditto.
3365 * gdb.base/callfuncs.c: Ditto.
3366 * gdb.base/charset.c: Ditto.
3367 * gdb.base/consecutive.c: Ditto.
3368 * gdb.base/constvars.c: Ditto.
3369 * gdb.base/funcargs.c: Ditto.
3370 * gdb.base/int-type.c: Ditto.
3371 * gdb.base/interrupt.c: Ditto.
3372 * gdb.base/langs0.c: Ditto.
3373 * gdb.base/list0.c: Ditto.
3374 * gdb.base/mips_pro.c: Ditto.
3375 * gdb.base/miscexprs.c: Ditto.
3376 * gdb.base/nodebug.c: Ditto.
3377 * gdb.base/opaque0.c: Ditto.
3378 * gdb.base/pointers.c: Ditto.
3379 * gdb.base/printcmds.c: Ditto.
3380 * gdb.base/ptype.c: Ditto.
3381 * gdb.base/recurse.c: Ditto.
3382 * gdb.base/reread1.c: Ditto.
3383 * gdb.base/reread2.c: Ditto.
3384 * gdb.base/restore.c: Ditto.
3385 * gdb.base/return.c: Ditto.
3386 * gdb.base/run.c: Ditto.
3387 * gdb.base/scope0.c: Ditto.
3388 * gdb.base/sepdebug.c: Ditto.
3389 * gdb.base/setshow.c: Ditto.
3390 * gdb.base/setvar.c: Ditto.
3391 * gdb.base/sigall.c: Ditto.
3392 * gdb.base/signals.c: Ditto.
3393 * gdb.base/structs.c: Ditto.
3394 * gdb.base/structs2.c: Ditto.
3395 * gdb.base/testenv.c: Ditto.
3396 * gdb.base/twice.c: Ditto.
3397 * gdb.base/unwindonsignal.c: Ditto.
3398 * gdb.base/watchpoint.c: Ditto.
3399 * gdb.base/watchpoints.c: Ditto.
3400 * gdb.base/whatis.c: Ditto.
3401 * gdb.cp/classes.cc: Ditto.
3402 * gdb.cp/cplusfuncs.cc: Ditto.
3403 * gdb.cp/derivation.cc: Ditto.
3404 * gdb.cp/formatted-ref.cc: Ditto.
3405 * gdb.cp/misc.cc: Ditto.
3406 * gdb.cp/overload.cc: Ditto.
3407 * gdb.cp/ovldbreak.cc: Ditto.
3408 * gdb.cp/ref-params.cc: Ditto.
3409 * gdb.cp/ref-types.cc: Ditto.
3410 * gdb.cp/templates.cc: Ditto.
3411 * gdb.cp/virtfunc.cc: Ditto.
3412 * gdb.hp/gdb.aCC/run.c: Ditto.
3413 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
3414 * gdb.hp/gdb.compat/xdb0.c: Ditto.
3415 * gdb.reverse/consecutive-reverse.c: Ditto.
3416 * gdb.reverse/sigall-reverse.c: Ditto.
3417 * gdb.reverse/until-reverse.c: Ditto.
3418 * gdb.reverse/watch-reverse.c: Ditto.
3419 * gdb.trace/actions.c: Ditto.
3420 * gdb.trace/circ.c: Ditto.
3421 * gdb.trace/collection.c: Ditto.
3422
fabde485
PA
34232011-12-13 Pedro Alves <pedro@codesourcery.com>
3424
3425 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
3426 (func6, func7): New.
3427 (main): Call func6 and func7.
3428 * gdb.base/watchpoint.exp (test_wide_location_1)
3429 (test_wide_location_2): New.
3430 (top level): Re-enable hardware watchpoints if necessary. Call
3431 test_wide_location_1 and test_wide_location_2.
3432
ff7d1690
YQ
34332011-12-11 Yao Qi <yao@codesourcery.com>
3434
3435 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
3436
a6af7abe
JB
34372011-12-11 Joel Brobecker <brobecker@adacore.com>
3438
3439 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
3440 expected output for unsupported case.
3441
61638e15
JK
34422011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3443
3444 PR testsuite/12649
3445 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
3446 Protect gdb_test_multiple by final $gdb_prompt match.
3447
0a00efc3
JK
34482011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3449
3450 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
3451 New variable, new test.
3452 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3453 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3454 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3455 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
3456 them if HAVE_GCC_45682_FIXED is not set.
3457
4511b1ba
YQ
34582011-12-10 Yao Qi <yao@codesourcery.com>
3459
3460 * gdb.trace/status-stop.exp: New.
3461 * gdb.trace/status-stop.c: New.
3462
27949e73
JK
34632011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3464
3465 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
3466 timeout.
3467
d8ea7931
TT
34682011-12-08 Tom Tromey <tromey@redhat.com>
3469
3470 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
3471 condition.
3472
1cc310d2
SS
34732011-12-07 Stan Shebs <stan@codesourcery.com>
3474
3475 * gdb.trace/tfind.exp: Update for output changes.
3476
d482a875
PA
34772011-12-07 Pedro Alves <pedro@codesourcery.com>
3478
3479 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
3480 throws "Cannot insert catchpoints in this configuration".
3481 * gdb.ada/mi_catch_ex.exp: Likewise.
3482
f0ba3972
PA
34832011-12-06 Pedro Alves <pedro@codesourcery.com>
3484
3485 * gdb.base/break-always.exp: Test changing memory at addresses
3486 with breakpoints inserted.
3487
f8eba3c6
TT
34882011-12-06 Joel Brobecker <brobecker@acacore.com>
3489
3490 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
3491 involving a fully qualified function name.
3492
34932011-12-06 Tom Tromey <tromey@redhat.com>
3494
3495 * gdb.ada/homonym.exp: Add three breakpoint tests.
3496
34972011-12-06 Tom Tromey <tromey@redhat.com>
3498
3499 * gdb.base/solib-weak.exp (do_test): Remove kfail.
3500 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
3501 * gdb.objc/objcdecode.exp: Update for output changes.
3502 * gdb.linespec/linespec.exp: New file.
3503 * gdb.linespec/lspec.cc: New file.
3504 * gdb.linespec/lspec.h: New file.
3505 * gdb.linespec/body.h: New file.
3506 * gdb.linespec/base/two/thefile.cc: New file.
3507 * gdb.linespec/base/one/thefile.cc: New file.
3508 * gdb.linespec/Makefile.in: New file.
3509 * gdb.cp/templates.exp (test_template_breakpoints): Update for
3510 output changes.
3511 * gdb.cp/re-set-overloaded.exp: Remove kfail.
3512 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
3513 makes one breakpoint.
3514 * gdb.cp/method2.exp (test_break): Update for output changes.
3515 * gdb.cp/mb-templates.exp: Update for output changes.
3516 * gdb.cp/mb-inline.exp: Update for output changes.
3517 * gdb.cp/mb-ctor.exp: Update for output changes.
3518 * gdb.cp/ovsrch.exp: Use fully-qualified names.
3519 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
3520 has multiple matches.
3521 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
3522 error message change.
3523 * gdb.base/list.exp (test_list_filename_and_number): Update for
3524 error message change.
3525 * gdb.base/break.exp: Disable pending breakpoints. Update for
3526 output changes.
3527 * configure.ac: Add gdb.linespec.
3528 * configure: Rebuild.
3529 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
3530
c642a434
UW
35312011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
3532
3533 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
3534 last_break register on s390*-*-* targets.
3535
b18003d1
JB
35362011-12-06 Joel Brobecker <brobecker@adacore.com>
3537
3538 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
3539 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
3540 of parameter X in procedure Foo.
3541
fe96589c
SS
35422011-12-05 Stan Shebs <stan@codesourcery.com>
3543
3544 * gdb.trace/tfind.exp: Update help string matches.
3545
1820ab47
JK
35462011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3547
3548 * gdb.server/ext-run.exp (get process list): Accept also systemd
3549 as PID 1.
3550
e11ac3a3
JK
35512011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3552 Pedro Alves <pedro@codesourcery.com>
3553
3554 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
3555 starting GDB.
3556 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
3557 $use_gdb_stub.
3558 * gdb.base/display.exp: Likewise.
3559 * gdb.base/ending-run.exp: Likewise.
3560 * gdb.base/list.exp (test_listsize): Likewise.
3561 * gdb.base/setshow.exp: Likewise.
3562 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
3563 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
3564 check by global $use_gdb_stub.
3565 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
3566 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
3567 (default_gdb_init): Unset global $use_gdb_stub.
3568 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
3569 by global $use_gdb_stub.
3570 * lib/gdbserver-support.exp: Extend comments for set_board_info
3571 gdb_protocol and gdb,socketport.
3572 (gdbserver_start_extended): Set global gdbserver_protocol and
3573 gdbserver_gdbport. Clear global use_gdb_stub.
3574 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
3575 from target use_gdb_stub.
3576 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
3577
1d41d75c
DE
35782011-12-03 Doug Evans <dje@google.com>
3579
3580 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
3581 (gdb_step_for_stub): Add comments.
3582
d6d7a51a
MR
35832011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
3584
3585 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
3586 to the caller.
3587 (gdb_test_multiple): Likewise.
3588
05acf274
JK
35892011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3590
3591 Fix gdb.mi/mi-solib.exp without system debug info installed.
3592 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
3593 expect attribute, return 0 for it. Update comments.
3594
2268b414
JK
35952011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3596
3597 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
3598 (corrupted list): Adjust the expectation.
3599
585861ea
JK
36002011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3601
3602 PR threads/13448
3603 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
3604 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
3605 * gdb.threads/tls-var-main.c: New file.
3606 * gdb.threads/tls-var.c: New file.
3607 * gdb.threads/tls-var.exp: New file.
3608
968643aa
JK
36092011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3610
3611 PR testsuite/12649
3612 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
3613 Protect gdb_test_multiple by final $gdb_prompt match.
3614 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
3615 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3616 (test_tracepoints): Likewise.
3617
9750bca9
JK
36182011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3619
3620 PR breakpoints/13346
3621 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
3622 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
3623 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
3624
ac1349b7
JB
36252011-12-01 Joel Brobecker <brobecker@adacore.com>
3626
3627 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
3628 * gdb.ada/homonym/homonym.adb: For use of all types defined
3629 locally inside both Get_Value subprograms.
3630
26d44faf
JK
36312011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3632
3633 Fix racy FAILs.
3634 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
3635 of send_gdb.
3636
514f6425
UW
36372011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3638
3639 * gdb.base/testenv.exp: Skip on remote targets. Unset global
3640 environment variable after test completed.
3641
4255c8d2
UW
36422011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3643
3644 * gdb.base/solib-nodir.exp: Skip if remote target.
3645 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
3646 application. Call gdb_load_shlibs.
3647 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
3648
a35ad96a
JB
36492011-11-29 Joel Brobecker <brobecker@adacore.com>
3650
3651 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
3652
1a1d5513
JB
36532011-11-28 Joel Brobecker <brobecker@adacore.com>
3654
3655 * gdb.ada/fullname_bp: New testcase.
3656
50b4ddf8
JK
36572011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3658
3659 PR testsuite/12649
3660 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
3661 Wrap send_gdb into a new gdb_test.
3662
fb0aec57
JK
3663 Code cleanup.
3664 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
3665 Convert send_gdb and gdb_expect to gdb_test_multiple.
3666
2376d946
JK
36672011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3668
3669 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
3670
1eec78bd
KS
36712011-11-23 Keith Seitz <keiths@redhat.com>
3672
3673 * lib/mi-support.exp (varobj_tree): New namespace and procs.
3674 (mi_varobj_tree_test_children_callback): New proc.
3675 (mi_walk_varobj_tree): New proc.
3676
36dfb11c
TT
36772011-11-22 Tom Tromey <tromey@redhat.com>
3678
3679 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
3680 Add "use_mi_command" argument.
3681 (mi_run_cmd, mi_run_with_cli): New procs.
3682 * gdb.mi/solib-lib.c: New file.
3683 * gdb.mi/solib-main.c: New file.
3684 * gdb.mi/mi-solib.exp: New file.
3685
0e965dd0
DE
36862011-11-21 Doug Evans <dje@google.com>
3687
3688 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
3689 _Unwind_DebugHook is missing.
3690
f196051f
SS
36912011-11-20 Stan Shebs <stan@codesourcery.com>
3692
3693 * gdb.trace/tstatus.exp: New.
3694 * gdb.trace/actions.c: Include string.h.
3695
bfccc43c
YQ
36962011-11-18 Yao Qi <yao@codesourcery.com>
3697
3698 * gdb.trace/pending.exp: New.
3699 * gdb.trace/pending.c: New.
3700 * gdb.trace/pendshr1.c: New.
3701 * gdb.trace/pendshr2.c: New.
3702 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
3703 tracepoint location becomes pending.
3704 (tracepoint_change_loc_2): New.
3705
73cd8ab1
DM
37062011-11-16 David S. Miller <davem@davemloft.net>
3707
3708 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
3709 target is sparc*-*-linux*
3710
77426730
PK
37112011-11-15 Paul Koning <paul_koning@dell.com>
3712
3713 * gdb.python/py-type.exp: New testcases for exceptions on scalar
3714 types.
3715
ed59ded5
DE
37162011-11-14 Doug Evans <dje@google.com>
3717
3718 * gdb.base/shell.exp: New file.
3719
405f8e94
SS
37202011-11-14 Stan Shebs <stan@codesourcery.com>
3721
3722 * gdb.trace/ftrace.c: New.
3723 * gdb.trace/ftrace.exp: New.
3724
1e4d1764
YQ
37252011-11-14 Yao Qi <yao@codesourcery.com>
3726
3727 * gdb.trace/change-loc-1.c: New.
3728 * gdb.trace/change-loc-2.c: New.
3729 * gdb.trace/change-loc.c: New.
3730 * gdb.trace/change-loc.exp: New.
3731 * gdb.trace/change-loc.h: New.
3732 * gdb.trace/trace-break.c (marker): Define new symbol.
3733 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
3734 New.
3735 (break_trace_same_addr_6): New.
3736
71eba9c2 37372011-11-12 Matt Rice <ratmice@gmail.com>
3738
3739 * gdb.base/info-macros.exp: Make tests for info definitions
3740 test info macro. Add tests for info macro argument processing.
3741 Rename a few tests.
3742
1d93e29a
KS
37432011-11-11 Keith Seitz <keiths@redhat.com>
3744
3745 PR gdb/12843
3746 * gdb.base/linespecs.exp: New file.
3747
a4b5b48a
DE
37482011-11-11 Doug Evans <dje@google.com>
3749
3750 * gdb.threads/print-threads.exp: Extend timeout for slower
3751 tests.
3752
f6b47be4
DE
37532011-11-10 Doug Evans <dje@google.com>
3754
792a0230
DE
3755 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
3756 "record to end of main" test.
3757
f6b47be4
DE
3758 * gdb.python/py-type.c (TS): New typedef.
3759 (ts): New global.
3760 * gdb.python/py-type.exp: Test field list of typedef.
3761
22355c90
JB
37622011-11-10 Joel Brobecker <brobecker@adacore.com>
3763
3764 * gdb.ada/small_reg_param: New testcase.
3765
a7860e76
TT
37662011-11-09 Tom Tromey <tromey@redhat.com>
3767
3768 * gdb.cp/destrprint.exp: New file.
3769 * gdb.cp/destrprint.cc: New file.
3770
72a2e3dc
MI
37712011-11-08 Meador Inge <meadori@codesourcery.com>
3772
3773 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
3774 (switch_stack_to_other): New test function.
3775 * gdb.arch/thumb-prologue.exp: New test cases.
3776
c7195df2 37772011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
3778
3779 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
3780
d3895d7d
YQ
37812011-11-08 Yao Qi <yao@codesourcery.com>
3782
3783 * gdb.exp (supports_process_record): New.
3784 (supports_reverse): New.
3785 * gdb.reverse/break-precsave.exp: Call support_process_record
3786 to run test conditionally.
3787 * gdb.reverse/consecutive-precsave.exp: Likewise.
3788 * gdb.reverse/i386-precsave.exp: Likewise.
3789 * gdb.reverse/machinestate-precsave.exp: Likewise.
3790 * gdb.reverse/solib-precsave.exp: Likewise.
3791 * gdb.reverse/step-precsave.exp: Likewise.
3792 * gdb.reverse/until-precsave.exp: Likewise.
3793 * gdb.reverse/watch-precsave.exp: Likewise.
3794 * gdb.reverse/break-reverse.exp: Call support_reverse to run
3795 test conditionally.
3796 * gdb.reverse/consecutive-reverse.exp: Likewise.
3797 * gdb.reverse/finish-precsave.exp: Likewise.
3798 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3799 * gdb.reverse/finish-reverse.exp: Likewise.
3800 * gdb.reverse/i386-reverse.exp: Likewise.
3801 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3802 * gdb.reverse/machinestate.exp: Likewise.
3803 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
3804 * gdb.reverse/sigall-precsave.exp: Likewise.
3805 * gdb.reverse/sigall-reverse.exp: Likewise.
3806 * gdb.reverse/solib-reverse.exp: Likewise.
3807 * gdb.reverse/step-reverse.exp: Likewise.
3808 * gdb.reverse/until-reverse.exp: Likewise.
3809 * gdb.reverse/watch-reverse.exp: Likewise.
3810
a59306a3
YQ
38112011-11-05 Yao Qi <yao@codesourcery.com>
3812
3813 * gdb.trace/trace-break.exp: Add test on setting two
3814 fast tracepoints at the same address.
3815
87769f59
JK
38162011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3817
3818 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
3819
3065dfb6
SS
38202011-11-02 Stan Shebs <stan@codesourcery.com>
3821
3822 * gdb.trace/collection.c: Add code using strings.
3823 * gdb.trace/collection.exp: Add tests of string collection.
3824
89e208db
JK
38252011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3826
3827 * gdb.base/skip-solib.exp (executable_main): New variable.
3828 (binfile_main): Base it on that.
3829 Use $executable_main in clean_restart calls. Drop gdb_exit and
3830 gdb_start calls.
3831
405e54e9
JK
38322011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3833
3834 Fix racy FAILs.
3835 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
3836 breakpoint_re globals import by async. Set string_regex to .* for
3837 async. Remove the optional thread_selected_re and breakpoint_re
3838 globals expectations.
3839
58e8570a
JM
38402011-11-01 Joseph Myers <joseph@codesourcery.com>
3841
3842 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
3843 well as Cygwin.
3844
7b35ec7f 38452011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
3846
3847 Add tests for skip command.
89e208db
JK
3848 * gdb.base/skip-solib-lib.c: New
3849 * gdb.base/skip-solib-main.c: New
3850 * gdb.base/skip-solib.exp: New
3851 * gdb.base/skip.c: New
3852 * gdb.base/skip.exp: New
3853 * gdb.base/skip1.c: New
3854 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 3855
b9fd1791
PA
38562011-10-31 Yao Qi <yao@codesourcery.com>
3857 Pedro Alves <pedro@codesourcery.com>
3858
3859 * gdb.trace/trace-break.c: New.
3860 * gdb.trace/trace-break.exp: New.
3861
4323fecc
JK
38622011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3863
3864 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
3865 break-here-2.
3866
0e5bf2a8
PA
38672011-10-28 Pedro Alves <pedro@codesourcery.com>
3868
3869 * gdb.threads/no-unwaited-for-left.c: New.
3870 * gdb.threads/no-unwaited-for-left.exp: New.
3871 * gdb.threads/non-ldr-exc-1.c: New.
3872 * gdb.threads/non-ldr-exc-1.exp: New.
3873 * gdb.threads/non-ldr-exc-2.c: New.
3874 * gdb.threads/non-ldr-exc-2.exp: New.
3875 * gdb.threads/non-ldr-exc-3.c: New.
3876 * gdb.threads/non-ldr-exc-3.exp: New.
3877 * gdb.threads/non-ldr-exc-4.c: New.
3878 * gdb.threads/non-ldr-exc-4.exp: New.
3879
3a3dad98
JK
38802011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3881
3882 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
3883 * gdb.base/attach-pie-misread.exp: Likewise.
3884 * gdb.base/break-interp.exp: Likewise.
3885 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
3886 testcases for use_gdb_stub.
3887 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
3888 (continue): New testcase.
3889 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
3890 * gdb.threads/attach-into-signal.exp: Likewise.
3891 * gdb.threads/attach-stopped.exp: Likewise.
3892 * gdb.threads/attachstop-mt.exp: Likewise.
3893
d6a5d40c
PK
38942011-10-28 Paul Koning <paul_koning@dell.com>
3895
3896 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
3897
ca539be8
JK
38982011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3899
3900 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
3901 (mi_gdb_test): Import globals thread_selected_re
3902 and breakpoint_re. Expect them optionally at the regex start.
3903
d234ef5c
DE
39042011-10-27 Doug Evans <dje@google.com>
3905
3906 * gdb.python/python.exp: Test source -s.
3907
ab964825
PK
39082011-10-26 Paul Koning <paul_koning@dell.com>
3909
3910 * gdb.python/lib-types.cc (struct A): New structure.
3911 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 3912
54d8a644
PK
39132011-10-25 Paul Koning <paul_koning@dell.com>
3914
3915 PR python/13327
d234ef5c 3916
54d8a644
PK
3917 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
3918 fetch_lazy method.
3919
b0221781
YQ
39202011-10-24 Yao Qi <yao@codesourcery.com>
3921
3922 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
3923 target is tic6x-*-*.
3924
6cda5a20
JB
39252011-10-21 Joel Brobecker <brobecker@adacore.com>
3926
3927 * gdb.ada/mi_task_info/task_switch.adb: New file.
3928 * gdb.ada/mi_task_info.exp: New file.
3929
5ed9db04
JK
39302011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3931
3932 * gdb.cp/expand-psymtabs-cxx.exp: New file.
3933 * gdb.cp/expand-psymtabs-cxx.cc: New file.
3934
9df2fbc4
PM
39352011-10-20 Phil Muldoon <pmuldoon@redhat.com>
3936
3937 PR python/12656
3938
3939 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
3940 global_block tests.
3941
736086ba
TT
39422011-10-18 Tom Tromey <tromey@redhat.com>
3943
3944 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
3945
4af31552
TT
39462011-10-18 Tom Tromey <tromey@redhat.com>
3947
3948 * gdb.base/source.exp: Don't include full file name in test name.
3949 * gdb.python/python.exp: Don't include full file name in test
3950 name.
3951
43136979
AR
39522011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 * gdb.base/attach-pie-noexec.c: New files.
3955 * gdb.base/attach-pie-noexec.exp: New files.
3956
543a9323
JM
39572011-10-17 Joseph Myers <joseph@codesourcery.com>
3958
3959 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
3960 prompt for each extra line in command.
3961
21ae7a4d
JK
39622011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3963
3964 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
3965 Revert the part of:
3966 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3967 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
3968 Change the expected string.
3969
20ec36d9
JK
39702011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3971
3972 Fix results with system glibc debug info installed.
3973 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
3974 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
3975 Accept also __libc_ symbol prefix and no prefix.
3976
6501c2fc
KS
39772011-10-14 Keith Seitz <keiths@redhat.com>
3978
3979 PR c++/13225
3980 * gdb.cp/converts.cc (foo3_1): New function.
3981 (foo3_2): New functions.
3982 * gdb.cp/converts.exp: Add tests for int to pointer conversion
3983 and null pointer conversions of integer constant zero.
3984 Add test to check if all arguments are checked for incompatible
3985 conversion BADNESS.
3986
55b1fd0c
TT
39872011-10-14 Tom Tromey <tromey@redhat.com>
3988
3989 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
3990 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
3991 linespec.
3992
22c05d8a
JK
39932011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3994
3995 Fix internal error regression.
3996 * gdb.dwarf2/implptr-optimized-out.S: New file.
3997 * gdb.dwarf2/implptr-optimized-out.exp: New file.
3998
1d6edc3c
JK
39992011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4000
4001 Fix empty DWARF expressions DATA vs. SIZE conditionals.
4002 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
4003 (loclist): New.
4004 (4): New abbrev.
4005 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
4006 Use prepare_for_testing, remove clean_restart.
4007 (p arraynoloc, p arraycallnoloc): New tests.
4008
9ec72168
JK
40092011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4010
4011 * gdb.cp/namespace-enum.exp (executable): New variable.
4012 (binfile): Use ${objdir}/${subdir}/ prefix.
4013 Use ${executable} for clean_restart.
4014
9c6c53f7
SA
40152011-10-11 Sterling Augustine <saugustine@google.com>
4016
4017 * gdb.cp/Makefile.in: Add namespace-enum test.
4018 * gdb.cp/namespace-enum.exp: New file.
4019 * gdb.cp/namespace-enum.c: New file.
4020 * gdb.cp/namespace-enum-main.c: New file.
4021
fac7ceb3
UW
40222011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
4023
4024 * gdb.python/py-shared.exp: Relax filename check to handle remote:
4025 sysroot.
4026
941b2081
JK
40272011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4028
4029 Reimplement @entry in input expressions.
4030 * gdb.base/exprs.c (v_int_array_init): New variable.
4031 * gdb.base/exprs.exp (print v_int_array_init)
4032 (print *v_int_array_init@1, print *v_int_array_init@2)
4033 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
4034 (print v_int_array_init[1]@1): New tests.
4035
0344e878
JM
40362011-10-10 Joseph Myers <joseph@codesourcery.com>
4037
4038 * gdb.cp/gdb2495.exp: Do not include directories in filename in
4039 expected message.
4040
5a56e9c5
DE
40412011-10-09 Doug Evans <dje@google.com>
4042
4043 * gdb.base/alias.exp: Add tests for alias command.
4044
2bda9cc5
JK
40452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4046
4047 * gdb.arch/amd64-entry-value.s: New file.
4048 * gdb.mi/mi2-amd64-entry-value.s: New file.
4049
a471c594
JK
40502011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4051
4052 Display @entry parameter values even for references.
4053 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
4054 functions.
4055 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
4056 reference and datap_input.
4057 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
4058 breakpoints.
4059 (continue to breakpoint: entry_reference: reference)
4060 (entry_reference: bt at entry)
4061 (continue to breakpoint: entry_reference: breakhere_reference)
4062 (entry_reference: bt, entry_reference: ptype regparam)
4063 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
4064 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
4065 (entry_reference: p regcopy, entry_reference: p nodataparam)
4066 (entry_reference: p nodataparam@entry): New tests.
4067
36b11add
JK
40682011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4069
4070 Support @entry in input expressions.
4071 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
4072 (entry_stack: p s1@entry, entry_stack: p s2@entry)
4073 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
4074 (tailcall: p j@entry): New tests.
4075 * gdb.cp/koenig.cc (A::entry): New function.
4076 (main): Call it.
4077 * gdb.cp/koenig.exp (p entry (c)): New test.
4078
e18b2753
JK
40792011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4080
4081 Display @entry parameter values (without references).
4082 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
4083 (different, validity, invalid): New functions.
4084 (main): Call them.
4085 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
4086 stacktest, breakhere_stacktest, different, breakhere_different,
4087 breakhere_validity and breakhere_invalid.
4088 (entry: bt): Update for @entry.
4089 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
4090 (entry_validity: *, entry_invalid: *): Many new tests.
4091 * gdb.base/break.exp
4092 (run until breakpoint set at small function, optimized file): Accept
4093 also the @entry suffix.
4094 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
4095 * gdb.mi/mi2-amd64-entry-value.c: New files.
4096 * gdb.mi/mi2-amd64-entry-value.exp: New files.
4097
2d6c5dc2
JK
40982011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4099
4100 Protect entry values against self tail calls.
4101 * gdb.arch/amd64-entry-value.cc (self2, self): New.
4102 (main): Call self.
4103 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
4104 (set debug entry-values 1, self: bt debug entry-values): New tests.
4105
111c6489
JK
41062011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4107
4108 Recognize virtual tail call frames.
4109 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
4110 (amb_b, amb_a): New.
4111 (main): Call a and b.
4112 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
4113 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
4114 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
4115 New tests.
4116
8e3b41a9
JK
41172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4118
4119 Implement basic support for DW_TAG_GNU_call_site.
4120 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
4121 * gdb.arch/amd64-entry-value.cc: New file.
4122 * gdb.arch/amd64-entry-value.exp: New file.
4123
181cebd4
JK
41242011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4125
4126 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
4127 * gdb.dwarf2/implptr-64bit.S: New file.
4128 * gdb.dwarf2/implptr-64bit.exp: New file.
4129
741f5e3c
JK
41302011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4131
4132 Fix initial language detection with -readnow.
4133 * gdb.cp/readnow-language.cc: New file.
4134 * gdb.cp/readnow-language.exp: New file.
4135
a73d2258
JK
41362011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4137
4138 Fix printed anonymous struct name.
4139 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
4140
af369495
JM
41412011-10-09 Joseph Myers <joseph@codesourcery.com>
4142
4143 * gdb.base/solib-symbol.exp: Do not include directories in
4144 filenames in expected messages.
4145
1fa57852
DE
41462011-10-07 Doug Evans <dje@google.com>
4147
4148 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
4149
bd054e06
KP
41502011-10-07 Kevin Pouget <kevin.pouget@st.com>
4151
4152 Allow Python notification of new object-file loadings.
4153 * gdb.python/py-events.exp: Test newobjfile event.
4154 * gdb.python/py-events.py: Register newobjfile callback.
4155 * gdb.python/py-events.c: Add call to shared library
4156 * gdb.python/py-events-shlib.c: New file.
4157
8031b6f8
JM
41582011-10-06 Joseph Myers <joseph@codesourcery.com>
4159
4160 * gdb.base/fixsection.exp: Do not include directories in filename
4161 in expected message.
4162
7fea6923
PM
41632011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4164
4165 Add tests for passing of environment variables to inferior.
4166 * gdb.base/testenv.c: New test source.
4167 * gdb.base/testenv.exp: New expect test.
4168
687f2a88
PK
41692011-10-04 Paul Koning <paul_koning@dell.com>
4170
4171 * gdb.python/py-value.c (main): Break before return.
4172
cb6be26b
KP
41732011-10-04 Kevin Pouget <kevin.pouget@st.com>
4174
4175 PR python/12691: Add the inferior to Python exited event
4176 * gdb.python/py-events.exp: Test the inferior attribute of exited
4177 event with a fork.
4178 * gdb.python/py-events.py: Print inferior number on exit.
4179 * gdb.python/py-events.c: Fork the inferior.
4180
fb213700
EBM
41812011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4182
4183 * gdb.base/jit.exp: Add testcase name to log message
4184
aa2071bd
PK
41852011-10-03 Paul Koning <paul_koning@dell.com>
4186 Jan Kratochvil <jan.kratochvil@redhat.com>
4187
4188 * gdb.python/py-value.exp
4189 (python inval = gdb.parse_and_eval('*(int*)0'))
4190 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
4191 (set argc=2, python print argc_lazy): New tests.
4192
dd11a36c
JB
41932011-10-02 Joel Brobecker <brobecker@adacore.com>
4194
4195 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
4196
46f886f1
JK
41972011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4198 Pedro Alves <pedro@codesourcery.com>
4199
4200 * gdb.python/py-value.exp (test_value_in_inferior): New variable
4201 can_read_0, test for it.
4202 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
4203 (parse_and_eval with memory error): ... here, make it untested if
4204 can_read_0.
4205
c5cb204f
MP
42062011-09-30 Marek Polacek <mpolacek@redhat.com>
4207
4208 * gdb.python/python.exp (verify pagination beforehand)
4209 (verify pagination afterwards): Fix race by splitting the line.
4210
68fb0ec0
JM
42112011-09-29 Joseph Myers <joseph@codesourcery.com>
4212
4213 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
4214 for 64-bit multilibs from i?86-* targets.
4215
6aee0d90
MP
42162011-09-29 Marek Polacek <mpolacek@redhat.com>
4217
4218 * lib/gdb.exp: Fix a typo in one of the comments.
4219
e9101ff5
MP
42202011-09-29 Marek Polacek <mpolacek@redhat.com>
4221
4222 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
4223 matching pattern.
4224
7a81bdbf
PK
42252011-09-28 Paul Koning <paul_koning@dell.com>
4226
4227 * gdb.python/py-type.c (enum E): New.
4228 * gdb.python/py-type.exp (test_fields): Add tests for Python
4229 mapping access to fields.
4230 (test_enums): New test for field access on enums.
4231
6710bf39
SS
42322011-09-27 Stan Shebs <stan@codesourcery.com>
4233
4234 * gdb.trace/collection.exp: Test collection of $_ret.
4235
b2a6bdeb
AT
42362011-09-22 Andreas Tobler <andreast@fgznet.ch>
4237
4238 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
4239 list of compilation switches for <*-*-freebsd*>.
4240
3c9057f3
SS
42412011-09-19 Stan Shebs <stan@codesourcery.com>
4242
4243 * gdb.trace/tspeed.exp: New file.
4244 * gdb.trace/tspeed.c: New file.
4245
34518530
YQ
42462011-09-18 Yao Qi <yao@codesourcery.com>
4247
4248 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
4249 instructions.
4250 (test_adr_32bit, test_pop_pc): Likewise.
4251 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
4252 Thumb instructions.
4253 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
4254 in gdb_test_multiple.
4255 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
4256
ab254057
YQ
42572011-09-17 Yao Qi <yao@codesourcery.com>
4258
4259 * lib/gdb.exp (can_single_step_to_signal_handler): New.
4260 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
4261 support single step to signal handler.
4262
9c317b71
YQ
42632011-09-17 Yao Qi <yao@codesourcery.com>
4264
4265 * gdb.base/disp-step-fork.c: New.
4266 * gdb.base/disp-step-syscall.exp: New.
4267 * gdb.base/disp-step-vfork.c: New.
4268
a8123151
JB
42692011-09-16 Joel Brobecker <brobecker@adacore.com>
4270
4271 * gdb.ada/tasks.exp: Make the expected output for
4272 the `info tasks' tests more resilient to spacing
4273 changes.
4274
63a9aad8
JK
42752011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4276
4277 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
4278 (reached breakpoint 2, reached breakpoint 3): Update expected output.
4279
2aa48337
KP
42802011-09-15 Kevin Pouget <kevin.pouget@st.com>
4281
4282 PR Python/12692 Add gdb.selected_inferior() to Python interface.
4283 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
4284
6839b47f
KP
42852011-04-30 Kevin Pouget <kevin.pouget@st.com>
4286
4287 Handle multiple breakpoint hits in Python interface:
4288 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
4289 presence.
4290 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
4291 breakpoint hits.
4292
0935723e
JK
42932011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4294 Jan Kratochvil <jan.kratochvil@redhat.com>
4295
4296 * gdb.python/py-events.exp: Remove pretty printing comment.
4297 * gdb.python/py-evsignal.exp: New file.
4298 * gdb.python/py-evthreads.c: Include signal.h.
4299 (thread3): Remove variable count3. Remove variable bad and use raise
4300 instead.
4301 (thread2): Remove variable count2. Move thread3 pthread_create here,
4302 merge pthread_join to a single line.
4303 (main): Remove variable count1. Merge pthread_join with pthread_create
4304 to a single line.
4305 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
4306 KFAIL python/12966 for gdbserver. Test return value of
4307 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
4308 gdb_expect by gdb_test and gdb_test_multiple.
4309 (thread 2, thread 3): New tests.
4310
4801a9a3
PA
43112011-09-12 Matt Rice <ratmice@gmail.com>
4312 Pedro Alves <pedro@codesourcery.com>
4313
4314 PR gdb/13175
4315
4316 * gdb.base/interp.exp: New tests.
4317 * gdb.base/interp.c: New file.
4318
24ece742
DE
43192011-09-12 Doug Evans <dje@google.com>
4320
4321 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
4322 * gdb.dwarf2/typeddwarf.exp: Ditto.
4323
7f062217
JK
43242011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4325
4326 Fix compatibility with x32 arch.
4327 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
4328 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
4329 is_x86_like_target.
4330 * testsuite/gdb.trace/collection.exp: Likewise.
4331 * testsuite/gdb.trace/report.exp: Likewise.
4332 * testsuite/gdb.trace/unavailable.exp: Likewise.
4333 * testsuite/gdb.trace/while-dyn.exp: Likewise.
4334 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
4335 (is_x86_like_target): Check also is_amd64_regs_target.
4336
08711b9a
JK
43372011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4338
4339 PR breakpoints/12435
4340 * gdb.arch/amd64-prologue-xmm.c: New file.
4341 * gdb.arch/amd64-prologue-xmm.exp: New file.
4342 * gdb.arch/amd64-prologue-xmm.s: New file.
4343
b99b5f66
JK
43442011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4345
4346 * gdb.dwarf2/dw2-param-error-main.c: New file.
4347 * gdb.dwarf2/dw2-param-error.S: New file.
4348 * gdb.dwarf2/dw2-param-error.exp: New file.
4349
a391a2f6
PA
43502011-09-08 Pedro Alves <pedro@codesourcery.com>
4351
4352 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
4353 inferior's pid and look for a core dump named core.$pid. Use
4354 `remote_file' commands on the host instead of hand coding shell
4355 commands on the build.
4356 * gdb.base/valgrind-db-attach.exp: Kill the program before
4357 finishing the test.
4358
7d8e6458 43592011-09-02 Matt Rice <ratmice@gmail.com>
4360
4361 * lib/prompt.exp: New file for testing the first prompt.
4362 * gdb.python/py-prompt.exp: Ditto.
4363 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
4364
68e77c9e
PA
43652011-09-02 Pedro Alves <pedro@codesourcery.com>
4366
4367 * gdb.threads/gcore-thread.exp: Set the global core_supported to
4368 0, before testing gcore.
4369
9655e943
JK
43702011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4371
df6dc84d
JK
4372 * dw2-ifort-parameter-debug.S: Update copyright year.
4373 * dw2-ifort-parameter.c: Update copyright year.
4374 * dw2-ifort-parameter.exp: Update copyright year.
4375
9655e943
JK
4376 * dw2-ifort-parameter-debug.S: New file.
4377 * dw2-ifort-parameter.c: New file.
4378 * dw2-ifort-parameter.exp: New file.
4379
353d1d73
JK
43802011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4381
4382 * gdb.base/commands.exp (error_clears_commands_left): New function.
4383 (): Call it.
4384
5c07461a
JK
43852011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4386
4387 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
4388 (C): Initialize `a'.
4389 * gdb.mi/mi-inheritance-syntax-error.exp
4390 (-data-evaluate-expression $path): Expect `a' as 5.
4391
0d932b2f
MK
43922011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
4393
4394 PR mi/11912
4395 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
4396 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
4397 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
4398 keyword in output of -var-info-path-expression.
4399
bdb54049
JK
44002011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4401
4402 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
4403 * gdb.trace/collection.exp: Likewise.
4404 * gdb.trace/report.exp: Likewise.
4405 * gdb.trace/unavailable.exp: Likewise.
4406 * gdb.trace/while-dyn.exp: Likewise.
4407
59cde39c
KS
44082011-08-18 Keith Seitz <keiths@redhat.com>
4409
4410 PR c++/12266
4411 * gdb.cp/meth-typedefs.cc: New file.
4412 * gdb.cp/meth-typedefs.exp: New file.
4413
fa3a4f15
PM
44142011-08-17 Phil Muldoon <pmuldoon@redhat.com>
4415
4416 * gdb.python/python.exp: Add extended-prompt tests.
4417
c1049fca
JK
44182011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4419
4420 * gdb.arch/i386-dr3-watch.exp
4421 (watchpoint on gap1 does not fit debug registers)
4422 (delete all watchpoints): Fix racy expect strings.
4423
d93f7b5c
YQ
44242011-08-14 Yao Qi <yao@codesourcery.com>
4425
4426 * gdb.base/maint.exp: set data_section to ".neardata".
4427 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
4428 * gdb.base/savedregs.exp: Handle SIGILL.
4429 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
4430 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
4431
457e09f0
DE
44322011-08-12 Doug Evans <dje@google.com>
4433
4434 * gdb.python/py-symbol.exp: Add test for symbol.type.
4435
5d0bb2fb
UW
44362011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
4437
4438 * gdb.threads/pthreads.exp: Enable on non-native configurations.
4439 * gdb.mi/mi-pthreads.exp: Likewise.
4440 * gdb.mi/mi2-pthreads.exp: Likewise.
4441 * gdb.mi/gdb669.exp.exp: Likewise.
4442
fcdfa280
PA
44432011-08-09 Pedro Alves <pedro@codesourcery.com>
4444
4445 * lib/mi-support.exp (detect_async): Rename to...
4446 (mi_detect_async): ... this.
4447 * gdb.mi/mi-nonstop-exit.exp: Adjust.
4448 * gdb.mi/mi-nonstop.exp: Adjust.
4449 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
4450 * gdb.mi/mi-nsintrall.exp: Adjust.
4451 * gdb.mi/mi-nsmoribund.exp: Adjust.
4452 * gdb.mi/mi-nsthrexec.exp: Adjust.
4453
9d8fa392
PA
44542011-08-09 Pedro Alves <pedro@codesourcery.com>
4455
4456 * gdb.base/display.c (do_loops): New `p_i' local.
4457 * gdb.base/display.exp: Test displaying a variable that is
4458 temporarily at a bad address.
4459
b6cede78
JK
44602011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4461
4462 * gdb.dwarf2/dw2-op-stack-value.S: New file.
4463 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
4464
67bedb8c
JK
44652011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4466
4467 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
4468 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
4469 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 4470
af6e93b2
PA
44712011-08-05 Pedro Alves <pedro@codesourcery.com>
4472
4473 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
4474 procedure.
4475 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
4476
1cf0e11f
YQ
44772011-08-05 Yao Qi <yao@codesourcery.com>
4478
4479 * gdb.base/callfuncs.exp: Set language after main.
4480 * gdb.cp/cplusfuncs.exp: Likewise.
4481 * gdb.cp/inherit.exp: Likewise.
4482
a1e28cb2
UW
44832011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4484
4485 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
4486 * gdb.base/watch-vfork.exp: Skip on remote targets.
4487
d4f5bbb9
UW
44882011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4489
4490 * gdb.threads/thread-find.exp: Support remote targets.
4491
724f4f80
UW
44922011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4493
4494 * gdb.base/jit.exp: Download solib_binfile to target.
4495 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
4496 and call dlopen without full path name.
4497 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
4498 dlopen without full path name.
4499
934709f0
PW
45002011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4501
4502 * gdb.base/break-always.exp: Complete the test
4503 with duplicated breakpoints and enabling/disabling them.
4504
c26106c4
TT
45052011-08-02 Tom Tromey <tromey@redhat.com>
4506
4507 PR gdb/11289:
4508 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
4509
9300444e 45102011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
4511
4512 PR gdb/13045
4513 * gdb.base/float.exp: Add new test case for PR gdb/13045
4514 * gdb.base/float.c: New file.
4515
00bd41d6
PM
45162011-07-28 Phil Muldoon <pmuldoon@redhat.com>
4517
4518 * gdb.python/py-mi.exp: Test printers returning string hint, and
4519 also not returning a value.
4520 * gdb.python/py-prettyprint.c: Add testcase for above.
4521 * gdb.python/py-prettyprint.py: Add test printer for above.
4522
d24f74ce
JK
45232011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4524
4525 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
4526 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
4527 (.Ldie30) Add as field "data4".
4528 (.Ldie32) Rename field "b" to "shl".
4529 (abbrev4) Change for the "data4" field.
4530 (abbrev5, abbrev6) Remove.
4531 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
4532 (p &s.shl): ... here. Add comment.
4533 (p &s.data4): New.
4534
bb7da2bf
JK
45352011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4536
4537 Fix crash on lval_computed values.
4538 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
4539
11081198
JK
45402011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4541
4542 * gdb.base/help.exp (help whatis): Update the expected string.
4543
3c6e0cb3
JK
45442011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4545
4546 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
4547 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
4548 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
4549 Change the expected string.
4550
efa80663
PA
45512011-07-26 Pedro Alves <pedro@codesourcery.com>
4552
4553 * gdb.base/watchpoint.exp
4554 (test_disable_enable_software_watchpoint): New procedure.
4555 (top level): Run it.
4556
db8e4570
UW
45572011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
4558
4559 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
4560 executable file "${binfile}", C++ version "${binfile}-cxx".
4561 * gdb.python/py-prettyprint.exp: Likewise.
4562 * gdb.python/py-symbol.exp: Likewise.
4563 * gdb.python/py-type.exp: Likewise.
4564 * gdb.python/py-value.exp: Likewise.
4565 * gdb.python/py-template.exp (test_template_arg): Pass full executable
4566 file name instead of just suffix.
4567
543305c9
JK
45682011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4569
4570 Fix implicit pointer offsets.
4571 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
4572 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
4573 (continue to breakpoint: continue to baz breakpoint for implptr)
4574 (sanity check element 0, sanity check element 1)
4575 (enter the inlined function, check element 0 for the offset)
4576 (check element 1 for the offset)
4577 (continue to breakpoint: ignore the second baz breakpoint): New tests.
4578 (set foo breakpoint for implptr): Update the breakpoint number.
4579
b3215adc
UW
45802011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4581
4582 * gdb.python/py-mi.exp: Use different file names for different
4583 versions of the executable under test.
4584 * gdb.python/py-prettyprint.exp: Likewise.
4585 * gdb.python/py-symbol.exp: Likewise.
4586 * gdb.python/py-template.exp: Likewise.
4587 * gdb.python/py-type.exp: Likewise.
4588 * gdb.python/py-value.exp: Likewise.
4589
182b9acc
UW
45902011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4591
4592 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
4593 flag after restarting GDB if necessary.
4594
e6052b5d
UW
45952011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4596
4597 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
4598
1ced966e
PA
45992011-07-22 Pedro Alves <pedro@codesourcery.com>
4600
4601 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
4602 backend doesn't leave used debug registers behind.
4603
3543a589
TT
46042011-07-22 Tom Tromey <tromey@redhat.com>
4605
4606 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
4607 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
4608 argument.
4609 * gdb.dwarf2/typeddwarf-amd64.S: New file.
4610
14d15303 46112011-07-21 Matt Rice <ratmice@gmail.com>
4612
4613 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
4614 in mostlyclean rule. Add files ending in .core.
4615
9b158ba0 46162011-07-21 Matt Rice <ratmice@gmail.com>
4617
4618 PR macros/12999
4619 * gdb.base/info-macros.c: New test sources.
4620 * gdb.base/info-macros.exp: New tests.
4621
d17b6f81
PM
46222011-07-21 Phil Muldoon <pmuldoon@redhat.com>
4623
4624 * gdb.python/python.exp: Add prompt substitution tests.
4625
918dd910
JK
46262011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4627
4628 Fix crash if referenced CU is aged out.
4629 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
4630 New.
4631 * gdb.dwarf2/implptr.exp: Likewise.
4632
0e37a63c
JK
46332011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4634
4635 * gdb.dwarf2/implptr.S: Rebuilt.
4636 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
4637 (bar): Use them for j, k, l.
4638 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
4639 COMPILE.
4640 (print j in implptr:bar): Update for the intp typedef.
4641 (print p[0].x in implptr:foo): Use more exact regex.
4642
f65cf84c
TT
46432011-07-18 Tom Tromey <tromey@redhat.com>
4644
4645 * gdb.cp/static-method.exp: Add missing single quote.
4646
d5b4a7be
YQ
46472011-07-18 Yao Qi <yao@codesourcery.com>
4648
4649 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
4650 supported.
4651 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4652 * gdb.mi/mi-nonstop.exp: Likewise.
4653 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4654 * gdb.mi/mi-nsintrall.exp: Likewise.
4655 * gdb.mi/mi-nsmoribund.exp: Likewise.
4656 * gdb.mi/mi-nsthrexec.exp: Likewise.
4657 * gdb.python/py-evthreads.exp: Likewise.
4658
e9ea2662
JK
46592011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4660
4661 Code cleanup.
4662 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
4663 it. Substitute it instead of test_compiler_info everywhere.
4664
ce451573
UW
46652011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4666
4667 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
4668 remote targets as well.
4669
756d88a7
UW
46702011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4671
4672 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
4673 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
4674
31f83dc5
UW
46752011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4676
4677 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
4678 a remote machine, not the host.
4679 (gdb_compile_shlib): Set soname if target is remote.
4680
059241a0
PP
46812011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4682
4683 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
4684
28a0b48c 46852011-07-13 Matt Rice <ratmice@gmail.com>
4686
4687 * gdb.python/py-objfile-script-gdb.py: Renamed to
4688 py-objfile-script-gdb.py.in.
4689 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
4690 py-objfile-script-gdb.py.
4691 * gdb.python/py-objfile-script.exp: Update reference to
4692 py-objfile-script-gdb.py.
4693
9a771b67
JK
46942011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4695
4696 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
4697 reference undefined label.
4698
04ad99e6
JK
46992011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4700
4701 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
4702 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
4703 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
4704 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
4705
713389e0
PM
47062011-07-11 Phil Muldoon <pmuldoon@redhat.com>
4707
4708 PR python/12438
4709 * gdb.python/python.exp: Add maint set/show python print-stack
4710 deprecated tests. Add set/show python print-backtrace tests.
4711
97d146f8
JK
47122011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4713
4714 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
4715 debug info.
4716
facde0e5 47172011-07-06 Matt Rice <ratmice@gmail.com>
4718
4719 * gdb.python/python.exp: Update filename paths.
4720 * gdb.python/py-symtab.exp: Ditto.
4721
438640d1
MP
47222011-07-06 Marek Polacek <mpolacek@redhat.com>
4723
4724 * gdb.python/py-evthreads.exp: Add missing `$'.
4725
33a365df
MF
47262011-07-06 Jie Zhang <jie.zhang@analog.com>
4727
4728 * config/bfin.exp: New file.
4729 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
4730 * gdb.asm/bfin.inc: New file.
4731
8f7ae686
MP
47322011-07-06 Marek Polacek <mpolacek@redhat.com>
4733
df46027d 4734 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
4735 the whole output.
4736
eb2a6f42
TT
47372011-07-05 Tom Tromey <tromey@redhat.com>
4738
4739 * gdb.java/jprint.java (jprint.hi): New field.
4740 * gdb.java/jprint.exp: Print string.
4741
177b42fe
TJB
47422011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
4743
4744 * gdb.base/call-sc.c: Fix typos.
4745 * gdb.base/ifelse.exp: Likewise.
4746 * gdb.base/structs.c: Likewise.
4747
3b2a0cf2
JB
47482011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4749
4750 * gdb.base/jit-so.exp: New test.
4751 * gdb.base/jit-dlmain.c: New file.
4752 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
4753
46fc714c
JK
47542011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4755
4756 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
4757 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
4758 * gdb.cp/pr9167.exp (p b): Likewise.
4759 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
4760 (test value of P in inner_m, test type of Z in inner_m): Call
4761 setup_xfail for gcc <= 4.5.
46fc714c 4762
418c7cf7
JK
47632011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4764
4765 * gdb.cp/paren-type.cc: New files.
4766 * gdb.cp/paren-type.exp: New files.
4767
3d50dd94
JK
47682011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4769
4770 Stop on first linespec terminator instead of eating what we can.
4771 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
4772 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
4773 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
4774 (break C::f()): ... this one.
4775 (break C::operator()()): New test.
4776 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
4777 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
4778 test.
4779
dcf9f4ab
JK
47802011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4781
4782 Fall back linespec to minimal symbols.
4783 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
4784 error message.
4785 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
4786 * gdb.cp/minsym-fallback-main.cc: New file.
4787 * gdb.cp/minsym-fallback.cc: New file.
4788 * gdb.cp/minsym-fallback.exp: New file.
4789 * gdb.cp/minsym-fallback.h: New file.
4790
3f542ed1
JK
47912011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4792
4793 * gdb.cp/no-dmgl-verbose.cc: New file.
4794 * gdb.cp/no-dmgl-verbose.exp: New file.
4795
47962011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
4797
4798 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
4799 __GI_.
4800 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
4801 (f): New function.
4802 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
4803 (complete p 'func<short>(): ... here.
4804 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
4805 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
4806 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
4807 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
4808 Make them KFAIL gcc/49546.
4809
00eb2c4a
JB
48102011-07-01 Joel Brobecker <brobecker@adacore.com>
4811
4812 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
4813
85a20c42
JK
48142011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4815
4816 Test GCC PR debug/49546.
4817 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
4818 (test type of F in k3_m, test value of F in k3_m): New.
4819 * gdb.cp/temargs.cc (struct S3, struct K3): New.
4820 (main): New variable k3. Call k3.k3_m.
4821
d2d43431
JB
48222011-07-01 Jean-Charles Delay <delay@adacore.com>
4823
4824 * gdb.ada/packed_array.exp: Fix expected outout.
4825
54ae186f
JB
48262011-07-01 Jean-Charles Delay <delay@adacore.com>
4827
4828 * gdb.ada/packed_array.exp: fixed expected output.
4829
8f17729f
JB
48302011-07-01 Joel Brobecker <brobecker@adacore.com>
4831
4832 * gdb.ada/same_enum: New testcase.
4833
f5aa6869
JB
48342011-07-01 Joel Brobecker <brobecker@adacore.com>
4835
4836 * gdb.ada/ptr_typedef: New testcase.
4837
828292f2
JB
48382011-07-01 Joel Brobecker <brobecker@adacore.com>
4839
4840 * gdb.ada/arrayptr.exp: Add ptype test.
4841
18920c42
JB
48422011-07-01 Joel Brobecker <brobecker@adacore.com>
4843
4844 * gdb.ada/char_enum: New testcase.
4845
3536d9e3 48462011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
4847
4848 * gdb.base/dump.exp (capture_pointer_with_type): New.
4849 Get value from address instead of name.
4850 Start GDB once, and do `dump' and `restore'
4851 tests together.
4852
db863c42
MF
48532011-06-30 Jie Zhang <jie.zhang@analog.com>
4854 Mike Frysinger <vapier@gentoo.org>
4855
4856 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
4857 helper functions for getting/setting remotetimeout variable.
4858 * lib/gdb.exp (gdb_load): If the target is remote, set
4859 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
4860 with $loadtimeout. Set $load_ok to 0 before doing the load.
4861 Instead of returning, immediately, set $load_ok to 0. Call
4862 set_remotetimeout with $oldremotetimeout, and then return if
4863 $load_ok is 1.
4864
e9e642a8
AB
48652011-06-30 Andrew Burgess <aburgess@broadcom.com>
4866
4867 * gdb.python/py-template.exp: Don't run this test if the target
4868 does not support c++ tests.
4869
32019081
JK
48702011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4871
4872 Fix non-only rename list for Fortran modules import.
4873 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
4874 tests.
4875 * gdb.fortran/module.f90 (module moduse): New.
4876 (program module): use moduse, test var_x, var_y and var_z.
4877
0ecee54c
TT
48782011-06-29 Tom Tromey <tromey@redhat.com>
4879
4880 PR testsuite/12040:
4881 * gdb.fortran/array-element.exp: Use f90, not f77.
4882 * gdb.fortran/complex.exp: Use f90, not f77.
4883 * gdb.fortran/derived-type.exp: Use f90, not f77.
4884 * gdb.fortran/library-module.exp: Use f90, not f77.
4885 * gdb.fortran/logical.exp: Use f90, not f77.
4886 * gdb.fortran/module.exp: Use f90, not f77.
4887 * gdb.fortran/multi-dim.exp: Use f90, not f77.
4888 * gdb.fortran/subarray.exp: Use f90, not f77.
4889
3b2b8fea
TT
48902011-06-29 Tom Tromey <tromey@redhat.com>
4891
4892 * gdb.fortran/charset.exp: New file.
4893 * gdb.fortran/charset.f90: New file.
4894
42159ca5
TT
48952011-06-29 Tom Tromey <tromey@redhat.com>
4896
4897 PR testsuite/12040:
4898 * lib/future.exp: New file, mostly extracted from ada.exp.
4899 Rewrote compatibility code to use rename.
4900 (gdb_find_gfortran): New proc.
4901 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
4902 gfortran patch.
4903 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
4904 Move to future.exp.
4905 * lib/gdb.exp: Always load future.exp.
4906
af69a5ce
YQ
49072011-06-28 Yao Qi <yao@codesourcery.com>
4908
4909 * gdb.cp/exception.cc: Don't include iostream.
4910 (bar): Remove print statement.
4911 (catcher): New.
4912 (main): Remove print statements. Call function catcher.
4913 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
4914 Set breakpoint on catcher, and check the value of parameter.
4915
ab5c6a72
YQ
49162011-06-23 Yao Qi <yao@codesourcery.com>
4917
4918 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
4919 1.2 is disabled. KFAIL for uclinux.
4920
9497469f
MP
49212011-06-23 Marek Polacek <mpolacek@redhat.com>
4922
4923 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
4924 mi_gdb_test.
4925
b9132588
MP
49262011-06-23 Marek Polacek <mpolacek@redhat.com>
4927
5d197ed0 4928 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 4929
e55595ca
MP
49302011-06-23 Marek Polacek <mpolacek@redhat.com>
4931
5d197ed0
MP
4932 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
4933
49342011-06-23 Marek Polacek <mpolacek@redhat.com>
4935
4936 * gdb.mi/mi2-basics.exp: Fix races. Honour the
4937 `test_exec_and_symbol_mi_operatons' return value.
4938 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4939 gdb_test_multiple.
4940 (test_exec_and_symbol_mi_operatons): Likewise.
4941 (test_path_specification): Likewise.
e55595ca 4942
be777e08
YQ
49432011-06-23 Yao Qi <yao@codesourcery.com>
4944
4945 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
4946 supported.
4947 * lib/gdb.exp (support_displaced_stepping): New.
4948
615556d6
YQ
49492011-06-23 Yao Qi <yao@codesourcery.com>
4950
4951 * gdb.threads/execl.exp: Skip on remote target.
4952
833b0ca7
MP
49532011-06-21 Marek Polacek <mpolacek@redhat.com>
4954
5d197ed0 4955 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
4956 mi_gdb_test.
4957
1ee4023a
MP
49582011-06-20 Marek Polacek <mpolacek@redhat.com>
4959
5d197ed0 4960 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 4961
d0b1d624
MP
49622011-06-20 Marek Polacek <mpolacek@redhat.com>
4963
5d197ed0 4964 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
4965 mi_gdb_test.
4966
79aa92c1
MP
49672011-06-20 Marek Polacek <mpolacek@redhat.com>
4968
5d197ed0 4969 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 4970
5ce5db06
YQ
49712011-06-14 Yao Qi <yao@codesourcery.com>
4972
4973 gdb/testsuite/
4974 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
4975
533a737e
JK
49762011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4977
4978 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
4979
d0e53741
TT
49802011-06-10 Tom Tromey <tromey@redhat.com>
4981
4982 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
4983 Add tests for pointer-to-member-function.
4984 * gdb.cp/temargs.cc (S::somefunc): New function.
4985 (K2): New class.
4986 (main): Instantiate K2; call method.
4987
b5916bbd
JB
49882011-06-08 Joel Brobecker <brobecker@adacore.com>
4989
4990 * gdb.python/py-inferior.c (f2): Make str an array rather
4991 than a pointer.
4992 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
4993
5be4dfca
JK
49942011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4995
4996 * gdb.base/async-shell.c: New file.
4997 * gdb.base/async-shell.exp: New file.
4998
9f47e254
PA
49992011-06-06 Pedro Alves <pedro@codesourcery.com>
5000
5001 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
5002
64b9b334
JB
50032011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
5004
5005 From Stephen Kitt <steve@sk2.org>
5006 * gdb.base/help.exp: Adjust following some spelling corrections
5007 in GDB.
5008
dbc0f131
YQ
50092011-06-01 Yao Qi <yao@codesourcery.com>
5010
5011 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
5012
fd336a18
KS
50132010-05-31 Keith Seitz <keiths@redhat.com>
5014
5015 PR c++/12750
5016 * gdb.cp/static-method.cc: New file.
5017 * gdb.cp/static-method.exp: New file.
5018
fa8b9902
KS
50192010-05-31 Keith Seitz <keiths@redhat.com>
5020
5021 PR symtab/12704
5022 * gdb.cp/anon-ns.cc: New file.
5023 * gdb.cp/anon-ns.exp: New file.
5024
0a5b1e09
PA
50252011-05-31 Pedro Alves <pedro@codesourcery.com>
5026
5027 * gdb.arch/i386-dr3-watch.c: New file.
5028 * gdb.arch/i386-dr3-watch.exp: New file.
5029
0578b8d1
YQ
50302011-05-30 Yao Qi <yao@codesourcery.com>
5031
5032 * gdb.base/callfuncs.c (t_structs_fc): New.
5033 (t_structs_dc, t_structs_ldc): New.
5034 (t_double_many_args):
5035 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
5036 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
5037 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
5038 * gdb.base/callfuncs.exp: Call new functions.
5039
6680506e
YQ
50402011-05-30 Yao Qi <yao@codesourcery.com>
5041
ff4d2c60
YQ
5042 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
5043 Call rerun_and_prepare for each test to isolate effects.
5044
50452011-05-30 Yao Qi <yao@codesourcery.com>
5046
5047 * gdb.base/varargs.c (find_max_float_real): New.
5048 (find_max_double_real, find_max_long_double_real): New.
5049 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
5050 * lib/gdb.exp (setup_kfail_for_target): New.
5051
e43ec454
YQ
50522011-05-30 Yao Qi <yao@codesourcery.com>
5053
5054 * gdb.base/funcargs.c (callca, callcb, callcc): New.
5055 (callcd, callce, callcf, callc1a, callc1b): New.
5056 (callc2a, callc2b): New.
5057 * gdb.base/funcargs.exp (complex_args): New.
5058 (complex_integral_args, complex_float_integral_args): New.
5059 * lib/gdb.exp (support_complex_tests): New. Determine
5060 whether to run test cases on _Complex types.
5061
432b4d03
JK
50622011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5063
5064 * gdb.threads/leader-exit.c: New file.
5065 * gdb.threads/leader-exit.exp: New file.
5066
6caf069d
MP
50672011-05-27 Marek Polacek <mpolacek@redhat.com>
5068
9497469f 5069 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 5070
97fce28b
MP
50712011-05-27 Marek Polacek <mpolacek@redhat.com>
5072
5073 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
5074 remove the `supported' variable.
5075 * gdb.mi/mi-nonstop.exp: Likewise.
5076 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5077 * gdb.mi/mi-nsintrall.exp: Likewise.
5078 * gdb.mi/mi-nsmoribund.exp: Likewise.
5079 * gdb.mi/mi-nsthrexec.exp: Likewise.
5080
9da8c2a0
PA
50812011-05-26 Pedro Alves <pedro@codesourcery.com>
5082
5083 * gdb.reverse/finish-reverse-bkpt.exp: New test.
5084
2c03e5be
PA
50852011-05-26 Pedro Alves <pedro@codesourcery.com>
5086
5087 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
5088
2e21250d
KS
50892011-05-24 Keith Seitz <keiths@redhat.com>
5090
5091 PR breakpoint/12803
5092 * gdb.cp/cmpd-minsyms.cc (a): New method.
5093 (b): New method.
5094 (c): New method.
5095 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
5096
cdac0397
PA
50972011-05-24 Pedro Alves <pedro@codesourcery.com>
5098
5099 * gdb.base/commands.exp (watchpoint_command_test): Check that the
5100 watchpoint's command list didn't execute when the watchpoint went
5101 out of scope.
5102
ee5683ab
PM
51032011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
5104
5105 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
5106 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
5107 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
5108 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5109 * gdb.arch/i386-permbkpt.exp: Likewise.
5110 * gdb.arch/i386-prologue.exp: Likewise.
5111 * gdb.arch/i386-size-overlap.exp: Likewise.
5112 * gdb.arch/i386-size.exp: Likewise.
5113 * gdb.arch/i386-unwind.exp: Likewise.
5114 * gdb.reverse/i386-precsave.exp: Likewise.
5115 * gdb.reverse/i386-reverse.exp: Likewise.
5116 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5117 * gdb.reverse/i387-env-reverse.exp: Likewise.
5118 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5119
c91c8c16
PA
51202011-05-24 Pedro Alves <pedro@codesourcery.com>
5121
5122 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
5123 file doesn't error, using MI.
5124
c50491a7
TT
51252011-05-23 Tom Tromey <tromey@redhat.com>
5126
5127 * gdb.base/charset.exp (string_display): Add tests to assign to
5128 arrays.
5129 * gdb.base/charset.c (short_array, int_array, long_array): New.
5130
4a07b7da
PA
51312011-05-20 Pedro Alves <pedro@codesourcery.com>
5132
5133 Cope with async mode.
5134
4a07b7da
PA
5135 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
5136 into gdb_test + mi_expect_stop.
5137
b275f2d2
PA
51382011-05-20 Pedro Alves <pedro@codesourcery.com>
5139
5140 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
5141 (callme): Remove printf call.
5142
eec52c44
PM
51432011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
5144
5145 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
5146 quote pattern to avoid problems with Cygwin/mingw expect versions.
5147 * gdb.base/default.exp (show convenience): Use double
5148 quote pattern for regular expressions.
5149
b3c8eb43
JK
51502011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5151
5152 Fix -readnow for -gdwarf-4 unused type units.
5153 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
5154 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
5155
ed731959
JK
51562011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5157
5158 * gdb.base/kill-after-signal.c: New file.
5159 * gdb.base/kill-after-signal.exp: New file.
5160
3b48433d
PA
51612011-05-16 Pedro Alves <pedro@codesourcery.com>
5162
5163 * gdb.ada/start.exp: Call untested with the correct test filename.
5164 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
5165 test filename. Make the test's binary unique.
5166 * gdb.arch/i386-signal.exp: Call untested with the correct test
5167 filename.
5168 * gdb.arch/i386-size-overlap.exp: Ditto.
5169 * gdb.arch/Makefile.in (EXECUTABLES): Update.
5170 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5171 * gdb.cp/call-c.exp: Ditto.
5172 * gdb.mi/mi-reverse.exp: Call untested with the correct test
5173 filename. Make the test's binary unique.
5174 * gdb.mi/Makefile.in (EXECUTABLES): Update.
5175 * gdb.python/py-mi.exp: Ditto.
5176 * gdb.python/Makefile.in (EXECUTABLES): Update.
5177 * gdb.reverse/i386-precsave.exp: Ditto.
5178 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
5179 test filename.
5180 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5181 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
5182 unique.
5183 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
5184 test filename.
5185 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
5186 * gdb.trace/tfile.exp: Ditto.
5187
ba4a8bdd
YQ
51882011-05-14 Yao Qi <yao@codesourcery.com>
5189
5190 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
5191 type.
5192
dbaefcf7
DE
51932011-05-13 Doug Evans <dje@google.com>
5194
5195 * gdb.python/py-objfile-script.exp: New file.
5196 * gdb.python/py-objfile-script.c: New file.
5197 * gdb.python/py-objfile-script-gdb.py: New file.
5198 * testsuite/gdb.python/py-section-script.exp: Test
5199 "info auto-load-scripts".
5200
9930639c
TT
52012011-05-13 Tom Tromey <tromey@redhat.com>
5202
5203 * gdb.dwarf2/clztest.exp: New file.
5204 * gdb.dwarf2/clztest.c: New file.
5205 * gdb.dwarf2/clztest.S: New file.
5206
05272e11
DE
52072011-05-13 Doug Evans <dje@google.com>
5208
cc63ef9b
DE
5209 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
5210 String16 tests.
05272e11 5211
6edba76f
TT
52122011-05-13 Tom Tromey <tromey@redhat.com>
5213
5214 * lib/gdb.exp (is_x86_like_target): New proc.
5215 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
5216 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
5217 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
5218 -nostdlib to compiler.
5219 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
5220 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
5221 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
5222 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
5223 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
5224
028d0ed5
TJB
52252011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5226
5227 * gdb.python/py-function.exp: Test setting a value from a function
5228 which executes a command.
5229
8a9b8146
TT
52302011-05-12 Tom Tromey <tromey@redhat.com>
5231
5232 * gdb.dwarf2/typeddwarf.S: New file.
5233 * gdb.dwarf2/typeddwarf.c: New file.
5234 * gdb.dwarf2/typeddwarf.exp: New file.
5235
10483e8e
MP
52362011-05-12 Marek Polacek <mpolacek@redhat.com>
5237
5238 * gdb.mi/mi-basics.exp: Fix races. Honour the
5239 `test_exec_and_symbol_mi_operatons' return value.
5240 (test_mi_interpreter_selection): Use mi_gdb_test instead of
5241 gdb_test_multiple.
5242 (test_exec_and_symbol_mi_operatons): Likewise.
5243 (test_path_specification): Likewise.
5244
faf067f1
JK
52452011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5246
5247 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
5248 (gdb_touch_execfile): Remove catch wrappers. New variable time.
5249 Replace `file copy' and `file rename' by `file mtime'. Twice.
5250
7ff911a3
JK
52512011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5252
5253 * gdb.base/readline-ask.c: New file.
5254 * gdb.base/readline-ask.exp: New file.
5255 * gdb.base/readline-ask.inputrc: New file.
5256
a536c6d7
UW
52572011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5258
5259 * gdb.cell/bt.exp: Delete breakpoints before running to signal
5260 to avoid race condition.
5261 * gdb.cell/coremaker.c: Use small stack size.
5262 * gdb.cell/ea-standalone.exp: Use file name without path as
5263 argument to c_to.
5264 * gdb.cell/fork.exp: Allow other output when continuing to end.
5265
d472a426
JK
52662011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5267
5268 * gdb.threads/corethreads.c: New file.
5269 * gdb.threads/corethreads.exp: New file.
5270
52712011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
5272
5273 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
5274 Try to compile the test using -Wl,-z,norelro first.
5275 (load_core): New variable libthread_db_seen, initialize it.
5276 (zeroed-threads cannot be listed): Protect it by XFAIL on
5277 !$libthread_db_seen.
5278
8be455d7
JK
52792011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5280
5281 PR 12573
5282 * gdb.dwarf2/dw2-skip-prologue.S: New file.
5283 * gdb.dwarf2/dw2-skip-prologue.c: New file.
5284 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
5285
1976171a
JK
52862011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5287
5288 * gdb.cp/psymtab-parameter.cc: New file.
5289 * gdb.cp/psymtab-parameter.exp: New file.
5290
7db6f30f
JK
52912011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5292
5293 Fix a race.
5294 * gdb.cp/static-print-quit.exp (print c): Split to ...
5295 (print c - <return>, print c - q <return>, print c - to quit):
5296 ... these. Make the testfile untested on gdb-7.1.
5297
85161e9e 52982011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
5299
5300 * lib/gdb.exp (exec_target_file, exec_symbol_file,
5301 gdb_rename_execfile, gdb_touch_execfile): New.
5302 * gdb.base/reread.exp: Use new procs to handle multiple
5303 exec files.
5304
0c51be18
YQ
53052011-05-05 Yao Qi <yao@codesourcery.com>
5306
5307 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
5308 (test_adr_32bit, test_pop_pc): New.
5309 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
5310 (test_adr_32bit, test_pop_pc): New.
5311
4d393d60
JM
53122011-05-04 Joseph Myers <joseph@codesourcery.com>
5313
5314 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
5315 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
5316 targets.
5317 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
5318 handle targets.
5319
8ffd0459
JK
53202011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5321
5322 * gdb.base/completion.exp (complete help info wat): Rename to ...
5323 (complete 'help info wat'): ... here.
5324 Remove all `-re ".*' and `-re "^.*' redundant regexes.
5325 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
5326
8e28d804
PA
53272011-05-04 Pedro Alves <pedro@codesourcery.com>
5328
5329 * gdb.base/completion.exp: Use gdb_test_multiple instead of
5330 gdb_test and explicit $gdb_prompt/timeout matches.
5331
3eb2ef34
YQ
53322011-05-04 Yao Qi <yao@codesourcery.com>
5333
5334 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
5335 and __thumb2__.
5336
aaaf81a3
MP
53372011-05-03 Marek Polacek <mpolacek@redhat.com>
5338
5339 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
5340 in place of `gdb_test "delete breakpoints"'. This eliminates two
5341 testcases.
5342
c4cbc0df
PA
53432011-05-02 Pedro Alves <pedro@codesourcery.com>
5344
5345 PR testsuite/12649
5346 Fix races.
5347
5348 * gdb.base/completion.exp: Remove all sleep calls. Remove
5349 unnecessary regexs. Don't explicitly expect anything after the
5350 prompt. Eat the prompt if necessary.
5351
b4cbb4a3
EBM
53522011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5353
5354 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
5355 accept to show the caller line again as well as the line after.
5356
d65aec65
PM
53572011-04-29 Phil Muldoon <pmuldoon@redhat.com>
5358
5359 PR mi/12531
5360
5361 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
5362 compile target.
5363 * gdb.python/py-prettyprint.exp: Add C++ object for
5364 CPLUS_FAKE_CHILD test.
5365
30852783
UW
53662011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
5367
5368 * gdb.base/signest.exp: New file.
5369 * gdb.base/signest.c: Likewise.
5370
c7b1f0d9
JK
53712011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5372
5373 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
5374 thread and breakpoint notifications.
5375
559a7a62
JK
53762011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5377
5378 * gdb.base/fortran-sym-case.c: New file.
5379 * gdb.base/fortran-sym-case.exp: New file.
5380 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
5381 * gdb.dwarf2/dw2-case-insensitive.c: New file.
5382 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
5383
8344e389
JK
53842011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5385
5386 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
5387 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
5388 false #1', `if true else false #2' and `if true else false #3'.
5389
2484c66b
UW
53902011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
5391
5392 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
5393 while delivering signal.
5394
8d3788bd
VP
53952011-04-27 Vladimir Prus <vladimir@codesourcery.com>
5396
5397 MI breakpoint notifications.
5398
5399 * testsuite/gdb.mi/mi-cli.exp: Adust.
5400 * testsuite/gdb.mi/mi2-cli.exp: Adust.
5401 * testsuite/gdb.mi/mi-watch.exp: Adust.
5402 * testsuite/gdb.mi/mi2-watch.exp: Adust.
5403 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
5404 notifications.
5405
3e03848b
JK
54062011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5407
5408 * gdb.base/gdbindex-stabs-dwarf.c: New file.
5409 * gdb.base/gdbindex-stabs.c: New file.
5410 * gdb.base/gdbindex-stabs.exp: New file.
5411
918c9108
YQ
54122011-04-25 Yao Qi <yao@codesourcery.com>
5413
5414 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
5415 with /*...*/.
5416 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5417
90556b8c
JK
54182011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5419
5420 * gdb.python/py-value.exp (test_objfiles): Name the first test
5421 `py-value in file.filename'.
5422
03f2bd59
JK
54232011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5424
5425 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
5426 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
5427 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
5428 !gdbserver_reconnect_p..
5429 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
5430
7b08b9eb
JK
54312011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5432
5433 * gdb.cp/cpcompletion.exp (complete class methods)
5434 (complete class methods beginning with F): Move them above runto. New
5435 comment about the runto delimiter.
5436
b78974c3
PA
54372011-04-20 Pedro Alves <pedro@codesourcery.com>
5438
5439 * gdb.base/maint.exp: Test that "maint print registers" works
5440 without a running program.
5441
20429c40 54422011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 5443
20429c40
MP
5444 * gdb.base/setshow.exp: Fix racy tests.
5445 ($old_gdb_prompt): New variable.
5446
7a9dd1b2
TT
54472011-04-19 Tom Tromey <tromey@redhat.com>
5448
5449 * gdb.mi/mi-nsmoribund.exp:
5450 * gdb.hp/gdb.objdbg/objdbg01.exp:
5451 * gdb.base/structs.exp (test_struct_returns):
5452 * gdb.base/call-sc.exp (test_scalar_returns):
5453 * gdb.base/bigcore.exp: Remove duplicate words.
5454
02835898
JK
54552011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5456
5457 * gdb.base/break-interp-lib.c (v, vptr): New variables.
5458 * gdb.base/break-interp.exp (test_attach): New comment.
5459
254f582e
JK
54602011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5461
5462 * gdb.threads/gcore-thread.exp ($core0file): New variable.
5463 (clear __stack_user.next, clear stack_used.next)
5464 (save a zeroed-threads corefile): New test.
5465 Call core_load for $core0file.
5466 (zeroed-threads cannot be listed): New test.
5467
4fe85f5c
JK
54682011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5469
5470 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
5471 filename.
5472 ($srcfile): Preserve the original value.
5473 ($testfile): Match it the .exp filename.
5474 ($corefile): New variable. Substitute it around.
5475 Use clean_restart.
5476 ($prev_timeout): Remove.
5477 (load_core): Move core loading into this proc.
5478 Fix restore of $timeout if load_core fails.
5479
63524580
JK
54802011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5481
5482 * gdb.base/eu-strip-infcall.c: New file.
5483 * gdb.base/eu-strip-infcall.exp: New file.
5484
90359a16
JK
54852011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5486
5487 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
5488 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
5489
626e7282
JK
54902011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5491
5492 Fix Python access to inlined frames.
5493 * gdb.python/py-frame-inline.c: New file.
5494 * gdb.python/py-frame-inline.exp: New file.
5495
3363d018
EBM
54962011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
5497
5498 * gdb.base/gdb1090.exp: Change breakpoint location to read the
5499 content of 's24' correctly (avoiding "optimized out").
5500 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
5501
28781456
JK
55022011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5503
5504 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
5505
4a4106ca
TJB
55062011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5507
5508 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
5509 expect a colon in watch -location output.
5510
d26ccb4f
JK
55112011-04-13 Marek Polacek <mpolacek@redhat.com>
5512
df46027d 5513 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
5514 New testcase `expect response to define backtrace'. Also remove
5515 redundant `default' block.
5516
e1ab1f9c
JK
55172011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5518
5519 * gdb.python/py-prettyprint.c (struct hint_error): New.
5520 (main): New variable hint_error.
5521 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
5522 "print hint_error".
5523 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
5524 (register_pretty_printers): Register it.
5525
0c2e6019
TT
55262011-04-04 Tom Tromey <tromey@redhat.com>
5527
5528 * gdb.cp/maint.exp (test_help): Update.
5529 (test_namespace): Likewise.
5530
af57139d
JB
55312011-04-01 Joel Brobecker <brobecker@adacore.com>
5532
5533 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
5534 * gdb.ada/arrayptr.exp: Add new tests.
5535
956a9fb9
JB
55362011-04-01 Joel Brobecker <brobecker@adacore.com>
5537
5538 * gdb.ada/mi_catch_ex: New testcase.
5539
d0c4d642
PA
55402011-04-01 Pedro Alves <pedro@codesourcery.com>
5541
5542 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
5543 base::overload(void) method without specifying "const".
5544
18819fa6
UW
55452011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5546
5547 * gdb.arch/thumb-singlestep.S: New file.
5548 * gdb.arch/thumb-singlestep.exp: Likewise.
5549
a4c8e806
TT
55502011-03-31 Tom Tromey <tromey@redhat.com>
5551
5552 * gdb.python/py-prettyprint.py (exception_flag): New global.
5553 (NoStringContainerPrinter._iterator.next): Check it.
5554 * gdb.python/py-prettyprint.c (main): New variable nstype2.
5555 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
5556
53832f31
TT
55572011-03-29 Tom Tromey <tromey@redhat.com>
5558
5559 * gdb.cp/anon-struct.cc: New file.
5560 * gdb.cp/anon-struct.exp: New file.
5561
e4620230
JK
55622011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5563
5564 Test STT_GNU_IFUNC support.
5565 * gdb.base/gnu-ifunc-lib.c: New file.
5566 * gdb.base/gnu-ifunc.c: New file.
5567 * gdb.base/gnu-ifunc.exp: New file.
5568
d0fb5eae
JK
55692011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5570
5571 Support a ring of related breakpoints.
5572 * gdb.base/watchpoint-delete.c: New file.
5573 * gdb.base/watchpoint-delete.exp: New file.
5574
20106cfb
JK
55752011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5576
5577 * gdb.ada/arrayparam.exp (print first after function call): Use
5578 explicit package name. Add a comment
5579 (print lasta after function call): Rename ...
5580 (print last after function call): ... it and use explicit package
5581 name.
5582 (print length after function call): Use explicit package name.
5583 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
5584 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
5585 (multiple matches for symbol i): Rename ...
5586 (multiple matches for symbol integervar): ... it.
5587 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
5588 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
5589
e7ab5e63
AB
55902011-03-25 Andrew Burgess <aburgess@broadcom.com>
5591
5592 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
5593 environment variable to make grep output more predictable. Move
5594 all the environment setup into gdb_init so it's done once per test
5595 case rather than each time we start gdb.
5596
9ef07c8c
TT
55972011-03-24 Tom Tromey <tromey@redhat.com>
5598
5599 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
5600 test.
5601
dd90784c
JK
56022011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5603
5604 * gdb.dwarf2/dw2-entry-value-main.c: New file.
5605 * gdb.dwarf2/dw2-entry-value.S: New file.
5606 * gdb.dwarf2/dw2-entry-value.exp: New file.
5607
05775840
PM
56082011-03-22 Phil Muldoon <pmuldoon@redhat.com>
5609
5610 PR python/12183
5611
5612 * gdb.python/py-function.exp: Add GdbError tests.
5613
8661b11b
PA
56142011-03-18 Pedro Alves <pedro@codesourcery.com>
5615
5616 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
5617 (reglocal_test_func, statlocal_test_func): New functions.
5618 (globals_test_func): Call new functions.
5619 * gdb.trace/unavailable.exp (gdb_collect_args_test)
5620 (gdb_collect_locals_test): New procedure.
5621 (gdb_trace_collection_test): Call new procedures.
5622
0fdb4f18
PA
56232011-03-18 Pedro Alves <pedro@codesourcery.com>
5624
5625 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
5626 (test_register, test_register_unavailable): New procedures.
5627 (gdb_unavailable_registers_test): New procedure.
5628 (gdb_trace_collection_test): Call it.
5629
99c3dc11
PM
56302011-03-18 Phil Muldoon <pmuldoon@redhat.com>
5631
5632 PR python/12149
5633
5634 * gdb.python/python.exp: Add gdb.write tests.
5635
29703da4
PM
56362010-03-17 Phil Muldoon <pmuldoon@redhat.com>
5637
5638 * gdb.python/Makefile.in: Add py-objfile.
5639 * gdb.python/py-objfile.exp: New file.
5640 * gdb.python/py-objfile.c: New file.
5641 * gdb.python/py-block.exp: Add is_valid tests.
5642 * gdb.python/py-inferior.exp: Ditto.
5643 * gdb.python/py-infthread.exp: Ditto.
5644 * gdb.python/py-symbol.exp: Ditto.
5645 * gdb.python/py-symtab.exp: Ditto.
5646
598997c8
KS
56472011-03-16 Keith Seitz <keiths@redhat.com>
5648
5649 PR c++/12273
5650 * gdb.cp/cmpd-minsyms.exp: New test.
5651 * gdb.cp/cmpd-minsyms.cc: New file.
5652
5653 PR c++/11734
5654 * gdb.cp/ovsrch.exp: New test.
5655 * gdb.cp/ovsrch.h: New file.
5656 * gdb.cp/ovsrch1.cc: New file.
5657 * gdb.cp/ovsrch2.cc: New file.
5658 * gdb.cp/ovsrch3.cc: New file.
5659 * gdb.cp/ovsrch4.cc: New file.
5660
c91513d8
PP
56612011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5662
5663 PR gdb/12528
5664 * gdb.base/Makefile.in: Adjust EXECUTABLES.
5665 * gdb.base/break-on-linker-gcd-function.exp: New test.
5666 * gdb.base/break-on-linker-gcd-function.cc: New file.
5667
7470fc63
AT
56682011-03-15 Andreas Tobler <andreast@fgznet.ch>
5669
5670 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
5671
959e7469
PM
56722011-03-15 Phil Muldoon <pmuldoon@redhat.com>
5673
5674 * lib/gdb.exp (gdb_unload): Add another termination case.
5675
9373cf26
JK
56762011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5677
5678 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
5679 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
5680 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
5681 Provide a stub byte there.
5682 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
5683 DW_AT_entry_pc.
5684 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
5685
24e9cda0
UW
56862011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
5687
5688 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
5689 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
5690 "generic ABI, auto".
5691 (altivec_abi_tests): Accept vectors returned by reference.
5692
7371cf6d
PM
56932010-03-14 Phil Muldoon <pmuldoon@redhat.com>
5694
5695 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
5696
ce77046a
UW
56972011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
5698
5699 * gdb.python/py-section-script.exp: Skip test if no Python support.
5700
176400c3
UW
57012011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
5702
5703 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
5704
ecec24e6
PM
57052011-03-10 Phil Muldoon <pmuldoon@redhat.com>
5706
5707 * gdb.python/py-parameter.exp: Update tests to the new Python
5708 parameter API. Add "no documentation" test. Add deprecated API
5709 backward compatibility test.
5710
5dbdd470
TT
57112011-03-09 Tom Tromey <tromey@redhat.com>
5712
5713 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
5714 gdb_continue_to_end.
5715
b66e66ee
MK
57162011-03-09 Mark Kettenis <kettenis@gnu.org>
5717
5718 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
5719 tabs.
5720
eceb0c5f
TT
57212011-03-09 Tom Tromey <tromey@redhat.com>
5722
5723 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
5724 parentheses.
5725 (gdb_continue_to_end): Add "allow_extra" parameter. Use
5726 $command.
5727 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
5728 argument to gdb_continue_to_end.
5729 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
5730 argument to gdb_continue_to_end.
5731 * gdb.cp/annota3.exp: Fix regex.
5732 * gdb.cp/annota2.exp: Fix regex.
5733 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
5734 gdb_continue_to_end.
5735 * gdb.base/call-signal-resume.exp: Revert earlier patch.
5736 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
5737 gdb_continue_to_end.
5738
63154eca
PA
57392011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5740
5741 * gdb.server/ext-run.exp
5742 (load new file without any gdbserver inferior): New test.
5743
967d1f9b
TT
57442011-03-07 Tom Tromey <tromey@redhat.com>
5745
5746 * Makefile.in (TAGS): Rewrite.
5747
d68dcbb9
JK
57482011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5749
5750 * gdb.trace/report.exp (12.1: trace report #1): New match for the
5751 initial commands echo. New match for `Found trace'. Anchor all the
5752 other matches. Anchor and match for `No trace frame found' the final
5753 match.
5754
6bf58e63
TT
57552011-03-07 Tom Tromey <tromey@redhat.com>
5756
5757 * Makefile.in (TAGS): New target.
5758
fda326dd
TT
57592011-03-07 Tom Tromey <tromey@redhat.com>
5760
5761 * lib/opencl.exp (skip_opencl_tests): Update for exit message
5762 change.
5763 * lib/mi-support.exp (mi_gdb_test): Update for exit message
5764 change.
5765 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
5766 exit message change.
5767 (skip_altivec_tests): Update for exit message change.
5768 (skip_vsx_tests): Likewise.
5769 (gdb_continue_to_end): Likewise. Add 'command' argument.
5770 * lib/cell.exp (skip_cell_tests): Update for exit message change.
5771 * gdb.threads/tls.exp: Update for exit message change.
5772 * gdb.threads/thread-unwindonsignal.exp: Use
5773 gdb_continue_to_end.
5774 * gdb.threads/step.exp (step_it): Update for exit message change.
5775 (continue_all): Likewise.
5776 * gdb.threads/print-threads.exp (test_all_threads): Update for
5777 exit message change.
5778 * gdb.threads/interrupted-hand-call.exp: Use
5779 gdb_continue_to_end.
5780 * gdb.threads/execl.exp: Use gdb_continue_to_end.
5781 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
5782 gdb_continue_to_end.
5783 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
5784 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
5785 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
5786 * gdb.cp/method.exp: Update for exit message change.
5787 * gdb.cp/mb-templates.exp: Update for exit message change.
5788 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
5789 * gdb.cp/annota3.exp: Update for exit message change.
5790 * gdb.cp/annota2.exp: Update for exit message change.
5791 * gdb.cell/fork.exp: Use gdb_continue_to_end.
5792 * gdb.base/term.exp: Update for exit message change.
5793 * gdb.base/step-test.exp (test_i): Update for exit message change.
5794 * gdb.base/sigstep.exp (advance): Update for exit message change.
5795 (advancei): Likewise.
5796 * gdb.base/siginfo.exp: Update for exit message change.
5797 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
5798 * gdb.base/reread.exp: Use gdb_continue_to_end.
5799 * gdb.base/langs.exp: Use gdb_continue_to_end.
5800 * gdb.base/interrupt.exp: Update for exit message change.
5801 * gdb.base/gdb1555.exp: Update for exit message change.
5802 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
5803 * gdb.base/ending-run.exp: Update for exit message change.
5804 * gdb.base/chng-syms.exp: Update for exit message change.
5805 * gdb.base/checkpoint.exp: Update for exit message change.
5806 * gdb.base/catch-syscall.exp (check_for_program_end): Use
5807 gdb_continue_to_end.
5808 (test_catch_syscall_with_wrong_args): Likewise.
5809 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
5810 * gdb.base/break-interp.exp (test_ld): Update for exit message
5811 change.
5812 * gdb.base/bang.exp: Update for exit message change.
5813 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
5814 (do_call_attach_tests): Likewise.
5815 * gdb.base/a2-run.exp: Update for exit message change.
5816 * gdb.arch/ppc-dfp.exp: Update for exit message change.
5817 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
5818 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
5819
dd19bd70
JK
58202011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5821
5822 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
5823
30e62689
TT
58242011-03-03 Tom Tromey <tromey@redhat.com>
5825
5826 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
5827 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
5828 * gdb.hp/gdb.aCC/configure.ac: Remove.
5829 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
5830 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
5831 * gdb.hp/gdb.base-hp/configure.ac: Remove.
5832 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
5833 * gdb.hp/gdb.compat/configure (Makefile): Remove.
5834 * gdb.hp/gdb.compat/configure.ac: Remove.
5835 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
5836 * gdb.hp/gdb.defects/configure (Makefile): Remove.
5837 * gdb.hp/gdb.defects/configure.ac: Remove.
5838 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
5839 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
5840 * gdb.hp/gdb.objdbg/configure.ac: Remove.
5841 * gdb.hp/configure.ac: Remove.
5842 * gdb.hp/configure: Remove.
5843 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
5844 substitution.
5845 (Makefile): Remove rule.
5846 * gdb.cell/configure.ac: Remove.
5847 * gdb.cell/configure: Remove.
5848 * gdb.stabs/Makefile.in (Makefile): Remove.
5849 (distclean): Don't remove config.status or config.log.
5850 * gdb.stabs/configure (Makefile): Remove.
5851 * gdb.stabs/configure.ac: Remove.
5852 * configure: Rebuild.
5853 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
5854 Remove stabs- and cell-specific logic. Test for existence of
5855 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
5856 subdirectories, gdb.cell, and and gdb.stabs.
5857 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
5858
c171f854
JB
58592011-03-03 Joel Brobecker <brobecker@adacore.com>
5860
5861 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
5862 end of buffer.
5863
9a5193cb
JB
58642011-03-02 Joel Brobecker <brobecker@adacore.com>
5865
5866 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
5867 gdb_test when running a test where we expected no output back.
5868
9bb4c1bb
MS
58692011-02-28 Michael Snyder <msnyder@vmware.com>
5870
5871 * gdb.cp/overload.cc: Change initializer value to integer.
5872
3bd0f5ef
MS
58732011-02-27 Michael Snyder <msnyder@vmware.com>
5874
5875 * gdb.multi/base.exp: Add test for remove-inferiors.
5876
2279eaad
JB
58772011-02-26 Joel Brobecker <brobecker@adacore.com>
5878
5879 * gdb.python/py-frame.exp: Simplify the initialization phase
5880 using prepare_for_testing.
5881
c82c0b55
MS
58822011-02-25 Michael Snyder <msnyder@vmware.com>
5883
5884 * gdb.multi/base.exp: Add tests for info inferiors with args.
5885
1d94651b
JK
58862011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5887
5888 * gdb.dwarf2/dw2-ranges.S: Rename to ...
5889 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
5890 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
5891 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
5892 asmfile3. Comment the STABS (#3) file compilation. Compile
5893 everything through assembler. Provide KFAIL for symtab/12497.
5894 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
5895 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
5896 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
5897 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
5898
3bd0f5ef
MS
58992011-02-24 Michael Snyder <msnyder@vmware.com>
5900
5901 * gdb.base/break.exp: Add tests for delete breakpoints using
5902 convenience variables and value history references.
5903
12c1418e
MS
59042011-02-24 Michael Snyder <msnyder@vmware.com>
5905
5906 * gdb.base/break.exp: Remove debugging 'printf' accidentally
5907 left behind in previous check-in.
5908
e5a67952
MS
59092011-02-23 Michael Snyder <msnyder@vmware.com>
5910
5911 * gdb.base/break.exp: Add tests for "info break" with arguments.
5912 * gdb.trace/infotrace.exp: Update patterns for error and help.
5913 * gdb.base/completion.exp: Update pattern.
5914 * gdb.base/ena-dis-br.exp: Update pattern.
5915 * gdb.base/help.exp: Update patterns.
5916
59172011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
5918
5919 * gdb.base/memattr.exp: New test.
5920 * gdb.base/memattr.c: Test load for memattr.exp.
5921
6e6fbe60
DE
59222011-02-22 Doug Evans <dje@google.com>
5923
5924 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
5925
1d41d745
MS
59262011-02-22 Michael Snyder <msnyder@vmware.com>
5927
5928 * Makefile.in: Make more clean.
5929 * gdb.ada/Makefile.in: Ditto.
5930 * gdb.arch/Makefile.in: Ditto.
5931 * gdb.asm/Makefile.in: Ditto.
5932 * gdb.base/Makefile.in: Ditto.
5933 * gdb.cp/Makefile.in: Ditto.
5934 * gdb.dwarf2/Makefile.in: Ditto.
5935 * gdb.java/Makefile.in: Ditto.
5936 * gdb.mi/Makefile.in: Ditto.
5937 * gdb.modula2/Makefile.in: Ditto.
5938 * gdb.python/Makefile.in: Ditto.
5939 * gdb.server/Makefile.in: Ditto.
5940 * gdb.stabs/Makefile.in: Ditto.
5941 * gdb.threads/Makefile.in: Ditto.
5942 * gdb.trace/Makefile.in: Ditto.
5943
79ba84ca
MS
59442011-02-22 Michael Snyder <msnyder@vmware.com>
5945
df46027d 5946 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
5947 info threads.
5948
b9b35694
JB
59492011-02-22 Joel Brobecker <brobecker@adacore.com>
5950
5951 * gdb.python/py-breakpoint.exp: Fix the expected output of
5952 one of the "maint info breakpoints" tests to accept the output
5953 generated on platforms that do not have hardware watchpoints.
5954
8bfb830f
JB
59552011-02-22 Joel Brobecker <brobecker@adacore.com>
5956
5957 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
5958 clean_restart. Be a little stricter in the expected output
5959 for one of the tests. Fix a typo in one of the comments.
5960
c45f3c54
JB
59612011-02-22 Joel Brobecker <brobecker@adacore.com>
5962
5963 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
5964 Delete variable binfile, no longer use. Add or modify test
5965 comments to make them unique.
5966
b97c863c
MS
59672011-02-21 Michael Snyder <msnyder@vmware.com>
5968
5969 * Makefile.in: Update for make clean.
5970 * gdb.ada/Makefile.in: Ditto.
5971 * gdb.arch/Makefile.in: Ditto.
5972 * gdb.asm/Makefile.in: Ditto.
5973 * gdb.base/Makefile.in: Ditto.
5974 * gdb.cp/Makefile.in: Ditto.
5975 * gdb.dwarf2/Makefile.in: Ditto.
5976 * gdb.java/Makefile.in: Ditto.
5977 * gdb.mi/Makefile.in: Ditto.
5978 * gdb.modula2/Makefile.in: Ditto.
5979 * gdb.python/Makefile.in: Ditto.
5980 * gdb.server/Makefile.in: Ditto.
5981 * gdb.stabs/Makefile.in: Ditto.
5982 * gdb.threads/Makefile.in: Ditto.
5983 * gdb.trace/Makefile.in: Ditto.
5984
aea5b279
MS
59852011-02-21 Michael Snyder <msnyder@vmware.com>
5986
5987 * gdb.threads/thread-find.exp: Update patterns for changes in
5988 output of "info threads" command.
5989
e3039479
UW
59902011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5991 Ulrich Weigand <uweigand@de.ibm.com>
5992
5993 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
5994 (skip_hw_watchpoint_tests): Likewise.
5995 (skip_hw_watchpoint_multi_tests): Likewise.
5996
b800ec70
UW
59972011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
5998
5999 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
6000 (skip_hw_watchpoint_tests): Likewise.
6001 (skip_hw_watchpoint_multi_tests): Likewise.
6002 (skip_hw_watchpoint_access_tests): Likewise.
6003
6004 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
6005 * gdb.base/pr11022.exp: Likewise.
6006 * gdb.base/watch-read.exp: Likewise.
6007 * gdb.base/watch_thread_num.exp: Likewise.
6008 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6009 * gdb.base/watchpoint-hw.exp: Likewise.
6010 * gdb.base/watchpoint.exp: Likewise.
6011 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
6012 * gdb.threads/watchthreads-reorder.exp: Likewise.
6013 * gdb.threads/watchthreads.exp: Likewise.
6014 * gdb.threads/watchthreads2.exp: Likewise.
6015
91033e37
JB
60162011-02-21 Joel Brobecker <brobecker@adacore.com>
6017
6018 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
6019 the debugger is unable to find the array bounds.
6020
eeaafae2
JK
60212011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6022
6023 * gdb.cp/typedef-operator.exp: New file.
6024 * gdb.cp/typedef-operator.cc: New file.
6025
e338d953
MS
60262011-02-17 Michael Snyder <msnyder@vmware.com>
6027
6028 * gdb.threads/thread-find.exp: Fix regular expressions.
6029
e67ad678
JB
60302011-02-17 Joel Brobecker <brobecker@adacore.com>
6031
6032 * gdb.ada/packed_array: Expand testcase to test printing of
6033 unconstrained packed array.
6034
93084bca
JB
60352011-02-17 Joel Brobecker <brobecker@adacore.com>
6036
6037 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
6038
a0c78a73
PA
60392011-02-16 Pedro Alves <pedro@codesourcery.com>
6040
f65d5553 6041 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
6042 (main): Initialize it before collecting, and and clear it
6043 afterwards.
f65d5553
PA
6044 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
6045 collecting with '{type} addr', where the addr expression is not an
6046 rvalue.
a0c78a73 6047
3dfcbbd2
KW
60482011-02-16 Ken Werner <ken.werner@de.ibm.com>
6049
6050 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
6051 a bool variable. Expect correct OpenCL names for vector types. Use the
6052 uc3 variable name instead of referring to the uchar3 built-in type.
6053 Escape the asterisk at the half pointer test.
6054
08807d5a
PA
60552011-02-16 Pedro Alves <pedro@codesourcery.com>
6056
f65d5553 6057 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
6058 (main): Initialize it before collecting, and and clear it
6059 afterwards.
f65d5553
PA
6060 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
6061 collecting overlapping memory ranges.
08807d5a 6062
60f98dde
MS
60632011-02-15 Michael Snyder <msnyder@vmware.com>
6064
6065 * gdb.base/default.exp: Add tests for thread commands.
6066 * gdb.base/help.exp: Add tests for thread commands.
6067 * gdb.threads/thread-find.exp: New test for thread find command.
6068
648cd113
KW
60692011-02-15 Ken Werner <ken.werner@de.ibm.com>
6070
6071 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
6072
494e194e
YQ
60732011-02-15 Yao Qi <yao@codesourcery.com>
6074
6075 PR tdep/12352
6076 * gdb.arch/arm-disp-step.S : New test for str instruction.
6077 * gdb.arch/arm-disp-step.exp : Likewise.
6078
d9492458
TJB
60792011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
6080
6081 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
6082 "vector_register2_vr" test strings. Test the extended floating
6083 point registers (F32~F63).
6084 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
6085 IBM XL C compiler. Make the test program use a register provided
6086 by the compiler for the lxvd2x instruction.
6087
8af8e3bc
PA
60882011-02-14 Pedro Alves <pedro@codesourcery.com>
6089
6090 * gdb.trace/unavailable.cc (class Base, class Middle, class
6091 Derived): New types.
6092 (derived_unavail, derived_partial, derived_whole): New globals.
6093 (virtual_partial): New global.
6094 (virtualp): Point at virtual_partial.
6095 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
6096 related to unavailable vptr.
6097
1b28d0b3
PA
60982011-02-14 Pedro Alves <pedro@codesourcery.com>
6099
6100 * gdb.trace/unavailable.cc (a, b, c): New globals.
6101 (main): Set and clear them.
6102 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
6103 `a' and `c', and check that `b' isn't collected, although `a' and
6104 `c' are.
6105
ec0a52e1
PA
61062011-02-14 Pedro Alves <pedro@codesourcery.com>
6107
6108 * gdb.trace/unavailable.cc (struct Virtual): New.
6109 (virtualp): New global pointer.
6110 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
6111 printing a pointer to an object whose type has a vtable, with
6112 print object on.
6113
24e6bcee
PA
61142011-02-14 Pedro Alves <pedro@codesourcery.com>
6115
6116 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
6117 value repeat handles unavailableness.
6118
39d37385
PA
61192011-02-14 Pedro Alves <pedro@codesourcery.com>
6120
6121 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
6122 tests for building arrays from unavailable values, subscripting
6123 non-memory rvalue unvailable arrays, and accessing fields or
6124 baseclasses of non-lazy unavailable values,
6125 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
6126 struct types.
6127 (g_smallstruct, g_smallstruct_b): New globals.
6128
06d72e16
PA
61292011-02-14 Pedro Alves <pedro@codesourcery.com>
6130
6131 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
6132
bc9a5551
JK
61332011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6134
6135 Fix const/volatile qualifiers of C++ types, PR c++/12328.
6136 * gdb.cp/overload-const.exp: New file.
6137 * gdb.cp/overload-const.cc: New file.
6138
54fcddd0
UW
61392011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
6140
6141 * gdb.opencl/callfuncs.cl: New file.
6142 * gdb.opencl/callfuncs.exp: New test.
6143 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
6144
d6dafb7c
UW
61452011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
6146
6147 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
6148 when computing result.
6149 * gdb.arch/altivec-abi.exp: Update expected results.
6150
a449c2d8
TJB
61512011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6152
6153 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
6154 * gdb.base/jit.exp: Likewise.
6155 * gdb.base/pie-execl.exp: Likewise.
6156 * gdb.base/solib-nodir.exp: Likewise.
6157 * gdb.base/solib-overlap.exp: Likewise.
6158
764880b7
PA
61592011-02-07 Pedro Alves <pedro@codesourcery.com>
6160
6161 * gdb.trace/collection.c (global_pieces): New.
6162 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
6163 New procedure.
6164 (gdb_trace_collection_test): Call it.
6165
505500db
SW
61662011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
6167
6168 * gdb.python/py-evthreads.c: New file.
6169 * gdb.python/py-evthreads.exp: New file.
6170 * gdb.python/py-events.py: New file.
6171 * gdb.python/py-events.exp: New file.
6172 * gdb.python/py-events.c: New file.
6173
385203ed
DD
61742011-02-04 David Daney <ddaney@caviumnetworks.com>
6175
6176 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
6177
9011945e
AB
61782011-02-03 Andrew Burgess <aburgess@broadcom.com>
6179
6180 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
6181 gdb.base/disasm-end-cu.exp: New test for disassembling over the
6182 boundary between two compilation units.
6183
580688f3
PA
61842011-02-02 Pedro Alves <pedro@codesourcery.com>
6185
6186 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
6187 (Virtual): New structs.
6188 (virtual_o, virtual_middle_b): New globals.
6189 * gdb.cp/virtbase.exp: New tests.
6190
d3f0f853
PP
61912011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6192
6193 * gdb.base/jit.exp: New file.
6194 * gdb.base/jit-main.c: New file.
6195 * gdb.base/jit-solib.c: New file.
6196
b2030fb5
UW
61972011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
6198
6199 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
6200 proceed to initial kernel entry point.
6201 * gdb.opencl/datatypes.exp: Likewise.
6202 * gdb.opencl/operators.exp: Likewise.
6203 * gdb.opencl/vec_comps.exp: Likewise.
6204
2db19d1e
SW
62052011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
6206
6207 * gdb.cp/nsnested.cc: New.
6208 * gdb.cp/nsnested.exp: New.
6209 * gdb.cp/nsnoimports.exp: New.
6210 * gdb.cp/nsnoimports.cc: New.
6211
6b0c4c1f
JB
62122011-01-31 Joel Brobecker <brobecker@adacore.com>
6213
6214 * gdb.base/interact.exp: Add extra tests that verify that
6215 the value of the interactive-mode setting does not change
6216 after the script is sourced.
6217
80b23b6a
JK
62182011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6219
6220 * gdb.cp/noparam.exp: New file.
6221 * gdb.cp/noparam.cc: New file.
6222
ffd5ec24
PA
62232011-01-28 Pedro Alves <pedro@codesourcery.com>
6224
6225 * gdb.trace/tfile.exp: Test that with no traceframe selected,
6226 there's no stack or registers.
6227
a81766d8
TT
62282011-01-26 Tom Tromey <tromey@redhat.com>
6229
6230 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
6231 space before string output. Add test for "set print pretty off"
6232 case.
6233
585fdaa1
PA
62342011-01-25 Pedro Alves <pedro@codesourcery.com>
6235
6236 * gdb.base/frame-args.exp: Adjust.
6237 * gdb.dwarf2/dw2-noloc.exp: Adjust.
6238 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
6239 * gdb.dwarf2/pieces.exp: Adjust.
6240 * gdb.opt/clobbered-registers-O2.exp: Adjust.
6241 * gdb.opt/inline-locals.exp: Adjust.
6242 * gdb.threads/fork-child-threads.exp: Adjust.
6243
d468832a
KW
62442011-01-25 Ken Werner <ken.werner@de.ibm.com>
6245
6246 * gdb.opencl/convs_casts.cl: Move program scope variables into the
6247 OpenCL kernel function. Add a comment as marker. Add address space
6248 qualifiers for the remaining program scope variables.
6249 * gdb.opencl/datatypes.cl: Likewise.
6250 * gdb.opencl/operators.cl: Likewise.
6251 * gdb.opencl/vec_comps.cl: Likewise.
6252 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
6253 Add breakpoint at the marker comment.
6254 * gdb.opencl/datatypes.exp: Likewise.
6255 * gdb.opencl/operators.exp: Likewise.
6256 * gdb.opencl/vec_comps.exp: Likewise.
6257
490f124f
PA
62582011-01-24 Pedro Alves <pedro@codesourcery.com>
6259
6260 * gdb.base/printcmds.c (some_struct): New struct and instance.
6261 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
6262 procedure.
6263 <global scope>: Call it.
6264
6da78614
KW
62652011-01-21 Ken Werner <ken.werner@de.ibm.com>
6266
6267 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
6268 argument to the gdb_compile_opencl_hostapp call.
6269
ec64c9aa
YQ
62702011-01-19 Yao Qi <yao@codesourcery.com>
6271
6272 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
6273 positve list.
6274
810cfdbb
YQ
62752011-01-19 Yao Qi <yao@codesourcery.com>
6276
6277 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
6278 canonical form.
6279 Remove "xscale-*-*"
6280 * gdb.xml/tdesc-regs.exp: Likewise.
6281 * gdb.python/py-section-script.exp: Replace ARM target triplet
6282 with canonical form.
6283 Match arm*-*-symbianelf*.
6284 * gdb.base/dup-sect.exp: Likewise.
6285 * lib/dwarf.exp: New.
6286 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
6287 dwarf2_support.
6288 * gdb.dwarf2/dup-psym.exp: Likewise.
6289 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
6290 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6291 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
6292 * gdb.dwarf2/dw2-basic.exp: Likewise.
6293 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6294 * gdb.dwarf2/dw2-const.exp: Likewise.
6295 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
6296 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
6297 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6298 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
6299 * gdb.dwarf2/dw2-filename.exp: Likewise.
6300 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6301 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
6302 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6303 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6304 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
6305 * gdb.dwarf2/dw2-noloc.exp: Likewise.
6306 * gdb.dwarf2/dw2-op-call.exp: Likewise.
6307 * gdb.dwarf2/dw2-producer.exp: Likewise.
6308 * gdb.dwarf2/dw2-ranges.exp: Likewise.
6309 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
6310 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
6311 * gdb.dwarf2/dw2-strp.exp: Likewise.
6312 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
6313 * gdb.dwarf2/implptr.exp: Likewise.
6314 * gdb.dwarf2/mac-fileno.exp: Likewise.
6315 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
6316 * gdb.dwarf2/pieces.exp: Likewise.
6317 * gdb.dwarf2/pr11465.exp: Likewise.
6318 * gdb.dwarf2/valop.exp: Likewise.
6319 * gdb.dwarf2/watch-notconst.exp: Likewise.
6320 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
6321
4694da01
TT
63222011-01-19 Tom Tromey <tromey@redhat.com>
6323
6324 * gdb.python/py-infthread.exp: Add thread tests.
6325
b075872c
JB
63262011-01-14 Joel Brobecker <brobecker@adacore.com>
6327
6328 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
6329
2c3e6e24
JB
63302011-01-14 Joel Brobecker <brobecker@adacore.com>
6331
6332 * gdb.ada/widewide: New testcase.
6333
de8fa76c
JB
63342011-01-13 Joel Brobecker <brobecker@adacore.com>
6335
6336 * gdb.base/interact.exp: New testcase.
6337
1b05df00
TT
63382011-01-12 Tom Tromey <tromey@redhat.com>
6339
6340 * gdb.mi/gdb2549.exp: Update for error message changes.
6341 * gdb.mi/mi-cli.exp: Likewise.
6342 * gdb.mi/mi-disassemble.exp: Likewise.
6343 * gdb.mi/mi-pthreads.exp: Likewise.
6344 * gdb.mi/mi-regs.exp: Likewise.
6345 * gdb.mi/mi-stack.exp: Likewise.
6346 * gdb.mi/mi-var-block.exp: Likewise.
6347 * gdb.mi/mi-var-cmd.exp: Likewise.
6348 * gdb.mi/mi2-cli.exp: Likewise.
6349 * gdb.mi/mi2-disassemble.exp: Likewise.
6350 * gdb.mi/mi2-pthreads.exp: Likewise.
6351 * gdb.mi/mi2-regs.exp: Likewise.
6352 * gdb.mi/mi2-stack.exp: Likewise.
6353 * gdb.mi/mi2-var-block.exp: Likewise.
6354 * gdb.mi/mi2-var-cmd.exp: Likewise.
6355
c2ff108b
JK
63562011-01-12 Andrew Burgess <aburgess@broadcom.com>
6357 Jan Kratochvil <jan.kratochvil@redhat.com>
6358
6359 PR fortran/11104 and DWARF unbound arrays detection.
6360 * gdb.fortran/multi-dim.exp: New file.
6361 * gdb.fortran/multi-dim.f90: New file.
6362
b716877b
AB
63632011-01-12 Andrew Burgess <aburgess@broadcom.com>
6364
6365 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
6366 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
6367 add new tests for opcode dumping.
6368
6c162d5e
TT
63692011-01-11 Tom Tromey <tromey@redhat.com>
6370
6371 * gdb.python/py-infthread.exp: Load gdb-python.exp.
6372
77b06cd7
TJB
63732010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
6374
6375 Convert hardware watchpoints to use breakpoint_ops.
6376 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
6377 type is not supported.
6378 * gdb.base/foll-fork.exp: Likewise.
6379 * gdb.base/foll-vfork.exp: Likewise.
6380
f39a75d0
PM
63812011-01-10 Phil Muldoon <pmuldoon@redhat.com>
6382
6383 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
6384 Use load_lib gdb-python.exp.
6385 * gdb.python/python.exp: Ditto.
6386 * gdb.python/py-function.exp: Ditto.
6387
fc529d80
AS
63882011-01-09 Andreas Schwab <schwab@linux-m68k.org>
6389
6390 * gdb.threads/tls.exp ("info address me"): Fix expected output.
6391
fb03cb59
JK
63922011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6393
6394 * configure: Regenerate.
6395
d8e22779
TT
63962011-01-06 Tom Tromey <tromey@redhat.com>
6397
6398 * gdb.python/py-frame.exp: Test gdb.newest_frame.
6399
09050809
JB
64002011-01-06 Joel Brobecker <brobecker@adacore.com>
6401
fc529d80
AS
6402 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
6403 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
6404 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6405 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
6406 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
6407 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6408 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
6409 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
6410 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
6411 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
6412 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
6413 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
6414 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
6415 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6416 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6417 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
6418 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
6419 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
6420 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6421 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
6422 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
6423 gdb.ada/uninitialized_vars.exp,
6424 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
6425 Simplify by using clean_restart.
09050809 6426
8ed5dd9e
JB
64272011-01-06 Joel Brobecker <brobecker@adacore.com>
6428
6429 Add marker to be used as anchor for inserting breakpoints.
6430 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
6431 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
6432 Likewise.
6433
6434 Remove uses of gdb_start_cmd.
6435 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
6436 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
6437
6438 Do not run testcase if testing with GDBserver.
6439 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
6440 if testing with GDBserver.
6441
368a124f
JB
64422011-01-06 Joel Brobecker <brobecker@adacore.com>
6443
6444 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
6445 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
6446 copyright header.
6447
44944448
JB
64482011-01-05 Joel Brobecker <brobecker@adacore.com>
6449
6450 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
6451 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
6452 testsuite/gdb.fortran/complex.f,
6453 testsuite/gdb.fortran/derived-type.f90,
6454 testsuite/gdb.fortran/library-module-lib.f90,
6455 testsuite/gdb.fortran/library-module-main.f90,
6456 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
6457 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
6458 Copyright year update.
6459
31886ea6
JB
64602011-01-05 Joel Brobecker <brobecker@adacore.com>
6461
6462 * gdb.base/langs1.f: Add copyright header.
6463
ebedcab5
JK
64642011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6465
6466 * gdb.base/morestack.exp: New file.
6467 * gdb.base/morestack.c: New file.
6468
de1eb2f9
JK
64692011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6470
6471 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
6472
9e87a409
JB
64732010-12-29 Joel Brobecker <brobecker@adacore.com>
6474
6475 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
6476 * gdb.ada/arrayptr.exp: Add test printing that new variable.
6477
720d1a40
JB
64782010-12-29 Joel Brobecker <brobecker@adacore.com>
6479
6480 * gdb.ada/lang_switch.exp: Correct expected parameter value.
6481
a283af87
AS
64822010-12-25 Andreas Schwab <schwab@linux-m68k.org>
6483
5d3d9cba
AS
6484 * gdb.threads/tls.exp: Fix typo.
6485
a283af87
AS
6486 * gdb.threads/thread-specific.exp (get_thread_list): Update.
6487 * gdb.threads/execl.exp: Update.
6488
2a20745c
YQ
64892010-12-23 Yao Qi <yao@codesourcery.com>
6490
6491 * gdb.arch/arm-disp-step.exp: New.
6492 * gdb.arch/arm-disp-step.S: New.
6493
a7658b96
TT
64942010-12-21 Tom Tromey <tromey@redhat.com>
6495
6496 * gdb.threads/execl.exp: Update.
6497 * gdb.threads/linux-dp.exp: Update.
6498 * gdb.threads/manythreads.exp: Update.
6499 * gdb.threads/tls.exp: Update.
6500
5b79abe7
TT
65012010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6502
6503 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
6504 (NextOverThrowDerivates) <resumebpt>: New.
6505 (resumebpt_test): New.
6506 (main): Call resumebpt_test.
6507 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
6508
0914bcdb
SS
65092010-12-12 Stan Shebs <stan@codesourcery.com>
6510
6511 * gdb.trace/tsv.exp: Test print command on trace state variables.
6512
305aeedc
TT
65132010-12-09 Tom Tromey <tromey@redhat.com>
6514
6515 * gdb.base/interp.exp: Add regression test.
6516
186c406b
TT
65172010-12-09 Tom Tromey <tromey@redhat.com>
6518
6519 * gdb.java/jnpe.java: New file.
6520 * gdb.java/jnpe.exp: New file.
6521 * gdb.cp/nextoverthrow.exp: New file.
6522 * gdb.cp/nextoverthrow.cc: New file.
6523
aae1c79a
DE
65242010-12-07 Doug Evans <dje@google.com>
6525
6526 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
6527 of data-directory.
6528 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
6529 updated.
6530 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
6531
60f98dde 65322010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
6533
6534 * gdb.base/callfuncs.exp: Test for skip_float_tests.
6535 * gdb.base/call-sc.exp: Ditto.
6536 * gdb.base/finish.exp: Ditto.
6537 * gdb.base/return.exp: Ditto.
6538 * gdb.base/return2.exp: Ditto.
6539
5fa290c1
DE
65402010-11-30 Doug Evans <dje@google.com>
6541
6542 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
6543 (gdb_expect_list): Fix spelling errors in comments.
6544 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
6545 send_gdb/gdb_expect_list where applicable.
6546 * gdb.base/call-ar-st.exp: Ditto.
6547 * gdb.base/funcargs.exp: Ditto.
6548 * gdb.base/gcore.exp: Ditto.
6549 * gdb.base/page.exp: Ditto.
6550 * gdb.base/sigaltstack.exp: Ditto.
6551 * gdb.base/siginfo.exp: Ditto.
6552 * gdb.base/sigstep.exp: Ditto.
6553 * gdb.base/trace-commands.exp: Ditto.
6554
4e04c971
DE
65552010-11-29 Doug Evans <dje@google.com>
6556
6557 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
6558 printer-name;subprinter-name.
6559
8cf6f0b1
TT
65602010-11-29 Tom Tromey <tromey@redhat.com>
6561
6562 * gdb.dwarf2/implptr.exp: New file.
6563 * gdb.dwarf2/implptr.c: New file.
6564 * gdb.dwarf2/implptr.S: New file.
6565
94b6973e
PM
65662010-11-29 Phil Muldoon <pmuldoon@redhat.com>
6567
fc529d80 6568 PR python/12199
94b6973e
PM
6569
6570 * gdb.python/py-breakpoint.exp: Test the delete method.
6571
8358c15c
JK
65722010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6573
6574 Fix step_resume_breakpoint unsaved during an infcall.
6575 * gdb.base/step-resume-infcall.exp: New file.
6576 * gdb.base/step-resume-infcall.c: New file.
6577
f6df29bc
TJB
65782010-11-24 Edjunior Machado <emachado@br.ibm.com>
6579
6580 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
6581
f2b5a5cf
TJB
65822010-11-24 Edjunior Machado <emachado@br.ibm.com>
6583
6584 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
6585 on ppc64's symbols; "finish" and "return" commands must accept to
6586 show the caller line again as well as the line after.
6587 * gdb.asm/powerpc64.inc: New file.
6588
6b0ecdc2
DE
65892010-11-23 Doug Evans <dje@google.com>
6590
6591 * lib/gdb.exp (gdb_test_sequence): New function.
6592 (gdb_expect_list): Add verbose -log call for each pattern.
6593 * gdb.base/signals.exp (test_handle_all_print): Call it.
6594 Reduce timeout increment from 6 minutes to 1 minute.
6595 * gdb.server/ext-run.exp: Call it.
6596
ea976c60
PM
65972010-11-23 Phil Muldoon <pmuldoon@redhat.com>
6598
f2b5a5cf 6599 PR python/12212
ea976c60
PM
6600
6601 * gdb.python/python.exp: Check that selected_thread raises an
6602 error when no inferior is loaded.
6603
c0efa795
JK
66042010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6605
6606 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
6607 * gdb.dwarf2/dw2-stack-boundary.S: New file.
6608
ec3aa567
JK
66092010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6610
6611 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
6612 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
6613
d8249011
DE
66142010-11-18 Doug Evans <dje@google.com>
6615
6616 * gdb.server/ext-run.exp: Fix intermittent failures.
6617
d4eba7d1
NF
66182010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6619
6620 * gdb.stabs/gdb11479.exp: Use runto_main.
6621
b04c2f88
NF
66222010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6623
6624 * gdb.base/break-entry.exp: Skip if using a stub.
6625
ae9d7ce4
NF
66262010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6627
6628 * gdb.python/py-inferior.exp: Pack values in target endianness.
6629
621c8364
TT
66302010-11-12 Tom Tromey <tromey@redhat.com>
6631
6632 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
6633 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
6634 MemoryError.
6635 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
6636 type.
6637 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
6638 MemoryError.
6639 (test_subscript_regression): Update exception type.
6640
84f4c1fe
PM
66412010-11-11 Phil Muldoon <pmuldoon@redhat.com>
6642
6643 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
6644 breakpoint tests.
6645
a1442452
PA
66462010-11-09 Pedro Alves <pedro@codesourcery.com>
6647
6648 * gdb.base/watchpoint.exp: Test "watch -location" with an
6649 innacessible location.
6650
efd11a33
JK
66512010-11-09 Edjunior Machado <emachado@br.ibm.com>
6652 Luis Machado <luisgpm@br.ibm.com>
6653
6654 * gdb.base/maint.exp: Expect "." prefix.
6655 * gdb.base/nodebug.exp: Expect "." Likewise.
6656 * gdb.base/sepsymtab.exp: Expect "." Likewise.
6657 * gdb.base/watchpoint-cond-gone.exp: Likewise.
6658 * gdb.base/watchpoint.exp: Expect a software watch to be created for
6659 POWER server processors.
6660
aa00efb5
JK
66612010-11-08 Edjunior Machado <emachado@br.ibm.com>
6662 Luis Machado <luisgpm@br.ibm.com>
6663
6664 * gdb.base/break-entry.exp: convert entry point for
6665 ppc64 and expect leading `.' on ppc64's symbols
6666
99e7ae30
DE
66672010-11-05 Doug Evans <dje@google.com>
6668
6669 * gdb.base/help.exp: Update expected output.
b521dba8
DE
6670 * gdb.python/py-param.exp: Delete, contents moved to ...
6671 * gdb.python/py-parameter.exp: ... here. New file.
6672 Add test for gdb.parameter ("directories").
99e7ae30 6673
f4b8a18d
KW
66742010-11-05 Ken Werner <ken.werner@de.ibm.com>
6675
6676 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
6677 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
6678 * configure: Regenerate.
6679 * gdb.opencl/Makefile.in: New File.
6680 * gdb.opencl/datatypes.exp: Likewise.
6681 * gdb.opencl/datatypes.cl: Likewise.
6682 * gdb.opencl/operators.exp: Likewise.
6683 * gdb.opencl/operators.cl: Likewise.
6684 * gdb.opencl/vec_comps.exp: Likewise.
6685 * gdb.opencl/vec_comps.cl: Likewise.
6686 * gdb.opencl/convs_casts.exp: Likewise.
6687 * gdb.opencl/convs_casts.cl: Likewise.
6688 * lib/opencl.exp: Likewise.
6689 * lib/opencl_hostapp.c: Likewise.
6690 * lib/opencl_kernel.cl: Likewise.
6691 * lib/cl_util.c: Likewise.
6692 * lib/cl_util.c: Likewise.
6693 * gdb.base/default.exp (set language): Add "opencl" to the list of
6694 languages.
6695
a9d5ef47
SW
66962010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
6697
6698 * gdb.cp/overload.exp: Added test for inheritance overload.
6699 * gdb.cp/overload.cc: Ditto.
6700 * gdb.cp/oranking.exp: Removed releveant kfails.
6701
03eb1c79
JK
67022010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6703 Joel Brobecker <brobecker@adacore.com>
6704
6705 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
6706 check test_compiler_info.
6707
dbc98a8b
KW
67082010-11-03 Ken Werner <ken.werner@de.ibm.com>
6709
6710 * gdb.base/gnu_vector.exp: Adjust expect messages.
6711
120bd360
KW
67122010-11-03 Ken Werner <ken.werner@de.ibm.com>
6713
6714 * gdb.base/gnu_vector.exp: Add unary operator tests.
6715
c37f7098
KW
67162010-11-03 Ken Werner <ken.werner@de.ibm.com>
6717
6718 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
6719
7b51bc51
DE
67202010-11-02 Doug Evans <dje@google.com>
6721
6722 * gdb.python/py-pp-maint.c: New file.
6723 * gdb.python/py-pp-maint.exp: New file.
6724 * gdb.python/py-pp-maint.py: New file.
6725
50c97f38
TT
67262010-11-02 Tom Tromey <tromey@redhat.com>
6727
6728 * gdb.base/default.exp: Remove "scheme" from language list.
6729
a289b8f6
JK
67302010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6731
6732 Revert:
6733 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6734 * gdb.threads/sigstep-threads.exp: New file.
6735 * gdb.threads/sigstep-threads.c: New file.
6736
cd017491
MS
67372010-10-20 Michael Snyder <msnyder@vmware.com>
6738
6739 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
6740
8e6a5956
UW
67412010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6742
6743 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
6744 Skip test completely if gdb,no_hardware_watchpoints.
6745
2c04da0d
UW
67462010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6747
6748 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
6749 strict, but do not check for any particular function name within libc.
6750
79afc5ef
SW
67512010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6752
6753 * gdb.cp/smartp.exp: New test.
6754 * gdb.cp/smartp.cc : New test.
6755
026ffab7
SW
67562010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6757
6758 * gdb.cp/converts.exp: Test pointer to bool conversion.
6759 Test pointer to long conversion.
6760 * gdb.cp/oranking.exp: Removed relevant kfail.
6761
3a772aa4
TT
67622010-10-18 Tom Tromey <tromey@redhat.com>
6763
6764 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
6765 argument to lazy_string.
6766 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
6767 (pp_ls.to_string): Use it.
6768 * gdb.python/py-prettyprint.c (main): Move declarations to top.
6769 Add "estring2" local.
6770
5fc3827b
JK
67712010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6772
6773 Fix s390x compatibility.
6774 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
6775 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
6776
8aeb23f3
JK
67772010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6778
6779 * gdb.threads/sigstep-threads.exp: New file.
6780 * gdb.threads/sigstep-threads.c: New file.
6781
c1e56572
JK
67822010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6783
6784 * gdb.base/pie-execl.exp: New file.
6785 * gdb.base/pie-execl.c: New file.
6786
92163a10
JK
67872010-10-13 Doug Evans <dje@google.com>
6788 Jan Kratochvil <jan.kratochvil@redhat.com>
6789
6790 PR exp/12117
6791 * gdb.cp/ptype-cv-cp.cc: New file.
6792 * gdb.cp/ptype-cv-cp.exp: New file.
6793
7062b0a0
SW
67942010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
6795
6796 * gdb.cp/converts.cc: New test program.
6797 * gdb.cp/converts.exp: New test.
6798 * gdb.cp/overload.exp: Added test for void* vs int*.
6799 * gdb.cp/overload.exp: Ditto.
6800 * gdb.cp/oranking.exp: Removed related kfail.
6801
0e3509db
DE
68022010-10-13 Doug Evans <dje@google.com>
6803
6804 * lib/gdb-python.exp (gdb_check_python_config): New function.
6805 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
6806 * gdb.python/lib-types.cc: New file.
6807 * gdb.python/lib-types.exp: New file.
6808
8dc78533
JK
68092010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6810
6811 * gdb.python/py-error.exp: New file.
6812 * gdb.python/py-error.py: New file.
6813
93c17e06
JK
68142010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6815
6816 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
6817 gdb_test_multiple.
6818
d8b34041
JK
68192010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6820
6821 * gdb.base/break-interp.exp: Use ldlags for linking flags.
6822 * gdb.base/prelink.exp: Likewise.
6823 * gdb.base/solib-nodir.exp: Likewise.
6824 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
6825 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
6826 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
6827
e0cc584e
UW
68282010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
6829
6830 * break-interp.exp (test_ld): Use two separate gdb_expect statements
6831 for the "info files" test to avoid timeouts on slow machines.
6832
cfc353b1
JK
68332010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6834
6835 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
6836 (main): Make openlib dummy call.
6837
d3d7896d
JK
68382010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6839
6840 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
6841 * break-interp.exp (reach): Move the core body ...
6842 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
6843 (test_ld): Provide always real argument, even to the linker. Replace
6844 dl_main by _dl_debug_state.
6845
5e533c94
JK
68462010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6847
6848 Fix results of prelinked PIEs on ppc*.
6849 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
6850 Accept also DISPLACEMENT "PRESENT".
6851 (main): Replace "ZERO" displacements by "PRESENT".
6852
33540610
SW
68532010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
6854
6855 * gdb.cp/oranking.exp: New test.
6856 * gdb.cp/oranking.cc: New test program.
6857
3bdf2bbd
KW
68582010-10-08 Ken Werner <ken.werner@de.ibm.com>
6859
6860 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
6861 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
6862
2f608a3a
KW
68632010-10-06 Ken Werner <ken.werner@de.ibm.com>
6864
6865 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
6866 lush, lynx) New constant.
6867 * gdb.base/constvars.exp: Test const array types.
6868 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
6869
aa2e2d8d
DE
68702010-10-06 Doug Evans <dje@google.com>
6871
6872 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
6873 of syscall staging area.
6874
2844d6b5
KW
68752010-10-06 Ken Werner <ken.werner@de.ibm.com>
6876
6877 * gdb.base/gnu_vector.c: Add variable c4.
6878 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
6879 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
6880
7d8ac8bb
MR
68812010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
6882
6883 * gdb.arch/altivec-abi.exp: Fix a typo.
6884
84a02e58
MR
68852010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
6886
6887 * lib/mi-support.exp (thread_selected_re): Correct pattern used
6888 to match a thread ID.
6889
b18e6318
JK
68902010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 Fix s390x testcase compatibility.
6893 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
6894
a2c09bd0
DE
68952010-10-01 Doug Evans <dje@google.com>
6896
6897 * lib/gdb-python.exp: New file.
6898 * gdb.python/py-block.exp: Use it.
6899 * gdb.python/py-breakpoint.exp: Ditto.
6900 * gdb.python/py-frame.exp: Ditto.
6901 * gdb.python/py-inferior.exp: Ditto.
6902 * gdb.python/py-param.exp: Ditto.
6903 * gdb.python/py-prettyprint.exp: Ditto.
6904 * gdb.python/py-shared.exp: Ditto.
6905 * gdb.python/py-symbol.exp: Ditto.
6906 * gdb.python/py-symtab.exp: Ditto.
6907 * gdb.python/py-type.exp: Ditto.
6908 * gdb.python/py-value.exp: Ditto.
6909 * gdb.python/python.exp: Ditto.
6910
38f12cfc
TT
69112010-09-30 Tom Tromey <tromey@redhat.com>
6912
6913 * gdb.base/anon.exp: New file.
6914 * gdb.base/anon.c: New file.
6915
9ae8282d
TT
69162010-09-30 Tom Tromey <tromey@redhat.com>
6917
6918 * gdb.base/completion.exp: Test completion through anonymous
6919 union.
6920 * gdb.base/break1.c (struct some_struct): Add anonymous union.
6921
e9e07ba6
JK
69222010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6923
6924 Fix printing parameters of inlined functions.
6925 * gdb.dwarf2/dw2-inline-param.exp: New file.
6926 * gdb.dwarf2/dw2-inline-param-main.c: New file.
6927 * gdb.dwarf2/dw2-inline-param.S: New file.
6928
cd2effb2
JK
69292010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6930
6931 PR corefiles/12071.
6932 * gdb.base/corefile.exp (quit with a process, no question: load core)
6933 (quit with a core file): New tests.
6934
bceffbf3
JK
69352010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6936
6937 Fix GDB crash on inferior calls with self-referencing classes.
6938 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
6939 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
6940 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
6941
1736ad11
JK
69422010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6943
6944 Fix lost siginfo_t for inferior calls.
6945 * gdb.base/siginfo-infcall.exp: New file.
6946 * gdb.base/siginfo-infcall.c: New file.
6947
a176ad92
JB
69482010-09-22 Joel Brobecker <brobecker@adacore.com>
6949
6950 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
6951
c2b0a229
JK
69522010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6953
6954 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
6955 New test.
6956 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
6957
e8ae22d1
JB
69582010-09-22 Joel Brobecker <brobecker@adacore.com>
6959
6960 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
6961 type of our const type.
6962
ec322823
SW
69632010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
6964
6965 * gdb.cp/pr12028.cc: New.
6966 * gdb.cp/pr12028.exp: New.
6967
72929c62
JB
69682010-09-22 Joel Brobecker <brobecker@adacore.com>
6969
6970 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
6971
875b4ff5 69722010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 6973 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
6974
6975 PR mi/11407
6976 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
6977 * gdb.mi/dw2-ref-missing-frame-main.c New File.
6978 * gdb.mi/dw2-ref-missing-frame.S New File.
6979 * gdb.mi/dw2-ref-missing-frame.exp New File.
6980
7155d578
TT
69812010-09-14 Tom Tromey <tromey@redhat.com>
6982
6983 PR symtab/8399:
6984 * gdb.threads/tls.exp: Remove kfail. Update expected output.
6985
515ed532
TT
69862010-09-14 Tom Tromey <tromey@redhat.com>
6987
6988 PR exp/11803:
6989 * gdb.threads/tls.exp: Use C++.
6990 (check_thread_local): Use K::another_thread_local.
6991 * gdb.threads/tls.c (class K): New.
6992 (another_thread_local): Now a member of K.
6993 (spin): Update. No longer K&R C.
6994
450ca57c
SW
69952010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6996
6997 * gdb.cp/koenig.cc: created class for testing member lookup.
6998 * gdb.cp/koenig.exp: Added test for member lookup.
6999
dbd492a3
JK
70002010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7001
7002 Fix false FAILs on sourcetree topdir directory containing "kill".
7003 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
7004 source line matching regexp.
7005
8d4d924b
JK
70062010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7007
7008 * gdb.python/python.exp (set height 0, collect help from uiout)
7009 (verify help to uiout): New tests.
7010
8e64f2a0
JK
70112010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7012
7013 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
7014 is_lp64_target to check 64bit target.
7015
4569eed2
JK
70162010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7017
7018 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
7019 (test_ld) <powerpc64-*>: New.
7020
5e1617b1
DJ
70212010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7022
7023 * gdb.cp/templates.exp (test_template_args): Allow "struct".
7024
c767944b
DJ
70252010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7026
7027 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
7028 (FunctionArg::method): New function.
7029 (empty, arg): New variables.
7030 (main): Call arg.method.
7031 * gdb.cp/templates.exp (test_template_args): New function.
7032 (do_tests): Call it.
7033
27d3a3fc
UW
70342010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
7035
7036 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
7037 of "next" to proceed over pthread_exit call.
7038
55b7ce7f
UW
70392010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
7040
7041 * gdb.base/maint.exp: Avoid wildcards against potentially very long
7042 "maint print statistics" output to prevent expect timeouts.
7043
809df446
JK
70442010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7045
7046 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
7047 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7048 (test_float_rejected): ... here.
7049 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
7050 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7051 (test_float_rejected): ... here.
7052 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
7053 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7054 (test_float_rejected): ... here.
7055 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
7056 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7057 (test_float_rejected): ... here.
7058
8464be76
DJ
70592010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7060
7061 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
7062 before disabling hardware watchpoints.
7063 (test_inaccessible_watchpoint): Check that hardware watchpoints
7064 are used. Test for watchpoints on a constant address.
7065
14dba4b4
JK
70662010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7067
7068 * gdb.base/ui-redirect.exp: New file.
7069
3f3540e1 70702010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 7071 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
7072
7073 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
7074
0f254bb7
DE
70752010-08-31 Doug Evans <dje@google.com>
7076
7077 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
7078
03f17ccf
TT
70792010-08-30 Tom Tromey <tromey@redhat.com>
7080
7081 PR python/11792:
7082 * gdb.python/py-value.exp (test_subscript_regression): Add
7083 dynamic_type test.
7084
640617ad
DJ
70852010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
7086
7087 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
7088 instead of running to main. Do not test the main function.
7089 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
7090 Add new main.
7091
2ed91d1b
PA
70922010-08-26 Pedro Alves <pedro@codesourcery.com>
7093
7094 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
7095 one test.
7096
673bfd45
DE
70972010-08-24 Doug Evans <dje@google.com>
7098
7099 PR symtab/11942
7100 * gdb.dwarf2/dw4-sig-types.cc: New file.
7101 * gdb.dwarf2/dw4-sig-types.h: New file.
7102 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
7103 * gdb.dwarf2/dw4-sig-types.exp: New file.
7104
f9ffd4bb
TT
71052010-08-23 Tom Tromey <tromey@redhat.com>
7106
7107 PR python/11145:
7108 * gdb.python/py-value.c (Base, Derived): New types.
7109 (base): New global.
7110 * gdb.python/py-value.exp (test_subscript_regression): Add
7111 dynamic_cast test.
7112
d839c8a4
TT
71132010-08-23 Tom Tromey <tromey@redhat.com>
7114
7115 PR python/10676:
7116 * gdb.python/py-type.exp (test_fields): Add tests for type
7117 equality.
7118
702c2711
TT
71192010-08-23 Tom Tromey <tromey@redhat.com>
7120
7121 PR python/11915:
7122 * gdb.python/py-type.exp (test_fields): Add tests for array.
7123
832bafd3
KS
71242010-08-23 Keith Seitz <keiths@redhat.com>
7125
7126 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
7127 have any children. Create a new abbrev for it.
7128 Add missing terminal sequence to .debug_abbrev.
7129
c37bf528
KS
71302010-08-20 Keith Seitz <keiths@redhat.com>
7131
7132 PR symtab/11465:
7133 * gdb.dwarf2/pr11465.exp: New test.
7134 * gdb.dwarf2/pr11465.S: New file.
7135 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
7136 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
7137
4572cbac
TJB
71382010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
7139
7140 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
7141 registers. Update data sets with the new v2_double element in the
7142 VSX register union. Add vector_register3_vr data set for the AltiVec
7143 registers. Use gdb_test_no_output instead of send_gdb.
7144
e7fbb131
PA
71452010-08-19 Pedro Alves <pedro@codesourcery.com>
7146
7147 * gdb.python/py-shared.exp: New file, factored out from
7148 python.exp.
7149 * gdb.python/py-shared.c: New file.
7150 * gdb.python/py-shared-sl.c: New file.
7151 * gdb.python/python-1.c: New file.
7152 * gdb.python/python-sl.c: Delete.
7153 * gdb.python/python.c: Mention python-1.c.
7154 * gdb.python/python.exp: Move shared library tests to
7155 py-shared.exp.
7156 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
7157 (MISCELLANEOUS): New.
7158 (clean mostlyclean): Also remove $MISCELLANEOUS.
7159
d30f5e1f
DE
71602010-08-19 Doug Evans <dje@google.com>
7161
7162 PR exp/11926
7163 * gdb.base/printcmds.exp (test_float_accepted): New function.
7164 Move existing float tests there. Add tests for floats with suffixes.
7165 (test_float_rejected): New function.
7166 * gdb.java/jv-print.exp (test_float_accepted): New function.
7167 (test_float_rejected): New function.
7168 * gdb.objc/print.exp: New file.
7169 * gdb.pascal/print.exp: New file.
7170 * lib/objc.exp: New file.
7171
7b3fd859
PM
71722010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
7173
7174 * gdb.base/default.exp (info set): Avoid full buffer error and force
7175 reading up to final gdb prompt.
7176 (show): Likewise.
7177
c92817ce
TT
71782010-08-18 Tom Tromey <tromey@redhat.com>
7179
7180 PR symtab/11919:
7181 * gdb.base/completion.exp: Add test.
7182
f1208f9e
DE
71832010-08-18 Doug Evans <dje@google.com>
7184
7185 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
7186 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
7187 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
7188 Simplify, early exit if runto_main fails.
7189 * gdb.fortran/exprs.exp: load_lib fortran.exp.
7190 (set_lang_fortran): Moved to lib/fortran.exp.
7191 * gdb.fortran/types.exp: load_lib fortran.exp.
7192 (set_lang_fortran): Moved to lib/fortran.exp.
7193 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
7194 * gdb.java/jprint.exp (set_lang_java): Ditto.
7195 * gdb.java/jv-exp.exp: load_lib java.exp.
7196 If set_lang_java fails, issue a warning instead of failure to be
7197 consistent with other set_lang_foo uses.
7198 (set_lang_java): Moved to lib/java.exp.
7199 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
7200 If set_lang_java fails, issue a warning instead of failure to be
7201 consistent with other set_lang_foo uses.
7202 * gdb.pascal/types.exp: load_lib pascal.exp.
7203 (set_lang_pascal): Moved to lib/pascal.exp.
7204 * lib/fortran.exp: New file.
7205 * lib/java.exp (set_lang_java): New function.
7206 * lib/pascal.exp (set_lang_pascal): New function.
7207
2f06b485
YQ
72082010-08-18 Yao Qi <yao@codesourcery.com
7209
7210 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
7211 func_nofb_start and func_loopfb_start, so that address of functions
7212 is equal to these labels on Thumb.
7213
96e25403
YQ
72142010-08-18 Yao Qi <yao@codesourcery.com>
7215
7216 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
7217 to reflect latest c source file.
7218
36e6adc4
JK
72192010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7220
7221 * gdb.cp/infcall-dlopen.exp: New file.
7222 * gdb.cp/infcall-dlopen.cc: New file.
7223 * gdb.cp/infcall-dlopen-lib.cc: New file.
7224
f431efe5
PA
72252010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7226 Pedro Alves <pedro@codesourcery.com>
7227
7228 PR breakpoints/11371
7229
7230 * gdb.base/watch-cond-infcall.exp: New file.
7231 * gdb.base/watch-cond-infcall.c: New file.
7232
06a64a0b
TT
72332010-08-16 Tom Tromey <tromey@redhat.com>
7234
7235 * gdb.base/help.exp: Update.
7236 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
7237 watchpoint.
7238 (test_watch_location): New proc.
7239 (test_watchpoint_in_big_blob): Delete watchpoint.
7240 * gdb.base/watchpoint.c (func5): New function.
7241 (main): Call it.
7242
70ebf4ed
DE
72432010-08-16 Doug Evans <dje@google.com>
7244
7245 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
7246
ca5c20b6
PM
72472010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7248
7249 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
7250 tests.
7251
7346b668
KW
72522010-08-11 Ken Werner <ken.werner@de.ibm.com>
7253
7254 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
7255 * gdb.base/gnu_vector.c: New File.
7256 * gdb.base/gnu_vector.exp: Likewise.
7257
cb2e07a6
PM
72582010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7259
7260 * gdb.python/python.c: New File.
7261 * gdb.python/python-sl.c: New File.
7262 * gdb.python/python.exp: Test solib_address and decode_line
7263 * functions.
7264
5da1313b
JK
72652010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7266
7267 * gdb.python/python.exp (show height, set height 10)
7268 (verify pagination beforehand, verify pagination beforehand: q)
7269 (gdb.execute does not page, verify pagination afterwards)
7270 (verify pagination afterwards: q): New.
7271
49c3ccf7
DE
72722010-08-02 Doug Evans <dje@google.com>
7273
7274 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
7275 because of an older gcc, change test2
7276 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
7277 to unsupported.
7278
42c0c4f1
KH
72792010-07-30 Kazu Hirata <kazu@codesourcery.com>
7280
7281 * gdb.base/break-always.exp: Do not expect full paths to file
7282 names.
7283 * gdb.base/commands.exp: Likewise.
7284
d3765805
DE
72852010-07-30 Doug Evans <dje@google.com>
7286
c98ee71b
DE
7287 * gdb.cp/temargs.exp: For new tests that require newer gccs,
7288 xfail them when run with older gccs.
7289
fd961404
DE
7290 * lib/gdb.exp (build_executable): Forward "c++" option to
7291 get_compiler_info.
7292
999adef4
DE
7293 * gdb.python/py-type.exp (test_template): Mark as xfail tests
7294 "python print ttype.template_argument(1)" and
7295 "python print isinstance(ttype.template_argument(1), gdb.Value)"
7296 if using gcc 4.4 or earlier.
7297
d3765805
DE
7298 * gdb.base/valgrind-db-attach.exp: Use unique test name for
7299 attach-to-debugger handling.
7300
1276c759
JK
73012010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7302
7303 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
7304 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
7305 (main): Use copyreloc.
7306 * gdb.base/prelink.exp (split debug of executable)
7307 (.dynbss vs. .bss address shift): New tests.
7308
88caa9b9
PA
73092010-07-29 Pedro Alves <pedro@codesourcery.com>
7310
7311 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
7312 in gdb_test_multiple.
7313
c6f2ac43
PA
73142010-07-29 Pedro Alves <pedro@codesourcery.com>
7315
7316 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
7317 environment.
7318
326fd672
TT
73192010-07-28 Tom Tromey <tromey@redhat.com>
7320
7321 PR python/11060:
7322 * gdb.python/py-type.c (Temargs): New template.
7323 (temvar): New variable.
7324 * gdb.python/py-type.exp (test_template): New proc.
7325
3ce3b1ba
PA
73262010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7327
7328 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
7329 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
7330
34eaf542
TT
73312010-07-28 Tom Tromey <tromey@redhat.com>
7332
7333 PR c++/9946:
7334 * gdb.cp/temargs.exp: New file.
7335 * gdb.cp/temargs.cc: New file.
7336
d41b819e
JK
73372010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7338
7339 * gdb.base/help.exp (help disassemble): Update the content.
7340
26ab7092
JK
73412010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7342
7343 * gdb.threads/ia64-sigill.exp: New file.
7344 * gdb.threads/ia64-sigill.c: New file.
7345
5283e9e1
TT
73462010-07-27 Tom Tromey <tromey@redhat.com>
7347
7348 * gdb.opt/inline-cmds.c (ATTR): New define.
7349 (func1): Use it.
7350 (func2): Likewise.
7351 (func3): Likewise.
7352 (outer_inline1): Likewise.
7353 (outer_inline2): Likewise.
7354 * gdb.opt/inline-bt.c (ATTR): New define.
7355 (func1): Use it.
7356 (func2): Likewise.
7357 * gdb.opt/inline-locals.c (ATTR): New define.
7358 (func1): Use it.
7359 (func2): Likewise.
7360
e992ef73
TT
73612010-07-27 Tom Tromey <tromey@redhat.com>
7362
7363 * gdb.stabs/gdb11479.c (hack): New function.
7364 (test): Use it.
7365 (test2): Use it.
7366 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
7367 (int32_search_buf, int64_search_buf): No longer static.
7368 (x): Remove.
7369 * gdb.base/relocate.c (hack): New function.
7370
5374244e
PM
73712010-07-27 Phil Muldoon <pmuldoon@redhat.com>
7372
7373 * gdb.python/py-value.exp (test_inferior_function_call): New function.
7374 * gdb.python/py-value.c (func1): New function.
7375 (func2): Likewise.
7376
a99aee83
CV
73772010-07-26 Corinna Vinschen <vinschen@redhat.com>
7378
7379 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
7380 as not to clash with .data section.
7381
a04ba985
JG
73822010-07-26 Jerome Guitton <guitton@adacore.com>
7383
7384 * gdb.base/code_elim.exp: New file.
7385 * gdb.base/code_elim1.c: New file.
7386 * gdb.base/code_elim2.c: New file.
7387
23bd0f7c
PA
73882010-07-21 Pedro Alves <pedro@codesourcery.com>
7389
7390 PR symtab/11827
7391
7392 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
7393 (some_volatile_enum): New variable.
7394 * gdb.base/printcmds.exp (test_print_enums): New.
7395 <top level>: Call it.
7396
883df6dd
SW
73972010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
7398
7399 * gdb.cp/fpointer.cc: New test.
7400 * gdb.cp/fpointer.exp: New test.
7401
569b05a5
JK
74022010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7403
7404 * gdb.base/solib-nodir.exp: New file.
7405 * lib/gdb.exp (runto): New case for a GDB internal error.
7406
51d7d803
JK
74072010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7408 Ulrich Weigand <uweigand@de.ibm.com>
7409 Tom Tromey <tromey@redhat.com>
7410
7411 * gdb.base/charset-malloc.c: New file.
7412 * gdb.base/charset.c (malloc_stub): New prototype.
7413 (main): Call it instead of malloc itself.
7414 * gdb.base/charset.exp: Use only prepare_for_testing.
7415 (binfile): Remove the variable.
7416
c0edd9ed
JK
74172010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7418
7419 Make core files the process_stratum.
7420 * gdb.base/corefile.exp (run: load core again)
7421 (run: sanity check we see the core file, run: with core)
7422 (run: core file is cleared, attach: load core again)
7423 (attach: sanity check we see the core file, attach: with core)
7424 (attach: core file is cleared): New tests.
7425 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
7426
3cbaedff
KW
74272010-07-14 Ken Werner <ken.werner@de.ibm.com>
7428
7429 * gdb.arch/altivec-abi.exp: New tests.
7430
91158a56
TT
74312010-07-13 Tom Tromey <tromey@redhat.com>
7432
7433 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
7434 (main): Use it.
7435 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
7436
0f5238ed
TT
74372010-07-13 Tom Tromey <tromey@redhat.com>
7438
7439 * gdb.base/label.exp: New file.
7440 * gdb.base/label.c: New file.
7441
add265ae
L
74422010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
7443 H.J. Lu <hongjiu.lu@intel.com>
7444
7445 * lib/gdb.exp (is_ilp32_target): New.
7446 (is_lp64_target): Likewise.
7447
7448 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
7449 target.
7450 * gdb.arch/amd64-disp-step.exp: Likewise.
7451 * gdb.arch/amd64-dword.exp: Likewise.
7452 * gdb.arch/amd64-i386-address.exp: Likewise.
7453 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 7454
add265ae
L
7455 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
7456 target.
7457 * gdb.arch/i386-bp_permanent.exp: Likewise.
7458 * gdb.arch/i386-byte.exp: Likewise.
7459 * gdb.arch/i386-disp-step.exp: Likewise.
7460 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7461 * gdb.arch/i386-prologue.exp: Likewise.
7462 * gdb.arch/i386-size-overlap.exp: Likewise.
7463 * gdb.arch/i386-size.exp: Likewise.
7464 * gdb.arch/i386-sse.exp: Likewise.
7465 * gdb.arch/i386-unwind.exp: Likewise.
7466 * gdb.arch/i386-word.exp: Likewise.
7467
7468 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
7469 test only when building 64-bit executables. Do not hard-code
7470 -m64 option.
7471
2dfb8c17
DE
74722010-07-07 Doug Evans <dje@google.com>
7473
7474 * lib/gdb.exp (gdb_test_list_exact): New function.
7475 * gdb.base/default.exp (show convenience): Call it, add tests for
7476 $_sdata = void, $_thread = 0.
7477
4e5799b6
JK
74782010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7479 Joel Brobecker <brobecker@adacore.com>
7480
7481 Fix re-run of PIE executable, PR shlibs/11776.
7482 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
7483 Remove $displacement_main to match the solib-svr4.c change. New "kill"
7484 and re-"run" of the inferior.
7485
1a219cc7
JK
74862010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7487 Joel Brobecker <brobecker@adacore.com>
7488
7489 Cope with missing /usr/sbin/prelink.
7490 * lib/prelink-support.exp (prelink_no):
7491 <result == 1 && $output is "no such file or directory">: New.
7492 (prelink_yes): Likewise. Return on failed prelink_no.
7493
5e3b36f8
JK
74942010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7495 Joel Brobecker <brobecker@adacore.com>
7496
7497 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
7498 build_executable by build_executable_own_libs. Replace "prelink -R"
7499 execution by a call of prelink_yes. Comment why "prelink -r" needs no
7500 change.
7501 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
7502 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
7503 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
7504 Replace build_executable by build_executable_own_libs's function
7505 build_executable_own_libs.
7506 (prelinkNO): Create new stub to call prelink_no.
7507 (prelinkYES): Create new stub to call prelink_yes.
7508 (test_attach): Rename calls of copy to file_copy.
7509 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
7510 (copy): Move to ...
7511 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
7512 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
7513 * gdb.base/prelink.exp: Disable testcase also for is_remote and
7514 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
7515 special flags by gdb_compile_shlib. Replace second gdb_compile by
7516 build_executable_own_libs. Replace "prelink -R" execution by a call of
7517 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
7518 a second call of prelink_yes. Replace restart commands by
7519 clean_restart.
7520 (prelink): Rename to ...
7521 (seen displacement message): ... this test. Extend its expectation
7522 strictness.
7523
86e4bafc
JK
75242010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7525
7526 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
7527 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
7528 displacement message exactly once.
7529
3cd07d20
JK
75302010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7531 Joel Brobecker <brobecker@adacore.com>
7532
7533 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
7534 its restore after the <$relink_args != ""> loop. new comment.
7535
0a1e94c7
JK
75362010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7537 Joel Brobecker <brobecker@adacore.com>
7538
7539 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
7540 code for it. New variable relink_args.
7541 (prelinkYES): Call prelinkNO.
7542 (test_attach): Accept new parameter relink_args. Re-prelink the binary
7543 in such case. Move the core code to ...
7544 (test_attach_gdb): ... a new function. Send GDB command "file".
7545 Extend expected "Attaching to " string.
7546
2f70bcfb
TT
75472010-07-02 Tom Tromey <tromey@redhat.com>
7548
7549 * gdb.base/bitops.exp: Remove extraneous "pass".
7550
a17ac5b0
TT
75512010-07-02 Ken Werner <ken.werner@de.ibm.com>
7552
7553 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
7554
dc10affe
PA
75552010-07-01 Pedro Alves <pedro@codesourcery.com>
7556
d41c0fc8
PA
7557 * gdb.base/help.exp: Adjust expected output.
7558
75592010-07-01 Pedro Alves <pedro@codesourcery.com>
7560
7561 * gdb.base/help.exp: Adjust expected output.
dc10affe 7562
0a600c36
JK
75632010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7564
7565 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
7566 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
7567 c++/11702.
7568
37cc8bfe
JK
75692010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7570 Doug Evans <dje@google.com>
7571
7572 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
7573 add .dynamic entry'.
7574
254e6b9e
DE
75752010-06-29 Doug Evans <dje@google.com>
7576
7577 Test PR c++/11702.
7578 * gdb.cp/m-static.exp: Add testcase.
7579 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
7580
595939de 75812010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
7582 Tom Tromey <tromey@redhat.com>
7583 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
7584
7585 * gdb.python/py-inferior.c: New File.
7586 * gdb.python/py-infthread.c: New File.
7587 * gdb.python/py-inferior.exp: New File.
7588 * gdb.python/py-infthread.exp: New File.
7589
98751a41
JK
75902010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7591
7592 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
7593 (ptype ::C::OtherFileClass typedefs): New.
7594 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
7595 (C::OtherFileClass::cOtherFileClassVar2): New.
7596 (C::OtherFileClass::cOtherFileClassVar_use): Use also
7597 cOtherFileClassVar2.
7598 (C::cOtherFileType2, C::cOtherFileVar2): New.
7599 (C::cOtherFileVar_use): use also cOtherFileVar2.
7600 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
7601
41f62f39
JK
76022010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7603
7604 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
7605 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
7606 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
7607 (print ::C::cOtherFileVar)
7608 (whatis C::OtherFileClass::cOtherFileClassType)
7609 (whatis ::C::OtherFileClass::cOtherFileClassType)
7610 (print C::OtherFileClass::cOtherFileClassVar)
7611 (print ::cOtherFileClassVar)
7612 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
7613 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
7614 trailing content.
7615 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
7616 (C::OtherFileClass::cOtherFileClassVar)
7617 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
7618 (C::cOtherFileVar, C::cOtherFileVar_use): New.
7619
af53d231
JK
76202010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7621
7622 Test PR c++/11703 and PR gdb/1448.
7623 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
7624 gdb/1448.
7625
9655fd1a
JK
76262010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7627
7628 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
7629 (main) <rtti_data>: New.
7630 * gdb.cp/virtbase.exp (print rtti_data): New.
7631
824cc8dd
JK
76322010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7633 Joel Brobecker <brobecker@adacore.com>
7634
7635 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
7636
6036c742
JK
76372010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7638
7639 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
7640
de6a0421
DE
76412010-06-28 Doug Evans <dje@google.com>
7642
7643 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
7644
b2dae948
DE
76452010-06-27 Doug Evans <dje@google.com>
7646
7647 * gdb.cp/m-static.exp: Update expected test output.
7648
0f3bb72e
PH
76492010-06-25 Paul Hilfinger <hilfinger@adacore.com>
7650
889bf7c5
PA
7651 * gdb.gdb/selftest.exp: Adjust expected message for
7652 capturing start-up runtime.
0f3bb72e 7653
bc9f0842
TT
76542010-06-25 Tom Tromey <tromey@redhat.com>
7655
7656 PR python/10808:
7657 * gdb.python/python.exp: Add new tests.
7658
099ef718
SW
76592010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
7660
7661 * gdb.cp/operator.cc: Created an import loop.
7662 * gdb.cp/operator.exp: Added testcase for import loop.
7663
5868a632
JK
76642010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7665
7666 Test PR python/11407.
7667 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
7668 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
7669 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
7670 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
7671 executable_nofb and executable_fb. New variables srcsfile, objsfile,
7672 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
7673 binfile. Call gdb_compile with clean_restart twice.
7674 (func_nofb print, func_nofb backtrace, func_loopfb print)
7675 (func_loopfb backtrace): New.
7676
af76db58
JK
76772010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7678
7679 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
7680 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
7681 by a hand made one.
7682 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
7683 i?86 requirement. Remove variables srcfile and binfile. New variable
7684 sources, executable_nofb and executable_fb. Call prepare_for_testing.
7685
f2c7657e
UW
76862010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7687
7688 * gdb.cell/dwarfaddr.exp: New file.
7689 * gdb.cell/dwarfaddr.S: New file.
7690
628fe4e4
JK
76912010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7692
7693 Test PR 9436.
7694 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
7695
f1421989
HZ
76962010-06-24 Hui Zhu <teawater@gmail.com>
7697
7698 * gdb.base/eval.exp: New file.
7699
d03285ec
UW
77002010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7701
7702 * gdb.cell/fork.exp: New file.
7703 * gdb.cell/fork.c: Likewise.
7704 * gdb.cell/fork-spu.c: Likewise.
7705
41b2c92d
PM
77062010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
7707
7708 * lib/gdb.exp (banned_variables_traced): New global variable.
7709 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
7710 (gdb_init): Use `trace add variable' instead of obsolete
7711 `trace variable'.
7712
d5bc977f
DE
77132010-06-21 Doug Evans <dje@google.com>
7714
7715 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
7716
d2ed6730
UW
77172010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7718
7719 * gdb.arch/spu-ls.exp: New file.
7720 * gdb.arch/spu-ls.c: Likewise.
7721
6aed2dbc
SS
77222010-06-18 Stan Shebs <stan@codesourcery.com>
7723
7724 * gdb.threads/thread-specific.exp: Add tests of $_thread.
7725
e0756905
UW
77262010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7727
7728 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
7729 * gdb.base/watch-cond.exp: Likewise.
7730 * gdb.python/py-breakpoint.exp: Likewise.
7731
d8053d4d
PA
77322010-06-18 Pedro Alves <pedro@codesourcery.com>
7733
7734 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
7735 clean_restart, make sure every test has a distinct message, and
7736 that messages don't include the executable' full path.
7737
81ce510c
DE
77382010-06-17 Doug Evans <dje@google.com>
7739
7740 * gdb.arch/i386-size.exp: Updated expected output for
7741 DISASSEMBLY_OMIT_FNAME.
7742
65d79d4b
SDJ
77432010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7744 Sergio Durigan Junior <sergiodj@redhat.com>
7745
7746 * gdb.base/watch-notconst.c: New file.
7747 * gdb.base/watch-notconst.S: New file.
7748 * gdb.base/watch-notconst2.c: New file.
7749 * gdb.base/watch-notconst2.S: New file.
7750 * gdb.base/watch-notconst.exp: New file.
7751 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
7752 (func4): Add operations on `global_ptr_ptr'.
7753 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
7754 routine to test watchpoints created with a constant expression.
7755 (test_inaccessible_watchpoint): Include tests for watchpoints
7756 created with a constant expression.
7757
df0f4836
KB
77582010-06-14 Kevin Buettner <kevinb@redhat.com>
7759
7760 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7761 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
7762 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
7763 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
7764 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7765 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7766 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
7767 of `_start'.
7768
b769def5
UW
77692010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7770
7771 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
7772 not supported on the target.
7773 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7774 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7775 * gdb.mi/mi-nsintrall.exp: Likewise.
7776 * gdb.mi/mi-nsmoribund.exp: Likewise.
7777 * gdb.mi/mi-nsthrexec.exp: Likewise.
7778
d914c394
SS
77792010-06-11 Stan Shebs <stan@codesourcery.com>
7780
7781 * gdb.base/permissions.exp: New file.
7782
77832010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
7784
7785 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
7786 does not support ELF executable class.
7787
f3ce5b9c
UW
77882010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7789
7790 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
7791
8e46892c
JK
77922010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7793
7794 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
7795 (runto): Catch "The target does not support running in non-stop mode.".
7796
6cc55c64
MS
77972010-06-11 Michael Snyder <msnyder@vmware.com>
7798
7799 * gdb.base/setshow.exp (set language asm): Don't use
7800 gdb_test_no_output, fails on some targets.
7801
caddefa4
UW
78022010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7803
7804 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
7805 * gdb.cp/pr9167.exp: Likewise.
7806
468b1aa7
UW
78072010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7808
7809 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
7810
5c3552dc
UW
78112010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7812
7813 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
7814
02e6fe6a
UW
78152010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7816
7817 * gdb.base/charset.c (main): Make sure malloc gets linked in.
7818
0e03807e
TT
78192010-06-11 Tom Tromey <tromey@redhat.com>
7820
7821 PR gdb/9977, PR exp/11636::
7822 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
7823 (pieces_test_f6): Update expected output.
7824
2bdf28a0
JK
78252010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7826
7827 * gdb.base/moribund-step.exp: New.
7828
f6978de9
MS
78292010-06-08 Michael Snyder <msnyder@vmware.com>
7830
7831 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 7832 * gdb.ada/boolean_expr.exp:
f6978de9
MS
7833 * gdb.ada/frame_args.exp: Ditto.
7834 * gdb.ada/lang_switch.exp: Ditto.
7835 * gdb.ada/ptype_arith_binop.exp: Ditto.
7836 * gdb.ada/ref_param.exp: Ditto.
7837 * gdb.ada/type_coercion.exp:Ditto.
7838
7839 * gdb.asm/asm-source.exp: Ditto.
7840
7841 * gdb.base/attach.exp: Ditto.
7842 * gdb.base/bitfields2.exp: Ditto.
7843 * gdb.base/call-signal-resume.exp: Ditto.
7844 * gdb.base/callfuncs.exp: Ditto.
7845 * gdb.base/commands.exp: Ditto.
7846 * gdb.base/dbx.exp: Ditto.
7847 * gdb.base/default.exp: Ditto.
7848 * gdb.base/dump.exp: Ditto.
7849 * gdb.base/exprs.exp: Ditto.
7850 * gdb.base/freebpcmd.exp: Ditto.
7851 * gdb.base/interrupt.exp: Ditto.
7852 * gdb.base/list.exp: Ditto.
7853 * gdb.base/long_long.exp: Ditto.
7854 * gdb.base/maint.exp: Ditto.
7855 * gdb.base/ptype.exp: Ditto.
7856 * gdb.base/return.exp: Ditto.
7857 * gdb.base/setshow.exp: Ditto.
7858 * gdb.base/sigbpt.exp: Ditto.
7859 * gdb.base/sigrepeat.exp: Ditto.
7860
7861 * gdb.cp/classes.exp: Ditto.
7862
7863 * gdb.dwarf2/dw2-restore.exp: Ditto.
7864
7865 * gdb.gdb/selftest.exp: Ditto.
7866
7867 * gdb.multi/base.exp: Ditto.
7868 * gdb.multi/bkpt-multi-exec.exp: Ditto.
7869
7870 * gdb.python/py-block.exp: Ditto.
7871 * gdb.python/py-prettyprint.exp: Ditto.
7872 * gdb.python/py-template.exp: Ditto.
7873
7874 * gdb.server/ext-attach.exp: Ditto.
7875 * gdb.server/ext-run.exp: Ditto.
7876 * gdb.server/server-mon.exp: Ditto.
7877
7878 * gdb.threads/fork-thread-pending.exp: Ditto.
7879 * gdb.threads/hand-call-in-threads.exp: Ditto.
7880 * gdb.threads/interrupted-hand-call.exp: Ditto.
7881 * gdb.threads/linux-dp.exp: Ditto.
7882 * gdb.threads/manythreads.exp: Ditto.
7883 * gdb.threads/print-threads.exp: Ditto.
7884 * gdb.threads/pthreads.exp: Ditto.
7885 * gdb.threads/schedlock.exp: Ditto.
7886 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7887 * gdb.threads/threadapply.exp: Ditto.
7888
de7ff789
MS
78892010-06-08 Michael Snyder <msnyder@vmware.com>
7890
889bf7c5 7891 * gdb.ada/exec_changed.exp:
de7ff789
MS
7892 Use ".*" instead of "" as wildcard regexp.
7893
7894 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
7895 * gdb.base/call-ar-st.exp: Ditto.
7896 * gdb.base/checkpoint.exp: Ditto.
7897 * gdb.base/default.exp: Ditto.
7898 * gdb.base/dump.exp: Ditto.
7899 * gdb.base/ending-run.exp: Ditto.
7900 * gdb.base/fileio.exp: Ditto.
7901 * gdb.base/miscexprs.exp: Ditto.
7902 * gdb.base/pointers.exp: Ditto.
7903 * gdb.base/readline.exp: Ditto.
7904 * gdb.base/reread.exp: Ditto.
7905 * gdb.base/restore.exp: Ditto.
7906 * gdb.base/shlib-call.exp: Ditto.
7907 * gdb.base/valgrind-db-attach.exp: Ditto.
7908 * gdb.base/volatile.exp: Ditto.
7909 * gdb.base/watchpoints.exp: Ditto.
7910
7911 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
7912
7913 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
7914 * gdb.python/py-value.exp: Ditto.
7915
7916 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
7917 * gdb.trace/circ.exp: Ditto.
7918 * gdb.trace/collection.exp: Ditto.
7919 * gdb.trace/packetlen.exp: Ditto.
7920 * gdb.trace/passc-dyn.exp: Ditto.
7921 * gdb.trace/report.exp: Ditto.
7922 * gdb.trace/tfile.exp: Ditto.
7923 * gdb.trace/tfind.exp: Ditto.
7924 * gdb.trace/while-dyn.exp: Ditto.
7925
3bebe2f2
JK
79262010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7927
7928 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
7929
5c631832
JK
79302010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7931
7932 Test PR 10640.
7933 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
7934
4c3376c8
SW
79352010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
7936
7937 * gdb.cp/koenig.exp: Test for ADL operators.
7938 * gdb.cp/koenig.cc: Added ADL operators.
7939 * gdb.cp/operator.exp: New test.
7940 * gdb.cp/operator.cc: New test.
7941
dc226d5a
MS
79422010-06-04 Michael Snyder <msnyder@vmware.com>
7943
dfb88a23
MS
7944 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
7945 * gdb.base/pending.exp: Ditto.
f7ae76b3 7946
dc226d5a
MS
7947 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
7948
967cf477
DE
79492010-06-04 Doug Evans <dje@google.com>
7950
7951 * gdb.python/py-prettyprint.exp: Add new test for enabled and
7952 disabled printers.
7953 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
7954 (enable_lookup_function): New function.
7955
eb801841
TT
79562010-06-04 Tom Tromey <tromey@redhat.com>
7957
7958 * gdb.python/py-value.exp (test_value_hash): Don't test equality
7959 of hash and id.
7960
38979823
JK
79612010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7962
7963 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
7964 newline.
7965 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
7966 (empty verbose non-noisy clear, empty verbose noisy clear)
7967 (empty non-verbose noisy clear): Likewise.
7968
35ec993f
MS
79692010-06-03 Michael Snyder <msnyder@vmware.com>
7970
7971 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
7972 * gdb.base/display.exp: Ditto.
7973 * gdb.base/find.exp: Ditto.
7974 * gdb.base/ifelse.exp: Ditto.
7975 * gdb.base/multi-forks.exp: Ditto.
7976 * gdb.base/recurse.exp: Ditto.
7977 * gdb.base/setshow.exp: Ditto.
7978 * gdb.base/value-double-free.exp: Ditto.
7979 * gdb.base/watch-vfork.exp: Ditto.
7980 * gdb.base/watch_thread_num.exp: Ditto.
7981 * gdb.base/watchpoint-solib.exp: Ditto.
7982 * gdb.base/watchpoint.exp: Ditto.
7983 * gdb.base/watchpoints.exp: Ditto.
7984
7985 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
7986 * gdb.cp/overload.exp: Ditto.
7987 * gdb.cp/virtfunc.exp: Ditto.
7988
7989 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
7990
889bf7c5 7991 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
7992 Replace gdb_test with gdb_test_no_output.
7993
889bf7c5 7994 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
7995 Replace gdb_test with gdb_test_no_output.
7996 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7997 * gdb.threads/watchthreads.exp: Ditto.
7998 * gdb.threads/watchthreads2.exp: Ditto.
7999
8000 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
8001 * gdb.trace/tfind.exp: Ditto.
8002
c22decce
JB
80032010-06-03 Joel Brobecker <brobecker@adacore.com>
8004
8005 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
8006 successful test if message is the empty string.
8007
fd5700c7
JK
80082010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8009
8010 * gdb.fortran/module.exp (stopped language detection): New test.
8011
f55ee35c
JK
80122010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8013
8014 Support DW_TAG_module as separate namespaces.
8015 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
8016 gdb.fortran/library-module-lib.f90: New.
8017 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
8018 (print i): Remove.
8019 (continue to breakpoint: i-is-1, print var_i value 1)
8020 (continue to breakpoint: i-is-2, print var_i value 2)
8021 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
8022 (print var_d, print var_i value 14, ptype modmany, complete `modm)
8023 (complete `modmany, complete `modmany`, complete `modmany`var)
8024 (show language, setting breakpoint at module): New tests.
8025 * gdb.fortran/module.f90 (module mod): Remove.
8026 (module mod1, module mod2, module modmany, subroutine sub1)
8027 (subroutine sub2, program module): New.
8028
b8e8282f
JK
80292010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8030
8031 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
8032 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
8033 * gdb.cp/anon-union.exp (pass): Rename to ...
8034 (print z 2): ... here.
b8e8282f 8035
019ebafc
MS
80362010-06-02 Michael Snyder <msnyder@vmware.com>
8037
e68d8fd4
MS
8038 * gdb.trace/actions.exp: Use gdb_test_no_output.
8039 * gdb.trace/circ.exp: Ditto.
8040 * gdb.trace/packetlen.exp: Ditto.
8041 * gdb.trace/save-trace.exp: Ditto.
8042 * gdb.trace/tracecmd.exp: Ditto.
8043 * gdb.trace/tsv.exp: Ditto.
8044
12b5d08a
MS
8045 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
8046 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
8047 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
8048 * gdb.threads/manythreads.exp: Ditto.
8049 * gdb.threads/print-threads.exp: Ditto.
8050 * gdb.threads/pthreads.exp: Ditto.
8051 * gdb.threads/schedlock.exp: Ditto.
8052 * gdb.threads/staticthreads.exp: Ditto.
8053 * gdb.threads/thread-specific.exp: Ditto.
8054 * gdb.threads/thread-unwindonsignal.exp: Ditto.
8055 * gdb.threads/threadapply.exp: Ditto.
8056 * gdb.threads/watchthreads.exp: Ditto.
8057 * gdb.threads/watchthreads2.exp: Ditto.
8058
89493308
MS
8059 * gdb.python/py-block.exp: Use gdb_test_no_output.
8060 * gdb.python/py-prettyprint.exp: Ditto.
8061 * gdb.python/py-template.exp: Ditto.
8062 * gdb.python/py-value.exp: Ditto.
8063
8064 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
8065 * gdb.reverse/watch-reverse.exp: Ditto.
8066
8067 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
8068 * gdb.server/ext-run.exp: Ditto.
8069
019ebafc
MS
8070 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
8071 * gdb.dwarf2/dw2-compressed.exp: Ditto.
8072 * gdb.dwarf2/dw2-intercu.exp: Ditto.
8073 * gdb.dwarf2/dw2-intermix.exp: Ditto.
8074 * gdb.dwarf2/dw2-producer.exp: Ditto.
8075 * gdb.dwarf2/mac-fileno.exp: Ditto.
8076
8077 * gdb.gdb/observer.exp: Use gdb_test_no_output.
8078 * gdb.gdb/selftest.exp: Ditto.
8079
8080 * gdb.multi/base.exp: Use gdb_test_no_output.
8081
8082 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
8083
3e0ca3a5
JK
80842010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8085
8086 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
8087
9db70545
MS
80882010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
8089
a8d52276
MS
8090 * gdb.cp/class2.exp: Use gdb_test_no_output.
8091 * gdb.cp/classes.exp: Ditto.
8092 * gdb.cp/extern-c.exp: Ditto.
8093 * gdb.cp/inherit.exp: Ditto.
8094 * gdb.cp/maint.exp: Ditto.
8095 * gdb.cp/mb-inline.exp: Ditto.
8096 * gdb.cp/mb-templates.exp: Ditto.
8097 * gdb.cp/method2.exp: Ditto.
8098 * gdb.cp/misc.exp: Ditto.
8099 * gdb.cp/ovldbreak.exp: Ditto.
8100 * gdb.cp/punctuator.exp: Ditto.
8101 * gdb.cp/templates.exp: Ditto.
8102 * gdb.cp/virtbase.exp: Ditto.
8103
889bf7c5 8104 * gdb.threads/attach-stopped.exp:
9db70545 8105 Replace uses of send_gdb / gdb_expect.
889bf7c5 8106 * gdb.threads/attachstop-mt.exp:
9db70545 8107 Replace uses of send_gdb / gdb_expect.
889bf7c5 8108 * gdb.threads/gcore-thread.exp:
9db70545 8109 Replace uses of send_gdb / gdb_expect.
889bf7c5 8110 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
8111 Replace uses of send_gdb / gdb_expect.
8112 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 8113 * gdb.threads/print-threads.exp:
9db70545
MS
8114 Replace uses of send_gdb / gdb_expect.
8115 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
8116 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
8117 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
8118
8119 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
8120 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
8121 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
8122 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
8123 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
8124 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
8125 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
8126 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
8127 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
8128 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
8129 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
8130
359cc68c
JK
81312010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8132
8133 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
8134
7d3fe98e
SW
81352010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
8136
8137 * gdb.cp/koenig.exp: Added new test case.
8138 * gdb.cp/koenig.cc: Ditto.
8139
27d3a1a2
MS
81402010-06-01 Michael Snyder <msnyder@vmware.com>
8141
8142 * gdb.base/arithmet.exp: Use gdb_test_no_output.
8143 * gdb.base/arrayidx.exp: Ditto.
8144 * gdb.base/attach.exp: Ditto.
8145 * gdb.base/auxv.exp: Ditto.
8146 * gdb.base/bigcre.exp: Ditto.
8147 * gdb.base/break-always.exp: Ditto.
8148 * gdb.base/break-interp.exp: Ditto.
8149 * gdb.base/break.exp: Ditto.
8150 * gdb.base/breakpoint-shadow.exp: Ditto.
8151 * gdb.base/call-ar-st.exp: Ditto.
8152 * gdb.base/call-sc.exp: Ditto.
8153 * gdb.base/call-signal-resume.exp: Ditto.
8154 * gdb.base/callfuncs.exp: Ditto.
8155 * gdb.base/catch-syscall.exp: Ditto.
8156 * gdb.base/charset.exp: Ditto.
8157 * gdb.base/code-expr.exp: Ditto.
8158 * gdb.base/commands.exp: Ditto.
8159 * gdb.base/cond-expr.exp: Ditto.
8160 * gdb.base/condbreak.exp: Ditto.
8161 * gdb.base/cursal.exp: Ditto.
8162 * gdb.base/cvexpr.exp: Ditto.
8163 * gdb.base/default.exp: Ditto.
8164 * gdb.base/del.exp: Ditto.
8165 * gdb.base/detach.exp: Ditto.
8166 * gdb.base/display.exp: Ditto.
8167 * gdb.base/ena-dis-br.exp: Ditto.
8168 * gdb.base/eval-skip.exp: Ditto.
8169 * gdb.base/foll-fork.exp: Ditto.
8170 * gdb.base/foll-vfork.exp: Ditto.
8171 * gdb.base/frame-args.exp: Ditto.
8172 * gdb.base/funcargs.exp: Ditto.
8173 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8174 * gdb.base/gdbvars.exp: Ditto.
8175 * gdb.base/help.exp: Ditto.
8176 * gdb.base/ifelse.exp: Ditto.
8177 * gdb.base/included.exp: Ditto.
8178 * gdb.base/list.exp: Ditto.
8179 * gdb.base/macscp.exp: Ditto.
8180 * gdb.base/maint.exp: Ditto.
8181 * gdb.base/multi-fork.exp: Ditto.
8182 * gdb.base/overlays.exp: Ditto.
8183 * gdb.base/page.exp: Ditto.
8184 * gdb.base/pending.exp: Ditto.
8185 * gdb.base/pointers.exp: Ditto.
8186 * gdb.base/pr11022.exp: Ditto.
8187 * gdb.base/prelink.exp: Ditto.
8188 * gdb.base/printcmds.exp: Ditto.
8189 * gdb.base/psymtab.exp: Ditto.
8190 * gdb.base/randomize.exp: Ditto.
8191 * gdb.base/relational.exp: Ditto.
8192 * gdb.base/relocate.exp: Ditto.
8193 * gdb.base/remote.exp: Ditto.
8194 * gdb.base/sepdebug.exp: Ditto.
8195 * gdb.base/set-lang-auto.exp: Ditto.
8196 * gdb.base/setshow.exp: Ditto.
8197 * gdb.base/setvar.exp: Ditto.
8198 * gdb.base/signals.exp: Ditto.
8199 * gdb.base/signull.exp: Ditto.
8200 * gdb.base/sigstep.exp: Ditto.
8201 * gdb.base/sizeof.exp: Ditto.
8202 * gdb.base/solib-disc.exp: Ditto.
8203 * gdb.base/store.exp: Ditto.
8204 * gdb.base/structs.exp: Ditto.
8205 * gdb.base/structs2.exp: Ditto.
8206 * gdb.base/subst.exp: Ditto.
8207 * gdb.base/term.exp: Ditto.
8208 * gdb.base/trace-commands.exp: Ditto.
8209 * gdb.base/unwindonsignal.exp: Ditto.
8210 * gdb.base/valgrind-db-attach.exp: Ditto.
8211 * gdb.base/varargs.exp: Ditto.
8212 * gdb.base/watch-cond.exp: Ditto.
8213 * gdb.base/watch_thread_num.exp: Ditto.
8214 * gdb.base/watchpoint-cond-gone.exp: Ditto.
8215 * gdb.base/watchpoint.exp: Ditto.
8216 * gdb.base/whatis-exp.exp: Ditto.
8217
f8d3bf8f
MS
82182010-06-01 Michael Snyder <msnyder@vmware.com>
8219
8220 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
8221 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
8222 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
8223 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
8224 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
8225 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
8226 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
8227 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
8228 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
8229 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
8230 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
8231 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
8232 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
8233 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
8234 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
8235
3f9e0d32
JK
82362010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8237
8238 * gdb.base/commands.exp (begin commands on watch): Remove excessive
8239 trailing newline.
8240 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
8241 * gdb.java/jmisc.exp (p *args\n): Rename to ...
8242 (p *args): ... here and remove excessive trailing newline.
8243
f629457d
JB
82442010-05-31 Joel Brobecker <brobecker@adacore.com>
8245
8246 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
8247
09eef106
JK
82482010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8249
8250 Accept the new Linux kernel "t (tracing stop)" string.
8251 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
8252 Update comment.
8253 (state_wait) <T (tracing stop)>: New.
8254 (main): Update the state_wait expect string.
8255
94f31136
PA
82562010-05-28 Pedro Alves <pedro@codesourcery.com>
8257
8258 * limits.c, limits.exp: Delete files.
8259 * Makefile.in (clean mostlyclean): Adjust.
8260 * tracecmd.exp: Adjust.
8261
096554ab
JK
82622010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8263
8264 * gdb.base/tui-layout.exp: New.
8265
27d3a1a2 82662010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 8267
889bf7c5 8268 * gdb.reverse/break-precsave.exp:
bcd2dc50 8269 Replace uses of send_gdb / gdb_expect.
889bf7c5 8270 * gdb.reverse/break-reverse.exp:
bcd2dc50 8271 Replace uses of send_gdb / gdb_expect.
889bf7c5 8272 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 8273 Replace uses of send_gdb / gdb_expect.
889bf7c5 8274 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 8275 Replace uses of send_gdb / gdb_expect.
889bf7c5 8276 * gdb.reverse/finish-precsave.exp:
bcd2dc50 8277 Replace uses of send_gdb / gdb_expect.
889bf7c5 8278 * gdb.reverse/finish-reverse.exp:
bcd2dc50 8279 Replace uses of send_gdb / gdb_expect.
889bf7c5 8280 * gdb.reverse/i386-precsave.exp:
bcd2dc50 8281 Replace uses of send_gdb / gdb_expect.
889bf7c5 8282 * gdb.reverse/i386-reverse.exp:
bcd2dc50 8283 Replace uses of send_gdb / gdb_expect.
889bf7c5 8284 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 8285 Replace uses of send_gdb / gdb_expect.
889bf7c5 8286 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 8287 Replace uses of send_gdb / gdb_expect.
889bf7c5 8288 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 8289 Replace uses of send_gdb / gdb_expect.
889bf7c5 8290 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 8291 Replace uses of send_gdb / gdb_expect.
889bf7c5 8292 * gdb.reverse/machinestate.exp:
bcd2dc50 8293 Replace uses of send_gdb / gdb_expect.
889bf7c5 8294 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 8295 Replace uses of send_gdb / gdb_expect.
889bf7c5 8296 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 8297 Replace uses of send_gdb / gdb_expect.
889bf7c5 8298 * gdb.reverse/solib-precsave.exp:
bcd2dc50 8299 Replace uses of send_gdb / gdb_expect.
889bf7c5 8300 * gdb.reverse/solib-reverse.exp:
bcd2dc50 8301 Replace uses of send_gdb / gdb_expect.
889bf7c5 8302 * gdb.reverse/step-precsave.exp:
bcd2dc50 8303 Replace uses of send_gdb / gdb_expect.
889bf7c5 8304 * gdb.reverse/step-reverse.exp:
bcd2dc50 8305 Replace uses of send_gdb / gdb_expect.
889bf7c5 8306 * gdb.reverse/until-precsave.exp:
bcd2dc50 8307 Replace uses of send_gdb / gdb_expect.
889bf7c5 8308 * gdb.reverse/until-reverse.exp:
bcd2dc50 8309 Replace uses of send_gdb / gdb_expect.
889bf7c5 8310 * gdb.reverse/watch-precsave.exp:
bcd2dc50 8311 Replace uses of send_gdb / gdb_expect.
889bf7c5 8312 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
8313 Replace uses of send_gdb / gdb_expect.
8314
3def43e0
JK
83152010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8316
8317 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
8318 excessive newline.
8319
27d3a1a2 83202010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
8321
8322 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
8323 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
8324 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
8325 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
8326 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
8327 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
8328 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
8329 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
8330 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
8331 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
8332 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
8333 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
8334 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
8335 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
8336 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
8337 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
8338 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
8339 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
8340 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 8341
27d3a1a2 83422010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 8343
22454424
MS
8344 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
8345 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
8346
8347 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
8348 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
8349 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
8350
889bf7c5 8351 * gdb.reverse/consecutive-reverse.exp:
22454424 8352 Replace uses of send_gdb / gdb_expect.
889bf7c5 8353 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
8354 Replace uses of send_gdb / gdb_expect.
8355
8356 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
8357 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
8358 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 8359 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
8360 Replace uses of send_gdb / gdb_expect.
8361 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
8362 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
8363 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
8364 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
8365 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
8366 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
8367 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
8368 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
8369 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
8370
83712010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 8372
22454424 8373 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8374
22454424 8375 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8376
22454424
MS
8377 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
8378 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
8379 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
8380 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
8381 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
8382 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
8383 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
8384 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
8385 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8386
6e5f2c59
TT
83872010-05-25 Tom Tromey <tromey@redhat.com>
8388
8389 * gdb.base/macscp.exp: Add missing space after setup_kfail.
8390
bbc8b958
TT
83912010-05-25 Tom Tromey <tromey@redhat.com>
8392
8393 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
8394 argument order.
8395 * gdb.base/macscp.exp: Fix setup_kfail argument order.
8396 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
8397 order.
8398 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
8399 order.
8400 * gdb.base/call-sc.exp (setup_kfails): Remove.
8401 (setup_compiler_kfails): Remove.
8402 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
8403 argument order.
8404 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
8405 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
8406 (advancei): Fix setup_kfail argument order.
8407 * gdb.base/radix.exp: Fix setup_kfail argument order.
8408 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
8409 order.
8410 * gdb.base/structs.exp (setup_kfails): Remove.
8411 (setup_compiler_kfails): Fix setup_kfail argument order.
8412 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
8413 order.
8414 * gdb.java/jmain.exp: Fix setup_kfail argument order.
8415 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
8416 setup_kfail argument order.
8417 * gdb.cp/overload.exp: Fix setup_kfail argument order.
8418
83d1babf
TT
84192010-05-25 Tom Tromey <tromey@redhat.com>
8420
8421 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
8422
6acb16a2
MS
84232010-05-25 Michael Snyder <msnyder@vmware.com>
8424
8425 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
8426 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
8427 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
8428 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
8429 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
8430 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
8431 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
8432 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
8433 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
8434 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
8435 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
8436 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
8437 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
8438 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
8439 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
8440 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
8441 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
8442 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
8443 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
8444 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
8445 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
8446 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
8447 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
8448 * gdb.base/default.exp: Replace send_gdb with gdb_test.
8449 * gdb.base/define.exp: Replace send_gdb with gdb_test.
8450 * gdb.base/display.exp: Replace send_gdb with gdb_test.
8451 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
8452 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
8453 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
8454 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
8455 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
8456 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
8457 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
8458 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
8459 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
8460 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
8461 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
8462 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
8463 * gdb.base/help.exp: Replace send_gdb with gdb_test.
8464 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
8465 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
8466 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
8467 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
8468 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
8469 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
8470 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
8471 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 8472 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
8473
84742010-05-25 Doug Evans <dje@google.com>
8475
8476 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
8477 gdb.string_to_argv.
ad3986f0 8478
d3b1e874
TT
84792010-05-21 Tom Tromey <tromey@redhat.com>
8480
8481 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
8482 Call it.
8483 * gdb.dwarf2/pieces.S: Update.
8484 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
8485
cb826367
TT
84862010-05-21 Tom Tromey <tromey@redhat.com>
8487
8488 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
8489 Call it.
8490 * gdb.dwarf2/pieces.c (struct C): New.
8491 (f6): New function.
8492 * gdb.dwarf2/pieces.S: Replace.
8493
74de6778
TT
84942010-05-21 Tom Tromey <tromey@redhat.com>
8495
8496 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
8497 Call it.
8498
afd74c5f
TT
84992010-05-21 Tom Tromey <tromey@redhat.com>
8500
8501 * gdb.dwarf2.pieces.exp: New file.
8502 * gdb.dwarf2.pieces.S: New file.
8503 * gdb.dwarf2.pieces.c: New file.
8504
a7b75dfd 85052010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 8506 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
8507
8508 * lib/gdb.exp (gdb_test_no_output): New function.
8509 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
8510 when testing commands that should produce no output.
8511
c81c812a
JB
85122010-05-17 Joel Brobecker <brobecker@adacore.com>
8513
8514 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
8515 parameter that we want to watch being a constant.
8516
0cce5bd9
JB
85172010-05-17 Joel Brobecker <brobecker@adacore.com>
8518
8519 * gdb.ada/cond_lang: New testcase.
8520
47050449
JB
85212010-05-17 Joel Brobecker <brobecker@adacore.com>
8522
8523 * lib/gdb.exp (banned_variables): New variable/constant.
8524 (gdb_init): Add write trace on variables listed in banned_variables.
8525 (gdb_finish): Remove write traces on variables listed in
8526 banned_variables.
8527
77c01586
JB
85282010-05-17 Joel Brobecker <brobecker@adacore.com>
8529
8530 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
8531 * gdb.cp/koenig.exp: Likewise.
8532
88d4aea7
PM
85332010-05-14 Phil Muldoon <pmuldoon@redhat.com>
8534
889bf7c5 8535 PR python/11482
88d4aea7
PM
8536
8537 * gdb.python/py-value.exp (test_value_hash): New function.
8538
f5a010c0
PM
85392010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
8540
8541 PR exp/11530.
8542 * gdb.base/gdb11530.c: New file.
8543 * gdb.base/gdb11530.exp: New file.
8544
8ef4892f
JK
85452010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8546
8547 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
8548 * gdb.dwarf2/dw2-modula2-self-type.S: New.
8549
7322dca9
SW
85502010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
8551
8552 * gdb.cp/koenig.exp: New test.
8553 * gdb.cp/koenig.cc: New test program.
8554
02e7ea18
JB
85552010-05-05 Joel Brobecker <brobecker@adacore.com>
8556
8557 Remove the use of prms_id and bug_id throughout the testsuite.
8558
e1c34c5d
PM
85592010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
8560
8561 PR exp/11349.
8562 * testsuite/gdb.cp/ref-types.exp: Add test to examine
8563 use a reference local variable.
8564
8e1d0c49
JK
85652010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8566
8567 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
8568 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
8569 variable different_dir. Move debugfile into a full directory pathname
8570 under DIFFERENT_DIR.
8571 * lib/gdb.exp (separate_debug_filename): Remove.
8572 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
8573 variable debug_dir and mkdir of it. Update function comments.
8574
e66408ed
PA
85752010-04-29 Pedro Alves <pedro@codesourcery.com>
8576
8577 PR gdb/11557
8578
8579 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
8580 files.
8581
d7b32ed3
PM
85822010-04-29 Phil Muldoon <pmuldoon@redhat.com>
8583
889bf7c5 8584 * gdb.python/py-param.exp: New File.
d7b32ed3 8585
6aecb9c2
JB
85862010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
8587
8588 * gdb.base/default.exp: Fix "set language" test.
8589
bdf92a1c
PM
85902010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
8591
8592 PR breakpoints/11531.
8593 * gdb.base/gdb11531.c: New file.
8594 * gdb.base/gdb11531.exp: New file.
8595
3f172e24
TT
85962010-04-26 Tom Tromey <tromey@redhat.com>
8597
8598 * gdb.base/completion.exp: Add tests for completion and deprecated
8599 commands.
8600
64af4c92
JK
86012010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8602
8603 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
8604 (print /x char_array): Escape curly brackets.
8605
492928e4
JK
86062010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8607
8608 Fix deadlock on looped list of loaded shared objects.
8609 * gdb.base/solib-corrupted.exp: New.
8610
66d09542
DE
86112010-04-23 Doug Evans <dje@google.com>
8612
8613 * gdb.python/py-section-script.c: New file.
8614 * gdb.python/py-section-script.exp: New file.
8615 * gdb.python/py-section-script.py: New file.
8616
8bd10a10
CM
86172010-04-20 Chris Moller <cmoller@redhat.com>
8618
8619 PR 10179
8620
8621 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
8622 * gdb.base/pr10179-a.c:
8623 * gdb.base/pr10179-b.c:
8624 * gdb.base/pr10179.exp: New files.
8625
c0201579
JK
86262010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8627
8628 Fix crashes on dangling display expressions.
8629 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
8630 is SEP.
8631 (lib_flags): Remove the "debug" keyword.
8632 (libsepdebug): New variable for iterating new loop.
8633 (save_pf_prefix): New variable wrapping the loop.
8634 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
8635 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
8636
793b0ff8
PM
86372010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8638
8639 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
8640
097f51f7
PM
86412010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8642
8643 PR stabs/11479.
8644 * gdb.stabs/gdb11479.exp: New file.
8645 * gdb.stabs/gdb11479.c: New file.
8646
9a22f0d0
PM
86472010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8648
8649 * gdb.base/charset.c (Strin16, String32): New variables.
8650 * gdb.base/charset.exp (gdb_test): Test correct display
8651 of 16 or 32 bit strings.
8652
86532010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
8654
8655 PR 9167
8656 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
8657 * gdb.cp/pr9167.cc: New file.
8658 * gdb.cp/pr9167.exp: New file.
8659
8660
6e354e5e
PM
86612010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
8662
8663 PR pascal/11492.
8664 * gdb.pascal/gdb11492.pas: New file.
8665 * gdb.pascal/gdb11492.exp: New file.
8666
be942545
JB
86672010-04-20 Joel Brobecker <brobecker@adacore.com>
8668
1667e6e3 8669 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 8670
0c3acc09
JB
86712010-04-20 Joel Brobecker <brobecker@adacore.com>
8672
8673 * gdb.ada/dyn_loc: New testcase.
8674
ec31cde5
CM
86752010-04-20 Chris Moller <cmoller@redhat.com>
8676
8677 PR 10867
889bf7c5 8678
ec31cde5
CM
8679 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
8680 * gdb.cp/pr10687.cc: New file.
8681 * gdb.cp/pr10687.exp: New file.
8682
8683
ce4b0682
SDJ
86842010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8685 Sergio Durigan Junior <sergiodj@redhat.com>
8686
8687 * gdb.fortran/logical.exp: New testcase.
8688 * gdb.fortran/logical.f90: New file.
8689
3436961f
DE
86902010-04-19 Doug Evans <dje@google.com>
8691
8692 * gdb.base/help.exp (help source): Update expected output.
8693
4d836c09
JK
86942010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8695
8696 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
8697 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
8698 gdb_exit and return.
8699 (executable): New variable.
8700 (binfile): Use it.
8701
6149aea9
PA
87022010-04-19 Pedro Alves <pedro@codesourcery.com>
8703
8704 PR breakpoints/8554.
8705
8706 * gdb.trace/save-trace.exp: Adjust.
8707
ed41462c
L
87082010-04-17 H.J. Lu <hongjiu.lu@intel.com>
8709
8710 PR corefiles/11511
8711 * gdb.arch/system-gcore.exp: New.
8712 * gdb.arch/gcore.c: Likewise.
8713
3f7b2faa
DE
87142010-04-15 Doug Evans <dje@google.com>
8715
fa33c3cd
DE
8716 * gdb.python/py-progspace.c: New file.
8717 * gdb.python/py-progspace.exp: New file.
8718
3f7b2faa
DE
8719 * gdb.base/source.exp: Add tests for "source -s".
8720
79f283fe
PM
87212010-04-14 Phil Muldoon <pmuldoon@redhat.com>
8722
8723 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
8724 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
8725 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
8726 * gdb.python/py-mi.exp: New test for to_string returning None.
8727
fc8eb08a
PM
87282010-04-12 Phil Muldoon <pmuldoon@redhat.com>
8729
8730 * gdb.python/py-breakpoint.c: Make result global.
8731
26e197f6
JK
87322010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8733
8734 Fix non-GNU make compatibility.
8735 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
8736
adc36818
PM
87372010-04-09 Phil Muldoon <pmuldoon@redhat.com>
8738
8739 * gdb.python/py-breakpoint.exp: New File.
8740 * gdb.python/py-breakpoint.C: Ditto.
8741
64e17368
SS
87422010-04-08 Stan Shebs <stan@codesourcery.com>
8743
8744 * gdb.trace/actions.exp: Clear default-collect.
8745 * gdb.trace/save-trace.exp: Clear default-collect.
8746
fff5cc64
PM
87472010-04-08 Phil Muldoon <pmuldoon@redhat.com>
8748
8749 * gdb.python/py-value: Add null string variable.
8750 (test_lazy_string): Test zero length, NULL address lazy
8751 strings.
8752
a055a187
L
87532010-04-07 H.J. Lu <hongjiu.lu@intel.com>
8754
8755 * gdb.arch/i386-avx.c: New.
8756 * gdb.arch/i386-avx.exp: Likewise.
8757
8758 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
8759
96e39866
DE
87602010-04-06 Doug Evans <dje@google.com>
8761
8762 * gdb.base/source-test.gdb: New file.
8763 * gdb.base/source.exp: Test source -v.
8764
5984a431
UW
87652010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8766
8767 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
8768
ec8a089a
PM
87692010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
8770
8771 * gdb.stabs/aout.sed: Convert all backslash to double backslash
8772 within one line, unless it is followed by a double quote.
8773 * gdb.stabs/hppa.sed: Idem.
8774 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
8775 * gdb.stabs/weird.exp: Check for correct parsing of
8776 char and string constants.
ec8a089a
PM
8777 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
8778 in .stabs to .stabx substitution.
8779
fce3c1f0
SS
87802010-04-05 Stan Shebs <stan@codesourcery.com>
8781
8782 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
8783 constant global.
8784 * gdb.trace/tfile.exp: Try to print them.
8785
d77f58be
SS
87862010-04-04 Stan Shebs <stan@codesourcery.com>
8787
8788 * gdb.base/completion.exp: Update for new "info watchpoints".
8789 * gdb.base/default.exp: Ditto.
8790 * gdb.base/help.exp: Ditto.
8791 * gdb.base/watchpoint.exp: Ditto.
8792 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 8793
af54718e
SS
87942010-04-04 Stan Shebs <stan@codesourcery.com>
8795
8796 * gdb.trace/tfile.exp: Sharpen tfind test.
8797
74d1f91e
JK
87982010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8799
8800 * gdb.base/break-entry.exp: New.
8801
eb8e76db 88022010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 8803 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
8804
8805 * gdb.reverse/i386-sse-reverse.exp: New file.
8806 * gdb.reverse/i386-sse-reverse.c: New file.
8807
bf65cad8
PA
88082010-04-02 Pedro Alves <pedro@codesourcery.com>
8809
8810 * gdb.trace/tfind.exp: Adjust expected disassembly output.
8811
fff87407
SS
88122010-04-01 Stan Shebs <stan@codesourcery.com>
8813
8814 * gdb.trace/actions.exp: Tweak expected output.
8815 * gdb.trace/while-stepping.exp: Tweak expected output.
8816
fe01d668
L
88172010-04-01 H.J. Lu <hongjiu.lu@intel.com>
8818
8819 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
8820
86b17b60
PA
88212010-04-01 Pedro Alves <pedro@codesourcery.com>
8822
8823 * gdb.base/commands.exp: Adjust.
8824 * gdb.cp/extern-c.exp: Adjust.
8825
2c58c0a9
PA
88262010-04-01 Pedro Alves <pedro@codesourcery.com>
8827
8828 * gdb.trace/collection.c (local_test_func): Define a local struct,
8829 and instanciate it.
8830
0db9b91c
PA
88312010-04-01 Pedro Alves <pedro@codesourcery.com>
8832
8833 * gdb.trace/collection.exp (gdb_collect_args_test)
8834 (gdb_collect_argarray_test): XFAIL the tests that assume the
8835 argarray argument's elements are collected.
8836
8072405b
JK
88372010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8838
8839 * gdb.dwarf2/dw2-bad-parameter-type.exp,
8840 gdb.dwarf2/dw2-bad-parameter-type.S: New.
8841
8bf6485c
SS
88422010-03-31 Stan Shebs <stan@codesourcery.com>
8843
8844 * gdb.trace/save-trace.exp: Test save/restore of default-collect
8845 and tracepoint conditionals.
8846 (gdb_verify_tracepoints): Delete unused return.
8847
fd7f724a
KS
88482010-03-26 Keith Seitz <keiths@redhat.com>
8849
8850 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
8851 appear in the output before main.
8852 Remove KFAIL for gdb/2215 aka bz 9320.
8853
8d9e7719
DE
88542010-03-30 Doug Evans <dje@google.com>
8855
0906dd0b
DE
8856 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
8857 by dejagnu.
8858 * gdb.arch/amd64-dword.exp: Ditto.
8859
8d9e7719
DE
8860 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
8861 match.
8862 (break printf): Ditto.
8863
1da644f0
SW
88642010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
8865
8866 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
8867 gcc < 4.4.
8868 * gdb.cp/shadow.exp: Ditto.
8869
a8121990
PA
88702010-03-29 Pedro Alves <pedro@codesourcery.com>
8871
8872 * gdb.trace/collection.exp (run_trace_experiment): Make sure
8873 "tstart" is silent.
8874
6e79d367
PA
88752010-03-29 Pedro Alves <pedro@codesourcery.com>
8876
8877 * gdb.trace/collection.exp (executable): New.
8878 (binfile): Use it.
8879 (fpreg, spreg, pcreg): New.
8880 (test_register): Use gdb_test_multiple. Pass /x to print.
8881 (prepare_for_trace_test): New.
8882 (run_trace_experiment): Use "continue", not gdb_run_cmd.
8883 (gdb_collect_args_test, gdb_collect_argstruct_test)
8884 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
8885 prepare_for_trace_test.
8886 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
8887 fpreg, spreg and pcreg.
8888 (gdb_collect_expression_test, gdb_collect_globals_test): Use
8889 prepare_for_trace_test.
8890 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
8891 try to detect tracing support here. Don't set breakpoints at
8892 `begin' or `end' here.
8893 <global scope>: Use clean_restart. Run to main before checking
8894 for tracing support. Check for for tracing support here.
8895
09248348
JK
88962010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8897
8898 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
8899 " as $displacement" to "seen displacement message".
8900
d350db38
PA
89012010-03-28 Pedro Alves <pedro@codesourcery.com>
8902
8903 * gdb.trace/while-dyn.exp (executable): New variable.
8904 (binfile): Use it.
8905 (test_while_stepping): New function. Move most tests here. Call
8906 it once for each of the while-stepping, stepping and ws aliases.
8907
907af001
UW
89082010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8909
8910 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
8911 that do not provide the tagless_struct type name at all.
8912 (test_print_anon_union): Do not check value of uninitialized
8913 union member. Do not use cp_test_ptype_class, so we can accept
8914 "long" as well as "long int".
8915
610197fd
PA
89162010-03-26 Pedro Alves <pedro@codesourcery.com>
8917
8918 * gdb.trace/tfile.c (tohex, bin2hex): New.
8919 (write_error_trace_file): Hexify error description.
8920
6c28cbf2
SS
89212010-03-25 Stan Shebs <stan@codesourcery.com>
8922
8923 * gdb.trace/tfile.c: Generate an additional trace file, improve
8924 portability.
8925 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
8926 files in a better way.
8927
e62b8c7e
KS
89282010-03-25 Keith Seitz <keiths@redhat.com>
8929
8930 * gdb.java/jprint.exp: XFAIL printing of static class members
8931 because of GCC debuginfo problem.
8932
82ccf5a5
JK
89332010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8934
8935 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
8936
293e2f9e
DJ
89372010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8938
8939 * gdb.base/completion.exp: Allow long instead of long int.
8940 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
8941 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
8942 variable p.
8943 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
8944 * gdb.base/pointers.exp: Allow long instead of long int.
8945 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
8946 * gdb.base/step-line.exp: Allow a directory before the source file name.
8947
95a42b64
TT
89482010-03-24 Tom Tromey <tromey@redhat.com>
8949
8950 PR breakpoints/9352:
8951 * gdb.base/default.exp: Update.
8952 * gdb.base/commands.exp: Update.
8953 * gdb.cp/extern-c.exp: Test setting commands on multiple
8954 breakpoints at once.
8955
2390201f
DJ
89562010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8957
8958 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
8959 if gdb,nosignals.
8960 * gdb.base/watchpoints.c: Do not include unnecessary headers.
8961 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
8962 exited".
8963
8c9a6790
SS
89642010-03-24 Stan Shebs <stan@codesourcery.com>
8965
8966 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
8967
a6c727b2
DJ
89682010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8969
8970 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
8971 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
8972 argument. Handle "short" and "long".
8973 (Top level): Pass overprototyped output for old_fptr and xptr.
8974
4dfd5423
PA
89752010-03-23 Pedro Alves <pedro@codesourcery.com>
8976
8977 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
8978 format strings and add casts to avoid compiler warnings.
8979
89802010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
8981
8982 * lib/trace-support.exp (gdb_trace_setactions):
8983 Don't expect whitespace after ">" prompt.
8984 * gdb.trace/actions.exp: Adjust for output changes.
8985 * gdb.trace/while-stepping.exp: Likewise.
8986
c847d045
JK
89872010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8988
8989 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
8990 and r157645).
8991
5f717f1d
JK
89922010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8993
8994 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
8995 New.
8996
7d6d51d5
DJ
89972010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
8998
8999 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
9000 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
9001
3b11a015
SS
90022010-03-19 Stan Shebs <stan@codesourcery.com>
9003
9004 * gdb.trace/ax.exp: New file.
9005
d7d158ed
DE
90062010-03-19 Doug Evans <dje@google.com>
9007
6bb85cd1
DE
9008 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
9009 output from gcc.
9010
d7d158ed
DE
9011 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
9012 named /usr/sbin/prelink<foo>.
9013
4daf5ac0
SS
90142010-03-18 Stan Shebs <stan@codesourcery.com>
9015
9016 * gdb.trace/circ.exp: Test circular-trace-buffer.
9017 * gdb.trace/tfile.exp: Update tstatus test.
9018
e8d05480
JB
90192010-03-18 Joel Brobecker <brobecker@adacore.com>
9020
9021 * gdb.dwarf2/dw2-anonymous-func.S: New file.
9022 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
9023
441b986a
UW
90242010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9025
9026 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
9027
4247603b
PA
90282010-03-18 Pedro Alves <pedro@codesourcery.com>
9029
9030 * gdb.base/default.exp: Adjust the expected output of the finish
9031 and until commands when the inferior is not being run.
9032
13387711
SW
90332010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
9034
9035 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
9036 * gdb.cp/nsusing.exp: Ditto.
9037
6e31430b
TT
90382010-03-15 Tom Tromey <tromey@redhat.com>
9039
9040 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
9041 * gdb.cp/userdef.cc (operator==): New function.
9042 (main): New locals mem1, mem2.
9043
e2d69cb5
JZ
90442010-03-15 Jie Zhang <jie@codesourcery.com>
9045
9046 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
9047 Declare and use new loadtimeout variable.
9048
f572f0a9
DJ
90492010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
9050
9051 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
9052 Use gdb_load later.
9053
51f4c0b0
PA
90542010-03-14 Pedro Alves <pedro@codesourcery.com>
9055
9056 * gdb.base/solib-disc.c (main): Make format of fprintf a string
9057 literal. Add missing endlines to prints to stderr.
9058
1c809c68
TT
90592010-03-12 Tom Tromey <tromey@redhat.com>
9060
9061 PR c++/9708:
9062 * gdb.cp/m-static.exp: Add regression test.
9063 * gdb.cp/m-static.cc (method): New method.
9064 (main): Call it.
9065
00ae8fef
SW
90662010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
9067
9068 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
9069 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
9070
759f0f0b
PA
90712010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
9072
21e24d21
PA
9073 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
9074
90752010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
9076
759f0f0b
PA
9077 * lib/gdb.exp (skip_stl_tests): New.
9078 (gdb_compile): Symbian needs -ldl.
9079 (shlib_target_file): New.
9080 (shlib_symbol_file): New.
9081 (gdb_load_shlibs): Use shlib_target_file.
9082 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
9083 * gdb.cp/exception.exp: Use skip_stl_tests.
9084 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
9085 * gdb.cp/try_catch.exp: Use skip_stl_tests.
9086 * gdb.cp/mb-templates.exp: Ditto.
9087 * gdb.base/commands.exp: Relax regexes.
9088 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
9089 shlib_target_file and shlib_symbol_file.
9090 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
9091 sections.
9092 * gdb.base/ending-run.exp: Accept E32Main for symbian.
9093 * gdb.base/solib-disc.exp: Use
9094 shlib_target_file and shlib_symbol_file.
9095 * gdb.base/unload.exp: Don't skip on symbian. Use
9096 shlib_target_file and shlib_symbol_file.
9097 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
9098
6a8f2671 90992010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 9100
6a8f2671
PA
9101 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
9102 * gdb.trace/report.exp: Adjust for x86 and x86_64.
9103 Issue a tfind end before looking for a tracepoint frame.
9104 * gdb.trace/tfind.exp: Adjust tstatus output.
9105 Adjust disassembly output.
9106 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
9107
ccf26247
JK
91082010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9109
9110 * gdb.base/break-interp.exp: Create new displacement parameter value
9111 for the test_ld calls.
9112 (reach): New parameter displacement, verify its content. New push of
9113 pf_prefix "reach-$func:". Import global expect_out.
9114 (test_core): New parameter displacement, verify its content. New push
9115 of pf_prefix "core:". New command "set verbose on". Import global
9116 expect_out.
9117 (test_attach): New parameter displacement, verify its content. New
9118 push of pf_prefix "attach:". New command "set verbose on". Import
9119 global expect_out.
9120 (test_ld): New parameter displacement, pass it to the reach, test_core
9121 and test_attach calls and verify its content in the "ld.so exit" test.
9122 * gdb.base/prelink.exp: Remove gdb_exit and final return.
9123 (prelink): Update expected text, use gdb_test.
9124
e469c7fb
DE
91252010-03-10 Doug Evans <dje@google.com>
9126
9127 * gdb.base/checkpoint.exp: Fix comment.
9128 Lengthen timeout while doing >600 checkpoints test.
9129 Rename duplicate "kill all one" test to keep test names unique.
9130
60e1c644
PA
91312010-03-10 Pedro Alves <pedro@codesourcery.com>
9132
9133 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
9134
cec808ec
KS
91352010-03-08 Keith Seitz <keiths@redhat.com>
9136
889bf7c5
PA
9137 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
9138 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
9139 (dm_type_long): New function.
9140 (dm_type_unsigned_short): New function.
9141 (dm_type_unsigned_long): New function.
9142 (myint): New typedef.
9143 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
9144 long, unsigned shor and long, operator char*, and typedef.
9145 (test_lookup_operator_functions): Add operator char* test.
9146 (test_paddr_operator_functions): Likewise.
9147 (test_paddr_overloaded_functions): Use probe values for
9148 short, long, and unsigned short and long.
9149 (test_paddr_hairy_functions): If the demangler probe detected
9150 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
9151 demangler.
9152 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
9153 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
9154 and "print null_pmf".
9155 Add test "ptype a.*pmf".
9156 * gdb.cp/overload.exp: Allow optional "int" to appear with
9157 "short" and "long".
9158 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
9159 long expect value for men_overload1arg.
9160 Allow "int" to appear with "short" and "long".
9161 When testing "info break", add argument for main (void).
9162 Also allow "int" to appear with "short" and "long".
9163 Ditto with "unsigned" and "long long".
cec808ec
KS
9164 * gdb.java/jmain.exp: Do not enclose methods names in single
9165 quotes.
9166 * gdb.java/jmisc.exp: Likewise.
9167 * gdb.java/jprint.exp: Likewise.
9168 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
9169
9170 From Jan Kratochvil <jan.kratochvil@redhat.com>:
9171 * gdb.cp/exception.exp (backtrace after first throw)
9172 (backtrace after second throw): Allow a namespace before __cxa_throw.
9173 (backtrace after first catch, backtrace after second catch): Allow
9174 a namespace before __cxa_begin_catch.
9175
9176 * gdb.cp/cpexprs.exp: New file.
9177 * gdb.cp/cpexprs.cc: New file.
9178
9179 From Daniel Jacobowitz <dan@codesourcery.com>
9180 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
9181 to use string_to_regexp.
9182 (ctor, dtor): New functions. Use them to match constructor
9183 and destructor function types.
9184 (Top level): Use runto_main.
9185
f870a310
TT
91862010-03-05 Tom Tromey <tromey@redhat.com>
9187
9188 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
9189 gdb.target_charset.
9190 (pp_ns.to_string): Likewise.
9191
0c199f28
KS
91922010-03-04 Keith Seitz <keiths@redhat.com>
9193
9194 * gdb.cp/overload.exp: Test that the filename portion of a linespec
9195 can be quoted. Test that both the filename and function/line
9196 portions can be quoted at the same time.
9197
c7437ca6
PA
91982010-03-04 Pedro Alves <pedro@codesourcery.com>
9199
9200 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
9201
b111b805
DE
92022010-03-03 Doug Evans <dje@google.com>
9203
24486cb7
DE
9204 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
9205 libc contains libpthread.
9206
b111b805
DE
9207 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
9208 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
9209 of gdb_compile. Add another pattern to match android backtrace.
9210
a0e0ef55
TT
92112010-03-03 Tom Tromey <tromey@redhat.com>
9212
9213 PR gdb/11345:
9214 * gdb.base/printcmds.exp (test_printf): Add test.
9215
1ba53b71
L
92162010-03-02 H.J. Lu <hongjiu.lu@intel.com>
9217
9218 * gdb.arch/amd64-byte.exp: New.
9219 * gdb.arch/amd64-dword.exp: Likewise.
9220 * gdb.arch/amd64-pseudo.c: Likewise.
9221 * gdb.arch/amd64-word.exp: Likewise.
9222 * gdb.arch/i386-byte.exp: Likewise.
9223 * gdb.arch/i386-pseudo.c: Likewise.
9224 * gdb.arch/i386-word.exp: Likewise.
9225
f5dff777
DJ
92262010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9227
9228 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
9229 types. Add structreg, bitfields, and flags registers.
9230 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
9231 registers.
9232
90884b2b
L
92332010-03-01 H.J. Lu <hongjiu.lu@intel.com>
9234
9235 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
9236 (load_description): Set architecture if defined.
9237
dc00d89f
PM
92382010-02-28 Phil Muldoon <pmuldoon@redhat.com>
9239
9240 * gdb.python/py-frame.exp: Add read_var block tests.
9241 * gdb.python/py-frame.c (block): New function.
9242
0e095b7e
JK
92432010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9244 Daniel Jacobowitz <dan@codesourcery.com>
9245
9246 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
9247
624f1a65
DM
92482010-02-25 David S. Miller <davem@davemloft.net>
9249
9250 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
9251 fix logic for setting all_syscalls_numbers.
9252
f3e9a817
PM
92532010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9254
9255 * Makefile.in: Add py-block and py-symbol.
9256 * gdb.python/py-symbol.exp: New File.
9257 * gdb.python/py-symtab.exp: New File.
9258 * gdb.python/py-block.exp: New File.
9259 * gdb.python/py-symbol.c: New File.
9260 * gdb.python/py-block.c: New File.
9261
f6bbabf0
PM
92622010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9263
9264 PR python/11314
9265 * lib/gdb.exp (skip_python_tests): New function.
9266 * gdb.python/py-cmd.exp: Use skip_python_tests.
9267 * gdb.python/py-frame.exp: Likewise.
9268 * gdb.python/py-function.exp: Likewise.
9269 * gdb.python/py-prettyprint.exp: Likewise.
9270 * gdb.python/py-template.exp: Likewise.
9271 * gdb.python/py-type.exp: Likewise.
9272 * gdb.python/py-value.exp: Likewise.
9273
85d721b8
PA
92742010-02-22 Pedro Alves <pedro@codesourcery.com>
9275
9276 PR9605
9277
9278 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
9279
48e32051
TT
92802010-02-19 Tom Tromey <tromey@redhat.com>
9281
9282 PR c++/8693, PR c++/9496:
9283 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
9284 regression tests.
9285
ac9c0048
JK
92862010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9287
9288 Fix compatibility with m68k as.
9289 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
9290 Use only /* comments */.
9291
57bb97a4
UW
92922010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9293
9294 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
9295 * configure: Regenerate.
9296
7d1bf85c
DJ
92972010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
9298
9299 * gdb.python/py-type.exp: Check for Python support.
9300
061b5285
PA
93012010-02-17 Pedro Alves <pedro@codesourcery.com>
9302
9303 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
9304 `regsub' syntax available.
9305
f8a8bc2c
PA
93062010-02-17 Pedro Alves <pedro@codesourcery.com>
9307
9308 * gdb.base/shmain.c (main): Remove printf call.
9309 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
9310 * gdb.base/unload.c (main): Make format of fprintf a string
9311 literal. Add missing endlines to prints to stderr.
9312 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
9313
6f451e5e
TT
93142010-02-17 Tom Tromey <tromey@redhat.com>
9315
9316 * gdb.java/jprint.java (jprint.props): New field.
9317 * gdb.java/jprint.exp (set_lang_java): Add regression test.
9318
12d79008
PA
93192010-02-17 Pedro Alves <pedro@codesourcery.com>
9320
ef801a0e 9321 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
9322 available.
9323
d252f7e5
DJ
93242010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9325
9326 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
9327 creation to support remote host testing.
9328
67bdab6c
DJ
93292010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9330
9331 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
9332 Recognize "command not found".
9333
bb391223
DJ
93342010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9335
9336 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
9337 single-stepping.
9338
70362913
DJ
93392010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9340
9341 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
9342 if arguments are not supported.
9343
493f3c00
DJ
93442010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9345
9346 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
9347 be const or non-const.
9348
8034c749
DJ
93492010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9350
9351 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
9352 mi_send_resuming_command to send -exec-continue.
9353
791dfb64
DJ
93542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9355
9356 * gdb.base/list.exp (test_list_filename_and_function): Add test
9357 with single quotes.
9358 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
9359 matching.
9360 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
9361 Add KFAIL'd tests for PR gdb/11289.
9362
7c5fe868
DJ
93632010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9364
9365 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
9366
fdc498b8
DJ
93672010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9368
9369 * gdb.base/comp-dir/subdir/dummy.txt: New file.
9370 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
9371 a temporary directory.
9372
b519e2a6
DJ
93732010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9374
9375 * gdb.base/charset.exp: Use a single regular expression to match
9376 show host-charset and show target-charset output.
9377
74164c56
JK
93782010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9379
9380 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
9381 "Illegal process-id" expect string more exact.
9382 (attach to digits-starting nonsense is prohibited): New.
9383
701ed6dc
JK
93842010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9385
9386 * gdb.base/prelink.exp (set verbose on): New.
9387
889bf7c5 93882010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
9389
9390 * mi-reverse.exp: New file. Test for reverse option to the
9391 following MI commands: exec-continue, exec-finish, exec-next,
9392 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 9393
dadf0e9c
JB
93942010-02-09 Joel Brobecker <brobecker@adacore.com>
9395
9396 * gdb.ada/ptype_tagged_param: New testcase.
9397
714f19d5
TT
93982010-02-08 Tom Tromey <tromey@redhat.com>
9399
9400 PR c++/8017:
9401 * gdb.cp/overload.exp: Add tests.
9402 * gdb.cp/overload.cc (struct K): New.
9403 (namespace N): New.
9404 (main): Call new functions.
9405 (K::staticoverload): Define.
9406
889bf7c5 94072010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
9408
9409 PR gdb/10728
9410 * gdb.cp/pr10728-x.h: New file.
9411 * gdb.cp/pr10728-x.cc: New file.
9412 * gdb.cp/pr10728-y.cc: New file.
9413 * gdb.cp/pr10728.exp: New file.
9414 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
9415
889bf7c5 94162010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
9417
9418 PR gdb/9067
9419 * gdb.cp/pr9067.exp: New
9420 * gdb.cp/pr9067.cc: New
9421 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
9422
7b356089
JB
94232010-02-08 Joel Brobecker <brobecker@adacore.com>
9424
9425 * lib/gdb.exp (gdb_test_timeout): New global variable.
9426 Set it to timeout if not already set.
9427 (gdb_init): Reset the value of timeout to gdb_test_timeout.
9428
1be00882
DE
94292010-02-05 Doug Evans <dje@google.com>
9430
9431 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
9432 user.
9433
82856980
SW
94342010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
9435
9436 PR c++/7935:
9437 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
9438
1a334831
TT
94392010-02-04 Tom Tromey <tromey@redhat.com>
9440
9441 * gdb.cp/virtbase.exp: Make test case names unique.
9442
9c3c02fd
TT
94432010-02-02 Tom Tromey <tromey@redhat.com>
9444
9445 * gdb.cp/virtbase.exp: Add regression tests.
9446 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
9447 (main): Instantiate RHC.
9448
0cc2414c
TT
94492010-02-02 Tom Tromey <tromey@redhat.com>
9450
9451 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
9452 type-printing change.
9453
edf3d5f3
TT
94542010-02-02 Tom Tromey <tromey@redhat.com>
9455
9456 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
9457 * gdb.cp/virtbase.cc: New file.
9458 * gdb.cp/virtbase.exp: New file.
9459 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
9460
e4b7f41c
JK
94612010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9462
9463 PR libc/11214:
9464 * gdb.threads/current-lwp-dead.c: Include features.h.
9465 (HAS_NOMMU): New.
9466 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
9467
b381ea14
JK
94682010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9469
9470 * gdb.base/symbol-without-target_section.exp,
9471 gdb.base/symbol-without-target_section.c: New.
9472
c593ac0e
DJ
94732010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9474
9475 * gdb.base/bigcore.exp: Reset increased timeout.
9476 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
9477
db25f29d
DJ
94782010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9479
9480 * gdb.base/gcore.exp (capture_command_output): Use
9481 gdb_test_multiple.
9482
f9d67f43
DJ
94832010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9484
9485 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
9486 * gdb.arch/thumb2-it.exp (test_it_break): New function.
9487 (Top level): Call it.
9488
177321bd
DJ
94892010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9490
9491 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
9492
97f2ed50
DJ
94932010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9494
9495 * gdb.base/call-strs.exp, gdb.base/default.exp,
9496 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
9497 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
9498 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
9499 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
9500 gdb.base/watchpoint-solib.exp: Save and restore timeout.
9501 * gdb.base/ending-run.exp: Correct restore of timeout.
9502 * gdb.base/page.exp: Remove unnecessary timeout setting.
9503
e4e2711a
JB
95042010-01-29 Joel Brobecker <brobecker@adacore.com>
9505
9506 * gdb.ada/rec_return: New testcase.
9507
ba581dc1
JB
95082010-01-29 Joel Brobecker <brobecker@adacore.com>
9509
9510 * gdb.ada/call_pn: New testcase.
9511
4ea95be9
DJ
95122010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9513
9514 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
9515 (Top level): Use it to resume.
9516 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
9517 the Thumb mode displaced stepping error as unsupported.
9518
df83a9bf
SW
95192010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
9520
889bf7c5
PA
9521 * gdb.cp/nsusing.exp: Added more tests.
9522 * gdb.cp/nsrecurs.exp: Ditto.
9523 * gdb.cp/nsusing.cc: Added test functions.
9524 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 9525
40b27cdc
JK
95262010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9527
9528 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
9529 absolute directory pathnames in gdb.sum file.
9530
de958931
SW
95312010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
9532
9533 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
9534 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
9535
708ead4e
TT
95362010-01-26 Tom Tromey <tromey@redhat.com>
9537
9538 PR exp/7643:
9539 * gdb.base/printcmds.exp (test_print_string_constants): Remove
9540 setup_kfail.
9541
b14e635e
SW
95422010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
9543
9544 * gdb.cp/nsrecurs.exp: New test.
9545 * gdb.cp/nsrecurs.cc: New test program.
9546 * gdb.cp/nsstress.exp: New test.
9547 * gdb.cp/nsstress.cc: New test program.
9548 * gdb.cp/nsdecl.exp: New test.
9549 * gdb.cp/nsdecl.cc: New test program.
9550
8540c487
SW
95512010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
9552
9553 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
9554 imported into file scope.
9555 Marked test as xfail.
9556 * gdb.cp/namespace-using.cc (marker5): New function.
9557 * gdb.cp/shadow.exp: New test.
9558 * gdb.cp/shadow.cc: New test program.
9559 * gdb.cp/nsimport.exp: New test.
9560 * gdb.cp/nsimport.cc: New test program.
9561
421d5d99
TT
95622010-01-25 Tom Tromey <tromey@redhat.com>
9563
9564 PR gdb/11049:
9565 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
9566 with "set print null-stop on".
9567
691f8dc1
JK
95682010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9569
9570 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
9571 Adjust it for DISASSEMBLY_OMIT_FNAME.
9572
0b92b5bb
TT
95732010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9574
9575 PR symtab/11199:
9576 * gdb.dwarf2/member-ptr-forwardref.exp,
9577 gdb.dwarf2/member-ptr-forwardref.S: New.
9578
23787403
JK
95792010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9580
9581 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
9582 (thread1_func): Protect thread1_tid with thread1_tid_cond by
9583 thread1_tid_mutex. Remove gdbstop_mutex handling.
9584 (thread2_func): Protect thread2_tid with thread2_tid_cond by
9585 thread2_tid_mutex. Remove gdbstop_mutex handling.
9586 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
9587 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
9588 pthread_cond_wait conditionalizations by while loops.
9589
b966cb8a
TT
95902010-01-20 Tom Tromey <tromey@redhat.com>
9591
9592 PR backtrace/10770:
9593 * gdb.dwarf2/pr10770.exp: New file.
9594 * gdb.dwarf2/pr10770.c: New file.
9595 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
9596
fcae584b
VP
95972010-01-20 Vladimir Prus <vladimir@codesourcery.com>
9598
9599 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
9600 that target was removed, and the test always runs native anyway.
9601
a0f49112
JK
96022010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9603
9604 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
9605 gdb.base/watchpoint-cond-gone-stripped.c: New.
9606
ceeb3d5a
TT
96072010-01-19 Tom Tromey <tromey@redhat.com>
9608
9609 PR c++/8000:
9610 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
9611 existing tests.
9612 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
9613 (main): Use AAA::SomeEnum.
9614
dd322c54
JK
96152010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9616
9617 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
9618 (test_ignore_count): Declare line_callme_body global.
9619 (run to breakpoint with ignore count): Use line_callme_body.
9620 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
9621 (set line_main_hello, set line_main_return): Reindent.
9622 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
9623 New.
9624 (continue to callee4): Use line_callee4_body.
9625 (check *stopped from CLI command): Use line_callee4_next.
9626 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
9627 (set line_main_hello, set line_main_return): Reindent.
9628 (set line_callee4_head, set line_callee4_body): New.
9629 (continue to callee4): Use line_callee4_body.
9630
4e8f195d
TT
96312010-01-18 Tom Tromey <tromey@redhat.com>
9632
9633 PR c++/9680:
9634 * gdb.cp/casts.cc: Add new classes and variables.
9635 * gdb.cp/casts.exp: Test new operators.
9636
9e14a9ba
JB
96372010-01-18 Tom Tromey <tromey@redhat.com>
9638 Thiago Jung Bauermann <bauerman@br.ibm.com>
9639
9640 * gdb.python/source2.py: New file.
9641 * gdb.python/source1: New file.
9642 * gdb.python/python.exp: Test "source" command.
9643
00bf0b85
SS
96442010-01-15 Stan Shebs <stan@codesourcery.com>
9645
9646 * gdb.trace/tfile.c: New file.
9647 * gdb.trace/tfile.exp: New file.
889bf7c5 9648
55235ad7
JK
96492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9650
9651 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
9652
9f2982ff
JK
96532010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9654
9655 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
9656
bbfba9ed
JK
96572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9658
9659 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
9660 (libfunc): New parameter action. Implement also selectable "sleep".
9661 * gdb.base/break-interp-main.c: Include assert.h.
9662 (libfunc): New parameter action.
9663 (main): New parameters argc and argv. Assert argc. Pass argv.
9664 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
9665 (test_attach): New proc.
9666 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
9667 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
9668
61f0d762
JK
96692010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9670
9671 * gdb.base/break-interp.exp (test_core): New proc.
9672 (test_ld): Call it.
9673
06a6f270
JK
96742010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9675
9676 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
9677 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
9678 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
9679 and gdb_compile_shlib. Use new -Wl compiler options.
9680 (dl bt, main bt): New tests.
9681
51bee8e9
JK
96822010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9683
9684 Support PIEs with no symfile_objfile.
9685 * gdb.base/break-interp.exp: New argument at the test_ld calls.
9686 (test_ld): New parameter trynosym.
9687 (test_ld <$trynosym>): New block.
9688
b8040f19
JK
96892010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9690
9691 * gdb.base/break-interp.exp: New file.
9692
be759fcf
PM
96932010-01-13 Phil Muldoon <pmuldoon@redhat.com>
9694
9695 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
9696 * gdb.python/py-prettyprint.py (pp_ls): New printer.
9697 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
9698 test.
9699 * gdb.python/py-prettyprint.c: Define lazystring test structure.
9700 * gdb.python/py-mi.exp: Add lazy string test.
9701
dc146f7c
VP
97022010-01-13 Vladimir Prus <vladimir@codesourcery.com>
9703
9704 * lib/mi-support.exp (mi_check_thread_states): Handle
9705 core number in thread listing.
9706
b4ba55a1
JB
97072010-01-12 Joel Brobecker <brobecker@adacore.com>
9708
9709 * gdb.base/maint.exp: Adjust the expected output for the
9710 "maint print type" test. Use gdb_test_multiple instead of
9711 gdb_sent/gdb_expect.
9712
08e24bd4
DE
97132010-01-11 Doug Evans <dje@google.com>
9714
6496a609
DE
9715 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
9716 from gdbserver_download. All callers updated.
9717
08e24bd4
DE
9718 * gdb.server/ext-run.exp: "info os processes" requires xml support.
9719
b5cfddf5
JK
97202010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9721
9722 Implement binary numbers parsing.
9723 * gdb.base/printcmds.exp (test_integer_literals_accepted)
9724 (test_integer_literals_rejected): New binary tests.
9725
3725885a
RW
97262010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9727
9728 * gdb.cell/configure: Regenerate.
9729
37aeb5df
JK
97302010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9731
9732 * gdb.base/corefile.exp: Move the core finding block out and call it as
9733 core_find, new variable $corefile, replace corefile by $corefile and
9734 [file tail $corefile] for usage vs. test names resp.
9735 * lib/gdb.exp (core_find): Move it as a new function here. New
9736 parameter binfile and deletefiles. New variable $destcore. Pre-delete
9737 $destcore. Return "" on error.
9738
d521f563
JK
97392010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 Workaround PR binutils/10802.
9742 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
9743 (twice).
9744
28f24826
DJ
97452010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9746
9747 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
9748
2de75e71
JB
97492010-01-08 Joel Brobecker <brobecker@adacore.com>
9750
9751 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
9752 call, to avoid interruption.
9753
fe00719b 97542010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
9755
9756 * gdb.stabs/weird.def (args93): New.
9757
d0ef5df8
DE
97582010-01-07 Doug Evans <dje@google.com>
9759
9760 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
9761
3a08d52f
TT
97622010-01-07 Tom Tromey <tromey@redhat.com>
9763
9764 * gdb.base/source.exp: Use correct line number.
9765
7a697b8d
SS
97662010-01-05 Stan Shebs <stan@codesourcery.com>
9767
9768 * gdb.trace/tracecmd.exp: Test ftrace.
9769
7803799a
UW
97702010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9771
9772 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
9773
c54eabfa
JK
97742010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9775
9776 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
9777 "uint_for_mi_testing".
9778
02e7ef19
JB
97792010-01-01 Joel Brobecker <brobecker@adacore.com>
9780
9781 Test indented comment in file being sourced.
9782 * gdb.base/commands.exp: Test indented comment in file being sourced.
9783
abd775ce
JB
97842010-01-01 Joel Brobecker <brobecker@adacore.com>
9785
9786 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
9787 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
9788 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
9789 notice.
9790
79b55b82
JB
97912010-01-01 Joel Brobecker <brobecker@adacore.com>
9792
9793 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
9794 notice.
9795
8997583e
JK
97962010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9797
9798 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
9799 missing $after_stopped and comma (,) expectation.
9800
6da95a67
SS
98012009-12-31 Stan Shebs <stan@codesourcery.com>
9802
9803 * gdb.trace/actions.exp: Test teval action.
889bf7c5 9804
218d2fc6
TJB
98052009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9806
9807 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
9808 (top level): Call test_watchpoint_in_big_blob.
9809 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
9810 watchpoints.
9811 (func3): Write to buf.
9812
236f1d4d
SS
98132009-12-29 Stan Shebs <stan@codesourcery.com>
9814
9815 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 9816
f61e138d
SS
98172009-12-28 Stan Shebs <stan@codesourcery.com>
9818
9819 * gdb.trace/tsv.exp: New file.
9820 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 9821
0219b378
DJ
98222009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
9823
9824 * gdb.base/find.c (main): Reference search buffers.
9825 * gdb.base/included.c (main): Reference integer.
9826 * gdb.base/ptype.c (charfoo): Declare.
9827 (intfoo): Call charfoo.
9828 * gdb.base/scope0.c (useitp): New function.
9829 (usestatics): Use useitp.
9830 (useit): Add a type for val.
9831 * gdb.base/scope1.c (useit1): Take a pointer argument.
9832 (usestatics1): Update calls to useit1.
9833 * gdb.cp/call-c.cc: Declare foo.
9834 (main): Call foo.
9835 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
9836 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
9837 (main): Call C::ensureRefs and ensureOtherRefs.
9838 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
9839 variables.
9840 (ensureOtherRefs): New function.
9841 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
9842 * gdb.cp/templates.cc (main): Call t5i.value.
9843
3f78692f
JK
98442009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9845
9846 Fix compatibility with G++-4.5.
9847 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
9848 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
9849 (uncaught return): Remove.
9850
429374b8
JK
98512009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9852 Phil Muldoon <pmuldoon@redhat.com>
9853
9854 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
9855 (bp_location13, bp_location14, bp_location17, bp_location18)
9856 (marker3_proto, marker4_proto): New variables.
9857 (breakpoint info): Update output.
9858 (run until breakpoint at marker3, run until breakpoint at marker4): New
9859 tests.
9860
859825b8
JK
98612009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9862
9863 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
9864 Replace the printf call of Y by provided "y-set-1" label. New block
9865 for the second shared library.
9866 * gdb.base/unload.exp: Compile also the second library, call
9867 gdb_load_shlibs also for it. Use now gdb_breakpoint.
9868 (single pending breakpoint info): Rename to ...
9869 (pending breakpoint info before run): ... this extended test.
9870 (libfile2, libname2, libsrcfile2, libsrc2)
9871 (lib_sl2): New variables.
9872 (exec_opts): Set also SHLIB_NAME2.
9873 (pending breakpoint info on first run at shrfunc1)
9874 (pending breakpoint info on second run at shrfunc1)
9875 (pending breakpoint info on second run at shrfunc2)
9876 (print y from libfile, print y from libfile2): New tests.
9877 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
9878 * gdb.base/unloadshr2.c: New.
9879
e6a386cd
HZ
98802009-12-22 Hui Zhu <teawater@gmail.com>
9881
9882 * gdb.reverse/sigall-reverse.exp: Adjust.
9883
9e19b45e
VP
98842009-12-21 Vladimir Prus <vladimir@codesourcery.com>
9885
9886 PR gdb/10884
9887
9888 * gdb.mi/var-cmd.c (do_bitfield_tests): New
9889 (main): Call do_bitfield_tests.
aacf5b1e 9890 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 9891
d53a7b30
JB
98922009-12-20 Joel Brobecker <brobecker@adacore.com>
9893
9894 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
9895 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
9896 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
9897 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
9898 gdb.modula2/unbounded1.c: Update copyright header.
9899
191ca0a1
CM
99002009-12-10 Chris Moller <moller@mollerware.com>
9901
9902 PR gdb/9399
9903 * gdb.cp/virtfunc2.exp: New tests
9904 * gdb.cp/virtfunc2.cc: New tests
9905 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
9906
0fa6cf1b
MS
99072009-12-10 Oza Pawandeep (paawan1982@yahoo.com
9908
9909 * gdb.reverse/i387-env-reverse.c: New file.
9910 * gdb.reverse/i387-env-reverse.exp: New file.
9911 * gdb.reverse/i387-stack-reverse.c: New file.
9912 * gdb.reverse/i387-stack-reverse.exp: New file.
9913
361ae042
PM
99142009-12-08 Phil Muldoon <pmuldoon@redhat.com>
9915
9916 * gdb.python/py-type.exp (test_range): New test.
9917
bfd31e71
PM
99182009-12-03 Phil Muldoon <pmuldoon@redhat.com>
9919
9920 PR python/10805
9921
9922 * gdb.python/py-type.exp: New file.
9923 * gdb.python/py-type.c: New file.
9924 * Makefile.in: Add py-type.
9925
57a1d736
TT
99262009-12-03 Tom Tromey <tromey@redhat.com>
9927
9928 * gdb.python/py-value.exp (test_parse_and_eval): New
9929 function.
9930
1f3b5d1b
PP
99312009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9932
9933 PR gdb/11022
9934
9935 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
9936 * gdb.base/pr11022.c: New test.
9937
8b7dbdc9
JK
99382009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9939
9940 Fix spurious false FAILs.
9941 * gdb.base/structs.c (chartest): New.
9942 (main): Fill-in chartest.
9943 * gdb.base/structs.exp (anychar_re, first): New.
9944 (start_structs_test): Import global anychar_re and first.
9945 New gdb_test call "set print elements 300; ${testfile}"
9946 (start_structs_test <$first>): New block.
9947 (any): Import global anychar_re. New variable ac. Use ${ac}.
9948
6a53b2ec
JK
99492009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9950
9951 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
9952
d7167b4c
JK
99532009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9954
9955 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
9956 Force $srcfile file.
9957 * gdb.base/foll-fork.c (callee): Comment out the printf call.
9958
b1798462
UW
99592009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9960
9961 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
9962 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9963 * gdb.threads/watchthreads-reorder.exp: Likewise.
9964
b6199126
DJ
99652009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
9966
9967 PR gdb/8704
9968
9969 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
9970 "if", and "thread". Correct matching in the previous test.
9971
b22a0510
DJ
99722009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
9973
9974 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
9975
930636d2
MS
99762009-11-23 Michael Snyder <msnyder@vmware.com>
9977
9978 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
9979 * gdb.reverse-watch-precsave.exp: Ditto.
9980
21a0512e
PP
99812009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
9982
9983 * gdb.asm/asm-source.exp: Adjust.
9984 * gdb.base/help.exp: Adjust.
889bf7c5 9985
fc30d5e0
PA
99862009-11-22 Pedro Alves <pedro@codesourcery.com>
9987
9988 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
9989 (do_syscall_tests_without_xml): Set data-directory to
9990 /the/path/to/nowhere.
9991
f6bc2008
PA
99922009-11-21 Pedro Alves <pedro@codesourcery.com>
9993
9994 * gdb.threads/local-watch-wrong-thread.c,
9995 gdb.threads/local-watch-wrong-thread.exp: New files.
9996
8c2fb5de
PA
99972009-11-21 Pedro Alves <pedro@codesourcery.com>
9998
9999 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
10000 assume new `regsub' syntax available.
10001
ebec9a0f
PA
100022009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10003
a79d3c27
JK
10004 * gdb.base/watchpoint-hw-hit-once.exp,
10005 gdb.base/watchpoint-hw-hit-once.c: New.
10006
100072009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10008
10009 * gdb.threads/watchthreads-reorder.exp,
10010 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 10011
276a961b
MK
100122009-11-17 Nathan Sidwell <nathan@codesourcery.com>
10013
10014 * gdb.xml/tdesc-regs.exp: Use for m68k.
10015
4867c1fb
PA
100162009-11-15 Pedro Alves <pedro@codesourcery.com>
10017
10018 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
10019
f6838f81
DJ
100202009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10021
10022 * lib/gdb.exp (current_target_name): New procedure.
10023 (gdb_wrapper_target): New variable.
10024 (gdb_wrapper_init): Set gdb_wrapper_target.
10025 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
10026 wrapper.
10027
4ac4dd3f
DJ
100282009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10029
10030 * gdb.base/remote.exp: Delete the slowest load test.
10031 Do not load with fixed packet sizes.
10032
a7881759
DJ
100332009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10034
10035 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
10036
97a5b505
DJ
100372009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10038
10039 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
10040 srcfile when setting a breakpoint.
10041
d3e1fc54
DJ
100422009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
10043
10044 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
10045 macros.
10046
7cbcbded
DJ
100472009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10048
10049 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
10050 to be in memory.
10051 * gdb.base/display.c (force_mem): New.
10052 (do_loops): Use it. Add breakpoint comments.
10053 (do_vars): Add a breakpoint comment.
10054 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
10055 line numbers.
10056
bdea3a92
NF
100572009-11-13 Nathan Froyd <froydnj@codesourcery.com>
10058
10059 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
10060 instead of a bare "run".
10061
269f82e5
PP
100622009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10063
10064 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 10065
a69b7d9d
DJ
100662009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10067
10068 * lib/cell.exp (skip_cell_tests): Clean up test files before
10069 returning.
10070
b598bfda
DJ
100712009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10072
10073 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
10074 and the breakpoint menu. Do not call perror if a prompt is seen.
10075 Consume the following GDB prompt.
10076 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
10077 * gdb.cp/namespace.exp: Use gdb_test.
10078 * gdb.cp/templates.exp: Use gdb_test.
10079 (test_template_breakpoints): Use gdb_test_multiple.
10080
87728fa0
DJ
100812009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10082
10083 * gdb.base/break1.c (struct some_struct, values): Move earlier.
10084 (marker4): Reference values.
10085
b67c692f
DJ
100862009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10087
10088 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
10089 is missing.
10090
f0df251a
DJ
100912009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10092
10093 * gdb.base/break.c (need_malloc): New.
10094 * gdb.base/constvars.c (main): Reference crass and crisp.
10095 * gdb.base/gdb1821.c (main): Reference bar.
10096 * gdb.cp/gdb1355.cc (main): Reference s1.
10097 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
10098 (main): Call them.
10099 * gdb.cp/hang2.cc (dummy2): Define.
10100 * gdb.cp/hang3.cc (dummy3): Define.
10101 * gdb.cp/m-data.cc (main): Reference shadow.
10102
bdf7534a
NF
101032009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10104 Nathan Froyd <froydnj@codesourcery.com>
10105
10106 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
10107 remote host.
10108
f24fce77
NF
101092009-11-12 Nathan Froyd <froydnj@codesourcery.com>
10110
10111 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
10112 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
10113 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10114 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10115 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10116 * gdb.dwarf2/dw2-producer.exp: Likewise.
10117 * gdb.dwarf2/mac-fileno.exp: Likewise.
10118 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
10119 py-prettyprint.py to the remote host.
10120 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
10121
40f0318e
KS
101222009-11-11 Keith Seitz <keiths@redhat.com>
10123
10124 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
10125 use it instead of "Foo".
10126 * gdb.cp/classes.exp (do_tests): Add a test to access
10127 a method through a typedef'd class name.
10128
f3d9f7fb
NF
101292009-11-11 Nathan Froyd <froydnj@codesourcery.com>
10130
10131 * gdb.base/long_long.exp: Permit leading zeros on floating-point
10132 exponents.
10133 * gdb.base/pointers.exp: Likewise.
10134 * gdb.cp/ref-types.exp: Likewise.
10135
a4216f37
KS
101362009-11-11 Keith Seitz <keiths@redhat.com>
10137
10138 * gdb.cp/cplusfuncs.cc (class foo): Add operators
10139 new[] and delete[].
10140 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
10141 "void".
10142 (probe_demangler): Remove all single-quoting of
10143 method and variable names.
10144 (info_func_regexp): Remove the word "void" from any
10145 occurrence of "(void)".
10146 (print_addr_2): Remove all single-quoting of
10147 method names.
10148 (print_addr_2_kfail): Likewise.
10149 (print_addr): Single-quote C function names before
10150 passing to print_addr_2.
10151 (test_paddr_operator_functions): Remove single-quoting
10152 for method names.
10153 Add tests for operator new[] and operator delete[].
10154
9b14d7aa
JK
101552009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10156
10157 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
10158
85feb311
KS
101592009-11-09 Keith Seitz <keiths@redhat.com>
10160
10161 * gdb.cp/overload.exp: Add tests for resolving overloaded
10162 methods in expression parsing/evaluation.
10163
fa335448
DJ
101642009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
10165
10166 * lib/gdb.exp (default_gdb_version): Use --version instead of
10167 --command.
10168
ec3c07fc
NS
101692009-11-10 Nathan Sidwell <nathan@codesourcery.com>
10170
10171 * lib/gdb.exp (gdb_compile_test): New.
10172 (skip_ada_tests, skip_java_tests): New.
10173 (gdb_compile): Use gdb_compile_test for f77.
10174 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
10175 * lib/java.exp (compile_java_from_source): Remove runtests check,
10176 use gdb_compile_test to record result.
10177 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
10178 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
10179 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
10180 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
10181 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
10182 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
10183 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
10184 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
10185 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
10186 adjust gdb_compile invocations.
10187
b8b4e42b
JK
101882009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10189
10190 * Makefile.in (abs_builddir): New.
10191 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
10192 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
10193 `$(abs_builddir)/site.exp'.
10194
f8b7eaf3
DJ
101952009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
10196
10197 * config/m68k-emc.exp, lib/emc-support.exp,
10198 gdb.trace/gdb_c_test.c: Delete.
10199 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
10200 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10201 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10202 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10203 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10204 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
10205 casing for m68k-*-elf.
10206
c4187697
NS
102072009-11-03 Pedro Alves <pedro@codesourcery.com>
10208
10209 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
10210 * gdb.arch/i386-prologue.exp: Likewise.
10211 * gdb.arch/i386-unwind.exp: Likewise.
10212
db16b772
DJ
102132009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10214
10215 * lib/gdb.exp (gdb_expect): Fix timeout typo.
10216
bcf71277
DJ
102172009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10218
10219 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
10220
0105cee2
DJ
102212009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10222
10223 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
10224
24ddea62
JK
102252009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10226
10227 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
10228
287ccc17
JK
102292009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10230
10231 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
10232 * gdb.base/sepdebug2.c: New file.
10233
08bca259 102342009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
10235
10236 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
10237 the modified warnings for catch syscall. Verify if GDB was compiled
10238 with support for lib expat, and choose which tests to run depending
10239 on this.
10240
5d4e2b76
VP
102412009-10-30 Vladimir Prus <vladimir@codesourcery.com>
10242
10243 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
10244 that composite commands are parsed OK. And also test
10245 that breakpoint commands do work.
10246
240e538a
MS
102472009-10-23 Michael Snyder <msnyder@vmware.com>
10248
10249 gdb.reverse/consecutive-precsave.exp: Change expect pattern
10250 to allow for new disassembly style.
10251
9c419145
PP
102522009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10253
10254 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 10255
02506ff1
MS
102562009-10-22 Michael Snyder <msnyder@vmware.com>
10257
10258 * gdb.reverse/break-precsave.exp: New test.
10259 * gdb.reverse/consecutive-precsave.exp: Ditto.
10260 * gdb.reverse/finish-precsave.exp: Ditto.
10261 * gdb.reverse/i386-precsave.exp: Ditto.
10262 * gdb.reverse/machinestate-precsave.exp: Ditto.
10263 * gdb.reverse/sigall-precsave.exp: Ditto.
10264 * gdb.reverse/solilb-precsave.exp: Ditto.
10265 * gdb.reverse/step-precsave.exp: Ditto.
10266 * gdb.reverse/until-precsave.exp: Ditto.
10267 * gdb.reverse/watch-precsave.exp: Ditto.
10268
4cf866a3
MS
102692009-10-22 Michael Snyder <msnyder@vmware.com>
10270
10271 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
10272 for gdb_expect. Adjust one test's expect strings for the new
10273 format of disassemble.
10274 * gdb.reverse/finish-reverse.exp: Delete 'return'.
10275 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
10276 gdb_test_multiple.
10277 * gdb.reverse/step-reverse.exp: Delete 'return'.
10278 * gdb.reverse/until-reverse.exp: Delete blank lines.
10279 * gdb.reverse/watch-reverse.exp: Delete blank lines.
10280
2b28d209
PP
102812009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10282
10283 * gdb.base/consecutive.exp: Adjust.
10284 * gdb.base/display.exp: Likewise.
10285 * gdb.base/pc-fp.exp: Likewise.
10286 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 10287
33b9c32b
MS
102882009-10-19 Michael Snyder <msnyder@vmware.com>
10289
10290 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
10291 * gdb.reverse/finish-reverse.c: Ditto.
10292 * gdb.reverse/sigall-reverse.c: Ditto.
10293 * gdb.reverse/solib-reverse.c: Ditto.
10294 * gdb.reverse/step-reverse.c: Ditto.
10295 * gdb.reverse/watch-reverse.c: Ditto.
10296
6c95b8df
PA
102972009-10-19 Pedro Alves <pedro@codesourcery.com>
10298 Stan Shebs <stan@codesourcery.com>
10299
10300 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
10301 * gdb.base/foll-exec.exp: Adjust to expect a process id before
10302 "Executing new program".
10303 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
10304 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
10305 left listed after having been killed.
10306 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
10307 * gdb.base/maint.exp: Adjust test.
10308
10309 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
10310 * gdb.multi/Makefile.in: New.
10311 * gdb.multi/base.exp: New.
10312 * gdb.multi/goodbye.c: New.
10313 * gdb.multi/hangout.c: New.
10314 * gdb.multi/hello.c: New.
10315 * gdb.multi/bkpt-multi-exec.c: New.
10316 * gdb.multi/bkpt-multi-exec.exp: New.
10317 * gdb.multi/crashme.c: New.
10318
279017b7
TG
103192009-10-13 Tristan Gingold <gingold@adacore.com>
10320
10321 * gdb.base/sepdebug.exp: Check debug info are found.
10322
0413d738
PA
103232009-10-08 Pedro Alves <pedro@codesourcery.com>
10324
10325 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
10326 bits.
10327
c628eecc
JK
103282009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10329
10330 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
10331
38af1bfe
JB
103322009-10-07 Joel Brobecker <brobecker@adacore.com>
10333
10334 * gdb.base/watchpoints.c: Add copyright header. Reformat one
10335 of the comments.
10336
2b0adecd
PM
103372009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
10338
10339 * gdb.base/annota1.exp: Remove obsolete match_max increase.
10340 * gdb.base/annota3.exp: Idem.
10341 * gdb.base/maint.exp: Idem.
10342
8d417781
PM
103432009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
10344
889bf7c5 10345 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
10346 to default.
10347
bb61102d
PM
103482009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10349
889bf7c5 10350 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
10351 mingw and cygwin targets.
10352
ace5c364
PM
103532009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10354 Pedro Alves <pedro@codesourcery.com>
10355
889bf7c5 10356 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
10357 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
10358
c2d494a0
PM
103592009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10360
e1b52ce2
PM
10361 * gdb.base/shr1.c: Use %p in format string.
10362 * gdb.base/unload.c: Avoid warning in fprintf.
10363 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 10364
209f53f5
PM
103652009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10366
10367 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
10368 long type.
10369 (test_unlink): Correct printf string.
10370 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
10371 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
10372
8172766a
JK
103732009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10374
10375 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
10376 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
10377 * gdb.arch/ia64-breakpoint-shadow.S: New file.
10378
0f73703c
UW
103792009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10380
10381 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
10382 * gdb.objc/nondebug.exp: Likewise.
10383
b32306ca
UW
103842009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10385
10386 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
10387 target_info setting.
10388
10389 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
10390 that detect new threads during "info threads".
10391
0057022f
UW
103922009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10393
10394 * gdb.threads/manythreads.c (main): Increase thread stack size
10395 to 2*PTHREAD_STACK_MIN.
10396 * gdb.threads/multi-create.c (main): Likewise.
10397 (create_function): Likewise.
10398
f29c0325
UW
103992009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10400
10401 * gdb.base/dump.exp: Pass difference of pointer types instead
10402 of integer types as offset to restore in intarr3.srec case.
10403
fcb34849
UW
104042009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10405
10406 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
10407
d5142e3b
UW
104082009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10409
10410 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
10411
087b74b2 104122009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 10413
087b74b2
PM
10414 New test for two watchpoints, with disabling of
10415 the first inserted.
10416 * testsuite/gdb.base/watchpoints.c: New file.
10417 * testsuite/gdb.base/watchpoints.exp: New file.
10418
96c07c5b
TT
104192009-09-25 Tom Tromey <tromey@redhat.com>
10420
10421 * gdb.base/charset.exp: Test utf-16 strings with Python.
10422
b8899f2b
TT
104232009-09-25 Tom Tromey <tromey@redhat.com>
10424
10425 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
10426 UCS-4.
10427 * gdb.base/charset.c (utf_32_string): Rename.
10428 (init_utf32): Rename.
10429 (main): Update.
10430
329719ec
TT
104312009-09-22 Tom Tromey <tromey@redhat.com>
10432
10433 * gdb.python/py-function.exp: Add regression tests.
10434
11ef0d76
KS
104352009-09-21 Keith Seitz <keiths@redhat.com>
10436
10437 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
10438 with invalid operator.
10439
3fe8f3b3
KS
104402009-09-21 Keith Seitz <keiths@redhat.com>
10441
10442 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
10443 and destructor using typedef name of class.
10444 * gdb.cp/classes.cc (class Base1): Add a destructor.
10445 (base1): New typedef.
10446 (use_methods): Instanitate an object of type base1.
10447 * gdb.cp/templates.exp (test_template_typedef): New procedure.
10448 (do_tests): Call test_template_typedef.
10449 * gdb.cp/templates.cc (Baz::~Baz): New method.
10450 (intBazOne): New typedef.
10451 (main): Instantiate intBazOne.
10452
7a9fe101
PM
104532009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10454
10455 PR python/10633
10456
10457 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
10458 Function.
10459 (run_lang_tests): Add print elements test.
10460
2e4d963f
PM
104612009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10462
10463 * gdb.python/py-value.exp (test_subscript_regression): New
10464 function. Test for invalid subscripts.
10465 * gdb.python/py-value.c (main): Add test array, and pointer to it.
10466 (ptr_ref): New function.
10467
ec7e75e7
PP
104682009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10469
10470 * gdb.base/default.exp: Fix "show convenience".
10471
0cc7d26f
TT
104722009-09-15 Tom Tromey <tromey@redhat.com>
10473
10474 * lib/mi-support.exp (mi_create_varobj): Update.
10475 (mi_create_floating_varobj): Likewise.
10476 (mi_create_dynamic_varobj): New proc.
10477 (mi_varobj_update): Update.
10478 (mi_varobj_update_with_type_change): Likewise.
10479 (mi_varobj_update_kv_helper): New proc.
10480 (mi_varobj_update_dynamic_helper): Rewrite.
10481 (mi_varobj_update_dynamic): New proc.
10482 (mi_list_varobj_children): Update.
10483 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
10484 * gdb.python/python-prettyprint.py (pp_outer): New class.
10485 (pp_nullstr): Likewise.
10486 (lookup_function): Register new printers.
10487 * gdb.python/python-prettyprint.c (struct substruct): New type.
10488 (struct outerstruct): Likewise.
10489 (substruct_test): New function.
10490 (struct nullstr): New type.
10491 (string_1, string_2): New globals.
10492 (main): Add new tests.
10493 * gdb.python/python-mi.exp: Added regression tests.
10494 * gdb.mi/mi2-var-display.exp: Update.
10495 * gdb.mi/mi2-var-cmd.exp: Update.
10496 * gdb.mi/mi2-var-child.exp: Update.
10497 * gdb.mi/mi2-var-block.exp: Update.
10498 * gdb.mi/mi-var-invalidate.exp: Update.
10499 * gdb.mi/mi-var-display.exp: Update.
10500 * gdb.mi/mi-var-cmd.exp: Update.
10501 * gdb.mi/mi-var-child.exp: Update.
10502 * gdb.mi/mi-var-block.exp: Update.
10503 * gdb.mi/mi-break.exp: Update.
10504 * gdb.mi/gdb701.exp: Update.
10505
a96d9b2e
SDJ
105062009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
10507
10508 * Makefile.in: Inclusion of catch-syscall object.
10509 * gdb.base/catch-syscall.c: New file.
10510 * gdb.base/catch-syscall.exp: New file.
10511
b43b923a
MS
105122009-09-12 Michael Snyder <msnyder@vmware.com>
10513
10514 * gdb.reverse/step-reverse.exp: Explicitly check for targets
10515 that can support reverse debuggnig.
10516
cec03d70
TT
105172009-09-11 Tom Tromey <tromey@redhat.com>
10518
10519 * gdb.dwarf2/valop.S: New file.
10520 * gdb.dwarf2/valop.exp: New file.
10521
e23bb3fc
MK
105222009-09-11 Mark Kettenis <kettenis@gnu.org>
10523
10524 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
10525
37c3696d
DE
105262009-09-10 Doug Evans <dje@google.com>
10527
10528 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
10529 Add $gdb_prompt to second breakpoint regexp.
10530
5172aecb
JB
105312009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
10532
10533 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
10534 names, add missing ones.
10535 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
10536 * gdb.python/py-frame.c: Rename from python-frame.c.
10537 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
10538 testfile name.
10539 * gdb.python/py-function.exp: Rename from python-function.exp.
10540 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
10541 testfile name.
10542 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
10543 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
10544 Adjust testfile name.
10545 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
10546 * gdb.python/py-template.cc: Rename from python-template.cc.
10547 * gdb.python/py-template.exp: Rename from python-template.exp.
10548 Adjust testfile name.
10549 * gdb.python/py-value.c: Rename from python-value.c.
10550 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
10551 testfile name.
10552
b554e4bd
JK
105532009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10554
10555 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
10556 $bpt2address.
10557 (Second breakpoint address is valid on ia64)
10558 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
10559
9a68ae16
JM
105602009-09-03 Joseph Myers <joseph@codesourcery.com>
10561
10562 * gdb.base/ending-run.exp: Restrict regular expression matching
10563 line number to require closing brace following.
10564
146b9145
DE
105652009-09-03 Doug Evans <dje@google.com>
10566
10567 * gdb.base/store.exp (check_set): Fix typo in expected value message.
10568
787d21e1
TT
105692009-09-02 Tom Tromey <tromey@redhat.com>
10570
10571 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
10572
e7802207
TT
105732009-09-02 Tom Tromey <tromey@redhat.com>
10574
10575 * gdb.dwarf2/callframecfa.exp: New file.
10576 * gdb.dwarf2/callframecfa.S: New file.
10577
817aadd2
JK
105782009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10579
10580 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
10581 gdb.base/solib-overlap-main.c: New.
10582
4a76eae5
DJ
105832009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
10584
10585 PR gdb/10565
10586
10587 * gdb.base/bitfields.c (struct container, container): New.
10588 (main): Initialize it and call break5.
10589 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
10590
d4b96c9a
JK
105912009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10592
10593 Support constant DW_AT_data_member_location by GCC PR debug/40659.
10594 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
10595
4e22772d
JK
105962009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10597
10598 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
10599
2efab443
MS
106002009-08-26 Michael Snyder <msnyder@vmware.com>
10601
10602 * gdb.base/i386-reverse.c: New file.
10603 * gdb.base/i386-reverse.exp: New file.
10604 * gdb.base/Makefile.in: Add new files to be removed.
10605
07ab73a0
JM
106062009-08-26 Joseph Myers <joseph@codesourcery.com>
10607
10608 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
10609 environment-pwd for remote host.
10610 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
10611
676accff
KS
106122009-08-24 Keith Seitz <keiths@redhat.com>
10613
10614 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
10615 Add two new C++ completer tests which limit the output to a
889bf7c5 10616 given class.
676accff 10617
f9f7ad22
MS
106182009-08-24 Michael Snyder <msnyder@vmware.com>
10619
10620 * gdb.base/del.exp: Fix typo in comment.
10621 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
10622
81ecdfbb
RW
106232009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10624
10625 * configure: Regenerate.
10626 * gdb.hp/configure: Likewise.
10627 * gdb.hp/gdb.aCC/configure: Likewise.
10628 * gdb.hp/gdb.base-hp/configure: Likewise.
10629 * gdb.hp/gdb.compat/configure: Likewise.
10630 * gdb.hp/gdb.defects/configure: Likewise.
10631 * gdb.hp/gdb.objdbg/configure: Likewise.
10632 * gdb.stabs/configure: Likewise.
10633
cab0c772
UW
106342009-08-19 Doug Evans <dje@google.com>
10635
10636 * gdb.base/gdbvars.c: New file.
10637 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
10638
b8fa0bfa
PA
106392009-08-14 Pedro Alves <pedro@codesourcery.com>
10640
10641 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10642 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
10643
b84aa90a
PA
106442009-08-13 Pedro Alves <pedro@codesourcery.com>
10645
10646 * gdb.base/default.exp: Adjust "set language test": it's now an
10647 enum command. Larger help string moved to "help set language".
10648 * gdb.base/help.exp: Adjust "help set language" expected output,
10649 now lists all known languages.
10650
0d8f9b2c
NF
106512009-08-11 Nathan Froyd <froydnj@codesourcery.com>
10652
10653 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
10654 all frame arguments.
10655 * gdb.arch/altivec-regs.exp: Likewise.
10656
bda180e0
TT
106572009-08-07 Tom Tromey <tromey@redhat.com>
10658
10659 * gdb.base/setshow.exp: Add tests for changes to set language, set
10660 check range, and set check type.
10661
48cb2d85
VP
106622009-08-03 Vladimir Prus <vladimir@codesourcery.com>
10663
10664 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
10665 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 10666 Call it.
48cb2d85 10667
1ea34204
UW
106682009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10669
10670 * configure.ac: Run gdb.cell tests when appropriate.
10671 * configure: Regenerate.
10672 * lib/cell.exp: New file.
10673 * gdb.cell: New directory.
10674 * gdb.cell/configure.ac: New file.
10675 * gdb.cell/configure: New file.
10676 * gdb.cell/Makefile.in: New file.
10677 * gdb.cell/arch.exp: New file.
10678 * gdb.cell/break.c: New file.
10679 * gdb.cell/break.exp: New file.
10680 * gdb.cell/break-spu.c: New file.
10681 * gdb.cell/bt.c: New file.
10682 * gdb.cell/bt2-spu.c: New file.
10683 * gdb.cell/bt-spu.c: New file.
10684 * gdb.cell/bt.exp: New file.
10685 * gdb.cell/coremaker.c: New file.
10686 * gdb.cell/coremaker-spu.c: New file.
10687 * gdb.cell/core.exp: New file.
10688 * gdb.cell/gcore.exp: New file.
10689 * gdb.cell/data.c: New file.
10690 * gdb.cell/data.exp: New file.
10691 * gdb.cell/data-spu.c: New file.
10692 * gdb.cell/ea-cache.exp: New file.
10693 * gdb.cell/ea-cache.c: New file.
10694 * gdb.cell/ea-cache-spu.c: New file.
10695 * gdb.cell/ea-standalone.c: New file.
10696 * gdb.cell/ea-standalone.exp: New file.
10697 * gdb.cell/ea-test.c: New file.
10698 * gdb.cell/ea-test.exp: New file.
10699 * gdb.cell/f-regs.exp: New file.
10700 * gdb.cell/mem-access.c: New file.
10701 * gdb.cell/mem-access.exp: New file.
10702 * gdb.cell/mem-access-spu.c: New file.
10703 * gdb.cell/ptype.exp: New file.
10704 * gdb.cell/registers.exp: New file.
10705 * gdb.cell/size.c: New file.
10706 * gdb.cell/sizeof.exp: New file.
10707 * gdb.cell/size-spu.c: New file.
10708 * gdb.cell/solib.exp: New file.
10709 * gdb.cell/solib-symbol.exp: New file.
10710
85e747d2
UW
107112009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10712
10713 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
10714
58d6951d
DJ
107152009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10716
10717 * gdb.base/float.exp: Handle VFP registers.
10718
6e0a4f15
MS
107192009-07-14 Michael Snyder <msnyder@vmware.com>
10720
dcd5da87
MS
10721 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
10722 to bring gdb to the beginning of the calling line.
10723
6e0a4f15
MS
10724 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
10725 confusing the i386 epilogue unwinder.
10726
782b2b07
SS
107272009-07-14 Stan Shebs <stan@codesourcery.com>
10728
10729 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
10730
f662c3bc
MS
107312009-07-14 Michael Snyder <msnyder@vmware.com>
10732
10733 * gdb.reverse/step-reverse.exp (stepi into function call):
10734 Call instruction may not be first instruction in the line.
10735 (reverse stepi from a function call): Used wrong line number.
10736
8f313923
JK
107372009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10738
10739 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
10740
4662c76e
JK
107412009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10742
10743 Fix gdb.base/macscp.exp when using custom inputrc.
10744 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
10745 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
10746 env(TERM) set.
10747 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
10748 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
10749
aa81e255
JK
107502009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10751
10752 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
10753 * gdb.base/annota1.exp (thread_test): Import global $testfile.
10754 Change the compilation target to match the testcase name.
10755 * gdb.base/sect-cmd.exp: Change the compilation target to match the
10756 testcase name.
10757 * a2-run.exp: Use for setup prepare_for_testing. Change the
10758 compilation target to match the testcase name.
10759 * gdb.base/commands.exp: Likewise.
10760 * gdb.base/finish.exp: Likewise.
10761 * gdb.base/float.exp: Likewise.
10762 * gdb.base/info-target.exp: Likewise.
10763 * gdb.base/relational.exp: Likewise.
10764 * gdb.base/term.exp: Likewise.
10765 * gdb.base/until.exp: Likewise.
10766 * gdb.base/volatile.exp: Likewise.
10767 * gdb.base/whatis-exp.exp: Likewise.
10768
4c93b1d7
HZ
107692009-07-11 Hui Zhu <teawater@gmail.com>
10770
10771 * gdb.base/help.exp (disassemble): Update expected help text.
10772
812f7342
TT
107732009-07-09 Tom Tromey <tromey@redhat.com>
10774
10775 * lib/gdb.exp: Handle TRANSCRIPT.
10776 (remote_spawn, remote_close, send_gdb): New procs.
10777
fbb8f299
PM
107782009-07-10 Phil Muldoon <pmuldoon@redhat.com>
10779
10780 * gdb.python/python-prettyprint.c: Add counted null string
10781 structure.
10782 * gdb.python/python-prettyprint.exp: Print null string. Test for
10783 embedded nulls.
10784 * gdb.python/python-prettyprint.py (pp_ns): New Function.
10785 * gdb.python/python-value.exp (test_value_in_inferior): Add
10786 variable length string fetch tests.
10787 * gdb.python/python-value.c (main): Add strings for string fetch tests.
10788
c0ac0ec7
JK
107892009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10790
10791 * gdb.base/dump.exp (inaccessible memory is reported): New test.
10792
30b66ecc
TT
107932009-07-07 Tom Tromey <tromey@redhat.com>
10794
10795 * gdb.base/call-rt-st.exp: Update for change to escape output.
10796 * gdb.base/callfuncs.exp: Likewise.
10797 * gdb.base/charset.exp: Likewise.
10798 * gdb.base/constvars.exp: Likewise.
10799 * gdb.base/long_long.exp: Likewise.
10800 * gdb.base/pointers.exp: Likewise.
10801 * gdb.base/printcmds.exp: Likewise.
10802 * gdb.base/setvar.exp: Likewise.
10803 * gdb.base/store.exp: Likewise.
10804 * gdb.cp/ref-types.exp: Likewise.
10805 * gdb.mi/mi-var-child.exp: Likewise.
10806 * gdb.mi/mi-var-display.exp: Likewise.
10807 * gdb.mi/mi2-var-display.exp: Likewise.
10808 * gdb.base/charset.exp: Test octal escape sequence length.
10809 Update for change to escape output.
10810
187c4a2b
JK
108112009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10812
10813 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
10814
d80a43f9
DJ
108152009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
10816
10817 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
10818
047427a8
JK
108192009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10820
10821 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
10822 gdbserver increasing $portnum if "Can't bind address" has been seen.
10823
8b5a0f4f
PA
108242009-07-05 Pedro Alves <pedro@codesourcery.com>
10825
10826 * gdb.base/ending-run.exp: Add "step out of main" pattern for
10827 mingw32ce.
10828
7d93ba58
PA
108292009-07-05 Pedro Alves <pedro@codesourcery.com>
10830
10831 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
10832 VFP format.
10833
2277426b
PA
108342009-07-02 Pedro Alves <pedro@codesourcery.com>
10835
10836 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
10837 linux. Adjust to use "inferior", "info inferiors", "detach
10838 inferior" and "kill inferior" instead of "restart", "info fork",
10839 "detach fork" and "delete fork".
10840 * gdb.base/ending-run.exp: Spell out "info".
10841 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
10842 the "kill" command.
10843
5af949e3
UW
108442009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10845
10846 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
10847 change to prefix TLS offset in hex with 0x.
10848
5d3729b5
UW
108492009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10850
10851 * gdb.base/default.exp: Update test case for "x" changes.
10852
af589bd0
TG
108532009-07-01 Tristan Gingold <gingold@adacore.com>
10854
10855 * gdb.base/bigcore.exp: Make darwin untested.
10856
40974f91
JK
108572009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10858
10859 * gdb.base/completion.exp (directory completion): Create the directory.
10860 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
10861 escapeuniquesub.
10862 (directory completion 2): Expect now ${escapeuniquesub}.
10863 (Glob remaining of directory test): Remove one excessive newline.
10864 Expect the real output.
10865
59dd3af6
JK
108662009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10867
10868 Fix `make check//%' target after `make check' has been ran.
10869 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
10870 a mkdir call.
10871 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
10872 (%/.dir): Remove.
10873
f4e164aa
JK
108742009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10875
10876 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
10877 the expected result record.
10878
69af2122
JK
108792009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10880
10881 Remove racy FAILs relying just on the timeouts.
10882 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
10883 (annotation_level 2): Remove racy FAILs.
10884
2fd481e1
PP
108852009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10886
10887 gdb/10275
889bf7c5
PA
10888 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
10889
c38f313d
DJ
108902009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
10891
10892 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
10893
8b777f02
VP
108942009-06-30 Vladimir Prus <vladimir@codesourcery.com>
10895
10896 * gdb.mi/mi-stack.exp: Testing symbolic options
10897 to -stack-list-locals and -stack-list-arguments.
10898
00c7eacf
JK
108992009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10900
10901 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
10902
6bc80edc
TT
109032009-06-29 Tom Tromey <tromey@redhat.com>
10904
10905 * dg-extract-results.sh: New file.
10906 * Makefile.in (FORCE_PARALLEL): New variable.
10907 (CHECK_TARGET): New conditional variable.
10908 (check): Use CHECK_TARGET.
10909 (DO_RUNTEST): New variable.
10910 (check-single): New target.
10911 (TEST_DIRS): New variable.
10912 (TEST_TARGETS): Likewise.
10913 (check-parallel): New target.
10914 (check-gdb.%): New pattern.
10915 (BASE1_FILES): New variable.
10916 (BASE2_FILES): Likewise.
10917 (check-gdb.base%): New pattern.
10918 (%/.dir): New pattern.
10919 * configure: Rebuild.
10920 * aclocal.m4 (AM_CONDITIONAL): New defun.
10921 * configure.ac: Check whether user is using GNU make.
10922 (GMAKE): New conditional.
10923
794684b6
SW
109242009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
10925
10926 * gdb.cp/namespace-nested-import.cc: New test.
10927 * gdb.cp/namespace-nested-import.exp: New test.
10928
edb3359d
DJ
109292009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
10930
10931 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
10932 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
10933 * gdb.opt/Makefile.in (EXECUTABLES): Update.
10934 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
10935 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
10936 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
10937 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
10938 gdb.opt/inline-markers.c: New files.
10939 * lib/gdb.exp (skip_inline_frame_tests): New function.
10940 (skip_inline_var_tests): New function.
10941
cf657a0c
AS
109422009-06-27 Andreas Schwab <schwab@linux-m68k.org>
10943
10944 * gdb.cp/exception.exp: Don't require $hex before inner frame in
10945 backtrace.
10946
28d41a99
MS
109472009-06-27 Michael Snyder <msnyder@vmware.com>
10948
10949 * gdb.reverse: New directory.
10950 * gdb.reverse/break-reverse.c: New test.
10951 * gdb.reverse/break-reverse.exp: New test.
10952 * gdb.reverse/consecutive-reverse.c: New test.
10953 * gdb.reverse/consecutive-reverse.exp: New test.
10954 * gdb.reverse/finish-reverse.c: New test.
10955 * gdb.reverse/finish-reverse.exp: New test.
10956 * gdb.reverse/machinestate.c: New test.
10957 * gdb.reverse/ms1.c: New test.
10958 * gdb.reverse/machinestate.exp: New test.
10959 * gdb.reverse/Makefile.in: New file.
10960 * gdb.reverse/shr2.c: New test.
10961 * gdb.reverse/solib-reverse.c: New test.
10962 * gdb.reverse/solib-reverse.exp: New test.
10963 * gdb.reverse/step-reverse.c: New test.
10964 * gdb.reverse/step-reverse.exp: New test.
10965 * gdb.reverse/until-reverse.c: New test.
10966 * gdb.reverse/ur1.c: New test.
10967 * gdb.reverse/until-reverse.exp: New test.
10968 * gdb.reverse/watch-reverse.c: New test.
10969 * gdb.reverse/watch-reverse.exp: New test.
10970 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
10971 * configure: Regenerate.
10972
fe3c8b0d
DE
109732009-06-26 Doug Evans <dje@google.com>
10974
10975 * gdb.base/psymtab.exp: Turn off pending breakpoints.
10976
3a72a602
PM
109772009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
10978
10979 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
10980 windows problem for 'file delete $binfile'.
10981
27aa8d6a
SW
109822009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
10983
10984 * gdb.cp/namespace-using.exp: New test.
10985 * gdb.cp/namespace-using.cc: New test.
10986
8ac055f8
JB
109872009-05-20 Joel Brobecker <brobecker@adacore.com>
10988
10989 * gdb.ada/variant_record_packed_array: New testcase.
10990
85e306ed
TT
109912009-06-23 Tom Tromey <tromey@redhat.com>
10992
10993 * gdb.base/charset.exp (test_combination): Regression test.
10994 * gdb.base/charset.c (my_wchar_t): New typedef.
10995 (myvar): New global.
10996 (main): Set myvar.
10997
56643c5e
PM
109982009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
10999
11000 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
11001 target.
11002
1fac167a
UW
110032009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11004
11005 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
11006
7ccb0be9
UW
110072009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11008
11009 * gdb.mi/gdb680.exp: Update test for error message.
11010
568d6575
UW
110112009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11012
11013 * gdb.base/annota1.exp: Allow multiple occurrences of the
11014 frames-invalid annotation.
11015 * gdb.cp/annota2.exp: Likewise.
11016
7cd1089b
PM
110172009-06-15 Phil Muldoon <pmuldoon@redhat.com>
11018
11019 * gdb.cp/gdb2495.cc: New file.
11020 * gdb.cp/gdb2495.exp: New file.
11021
72c63395
JK
110222009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11023
11024 Report error on GDB crash during runto.
11025 * lib/gdb.exp (runto <eof>): New.
11026
3788363d
DJ
110272009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
11028
11029 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
11030 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
11031 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
11032 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
11033 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
11034 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
11035 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
11036 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
11037 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
11038 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
11039 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
11040 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
11041 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11042 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
11043 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
11044 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
11045 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
11046 gdb.server/server-mon.exp, gdb.server/server-run.exp,
11047 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
11048 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
11049 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
11050 gdb.trace/passcount.exp, gdb.trace/report.exp,
11051 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
11052 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
11053 gdb.trace/while-stepping.exp: Use a unique name for the compiled
11054 executable.
11055
17592de3
PA
110562009-06-07 Pedro Alves <pedro@codesourcery.com>
11057
11058 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
11059 defined before referencing it.
11060
701e355d
DE
110612009-06-03 Doug Evans <dje@google.com>
11062
11063 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
11064 * gdb.arch/i386-see.c: Ditto.
11065
f2292c65
PM
110662009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
11067
11068 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
11069 (check_macro): Return 1 if undefined.
11070 If first test fails, check if macro debug information is available,
11071 and report unsupported test if no macro information is found.
11072
5a437975
DE
110732009-05-29 Doug Evans <dje@google.com>
11074
11075 * gdb.threads/hand-call-in-threads.exp: New.
11076 * gdb.threads/hand-call-in-threads.c: New.
11077
c141c696
MS
110782009-05-29 Michael Snyder <msnyder@vmware.com>
11079
11080 * gdb.base/break-always.exp: Change "1" to "on".
11081 Add confirmation check.
11082
b3444185
PA
110832009-05-28 Pedro Alves <pedro@codesourcery.com>
11084
11085 * gdb.threads/threxit-hop-specific.c: New.
11086 * gdb.threads/threxit-hop-specific.exp: New.
11087 * gdb.threads/thread-execl.c: New.
11088 * gdb.threads/thread-execl.exp: New.
11089
b6313243
TT
110902009-05-27 Tom Tromey <tromey@redhat.com>
11091 Thiago Jung Bauermann <bauerman@br.ibm.com>
11092
11093 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
11094 (mi_child_regexp): Likewise.
11095 (mi_list_varobj_children_range): Likewise.
11096 (mi_get_features): Likewise.
11097 (mi_list_varobj_children): Rewrite.
11098 * gdb.python/python-mi.exp: New file.
11099
a6bac58e
TT
111002009-05-27 Tom Tromey <tromey@redhat.com>
11101 Thiago Jung Bauermann <bauerman@br.ibm.com>
11102 Phil Muldoon <pmuldoon@redhat.com>
11103 Paul Pluzhnikov <ppluzhnikov@google.com>
11104
11105 * gdb.python/python-prettyprint.exp: New file.
11106 * gdb.python/python-prettyprint.c: New file.
11107 * gdb.python/python-prettyprint.py: New file.
11108 * gdb.base/display.exp: print/r is now valid.
11109
2c74e833
TT
111102009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
11111 Tom Tromey <tromey@redhat.com>
11112 Pedro Alves <pedro@codesourcery.com>
11113 Paul Pluzhnikov <ppluzhnikov@google.com>
11114
11115 * gdb.python/python-template.exp: New file.
11116 * gdb.python/python-template.cc: New file.
11117 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
11118 tests.
11119 * gdb.python/python-value.exp (py_objfile_tests): New proc.
11120 Call it.
11121 (test_value_after_death): New proc.
11122 * gdb.python/python-value.c (PTR): New typedef.
11123 (main): New variable 'x'.
11124
89c73ade
TT
111252009-05-27 Tom Tromey <tromey@redhat.com>
11126
11127 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
11128 tests.
11129 * gdb.python/python-value.exp (py_objfile_tests): New proc.
11130 Call it.
11131
a75724bc
PA
111322009-05-27 Pedro Alves <pedro@codesourcery.com>
11133
11134 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
11135
e58b0e63
PA
111362009-05-24 Pedro Alves <pedro@codesourcery.com>
11137
11138 * gdb.threads/fork-thread-pending.c: New.
11139 * gdb.threads/fork-thread-pending.exp: New.
11140
4ac36638
JK
111412009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11142
11143 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
11144 * gdb.dwarf2/dw2-strp.S (a_string2): New.
11145
889bf7c5 111462009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 11147
889bf7c5 11148 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 11149
b242c3c2
PA
111502009-05-17 Pedro Alves <pedro@codesourcery.com>
11151
11152 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
11153 `gdb_get_line_number'. Call `callee' in both parent and child.
11154 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
11155 `gdb_get_line_number' instead of hardcoding line numbers.
11156 (catch_fork_unpatch_child): New procedure to test detaching
11157 breakpoints from child fork.
11158 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
11159 hardcoding line numbers.
11160 (do_fork_tests): Run `catch_fork_unpatch_child'.
11161
ee342b23
VP
111622009-05-17 Vladimir Prus <vladimir@codesourcery.com>
11163
11164 * gdb.mi/mi-cmd-var.exp: Check that when varobj
11165 of structure type enters or leaves the scope, it
11166 is reported by -var-update.
11167
e2009e98
DE
111682009-05-11 Doug Evans <dje@sebabeach.org>
11169
11170 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 11171 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
11172 * gdb.threads/schedlock.c (main): Fix off-by-one error.
11173
00903456
JK
111742009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11175
11176 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
11177
dc621c35
DE
111782009-04-30 Doug Evans <dje@google.com>
11179
11180 * gdb.threads/watchthreads2.exp: New testcase.
11181 * gdb.threads/watchthreads2.c: New testcase.
11182
9ab4e744
DE
111832009-04-29 Doug Evans <dje@google.com>
11184
11185 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
11186 * gdb.cp/mb-ctor.cc: Ditto.
11187 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
11188 * gdb.cp/mb-inline.h (multi_line_foo): New function.
11189 * gdb.cp/mb-inline1.cc: Call it.
11190 * gdb.cp/mb-inline2.cc: Ditto.
11191 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
11192 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
11193
484086b7
JK
111942009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11195
11196 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
11197 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
11198 Replace all uses of `decimal' by `nonzero'.
11199 (info macro FROM_COMMANDLINE): New test.
11200
379a77b5
TT
112012009-04-27 Tom Tromey <tromey@redhat.com>
11202
11203 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
11204
b92b73c2
DE
112052009-04-27 Doug Evans <dje@google.com>
11206
11207 * gdb.threads/watchthreads.c (main): Initialize args before starting
11208 the threads. Plus formatting cleanup.
11209 * gdb.threads/watchthreads.exp: Avoid errant failures due to
11210 biased scheduling of one thread.
11211
945a118d
JG
112122009-04-27 Jerome Guitton <guitton@adacore.com>
11213
11214 * gdb.cp/templates.cc (GetMax): New template.
11215 (main): Declare two instances of GetMax.
11216 * gdb.cp/templates.exp: Add new test.
11217
d389af10
JK
112182009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11219
11220 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
11221
e7f86de9
JM
112222009-04-22 Joseph Myers <joseph@codesourcery.com>
11223
11224 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
11225
334cc82d
TT
112262009-04-15 Tom Tromey <tromey@redhat.com>
11227
11228 * gdb.base/charset.exp: Add regression test.
11229
d12672cc
JB
112302009-04-14 Joel Brobecker <brobecker@adacore.com>
11231
11232 * gdb.base/exe-lock.exp: New testcase.
11233
18e8c3bc
TT
112342009-04-13 Tom Tromey <tromey@redhat.com>
11235
11236 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
11237 operator on Frame.
11238
5ecd5cbe
UW
112392009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11240
11241 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
11242 * gdb.server/ext-attach.exp: Likewise.
11243
7309f756
VP
112442009-04-03 Vladimir Prus <vladimir@codesourcery.com>
11245
11246 Eliminate some sleep usage.
11247
889bf7c5
PA
11248 * gdb.mi/basics.c (do_nothing): New.
11249 (main): Use do_nothing instead of printf, so that
11250 not to introduce race condition between output of
11251 inferiour and output of gdb. Do not use sleep as it
11252 is not generally available on embedded targets.
7309f756 11253
f4b95f6f
PA
112542009-04-02 Pedro Alves <pedro@codesourcery.com>
11255
11256 * gdb.server/ext-attach.exp: Expect an optional process id after
11257 "Detached from remote process".
11258
de40b933
JK
112592009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11260
11261 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
11262 gdb.dwarf2/dw2-unresolved.exp: New.
11263
2ae101a4
PA
112642009-04-02 Pedro Alves <pedro@codesourcery.com>
11265
11266 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
11267 mi_run_to_main.
11268
56a8e183
PA
112692009-04-02 Pedro Alves <pedro@codesourcery.com>
11270
11271 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
11272 mi_run_to_main. Skip thread exit test on remote targets.
11273 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
11274 mi_run_to_main.
11275 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
11276 mi_run_to_main.
11277 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
11278 when expecting ^connected. Detect when the target doesn't support
11279 non-stop mode.
11280 (mi_run_cmd): Detect if non-stop mode was requested by isn't
11281 supported. Return -1 on error, 0 on success.
11282 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
11283 (mi_runto): Return mi_runto_helper's result explicitly.
11284
c35fafde
PA
112852009-04-01 Pedro Alves <pedro@codesourcery.com>
11286
11287 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
11288
f8a8dce6
JB
112892009-04-01 Tom Tromey <tromey@redhat.com>
11290
11291 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
11292 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
11293 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
11294 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
11295
71c25dea
TT
112962009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
11297 Jan Kratochvil <jan.kratochvil@redhat.com>
11298
11299 PR gdb/931
11300 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
11301 output.
11302 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
11303 for gdb/931.
11304 * dw2-strp.S (DW_AT_language): Change to C++.
11305 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
11306
02d9a9ce
JB
113072009-03-31 Joel Brobecker <brobecker@adacore.com>
11308
11309 * gdb.ada/tasks: New testcase.
11310
1042e4c0
SS
113112009-03-30 Stan Shebs <stan@codesourcery.com>
11312
11313 * gdb.trace/actions.exp: Update to match new info trace format.
11314 * gdb.trace/deltrace.exp: Ditto.
11315 * gdb.trace/infotrace.exp: Ditto.
11316 * gdb.trace/passcount.exp: Ditto.
11317 * gdb.trace/save-trace.exp: Ditto.
11318 * gdb.trace/while-stepping.exp: Ditto.
11319 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
11320
f8f6f20b
TJB
113212009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11322
11323 * gdb.python/python-frame.c: New file.
11324 * gdb.python/python-frame.exp: New file.
11325
c0c6f777
TJB
113262009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
11327
11328 * gdb.python/python-value.exp: Add tests for the address
11329 attribute.
11330
3cb51905
AS
113312009-03-29 Andreas Schwab <schwab@linux-m68k.org>
11332
11333 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
11334
88fc996f
DE
113352009-03-26 Doug Evans <dje@google.com>
11336
11337 * gdb.mi/mi-nonstop-exit.exp: New file.
11338 * gdb.mi/non-stop-exit.c: New file.
11339
56ef84b1
TT
113402009-03-26 Tom Tromey <tromey@redhat.com>
11341
11342 Update for change to prologue skipping:
11343 * gdb.mi/mi2-simplerun.exp: Update.
11344 * gdb.mi/mi2-break.exp: Update.
11345 * gdb.mi/mi-simplerun.exp: Update.
11346 * gdb.mi/mi-break.exp: Update.
11347 * gdb.base/ending-run.exp: Update.
11348
def2b000
TJB
113492009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
11350
11351 * gdb.python/python-value.exp (test_value_in_inferior): Test
11352 gdb.Value.is_optimized_out attribute.
11353
442ddf59
JK
113542009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11355
11356 * gdb.dwarf2/dw2-noloc-main.c: New file.
11357 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
11358 (.text): Remove.
11359 (.data): New.
11360 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
11361 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
11362 (DW_TAG_subprogram func_cu1, noloc): Remove.
11363 (main): New.
11364 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
11365 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
11366 (file_symbols): New procedure.
11367
a8df5de4
TT
113682009-03-25 Tom Tromey <tromey@redhat.com>
11369
11370 * gdb.base/charset.exp (valid_target_charset): New proc.
11371 Use it to skip tests on invalid charsets.
11372
cc1d7add
PM
113732009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
11374
11375 * gdb.base/completion.exp: Add a test for directory completion.
11376
bcd5727b
JK
113772009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11378
11379 Fix a racy FAIL.
11380 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
11381 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
11382
cc924cad
TJB
113832009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
11384
11385 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
11386 * gdb.python/python-function.exp: Add test for function returning
11387 a GDB value.
11388
bc3b79fd
TJB
113892009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
11390
11391 * gdb.python/python-function.exp: New file.
11392
6c7a06a3
TT
113932009-03-20 Tom Tromey <tromey@redhat.com>
11394
11395 * gdb.base/store.exp: Update for change to escape output.
11396 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
11397 to escape output.
11398 * gdb.base/pointers.exp: Update for change to escape output.
11399 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
11400 to escape output.
11401 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
11402 escape output.
11403 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
11404 to escape output.
11405 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
11406 escape output.
11407 * gdb.base/setvar.exp: Update for change to escape output.
11408 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
11409 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
11410 to escape output.
11411 (test_print_string_constants): Likewise.
11412 * gdb.base/charset.exp (valid_host_charset): Check size of
11413 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
11414 cases. Handle "auto"-related output.
11415 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
11416 (uvar, Uvar): New globals.
11417
c31af87b
JG
114182009-03-19 Jerome Guitton <guitton@adacore.com>
11419
11420 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
11421 deltas.
11422 * gdb.ada/fixed_points.exp: Ditto.
11423
51272cf2
PA
114242009-03-18 Pedro Alves <pedro@codesourcery.com>
11425
11426 * return-nodebug.c: Don't include stdio.h.
11427 (init): Delete.
11428 (func): Delete definition and provide extern declaration.
11429 (t): New.
11430 (main): Don't call printf. Call func and store its result in t.
11431 * return-nodebug1.c: New.
11432 * return-nodebug.exp: Don't expect stdio output. Instead, print
11433 the global variable t. Drop printf formatters and cast types from
11434 foreach loop. Don't use prepare_for_testing. Compile
11435 return-nodebug.c and return-nodebug1.c in separate steps. Don't
11436 define FORMAT or CAST.
11437
d24948ac
PP
114382009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11439
11440 * gdb.base/solib-display.exp: Disable test for remote targers.
11441
61ff14c6
JK
114422009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11443
11444 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
11445
cb4dce93
JK
114462009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11447
11448 Fix a racy FAIL.
11449 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
11450 code from `follow parent, print pids'.
11451 (`follow child, print pids', `follow parent, print pids'): Call it.
11452 Replace `gdb_test "break..."' by gdb_breakpoint.
11453
f7c60c5e
VP
114542009-03-13 Vladimir Prus <vladimir@codesourcery.com>
11455
11456 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 11457 sync and async modes.
f7c60c5e 11458
383ace49
JB
114592009-03-12 Joel Brobecker <brobecker@adacore.com>
11460
11461 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
11462 that was checked in by mistake. Remove loading of ada.exp, since
11463 this is not necessary in this case.
11464
4ce102af
JB
114652009-03-12 Joel Brobecker <brobecker@adacore.com>
11466
11467 * gdb.ada/ptype_arith_binop.exp: New testcase.
11468
529a2aef
JB
114692009-03-12 Joel Brobecker <brobecker@adacore.com>
11470
11471 * gdb.ada/mod_from_name: New testcase.
11472
8a38181c
JB
114732009-03-12 Joel Brobecker <brobecker@adacore.com>
11474
11475 * gdb.ada/tick_last_segv: New testcase.
11476
11436dee
VP
114772009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11478
61ff14c6 11479 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 11480
1f31650a
VP
114812009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11482
61ff14c6
JK
11483 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
11484 include the token in ^running and frame info in *stopped.
1f31650a 11485
a3247a22
PP
114862009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11487
11488 * solib-display.exp: New file.
11489 * solib-display-main.c: New file.
11490 * solib-display-lib.c: New file.
61ff14c6 11491
aae64587
PA
114922009-03-05 Pedro Alves <pedro@codesourcery.com>
11493
11494 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
11495
44aabfbc
JK
114962009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11497
11498 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
11499 (list_and_check_macro): Use more specific test name.
11500 (next to definition): Make the test names unique.
11501
c087fcd3
PM
115022009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
11503
11504 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 11505
c86cf029
VP
115062009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11507
11508 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
11509 notifications.
11510 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
11511 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
11512 * lib/mi-support.exp (library_loaded_re): New.
11513 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
11514
3ea85240
VP
115152009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11516
11517 * gdb.gdb/observer.exp: Use test_notification observer, not
11518 normal_stop, everywhere.
11519 (test_normal_stop_notifications): Rename to...
11520 (test_notifications): ...this.
11521 (test_observer_normal_stop): Rename to...
11522 (test_observer): ...this.
11523
1903f0e6
DE
115242009-02-16 Doug Evans <dje@google.com>
11525
11526 * gdb.arch/amd64-disp-step.S (test_int3): New test.
11527 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
11528 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
11529 (test_prefixed_syscall,test_int3): New tests.
11530 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
11531 (test_prefixed_syscall,test_int3): New tests.
11532
1d33d6ba
VP
115332009-02-14 Vladimir Prus <vladimir@codesourcery.com>
11534
3cb51905
AS
11535 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
11536 (mi_expect_interrupt): Likewise.
11537 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
11538 response.
1d33d6ba 11539
faafb047
PM
115402009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11541
11542 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
11543 * gdb.base/pc-fp.exp (get_valueofx): Remove.
11544 Replace calls to get_valueofx by get_hexadecimal_valueof.
11545
417e16e2
PM
115462009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
11547
11548 * lib/gdb.exp (get_valueof): Accept anything as a return value.
11549 (get_integer_valueof): New procedure.
11550 (get_sizeof): Use new get_integer_value_of.
11551 * gdb.base/sizeof.exp: Replace all uses of get_valueof
11552 by get_integer_valueof.
11553
7065b901
TT
115542009-02-13 Tom Tromey <tromey@redhat.com>
11555
11556 * gdb.base/remote.exp (get_sizeof): Remove.
11557 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
11558 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
11559 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
11560 * lib/gdb.exp (get_valueof): Move from long_long.exp.
11561 (get_sizeof): Likewise.
11562
5d7cb8df
JK
115632009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11564
11565 PR fortran/9806
11566 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
11567
b2febfff
PP
115682009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11569
11570 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
11571
4aa995e1
PA
115722009-02-06 Pedro Alves <pedro@codesourcery.com>
11573
11574 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
11575
d8906c6f
TJB
115762009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
11577
11578 * gdb.python/python-cmd.exp: New file.
11579
ff4ab08d
TG
115802009-02-06 Tristan Gingold <gingold@adacore.com>
11581
11582 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
11583
aacd552b
TG
115842009-02-05 Tristan Gingold <gingold@adacore.com>
11585
11586 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
11587 pointer is dereferenced and use this signal name in regexp.
11588 * gdb.base/signull.exp: Ditto.
11589 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
11590 * gdb.base/signull.c (main): Ditto.
11591
08c637de
TJB
115922009-02-04 Tom Tromey <tromey@redhat.com>
11593 Thiago Jung Bauermann <bauerman@br.ibm.com>
11594
11595 * gdb.python/python-value.exp: Use `gdb.history' instead of
11596 `gdb.value_from_history'.
11597 (test_value_numeric_ops): Add test for conversion of enum constant.
11598 * gdb.python/python-value.c (enum e): New type.
11599 (evalue): New global.
11600 (main): Use argv.
11601
20261af8
JG
116022009-02-04 Jerome Guitton <guitton@adacore.com>
11603
11604 * gdb.ada/uninitialized_vars: New test program.
11605 * gdb.ada/uninitialized_vars.exp: New testcase.
11606
52e44b43
TT
116072009-02-02 Tom Tromey <tromey@redhat.com>
11608
11609 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
11610 * gdb.cp/pr2489.cc: Rename...
11611 * gdb.cp/pr9594.cc: ... to this.
11612
1c71341a
TT
116132009-02-02 Tom Tromey <tromey@redhat.com>
11614
11615 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
11616 * gdb.cp/pr2489.cc: New file.
11617 * gdb.cp/cpcompletion.exp: New file.
11618
a4295225
TT
116192009-02-02 Tom Tromey <tromey@redhat.com>
11620
11621 PR exp/9059:
11622 * gdb.cp/call-c.exp: Add regression test.
11623 * gdb.cp/call-c.cc (FooHandle): New typedef.
11624 (main): New variable 'handle'.
11625
592375cd
VP
116262009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11627
11628 * lib/mi-support.exp (et_mi_thread_list)
11629 (check_mi_and_console_threads): Adjust for current thread in
11630 -thread-list-ids output.
11631
41447f92
VP
116322009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11633
889bf7c5
PA
11634 * gdb.mi/mi-break.exp (test_disabled_creation): New.
11635 Call it.
41447f92 11636
35669430
DE
116372009-01-28 Doug Evans <dje@google.com>
11638
11639 * gdb.arch/amd64-disp-step.S: New file.
11640 * gdb.arch/amd64-disp-step.exp: New file.
11641 * gdb.arch/i386-disp-step.S: New file.
11642 * gdb.arch/i386-disp-step.exp: New file.
11643
09f00d9a
PM
116442009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
11645
11646 * gdb.base/find.exp: Set newline variable
11647 using quotes instead of braces to fix cygwin failures.
11648
1e8fb976
PA
116492009-01-23 Pedro Alves <pedro@codesourcery.com>
11650
11651 * gdb.base/radix.exp: Add tests to ensure that that set
11652 input-radix 0 and set output-radix 0 are really rejected.
11653
da061712
PA
116542009-01-23 Pedro Alves <pedro@codesourcery.com>
11655
11656 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
11657 copyright years.
11658
dd7e2d2b
PA
116592009-01-23 Pedro Alves <pedro@codesourcery.com>
11660
11661 PR gdb/9664:
11662 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
11663
392452f6
PA
116642009-01-22 Pedro Alves <pedro@codesourcery.com>
11665
11666 PR c++/9631:
11667 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
11668
8653e71c
PM
116692009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
11670
11671 * gdb.server/file-transfer.exp: Use EXEEXT variable for
11672 binfile definition to fix Windows OS failure.
11673
a12cc160
DJ
116742009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11675
11676 PR gdb/9346
11677 * gdb.base/interrupt.c (sigint_handler): New.
11678 (main): Install a SIGINT handler if SIGNALS is defined. Exit
11679 on error.
11680 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
11681 Test "signal SIGINT".
11682
b89667eb
DE
116832009-01-19 Doug Evans <dje@google.com>
11684
11685 * gdb.base/break.exp: Update expected gdb output.
11686 * gdb.base/sepdebug.exp: Ditto.
11687 * gdb.mi/mi-syn-frame.exp: Ditto.
11688 * gdb.mi/mi2-syn-frame.exp: Ditto.
11689 * gdb.base/call-signal-resume.exp: New file.
11690 * gdb.base/call-signals.c: New file.
11691 * gdb.base/unwindonsignal.exp: New file.
11692 * gdb.base/unwindonsignal.c: New file.
11693 * gdb.threads/interrupted-hand-call.exp: New file.
11694 * gdb.threads/interrupted-hand-call.c: New file.
11695 * gdb.threads/thread-unwindonsignal.exp: New file.
11696
adb483fe
DJ
116972009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
11698
11699 * gdb.base/define.exp: Test defining and hooking prefix commands.
11700 * gdb.python/python.exp: Update test for "show user" output.
11701
60023297
JK
117022009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11703
11704 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
11705 now the output exactly, using less wildcards. Expect also the output
11706 of gfortran-4.3. Update for the f-valprint.c modification from
11707 2008-04-22.
11708 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
11709 Remove gdb_test test names where matching the command.
11710
ccc57cf9
PA
117112009-01-01 Pedro Alves <pedro@codesourcery.com>
11712
11713 PR breakpoints/9681:
11714 * gdb.base/watchpoint.exp: Add regression test.
11715
c7a6ca08
PA
117162008-12-31 Pedro Alves <pedro@codesourcery.com>
11717
11718 * gdb.threads/attach-into-signal.exp: Don't use
11719 gdb_suppress_entire_file.
11720 * gdb.threads/attach-stopped.exp: Ditto.
11721 * gdb.threads/attachstop-mt.exp: Ditto.
11722
3a031f65
PA
117232008-12-31 Pedro Alves <pedro@codesourcery.com>
11724
11725 PR gdb/8812:
11726 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
11727
09e6485f
PA
117282008-12-29 Pedro Alves <pedro@codesourcery.com>
11729
11730 PR gdb/7536:
11731 * gdb.base/radix.exp: Add tests to ensure invalid input radices
11732 and unsupported output radices are really rejected.
11733
0cd53049
JK
117342008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11735
11736 * gdb.cp/punctuator.exp: Backslash the '$' signs.
11737
ba163c7e
TT
117382008-12-22 Tom Tromey <tromey@redhat.com>
11739
11740 * gdb.cp/punctuator.exp: New file.
11741
6f4de6c9
JK
117422008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11743
11744 * gdb.base/completion.exp (Completing non-existing component): New test.
11745
0f34d0b4
JK
117462008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11747
11748 Fix for PR gdb/8648.
11749 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
11750 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
11751 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
11752 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
11753
db2ad4c3
JK
117542008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11755
11756 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
11757
bb5ef15e
DP
117582008-12-16 Christophe Lyon <christophe.lyon@st.com>
11759
11760 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
11761 compiler actually generate code at the expected line number.
11762
90142adc
JZ
117632008-12-15 Jie Zhang <jie.zhang@analog.com>
11764
11765 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
11766
fad6eecd
TT
117672008-12-12 Tom Tromey <tromey@redhat.com>
11768
11769 * gdb.base/commands.exp (redefine_hook_test): New proc.
11770 Call it.
11771
17c8aaf5
TT
117722008-12-11 Tom Tromey <tromey@redhat.com>
11773
11774 * gdb.base/macscp.exp: New regression test.
11775
7c8adf68
TT
117762008-12-11 Tom Tromey <tromey@redhat.com>
11777
11778 * gdb.base/macscp.exp: Print "address.addr".
11779 * gdb.base/macscp1.c (struct outer): New struct.
11780 (address): New global.
11781
b05dcbb7
TT
117822008-12-09 Tom Tromey <tromey@redhat.com>
11783
11784 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
11785 Call it.
11786
2d476de1
DE
117872008-12-04 Doug Evans <dje@google.com>
11788
11789 * gdb.server/ext-run.exp: Relax regexp for init program.
11790
87bdc959
TG
117912008-12-03 Tristan Gingold <gingold@adacore.com>
11792
11793 * gdb.base/macscp.exp: Generate an object file during compilation
11794 to work around Darwin dsymutil limitations.
11795
e0740f77
JK
117962008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11797
11798 Test resolving external references to TLS variables.
11799 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
11800 FILE2_THREAD_LOCAL.
11801 (testfile2, srcfile2): New variables.
11802 * gdb.threads/tls.c (file2_thread_local)
11803 (function_referencing_file2_thread_local): New.
11804 * gdb.threads/tls2.c: New file.
11805
67f0aac5
JB
118062008-11-28 Joel Brobecker <brobecker@adacore.com>
11807
11808 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
11809 rather than integer, as integer might not be big enough when
11810 on 64bit targets.
67f0aac5 11811
c332165e
JG
118122008-11-27 Jerome Guitton <guitton@adacore.com>
11813
11814 * gdb.cp/formatted-ref.exp: Add equality test.
11815 * gdb.ada/formatted_ref.exp: Ditto.
11816
fc9b693c
JK
118172008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11818
11819 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
11820 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
11821
a9c64011
AS
118222008-11-20 Andreas Schwab <schwab@suse.de>
11823
11824 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
11825 matching syscall entry point.
11826 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11827 (tcatch_vfork_then_child_follow): Likewise. Finish through
11828 vfork even if we stopped at the syscall trampoline.
11829
e2fd701e
DE
118302008-11-20 Doug Evans <dje@google.com>
11831
11832 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
11833
69abc51c
TJB
118342008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
11835
11836 * gdb.arch/ppc-dfp.exp: New file.
11837 * gdb.arch/ppc-dfp.c: New file.
11838
c14c28ba
PP
118392008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11840
11841 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 11842
2e74121d
DE
118432008-11-17 Doug Evans <dje@google.com>
11844
11845 * gdb.mi/mi-syn-frame.exp: Update expected output.
11846 * gdb.mi/mi2-syn-frame.exp: Update expected output.
11847
66bb093b
VP
118482008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11849
11850 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
11851 "thread N" results in =thread-selected.
11852 * lib/mi-support (mi_run_cmd, mi_expect_stop)
11853 (mi_send_resuming_command_raw): Be prepared for
11854 =thread-selected.
11855
3d043ef6
VP
118562008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11857
a9c64011
AS
11858 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
11859 * lib/mi-support.exp: Likewise.
3d043ef6 11860
808104c8
JB
118612008-11-16 Joel Brobecker <brobecker@adacore.com>
11862
11863 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
11864 commands from the expected output for "help catch".
11865
00b22944
JB
118662008-11-15 Joel Brobecker <brobecker@adacore.com>
11867
11868 * gdb.ada/int_deref.exp: New testcase.
11869
59669435
TT
118702008-11-14 Nick Roberts <nickrob@snap.net.nz>
11871
11872 * gdb.mi/gdb2549.exp: New file.
11873
de04a248
DE
118742008-11-11 Doug Evans <dje@google.com>
11875
11876 * gdb.base/callexit.exp: New file.
11877 * gdb.base/callexit.c: New file.
11878
6b8ce727
DE
118792008-11-10 Doug Evans <dje@google.com>
11880
11881 * lib/gdb.exp (GDBFLAGS): Move -nx ...
11882 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
11883 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
11884 (default_gdb_start,default_gdb_exit): Ditto.
11885 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
11886 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
11887 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
11888 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
11889 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
11890 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
11891
1b14b8aa
AS
118922008-11-03 Andreas Schwab <schwab@suse.de>
11893
11894 * gdb.base/hashline2.exp: Fix typo.
11895 * gdb.base/hashline3.exp: Likewise.
11896
f3134b88
TT
118972008-10-30 Tom Tromey <tromey@redhat.com>
11898
11899 * gdb.base/pointers.exp: Add test.
11900 * gdb.base/pointers.c (k, S): New typedefs.
11901 (instance): New global.
11902
c2226152
AS
119032008-10-30 Andreas Schwab <schwab@suse.de>
11904
11905 * gdb.base/args.exp: Add tests for newlines.
11906
462f405c
JB
119072008-10-30 Joel Brobecker <brobecker@adacore.com>
11908
11909 gdb.base/foll-exec.exp: Update the expected output of a couple
11910 of "info breakpoints" tests.
11911
79a45b7d
TT
119122008-10-28 Tom Tromey <tromey@redhat.com>
11913
11914 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
11915
adc13a14
PA
119162008-10-24 Pedro Alves <pedro@codesourcery.com>
11917
11918 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
11919 gdb_start_cmd.
11920 Use runto_main before any test that requires execution.
11921
252fbfc8
PA
119222008-10-23 Pedro Alves <pedro@codesourcery.com>
11923
11924 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
11925 instead of SIGINT.
11926
28148e3d
JB
119272008-10-22 Joel Brobecker <brobecker@adacore.com>
11928
11929 * gdb.base/completion.exp: Update expected output following
11930 the addition of the "info tasks" command.
11931
c209f847
TT
119322008-10-22 Tom Tromey <tromey@redhat.com>
11933
11934 * gdb.base/exprs.exp (test_expr): Add test for string
11935 concatenation.
11936
f177e350
PA
119372008-10-19 Pedro Alves <pedro@codesourcery.com>
11938
11939 * configure.ac: Output gdb.python/Makefile.
11940 * configure: Regenerate.
11941 * gdb.python/Makefile.in: New.
11942
cce89356
JB
119432008-10-16 Joel Brobecker <brobecker@adacore.com>
11944
11945 * gdb.base/foll-fork.exp: Adjust the expected output to match
11946 the new description for fork/vfork catchpoints in the "info
11947 breakpoints" output.
11948
176d289d
TJB
119492008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11950
11951 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
11952
a08702d6
TJB
119532008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11954
11955 * gdb.python/python-value.c: New file.
11956 * gdb.python/python-value.exp: New file.
11957
1c5cfe86
PA
119582008-10-15 Pedro Alves <pedro@codesourcery.com>
11959
11960 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
11961
5a98ad69
DP
119622008-10-15 Denis Pilat <denis.pilat@st.com>
11963
41702f1b 11964 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 11965
dcb1a1e2
TT
119662008-10-09 Tom Tromey <tromey@redhat.com>
11967
11968 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
11969 'fprintf' and 'stderr'.
11970
9124fe48
JB
119712008-10-07 Joel Brobecker <brobecker@adacore.com>
11972
11973 * gdb.ada/ref_tick_size.exp: New testcase.
11974
45452591
DE
119752008-10-06 Doug Evans <dje@google.com>
11976
11977 * gdb.dwarf2/dw2-cu-size.exp: New file.
11978 * gdb.dwarf2/dw2-cu-size.S: New file.
11979
11980 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
11981 .Ltype_int for clarity.
11982
4fc5b208
PP
119832008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11984
11985 PR gdb/2384:
11986 * gdb.cp/gdb2384.exp: Extended to test more cases.
11987 * gdb.cp/gdb2384.cc: Likewise.
11988 * gdb.cp/gdb2384-base.h: Likewise.
11989 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 11990
d78df370
JK
119912008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11992
11993 * gdb.base/maint.exp (maint print type): Remove printing
11994 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
11995
9a044a89
TT
119962008-09-30 Tom Tromey <tromey@redhat.com>
11997
11998 * gdb.base/macscp.exp: Add completion tests.
11999 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
12000 (TWENTY_THREE): Likewise.
12001 (FORTY_EIGHT): Likewise.
12002
506800a9
TT
120032008-09-30 Tom Tromey <tromey@redhat.com>
12004
12005 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
12006 everywhere.
12007 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
12008
1a6f01b5
JK
120092008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12010
12011 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
12012 testcase is derived from. Fix racy dependency on an expected PID
12013 number. No longer support the testcase on Linux kernel 2.4.x.
12014
2fae03e8
TT
120152008-09-27 Tom Tromey <tromey@redhat.com>
12016
12017 * gdb.base/macscp.exp: Add tests for stringification, splicing,
12018 and varargs.
12019
1ad15515
PA
120202008-09-22 Pedro Alves <pedro@codesourcery.com>
12021
12022 * lib/mi-support.exp (mi_expect_interrupt): New.
12023 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
12024 from gdb.mi/mi-nonstop.exp.
12025 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
12026 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
12027 lib/mi-support.exp.
12028 Use mi_check_thread_states throughout. Avoid ".*" and do not
12029 require an anchor after -exec-run.
12030
d0b76dc6
DJ
120312008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
12032
12033 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
12034 stop is pending. Avoid ".*" when two stops are pending.
12035 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
12036 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
12037 newlines in fullnames.
12038 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
12039 (mi_expect_stop): Update comments. Only anchor in sync mode.
12040 Do not match newlines.
12041 (mi_send_resuming_command_raw): Always return status.
12042 (mi_get_stop_line): Do not match more than one line by accident.
12043 Only anchor in sync mode.
12044 (mi_run_inline_test): If -exec-next fails, give up.
12045
9990c830
UW
120462008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12047
12048 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
12049 on SPU.
12050
ebcf6f00
JB
120512008-09-10 Joel Brobecker <brobecker@adacore.com>
12052
12053 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
12054
b6db24e5
JB
120552008-09-10 Joel Brobecker <brobecker@adacore.com>
12056
12057 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
12058 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
12059 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
12060 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
12061 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
12062 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
12063 gdb.ada/interface.exp, gdb.ada/null_array.exp,
12064 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
12065 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
12066 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
12067 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
12068 Include the "= " sequence in the expected output of print tests.
12069
2bf448e0
JB
120702008-09-10 Joel Brobecker <brobecker@adacore.com>
12071
12072 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
12073 description for boolean types.
12074
d51fd4c8
PA
120752008-09-09 Pedro Alves <pedro@codesourcery.com>
12076
12077 * gdb.base/hook-stop-continue.c: New.
12078 * gdb.base/hook-stop-continue.exp: New.
12079
694182d2
DJ
120802008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
12081
12082 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
12083
3b8a7fc0
JG
120842008-09-08 Jerome Guitton <guitton@adacore.com>
12085
12086 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
12087 (stack_check_probe_2, stack_check_probe_loop_1)
12088 (stack_check_probe_loop_2): New functions.
12089 (main): Add call to these new functions.
12090 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
12091 functions, check that the breakpoint is inserted at the appropriate
12092 location.
12093 (insert_breakpoint): Slightly refine this procedure so that it can
12094 be called several times in the test.
12095
96cc0ae8
JG
120962008-09-08 Jerome Guitton <guitton@adacore.com>
12097
12098 * gdb.base/stack-checking.c: New file.
12099 * gdb.base/stack-checking.exp: New file.
12100
1f08b409
TJB
121012008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
12102
12103 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
12104 * gdb.arch/altivec-regs.exp: Likewise.
12105 * gdb.arch/vsx-regs.exp: Likewise.
12106
3099e1c4
TJB
121072008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
12108
12109 * gdb.arch/ppc-fp.exp: New file.
12110 * gdb.arch/ppc-fp.c: New file.
12111
cc69bfc1
PP
121122008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12113
12114 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
12115 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 12116
b02a33db
MS
121172008-09-04 Michael Snyder <msnyder@vmware.com>
12118
12119 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
12120 as "at" (for non-debug functions such as _start).
12121
2992cbe0
UW
121222008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12123
12124 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
12125 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
12126 software watchpoints.
12127 * gdb.base/watch_thread_num.exp: Likewise.
12128
514f746b
AR
121292008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
12130
12131 * gdb.arch/i386-bp_permanent.exp: New test.
12132
876cecd0
TT
121332008-08-24 Tom Tromey <tromey@redhat.com>
12134
12135 * gdb.base/maint.exp: Update "maint print type".
12136
80f73d71
VP
121372008-08-21 Vladimir Prus <vladimir@codesourcery.com>
12138
12139 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
12140 support. Adjust the order of "*running" notifications.
12141 * gdb.mi/non-stop.c: Don't cast from int to void* and
12142 back.
12143
d9c78d7d
MK
121442008-08-20 Mark Kettenis <kettenis@gnu.org>
12145
12146 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
12147 expect to find it in the "info frame" output.
12148
97a2d1d3
DJ
121492008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
12150
12151 * gdb.base/interp.exp: Always consume both prompts.
12152
b96e2927
PA
121532008-08-20 Pedro Alves <pedro@codesourcery.com>
12154
12155 * gdb.base/pending.exp: Test pending breakpoints without symbols
12156 loaded.
12157
8cf6e61a
VP
121582008-08-19 Vladimir Prus <vladimir@codesourcery.com>
12159
12160 * lib/mi-support.exp (mi_expect_stop): Produce
12161 more details on failures.
12162 * gdb.mi/mi-nonstop.exp: New.
12163 * gdb.mi/non-stop.c: New.
12164
c6ebd6cf
VP
121652008-08-19 Vladimir Prus <vladimir@codesourcery.com>
12166
a9c64011
AS
12167 * gdb.mi/mi-async.exp: Use 'set target-async'.
12168 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 12169
46a9b8ed
DJ
121702008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
12171
12172 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
12173
44feb3ce
TT
121742008-08-17 Tom Tromey <tromey@redhat.com>
12175
12176 * gdb.base/help.exp (help catch): Rewrite.
12177
311a4e6b
TJB
121782008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
12179
12180 * gdb.base/define.exp: Test indented command documentation.
12181 * gdb.python/python.exp: Test indented multi-line command.
12182
604c2f83
LM
121832008-08-15 Luis Machado <luisgpm@br.ibm.com>
12184
12185 * testsuite/gdb.arch/vsx-regs.c: New source file.
12186 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
12187 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
12188
886a217c
TT
121892008-08-14 Tom Tromey <tromey@redhat.com>
12190
12191 * gdb.base/macscp.exp: Add regression test for "macro define" or
12192 "macro undef" with no arguments.
12193
c814a4f3
PP
121942008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12195
12196 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 12197
12ab8a60
UW
121982008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12199
12200 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
12201
d57a3c85
TJB
122022008-08-06 Tom Tromey <tromey@redhat.com>
12203
12204 * gdb.python/python.exp: New file.
12205
c7b778ff
JK
122062008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12207
12208 Fix for PR gdb/1543.
12209 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
12210 $LOCATION.
12211 (location): New variable.
12212 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
12213 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
12214 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
12215 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
12216 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
12217 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
12218 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
12219 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
12220 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
12221 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
12222 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
12223 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
12224 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
12225 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
12226 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
12227 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
12228 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
12229 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
12230 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
12231 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
12232 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
12233 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
12234 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
12235 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
12236 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
12237 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
12238 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
12239 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
12240 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
12241 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
12242 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
12243 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
12244 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
12245 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
12246 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
12247 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
12248 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
12249 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
12250 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
12251 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
12252 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
12253 gdb.base/type-opaque.exp, gdb.base/until.exp,
12254 gdb.base/value-double-free.c, gdb.base/varargs.exp,
12255 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
12256 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
12257 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12258 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
12259 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
12260 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12261 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12262 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12263 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
12264 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
12265 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
12266 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
12267 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
12268 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
12269 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
12270 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
12271 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
12272 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
12273 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
12274 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12275 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
12276 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
12277 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
12278 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12279 gdb.pascal/types.exp, gdb.stabs/weird.exp,
12280 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
12281 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
12282 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
12283 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
12284 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
12285 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
12286 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12287 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12288 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12289 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12290 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12291 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
12292 lib/mi-support.exp, lib/trace-support.exp: Remove reference
12293 to bug-gdb@prep.ai.mit.edu .
12294
5e06a3d1
VP
122952008-07-31 Vladimir Prus <vladimir@codesourcery.com>
12296
12297 * lib/mi-support.exp (mi_load_shlibs): New.
12298 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
12299
9d81d21b
VP
123002008-07-30 Vladimir Prus <vladimir@codesourcery.com>
12301
12302 * lib/mi-support.exp (get_mi_thread_list)
12303 (check_mi_and_console_threads): New, moved from ...
12304 * gdb.mi/mi-pthread.exp: ...here.
12305 * gdb.mi/gdb669.exp (get_mi_thread_list)
12306 (check_mi_and_console_threads): Delete.
12307 * gdb.mi/mi2-pthread.exp: Likewise.
12308
bae98fe0
TT
123092008-07-28 Tom Tromey <tromey@redhat.com>
12310
12311 * Makefile.in (just-check): Remove. Move body to...
12312 (check): ... here.
12313
57380f4e
DJ
123142008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12315
12316 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
12317 Add a test for duplicated SIGINTs.
12318
e09490f1
DJ
123192008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12320
12321 * gdb.threads/schedlock.exp (get_args): Update to work for any
12322 value of NUM.
12323 (Top level): Report the number of threads that did not resume.
12324
6387b45f
DJ
123252008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12326
12327 * gdb.dwarf2/dw2-compressed.S: Also define __start.
12328
62f64ff2
DJ
123292008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12330
12331 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
12332 non-MI prompt.
12333
fa8de41e
TT
123342008-07-26 Tom Tromey <tromey@redhat.com>
12335
12336 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
12337 (function_struct, function_struct_ptr): New globals.
12338 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
12339 function pointer in a struct.
12340
ccb3ac8a
TT
123412008-07-26 Tom Tromey <tromey@redhat.com>
12342
12343 * gdb.base/macscp.exp: Add test for macro lexing bug.
12344
d7d9f01e
TT
123452008-07-18 Tom Tromey <tromey@redhat.com>
12346
12347 * gdb.base/macscp.exp: Add macro tests.
12348
9bf07184
PP
123492008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12350
12351 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
12352
becf6477
PP
123532008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12354
12355 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
12356
0709f7d3
PP
123572008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
12358
12359 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 12360
7093c834
PP
123612008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12362
12363 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 12364
b432ffe3
JK
123652008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12366
12367 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
12368
b1a268e5
VP
123692008-07-12 Vladimir Prus <vladimir@codesourcery.com>
12370
12371 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
12372
e2995f8e
KB
123732008-07-11 Kevin Buettner <kevinb@redhat.com>
12374
12375 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
12376 of regexp to account for changes made to GDB in the printing of
12377 byte vectors.
12378
14032a66
TT
123792008-07-11 Tom Tromey <tromey@redhat.com>
12380
12381 * gdb.base/completion.exp: Add 'help' completion test.
12382
981505ef
JK
123832008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12384
12385 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
12386
10568435
JK
123872008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12388
12389 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
12390
4487aabf
PA
123912008-07-09 Pedro Alves <pedro@codesourcery.com>
12392
12393 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
12394
a4a9b1c4
PA
123952008-07-09 Pedro Alves <pedro@codesourcery.com>
12396
12397 * gdb.base/fullname.exp: Restore pwd if compiling failed.
12398
3c3185ac
JK
123992008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12400
12401 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
12402
7ebd49dc
VP
124032008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12404
12405 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
12406 previous commit. Add a comment.
12407
84e46146
PA
124082008-06-28 Pedro Alves <pedro@codesourcery.com>
12409
12410 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
12411
0f8d4a2f
VP
124122008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12413
12414 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
12415
f747e0ce
PA
124162008-06-27 Pedro Alves <pedro@codesourcery.com>
12417
12418 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
12419 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
12420 compiling an executable, link in an object that forces unbuffered
12421 output.
12422 * lib/set_unbuffered_mode.c: New file.
12423
734a5c36
JK
124242008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12425
12426 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
12427
a2840c35
VP
124282008-06-25 Vladimir Prus <vladimir@codesourcery.com>
12429
a9c64011
AS
12430 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
12431 mi_expect_stop.
12432 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
12433 Demand that *running is output.
12434 (detect_async): Perform checking every time.
12435 (mi_send_resuming_command): Extract everything into...
12436 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
12437 (mi_expect_stop): Don't accept any output before *stopped.
12438
6ae37fef
VP
124392008-06-13 Vladimir Prus <vladimir@codesourcery.com>
12440
12441 Robustify mi-simplerun.
a9c64011
AS
12442 * gdb.mi/basics.c (main): Add a call to sleep.
12443 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
12444 * gdb.mi/mi2-cli.exp: Likewise.
12445 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 12446
b4aa76f0 124472008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
12448
12449 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
12450
e1ac3328
VP
124512008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12452
a9c64011
AS
12453 * gdb.mi/mi-console.exp: Adjust.
12454 * gdb.mi/mi-syn-frame.exp: Adjust.
12455 * gdb.mi/mi2-console.exp: Adjust.
12456 * gdb.mi/mi2-syn-frame.exp: Adjust.
12457 * lib/mi-support.exp (mi_run_cmd): Adjust.
12458 (mi_send_resuming_command): Adjust.
e1ac3328 12459
f7f9a841
VP
124602008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12461
12462 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
12463 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
12464 testing of stopped.
12465 * gdb.mi/mi2-syn-frame.exp: Likewise.
12466 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
12467 (async, detect_async): New.
12468 (mi_expect_stop, mi_continue_to_line): Adjust expectation
12469 depending on if we're running in sync or async mode.
f7f9a841 12470
37cd5d19
TT
124712008-06-09 Tom Tromey <tromey@redhat.com>
12472
12473 * gdb.base/completion.exp: New tests for field name completion
12474 with spaces, and field name completion with '->'.
12475
65d12d83
TT
124762008-06-06 Tom Tromey <tromey@redhat.com>
12477
12478 * gdb.base/break1.c (struct some_struct): New struct.
12479 (values): New global.
12480 * gdb.base/completion.exp: Add field name completion test.
12481
ebfe2e3f
PP
124822008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12483
12484 * gdb.cp/call-c.exp: Test for incorrect handling of reference
12485 to pointer.
12486 * gdb.cp/call-c.cc: Likewise.
12487
bcf6fc3a
NR
124882008-06-06 Nick Roberts <nickrob@snap.net.nz>
12489
12490 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
12491 annotation.
12492
49fd4a42 124932008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 12494 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
12495
12496 * gdb.threads/execl.c, gdb.threads/execl1.c,
12497 gdb.threads/execl.exp: New tests.
a9c64011 12498
8a34ac3f
AR
124992008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
12500 Daniel Jacobowitz <dan@codesourcery.com>
12501
12502 * gdb.cp/exception.exp: Activate test, make it work with pending
12503 catchpoints.
12504
86ae69ef
JK
125052008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12506
12507 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
12508
f7f9ae2c
VP
125092008-05-28 Vladimir Prus <vladimir@codesourcery.com>
12510
a9c64011
AS
12511 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
12512 now printed.
12513 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 12514
2a2d4dc3
AS
125152008-05-27 Andreas Schwab <schwab@suse.de>
12516
12517 * gdb.base/frame-args.exp: Handle arguments that are optimized
12518 out.
12519
5099e4d9
LM
125202008-05-26 Luis Machado <luisgpm@br.ibm.com>
12521
12522 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
12523 quiet for ppc32 and group options into a single variable.
12524
d9c36a91
JB
125252008-05-23 Joel Brobecker <brobecker@adacore.com>
12526
12527 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
12528 of zero-size elements.
12529 * gdb.ada/null_array.exp: Test printing this new array.
12530
103a8671
JK
125312008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12532
12533 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
12534
07a4cc1a 125352008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
12536
12537 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
12538 of the "finish" command.
12539
55f996a7
NR
125402008-05-21 Nick Roberts <nickrob@snap.net.nz>
12541
12542 * gdb.base/annota1.exp: Test for new annotation.
12543
907fc202
UW
125442008-05-16 Pedro Alves <pedro@codesourcery.com>
12545
12546 * gdb.base/fixsection.exp: New file.
12547 * gdb.base/fixsection0.c: New file.
12548 * gdb.base/fixsection1.c: New file.
12549
e8f97270
UW
125502008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12551
12552 * gdb.base/annota1.exp: Accept printf@... in place of printf.
12553 * gdb.base/annota3.exp: Likewise.
12554
ac0bb574
NF
125552008-05-13 Nathan Froyd <froydnj@codesourcery.com>
12556
12557 * gdb.base/watch_thread_num.exp: Don't run tests that require
12558 watchpoints if the target doesn't support them.
12559
6fadd07a
DE
125602008-05-12 Doug Evans <dje@google.com>
12561
12562 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
12563
6e9a4a30
JB
125642008-05-09 Joel Brobecker <brobecker@adacore.com>
12565
12566 * gdb.ada/assign_1.exp: New testcase.
12567
08388c79
DE
125682008-05-09 Doug Evans <dje@google.com>
12569
a3c83fae
DE
12570 * gdb.base/find.exp: New file.
12571 * gdb.base/find.c: New file.
08388c79 12572
bd5ddfe8
DJ
125732008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
12574
12575 * gdb.base/commands.exp (watchpoint_command_test): Handle
12576 gdb,no_hardware_watchpoints.
12577 * gdb.base/float.exp: Allow ARM targets without floating point.
12578 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
12579
b5dd68e2 125802008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 12581 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
12582
12583 * gdb.ada/lang_switch: New test program.
12584 * gdb.ada/lang_switch.exp: New testcase.
12585
382d13d1
DE
125862008-05-05 Doug Evans <dje@google.com>
12587
12588 * gdb.base/help.exp (disassemble): Update expected help text.
12589
9dd789d0
PA
125902008-05-04 Pedro Alves <pedro@codesourcery.com>
12591
12592 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
12593
611c83ae
PA
125942008-05-04 Pedro Alves <pedro@codesourcery.com>
12595
12596 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
12597 different times.
12598
ff013f42
JK
125992008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12600
12601 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
12602 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
12603 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
12604 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
12605
96dff6a2
VP
126062008-05-04 Vladimir Prus <vladimir@codesourcery.com>
12607
12608 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
12609 notification to appear.
12610
55cd6f92
DJ
126112008-05-04 Daniel Jacobowitz <dan@debian.org>
12612
12613 * gdb.base/fullname.c: New file.
12614 * gdb.base/fullname.exp: New file.
12615 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
12616
d705c43c
PA
126172008-05-03 Pedro Alves <pedro@codesourcery.com>
12618
12619 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
12620 expressions with macros.
12621
333222e1
JK
126222008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12623
12624 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
12625
5ac01682
DJ
126262008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
12627
12628 * gdb.base/completion.exp: Handle lack of other symbols beginning
12629 with "a".
12630
12631 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
12632
237fc4c9
PA
126332008-05-02 Jim Blandy <jimb@codesourcery.com>
12634
12635 * gdb.asm/asmsrc1.s: Add scratch space.
12636
ed5e9466
DJ
126372008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12638 Daniel Jacobowitz <dan@codesourcery.com>
12639
12640 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
12641 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
12642 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
12643
b39cc962
DJ
126442007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
12645
12646 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
12647
36d520f5
JB
126482008-05-01 Joel Brobecker <brobecker@adacore.com>
12649
12650 * gdb.base/info-target.exp: New testcase.
12651
8d4e3071
DJ
126522008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12653
12654 * gdb.cp/hang.exp: Use .cc instead of .C.
12655 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
12656 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
12657
6f3f3097
DJ
126582008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12659
12660 * gdb.base/gdb1250.exp: Remove perror.
12661 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
12662
5550a914
PA
126632008-04-30 Pedro Alves <pedro@codesourcery.com>
12664
12665 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
12666 .2byte.
12667
d848e687
DJ
126682008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
12669
12670 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
12671 (maybe_kfail): New.
12672
93b5768b
PA
126732008-04-25 Pedro Alves <pedro@codesourcery.com>
12674
12675 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
12676
721c02de
VP
126772008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12678
a9c64011
AS
12679 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
12680 * gdb.mi/mi2-syn-frame.exp: Likewise.
12681 * lib/mi-support.exp: Likewise.
721c02de 12682
74960c60
VP
126832008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12684
12685 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
12686 to specify regexp for the location to stop at.
12687 * gdb.base/break-always.c: New.
12688 * gdb.base/break-always.exp: New.
12689
d24317b4
VP
126902008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12691
12692 * lib/mi-support.exp (mi_runto_helper): Adjust
12693 for the original-location field.
12694 (mi_create_breakpoint, mi_list_breakpoints): New.
12695 * gdb.mi/mi-break.exp: Adjust.
12696 * gdb.mi/mi2-break.exp: Adjust.
12697 * gdb.mi/mi-pending.exp: Adjust.
12698 * gdb.mi/mi-simplerun.exp: Adjust.
12699 * gdb.mi/mi2-simplerun.exp: Adjust.
12700 * gdb.mi/mi-syn-frame.exp: Adjust.
12701 * gdb.mi/mi2-syn-frame.exp: Adjust.
12702 * gdb.mi/mi-until.exp: Adjust.
12703 * gdb.mi/mi2-until.exp: Adjust.
12704 * gdb.mi/mi-var-display.exp: Adjust.
12705 * gdb.mi/mi2-var-display.exp: Adjust.
12706 * gdb.mi/mi-watch.exp: Adjust.
12707 * gdb.mi/mi2-watch.exp: Adjust.
12708
fdc59709 127092008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 12710
a9c64011
AS
12711 * aclocal.m4: Add override.m4.
12712 * configure: Regenerate.
fdc59709 12713
8e91f023
VP
127142008-04-19 Vladimir Prus <vladimir@codesourcery.com>
12715
12716 * gdb.mi/var-cmd.c (do_at_tests): Verify that
12717 '-var-update --all-values' reports new value even the type
12718 of a variable object has changed.
12719
233a11ab
CS
127202008-04-18 Craig Silverstein <csilvers@google.com>
12721
12722 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
12723 files.
d24317b4 12724
9c1137ad
JB
127252008-04-18 Joel Brobecker <brobecker@adacore.com>
12726
12727 * gdb.ada/atomic_enum: New test program.
12728 * gdb.ada/atomic_enum.exp: New testcase.
12729
66d0bbc7
DE
127302008-04-17 Doug Evans <dje@google.com>
12731
12732 * gdb.opt/Makefile.in: Fix whitespace.
12733
100906b0
UW
127342008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
12735
12736 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
12737
4584e32e
DE
127382008-04-17 Doug Evans <dje@google.com>
12739
12740 * gdb.base/hashline1.exp: New testcase.
12741 * gdb.base/hashline2.exp: New testcase.
12742 * gdb.base/hashline2.exp: New testcase.
12743
0a320680
PA
127442008-04-17 Pedro Alves <pedro@codesourcery.com>
12745
12746 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
12747
18ac113b
AR
127482008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
12749
12750 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
12751 temporary breakpoint to match "Temporary breakpoint".
12752 * gdb.base/break.exp (delete_breakpoints): Likewise.
12753 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
12754 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
12755 * gdb.base/display.exp: Likewise.
12756 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
12757 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
12758 * gdb.base/restore.exp (restore_tests): Likewise.
12759 * gdb.base/sepdebug.exp: Likewise.
12760 * gdb.base/watchpoint.exp: Likewise.
12761 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
12762 * gdb.mi/mi-pending.exp: Likewise.
12763 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
12764 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
12765 * gdb.mi/mi-var-cmd.exp: Likewise.
12766 * gdb.mi/mi-var-display.exp: Likewise.
12767 * gdb.mi/mi2-cli.exp: Likewise.
12768 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
12769 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
12770 * gdb.mi/mi2-var-display.exp: Likewise.
12771 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
12772 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
12773 new "disp" field.
a9c64011 12774 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
12775 reason. This is to support fix for PR2424.
12776
add38693
JK
127772008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12778
12779 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
12780
fcacd99f
VP
127812008-04-13 Vladimir Prus <vladimir@codesourcery.com>
12782
12783 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 12784 field. Add more floating varobj tests.
fcacd99f 12785 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
12786 field.
12787 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
12788 (main): Call do_at_tests.
12789 * lib/mi-support.exp (mi_create_floating_varobj)
12790 (mi_varobj_update_with_type_change): New.
fcacd99f 12791
de051565
MK
127922008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
12793
12794 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
12795 option of -var-evaluate-expression.
12796 * gdb.mi/mi2-var-display.exp: Likewise.
12797
dbc52822
VP
127982008-04-07 Vladimir Prus <vladimir@codesourcery.com>
12799
12800 Introduce test setup helpers.
a9c64011
AS
12801 * lib/gdb.exp (build_executable, clean_restart)
12802 (prepare_for_testing): New.
12803 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
12804 * gdb.base/return.exp: Likewise.
12805 * gdb.base/ending-run.exp: Likewise.
dbc52822 12806
473591da
NR
128072008-04-07 Nick Roberts <nickrob@snap.net.nz>
12808
12809 * gdb.mi/mi-async.exp: New test for asynchronous Machine
12810 Interface (MI) responses.
12811
2b2d9e11
VP
128122008-04-06 Vladimir Prus <vladimir@codesourcery.com>
12813
a9c64011
AS
12814 * gdb.cp/breakpoint.cc: New code to test conditions involving
12815 member variables.
12816 * gdb.cp/breakpoint.exp: Test condition involving member
12817 variables.
2b2d9e11 12818
bb378428
VP
128192008-04-05 Vladimir Prus <vladimir@codesourcery.com>
12820
12821 * lib/mi-support.exp (mi_expect_stop): New.
12822 (mi_run_cmd): Change the
12823 token. Use mi_send_resuming_command, use
12824 mi_expect_stop.
12825 (mi_execute_to_helper): Rename to mi_execute_to.
12826 (mi_send_resuming_command): Add more error patterns.
12827 (mi_wait_for_stop): Renamed to...
12828 (mi_get_stop_line): ...this.
12829 (mi_run_inline_test): Adjust.
12830
12831 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
12832 * gdb.mi/mi-console.exp: Likewise.
12833 * gdb.mi/mi-pending.exp: Likewise.
12834 * gdb.mi/mi-simplerun.exp: Likewise.
12835 * gdb.mi/mi-stack.exp: Likewise.
12836 * gdb.mi/mi-stepi.exp: Likewise.
12837 * gdb.mi/mi-syn-frame.exp: Add comment.
12838 * gdb.mi/mi-until.exp: Likewise.
12839 * gdb.mi/mi-var-display.exp: Likewise.
12840 * gdb.mi/mi-watch.exp: Likewise.
12841 * gdb.mi/mi2-cli.exp: Likewise.
12842 * gdb.mi/mi2-console.exp: Likewise.
12843 * gdb.mi/mi2-simplerun.exp: Likewise.
12844 * gdb.mi/mi2-stack.exp: Likewise.
12845 * gdb.mi/mi2-stepi.exp: Likewise.
12846 * gdb.mi/mi2-until.exp: Likewise.
12847 * gdb.mi/mi2-var-display.exp: Likewise.
12848 * gdb.mi/mi2-watch.exp: Likewise.
12849
62172bb9
UW
128502008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12851
12852 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
12853
12854 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
12855
a13e061a
PA
128562008-04-04 Pedro Alves <pedro@codesourcery.com>
12857
12858 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
12859 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
12860 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12861 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
12862 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
12863 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
12864 expect an mi error duplicated in stderr.
12865
eae06beb
JB
128662008-04-03 Joel Brobecker <brobecker@adacore.com>
12867
12868 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
12869 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
12870 Add a couple of tests that verify the behavior when the new setting
12871 is set to "cancel" and "all".
12872 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
12873 "ask" before we start the testing.
12874
79c6ced6
AR
128752008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
12876
12877 * gdb.cp/casts.cc: Add class reference variables.
12878 * gdb.cp/casts.exp: New test cases for up/down casting references.
12879
6c2d1a6b
MK
128802008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
12881
12882 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
12883 instead of beginning to make an extra test pass.
12884 * gdb.mi/mi2-var-display.exp: Likewise.
12885
55b411d9
MR
128862008-03-31 Maciej W. Rozycki <macro@mips.com>
12887
12888 * gdb.base/break.exp: Mark failures as such. Fix formatting.
12889
c6140da2
MD
128902008-03-31 Markus Deuling <deuling@de.ibm.com>
12891 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12892
12893 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
12894 value. Add xfail for older kernels.
12895
79732189
AR
128962008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
12897
12898 Bring mi-support in line with gdb.exp.
12899 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
12900 (mi_gdb_start): New function.
12901
33c3676e
MR
129022008-03-28 Maciej W. Rozycki <macro@mips.com>
12903
12904 * gdb.mi/mi-var-cmd.exp: Fix a typo.
12905
92e28119
VP
129062008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12907
12908 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
12909 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 12910
9e8e3afe
VP
129112008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12912
12913 * lib/mi-support.exp (mi_create_varobj_checked): New.
12914 (mi_list_varobj_children): Allow to check for a
12915 value.
12916 (mi_list_array_varobj_children): New.
12917
12918 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
12919 and mi_list_varobj_children, as opposed to hardcoding
12920 expected strings.
12921 * gdb.mi/gdb701.exp: Likewise.
12922 * gdb.mi/gdb792.exp: Likewise.
12923 * gdb.mi/mi-var-block.exp: Likewise.
12924 * gdb.mi/mi-var-cmd.exp: Likewise.
12925 * gdb.mi/mi-var-invalidate.exp: Likewise.
12926 * gdb.mi/mi2-var-block.exp: Likewise.
12927 * gdb.mi/mi2-var-child.exp: Likewise.
12928 * gdb.mi/mi2-var-cmd.exp: Likewise.
12929 * gdb.mi/mi2-var-display.exp: Likewise.
12930
9df50351
JK
129312008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12932
12933 Fix random false FAILs on i386.
12934 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
12935
31e5d73a
DJ
129362008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12937
12938 PR gdb/544
12939 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
12940
12f4afab
DJ
129412008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12942
12943 PR gdb/544
12944 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
12945
b562a0cb
DJ
129462008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12947
12948 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
12949 fixed PR gdb/544.
12950
17faa917
DJ
129512008-03-21 Pedro Alves <pedro@codesourcery.com>
12952
12953 * gdb.threads/fork-child-threads.exp: Test next over fork.
12954
6214f497
DJ
129552008-03-21 Chris Demetriou <cgd@google.com>
12956
12957 * gdb.base/break.exp (rbreak junk): New test for rbreak
12958 "Junk at end of arguments" issue.
12959
63092375
DJ
129602008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12961
12962 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
12963 *& to work on created array elements.
12964 (Top level): Test print $pc with a file. Test string operations
12965 without a target.
12966 * gdb.base/ptype.exp: Do not expect *& to work on created array
12967 elements.
12968
b21991b0
DJ
129692008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12970
12971 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12972 gdb.threads/staticthreads.exp: Update exit query.
12973
c4b347c7
SL
129742008-03-07 Sandra Loosemore <sandra@codesourcery.com>
12975
12976 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
12977
fa4727a6
DJ
129782008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
12979
12980 * gdb.base/watchpoint.c (global_ptr, func4): New.
12981 (main): Call func4.
12982 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
12983 (test_inaccessible_watchpoint): New.
12984
2f34202f
MR
129852008-02-29 Maciej W. Rozycki <macro@mips.com>
12986
12987 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
12988 select the largest.
12989
0d6ba1b1
DJ
129902008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12991
12992 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
12993 frames-invalid annotations.
12994
e691325a
PM
129952008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
12996
a9c64011 12997 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 12998
f85b5ecc
DE
129992008-02-27 Doug Evans <dje@google.com>
13000
13001 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
13002 for bug 1738.
13003 (breakpoint_to_handler_entry): Ditto.
13004
b40e7bf3
JB
130052008-02-27 Joel Brobecker <brobecker@adacore.com>
13006
13007 * gdb.base/ending-run.exp: Use the first line of code inside
13008 function body to test breakpoints.
13009 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
13010 location where the breakpoint is inserted when using the line
13011 where a function is declared. Fix typo in the description of
13012 one of the tests.
13013 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
13014
2faca73a
PM
130152008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
13016
13017 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 13018 tests.
2faca73a 13019
6f439c36
PM
130202008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
13021
13022 * gdb.base/args.exp: avoid same output for tests
13023 with single quotes.
13024
54e52265
VP
130252008-02-26 Vladimir Prus <vladimir@codesourcery.com>
13026
a9c64011
AS
13027 * gdb.base/annota1.exp: Adjust for 'info break'
13028 format changes.
13029 * gdb.base/annota3.exp: Likewise.
13030 * gdb.base/break.exp: Likewise.
13031 * gdb.base/condbreak.exp: Likewise.
13032 * gdb.base/pending.exp: Likewise.
13033 * gdb.base/sepdebug.exp: Likewise.
13034 * gdb.base/unload.exp: Likewise.
13035 * gdb.cp/ovldbreak.exp: Likewise.
13036 * gdb.mi/mi-pending.exp: Likewise.
54e52265 13037
897b09ca
DE
130382008-02-07 Doug Evans <dje@google.com>
13039
13040 * gdb.cp/mb-inline.exp: New.
13041 * gdb.cp/mb-inline.h: New.
13042 * gdb.cp/mb-inline1.cc: New.
13043 * gdb.cp/mb-inline2.cc: New.
13044
b1c32d35
PM
130452008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
13046
13047 * gdb.pascal/floats.pas: New test program.
13048 * gdb.pascal/floats.exp: New testcase.
13049
1a4ca44a
TJB
130502008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13051
13052 * gdb.base/callfuncs.c (t_float_many_args): New function.
13053 (t_double_many_args): New function.
13054 * gdb.base/callfuncs.exp: Add tests for exceeding float
13055 and double parameters passed through the stack.
13056
439048e8
JB
130572008-02-05 Joel Brobecker <brobecker@adacore.com>
13058
13059 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
13060 gdb.ada/complete/foo.adb: New files.
13061 * gdb.ada/complete.exp: New testcase.
13062
81fe8080
DE
130632008-02-03 Doug Evans <dje@google.com>
13064
301f0ecf
DE
13065 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
13066
81fe8080
DE
13067 * gdb.cp/gdb2384.exp: New file.
13068 * gdb.cp/gdb2384.cc: New file.
13069 * gdb.cp/gdb2384-base.h: New file.
13070 * gdb.cp/gdb2384-base.cc: New file.
13071
4b071aec
DE
130722008-02-02 Doug Evans <dje@google.com>
13073
13074 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
13075
61137ba6
JB
130762007-02-01 Joel Brobecker <brobecker@adacore.com>
13077
13078 * gdb.ada/sym_print_name: New test program.
13079 * gdb.ada/sym_print_name.exp: New testcase.
13080
130812007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
13082
13083 * gdb.ada/nested/hello.adb: New file.
13084 * gdb.ada/nested.exp: New testcase.
13085 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13086
98deb0da
VP
130872008-02-01 Vladimir Prus <vladimir@codesourcery.com>
13088
13089 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
13090 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
13091 don't cause future evaluations of function to report
13092 creation of internal breakpoints.
98deb0da 13093
723a2275
VP
130942008-02-01 Vladimir Prus <vladimir@codesourcery.com>
13095
13096 * gdb.mi/mi-break.exp (test_error): New.
13097 Call it.
13098
fb546a2f
LM
130992008-01-31 Luis Machado <luisgpm@br.ibm.com>
13100
13101 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
13102 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
13103
2d8fd90a
PM
131042008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
13105
13106 * gdb.pascal/integers.pas: New test program.
13107 * gdb.pascal/integers.exp: New testcase.
13108
a7fa0ded
PM
131092008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
13110
13111 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
13112
5e1a1926
TJB
131132008-01-30 Luis Machado <luisgpm@br.ibm.com>
13114
13115 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
13116 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
13117
8d04f9f0
JB
131182008-01-30 Paul Hilfinger <hilfinger@adacore.com>
13119
13120 * gdb.ada/formatted_ref: New test program.
13121 * gdb.ada/formatted_ref.exp: New testcase.
13122
13123 * gdb.cp/formatted-ref.cc: New file.
13124 * gdb.cp/formatted-ref.exp: New testcase.
13125
ce75a98f
JB
131262008-01-30 Joel Brobecker <brobecker@adacore.com>
13127
13128 * gdb.base/ptype.exp: Add testing of "ptype $pc".
13129
e835f6bf
NR
131302008-01-30 Nick Roberts <nickrob@snap.net.nz>
13131
13132 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
13133 (test_file_list_exec_source_file): Update to new macro-info field.
13134
d118ef87
PH
131352008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
13136
13137 * gdb.ada/exprs: New test program.
13138 * gdb.ada/exprs.exp: New testcase.
13139
7d35ab09
TJB
131402008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13141
13142 * dfp-test.c (DELTA, DELTA_B): New definitions.
13143 (double_val1, double_val2, double_val3, double_val4, double_val5,
13144 double_val6, double_val7, double_val8, double_val9, double_val10,
13145 double_val11, double_val12, double_val13, double_val14, dec32_val1,
13146 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
13147 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
13148 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
13149 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
13150 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
13151 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
13152 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
13153 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
13154 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
13155 dec128_val16): New global variables.
13156 (decimal_dec128_align): New function.
13157 (decimal_mixed): Likewise.
13158 (decimal_many_args_dec32): Likewise.
13159 (decimal_many_args_dec64): Likewise.
13160 (decimal_many_args_dec128): Likewise.
13161 (decimal_many_args_mixed): Likewise.
13162 * dfp-test.exp: Add tests calling new inferior functions.
13163
2d717e4f
DJ
131642008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13165
13166 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
13167 gdb.server/ext-run.exp: New files.
13168 * lib/gdbserver-support.exp (gdbserver_download): New.
13169 (gdbserver_start): New. Update gdbserver expected
13170 output.
13171 (gdbserver_spawn): Use them.
13172 (gdbserver_start_extended): New.
13173
e85a822c
DJ
131742008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13175
13176 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
13177 Run on GNU/Linux.
13178 (do_exec_tests): Check for systems which do not support catchpoints.
13179 Do not match START.
13180 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
13181 Run on GNU/Linux. Enable verbose output.
13182 (check_fork_catchpoints): New.
13183 (explicit_fork_child_follow, catch_fork_child_follow)
13184 (tcatch_fork_parent_follow): Update expected messages.
13185 (do_fork_tests): Use check_fork_catchpoints.
13186 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
13187 Run on GNU/Linux. Enable verbose output.
13188 (check_vfork_catchpoints): New.
13189 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
13190 expected messages.
13191 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
13192
401ea829
JB
131932008-01-29 Jim Blandy <jimb@red-bean.com>
13194
13195 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
13196 host' errors.
13197 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
13198
aceaf3ad
JB
131992008-01-29 Jim Blandy <jimb@red-bean.com>
13200
13201 * gdb.threads/sigthread.c: Use barriers to ensure that
13202 child_thread and child_thread_two are always initialized before we
13203 start to use them.
13204
a5606eee
VP
132052008-01-29 Vladimir Prus <vladimir@codesourcery.com>
13206
13207 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
13208 * gdb.base/watchpoint-solib.c: New.
13209 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 13210
c55a82bb
PM
132112008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
13212
13213 * gdb.base/gdb1056.exp: Add unsigned integer test.
13214
0993fe05
DE
132152008-01-28 Doug Evans <dje@google.com>
13216
13217 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
13218
4fe42e7f
JB
132192008-01-27 Jim Blandy <jimb@codesourcery.com>
13220
c7a69933
JB
13221 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
13222
4fe42e7f
JB
13223 * gdb.base/expand-psymtabs.exp: Doc fix.
13224
5def8285
MK
132252008-01-26 Mark Kettenis <kettenis@gnu.org>
13226
13227 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
13228
5313c911
NR
132292008-01-24 Nick Roberts <nickrob@snap.net.nz>
13230
a9c64011 13231 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
13232 -var-set-format.
13233
93815fbf
VP
132342008-01-23 Chris Demetriou <cgd@google.com>
13235
13236 * gdb.threads/thread_events.c: New testcase source file.
13237 * gdb.threads/thread_events.exp: New testcase expect file.
13238
467a88ee
NR
132392008-01-23 Nick Roberts <nickrob@snap.net.nz>
13240
13241 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
13242
13243 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
13244 -var-set-format.
13245
d8f82aba
DJ
132462008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13247 Vladimir Prus <vladimir@codesourcery.com>
13248
13249 * gdb.base/float.exp: Allow missing floating point for m68k and
13250 PowerPC.
13251
60c46647
VP
132522008-01-22 Vladimir Prus <vladimir@codesourcery.com>
13253
13254 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
13255 ignore count.
13256 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
13257 * gdb.mi/mi-cli.exp: Adjust.
13258 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 13259
c7dd36a1
PA
132602008-01-17 Pedro Alves <pedro@codesourcery.com>
13261
13262 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
13263 and 'dummy_ptr' integer pointer. Initialize struct_declarations
13264 with dummy_ptr's address.
13265 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
13266 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
13267 all targets.
13268 * gdb.mi/mi2-var-child.exp: Likewise.
13269
39d5313e
JB
132702008-01-09 Joel Brobecker <brobecker@adacore.com>
13271
13272 * gdb.ada/null_array: New test program.
13273 * gdb.ada/null_array.exp: New testcase.
13274
0aea4bf3
LM
132752008-01-09 Luis Machado <luisgpm@br.ibm.com>
13276
13277 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
13278 with required float modifiers.
13279
0b354900
JB
132802008-01-08 Joel Brobecker <brobecker@adacore.com>
13281
13282 * gdb.ada/funcall_param: New test program.
13283 * gdb.ada/funcall_param.exp: New testcase.
13284
cdb7f5d4
JB
132852008-01-08 Joel Brobecker <brobecker@adacore.com>
13286
13287 * gdb.ada/arrayparam: New test program.
13288 * gdb.ada/arrayparam.exp: New testcase.
13289
88e2547f
JB
132902008-01-08 Joel Brobecker <brobecker@adacore.com>
13291
13292 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
13293 landed. Should also fix random failures in the test following it.
13294
f6867ce0
TJB
132952008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
13296
13297 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
13298 for expressions with decimal float values.
13299 (test_dfp_conversions): New function to test casts to and from
13300 decimal float types.
13301 Call test_dfp_conversions.
13302 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
13303 elements.
13304 (main): Initialize ds.float4 and ds.double8 elements.
13305 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
13306 string to new error message.
13307 (d64_set_tests): Likewise.
13308 (d128_set_tests): Likewise.
13309 Add tests for expressions with decimal float variables. Add tests for
13310 conversions to and from decimal float types.
13311
f9c11282
JB
133122008-01-05 Joel Brobecker <brobecker@adacore.com>
13313
13314 * gdb.ada/packed_tagged/comp_bug.adb: New file.
13315 * gdb.ada/packed_tagged.exp: New testcase.
13316
0ecbca72
JB
133172008-01-04 Joel Brobecker <brobecker@adacore.com>
13318
13319 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
13320 gdb.ada/homonym/homonym_main.adb: New files.
13321 * gdb.ada/homonym.exp: New testcase.
13322
c18d3d89
JB
133232008-01-04 Joel Brobecker <brobecker@adacore.com>
13324
13325 * gdb.ada/packed_array.exp: Add testing of references to
13326 a packed array.
13327
ecc7085b
JB
133282008-01-04 Joel Brobecker <brobecker@adacore.com>
13329
13330 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
13331 New files.
13332 * gdb.ada/type_coercion.exp: New testcase.
13333
c474c922
JB
133342008-01-04 Joel Brobecker <brobecker@adacore.com>
13335
13336 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
13337 gdb.ada/tagged/foo.adb: New file.
13338 * gdb.ada/tagged.exp: New testcase.
13339
9005b927
JB
133402008-01-04 Joel Brobecker <brobecker@adacore.com>
13341
13342 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
13343 gdb.ada/ptype_field/foo.adb: New files.
13344 * gdb.ada/ptype_field.exp: New testcase.
13345
1a6aaad8
JB
133462008-01-03 Joel Brobecker <brobecker@adacore.com>
13347
13348 * gdb.ada/print_pc.exp: New testcase.
13349
0ef22f53
JB
133502008-01-03 Joel Brobecker <brobecker@adacore.com>
13351
13352 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
13353 gdb.ada/taft_type/p.adb: New files.
13354 * gdb.ada/taft_type.exp: New testcase.
13355
1689ecf8
JB
133562008-01-03 Joel Brobecker <brobecker@adacore.com>
13357
13358 * gdb.ada/array_bounds/bar.adb: New file.
13359 * gdb.ada/array_bounds.exp: New testcase.
13360
a4d0b9c3
JB
133612008-01-03 Joel Brobecker <brobecker@adacore.com>
13362
13363 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
13364 gdb.ada/arrayptr/foo.adb: New files.
13365 * gdb.ada/arrayptr.exp: New testcase.
13366
a31ace00
JB
133672008-01-03 Joel Brobecker <brobecker@adacore.com>
13368
13369 * gdb.base/set-lang-auto.exp: New testcase.
13370
a97fced3
JB
133712008-01-03 Joel Brobecker <brobecker@adacore.com>
13372
13373 * gdb.ada/fun_addr/foo.adb: New file.
13374 * gdb.ada/fun_addr.exp: New testcase.
13375
ef29ce1a
JK
133762008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13377
13378 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
13379 New files
13380
0fafefe3
JB
133812008-01-02 Joel Brobecker <brobecker@adacore.com>
13382
13383 * array_subscript_addr/p.adb: New file.
a9c64011 13384 * array_subscript_addr.exp: New testcase.
0fafefe3 13385
c4359f8d
JB
133862008-01-02 Joel Brobecker <brobecker@adacore.com>
13387
a9c64011 13388 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
13389 New files.
13390 * gdb.ada/str_cmp_ref.exp: New testcase.
13391
1aa1b15b
JB
133922008-01-01 Joel Brobecker <brobecker@adacore.com>
13393
13394 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
13395 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 13396 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 13397
81c9b2cf
JB
133982008-01-01 Joel Brobecker <brobecker@adacore.com>
13399
13400 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
13401 gdb.ada/ref_param/pck.ads: New files.
13402 * gdb.ada/ref_param.exp: New testcase.
13403
319e4674
JB
134042008-01-01 Joel Brobecker <brobecker@adacore.com>
13405
13406 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
13407 gdb.ada/interface/foo.adb: New files.
13408 * gdb.ada/interface.exp: New testcase.
13409
ef682c56
JB
134102007-12-31 Jim Blandy <jimb@codesourcery.com>
13411
13412 * gdb.base/multi-forks.exp: Consume all output from child
13413 processes before proceeding to next test.
13414
f6f3eb6c
JB
134152007-12-29 Jim Blandy <jimb@codesourcery.com>
13416
13417 * configure: Regenerated.
13418
f652e42f
JB
134192007-12-27 Joel Brobecker <brobecker@adacore.com>
13420
13421 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
13422 gdb.ada/fixed_cmp/fixed.adb: New files.
13423 * gdb.ada/fixed_cmp.exp: New testcase.
13424
6943e596
JB
134252007-12-27 Joel Brobecker <brobecker@adacore.com>
13426
13427 * gdb.ada/boolean_expr.exp: New testcase.
13428
aad9a193
JB
134292007-12-26 Jim Blandy <jimb@codesourcery.com>
13430
13431 * gdb.base/multi-forks.exp: Doc fix.
13432
fb5f3683
JB
134332007-12-26 Joel Brobecker <brobecker@adacore.com>
13434
13435 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13436 * gdb.ada/char_param.exp: Do not compile our test program with
13437 -gnata, this is unnecessary.
13438 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
13439
384e4a9c
JB
134402007-12-24 Joel Brobecker <brobecker@adacore.com>
13441
13442 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
13443 gdb.ada/print_chars/foo.adb: New files.
13444 * gdb.ada/print_chars.exp: New testcase.
13445
01e044f7
JB
134462007-12-24 Joel Brobecker <brobecker@adacore.com>
13447
13448 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
13449 gdb.ada/char_param/foo.adb: New files.
13450 * gdb.ada/char_param.exp: New testcase.
13451
0ce17860
JB
134522007-12-22 Jim Blandy <jimb@codesourcery.com>
13453
13454 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
13455 hard-coding source line numbers into the test.
13456 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
13457 gdb_get_line_number to find.
13458
919809b9
JB
134592007-12-22 Joel Brobecker <brobecker@adacore.com>
13460
13461 * gdb.base/ptype.c (highest): New struct type.
13462 (the_highest): New variable of that type.
13463 (main): Add dummy assignment to a field of variable the_highest.
13464 * gdb.base/ptype.exp: Test type printing of our new variable.
13465
abc8a88d
PM
134662007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
13467
13468 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 13469 and record first explicitly generated thread number.
abc8a88d
PM
13470 Use that thread number for thread specific watchpoint test.
13471 Add iteration number to repetitive tests.
13472
5158f3e3
CES
134732007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13474 Jim Blandy <jimb@codesourcery.com>
13475
13476 * gdb.base/expand-psymtabs.c: New testcase
13477 source file.
13478 * gdb.base/expand-psymtabs.exp: New testcase
13479 expect file.
13480
37e4754d
LM
134812007-12-17 Luis Machado <luisgpm@br.ibm.com>
13482
13483 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
13484 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
13485
551e5d04
JB
134862007-12-17 Joel Brobecker <brobecker@adacore.com>
13487
13488 * gdb.ada/frame_args/foo.adb: New file.
13489 * gdb.ada/frame_args/pck.ads: New file.
13490 * gdb.ada/frame_args/pck.adb: New file.
13491 * gdb.ada/frame_args.exp: New testcase.
13492
a05ee097
JB
134932007-12-17 Joel Brobecker <brobecker@adacore.com>
13494
13495 * gdb.base/frame-args.c: New file.
13496 * gdb.base/frame-args.exp: New testcase.
13497
c162e8c9 134982007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 13499 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
13500
13501 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
13502
afe8ab22 135032007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13504
afe8ab22
VP
13505 * gdb.mi/mi-pending.exp: New.
13506 * gdb.mi/mi-pending.c: New.
13507 * gdb.mi/mi-pendshr.c: New.
13508
dfdfb3ca
JB
135092007-12-06 Jim Blandy <jimb@codesourcery.com>
13510
13511 * gdb.base/default.exp: Update expected output for 'info catch'.
13512
b7fca990
JK
135132007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13514
13515 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
13516 must be set to binary.
13517
6a1afc1e
PA
135182007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
13519
13520 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
13521
a6b151f1
DJ
135222007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
13523
13524 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
13525 gdb.mi/mi-file-transfer.exp: New.
13526
43039443
JK
135272007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13528
13529 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
13530
0ef2251b
MR
135312007-11-22 Maciej W. Rozycki <macro@mips.com>
13532
13533 * gdb.trace/backtrace.exp: Fix a typo.
13534 * gdb.trace/circ.exp: Likewise.
13535 * gdb.trace/collection.exp: Likewise.
13536 * gdb.trace/limits.exp: Likewise.
13537 * gdb.trace/report.exp: Likewise.
13538 * gdb.trace/tfind.exp: Likewise.
13539 * gdb.trace/while-dyn.exp: Likewise.
13540
5443631e
NR
135412007-11-21 Nick Roberts <nickrob@snap.net.nz>
13542
13543 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
13544 objects of pointers that can't be dereferenced are now
13545 "noneditable".
13546
a4ce5b0d
UW
135472007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13548
13549 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
13550 (target_cpu): Remove.
13551
d6e956e5
VP
135522007-10-15 Vladimir Prus <vladimir@codesourcery.com>
13553
13554 * gdb.base/ending-run.exp: Expect the list of cleared
13555 breakpoint to come in natural order, not the reversed one.
a9c64011 13556
214270ab
VP
135572007-11-07 Vladimir Prus <vladimir@codesourcery.com>
13558
13559 * gdb.mi/mi-var-child.c (do_child_deletion): New.
13560 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 13561
1a619819
LM
135622007-11-05 Luis Machado <luisgpm@br.ibm.com>
13563
13564 * gdb.base/printcmds.exp: New function
13565 test_printf_with_dfp.
13566
5b01a6fa
DE
135672007-11-02 Doug Evans <dje@google.com>
13568
13569 * gdb.disasm/t01_mov.s: Remove carriage returns.
13570 * gdb.disasm/t02_mova.s: Ditto.
13571 * gdb.disasm/t03_add.s: Ditto.
13572 * gdb.disasm/t04_sub.s: Ditto.
13573 * gdb.disasm/t05_cmp.s: Ditto.
13574 * gdb.disasm/t06_ari2.s: Ditto.
13575 * gdb.disasm/t07_ari3.s: Ditto.
13576 * gdb.disasm/t08_or.s: Ditto.
13577 * gdb.disasm/t09_xor.s: Ditto.
13578 * gdb.disasm/t10_and.s: Ditto.
13579 * gdb.disasm/t11_logs.s: Ditto.
13580 * gdb.disasm/t12_bit.s: Ditto.
13581 * gdb.disasm/t13_otr.s: Ditto.
13582
ec33ab7f
JK
135832007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13584
13585 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
13586
ae0d01ff
UW
135872007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13588
13589 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
13590 provide DFP support.
13591
55eddb0f
DJ
135922007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
13593
13594 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
13595 Test "set powerpc vector-abi". Skip auto-detection tests for old
13596 toolchains.
13597
7020f05c
PA
135982007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13599
13600 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
13601 with [string compare].
13602
84bc3db9
PA
136032007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13604
13605 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
13606 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
13607
5876dc88
LM
136082007-10-25 Luis Machado <luisgpm@br.ibm.com>
13609
13610 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
13611 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
13612 * gdb.opt/Makefile.in: New makefile.
13613 * Makefile.in: Create new directory "gdb.opt".
13614 * configure.ac: Add "gdb.opt" directory.
13615 * configure: Regenerated.
a9c64011 13616
c3ea9a14
DE
136172007-10-25 Doug Evans <dje@google.com>
13618
13619 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
13620 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
13621
a9c64011 136222007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
13623 Thiago Jung Bauermann <bauerman@br.ibm.com>
13624
13625 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
13626 Floating Point expressions.
13627 * gdb.base/dfp-test.exp: new file adding tests for Decimal
13628 Floating Point variables.
13629 * gdb.base/dfp-test.c: new file containing program with Decimal
13630 Floating variables, used by gdb.base/dfp-test.exp.
13631
62a24a2b
DJ
136322007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
13633
13634 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
13635
e7b1eae6
UW
136362007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13637
13638 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
13639 compiling test case with GCC.
13640 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
13641
c641edcc
UW
136422007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13643
13644 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
13645 format changes.
13646
5e5ebfe6
MS
136472007-10-18 Michael Snyder <msnyder@specifix.com>
13648
13649 * gdb.base/dbx.exp: Add missing "-re " operator.
13650
e831e7b6
GM
136512007-10-16 Gaius Mulley <gaius@glam.ac.uk>
13652
13653 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
13654 * configure.ac: Removed trailing spaces after backslash.
13655 * gdb.modula2: New directory.
13656 * gdb.modula2/Makefile.in: New file.
13657 * gdb.modula2/unbounded-array.exp: New file.
13658 * gdb.modula2/unbounded1.c: New file.
13659
7cc46491
DJ
136602007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
13661
13662 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
13663
136642007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
13665
13666 * gdb.base/sigstep.c (main): Add checks for
13667 return values for setitimer call.
13668 Call setitimer again with itimer = ITIMER_REAL
13669 if first call to setitimer fails.
13670
e91528f0
KH
136712007-10-11 Kazu Hirata <kazu@codesourcery.com>
13672
13673 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
13674 of $timeout.
13675
2ec9a4f8
DJ
136762007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
13677
13678 * gdb.server/server-run.exp: Test for dynamic linker symbols.
13679
136802007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
13681
13682 * lib/gdb.exp (gdb_run_cmd): Move comment outside
13683 of gdb_expect call, to avoid interruption.
13684
64b2fa04
PA
136852007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
13686
13687 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
13688 (v_unsigned_long_long, v_long_long_array)
13689 (v_signed_long_long_array, v_unsigned_long_long_array)
13690 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
13691 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
13692 [!NO_LONG_LONG]: New.
13693 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
13694 v_long_long_member.
13695
13696 (v_long_long_func, v_signed_long_long_func)
13697 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
13698 (main) [!NO_LONG_LONG]: Initialize long long variants.
13699
13700 * gdb.base/whatis.exp: If board file requests no_long_long, build
13701 test with NO_LONG_LONG defined. Test long long, signed long long,
13702 and unsigned long long variants but only if board file doesn't
13703 disable it.
13704
a912286e 137052007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 13706 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
13707
13708 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
13709 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
13710 * configure: Regenerated.
13711 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
13712 gdb.pascal/types.exp, lib/pascal.exp: New files.
13713
471ba8c9
DJ
137142007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
13715
13716 * gdb.cp/classes.exp (do_tests): Always step to the line after the
13717 call.
13718 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
13719 to return to the call.
13720 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
13721 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
13722 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
13723 * gdb.mi/mi-until.exp (test_until): Likewise.
13724 * gdb.mi/mi2-until.exp (test_until): Likewise.
13725
fef8a650
DJ
137262007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
13727
13728 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
13729 two-char array.
13730 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
13731
d983da9c
DJ
137322007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
13733
13734 * gdb.threads/watchthreads.c (thread_function): Sleep between
13735 iterations.
13736 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
13737 at once for S/390. Generate matching fails and passes.
13738
17f62551
VP
137392007-09-27 Vladimir Prus <vladimir@codesourcery.com>
13740
13741 * gdb.mi/var-cmd.c (do_children_tests): Initialize
13742 the 'struct_declarations' variable to zeros.
a9c64011 13743
ed0616c6
VP
137442007-09-24 Vladimir Prus <vladimir@codesourcery.com>
13745
13746 * gdb.cp/mb-ctor.cc: New.
13747 * gdb.cp/mb-ctor.exp: New.
13748 * gdb.cp/mb-templates.cc: New.
13749 * gdb.cp/mb-templates.exp: New.
13750
41f1b697
DJ
137512007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
13752
13753 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
13754
3f213f78
PA
137552007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
13756
13757 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
13758 targets.
13759 * configure: Regenerate.
13760
0d381245 137612007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13762
0d381245
VP
13763 * gdb.base/annota1.exp: Adjust for 'info break'
13764 format changes.
13765 * gdb.base/annota3.exp: Likewise.
13766 * gdb.base/break.exp: Likewise.
13767 * gdb.base/condbreak.exp: Likewise.
13768 * gdb.base/pending.exp: Likewise.
13769 * gdb.base/sepdebug.exp: Likewise.
13770 * gdb.base/unload.exp: Likewise.
13771 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 13772
fe3f5fa8
VP
137732007-09-22 Vladimir Prus <vladimir@codesourcery.com>
13774
13775 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
13776 messages.
13777 * gdb.base/chng-syms.exp: Likewise.
13778 * gdb.base/unload.exp: Likewise.
a9c64011 13779
a75cf6c0
DJ
137802007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
13781
13782 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
13783
18ecae38
DJ
137842007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
13785
13786 * schedlock.c (NUM): Change to 1.
13787 (main): Use args[0] for the main thread.
13788 * schedlock.exp: Only expect two threads. Only issue one pass or fail
13789 regardless of the number of threads.
13790
5509918f
MR
137912007-09-14 Maciej W. Rozycki <macro@mips.com>
13792
4a543daf
MR
13793 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
13794 type down.
13795 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13796 test.
13797 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
13798 watchpoint type down.
13799 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13800 test.
13801
138022007-09-14 Maciej W. Rozycki <macro@mips.com>
13803
5509918f
MR
13804 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
13805 Move all the tests here and run them twice, once using software
13806 watchpoints and once using hardware watchpoints.
13807 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
13808
40b53987
DJ
138092007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
13810
13811 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
13812 test.
13813
695e2681
MK
138142007-09-10 Mark Kettenis <kettenis@gnu.org>
13815
8b3fc8d8
MK
13816 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
13817 build-id.
13818
695e2681
MK
13819 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
13820 know about $ORIGIN. Calculate output dir from $dest instead of
13821 using ${objdir}/{$subdir}.
13822
58d69f29
MK
138232007-09-09 Mark Kettenis <kettenis@gnu.org>
13824
13825 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
13826 gcore, before continuing with the test.
13827
3e347599
DJ
138282007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
13829
13830 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
13831 * gdb.mi/mi-watch.exp: Likewise.
13832
ea37ba09
DJ
138332007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13834 Jim Blandy <jimb@codesourcery.com>
13835
13836 * gdb.arch/i386-sse.exp: Do not expect character constants.
13837 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
13838 * gdb.base/display.exp: Allow print/s.
13839 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
13840 and unsigned char array changes.
13841
2025a643
DJ
138422007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13843
13844 * gdb.base/display.exp: Add tests for printf %p.
13845
26669a27
PA
138462007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
13847
13848 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
13849 the dll name to unicode.
13850
c8f021f8
JK
138512007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13852
13853 * gdb.base/default.exp (show version): Update the version text.
13854 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
13855
4cf31eea
JK
138562007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13857
13858 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
13859 New files.
13860
4935890f
JK
138612007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13862
13863 * lib/gdb.exp (build_id_debug_filename_get): New function.
13864 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
13865 Remove the generate DEBUG file for the future testcase runs.
13866 New testcase for the NT_GNU_BUILD_ID retrieval.
13867 Move the final testing step to ...
13868 (test_different_dir): ... a new function.
13869 New parameter XFAIL to XFAIL all the tests performed.
13870 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
13871 New parameter TYPE to PF_PREFIX all the tests performed.
13872
02142340
VP
138732007-08-31 Vladimir Prus <vladimir@codesourcery.com>
13874
13875 * gdb.mi/mi-var-cp.cc (path_expression): New
13876 function.
13877 * gdb.mi/mi-var-cp.exp: Run path exression tests.
13878
36acd84e
UW
138792007-08-27 Markus Deuling <deuling@de.ibm.com>
13880
13881 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
13882 to fit into SPU Local Store memory.
13883
a896d121
JB
138842007-08-23 Joel Brobecker <brobecker@adacore.com>
13885
13886 * gdb.base/default.exp: Adjust the expected output of "info
13887 warranty" after the switch to GPLv3.
13888
7b433602
JB
138892007-08-23 Joel Brobecker <brobecker@adacore.com>
13890
13891 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
13892 to 30000 (from 20000).
13893
e22f8b7c
JB
138942007-08-23 Joel Brobecker <brobecker@adacore.com>
13895
13896 Switch the license of all .exp files to GPLv3.
13897 Switch the license of all .f and .f90 files to GPLv3.
13898 Switch the license of all .s and .S files to GPLv3.
13899
5a0e3bd0
JB
139002007-08-23 Joel Brobecker <brobecker@adacore.com>
13901
13902 * configure.ac: Switch license to GPLv3.
13903
cc00619d
JB
139042007-08-23 Joel Brobecker <brobecker@adacore.com>
13905
13906 Switch the licensing to GPLv3 for all .ads and .adb files.
13907
8d26208a
DJ
139082007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
13909
13910 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
13911 and t_int_double.
13912 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
13913
4fcb9948
JB
139142007-08-17 Joel Brobecker <brobecker@adacore.com>
13915
13916 * gdb.base/step-line.c: Switch license to GPL version 3, and
13917 update copyright year.
13918 * gdb.base/step-line.inp: Likewise.
13919
b9c34f67
JB
139202007-08-17 Joel Brobecker <brobecker@adacore.com>
13921
13922 * gdb.base/gdb1555.exp: Make expected output immune to formatting
13923 changes inside gdb1555.c.
13924 * gdb.base/pending.exp: Likewise.
13925
2cc17678
DJ
139262007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
13927
13928 * config/default.exp: New file.
13929
e48883f7
DJ
139302007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13931
13932 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
13933 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
13934
1ab80e5b
MR
139352007-07-30 Maciej W. Rozycki <macro@mips.com>
13936
13937 * gdb.base/dump.exp: Force the correct endianness for binary
13938 formats not carrying this information.
13939
aba471f5
DJ
139402007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13941
13942 * gdb.threads/staticthreads.exp: Match .*sem_post.
13943
d4e07204
DJ
139442007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13945
13946 * gdb.base/readline.exp (operate_and_get_next): Match the final
13947 prompt.
13948
2b97317d
KB
139492007-07-23 Kevin Buettner <kevinb@redhat.com>
13950
13951 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
13952 to restarting SID.
13953
44efa07a
KB
139542007-07-18 Kevin Buettner <kevinb@redhat.com>
13955
13956 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
13957 prior to `gdb_start'.
13958
7b5ebade
KB
139592007-07-18 Kevin Buettner <kevinb@redhat.com>
13960
13961 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
13962 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
13963 Remove call to gdb_unload.
13964
255e7678
DJ
139652007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
13966 Daniel Jacobowitz <dan@codesourcery.com>
13967
13968 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
13969 for __WIN32__.
13970 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
13971 * gdb.base/unload.exp: Use shared library test routines.
13972
3a40aaa0
UW
139732007-07-03 Markus Deuling <deuling@de.ibm.com>
13974
13975 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
13976 * gdb.base/solib-symbol-lib.c: Likewise.
13977 * gdb.base/solib-symbol-main.c: Likewise.
13978
b0f4b84b
DJ
139792007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
13980
13981 * config/gdbserver.exp (gdb_reconnect): New.
13982 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
13983 gdb.base/solib-disc.exp: New files.
13984 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
13985 remote debugging".
13986 (gdb_compile): Add shlib_load flag.
13987 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
13988 port.
13989 (gdbserver_reconnect): New.
13990
1b05479a
DJ
139912007-07-01 Nick Roberts <nickrob@snap.net.nz>
13992 Daniel Jacobowitz <dan@codesourcery.com>
13993
13994 * gdb.base/annota3.exp: Test for if construct.
13995
86f78eb2
DJ
139962007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
13997
13998 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
13999
6a2eb474 140002007-06-21 Chris Dearman <chris@mips.com>
a9c64011 14001 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
14002
14003 * gdb.base/display.exp: Allow a newline after display/i.
14004 * gdb.base/pc-fp.exp: Likewise.
14005 * gdb.base/sigbpt.exp: Likewise.
14006
f8b73d13
DJ
140072007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
14008
14009 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
14010 required features to be included.
14011
4339e69e
DJ
140122007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
14013
14014 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
14015 in info threads output.
14016
23d964e7
UW
140172007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14018 Markus Deuling <deuling@de.ibm.com>
14019
14020 * gdb.arch/spu-info.exp: New testcase.
14021 * gdb.arch/spu-info.c: New file.
14022
fd20f75b
DJ
140232007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
14024
14025 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
14026 tpcs_offset. Restore lr after the call.
14027 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
14028
2226f861
DJ
140292007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
14030
14031 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
14032 (gdbserver_run): Kill any running gdbserver.
14033 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
14034
d12371a9
MR
140352007-05-17 Maciej W. Rozycki <macro@mips.com>
14036
14037 * gdb.base/sigbpt.exp: Preset segv_addr.
14038
93f02886
DJ
140392007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
14040
14041 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
14042 (gdb_compile_shlib): Likewise.
14043 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
14044 (default_gdb_init): Clear cleanfiles.
14045 (gdb_finish): Delete recorded cleanfiles.
14046 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
14047
14048 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
14049 Do not use isnative.
14050 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
14051 gdb.base/so-impl-ld.exp: Likewise.
14052 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
14053 * gdb.base/unload.exp: Likewise. Do not pass empty option to
14054 gdb_compile.
14055
b04e06d7
VP
140562007-05-15 Vladimir Prus <vladimir@codesourcery.com>
14057
14058 * config/unknown.exp: Remove.
14059
069ed931
UW
140602007-05-15 Markus Deuling <deuling@de.ibm.com>
14061
14062 * gdb.base/info-proc.exp: Check is_remote.
14063
09db0d03
UW
140642007-05-14 Markus Deuling <deuling@de.ibm.com>
14065
14066 * gdb.base/gcore.exp: Initialize variable core_supported.
14067
af2cbe8c
DJ
140682007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14069
14070 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
14071
027c0295
DJ
140722007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14073
14074 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
14075 * gdb.threads/print-threads.exp (test_all_threads): Allow
14076 negative and hexadecimal thread IDs.
14077
dc5000e7
DJ
140782007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14079
14080 * gdb.java/jprint.java (public): Avoid invalid call to static
14081 method.
14082
2e74ed18
DP
140832007-05-14 Denis Pilat <denis.pilat@st.com>
14084
14085 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
14086 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
14087 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14088 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
14089 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
14090
83547f02
UW
140912007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14092
14093 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 14094 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
14095 this mode.
14096 * gdb.base/ovlymgr.c: Provide stubs for spu target.
14097 * gdb.base/spu.ld: New file.
14098
b18be20d
DJ
140992007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
14100
14101 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
14102
be444858
DJ
141032007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
14104
14105 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
14106
b1d53152
DJ
141072007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
14108
14109 * gdb.java/jmain.exp: Handle demangled names with and without method
14110 signatures.
14111
d084b331
DJ
141122007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
14113
14114 * gdb.mi/mi-syn-frame.c (main, foo, bar)
14115 (have_a_very_merry_interrupt): Remove calls to puts.
14116 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
14117 inferior output.
14118 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
14119 test names.
14120
db9d7fc5
DJ
141212007-04-29 Markus Deuling <deuling@de.ibm.com>
14122 Daniel Jacobowitz <dan@codesourcery.com>
14123
14124 * gdb.base/auxv.exp (core_works): Also check is_remote.
14125 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
14126
ef783a7d 141272007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 14128
ef783a7d
VP
14129 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
14130 message, not the undefined 'module' variable.
14131 * gdb.base/siginfo.exp: Likewise.
14132 * gdb.base/sigstep.exp: Likewise.
14133 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
14134 serialport.
14135 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
14136
b7b73cae
CV
141372007-04-25 Corinna Vinschen <vinschen@redhat.com>
14138
14139 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
14140 target sim fails. Return 0 otherwise.
14141 (gdb_load): Return prematurely if gdb_target_sim fails.
14142
7d90fdfa
DP
141432007-04-16 Denis Pilat <denis.pilat@st.com>
14144
14145 * gdb.base/setshow.exp: Reset height after having set it to 100.
14146
5d3e9c85
DP
141472007-04-16 Denis Pilat <denis.pilat@st.com>
14148
14149 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
14150
18e75969
DP
141512007-04-16 Denis Pilat <denis.pilat@st.com>
14152
14153 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
14154
25d5ea92
VP
141552007-04-14 Vladimir Prus <vladimir@codesourcery.com>
14156
14157 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
14158 tests. Run the frozen varobjs test.
14159 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 14160 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 14161
0b49cb80
JK
141622007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14163
14164 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
14165 gdb.base/type-opaque.exp: New files.
14166
a73bafbc 141672007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
14168
14169 * gdb.mi/mi-var-child.c
a73bafbc
VP
14170 (do_children_tests): User char[2] instead of
14171 char so that automatic printing of pointers to char
14172 don't give unpredicable result.
14173 * gdb.mi/var-cmd.c (do_locals_test): Initialize
14174 local variables.
14175 * gdb.mi/mi-var-child.exp: Step to right line
14176 of do_children_tests.
14177 * gdb.mi/mi2-var-child.exp: Likewise.
14178 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 14179 do_locals_tests.
a73bafbc
VP
14180 (do_children_tests): User char[2] instead of
14181 char so that automatic printing of pointers to char
a9c64011 14182 don't give unpredicable result.
a73bafbc 14183 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 14184 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
14185 Pass test name to mi_wait_for_stop.
14186
7ce59000
DJ
141872007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14188
14189 * gdb.asm/asm-source.exp: Remove d10v case.
14190 * lib/gdb.exp (skip_cplus_tests): Likewise.
14191 * gdb.asm/d10v.inc: Deleted.
14192
20389057
DJ
141932007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14194
14195 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
14196
8807d78b
DJ
141972007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14198
14199 * config/netware.exp: Delete file.
14200
aa3edb8e
JB
142012007-03-29 Joel Brobecker <brobecker@adacore.com>
14202
14203 * gdb.dwarf2/dw2-noloc.S: New file.
14204 * gdb.dwarf2/dw2-noloc.exp: New file.
14205
297561ac
PA
142062007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
14207
14208 * gdb.cp/method2.cc: New test.
14209 * gdb.cp/method2.exp: New test.
14210 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
14211
1f81bd39
DJ
142122007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14213
14214 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
14215
9453113a
DJ
142162007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
14217
14218 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
14219
b741e217
DJ
142202007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14221
14222 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
14223 (gdb_load): Delete, replace with...
14224 (gdb_reload): ...this.
14225 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
14226 * gdb.server/server-mon.exp: Likewise.
14227 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
14228 (gdb_start_cmd): New.
14229 (gdb_file_cmd): Save the last loaded file.
14230 (gdb_reload): New.
14231 (gdb_gnu_strip_debug): Use transform.
14232 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
14233 support here. Use new $last_loaded_file. Check mtime.
14234 (gdb_target_cmd): Handle ObjC failure case.
14235 (infer_host_exec): Delete.
14236 (gdbserver_load): Rename to...
14237 (gdbserver_run): ...this. Simplify.
14238 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
14239 (mi_gdb_load): Move most contents to a new function...
14240 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
14241 (mi_run_cmd): Use mi_gdb_target_load.
14242 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
14243 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
14244 Use gdb_run_cmd.
14245 * gdb.base/charsign.exp: Remove incorrect comment.
14246 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
14247 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
14248 gdb.base/start.exp: Use gdb_start_cmd.
14249
446ab585 142502007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 14251 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
14252
14253 * gdb.base/sigbpt.exp: Fix the message when skipping test.
14254 * gdb.base/signull.exp: Similarly.
14255
bbb88ebf
UW
142562007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14257
14258 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
14259 messages available to test cases (like chng-sym.exp).
14260
cb8c4a99
AS
142612007-03-14 Andreas Schwab <schwab@suse.de>
14262
14263 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14264 format changes.
14265
4e463ff5
DJ
142662007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
14267
14268 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
14269 (optimized_1): New.
14270 (main): Call optimized_1.
14271 (gdb2029): Correct typos. Call gdb2029_marker.
14272 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
14273 for gdb2029.
14274
b6db2c47
MK
142752007-03-12 Mark Kettenis <kettenis@gnu.org>
14276
14277 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
14278 as tabs. Remove redundant test pattern.
14279
70ed3737
UW
142802007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14281
14282 * gdb.base/long_long.exp: Accept optional symbol name in <...>
14283 for /a format output.
14284
47b67b60
DJ
142852007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
14286
14287 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
14288 collect output incrementally.
14289
b8953b0e
UW
142902007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14291
14292 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
14293 for -var-create lpcharacter test.
14294 * gdb.mi/mi2-var-cmd.exp: Likewise.
14295
7acd5c40
UW
142962007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14297
14298 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
14299 pass on targets where address zero is readable.
14300
9c6759c1
UW
143012007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14302
14303 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
14304 just a single architecture.
14305
a2f1aeb4
UW
143062007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14307
14308 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
14309 (fetch_all_registers): New function, uses gdb_test_multiple and
14310 exp_continue to fetch inferior output line-by-line.
14311 Replace all uses of do_get_all_registers by fetch_all_registers.
14312
46579ac2
UW
143132007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14314
14315 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
14316 in target_info.
14317
fc133f24
MS
143182007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14319
a9c64011 14320 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
14321 consistancy; add a default (timeout) case.
14322
7646a51d
MS
143232007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14324
14325 * gdb.base/watchpoint.exp: Fix truncated comment.
14326
dcfff61f
MS
143272007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14328
14329 * Makefile.in: Remove spurious single-quotes from sed command.
14330
664e3ee9
DJ
143312007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14332
14333 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
14334 func.
14335 * gdb.mi/mi2-var-cmd.exp: Likewise.
14336
d7cc6f2f
JB
143372007-02-27 Joel Brobecker <brobecker@adacore.com>
14338
a9c64011
AS
14339 * gdb.dwarf2/dw2-producer.S: New file.
14340 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
14341
143422007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
14343
14344 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14345 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14346 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14347 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14348 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14349 Revert tests to use mi_gdb_test and include value field in output
14350 of -var-create.
14351
93d42b30
DJ
143522007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14353
14354 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
14355
c499ed39
DJ
143562007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14357
14358 * gdb.base/maint.exp: Remove full paths from test names.
14359 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
14360 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
14361
9836f81b
JB
143622007-02-27 Joel Brobecker <brobecker@adacore.com>
14363
14364 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
14365
c74d0ad8
DJ
143662007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14367
14368 * gdb.server/server-mon.exp: New test.
14369
2711e456
DJ
143702007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14371
14372 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
14373
ff6f572f
DJ
143742007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14375
14376 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
14377 register capitalization.
14378
fada3feb
DP
143792007-02-13 Denis Pilat <denis.pilat@st.com>
14380
14381 * gdb.mi/mi-var-invalidate.exp: New file.
14382
fb1e4ffc
DJ
143832007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14384
14385 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
14386
3da939d7
DJ
143872007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14388
14389 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
14390
123dc839
DJ
143912007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14392
14393 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
14394 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
14395
877e3645 143962007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
14397
14398 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14399 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14400 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14401 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14402 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 14403 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 14404 Update tests to include value field in output of -var-create.
a9c64011 14405
3c0a2960
AS
144062007-02-08 Andreas Schwab <schwab@suse.de>
14407
14408 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
14409
108546a0
DJ
144102007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
14411
14412 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
14413 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
14414
d701dcab
DP
144152007-02-02 Denis Pilat <denis.pilat@st.com>
14416
14417 * gdb.threads/threadapply.exp: check that frame is not changed by
14418 the thread apply all command.
14419
783e3e2f
AS
144202007-01-31 Andreas Schwab <schwab@suse.de>
14421
6d9c3a87
AS
14422 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14423
3c50d7b9
AS
14424 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
14425 in the dwarf sections.
14426 * gdb.dwarf2/mac-fileno.S: Likewise.
14427
783e3e2f
AS
14428 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
14429 bspstore register on ia64.
14430
78ff580e
AS
144312007-01-29 Andreas Schwab <schwab@suse.de>
14432
cc8e9b12
AS
14433 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
14434 "frame-begin" annotation.
14435
78ff580e
AS
14436 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
14437 number of "frames-invalid" annotations.
14438
704a4f78
DJ
144392007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14440
14441 * gdb.base/commands.exp: Call if_commands_test.
14442 (gdb_test_no_prompt, if_commands_test): New.
14443
e741bf94
MK
144442007-01-28 Mark Kettenis <kettenis@gnu.org>
14445
14446 * gdb.threads/sigthread.c (NSIGS): Make bigger.
14447
474d0ad3
AS
144482007-01-27 Andreas Schwab <schwab@suse.de>
14449
14450 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
14451 .short/.int/.quad in the dwarf sections.
14452 * gdb.dwarf2/dw2-intercu.S: Likewise.
14453 * gdb.dwarf2/dw2-intermix.S: Likewise.
14454
e784b426
JK
144552007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14456
14457 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
14458 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
14459 array.
e784b426
JK
14460 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
14461 * gdb.base/setvar.exp: Likewise.
14462
37f08e04
AS
144632007-01-26 Andreas Schwab <schwab@suse.de>
14464
9a01813a
AS
14465 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
14466 test.
14467
37f08e04
AS
14468 * gdb.base/multi-forks.exp ("restart $i"): Also match
14469 __kernel_syscall_via_break.
14470
6e2a9270
VP
144712007-01-24 Vladimir Prus <vladimir@codesourcery.com>
14472
14473 * lib/mi-support.exp (mi_delete_varobj): New.
14474 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
14475 testcase.
14476 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
14477 (main): Call the above.
14478 (reference_update_test, base_in_reference_test)
14479 (reference_to_pointer): Delete the created varobjs.
a9c64011 14480
e515b470
DJ
144812007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
14482
14483 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
14484 * configure: Regenerated.
14485 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
14486 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
14487 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
14488 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
14489 * lib/gdb.exp (gdb_skip_xml_test): New function.
14490
08d8bcd7
DJ
144912007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
14492
14493 * gdb.base/sigrepeat.exp: Correct error message.
14494
144952007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
14496 Daniel Jacobowitz <dan@codesourcery.com>
14497
14498 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
14499 gdb.arch/i386-gnu-cfi-asm.S: New files.
14500
97c3f1f3
JK
145012007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14502
14503 * lib/gdb.exp: Abort on missing `site.exp'.
14504
cb1df416
DJ
145052007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14506 Daniel Jacobowitz <dan@codesourcery.com>
14507
14508 * gdb.base/included.c, gdb.base/included.exp,
14509 gdb.base/included.h: New files.
14510
35990120
DJ
145112007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14512
14513 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
14514 (maximize_rlimit): Reduce limits on 64-bit systems.
14515
6e81a116 145162007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
14517
14518 From Marcus Deuling <deuling@de.ibm.com>:
14519 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
14520 every case.
14521
6c3c41f3
NR
145222007-01-13 Nick Roberts <nickrob@snap.net.nz>
14523
14524 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
14525 (test_path_specification): Use objdir instead of srcdir to always
14526 get an absolute filename.
14527
2f12c312
DJ
145282007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
14529
14530 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
14531
81121995
VP
145322007-01-11 Vladimir Prus <vladimir@codesourcery.com>
14533
14534 * gdb.mi/mi-var-cp.cc (reference_update_tests):
14535 Make sure the variable we're using is in scope.
14536 (reference_to_pointer): Likewise.
14537
4741b737
DJ
145382007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14539
14540 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
14541 has no debug information.
14542
054410c3
DJ
145432007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
14544
14545 * gdb.base/annota1.exp: Remove extra send_gdb.
14546
818f79f6
DJ
145472007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14548
14549 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
14550
f7a6bb70
DJ
145512007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14552
14553 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
14554
57e66780
DJ
145552007-01-08 Nick Roberts <nickrob@snap.net.nz>
14556 Daniel Jacobowitz <dan@codesourcery.com>
14557
14558 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
14559 lcharacter or linteger change. Correct duplicated test name.
14560 * gdb.mi/mi2-var-cmd.exp: Likewise.
14561
3d799a95
DJ
145622007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14563
14564 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
14565
145662007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 14567
a9c64011
AS
14568 * gdb.base/nofield.c: New file.
14569 * gdb.base/nofield.exp: New testcase.
51679ba9 14570
eafb94e8
NR
145712007-01-05 Nick Roberts <nickrob@snap.net.nz>
14572
14573 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
14574
14575 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
14576 test.
14577
5e572bb4
DJ
145782007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14579
14580 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
14581
74a44383
DJ
145822007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14583
14584 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
14585 when continuing.
14586
1b572db9
DJ
145872007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14588
14589 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
14590 Expect ".exe" extension.
14591
381bc39b
DJ
145922007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14593
14594 * gdb.base/charset.exp: Add explicit filename to break.
14595 * gdb.base/dbx.exp: Add explicit filename to breaks.
14596
2b70e4c6
DJ
145972007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14598
14599 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
14600 * gdb.mi/mi2-file.exp: Likewise.
14601
303b6f5d
DJ
146022007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14603
14604 Implement specification of MI tests as comments
14605 in C and C++ sources.
14606 * lib/mi-support.exp (mi_autotest_data): New variable.
14607 (mi_autotest_source): New variable.
14608 (count_newlines, mi_prepare_inline_tests)
14609 (mi_get_inline_test, mi_continue_to_line)
14610 (mi_run_inline_test, mi_tbreak)
14611 (mi_send_resuming_command, mi_wait_for_stop): New functions.
14612 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
14613 Run inline tests.
14614 * gdb.mi/mi-var-cp.cc: Define tests here.
14615
23da0d94
VP
146162007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14617
14618 Simplify usage of mi_continue_to.
14619 * lib/mi-support.exp (mi_runto_helper): Renamed
14620 from mi_runto, added new parameter 'run_or_continue'.
14621 (mi_runto): Use mi_runto_helper.
14622 (mi_continue_to): Accept just function name as parameter.
14623 Use mi_runto_helper.
14624 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
14625 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 14626
f9e18282
JB
146272006-01-04 Joel Brobecker <brobecker@adacore.com>
14628
14629 Make this testcase a bit more realistic. The current code
14630 is too simplistic, and allows the compiler to optimize out
14631 some of the entities we need for this testcase.
14632 * gdb.ada/null_record/bar.ads (Void_Star): New type.
14633 (Do_Nothing): Add extra parameter.
14634 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
14635 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
14636 by using a variable of type Void_Star.
14637
fd678c65
JB
146382006-01-04 Joel Brobecker <brobecker@adacore.com>
14639
14640 * gdb.ada/catch_ex/foo.adb: New file.
14641 * gdb.ada/catch_ex.exp: New testcase.
14642
05cfdb42
DJ
146432007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
14644
14645 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
14646 pass --image-base to linker.
14647
2e03ee74
DJ
146482007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14649 Daniel Jacobowitz <dan@codesourcery.com>
14650
14651 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
14652 secondary prompts.
14653
0d5de010
DJ
146542007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14655
14656 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
14657 output. Test the types of members and member pointers.
14658 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
14659 gdb/2092.
14660 * gdb.cp/member-ptr.exp: Search for a comment instead of a
14661 statement. Enable for GCC. Update expected output for some tests
14662 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
14663 layout.
14664 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
14665 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
14666 (Diamond::vget_base): New.
14667 (main): Add new tests.
14668 * gdb.cp/printmethod.exp: Update expected output for member functions.
14669 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
14670 print pEe->D::vg().
14671
61a771aa
DJ
146722007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14673
14674 * gdb.threads/tls.exp: Allow stops in sem_post.
14675
2fa63963
DJ
146762006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
14677
14678 * gdb.base/annota1.exp: Allow .*printf in backtraces.
14679 * gdb.base/annota3.exp: Likewise.
14680 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
14681 again (instead of timing out).
14682 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
14683 GCC bug 26475.
14684 * gdb.java/jmisc.exp: Adjust to work with method signatures including
14685 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
14686 test from jmisc1.exp.
14687 * gdb.java/jmisc1.exp: Delete.
14688 * gdb.java/jprint.exp: Adjust to work with method signatures including
14689 return types.
14690 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
14691 * gdb.threads/linux-dp.exp: Don't be confused by program output.
14692 * lib/java.exp (compile_java_from_source): Pass the correct type
14693 to target_compile.
14694
5eefc2b7
JB
146952006-12-31 Joel Brobecker <brobecker@adacore.com>
14696
14697 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
14698 (stack_align_edx): New function.
14699 (stack_align_eax): New function.
14700 (main): Add calls to stack_align_edx and stack_align_eax.
14701 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
14702 Add testing for the cases where the register used during a stack
14703 realignment is edx. Same for eax.
14704
227c54da
DJ
147052006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
14706
14707 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
14708 and generic PE targets.
14709
cab8ac94
JB
147102006-12-29 Joel Brobecker <brobecker@adacore.com>
14711
14712 * gdb.ada/array_return.exp: Update copyright date list.
14713
ba54f318
JB
147142006-12-27 Joel Brobecker <brobecker@adacore.com>
14715
14716 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
14717 (Create_Small_Float_Vector): New function.
14718 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
14719 function body.
14720 * gdb.ada/array_return/p.adb: Use new type and function from
14721 package Pck.
14722 * gdb.ada/array_return.exp: Add a test verifying that GDB is
14723 able to print the value returned by a function returning an
14724 array of float.
14725
6b7a35dd
JB
147262006-12-20 Joel Brobecker <brobecker@adacore.com>
14727
14728 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
14729 The associated tests should be PASSing.
14730
038224f6
VP
147312006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14732
14733 Test for base in references.
14734 * gdb.mi/mi-var-cp.cc: Add test code.
14735 * gdb.mi/mi-var-cp.exp: Test for bases in references.
14736 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
14737 * gdb.mi/mi2-watch.exp: Likewise.
14738 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
14739 (mi_list_varobj_children): New function.
14740
b26ed50d
VP
147412006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14742
14743 * lib/mi-support.exp
14744 (mi_runto): Accept "()" after function name.
14745 (mi_create_varobj): New function.
14746 (mi_varobj_update): New function.
14747 (mi_Check_varobj_value): New function.
14748 * gdb.mi/mi-var-cp.exp: New file.
14749 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 14750
08232497
DJ
147512006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
14752
14753 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
14754 gdb.base/weaklib2.c: New files.
14755
d394c993 147562006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 14757
ac6c2fba
NS
14758 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
14759 info. Adjust test names.
14760
8ec659a0 14761 * gdb.base/break.c (main): Move position of malloc.
d394c993 14762 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 14763
acd65feb
VP
147642006-11-28 Vladimir Prus <vladimir@codesourcery.com>
14765
14766 * gdb.mi/mi-var-cmd.exp: Check -var-update after
14767 assignement of arrays and function pointers.
14768 * gdb.mi/var-cmd.c: Add declaration necessary for above
14769 tests.
14770
f556d5e5
NS
147712006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14772
14773 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
14774
14775 * gdb.threads/linux-dp.exp: Read thread table before and after
14776 creating each philosopher and verify it.
14777
697bc68d
NS
147782006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14779 Paul Brook <paul@codesourcery.com>
14780 Daniel Jacobowitz <dan@codesourcery.com>
14781
14782 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 14783 main to remove duplication. Add start function of the form
697bc68d
NS
14784 '_*start[1-9]*'. Add RVDS start function.
14785
29d73ae4
DJ
147862006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14787
14788 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
14789
c1d88655
UW
147902006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14791
14792 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
14793 * gdb.asm/spu.inc: New file.
14794 * gdb.base/term.exp: Disable if [target_info exists noargs].
14795 * gdb.gdb/complaints.exp: Disable if ![isnative].
14796 * gdb.gdb/selftest.exp: Likewise.
14797 * gdb.gdb/observer.exp: Likewise.
14798 * gdb.gdb/xfullpath.exp: Likewise.
14799 * gdb.base/attach.exp: Disable on SPU target.
14800 * gdb.cp/bs145503.exp: Likewise.
14801 * gdb.cp/exception.exp: Likewise.
14802 * gdb.cp/userdef.exp: Likewise.
14803
32a13b1a
DJ
148042006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14805
14806 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
14807
d8295fe9
VP
148082006-11-10 Vladimir Prus <vladimir@codesourcery.com>
14809
14810 * gdb.base/completion.exp: Fix completion tests for
14811 'info' and 'info '.
14812 * gdb.base/help.exp (help_test_raw, test_class_help)
14813 (test_prefix_command_help): Move...
14814 * lib/gdb.exp: Here.
14815 * gdb.base/main.exp: Adjust.
14816 * gdb.cp/maint.exp: Adjust.
14817 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 14818
8c394015
VP
148192006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14820
14821 * gdb.stabs/weird.exp (print_weird_var): Use
14822 gdb_test_multiple instead of gdb_expect.
14823
027fc1bc
VP
148242006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14825
14826 * gdb.base/help.exp (help_test_raw): New.
14827 (test_class_help): New.
14828 (test_prefix_command_help): New.
14829 Adjust testcases.
14830
67609209
FR
148312006-11-09 Christophe Lyon <christophe.lyon@st.com>
14832
14833 * gdb.base/constvars.c (main): Write to crass and crips, so that
14834 they are allocated by the compiler.
14835
f73adfeb
AS
148362006-10-27 Andreas Schwab <schwab@suse.de>
14837
14838 * gdb.base/multi-forks.exp: Use "detach fork" instead of
14839 "detach-fork".
14840
2f83a18e
DJ
148412006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
14842
14843 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
14844 of patterns.
14845
94277a38
DJ
148462006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14847
14848 * gdb.base/sepdebug.exp: Remove debug format test.
14849 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
14850 Handle no-symtab.
14851 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
14852
5bd2f6e2
DJ
148532006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14854
14855 * gdb.threads/manythreads.c (thread_function, main): Don't cast
14856 int to pointer or pointer to int.
14857 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
14858
8c008720
DJ
148592006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
14860
14861 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
14862
9e35dae4
DJ
148632006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14864
14865 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
14866
d9639e13
DJ
148672006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14868
14869 PR c++/2116
14870 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
14871
390a1bd0
JB
148722006-10-06 Joel Brobecker <brobecker@adacore.com>
14873
14874 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
14875 the corresponding bug has been fixed in GDB (PR/2018).
14876
dd920c33
JB
148772006-10-06 Joel Brobecker <brobecker@adacore.com>
14878
14879 * gdb.base/subst.exp: New testcase.
14880
53bbefe9
JB
148812006-10-06 Joel Brobecker <brobecker@adacore.com>
14882
14883 * gdb.ada/array_return/pck.ads: Add copyright notice.
14884 * gdb.ada/array_return/pck.adb: Likewise.
14885 * gdb.ada/array_return/p.adb: Likewise.
14886 * gdb.ada/exec_changed/first.adb: Likewise.
14887 * gdb.ada/exec_changed/second.adb: Likewise.
14888
09851417
JB
148892006-10-06 Joel Brobecker <brobecker@adacore.com>
14890
14891 * gdb.ada/watch_arg/watch.adb: New file.
14892 * gdb.ada/watch_arg.exp: New testcase.
14893
041bf30d
VP
148942006-10-02 Vladimir Prus <vladimir@codesourcery.com>
14895
14896 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 14897 via string_to_regexp.
041bf30d 14898 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 14899
f286fbdd 149002006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
14901
14902 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
14903 Remove unused / obsolete files.
14904
7c07f349
NR
149052006-09-19 Nick Roberts <nickrob@snap.net.nz>
14906
14907 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
14908
cd5ff84a
VP
149092006-09-17 Vladimir Prus <vladimir@codesourcery.com>
14910
14911 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
14912 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 14913 the number of frames.
cd5ff84a 14914
ae018d1a
DJ
149152006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
14916
14917 * gdb.base/args.c (main): Add breakpoint marker.
14918 * gdb.base/args.exp: Use args_test for tests. Add new tests which
14919 really test empty arguments.
14920 (args_load): Delete.
14921 (args_test): New.
14922
b399c549
NR
149232006-09-13 Nick Roberts <nickrob@snap.net.nz>
14924
14925 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 14926 check for one file.
b399c549 14927
2ab1eb7a
VP
149282006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
14929
14930 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
14931 HIGH_FRAME argument to -stack-list-locals can be larger than
14932 the number of frames.
a9c64011 14933
476308bf
FF
149342006-08-18 Fred Fish <fnf@specifix.com>
14935
14936 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
14937 '$' in front of skip_vmx_tests_saved when setting that.
14938
8625200f
AS
149392006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
14940
14941 * gdb.base/trace-commands.exp: New file.
14942
089ec8f1
DJ
149432006-08-10 Joel Brobecker <brobecker@adacore.com>
14944 Daniel Jacobowitz <dan@codesourcery.com>
14945
14946 * gdb.base/step-bt.exp: Make hexadecimal address optional in
14947 expected output of the backtrace commands.
14948
b60f0898
JB
149492006-08-09 Joel Brobecker <brobecker@adacore.com>
14950
14951 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
14952 untested followed by return combination.
14953 * gdb.arch/altivec-regs.exp: Likewise.
14954 * gdb.arch/e500-abi.exp: Likewise.
14955 * gdb.arch/e500-regs.exp: Likewise.
14956 * gdb.arch/gdb1291.exp: Likewise.
14957 * gdb.arch/gdb1431.exp: Likewise.
14958 * gdb.arch/gdb1558.exp: Likewise.
14959 * gdb.arch/i386-prologue.exp: Likewise.
14960 * gdb.arch/i386-unwind.exp: Likewise.
14961 * gdb.asm/asm-source.exp: Likewise.
14962 * gdb.base/a2-run.exp: Likewise.
14963 * gdb.base/advance.exp: Likewise.
14964 * gdb.base/all-bin.exp: Likewise.
14965 * gdb.base/annota1.exp: Likewise.
14966 * gdb.base/annota3.exp: Likewise.
14967 * gdb.base/args.exp: Likewise.
14968 * gdb.base/arithmet.exp: Likewise.
14969 * gdb.base/assign.exp: Likewise.
14970 * gdb.base/async.exp: Likewise.
14971 * gdb.base/attach.exp: Likewise.
14972 * gdb.base/bang.exp: Likewise.
14973 * gdb.base/bigcore.exp: Likewise.
14974 * gdb.base/bitfields.exp: Likewise.
14975 * gdb.base/bitfields2.exp: Likewise.
14976 * gdb.base/break.exp: Likewise.
14977 * gdb.base/call-sc.exp: Likewise.
14978 * gdb.base/call-strs.exp: Likewise.
14979 * gdb.base/callfuncs.exp: Likewise.
14980 * gdb.base/checkpoint.exp: Likewise.
14981 * gdb.base/chng-syms.exp: Likewise.
14982 * gdb.base/code-expr.exp: Likewise.
14983 * gdb.base/commands.exp: Likewise.
14984 * gdb.base/completion.exp: Likewise.
14985 * gdb.base/cond-expr.exp: Likewise.
14986 * gdb.base/condbreak.exp: Likewise.
14987 * gdb.base/consecutive.exp: Likewise.
14988 * gdb.base/constvars.exp: Likewise.
14989 * gdb.base/corefile.exp: Likewise.
14990 * gdb.base/cvexpr.exp: Likewise.
14991 * gdb.base/dbx.exp: Likewise.
14992 * gdb.base/define.exp: Likewise.
14993 * gdb.base/detach.exp: Likewise.
14994 * gdb.base/display.exp: Likewise.
14995 * gdb.base/dump.exp: Likewise.
14996 * gdb.base/ena-dis-br.exp: Likewise.
14997 * gdb.base/ending-run.exp: Likewise.
14998 * gdb.base/environ.exp: Likewise.
14999 * gdb.base/eval-skip.exp: Likewise.
15000 * gdb.base/exprs.exp: Likewise.
15001 * gdb.base/fileio.exp: Likewise.
15002 * gdb.base/finish.exp: Likewise.
15003 * gdb.base/float.exp: Likewise.
15004 * gdb.base/foll-exec.exp: Likewise.
15005 * gdb.base/foll-fork.exp: Likewise.
15006 * gdb.base/foll-vfork.exp: Likewise.
15007 * gdb.base/freebpcmd.exp: Likewise.
15008 * gdb.base/funcargs.exp: Likewise.
15009 * gdb.base/gcore.exp: Likewise.
15010 * gdb.base/gdb1090.exp: Likewise.
15011 * gdb.base/gdb1250.exp: Likewise.
15012 * gdb.base/huge.exp: Likewise.
15013 * gdb.base/info-proc.exp: Likewise.
15014 * gdb.base/interrupt.exp: Likewise.
15015 * gdb.base/jump.exp: Likewise.
15016 * gdb.base/langs.exp: Likewise.
15017 * gdb.base/lineinc.exp: Likewise.
15018 * gdb.base/list.exp: Likewise.
15019 * gdb.base/logical.exp: Likewise.
15020 * gdb.base/long_long.exp: Likewise.
15021 * gdb.base/macscp.exp: Likewise.
15022 * gdb.base/maint.exp: Likewise.
15023 * gdb.base/mips_pro.exp: Likewise.
15024 * gdb.base/miscexprs.exp: Likewise.
15025 * gdb.base/multi-forks.exp: Likewise.
15026 * gdb.base/opaque.exp: Likewise.
15027 * gdb.base/overlays.exp: Likewise.
15028 * gdb.base/pc-fp.exp: Likewise.
15029 * gdb.base/pointers.exp: Likewise.
15030 * gdb.base/printcmds.exp: Likewise.
15031 * gdb.base/psymtab.exp: Likewise.
15032 * gdb.base/ptype.exp: Likewise.
15033 * gdb.base/recurse.exp: Likewise.
15034 * gdb.base/relational.exp: Likewise.
15035 * gdb.base/relocate.exp: Likewise.
15036 * gdb.base/remote.exp: Likewise.
15037 * gdb.base/reread.exp: Likewise.
15038 * gdb.base/restore.exp: Likewise.
15039 * gdb.base/return.exp: Likewise.
15040 * gdb.base/return2.exp: Likewise.
15041 * gdb.base/scope.exp: Likewise.
15042 * gdb.base/sect-cmd.exp: Likewise.
15043 * gdb.base/sep.exp: Likewise.
15044 * gdb.base/sepdebug.exp: Likewise.
15045 * gdb.base/setshow.exp: Likewise.
15046 * gdb.base/setvar.exp: Likewise.
15047 * gdb.base/sigall.exp: Likewise.
15048 * gdb.base/sigbpt.exp: Likewise.
15049 * gdb.base/signals.exp: Likewise.
15050 * gdb.base/signull.exp: Likewise.
15051 * gdb.base/sizeof.exp: Likewise.
15052 * gdb.base/solib.exp: Likewise.
15053 * gdb.base/step-line.exp: Likewise.
15054 * gdb.base/step-test.exp: Likewise.
15055 * gdb.base/structs.exp: Likewise.
15056 * gdb.base/structs2.exp: Likewise.
15057 * gdb.base/term.exp: Likewise.
15058 * gdb.base/twice.exp: Likewise.
15059 * gdb.base/until.exp: Likewise.
15060 * gdb.base/varargs.exp: Likewise.
15061 * gdb.base/volatile.exp: Likewise.
15062 * gdb.base/watchpoint.exp: Likewise.
15063 * gdb.base/whatis-exp.exp: Likewise.
15064 * gdb.base/whatis.exp: Likewise.
15065 * gdb.cp/ambiguous.exp: Likewise.
15066 * gdb.cp/annota2.exp: Likewise.
15067 * gdb.cp/annota3.exp: Likewise.
15068 * gdb.cp/bool.exp: Likewise.
15069 * gdb.cp/breakpoint.exp: Likewise.
15070 * gdb.cp/casts.exp: Likewise.
15071 * gdb.cp/class2.exp: Likewise.
15072 * gdb.cp/classes.exp: Likewise.
15073 * gdb.cp/cplusfuncs.exp: Likewise.
15074 * gdb.cp/ctti.exp: Likewise.
15075 * gdb.cp/derivation.exp: Likewise.
15076 * gdb.cp/exception.exp: Likewise.
15077 * gdb.cp/gdb1355.exp: Likewise.
15078 * gdb.cp/hang.exp: Likewise.
15079 * gdb.cp/inherit.exp: Likewise.
15080 * gdb.cp/local.exp: Likewise.
15081 * gdb.cp/m-data.exp: Likewise.
15082 * gdb.cp/m-static.exp: Likewise.
15083 * gdb.cp/member-ptr.exp: Likewise.
15084 * gdb.cp/method.exp: Likewise.
15085 * gdb.cp/misc.exp: Likewise.
15086 * gdb.cp/namespace.exp: Likewise.
15087 * gdb.cp/overload.exp: Likewise.
15088 * gdb.cp/ovldbreak.exp: Likewise.
15089 * gdb.cp/pr-1023.exp: Likewise.
15090 * gdb.cp/pr-1210.exp: Likewise.
15091 * gdb.cp/pr-574.exp: Likewise.
15092 * gdb.cp/printmethod.exp: Likewise.
15093 * gdb.cp/psmang.exp: Likewise.
15094 * gdb.cp/ref-params.exp: Likewise.
15095 * gdb.cp/ref-types.exp: Likewise.
15096 * gdb.cp/rtti.exp: Likewise.
15097 * gdb.cp/templates.exp: Likewise.
15098 * gdb.cp/try_catch.exp: Likewise.
15099 * gdb.cp/userdef.exp: Likewise.
15100 * gdb.cp/virtfunc.exp: Likewise.
15101 * gdb.disasm/am33.exp: Likewise.
15102 * gdb.disasm/h8300s.exp: Likewise.
15103 * gdb.disasm/mn10300.exp: Likewise.
15104 * gdb.disasm/sh3.exp: Likewise.
15105 * gdb.disasm/t01_mov.exp: Likewise.
15106 * gdb.disasm/t02_mova.exp: Likewise.
15107 * gdb.disasm/t03_add.exp: Likewise.
15108 * gdb.disasm/t04_sub.exp: Likewise.
15109 * gdb.disasm/t05_cmp.exp: Likewise.
15110 * gdb.disasm/t06_ari2.exp: Likewise.
15111 * gdb.disasm/t07_ari3.exp: Likewise.
15112 * gdb.disasm/t08_or.exp: Likewise.
15113 * gdb.disasm/t09_xor.exp: Likewise.
15114 * gdb.disasm/t10_and.exp: Likewise.
15115 * gdb.disasm/t11_logs.exp: Likewise.
15116 * gdb.disasm/t12_bit.exp: Likewise.
15117 * gdb.disasm/t13_otr.exp: Likewise.
15118 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
15119 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
15120 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15121 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
15122 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
15123 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15124 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15125 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15126 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
15127 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
15128 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15129 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15130 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15131 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15132 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15133 * gdb.mi/gdb701.exp: Likewise.
15134 * gdb.mi/gdb792.exp: Likewise.
15135 * gdb.mi/mi-basics.exp: Likewise.
15136 * gdb.mi/mi-break.exp: Likewise.
15137 * gdb.mi/mi-cli.exp: Likewise.
15138 * gdb.mi/mi-console.exp: Likewise.
15139 * gdb.mi/mi-disassemble.exp: Likewise.
15140 * gdb.mi/mi-eval.exp: Likewise.
15141 * gdb.mi/mi-file.exp: Likewise.
15142 * gdb.mi/mi-read-memory.exp: Likewise.
15143 * gdb.mi/mi-regs.exp: Likewise.
15144 * gdb.mi/mi-return.exp: Likewise.
15145 * gdb.mi/mi-simplerun.exp: Likewise.
15146 * gdb.mi/mi-stack.exp: Likewise.
15147 * gdb.mi/mi-stepi.exp: Likewise.
15148 * gdb.mi/mi-syn-frame.exp: Likewise.
15149 * gdb.mi/mi-until.exp: Likewise.
15150 * gdb.mi/mi-var-block.exp: Likewise.
15151 * gdb.mi/mi-var-child.exp: Likewise.
15152 * gdb.mi/mi-var-cmd.exp: Likewise.
15153 * gdb.mi/mi-var-display.exp: Likewise.
15154 * gdb.mi/mi-watch.exp: Likewise.
15155 * gdb.mi/mi2-basics.exp: Likewise.
15156 * gdb.mi/mi2-break.exp: Likewise.
15157 * gdb.mi/mi2-cli.exp: Likewise.
15158 * gdb.mi/mi2-console.exp: Likewise.
15159 * gdb.mi/mi2-disassemble.exp: Likewise.
15160 * gdb.mi/mi2-eval.exp: Likewise.
15161 * gdb.mi/mi2-file.exp: Likewise.
15162 * gdb.mi/mi2-read-memory.exp: Likewise.
15163 * gdb.mi/mi2-regs.exp: Likewise.
15164 * gdb.mi/mi2-return.exp: Likewise.
15165 * gdb.mi/mi2-simplerun.exp: Likewise.
15166 * gdb.mi/mi2-stack.exp: Likewise.
15167 * gdb.mi/mi2-stepi.exp: Likewise.
15168 * gdb.mi/mi2-syn-frame.exp: Likewise.
15169 * gdb.mi/mi2-until.exp: Likewise.
15170 * gdb.mi/mi2-var-block.exp: Likewise.
15171 * gdb.mi/mi2-var-child.exp: Likewise.
15172 * gdb.mi/mi2-var-cmd.exp: Likewise.
15173 * gdb.mi/mi2-var-display.exp: Likewise.
15174 * gdb.mi/mi2-watch.exp: Likewise.
15175 * gdb.stabs/exclfwd.exp: Likewise.
15176 * gdb.stabs/weird.exp: Likewise.
15177 * gdb.threads/gcore-thread.exp: Likewise.
15178 * gdb.trace/actions.exp: Likewise.
15179 * gdb.trace/backtrace.exp: Likewise.
15180 * gdb.trace/circ.exp: Likewise.
15181 * gdb.trace/collection.exp: Likewise.
15182 * gdb.trace/deltrace.exp: Likewise.
15183 * gdb.trace/infotrace.exp: Likewise.
15184 * gdb.trace/limits.exp: Likewise.
15185 * gdb.trace/packetlen.exp: Likewise.
15186 * gdb.trace/passc-dyn.exp: Likewise.
15187 * gdb.trace/passcount.exp: Likewise.
15188 * gdb.trace/report.exp: Likewise.
15189 * gdb.trace/save-trace.exp: Likewise.
15190 * gdb.trace/tfind.exp: Likewise.
15191 * gdb.trace/tracecmd.exp: Likewise.
15192 * gdb.trace/while-dyn.exp: Likewise.
15193 * gdb.trace/while-stepping.exp: Likewise.
15194
f4b618d1
JB
151952006-08-08 Joel Brobecker <brobecker@adacore.com>
15196
15197 * gdb.base/step-bt.c: New file.
15198 * gdb.base/step-bt.exp: New testcase.
15199
3d00d119
DJ
152002006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
15201
15202 * config/monitor.exp (gdb_load): Remove support for obsolete
15203 download-write-size.
15204 * gdb.base/remote.exp: Likewise. Update all callers of
15205 gdb_timed_load.
15206
017b5bd4
DJ
152072006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
15208
15209 * cursal.exp: Pass binfile to gdb_load.
15210
837c599d
DJ
152112006-08-01 Nathan Sidwell <nathan@codesourcery.com>
15212
15213 * gdb.base/cursal.exp: Add "" to gdb_load call.
15214
8dd4540b
MK
152152006-07-29 Mark Kettenis <kettenis@gnu.org>
15216
15217 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
15218 NetBSD/ELF targets.
15219
ab5c9f60
DJ
152202006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
15221
15222 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
15223 operator*.
15224
4c42eaff
DJ
152252006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
15226
15227 * gdb.base/completion.exp: Update for change in "file" behavior.
15228 * gdb.stabs/weird.exp: Likewise.
15229 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
15230 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
15231
0155cc76
NS
152322006-07-24 Nathan Sidwell <nathan@codesourcery.com>
15233
15234 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
15235 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
15236
16026cd7
AS
152372006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
15238
15239 * gdb.base/default.exp: Update source command error message.
15240 * gdb.base/help.exp: Update 'help source' message.
15241
16963cb6
DJ
152422006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
15243
15244 * gdb.cp/bs15503.exp: Update comment for no longer crashing
15245 test.
15246
6d7fd486
AS
152472006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
15248
15249 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
15250
29e8a844
DJ
152512006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15252
15253 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
15254
6afcfa39
DJ
152552006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15256
15257 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
15258
267a692b
MK
152592006-07-17 Mark Kettenis <kettenis@gnu.org>
15260
15261 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
15262 *-*-openbsd* from targets for wich we expect ARM FPA floating
15263 point format.
15264
85d2fec4
NR
152652006-07-17 Nick Roberts <nickrob@snap.net.nz>
15266
15267 * gdb.cp/annota3.exp: Expect frame-begin annotation.
15268
152692006-07-17 Mark Kettenis <kettenis@gnu.org>
15270
15271 * gdb.base/annota3.exp: Expect frame-begin annotation.
15272
85b4c6e8
JB
152732006-07-14 Joel Brobecker <brobecker@adacore.com>
15274
15275 * gdb.base/help.exp: Adjust "help unset" test to accept
15276 any list of unset commands.
15277
fb933624
DJ
152782006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
15279 Daniel Jacobowitz <dan@codesourcery.com>
15280
15281 * gdb.cp/ref-params.exp: New test.
15282 * gdb.cp/ref-params.cc: New source file.
15283 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
15284
1dff4b64
MK
152852006-07-08 Mark Kettenis <kettenis@gnu.org>
15286
15287 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
15288 spaces/tabs in regular expressions since they might not be there.
15289
40d2e0e3
AS
152902006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
15291
15292 * gdb.base/ifelse.exp: New file.
15293
f6c957d2
NS
152942006-07-04 Nathan Sidwell <nathan@codesourcery.com>
15295
15296 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
15297 line.
15298 * gdb.base/huge.exp: Loop over compilation to find a size that
15299 is acceptable.
15300 * gdb.base/remote.exp: Correct expected strings.
15301 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
15302
b9c5a23d
DJ
153032006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15304
15305 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
15306
9af2e58d
DJ
153072006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15308
15309 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
15310 native.
15311
30930ca5
DJ
153122006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15313
15314 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
15315 enable stabs testing.
15316
aa32fa1d
DJ
153172006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15318
bd4a4c80 15319 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
15320 gdb_test_multiple does.
15321
321fef15
DJ
153222006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15323
15324 * Makefile.in (host_alias): Remove.
15325 (target_alias): Use @target_noncanonical@.
15326 (site.exp): Don't set host_alias.
15327 * aclocal.m4: Remove contents. Include acx.m4.
15328 * configure: Regenerated.
15329 * configure.ac: Use ACX_NONCANONICAL_TARGET.
15330
e1c2defa
NS
153312006-06-13 Nathan Sidwell <nathan@codesourcery.com>
15332
e63b55d1
NS
15333 * lib/gdb.exp (gdb_load_cmd): New.
15334
5600ea19
NS
15335 * gdb.base/fileio.c: Add system(NULL) test.
15336 * gdb.base/fileio.exp: Check it.
15337
e1c2defa
NS
15338 * gdb.base/break.c: Add 10a breakpoint at }
15339 * gdb.base/break.exp: Add test for breakpoint at }
15340 * gdb.cp/anon-union.cc: Add code at end of function.
15341 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
15342 * gdb.mi/var-cmd.c: Add code at end of function.
15343 * gdb.mi/mi-var-display.exp: Adjust end of next.
15344 * gdb.mi/mi2-var-display.exp: Likewise.
15345 * gdb.base/fileio.c: Add stop function and insert calls at
15346 stopping places.
15347 * gdb.base/fileio.exp: Breakpoint stop function and remove
15348 explicit line number references.
15349
6c0112ec
JB
153502006-05-19 Joel Brobecker <brobecker@adacore.com>
15351
a9c64011
AS
15352 * gdb.base/del.exp (test_delete_alias): New function.
15353 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 15354
154189a4
FF
153552006-05-18 Fred Fish <fnf@specifix.com>
15356
15357 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
15358 required. Check for spurious output after program exits normally.
15359
582e64c2
FF
153602006-05-17 Fred Fish <fnf@specifix.com>
15361
15362 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
15363 gdb_load, so it works in the simulator.
15364
8ef6493a
FF
153652006-05-11 Fred Fish <fnf@specifix.com>
15366
15367 * gdb.base/bang.exp: Ignore unexpected output between the
15368 "program exited normally" and the gdb prompt, as many other
15369 tests do.
15370
692b141c
MK
153712006-05-07 Mark Kettenis <kettenis@gnu.org>
15372
15373 * gdb.base/help.exp: Make "delete checkpoint" part option for
15374 "help d" and "help delete" tests.
15375
540b8a30
UW
153762006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15377
a9c64011 15378 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
15379 expected output in some mi_gdb_test statements.
15380 * gdb.mi/mi2-basics.exp: Likewise.
15381
9b6462d9
JB
153822006-05-05 Joel Brobecker <brobecker@adacore.com>
15383
15384 * gdb.base/del.c: New file.
15385 * gdb.base/del.exp: New testcase.
15386
954de43b
DM
153872006-05-05 David S. Miller <davem@sunset.davemloft.net>
15388
15389 * gdb.base/break.exp: Do not assume a breakpoint on
15390 main will actually be in $srcfile when optimizing.
1303f75e
DM
15391 * gdb.base/savedregs.exp: Do not require that the dummy
15392 frame location match up to a symbol and source file location.
c3242428
DM
15393 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
15394 will get printed without a mi_cmd_data_list_register_values prefix.
15395 (*-data-list-register-*): Correct regular expressions to expect the new
15396 pseudo d? floating point registers.
15397 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 15398
c7e64c9a
DJ
153992006-05-05 Christophe Lyon <christophe.lyon@st.com>
15400
15401 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
15402 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
15403 is allocated by the compiler.
15404 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
15405 anons, e, anone to force their allocation by the compiler.
15406
154072006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
15408
15409 * gdb.base/help.exp: Update expected text for help d and
15410 help delete.
15411
27ce9a6d
MK
154122006-05-02 Mark Kettenis <kettenis@gnu.org>
15413
15414 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
15415 NetBSD/ELF targets.
15416
8608915f
MK
154172006-04-30 Mark Kettenis <kettenis@gnu.org>
15418
15419 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
15420 single-step breakpoint fails; make this a KFAIL on
15421 sparc*-*-openbsd*.
15422 * gdb.base/siginfo.exp: Likewise.
15423 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15424
b8db102d
MS
154252006-04-26 Michael Snyder <msnyder@redhat.com>
15426
15427 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
15428 which may have to consume output from other forks.
15429 Add tests to make sure that "delete fork" succeeded.
15430
c702009a
MS
154312006-04-20 Michael Snyder <msnyder@redhat.com>
15432
15433 * 2006-03-22 Jim Blandy <jimb@redhat.com>
15434 Add support for the Renesas M32C and M16C.
15435
15436 * gdb.asm/asm-source.exp: Add m32c target.
15437 * gdb.asm/m32c.inc: Support for m32c target.
15438
e28493f2
AS
154392006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
15440
15441 * gdb.base/commands.exp (recursive_source_test): New test.
15442
880da185
DM
154432006-04-04 David S. Miller <davem@sunset.davemloft.net>
15444
15445 * gdb.base/float.exp: Add pattern for sparc targets.
15446
61d9b92f
DJ
154472006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15448
15449 * gdb.base/commands.exp (stray_arg0_test): New test.
15450
bd717df8
PB
154512006-03-30 Paul Brook <paul@codesourcery.com>
15452
15453 * gdb.mi/mi-until.exp: kfail broken until command.
15454 * gdb.mi/mi2-until.exp: Ditto.
15455
ec793d3c
NR
154562006-03-27 Nick Roberts <nickrob@snap.net.nz>
15457
15458 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
15459
831004b7
AO
154602006-03-08 Alexandre Oliva <aoliva@redhat.com>
15461
15462 * gdb.base/prelink.exp: Anchor tested-for regular expression
15463 on gdb prompt.
15464
effe49a0
PB
154652006-03-07 Paul Brook <paul@codesourcery.com>
15466
15467 * gdb.base/assign.exp: Correct fail message.
15468
e5461016
PB
154692006-03-07 Paul Brook <paul@codesourcery.com>
15470
15471 * lib/compiler.c: Extract armcc version number.
15472 * lib/compiler.cc: Ditto.
15473
fc91c6c2
PB
154742006-03-07 Paul Brook <paul@codesourcery.com>
15475
15476 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
15477 additional_flags=-w.
15478 * gdb.arch/altivec-regs.exp: Ditto.
15479 * gdb.arch/e500-abi.exp: Ditto.
15480 * gdb.arch/e500-regs.exp: Ditto.
15481 * gdb.base/all-bin.exp: Ditto.
15482 * gdb.base/annota1.exp: Ditto.
15483 * gdb.base/annota3.exp: Ditto.
15484 * gdb.base/args.exp: Ditto.
15485 * gdb.base/arithmet.exp: Ditto.
15486 * gdb.base/assign.exp: Ditto.
15487 * gdb.base/async.exp: Ditto.
15488 * gdb.base/bang.exp: Ditto.
15489 * gdb.base/break.exp: Ditto.
15490 * gdb.base/call-rt-st.exp: Ditto.
15491 * gdb.base/completion.exp: Ditto.
15492 * gdb.base/cond-expr.exp: Ditto.
15493 * gdb.base/condbreak.exp: Ditto.
15494 * gdb.base/consecutive.exp: Ditto.
15495 * gdb.base/define.exp: Ditto.
15496 * gdb.base/display.exp: Ditto.
15497 * gdb.base/ena-dis-br.exp: Ditto.
15498 * gdb.base/environ.exp: Ditto.
15499 * gdb.base/eval-skip.exp: Ditto.
15500 * gdb.base/info-proc.exp: Ditto.
15501 * gdb.base/jump.exp: Ditto.
15502 * gdb.base/logical.exp: Ditto.
15503 * gdb.base/long_long.exp: Ditto.
15504 * gdb.base/maint.exp: Ditto.
15505 * gdb.base/miscexprs.exp: Ditto.
15506 * gdb.base/pc-fp.exp: Ditto.
15507 * gdb.base/pointers.exp: Ditto.
15508 * gdb.base/relational.exp: Ditto.
15509 * gdb.base/reread.exp: Ditto.
15510 * gdb.base/sect-cmd.exp: Ditto.
15511 * gdb.base/sep.exp: Ditto.
15512 * gdb.base/sepdebug.exp: Ditto.
15513 * gdb.base/until.exp: Ditto.
15514 * gdb.base/whatis-exp.exp: Ditto.
15515 * gdb.cp/annota2.exp: Ditto.
15516 * gdb.cp/annota3.exp: Ditto.
15517 * gdb.trace/actions.exp: Ditto.
15518 * gdb.trace/backtrace.exp: Ditto.
15519 * gdb.trace/circ.exp: Ditto.
15520 * gdb.trace/collection.exp: Ditto.
15521 * gdb.trace/deltrace.exp: Ditto.
15522 * gdb.trace/infotrace.exp: Ditto.
15523 * gdb.trace/limits.exp: Ditto.
15524 * gdb.trace/packetlen.exp: Ditto.
15525 * gdb.trace/passc-dyn.exp: Ditto.
15526 * gdb.trace/passcount.exp: Ditto.
15527 * gdb.trace/report.exp: Ditto.
15528 * gdb.trace/save-trace.exp: Ditto.
15529 * gdb.trace/tfind.exp: Ditto.
15530 * gdb.trace/tracecmd.exp: Ditto.
15531 * gdb.trace/while-dyn.exp: Ditto.
15532 * gdb.trace/while-stepping.exp: Ditto.
15533 * lib/gdb.exp: Ditto.
15534 (gdb_compile): Handle nowarning option.
15535
5f4a23d9
AO
155362006-03-07 Alexandre Oliva <aoliva@redhat.com>
15537
15538 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
15539 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
15540 Rename executable to prelinkt. Don't re-prelink if we didn't
15541 get a core file. Test prelink -u exit status to tell whether
15542 prelinking failed. Use gdb_test_multiple.
15543
9733fc94
DJ
155442006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
15545
15546 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
15547 (do_tests): Call it.
15548
cc10cae3
AO
155492006-02-28 Alexandre Oliva <aoliva@redhat.com>
15550
15551 * gdb.base/prelink.exp: New test.
15552 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
15553
15c46491
WZ
155542006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
15555
15556 * gdb.fortran/derived-type.f90: New file.
15557 * gdb.fortran/derived-type.exp: New testcase.
15558
5c9f7ded
DJ
155592006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
15560
15561 * gdb.base/default.exp: Allow ';' as a directory separator.
15562
5b96932b
AS
155632006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15564
15565 * gdb.base/help.exp (help add-symbol-file): Update.
15566
1986bccd
AS
155672006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
15568
15569 * gdb.base/help.exp (help load): Update expected results.
15570
a8b7528f
FF
155712006-02-19 Fred Fish <fnf@specifix.com>
15572
15573 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
15574 specifix hex value as part of results.
15575 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 15576
f8261448
FF
155772006-02-16 Fred Fish <fnf@specifix.com>
15578
15579 * gdb.base/whatis.c: Define variables using typedefs char_addr,
15580 ushort_addr, and slong_addr, so the typedefs are not optimized
15581 away.
15582 * gdb.base/whatis.exp: Add tests using type name for struct type,
15583 union type, enum type, and typedef.
a9c64011 15584
31d8bdd2
MK
155852006-02-13 Mark Kettenis <kettenis@gnu.org>
15586
15587 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
15588
34e41e63
JB
155892006-02-13 Jim Blandy <jimb@redhat.com>
15590
15591 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
15592 case where it takes two "next" commands to skip past the init
15593 call.
15594
ac6e4f31
FF
155952006-02-12 Fred Fish <fnf@specifix.com>
15596
15597 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
15598 to handle cases where it takes two "next" commands to skip
15599 past the init call.
15600
2db2d571
JB
156012006-02-07 Joel Brobecker <brobecker@adacore.com>
15602
15603 * gdb.ada/array_return.exp: Mark the last test as expected to fail
15604 on hppa32 targets.
15605
38fcd64c
DJ
156062006-02-06 Vladimir Prus <ghost@cs.msu.su>
15607
15608 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
15609 field.
15610
1315ad46
MK
156112006-01-29 Mark Kettenis <kettenis@gnu.org>
15612
15613 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
15614
5625b943
DJ
156152006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15616
15617 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
15618 files.
15619
80df1bbe
DJ
156202006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15621
15622 * gdb.cp/maint.exp: Set complaints to a positive value.
15623
9078e690
DJ
156242006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15625
15626 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
15627 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
15628 function name.
15629
9c903399
DJ
156302006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15631
15632 * gdb.base/checkpoint.c: Update copyright notice. Include
15633 <stdlib.h>.
15634
761ae4d6
JB
156352006-01-04 Jim Blandy <jimb@redhat.com>
15636
15637 * gdb.asm/asm-source.exp: Independently provide default values for
15638 asm-flags and debug-flags. Use 'string equal' to do the
15639 comparison, not the implicit expr's '==' operator. Remove
15640 now-unneeded assignments to asm-flags. In h8300 case, place
15641 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
15642
099ac3dd
MS
156432006-01-04 Michael Snyder <msnyder@redhat.com>
15644
15645 * gdb.base/checkpoint.c: New file.
15646 * gdb.base/checkpoint.exp: New file.
15647 * gdb.base/multi-fork.c: New file.
15648 * gdb.base/multi-fork.exp: New file.
15649 * gdb.base/pi.txt: New file (data for checkpoint.c test).
15650
f4d85314
FF
156512006-01-04 Fred Fish <fnf@specifix.com>
15652
15653 * gdb.base/ptype.c (foo): Add typedef.
15654 (intfoo): Add function.
15655 * gdb.base/ptype1.c: New file.
15656 * gdb.base/ptype.exp: Handle compilation and linking with two
15657 source files. Test that proper type for "foo" is found based
15658 on source context rather than first match found in symtabs.
15659
a1b06f35
MK
156602005-12-28 Mark Kettenis <kettenis@gnu.org>
15661
15662 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
15663 * gdb.asm/openbsd.inc: Indent commands.
15664
d082a1e2
MK
156652005-12-26 Mark Kettenis <kettenis@gnu.org>
15666
c65016bd
MK
15667 * gdb.base/freebpcmd.exp: Increase timeout.
15668
d082a1e2
MK
15669 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
15670
d3c32a0e
DJ
156712005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
15672
15673 * gdb.base/default.exp: Update check for "show version".
15674
9fdb1f50
RC
156752005-12-09 Randolph Chung <tausq@debian.org>
15676
15677 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
15678 * gdb.asm/pa64.inc: New file.
15679
5f2c56f7
RC
156802005-12-09 Randolph Chung <tausq@debian.org>
15681
15682 * gdb.asm/common.inc: Indent commands.
15683 * gdb.asm/asmsrc1.s: Likewise.
15684 * gdb.asm/asmsrc2.s: Likewise.
15685
8117349c
RC
156862005-12-09 Randolph Chung <tausq@debian.org>
15687
15688 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
15689 (get_addr_of_sym): Remove duplicate print.
15690 (gen_core): xfail hppa*-*-hpux*, update expected output.
15691 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
15692 * gdb.arch/pa64-nullify.s: New file.
15693
8f07f25a
RC
156942005-12-09 Randolph Chung <tausq@debian.org>
15695
15696 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
15697
55b39184
DJ
156982005-12-07 Christophe Lyon <christophe.lyon@st.com>
15699
15700 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
15701 code generation for these functions.
15702 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
15703 error message.
15704
31e2b00f
AS
157052005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
15706
15707 * gdb.base/help.exp (help b, help br, help bre, help brea)
15708 (help break): Update the expected message.
15709
c3d0b56e
SC
157102005-11-11 Stephane Carrez <stcarrez@nerim.fr>
15711
15712 * gdb.asm/m68hc11.inc: Setup the data section.
15713 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
15714 script for this test.
15715 (m6812-*-*): Likewise.
15716
36ae0ea9
RC
157172005-11-09 Randolph Chung <tausq@debian.org>
15718
15719 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
15720
9d6f42e9
WZ
157212005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
15722
15723 * gdb.base/break.exp: Fix a comment typo.
15724
e2126a14
EZ
157252005-11-03 Jim Blandy <jimb@redhat.com>
15726
a9c64011
AS
15727 Checked in by Elena Zannoni <ezannoni@redhat.com>
15728
889bf7c5 15729 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 15730
e0ac7199
CV
157312005-11-02 Corinna Vinschen <vinschen@redhat.com>
15732
15733 * gdb.arch/gdb1558.c: Include stdio.h.
15734
31d3fb18
MK
157352005-10-31 Mark Kettenis <kettenis@gnu.org>
15736
15737 * gdb.asm/asm-source.exp: Use -e instead of --entry.
15738
e52b687c
MK
157392005-10-31 Mark Kettenis <kettenis@gnu.org>
15740
15741 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
15742
f4711d79
PG
157432005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
15744
a9c64011
AS
15745 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15746 vscr" tests to better match output.
f4711d79 15747
987a9106
JB
157482005-10-12 Jim Blandy <jimb@redhat.com>
15749
15750 * gdb.base/structs.exp (any): New function.
15751 (test_struct_returns): Don't make any assumptions at all about
15752 what value the function returns when GDB can't set the return
15753 value.
15754
2336bb58
JB
157552005-10-09 Joel Brobecker <brobecker@adacore.com>
15756
15757 * gdb.ada/arrayidx/p.adb: New file.
15758 * gdb.ada/arrayidx.exp: New testcase
15759
157602005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
15761
15762 * gdb.ada/array_return/pck.ads: New file.
15763 * gdb.ada/array_return/pck.adb: New file.
15764 * gdb.ada/array_return/p.adb: New file.
15765 * gdb.ada/array_return.exp: New testcase.
15766
705335ea
JB
157672005-10-03 Joel Brobecker <brobecker@adacore.com>
15768
a9c64011
AS
15769 * gdb.base/arrayidx.c: New file.
15770 * gdb.base/arrayidx.exp: New testcase.
705335ea 15771
11ee9940
NR
157722005-09-29 Nick Roberts <nickrob@snap.net.nz>
15773
15774 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
15775 frames-invalid and breakpoints-invalid are no longer generated
15776 with level 3 so don't expect them in the output.
15777
39fb8e9e
BR
157782005-09-27 Bob Rossi <bob@brasko.net>
15779
a9c64011 15780 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
15781 from test. Escape the | in mi_gdb_test call.
15782 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
15783 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
15784 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
15785 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
15786 expected regex's in mi_gdb_test calls.
15787 * lib/mi-support.exp: Remove arbitrary .* from tests.
15788 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
15789 Fully anchor GDB/MI expected results in mi_gdb_test.
15790 * lib/gdb.exp (string_to_regexp): Escape the ] character.
15791 * gdb.base/sizeof.exp: Remove escape character. Correct test.
15792
2af48f68
PB
157932005-09-26 Paul Brook <paul@codesourcery.com>
15794
15795 * long_long.exp: Exclude eabi targets from arm FPA float format test.
15796
f34502bc
WZ
157972005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15798
15799 * bfp-test.c: New file.
15800 * bfp-test.exp: New testcase.
15801
ca929517
WZ
158022005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15803
15804 * gdb.fortran/subarray.exp: New testcase to test the evaluation
15805 of subarray and substring variable.
15806 * gdb.fortran/subarray.f: New source file for the test of subarray
15807 and substring variable evaluation.
15808 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
15809 of string constant.
15810
c761af65
DJ
158112005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
15812
15813 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
15814 copyright dates.
15815
561d7a1d
PG
158162005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
15817
15818 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
15819 powerpc altivec' test with an almost identical 'info vector' test.
15820
b2b64cc9
PG
158212005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15822
a9c64011
AS
15823 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15824 vscr" tests to match output.
b2b64cc9 15825
6ac4d15a
PG
158262005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15827
a9c64011
AS
15828 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
15829 output.
6ac4d15a 15830
40e55bef
BR
158312005-09-11 Bob Rossi <bob@brasko.net>
15832
889bf7c5
PA
15833 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
15834 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
15835 commands that return an MI output command and an asyncronous MI output
15836 command.
40e55bef
BR
15837 * gdb.mi/mi-console.exp: Ditto.
15838
3c7385ec
BR
158392005-09-11 Bob Rossi <bob@brasko.net>
15840
15841 * gdb.mi/mi-var-child.c: Include <string.h>.
15842
a6cd0eb3
DJ
158432005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
15844
15845 * killed.exp: Correct gdb_expect syntax.
15846
2f168eed
CV
158472005-08-09 Corinna Vinschen <vinschen@redhat.com>
15848
15849 * lib/mi-support.exp (mi_gdb_load): Fix typo.
15850
ecd3fd0f
BR
158512005-08-02 Bob Rossi <bob@brasko.net>
15852
15853 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
15854 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
15855 Change tests to inferior-tty-set/show.
15856 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
15857 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
15858 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
15859 inferior. Use mi_gdb_test to get GDB and Inferior output.
15860 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
15861 descriptor.
15862 (mi_inferior_tty_name): Add inferior PTY file name.
15863 (mi_gdb_start): Add INFERIOR_PTY parameter.
15864 (mi_gdb_test): Add IPATTERN parameter.
15865
f1ea48cb 158662005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 15867
f1ea48cb
BR
15868 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
15869 parameter to mi_gdb_test.
15870 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
15871
6e650a67
DJ
158722005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15873
15874 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
15875 struct_declarations.
15876 * gdb.mi/mi-var-child.exp: Step over the initialization of
15877 struct_declarations.
15878
8be260b6
DJ
158792005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15880
15881 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
15882 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
15883 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
15884 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
15885 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
15886 file.
15887
4e660f07
NR
158882005-07-27 Nick Roberts <nickrob@snap.net.nz>
15889
15890 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
15891 (do_children_tests): Assign values to the extra elements.
15892
15893 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
15894 them for tests for "-var-update --no-values" and
a9c64011 15895 "-var-update --all-values".
4e660f07
NR
15896 Add test for "-var-list-children --simple-values".
15897
15898 * gdb.mi/basics.c (callee4): Add integer array D[3]...
15899
15900 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
15901 "-stack-list-locals --simple-values" Improve doc strings and
15902 comments.
15903
6bdae935
MK
159042005-07-18 Mark Kettenis <kettenis@gnu.org>
15905
598b7a6f
MK
15906 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
15907 *-*-openbsd*.
15908 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
15909
6bdae935
MK
15910 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
15911 sigaltsatck'.
15912
1323e929 159132005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 15914
1323e929
BR
15915 * gdb.base/default.exp (tty): Changed output of command.
15916 * gdb.base/help.exp (help tty): Ditto.
15917
b1a9c082
MK
159182005-07-12 Mark Kettenis <kettenis@gnu.org>
15919
15920 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
15921
10a844a2
MK
159222005-07-10 Mark Kettenis <kettenis@gnu.org>
15923
15924 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
15925 -stack-select-frame without arguments.
15926 (test_stack_frame_listing): Add test for newly implemented command
15927 -stack-info-frame.
15928
3cb3b8df
BR
159292005-07-06 Bob Rossi <bob@brasko.net>
15930
15931 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
15932 command.
15933 (Copyright): Update copyright.
15934
a0c5fbcf
WZ
159352005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
15936
15937 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
15938 tests to evaluate exponentiation expression.
15939
984971d0
AS
159402005-06-29 Andreas Schwab <schwab@suse.de>
15941
15942 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
15943 main to avoid warnings.
15944
15945 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
15946
fe03833f
NR
159472005-06-20 Nick Roberts <nickrob@snap.net.nz>
15948
15949 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
15950 -stack-select-frame without arguments.
15951 (test_stack_frame_listing): Add test for newly implemented command
15952 -stack-info-frame.
a9c64011 15953
7a55f279
WZ
159542005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
15955
0ffa0ea5
DJ
15956 * gdb.fortran/array-element.f: New file.
15957 * gdb.fortran/array-element.exp: New testcase.
7a55f279 15958
26585198
DJ
159592005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15960
15961 * gdb.base/bigcore.exp: Correct checks for systems which can
15962 not dump a large core file.
15963
c1bd25fd
DJ
159642005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15965
15966 * gdb.base/relocate.c: Add a copyright notice.
15967 (dummy): Remove.
15968 * gdb.base/relocate.exp: Test printing the values of variables
15969 from a relocatable file.
15970
589e074d
DJ
159712005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15972
15973 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
15974 excess MI output after an error.
15975
0915f927
JB
159762005-05-29 Joel Brobecker <brobecker@adacore.com>
15977
15978 * gdb.arch/alpha-step.c: New file.
15979 * gdb.arch/alpha-step.exp: New testcase.
15980
76ff342d
DJ
159812005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
15982 Dennis Brueni <dennis@slickedit.com>
15983
15984 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
15985 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
15986 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
15987 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
15988 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15989 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
15990 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
15991
96b0c7ac
DJ
159922005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
15993 Wu Zhou <woodzltc@cn.ibm.com>
15994
15995 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
15996 IBM's xlc compiler.
15997 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
15998 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
15999
f21565d2
JB
160002005-05-13 Jim Blandy <jimb@redhat.com>
16001
16002 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
16003 calling gdb_suppress_entire_file.
16004 * gdb.base/charset.exp: Same.
16005 * gdb.base/call-rt-st.exp: Same.
16006
6006a3a1
BR
160072005-05-05 Bob Rossi <bob_rossi@cox.net>
16008
16009 * lib/gdb.exp (fullname_syntax): Added global regex.
16010 (fullname_syntax_POSIX): Ditto.
16011 (fullname_syntax_UNC): Ditto.
16012 (fullname_syntax_DOS_CASE): Ditto.
16013 (fullname_syntax_DOS): Ditto.
16014 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
16015 fullname_syntax variable to scope and use it.
16016 (test_file_list_exec_source_files): Ditto.
16017 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
16018
c3b69c04
DJ
160192005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
16020
16021 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
16022
3c95e6af
PG
160232004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
16024
a9c64011
AS
16025 * lib/gdb.exp (skip_altivec_tests): New function, based on
16026 check_vmx_hw_available from the GCC testsuite.
16027 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
16028 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 16029
78df6c56
JB
160302005-05-02 Jim Blandy <jimb@redhat.com>
16031
16032 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
16033 calling gdb_suppress_entire_file.
16034
1690f9cf
DJ
160352005-04-30 Randolph Chung <tausq@debian.org>
16036
16037 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
16038 Slightly relax "sem_post" name checking.
16039
5ea106f7
PG
160402005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
16041
16042 * gdb.base/unload.exp: Use new shared library infrastructure.
16043
bf7234cf
PG
160442005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
16045
16046 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 16047 infrastructure.
bf7234cf 16048
547b869a
CV
160492005-04-29 Corinna Vinschen <vinschen@redhat.com>
16050
16051 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
16052 * gdb.asm/h8300.inc: New file.
16053
f07e55f0
PG
160542005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16055
16056 * gdb.base/shlib-call.exp: Change to use new shared library
16057 infrastructure.
16058
3cbba3d1
PG
160592005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16060
a9c64011
AS
16061 * gdb.base/pending.exp: Change to use new shared library
16062 infrastructure.
3cbba3d1 16063
ed6df200
PG
160642005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16065
a9c64011
AS
16066 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
16067 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 16068
8c8f4ebe
PG
160692005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
16070
a9c64011
AS
16071 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
16072 shared objects being adjusted and update copyright years.
8c8f4ebe 16073
607fbc54
DJ
160742005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
16075
16076 * ChangeLog: Correct some 2003-01-13 dates.
16077 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
16078 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
16079 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
16080 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
16081 gdb.trace/tfind.exp: Update copyright years.
16082
57bf0e56
DJ
160832005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
16084 Daniel Jacobowitz <dan@codesourcery.com>
16085
16086 * lib/gdb.exp (gdb_compile): Handle shlib=.
16087 (gdb_compile_shlib): New function.
16088
9b593790
PG
160892005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
16090
a9c64011 16091 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 16092
9494c6a5
DJ
160932005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
16094
16095 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
16096 gdb.server.
16097 * configure.ac: Likewise.
16098 * configure: Regenerated.
16099 * gdb.gdbserver/Makefile.in: Moved to...
16100 * gdb.server/Makefile.in: ... here.
16101 * gdb.gdbserver/server.c: Moved to...
16102 * gdb.server/server.c: ... here.
16103 * gdb.gdbserver/server-run.exp: Moved to...
16104 * gdb.server/server-run.exp: ... here.
16105
6f8eac0e
DJ
161062005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
16107
16108 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
16109 * configure.ac: Create gdb.gdbserver/Makefile.
16110 * configure: Regenerated.
16111 * lib/gdbserver-support.exp: New file, derived from
16112 config/gdbserver.exp.
16113 * config/gdbserver.exp: Use gdbserver-support.exp.
16114 * gdb.gdbserver/Makefile.in: New file.
16115 * gdb.gdbserver/server.c: New file.
16116 * gdb.gdbserver/server-run.exp: New file.
16117
6e87504d
PG
161182005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
16119
a9c64011
AS
16120 * lib/gdb.exp (test_compiler_info): Return compiler_info
16121 if no arguments are given.
6e87504d 16122
d1779be4
PG
161232005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
16124
16125 * gdb.arch/altivec-abi.exp: Check for compiler and set
16126 use altivec' flag accordingly.
16127 * gdb.arch/altivec-regs.exp: Likewise.
16128
88750304
DJ
161292005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
16130
16131 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
16132
f3fb768d
AS
161332005-03-27 Andreas Schwab <schwab@suse.de>
16134
16135 * gdb.base/bigcore.c (main): Add missing mode argument in open
16136 call.
16137
7e813ac5
DJ
161382005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
16139
16140 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
16141 downloads.
16142 * config/gdbserver.exp (gdb_load): Likewise.
16143
8e3049aa
PB
161442005-03-14 Paul Brook <paul@codesourcery.com>
16145
16146 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
16147 targets.
16148
a9df7c44
JB
161492005-03-09 Joel Brobecker <brobecker@adacore.com>
16150
16151 * gdb.dwarf2/dup-psym.S: New file.
16152 * gdb.dwarf2/dup-psym.exp: New testcase.
16153
9f0d94e8
JB
161542005-03-09 Joel Brobecker <brobecker@adacore.com>
16155
16156 * gdb.ada/exec_changed/first.adb: New file.
16157 * gdb.ada/exec_changed/second.adb: New file.
16158 * gdb.ada/exec_changed.exp: New testcase.
16159
5f579bc5
NS
161602005-03-08 Nathan Sidwell <nathan@codesourcery.com>
16161
36e9969c
NS
16162 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
16163 (A2): New class.
16164 (main): Test operator+.
16165 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
16166 breakpoint test.
16167
5f579bc5
NS
16168 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
16169 * gdb.base/signull.exp: Disable if gdb,nosignals.
16170 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
16171 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
16172 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
16173 * gdb.mi/mi2-console.exp: Likewise.
16174 * gdb.trace/collection.exp (run_trace_experiment): Consume the
16175 continue output at start.
16176 (gdb_collect_locals_test): Robustify regexp.
16177 * gdb.trace/passc-dyn.exp: Fix comment typo.
16178 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
16179
be46087e
CV
161802005-03-08 Corinna Vinschen <vinschen@redhat.com>
16181
16182 * gdb.asm/asm-source.exp: Add iq2000 case.
16183 * gdb.asm/iq2000.inc: New file.
16184
384e1a61 161852005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 16186
384e1a61
MI
16187 * gdb.base/command.exp: Change hardcoded value to regular expression.
16188 * gdb.base/float.exp: Add powerpc to the list of targets checked.
16189
584b6e9e
DJ
161902005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
16191
16192 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
16193 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
16194 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
16195 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
16196 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
16197
ab5b5d61
MK
161982005-03-05 Mark Kettenis <kettenis@gnu.org>
16199
16200 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
16201 changes.
16202
ae051c1b
PG
162032004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
16204
a9c64011
AS
16205 * lib/compiler.c: Add test for IBM's xlc compiler.
16206 * lib/compiler.cc: Likewise.
ae051c1b 16207
3f0f6ed2
JB
162082004-02-24 Joel Brobecker <brobecker@adacore.com>
16209
16210 * gdb.ada/fixed_points.exp: Create compilation object directory
16211 before running the test.
16212 * gdb.ada/null_record.exp: Likewise.
16213 * gdb.ada/packed_array.exp: Likewise.
16214 * gdb.ada/start.exp: Likewise.
16215
724f452b
JB
162162005-02-15 Joel Brobecker <brobecker@adacore.com>
16217
16218 * gdb.ada/packed_array/pa.adb: New file.
16219 * gdb.ada/packed_array.exp: New testcase.
16220
57f5cdfb 162212005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 16222
1f393151
MK
16223 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
16224 files.
16225
ebdda337
MK
16226 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
16227 on *-*-openbsd*. Correctly match whitespace in regukar
16228 expressions.
16229
cf309262
DJ
162302005-02-10 Daniel Jacobowitz <dan@debian.org>
16231
16232 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
16233 PR exp/1821
16234 * gdb.base/gdb1821.c: New test file.
16235 * gdb.base/gdb1821.exp: New test file.
16236
3be49e7a
JB
162372005-02-09 Joel Brobecker <brobecker@adacore.com>
16238
16239 * gdb.base/start.c: New file.
16240 * gdb.base/start.exp: New testcase.
16241
e292e67d
JB
162422005-02-09 Joel Brobecker <brobecker@adacore.com>
16243
16244 * gdb.ada/start/dummy.adb: New file.
16245 * gdb.ada/start.exp: New testcase.
16246
dbdfa66c
CV
162472005-02-09 Corinna Vinschen <vinschen@redhat.com>
16248
16249 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
16250 for printing symbols and statistics.
16251 Add test for using relative pathnames in "maint print msymbols" test.
16252 Mark "maint info sections DATA" XFAIL on Cygwin.
16253 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
16254 tests.
16255
d7941671
AC
162562005-02-09 Andreas Schwab <schwab@suse.de>
16257
16258 Committed by Andrew Cagney <cagney@gnu.org>
16259 * gdb.base/remotetimeout.exp: New file.
16260
74e5ef44
MK
162612005-02-07 Mark Kettenis <kettenis@gnu.org>
16262
16263 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
16264
464dd14d
JB
162652005-02-03 Joel Brobecker <brobecker@adacore.com>
16266
16267 * gdb.ada/gnat_ada.gpr: New file.
16268 * gdb.ada/gnat_ada.gin: Delete, no longer used.
16269 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
16270 * configure.ac: No longer generate gnat_ada.gpr.
16271 * configure: Regenerate.
16272 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
16273 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
16274 * gdb.ada/null_record/bar.ads: Likewise.
16275 * gdb.ada/null_record/bar.adb: Likewise.
16276 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
16277 * gdb.ada/null_record.exp (testdir): New variable.
16278 (testfile): executable is now in testdir subdirectory.
16279 (srcfile): Use full path to the main compilation unit.
16280 * gdb.ada/fixed_points.exp: Same changes as above.
16281
30d756ae
NR
162822005-02-03 Nick Roberts <nickrob@snap.net.nz>
16283
16284 * gdb.base/interp.exp: New test.
16285
9d799f85
AC
162862005-01-24 Andrew Cagney <cagney@gnu.org>
16287
16288 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
16289
15656118
AC
162902005-01-19 Andrew Cagney <cagney@gnu.org>
16291
a892c31b
AC
16292 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
16293 configure.ac not configure.in.
16294
15656118
AC
16295 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
16296 of powerpc*-*-*.
16297 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 16298 * gdb.base/list.exp (test_list_function)
15656118
AC
16299 (test_list_filename_and_function): Ditto.
16300 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
16301
a7b01baf
AC
163022005-01-16 Andrew Cagney <cagney@gnu.org>
16303
17d92a02
AC
16304 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
16305
a7b01baf
AC
16306 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
16307
bc8332bb
AC
163082005-01-14 Andrew Cagney <cagney@gnu.org>
16309
16310 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
16311 * gdb.mi/mi2-var-cmd.exp: Ditto.
16312
4d074752
CV
163132005-01-10 Corinna Vinschen <vinschen@redhat.com>
16314
16315 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
16316
bec39cab
AC
163172005-01-07 Andrew Cagney <cagney@gnu.org>
16318
16319 * configure.ac: Rename configure.in, require autoconf 2.59.
16320 * configure: Re-generate.
16321 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
16322 * gdb.stabs/configure: Re-generate.
16323 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
16324 * gdb.hp/configure: Re-generate.
16325 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
16326 autoconf 2.59.
16327 * gdb.hp/gdb.objdbg/configure: Re-generate.
16328 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
16329 autoconf 2.59.
16330 * gdb.hp/gdb.defects/configure: Re-generate.
16331 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
16332 autoconf 2.59.
16333 * gdb.hp/gdb.compat/configure: Re-generate.
16334 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
16335 autoconf 2.59.
16336 * gdb.hp/gdb.base-hp/configure: Re-generate.
16337 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
16338 autoconf 2.59.
16339 * gdb.hp/gdb.aCC/configure: Re-generate.
16340
f10b16d4
JB
163412004-12-15 Jim Blandy <jimb@redhat.com>
16342
16343 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
16344 under NPTL when there is debugging info available for libpthread.
16345
fb6e1814
JG
163462004-12-13 Jerome Guitton <guitton@gnat.com>
16347
16348 * gdb.ada/fixed_points.c: New file.
16349 * gdb.ada/fixed_points.exp: New file.
16350
fe46cd3a
RC
163512004-12-03 Randolph Chung <tausq@debian.org>
16352
16353 * gdb.arch/pa-nullify.exp: New file.
16354 * gdb.arch/pa-nullify.s: New file.
16355
8de0841b
RC
163562004-11-30 Randolph Chung <tausq@debian.org>
16357
16358 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
16359 instead of "tbug". Fix regexp to work properly with gdb_test.
16360
c8170782
PH
163612004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
16362
16363 * gdb.base/bitfields2.exp: New test.
16364 * gdb.base/bitfields2.c: New file.
16365
954269c2
RE
163662004-11-28 Richard Earnshaw <rearnsha@arm.com>
16367
16368 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
16369
0107feed
RC
163702004-11-16 Randolph Chung <tausq@debian.org>
16371
16372 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
16373
f073ae8c
DJ
163742004-11-14 Daniel Jacobowitz <dan@debian.org>
16375
16376 * gdb.threads/threadapply.exp: Correct "macro details" test.
16377
19ad59e7
JJ
163782004-11-11 Jeff Johnston <jjohnstn@redhat.com>
16379
16380 * gdb.threads/threadapply.exp: New test.
16381 * gdb.threads/threadapply.c: New file.
16382
9cf0961b
MK
163832004-11-07 Mark Kettenis <kettenis@gnu.org>
16384
16385 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
16386 frames.
16387
c789492a
FL
163882004-11-05 Felix Lee <felix+log1@specifixinc.com>
16389
16390 * gdb.base/cursal.exp: New file.
16391 * gdb.base/cursal.c: New file.
16392
a1e167bb
AC
163932004-11-03 Andrew Cagney <cagney@gnu.org>
16394
16395 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
16396
b7cbf173
MK
163972004-10-30 Mark Kettenis <kettenis@gnu.org>
16398
16399 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
16400 NetBSD/ELF targets.
16401
88f9d34f
JB
164022004-10-29 Joel Brobecker <brobecker@gnat.com>
16403
16404 * gdb.threads/bp_in_thread.c: New file, copied from
16405 pthread_cond_wait.c.
16406 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
16407 file, rather than reusing the .c file from another testcase.
16408
ca7d6a0c
JB
164092004-10-20 Joel Brobecker <brobecker@gnat.com>
16410
16411 * gdb.ada/null_record.exp: Check where we stopped after
16412 sending the start command, instead of where the associated
16413 temporary breakpoint was inserted.
16414
0d863d03
AC
164152004-10-14 Andrew Cagney <cagney@gnu.org>
16416
16417 * gdb.mi/gdb701.c (main): Return 0.
16418
d11e72cb
DJ
164192004-10-13 Daniel Jacobowitz <dan@debian.org>
16420
d40539a4 16421 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 16422
e1923096
JJ
164232004-10-12 Jeff Johnston <jjohnstn@redhat.com>
16424
16425 * gdb.threads/schedlock.c: Add comment markers to use to find
16426 line numbers.
16427 * gdb.threads/schedlock.exp: Adjust regex to handle the new
16428 comments.
16429 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
16430 breakpoint lines.
16431
ec8ba2c9
DJ
164322004-10-12 Daniel Jacobowitz <dan@debian.org>
16433
16434 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
16435
0eb3658b
DJ
164362004-10-12 Daniel Jacobowitz <dan@debian.org>
16437
16438 * configure.in: Add gdb.dwarf2.
16439 * configure: Regenerated.
16440 * Makefile.in: Add gdb.dwarf2.
16441 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
16442 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
16443 gdb.dwarf2/file1.txt: New files.
16444
a271cc33
OF
164452004-10-11 Orjan Friberg <orjanf@axis.com>
16446
a9c64011 16447 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
16448 of "run", since the latter doesn't work with remote targets. Adjust
16449 the breakpoint numbering accordingly.
16450 * gdb.threads/pthread_cond_wait.exp: Ditto.
16451
895ce074
MC
164522004-10-08 Michael Chastain <mec.gnu@mindspring.com>
16453
16454 * gdb.base/overlays.exp: Update copyright years.
16455
6be3092d
KI
164562004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
16457
16458 * gdb.base/overlays.exp: Disable if target is Linux.
16459
e05389b8
FL
164602004-10-06 Felix Lee <felix+log1@specifixinc.com>
16461
16462 * config/gdbserver.exp (gdb_load): Use right filename on remote.
16463
73cb587d
KI
164642004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
16465
16466 * gdb.asm/asm-source.exp: Add m32r-linux target.
16467 * gdb.asm/m32r-linux.inc: New file.
16468
3c0edcdc
AC
164692004-09-24 Andrew Cagney <cagney@redhat.com>
16470 David Anderson <anderson@redhat.com>
16471
16472 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
16473 command fails, assume things will work.
16474 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
16475 (_GNU_SOURCE): Define.
16476 (print_unsigned, print_hex): Change parameter to "long long".
16477 (print_byte_count): New function, use to print byte counts.
16478 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
16479 O_LARGEFILE.
16480 (main): Compute an upper bound on a corefile in max_core_size.
16481 Limit memory chunk size to max_core_size. Limit total memory
16482 allocated to max_core_size.
16483
4bb3667f
AC
164842004-09-23 Andrew Cagney <cagney@gnu.org>
16485
16486 * gdb.base/bigcore.exp: Replace the code that creates a corefile
16487 from a separate process with code that creates a corefile by
16488 making the inferior dump core.
16489
60fe1a51
MK
164902004-09-23 Mark Kettenis <kettenis@gnu.org>
16491
16492 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
16493 block.
16494
8e937346
MC
164952004-09-23 Michael Chastain <mec.gnu@mindspring.com>
16496
16497 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
16498 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
16499 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
16500 Likewise.
16501
7213f6d6
JJ
165022004-09-20 Jeff Johnston <jjohnstn@redhat.com>
16503
16504 * gdb.java/jprint.exp: New test case for java inferior call.
16505 * gdb.java/jprint.java: Ditto.
16506
eac69dca
JB
165072004-09-15 Joel Brobecker <brobecker@gnat.com>
16508
16509 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
16510
22227696
MC
165112004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16512
16513 * gdb.threads/killed.c: Include <stdlib.h>.
16514 * gdb.threads/pthreads.c: Likewise.
16515
7dd403a4
MC
165162004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16517
16518 * gdb.threads/killed.c: Add copyright notice.
16519
33f2d567
JM
165202004-09-10 Jason Molenda (jmolenda@apple.com)
16521
a9c64011
AS
16522 * gdb.base/define.exp: Two new tests to verify zero space chars
16523 after 'if' and 'while' commands in a user-defined command is correctly
16524 parsed.
33f2d567 16525
e05b62ac
AC
165262004-09-08 Andrew Cagney <cagney@gnu.org>
16527
16528 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
16529 delivery test with duplicate at end of file.
16530
9cbe82da
MK
165312004-09-06 Mark Kettenis <kettenis@jive.nl>
16532
16533 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
16534
564803d9
MC
165352004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16536
16537 * config/hppro.exp: Removed.
16538
7c6807ce
MC
165392004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16540
16541 * config/sparclet.exp: Removed.
16542
bf7e26dd
MC
165432004-09-05 Michael Chastain <mec.gnu@mindspring.com>
16544
16545 * config/udi.exp: Removed.
16546
714e341b
MC
165472004-09-02 Michael Chastain <mec.gnu@mindspring.com>
16548
16549 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
16550 of "exp_continue".
16551 (advancei): Likewise.
16552
1236e623
JJ
165532004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16554
16555 * gdb.base/unload.exp: Fix so messages aren't duplicated.
16556
3bdcad15
MI
165572004-09-01 Manoj Iyer <manjo@austin.ibm.com>
16558
228af206 16559 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
16560 to check for nodebug in executable.
16561 * gdb.gdb/observer.exp (setup_test): Likewise.
16562 * gdb.gdb/selftest.exp (test_with_self): Likewise.
16563 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
16564
c72b934c
AC
165652004-09-01 Andrew Cagney <cagney@gnu.org>
16566
16567 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16568 files.
16569
edd9b715
JJ
165702004-09-01 Jeff Johnston <jjohnstn@redhat.com>
16571
16572 * gdb.base/unload.exp: Fix expected warning message to match
16573 latest format.
16574
fb4ce06b
CV
165752004-09-01 Corinna Vinschen <vinschen@redhat.com>
16576
16577 * gdb.base/call-rt-st.exp: Fix typos.
16578
ce78e7c3
MI
165792004-08-31 Manoj Iyer <manjo@austin.ibm.com>
16580
16581 * gdb.threads/thread_check.exp: New testcase.
16582 * gdb.threads/thread_check.c: New testcase.
16583
2dedb159
AC
165842004-08-31 Andrew Cagney <cagney@gnu.org>
16585
16586 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
16587 (skip_to_handler_entry): New procedures. Test stepping into a
16588 handler when the breakpoint is at the handler's entry point.
16589
68f53502
AC
165902004-08-30 Andrew Cagney <cagney@gnu.org>
16591
16592 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
16593 gdb/1757.
16594
3e3ffd2b
MC
165952004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16596
16597 With code from Manoj Iyer <manjo@austin.ibm.com>:
16598 * lib/gdb.exp (gdb_file_cmd): Return more information in the
16599 return value. Add an arm for "no debugging symbols found".
16600 Change a stray "error" to "perror".
16601 (gdb_run_cmd): Adapt to new return value.
16602 * gdb.base/remote.exp: Adapt to new return value.
16603 * gdb.gdb/complaints.exp: Likewise.
16604 * gdb.gdb/observer.exp: Likewise.
16605 * gdb.gdb/selftest.exp: Likewise.
16606 * gdb.gdb/xfullpath.exp: Likewise.
16607
4b6f5fd2
JB
166082004-08-27 Joel Brobecker <brobecker@gnat.com>
16609
16610 * gdb.threads/bp_in_thread.exp: New testcase.
16611
e5b25496
MC
166122004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16613
16614 Fix PR testsuite/1735.
16615 * gdb.threads/schedlock.c (thread_function): Add a cast
16616 to suppress a gcc warning.
16617 * gdb.threads/thread-specific.c (thread_function): Likewise.
16618
934353d6
MC
166192004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16620
16621 * gdb.base/unload.c: Include <stdlib.h>.
16622
f98a0aef 166232004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 16624
f98a0aef 16625 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
16626 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
16627 synchronized after the "return".
16628
5a2e8882
MC
166292004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16630
16631 * gdb.mi/basics.c: Include <stdio.h>.
16632 * gdb.mi/pthreads.c: Include <stdlib.h>.
16633 * gdb.mi/var-cmd.c: Include <stdlib.h>.
16634
a9640423
MC
166352004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16636
16637 * gdb.threads/schedlock.c: Add copyright notice.
16638
b04e311d
AC
166392004-08-25 Andrew Cagney <cagney@gnu.org>
16640
16641 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
16642 (skip_over_handler, breakpoint_over_hander): New test procedures.
16643 (advance, advancei): Add a proper prefix, do not use
16644 rerun_to_main.
16645 * gdb.base/sigstep.c (main): Change to use an infinite loop.
16646
7c27f15b
MC
166472004-08-24 Michael Chastain <mec.gnu@mindspring.com>
16648
16649 * gdb.mi/basics.c: Add copyright notice.
16650 * gdb.mi/var-cmd.c: Add copyright notice.
16651
fffc87ae
MC
166522004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16653
16654 * lib/gdb.exp: Remove signed_keyword_not_used.
16655 * lib/compiler.c: Likewise.
16656 * lib/compiler.cc: Likewise.
16657
d782e0bf
MC
166582004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16659
16660 * gdb.base/whatis.c: Remove conditional disabling of "signed".
16661 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
16662
96033e83
MC
166632004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16664
16665 * gdb.base/whatis.c: Add copyright notice.
16666
cf38c229
MK
166672004-08-20 Mark Kettenis <kettenis@gnu.org>
16668
16669 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
16670 it to skip the breakpoints encoded in the inline assembly.
16671
f4b49756
MC
166722004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16673
16674 * Makefile.in: Add gdb.fortran.
16675
2f193b69
MC
166762004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16677
16678 * gdb.base/call-sc.exp (test_scalar_returns):
16679 Fix cut-and-paste glitch in "Make fun return now".
16680
89a237cb
MC
166812004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16682
16683 * configure.in: Add gdb.fortran.
16684 * configure: Regenerate.
16685 * gdb.fortran/Makefile.in: New file.
16686 * lib/gdb.exp (skip_fortran_tests): New procedure.
16687
469aff8e
MC
166882004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16689
16690 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
16691 reference to bug-gnu@prep.ai.mit.edu.
16692 * gdb.mi/mi-var-child.exp: Likewise.
16693 * gdb.mi/mi-var-cmd.exp: Likewise.
16694 * gdb.mi/mi-var-display.exp: Likewise.
16695 * gdb.mi/mi2-var-block.exp: Likewise.
16696 * gdb.mi/mi2-var-child.exp: Likewise.
16697 * gdb.mi/mi2-var-cmd.exp: Likewise.
16698 * gdb.mi/mi2-var-display.exp: Likewise.
16699
00b51b9f
MK
167002004-08-15 Mark Kettenis <kettenis@gnu.org>
16701
16702 * gdb.base/unload.c (main): Make local variable msg const.
16703
45f07fef
MC
167042004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16705
16706 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
16707 to bug-gnu@prep.ai.mit.edu.
16708 * gdb.mi/mi-disassemble.exp: Likewise.
16709 * gdb.mi/mi-eval.exp: Likewise.
16710 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
16711 default line number.
16712 * gdb.mi/mi-return.exp: Likewise.
16713 * gdb.mi/mi-simplerun.exp: Likewise.
16714 * gdb.mi/mi-stack.exp: Likewise.
16715 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
16716 number with explicit range test.
16717 * gdb.mi/mi-watch.exp: Likewise.
16718 * gdb.mi/mi2-break.exp: Likewise.
16719 * gdb.mi/mi2-cli.exp: Likewise.
16720 * gdb.mi/mi2-disassemble.exp: Likewise.
16721 * gdb.mi/mi2-eval.exp: Likewise.
16722 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
16723 default line number.
16724 * gdb.mi/mi2-return.exp: Likewise.
16725 * gdb.mi/mi2-simplerun.exp: Likewise.
16726 * gdb.mi/mi2-stack.exp: Likewise.
16727 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
16728 number with explicit range test.
16729 * gdb.mi/mi2-watch.exp: Likewise.
16730
dd8c8ee7
MC
167312004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16732
16733 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
16734 * gdb.cp/m-static.exp: Likewise.
16735 * gdb.cp/rtti.exp: Likewise.
16736
4e838464
MK
167372004-08-14 Mark Kettenis <kettenis@gnu.org>
16738
16739 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
16740
8d8cb839
EZ
167412004-08-14 Eli Zaretskii <eliz@gnu.org>
16742
16743 * ChangeLog: Prefix Local Variables with semi-colons and indent
16744 the reference to older ChangeLog files, to fix fontification in
16745 Emacs.
16746
deea8bb0
MC
167472004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16748
16749 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
16750 * gdb.mi/mi2-break.exp: Likewise.
16751
c3297504
MC
167522004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16753
16754 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
16755
25808999
MC
167562004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16757
16758 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
16759
226a8d71
MC
167602004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16761
16762 * gdb.cp/classes.exp: Remove unused declarations. Just let
16763 test names default instead of providing special names. Remove
16764 extraneous demangler test.
16765
37fdf854
JJ
167662004-08-12 Jeff Johnston <jjohnstn@redhat.com>
16767
16768 * gdb.base/unload.exp: New test for breakpoints in dynamically
16769 loaded libraries.
16770 * gdb.base/unload.c: Ditto.
16771 * gdb.base/unloadshr.c: Ditto.
16772
2d3a7986
MC
167732004-08-12 Michael Chastain <mec.gnu@mindspring.com>
16774
16775 * gdb.cp/classes.exp (test_ptype_class_objects): Call
16776 cp_test_ptype_class.
16777 (test_enums): Likewise.
16778
c72b934c
AC
167792004-08-10 Andrew Cagney <cagney@gnu.org>
16780
16781 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16782 files.
16783
cc503c8a
AC
167842004-08-10 Andrew Cagney <cagney@gnu.org>
16785
16786 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
16787 init_malloc call.
16788
902f2ccb
MC
167892004-08-10 Michael Chastain <mec.gnu@mindspring.com>
16790
16791 * ChangeLog: Add copyright notice. The notice is copied
16792 from emacs 21.3 top level ChangeLog.
16793
78c90502
MC
167942004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16795
16796 * lib/cp-support.exp: New file.
16797 * lib/cp-support.exp (cp_test_type_class): New function.
16798 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
16799 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
16800 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
16801 cp_test_ptype_class.
16802
88e5ea78
MC
168032004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16804
16805 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
16806 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16807 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
16808 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
16809 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16810 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
16811 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
16812 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
16813 gdb.mi/mi2-watch.exp: Update copyright years.
16814
6a89fc9c
MK
168152004-08-09 Mark Kettenis <kettenis@gnu.org>
16816
16817 * gdb.base/sigaltstack.exp: Provide proper anchoring.
16818
1482e0de
MC
168192004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16820
16821 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
16822 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
16823 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
16824 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16825 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
16826 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
16827 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
16828 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16829 gdb.mi/mi-watch.exp: Update copyright years.
16830
1a5ce3f3
DJ
168312004-08-08 Daniel Jacobowitz <dan@debian.org>
16832
16833 PR gdb/1738
16834 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
16835 from a breakpoint with a pending signal.
16836
04f6ecf2
DJ
168372004-08-08 Daniel Jacobowitz <dan@debian.org>
16838
16839 PR gdb/1736
16840 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
16841 * gdb.base/sigaltstack.exp (finish_test): Consume output until
16842 the prompt.
16843 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
16844
54d90d35
DJ
168452004-08-08 Daniel Jacobowitz <dan@debian.org>
16846
16847 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
16848
d2f6abb0
DJ
168492004-08-08 Daniel Jacobowitz <dan@debian.org>
16850
16851 PR gdb/1736
16852 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
16853 for i?86-*-linux*.
16854
5598c03d
DJ
168552004-08-08 Daniel Jacobowitz <dan@debian.org>
16856
16857 * gdb.arch/i386-prologue.exp: Compile without debug information.
16858
c6fee705
MC
168592004-08-08 Michael Chastain <mec.gnu@mindspring.com>
16860
16861 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
16862 rather than asking gdb to search.
16863
dd90efdb
MC
168642004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16865
16866 * gdb.base/gcore.c: Include <string.h>.
16867
1e84bec1
MC
168682004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16869
16870 * gdb.base/gcore.c: Add copyright notice.
16871
e425eb2b
MC
168722004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16873
16874 * gdb.base/freebpcmd.c: Include <stdio.h>.
16875 * gdb.base/long_long.c: Include <string.h>.
16876 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
16877 * gdb.base/siginfo.c: Include <string.h>.
16878 * gdb.base/sigstep.c: Include <string.h>.
16879
cb9aaed5
MC
168802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16881
16882 * gdb.base/complex.c: Include <stdlib.h>.
16883
55944f3d
MC
168842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16885
16886 * gdb.base/complex.c: Add copyright notice.
16887
7b2953d9
MC
168882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16889
16890 * gdb.base/charset.c: Include <stdlib.h>.
16891
c9133d23
MC
168922004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16893
16894 * gdb.base/auxv.c: Include <stdlib.h>.
16895
0a8490ad
MC
168962004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16897
16898 * gdb.base/auxv.c: Add copyright notice.
16899
3426d5ec
MC
169002004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16901
16902 * gdb.base/coremaker.c: Add copyright notice.
16903 * gdb.base/coremaker2.c: Add copyright notice.
16904
8da195dd
AC
169052004-08-04 Andrew Cagney <cagney@gnu.org>
16906
16907 * gdb.base/store.exp: Update copyright.
16908 (check_set, up_set, check_struct, up_struct): Add a prefix to test
16909 names, do not import gdb_prompt.
16910
8d394f98
AC
169112004-08-01 Andrew Cagney <cagney@gnu.org>
16912
16913 Fix PR testsuite/1729.
16914 * gdb.base/dump.exp: Add test name to callers of capture_value, do
16915 not use capture_value with value 4.
16916 (capture_value): Add optional test name parameter.
16917 (test_reload_saved_value, test_restore_saved_value): Use $msg as
16918 the prefix, pass to capture_value.
16919
b6702b23
MK
169202004-08-01 Mark Kettenis <kettenis@gnu.org>
16921
16922 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
16923 * gdb.arch/i386-prologue.c (standard): New prototype and function.
16924 (main): Call new function.
16925
c203e0ca
MC
169262004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16927
16928 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
16929
a7995a30
MC
169302004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16931
16932 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
16933
9366563b
MC
169342004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16935
b6eeaf26 16936 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
16937 Accept more values of vtbl pointer. Remove some messages
16938 about "obsolete gcc or gdb".
16939
2fc1f950
MC
169402004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16941
16942 * gdb.cp/classes.exp: Accept more varieties of ptype output.
16943
c724d49b
MC
169442004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16945
16946 * gdb.base/asm-source.exp: Properly convert target board
16947 debug flags from gcc format to binutils format.
16948
736b0fce
MK
169492004-07-28 Mark Kettenis <kettenis@gnu.org>
16950
16951 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
16952 gdb1718". PR backtrace/1718 partially fixed.
16953
5633ea5c
JJ
169542004-07-27 Jeff Johnston <jjohnstn@redhat.com>
16955
16956 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
16957
575eebb1
NC
169582004-07-26 Nick Clifton <nickc@redhat.com>
16959
16960 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
16961 good default value for a specific architecture is available then
16962 set it to that value. Otherwise default to the -gstabs switch.
16963 Remove the -g... switches from the asm-flags variable. Allow the
16964 target board info to override the value if it wants to. Pass the
16965 switch on the assembler command line.
16966
62104619
MK
169672004-07-23 Mark Kettenis <kettenis@gnu.org>
16968
16969 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
16970 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
16971 (main): Call new function.
16972
4a1135b8
MC
169732004-07-22 Michael Chastain <mec.gnu@mindspring.com>
16974
16975 Test for PR exp/1715.
16976 * gdb.base/radix.exp: Refactor common procedures. Make all
16977 test names unique. Change XFAIL to KFAIL.
16978
8a12c1f0
MC
169792004-07-20 Michael Chastain <mec.gnu@mindspring.com>
16980
16981 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
16982 * gdb.ada/gnat_ada.gin: ... to here.
16983 * configure.in: Use gnat_ada.gin.
16984 * configure: Regenerate.
16985
23b451cf
AC
169862004-07-20 Andrew Cagney <cagney@gnu.org>
16987
16988 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
16989 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
16990 XFAILs. Clean up test messages and comments. Check backtraces.
16991 Delete re-sync code.
16992
ab618a02
MC
169932004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16994
16995 Fix PR cli/740.
16996 * gdb.base/annota1.exp: Honor gdb,nosignals.
16997 * gdb.base/annota3.exp: Likewise.
16998
46dad340
MC
169992004-07-19 Michael Chastain <mec.gnu@mindspring.com>
17000
17001 * lib/java.exp: Update copyright notice.
17002
756d8c70
AC
170032004-07-19 Andrew Cagney <cagney@gnu.org>
17004
17005 * gdb.base/selftest.exp: Copy file from here ...
17006 * gdb.gdb/selftest.exp: ... to here.
17007
586027e6
AC
170082004-07-16 Andrew Cagney <cagney@redhat.com>
17009
17010 * lib/insight-support.exp: Delete file.
17011 * lib/java.exp (java_init): Fix copyright.
17012
029d2200
AC
170132004-07-16 Andrew Cagney <cagney@gnu.org>
17014
17015 * gdb.base/restore.c: Append "prologue" to comments marking the a
17016 function's prologue.
17017 * gdb.base/restore.exp: Update copyright, re-indent.
17018 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
17019 callerN" prefix where needed. Update patterns that match a
17020 function's prologue.
17021
653b62c5
MC
170222004-07-16 Michael Chastain <mec.gnu@mindspring.com>
17023
17024 * gdb.base/restore.c: Add copyright notice.
17025
f7d690e5
AC
170262004-07-16 Andrew Cagney <cagney@gnu.org>
17027
17028 * gdb.base/logical.exp: Update copyright.
17029 (evaluate): New procedure. Use to re-implement tests using
17030 several tables.
17031
d629a7cb
MH
170322004-07-14 Martin Hunt <hunt@redhat.com>
17033
17034 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
17035 which fixes some problems where init.tcl was not found.
17036
9c7bb332
AC
170372004-07-13 Andrew Cagney <cagney@gnu.org>
17038
6bf46641
AC
17039 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
17040 (check_sizeof, check_valueof): Do not include the output in the
17041 test name. Use gdb_test.
17042 (get_valueof): Use gdb_test_multiple.
17043
c4ffd4c0
AC
17044 * gdb.base/step-test.exp: Update copyright. Use
17045 gdb_test_multiple. Ensure that test names do not include
17046 architecture dependent output.
17047
ab89363a
AC
17048 * gdb.gdb/observer.exp: Update copyright.
17049 (setup_test): Use gdb_test_multiple.
17050 (attach_first_observer, attach_second_observer)
17051 (attach_third_observer, detach_first_observer)
17052 (detach_second_observer, detach_third_observer)
17053 (reset_counters, check_counters): Make $message a prefix.
17054 (test_normal_stop_notifications): Add "args" parameter - a list of
17055 init functions to be called. Make $message a prefix,
17056 (test_observer_normal_stop): Change the message prefixes so that
17057 they are unique, pass the attach / detach procedures to
17058 test_normal_stop_notifications.
17059
ec58997a
AC
17060 * gdb.base/signull.exp (test_segv): Prefix all tests with
17061 "${name}". Clean up test messages.
17062
b475183b
AC
17063 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
17064
9c7bb332
AC
17065 * gdb.base/ena-dis-br.exp: Update copyright.
17066 (break_at): New function. Replace send_gdb with gdb_test,
17067 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
17068 ignore count, not stopped at bpt", with KFAIL.
17069
2dd95497
CV
170702004-07-13 Corinna Vinschen <vinschen@redhat.com>
17071
17072 * gdb.base/attach.exp: Remove cleanupfile handling.
17073
419e626b
AC
170742004-07-12 Andrew Cagney <cagney@gnu.org>
17075
17076 * gdb.base/annota1.exp: Cleanup corefile test name.
17077 * gdb.base/annota3.exp: Ditto.
17078
8b1b3228
AC
170792004-07-12 Andrew Cagney <cagney@gnu.org>
17080
78650829
AC
17081 * gdb.base/signals.exp: Clean up copyright, re-indent.
17082
8b1b3228
AC
17083 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
17084 gdb_test and gdb_test_multiple.
17085
935c2760
JJ
170862004-07-08 Jeff Johnston <jjohnstn@redhat.com>
17087
17088 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 17089 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
17090 provide line number info for first statement in main.
17091
1544280f
AC
170922004-07-08 Andrew Cagney <cagney@gnu.org>
17093
1279f4ff
AC
17094 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
17095
1544280f
AC
17096 * gdb.base/sigbpt.exp: Make the common part of each test name a
17097 prefix instead of suffix.
17098
bcc82369
BR
170992004-07-07 Bob Rossi <bob_rossi@cox.net>
17100
17101 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
17102 test from test_tbreak_creation_and_listing to
17103 test_file_list_exec_source_file
17104 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
17105 Changed name of test from test_tbreak_creation_and_listing to
17106 test_file_list_exec_source_file
17107
23f4b0aa
JJ
171082004-07-07 Jeff Johnston <jjohnstn@redhat.com>
17109
17110 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
17111 the jmisc() constructor instead of <init>.
17112 * gdb.java/jmisc1.exp: Ditto.
17113
56401cd5
AC
171142004-07-07 Andrew Cagney <cagney@gnu.org>
17115
17116 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
17117 corrupting the PC.
17118
44ae2f6a
MC
171192004-07-06 Michael Chastain <mec.gnu@mindspring.com>
17120
17121 * gdb.cp/templates.exp: Accept whitespace change in demangler
17122 output.
17123
45a83408
AC
171242004-07-06 Andrew Cagney <cagney@gnu.org>
17125
17126 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
17127
d205ad70
MC
171282004-07-02 Michael Chastain <mec.gnu@mindspring.com>
17129
17130 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
17131 * lib/compiler.cc: Likewise.
17132
06ea1a61
MC
171332004-06-30 Michael Chastain <mec.gnu@mindspring.com>
17134
17135 * lib/compiler.cc: Work around string preprocessing problem
17136 with old hp c++ compiler.
17137 * lib/compiler.c: Likewise.
17138
daab1251
CV
171392004-06-29 Corinna Vinschen <vinschen@redhat.com>
17140
17141 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
17142 directives to conditionalize symbol prefixing.
17143 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
17144 additional_flags handling. Add underscore prefix for Cygwin.
17145 * gdb.arch/i386-unwind.c: Use preprocessor directives to
17146 conditionalize symbol prefixing.
17147 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
17148 additional_flags handling. Add underscore prefix for Cygwin.
17149
cc984116
CV
171502004-06-29 Corinna Vinschen <vinschen@redhat.com>
17151
17152 * gdb.base/bigcore.exp: Skip test on Cygwin.
17153
c279b077
MC
171542004-06-28 Michael Chastain <mec.gnu@mindspring.com>
17155
17156 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
17157 formats for "info register". Use gdb_test_multiple. Fix
17158 the "invalid register" test.
17159
0e915747
CV
171602004-06-28 Corinna Vinschen <vinschen@redhat.com>
17161
17162 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
17163 PID for Cygwin. Add Cygwin specific strings to check for in some
17164 tests.
17165 (do_attach_tests): Add a test for user interaction when attaching
17166 to a process with no matching symbol table already loaded.
17167
11422c86
AC
171682004-06-26 Andrew Cagney <cagney@gnu.org>
17169
17170 Test PR java/1567 and PR java/1565.
17171 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
17172 * gdb.java/jmisc2.exp: Delete file.
17173
cefbce26
MC
171742004-06-26 Michael Chastain <mec.gnu@mindspring.com>
17175
17176 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
17177
e19f872c
CV
171782004-06-25 Corinna Vinschen <vinschen@redhat.com>
17179
17180 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
17181 attach process.
17182
d931ba3b
MC
171832004-06-23 Michael Chastain <mec.gnu@mindspring.com>
17184
17185 * gdb.cp/pr-1553.exp: Remove.
17186
aef68c48
MC
171872004-06-22 Michael Chastain <mec.gnu@mindspring.com>
17188
17189 * gdb.cp/pr-1553.cc: Remove.
17190 * gdb.cp/pr-1553.exp: Disable this test.
17191
8d5df71a
JB
171922004-06-20 Jim Blandy <jimb@redhat.com>
17193
a9c64011 17194 Fix PR testsuite/1680.
8d5df71a
JB
17195 * gdb.arch/i386-sse.exp: Properly quote curly braces in
17196 regular expressions.
17197
4ac6f39d
MC
171982004-06-19 Michael Chastain <mec.gnu@mindspring.com>
17199
17200 Fix PR testsuite/1679.
17201 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
17202 Issue an UNSUPPORTED result instead.
17203
1b413552
JB
172042004-06-18 Jim Blandy <jimb@redhat.com>
17205
17206 * gdb.base/charset.exp: Only send a control-C if we see a new
17207 prompt and incomplete command.
17208
6daa6ebd
MC
172092004-06-18 Michael Chastain <mec.gnu@mindspring.com>
17210
17211 * gdb.cp/pr-574.cc: Add copyright notice.
17212
51fa4ae0
JB
172132004-06-17 Jim Blandy <jimb@redhat.com>
17214
17215 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
17216 cases where the regexp has no groups; this grabs random text from
17217 the previous test suite, whatever that was.
17218
8fea26c5
MC
172192004-06-17 Michael Chastain <mec.gnu@mindspring.com>
17220
17221 * gdb.cp/printmethod.cc: Add copyright notice.
17222
1e3aeb41
MC
172232004-06-16 Michael Chastain <mec.gnu@mindspring.com>
17224
17225 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
17226
9d9030bc
AC
172272004-06-16 Andrew Cagney <cagney@gnu.org>
17228
17229 * gdb.base/signull.c: Update copyright. Include <string.h>.
17230 (bowler): Replace data_pointer with data_read
17231 and data_write cases. Add code_descriptor case.
17232 (zero, desc): New array and pointer.
17233 (data, code): Change to simple pointers.
17234 * gdb.base/signull.exp: Fix probe pattern matching a function
17235 descriptor SIGSEGV. Replace data_pointer with data_read and
17236 data_write tests.
17237
acd4ad44
AC
172382004-06-16 Andrew Cagney <cagney@gnu.org>
17239
17240 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
17241
08fd625c
MC
172422004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17243
17244 * gdb.base/long_long.c: Add copyright notice.
17245
1903502c
MC
172462004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17247
17248 * gdb.base/long_long.exp: Remove reference to
17249 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
17250 to gdb_breakpoint and gdb_continue_to_breakpoint.
17251
83313cb1
JB
172522004-06-14 Jim Blandy <jimb@redhat.com>
17253
17254 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
17255 endian case.
17256
1bf404ef
AC
172572004-06-14 Andrew Cagney <cagney@gnu.org>
17258
17259 * gdb.base/gcore.exp (capture_command_output): Delete the always
17260 passing tests containing inferior values.
17261 * gdb.base/ending-run.exp: Do not include the breakpoint address
17262 in the test message. Update copyright.
17263 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
17264 size in the test name, use gdb_test_multiple. Update copyright.
17265
ef220b33
MC
172662004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17267
17268 * gdb.cp/ref-types.cc: Add copyright notice.
17269
4f70a4c9
MC
172702004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17271
17272 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
17273 hp_aCC_compiler.
17274 * lib/compiler.cc: Likewise.
17275 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
17276 'set' commands. Log diagnostics for other lines. Set
17277 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
17278
335928ac
MC
172792004-06-13 Michael Chastain <mec.gnu@mindspring.com>
17280
17281 * gdb.cp/try_catch.cc: Add copyright notice.
17282
2efb12e8
MC
172832004-06-12 Michael Chastain <mec.gnu@mindspring.com>
17284
17285 * gdb.cp/userdef.cc: Add copyright notice.
17286
0bbed51a
MC
172872004-06-11 Michael Chastain <mec.gnu@mindspring.com>
17288
17289 * gdb.cp/virtfunc.cc: Add copyright notice.
17290
e12a46c9
RC
172912004-06-11 Randolph Chung <tausq@debian.org>
17292
17293 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
17294 problem.
17295
338e05af
AC
172962004-06-10 Andrew Cagney <cagney@gnu.org>
17297
17298 * lib/compiler.cc, lib/compiler.c: Append either
17299 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
17300 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
17301 instead of gcc-3-3.
17302
dc3f10cb
AC
173032004-06-09 Andrew Cagney <cagney@gnu.org>
17304
b4d946af
AC
17305 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
17306 gdb/1455, bug is specific to "long long" and "double".
a9c64011 17307
dc3f10cb
AC
17308 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
17309 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
17310 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
17311 fixed.
17312
b5c0bfa2
AC
173132004-06-09 Andrew Cagney <cagney@gnu.org>
17314
17315 * gdb.base/structs.exp (test_struct_returns): Replace
17316 "return_value_unknown" and "finish_value_unknown" by
17317 "return_value_known" and "finish_value_known". Instead of
17318 "return_value_unknown" iff "finish_value_unknown", check
17319 "return_value_known" implies "finish_value_known".
17320
caeb605f
MH
173212004-06-08 Martin Hunt <hunt@redhat.com>
17322
17323 * gdb.base/float.exp: Add pattern for mips targets.
17324
c892bb64
RC
173252004-06-08 Randolph Chung <tausq@debian.org>
17326
17327 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
17328 message for unknown architectures more clear.
17329
48306d3e
JB
173302004-06-08 Joel Brobecker <brobecker@gnat.com>
17331
17332 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
17333 start the execution of the program.
17334
83ecb59f
JB
173352004-06-07 Jim Blandy <jimb@redhat.com>
17336
17337 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
17338 * gdb.arch/i386-cpuid.h: New helper file.
17339
55264cb4
RC
173402004-06-07 Randolph Chung <tausq@debian.org>
17341
17342 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
17343 has started.
17344
23cadb28
RM
173452004-06-04 Roland McGrath <roland@redhat.com>
17346
17347 Fix PR gdb/1647.
17348 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
17349 differently to be robust to output buffering differences.
17350
51d01eda
MC
173512004-06-04 Michael Chastain <mec.gnu@mindspring.com>
17352
17353 * gdb.threads/pthreads.exp: Update copyright years.
17354 (check_control_c): Change asynchronous 'after' to synchronous.
17355
f4fc3b93
RM
173562004-06-04 Roland McGrath <roland@redhat.com>
17357
17358 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
17359 next gdb prompt.
17360
4013522b
MC
173612004-06-02 Michael Chastain <mec.gnu@mindspring.com>
17362
17363 Fix PR gdb/1636.
17364 * gdb.threads/manythreads.exp: Change asynchronous 'after'
17365 calls to synchronous.
17366
7a8f1e6b
JB
173672004-05-26 Jim Blandy <jimb@redhat.com>
17368
17369 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
17370
81bb3443
RC
173712004-05-24 Randolph Chung <tausq@debian.org>
17372
17373 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
17374 * gdb.asm/pa.inc: New file.
17375
8f5a3103
MK
173762004-05-22 Mark Kettenis <kettenis@gnu.org>
17377
17378 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
17379
734b8fe8 173802004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 17381 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
17382
17383 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
17384 GDB prompt.
17385
725603e1
UW
173862004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17387
f4fc3b93 17388 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
17389 setjmp/longjmp. Use sigaction instead of signal.
17390
8b923272 173912004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 17392 Michael Snyder <msnyder@redhat.com>
8b923272
JB
17393
17394 * gdb.threads/pthread_cond_wait.c: New file.
17395 * gdb.threads/pthread_cond_wait.exp: New testcase.
17396
8bfabb04
AC
173972004-05-13 Andrew Cagney <cagney@redhat.com>
17398
17399 * gdb.base/signull.exp, gdb.base/signull.c: New files.
17400 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
17401
42edda50
AC
174022004-05-11 Andrew Cagney <cagney@redhat.com>
17403
17404 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
17405 fixed but revealed gdb/1639.
17406
d303a6c7
AC
174072004-05-10 Andrew Cagney <cagney@redhat.com>
17408
17409 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
17410 func1" and "next to 2nd alarm", kernel bug avoided.
17411
bf08c2a1
DJ
174122004-05-10 Daniel Jacobowitz <dan@debian.org>
17413
17414 PR external/1568
17415 * gdb.base/bigcore.exp: Check the size of the dumped core file.
17416 XFAIL if it is smaller than bytes_allocated.
17417 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
17418 (main): Make chunks_allocated unsigned. Correct comment.
17419
c0586a34
JB
174202004-05-07 Joel Brobecker <brobecker@gnat.com>
17421
17422 * gdb.arch/powerpc-aix-prologue.c: New file.
17423 * gdb.arch/powerpc-aix-prologue.exp: New file.
17424
f2785d12
JB
174252004-05-07 Jim Blandy <jimb@redhat.com>
17426
17427 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
17428 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
17429
bd7f6e30
JB
174302004-05-06 Joel Brobecker <brobecker@gnat.com>
17431
17432 * gdb.base/sep.exp: No longer setup_kfail when the program was
17433 built with dwarf2.
17434
0a5e7efe
JI
174352004-05-05 Jim Ingham <jingham@apple.com>
17436
17437 * gdb.base/pending.exp: Make sure pending breakpoints
17438 preserve the ignore count.
f4fc3b93 17439
a8958849
MK
174402004-04-27 Jerome Guitton <guitton@gnat.com>
17441
17442 * i386-prologue.exp: Add testcase for jump instruction as first
17443 instruction of the real code.
17444 * i386-prologue.c (jump_at_beginning): New function.
17445
7e103f5b
MK
174462004-04-28 Mark Kettenis <kettenis@gnu.org>
17447
17448 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
17449 x86_64-*-*.
17450
5d38b224
MK
174512004-04-28 Mark Kettenis <kettenis@gnu.org>
17452
17453 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
17454 i*86-*-*.
17455
0ef32fd9
MK
174562004-04-25 Mark Kettenis <kettenis@gnu.org>
17457
17458 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
17459 expression that checks the return type.
17460
71d7dd7c
AC
174612004-04-23 Andrew Cagney <cagney@redhat.com>
17462
17463 * gdb.base/call-sc.exp: New test of scalar call/return values.
17464 * gdb.base/call-sc.c: Ditto.
17465
1e9f977e
JJ
174662004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17467
17468 * gdb.threads/manythreads.c: Reduce thread stack size.
17469
899d9e3a
JJ
174702004-04-23 Jeff Johnston <jjohnstn@redhat.com>
17471
17472 * gdb.threads/manythreads.c: Add copyright notice.
17473
61bcae62
AC
174742004-04-23 Andrew Cagney <cagney@redhat.com>
17475
17476 * gdb.base/siginfo.exp: Better handle step out of signal.
17477 * gdb.base/sigstep.exp: Ditto.
17478
7339a42e 174792004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 17480 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
17481
17482 * gdb.threads/manythreads.c: New testcase.
17483 * gdb.threads/manythreads.exp: Ditto.
17484
5c98409b
JB
174852004-04-22 Jim Blandy <jimb@redhat.com>
17486
17487 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
17488 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
17489
3b611f1a
MC
174902004-04-21 Michael Chastain <mec.gnu@mindspring.com>
17491
17492 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
17493
f0fd9238
AC
174942004-04-21 Andrew Cagney <cagney@redhat.com>
17495
17496 * gdb.base/sigstep.c: New file.
17497 * gdb.base/sigstep.exp: New file.
17498
90990674
JB
174992004-04-16 Joel Brobecker <brobecker@gnat.com>
17500
17501 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
17502 call to observer_notify_normal_stop.
17503
78cef34b
AC
175042004-04-15 Andrew Cagney <cagney@redhat.com>
17505
17506 * gdb.base/siginfo.c: New file.
17507 * gdb.base/siginfo.exp: New file.
17508
d2343407
JB
175092004-04-12 J. Brobecker <brobecker@gnat.com>
17510
17511 * gdb.base/sep.exp: Fix typo in comment.
17512
a2dba3c8
JB
175132004-04-12 J. Brobecker <brobecker@gnat.com>
17514
17515 * gdb.base/sep.c: New file.
17516 * gdb.base/sep-proc.c: New file.
17517 * gdb.base/sep.exp: New testcase.
17518
15f7b60e
MK
175192004-04-09 Mark Kettenis <kettenis@gnu.org>
17520
17521 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
17522 support.
17523
44f4de1a
AC
175242004-04-05 Andrew Cagney <cagney@redhat.com>
17525
17526 * gdb.base/sigaltstack.c: New file.
17527 * gdb.base/sigaltstack.exp: New file.
17528
ef04f396
JB
175292004-04-04 Joel Brobecker <brobecker@gnat.com>
17530
17531 * gdb.base/foll-fork.exp: Update the expected output for
17532 "help set follow-fork-mode", to match a change that was made
17533 to the help of this variable on 2004-01-13.
17534
d40d2c92
JB
175352004-04-01 Joel Brobecker <brobecker@gnat.com>
17536
17537 * lib/ada.exp: Add copyright notice.
17538 * bar.ads: Likewise.
17539 * bar.adb: Likewise.
17540 * null_record.adb: Likewise.
17541 * null_record.exp: Likewise.
17542 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
17543
f86ef5a3
JB
175442004-04-01 Joel Brobecker <brobecker@gnat.com>
17545
17546 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
17547 * configure: Regenerate.
17548
414e70e3
JB
175492004-04-01 Joel Brobecker <brobecker@gnat.com>
17550
17551 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
17552 to build the application. Remove the message printed when in
17553 verbose mode, redundant with the UNSUPPORTED message above.
17554
f0aaee49
JB
175552004-03-31 Joel Brobecker <brobecker@gnat.com>
17556
17557 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
17558 * gdb.ada (null_record.exp): New testcase.
17559
ac81cb54
JB
175602004-03-31 Joel Brobecker <brobecker@gnat.com>
17561
17562 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
17563
854af2f7
JB
175642004-03-31 Joel Brobecker <brobecker@gnat.com>
17565
17566 * gdb.ada: New subdirectory.
17567 * gdb.ada/Makefile.in: New file.
17568 * gdb.ada/gnat_ada.gpr.in: New file.
17569
034cb681
JB
175702004-03-31 Joel Brobecker <brobecker@gnat.com>
17571
17572 * lib/ada.exp: New file.
17573
78a1a894
DJ
175742004-03-24 Daniel Jacobowitz <drow@mvista.com>
17575
17576 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
17577 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
17578
4b2b3b3e
AC
175792004-03-22 Andrew Cagney <cagney@redhat.com>
17580
17581 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
17582 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
17583 Problem identified by Ulrich Weigand.
17584
23c73aa3
DC
175852004-03-17 David Carlton <carlton@kealia.com>
17586
17587 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
17588 PR c++/826.
17589
d63a86f8
RM
175902004-03-16 Roland McGrath <roland@redhat.com>
17591
17592 * gdb.base/auxv.exp: New file.
17593 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
17594
0e02aa50
DC
175952004-03-12 David Carlton <carlton@kealia.com>
17596
17597 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
17598 * gdb.cp/pr-1553.cc: Ditto.
17599 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
17600 pass branch.
17601
c20b71be
MC
176022004-03-12 Michael Chastain <mec.gnu@mindspring.com>
17603
17604 * gdb.cp/templates.exp: Accept more template types.
17605
c7414a01
MC
176062004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17607
17608 From Corinna Vinschen with modifications.
17609 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
17610 local variable obj_with_enum.
17611 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
17612 results with obj_with_enum.
17613
ed69573c
MC
176142004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17615
17616 * gdb.cp/classes.cc: New file, copied from misc.cc.
17617 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
17618
28301461
MC
176192004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17620
17621 * gdb.cp/misc.cc: Add copyright notice.
17622
1198ecbe
DC
176232004-03-05 David Carlton <carlton@kealia.com>
17624
17625 * gdb.cp/rtti.exp: Add 'print *obj3' test.
17626 * gdb.cp/rtti.h: Update copyright.
17627 (namespace n2::n3): New.
17628 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
17629 (n2::n3::func3): New.
17630 (main): Call n2::n3::func3.
17631 * gdb.cp/rtti2.cc: Update copyright.
17632 (n2::create3): New.
17633
9e08c470
MK
176342004-03-04 Mark Kettenis <kettenis@gnu.org>
17635
17636 * gdb.asm/openbsd.inc: Fix typo.
17637
4bebc3aa
FF
176382004-03-03 Fred Fish <fnf@redhat.com>
17639
17640 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
17641 "val" instead of unused "size". Update copyright year.
17642
6ea9fb37
DJ
176432004-02-29 Daniel Jacobowitz <drow@mvista.com>
17644
17645 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
17646 to use unsigned char.
17647 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
17648 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
17649
23b23974
DJ
176502004-02-29 Daniel Jacobowitz <drow@mvista.com>
17651
17652 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
17653 line of output.
17654
7574fd53
DJ
176552004-02-28 Daniel Jacobowitz <drow@mvista.com>
17656
17657 * gdb.base/relocate.c (dummy): Initialize.
17658
a195357f
DJ
176592004-02-28 Daniel Jacobowitz <drow@mvista.com>
17660
17661 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
17662 a breakpoint at exit.
17663
72fd54a9
FF
176642004-02-27 Fred Fish <fnf@redhat.com>
17665
17666 * gdb.base/chng-syms.exp: Add expect condition to match failing
17667 case that isn't a timeout.
17668
b9d23137
AC
176692004-02-27 Andrew Cagney <cagney@redhat.com>
17670
17671 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
17672 support.
17673
15d208f6 176742004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 17675
15d208f6
FF
17676 * gdb.arch/gdb1431.c: Remove.
17677 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
17678 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
17679 of "until" incorrectly.
17680
98f9cd2d
JB
176812004-02-26 J. Brobecker <brobecker@gnat.com>
17682
17683 * gdb.cp/class2.cc (empty): New class.
17684 (refer): New function.
17685 (main): Declare an object of type empty and use it.
17686 * gdb.cp/class2.exp: Print the value of an object of type empty.
17687
9b50c11b
JJ
176882004-02-26 Jeff Johnston <jjohnstn@redhat.com>
17689
17690 * gdb.base/langs.exp: Update query string to match the
17691 new nquery format used for pending breakpoints.
17692
0dcd613f
AC
176932004-02-26 Andrew Cagney <cagney@redhat.com>
17694
17695 Fix PR i18n/1570.
17696 * gdb.base/charset.c: Update copyright notice.
17697 (main, init_string): Remove the escape character '\e' tests.
17698 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
17699 * gdb.base/charset.exp (valid_host_charset): Ditto.
17700 * gdb.base/setvar.exp: Ditto.
17701
b8a56647
AC
177022004-02-24 Andrew Cagney <cagney@redhat.com>
17703
90d59e34
AC
17704 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
17705 mmapped data in core file" PASS and FAIL messages consistent.
17706
b8a56647
AC
17707 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
17708 setting a breakpoint. Work around PR java/1565.
17709
9f27c604
JJ
177102004-02-23 Jeff Johnston <jjohnstn@redhat.com>
17711
17712 * lib/gdb.exp (gdb_breakpoint): Update query string to match
17713 new nquery format.
17714 * gdb.base/pending.exp: Ditto.
17715
3224a706
MK
177162004-02-22 Mark Kettenis <kettenis@gnu.org>
17717
17718 * configure.in: Run stabs tests on *BSD.
17719 * configure: Regenerated.
17720
41e0a9ca
MK
177212004-02-21 Mark Kettenis <kettenis@gnu.org>
17722
17723 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
17724
1e1b3428
FF
177252004-02-20 Fred Fish <fnf@redhat.com>
17726
17727 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
17728 blank in test for "returns short", for consistency with other
17729 "returns xxx" tests. Update copyright year.
17730
f9a7572a
FF
177312004-02-19 Fred Fish <fnf@redhat.com>
17732
17733 New testcase for PR breakpoint/1558.
17734 * gdb.arch/gdb1558.exp: New file.
17735 * gdb.arch/gdb1558.c: New file.
17736
b2ce2854
EZ
177372004-02-19 Elena Zannoni <ezannoni@redhat.com>
17738
17739 * gdb.base/nodebug.exp: Fix typo.
17740
e7c9ff01
JB
177412004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17742
17743 Committed by Jim Blandy <jimb@redhat.com>.
17744
62f4b920
JB
17745 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
17746
2db536a1
JB
17747 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
17748
e7c9ff01
JB
17749 * gdb.base/float.exp: Support s390*-*-* targets.
17750
f3205b34
AF
177512004-02-17 Adam Fedor <fedor@gnu.org>
17752
17753 * gdb.base/gdb1555.exp: New file.
17754 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
17755
9d62932d
EZ
177562004-02-17 Elena Zannoni <ezannoni@redhat.com>
17757
17758 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
17759
344c9711
FF
177602004-02-16 Fred Fish <fnf@redhat.com>
17761
17762 * gdb.arch/gdb1291.c: Remove
17763 * gdb.arch/gdb1291.s: New test input file.
17764 * gdb.arch/gdb1291.exp: Expand test to check case that should not
17765 fail. Test for correct result, known incorrect result, other
17766 failures and timeouts.
17767
2d822687
AC
177682004-02-16 Andrew Cagney <cagney@redhat.com>
17769
17770 * gdb.base/bigcore.exp: New file.
17771 * gdb.base/bigcore.c: New file.
17772
dac15b66
AC
177732004-02-13 Andrew Cagney <cagney@redhat.com>
17774
17775 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
17776 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
17777 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
17778 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
17779 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
17780 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
17781 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
17782 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
17783 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
17784 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
17785
6bdfc2c4
JJ
177862004-02-11 Jeff Johnston <jjohnstn@redhat.com>
17787
17788 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
17789 executed is an alloc instruction.
17790
87b3ede8
DC
177912004-02-11 David Carlton <carlton@kealia.com>
17792
17793 * gdb.cp/breakpoint.exp: New.
17794 * gdb.cp/breakpoint.cc: New.
17795
6e19e2bf
MC
177962004-02-11 Michael Chastain <mec.gnu@mindspring.com>
17797
17798 Partial fix for PR gdb/1543.
17799 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
17800 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
17801 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
17802 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
17803 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
17804 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
17805 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
17806 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
17807 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
17808 to bug-gdb@prep.ai.mit.edu .
17809 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
17810 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
17811 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
17812 Likewise.
17813
5c5455dc
AC
178142004-02-10 Andrew Cagney <cagney@redhat.com>
17815
17816 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
17817 using gdb_internal_error_resync.
17818
9cf689d7
DJ
178192004-02-09 Daniel Jacobowitz <drow@mvista.com>
17820
17821 * gdb.threads/thread-specific.exp: Stop early if no threads are
17822 found.
17823
d2dc51db
MC
178242004-02-09 Michael Chastain <mec.gnu@mindspring.com>
17825
17826 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
17827
14b1a056
DJ
178282004-02-08 Daniel Jacobowitz <drow@mvista.com>
17829
17830 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
17831 breakpoints.
17832
83f66e8f
DJ
178332004-02-07 Daniel Jacobowitz <drow@mvista.com>
17834
17835 * config/sim.exp (gdb_load): Handle $arg == "".
17836 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
17837 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
17838
30fc0091
EZ
178392004-02-07 Elena Zannoni <ezannoni@redhat.com>
17840
a9c64011
AS
17841 * gdb.base/maint.exp: Update test to reflect
17842 obstack changes.
30fc0091 17843
4d806929
JJ
178442004-02-04 Jeff Johnston <jjohnstn@redhat.com>
17845
17846 * gdb.base/pendshr.c (pendfunc): New function that calls
17847 pendfunc1.
17848 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
17849
7bfdd688
FF
178502004-02-04 Fred Fish <fnf@redhat.com>
17851
17852 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
17853 function symbols and update copyright years.
17854 * gdb.arch/gdb1291.c: Ditto.
17855
aaa08ee4
MC
178562004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17857
17858 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
17859
dbad7755
MC
178602004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17861
17862 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
17863
ec4646ef
MC
178642004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17865
17866 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
17867
1b802196
FF
178682004-02-02 Fred Fish <fnf@redhat.com>
17869
17870 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
17871 remote targets. Update copyright years.
17872
18fe2033
JJ
178732004-02-02 Jeff Johnston <jjohnstn@redhat.com>
17874
17875 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
17876 support.
17877 * gdb.base/langs.exp: Fix test which attempts to create
17878 breakpoint on non-existent function to handle new pending
17879 support.
17880 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
17881 a breakpoint.
17882 * gdb.base/pending.exp: New test.
17883 * gdb.base/pending.c: New file.
17884 * gdb.base/pendshr.c: Ditto.
17885
8d577d32
DC
178862004-02-02 David Carlton <carlton@kealia.com>
17887
17888 * gdb.cp/overload.exp: Add overloadNamespace tests.
17889 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
17890 (overloadNamespace, XXX): New.
17891 (main): Call XXX::marker2.
17892
3ad13771
FF
178932004-02-01 Fred Fish <fnf@redhat.com>
17894
17895 * gdb.base/dump.exp: Use runto_main instead of "runto main".
17896 * gdb.base/finish.exp: Ditto.
17897 * gdb.base/gcore.exp: Ditto.
17898 * gdb.base/huge.exp: Ditto.
17899 * gdb.base/info-proc.exp: Ditto.
17900 * gdb.base/return2.exp: Ditto.
17901 * gdb.threads/gcore-thread.exp: Ditto.
17902
44c75849
DJ
179032004-02-01 Daniel Jacobowitz <drow@mvista.com>
17904
17905 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
17906
005bc093
MK
179072004-02-01 Mark Kettenis <kettenis@gnu.org>
17908
17909 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
17910 that opening the file succeeds on OpenBSD.
17911
c47cebdb
DJ
179122004-02-01 Daniel Jacobowitz <drow@mvista.com>
17913
17914 * gdb.threads/thread-specific.c: New file.
17915 * gdb.threads/threads-specific.exp: New test script.
17916 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
17917 to expect_out.
17918
5a01311c
MK
179192004-02-01 Mark Kettenis <kettenis@gnu.org>
17920
17921 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
17922 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
17923 only on the "print_small_structs from print_long_arg_list" test.
17924
ce22a4f1
DJ
179252004-02-01 Daniel Jacobowitz <drow@mvista.com>
17926
17927 * gdb.base/completion.exp: Kill a stray backslash.
17928
17929 From Jim Ingham <jingham@apple.com>:
17930 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
17931 agrees with the result from sending a tab.
17932
abbab9d3
DJ
179332004-01-31 Daniel Jacobowitz <drow@mvista.com>
17934
17935 * gdb.base/chng-syms.exp: Remove stray newline.
17936
53904d1e
MK
179372004-01-31 Mark Kettenis <kettenis@gnu.org>
17938
17939 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
17940 *-*-openbsd*.
17941 * gdb.asm/openbsd.inc: New file.
17942
3a4b3aac
MK
179432004-01-30 Mark Kettenis <kettenis@gnu.org>
17944
17945 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
17946 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
17947 *-*solaris2*. Remove commented out default settings for
17948 asm-flags. Replace gdb_compile with target_link.
17949
ebac27b4
MC
179502004-01-29 Michael Chastain <mec.gnu@mindspring.com>
17951
17952 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
17953 for all tests. Remove old hp-ux and cygnus xfail cases.
17954
d8679d84
PH
179552004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
17956
17957 * gdb.base/chng-syms.exp: New file.
17958 * gdb.base/chng-syms.c: New file.
17959
0a55bc22
MC
179602004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17961
17962 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
17963 Provide arms for current output in all my configurations.
17964
94b8e876
MC
179652004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17966
17967 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
17968 * lib/compiler.cc: Likewise.
17969 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
17970 get the right preprocessor. Eval the output directly. Remove
17971 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
17972 hp_f77_compiler and hp_f90_compiler completely.
17973 (gdb_preprocess): Delete.
17974 (get_compiler): Delete.
17975
7cf03d44
MK
179762004-01-24 Mark Kettenis <kettenis@gnu.org>
17977
17978 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
17979 <string.h>.
17980
68b6dce9
NR
179812004-01-24 Nick Roberts <nick@nick.uklinux.net>
17982
17983 * gdb.mi/mi-stack.exp: Update copyright.
17984
b368761e
DC
179852004-01-23 David Carlton <carlton@kealia.com>
17986
17987 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
17988 test for cp_lookup_transparent_type.
17989 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
17990 call them.
17991
f2061b53
DJ
179922004-01-23 Daniel Jacobowitz <drow@mvista.com>
17993
17994 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
17995 after -var-update.
17996
37fc574a
DC
179972004-01-23 David Carlton <carlton@kealia.com>
17998
17999 * gdb.cp/namespace.cc (C::ensureRefs): New.
18000 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
18001
8e94b928
NR
180022004-01-20 Nick Roberts <nick@nick.uklinux.net>
18003
18004 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
18005 case "-stack-list-locals 2".
18006 * gdb.mi/mi-var-child.exp: Test for case
18007 "-var-list-children --all-values NAME".
18008
997b0952
MC
180092004-01-18 Michael Chastain <mec.gnu@mindspring.com>
18010
18011 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
18012
52470da3
MK
180132004-01-18 Mark Kettenis <kettenis@gnu.org>
18014
7049b4b8
MK
18015 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
18016 used with gdb_test_multiple.
18017
52470da3
MK
18018 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
18019 read at address 0. This fixes PR testsuite/1504.
18020
da6012e5
DJ
180212004-01-18 Daniel Jacobowitz <drow@mvista.com>
18022
18023 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
18024 Remove downloading, guessing the host executable, the calls to
18025 gdb_file_cmd and gdb_target_cmd, and "load" support.
18026 (infer_host_exec): New function broken out from gdb_load.
18027 (gdb_load): New wrapper for gdbserver_gdb_load.
18028 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
18029 gdb_target_cmd. Use -target-select.
18030 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
18031 Download binaries to the host. Clear last_mi_remote_file when
18032 we load a new binary.
18033 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
18034 call gdbserver_gdb_load and mi_gdb_target_cmd.
18035
32c70722
MC
180362004-01-17 Michael Chastain <mec.gnu@mindspring.com>
18037
18038 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
18039 type patterns.
18040
b0cecf36
MC
180412004-01-17 Michael Chastain <mec.gnu@mindspring.com>
18042
18043 * gdb.cp/templates.exp: Fix typo in test name of
18044 "print Foo<volatile char*>::foo".
18045
4120d7e6
MC
180462004-01-15 Michael Chastain <mec.gnu@mindspring.com>
18047
18048 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
18049
f679e530
BE
180502004-01-16 Ben Elliston <bje@wasabisystems.com>
18051
18052 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
18053 (clean mostlyclean): Remove empty rm.
18054
091c48f6
MC
180552004-01-15 Michael Chastain <mec.gnu@mindspring.com>
18056
18057 * gdb.base/setvar.exp: Add copyright years.
18058
3e5fc8d2
DC
180592004-01-14 David Carlton <carlton@bactrian.org>
18060
18061 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
18062 PR c++/1511 and update coment.
18063 * gdb.cp/templates.exp: Update patterns to match current output.
18064 If changes involve something other than whitespace, KFAIL
18065 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
18066
63d06c5c
DC
180672004-01-14 David Carlton <carlton@kealia.com>
18068
18069 * gdb.cp/namespace.exp: Add tests involving classes defined within
18070 namespaces.
18071 * gdb.cp/namespace.cc (C::CClass): New.
18072 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
18073
a51dab88
EZ
180742004-01-14 Elena Zannoni <ezannoni@redhat.com>
18075
18076 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
18077 what debug info we have. Print a better message if something goes
18078 wrong while producing the separate debug info file.
18079
a476ccc9
MC
180802004-01-14 Michael Chastain <mec.gnu@mindspring.com>
18081
18082 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
18083
f453692c
MC
180842004-01-14 Michael Chastain <mec.gnu@mindspring.com>
18085
18086 * gdb.base/callfuncs.c: Add copyright notice.
18087
f40063a5
MC
180882004-01-13 Michael Chastain <mec.gnu@mindspring.com>
18089
18090 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
18091 inheritance. PR gdb/1498, PR gcc/13539.
18092
19ac3974
EZ
180932004-01-13 Elena Zannoni <ezannoni@redhat.com>
18094
a9c64011
AS
18095 * gdb.threads/gcore-thread.exp: Prefix name of binary with
18096 test specific name.
18097 * gdb.mi/gdb669.exp: Ditto.
18098 * gdb.mi/mi-pthreads.exp: Ditto.
18099 * gdb.mi/mi1-pthreads.exp: Ditto.
18100 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 18101
56c97c6e
MC
181022004-01-12 Michael Chastain <mec.gnu@mindspring.com>
18103
18104 * gdb.cp/member-ptr.cc: Add copyright notice.
18105
a0644324
MC
181062004-01-12 Michael Chastain <mec.gnu@mindspring.com>
18107
18108 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
18109 some patterns for recent versions of gcc and hpacc. Delete
18110 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
18111 Delete tests that access a NULL pointer-to-member-data. This
18112 script is still disabled for gcc.
18113
32fabe09
EZ
181142004-01-12 Elena Zannoni <ezannoni@redhat.com>
18115
18116 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 18117 escaped correctly.
32fabe09 18118
1f8a6abb
EZ
181192004-01-12 Elena Zannoni <ezannoni@redhat.com>
18120
18121 * gdb.base/sepdebug.exp: New file.
18122 * gdb.base/sepdebug.c: New file.
18123 * lib/gdb.exp (separate_debug_filename): New procedure.
18124 (gdb_gnu_strip_debug): New procedure.
18125
48efe704
AC
181262004-01-12 Andrew Cagney <cagney@redhat.com>
18127
18128 * gdb.mi/ChangeLog: Delete file. Renamed to ...
18129 * gdb.mi/ChangeLog-1999-2003: New file.
18130
a9415475
AC
181312004-01-12 Andrew Cagney <cagney@redhat.com>
18132
18133 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
18134 "Renaming a directory to a non-empty directory returns ENOTEMPTY
18135 or EEXIST", treat EBUSY as an XFAIL.
18136
83b8cf9d
MC
181372004-01-11 Michael Chastain <mec.gnu@mindspring.com>
18138
18139 * gdb.base/scope.exp: Remove obsolete setup_xfail for
18140 hp_cc_compiler.
18141
9939d2a8
MC
181422004-01-10 Michael Chastain <mec.gnu@mindspring.com>
18143
18144 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
18145 decorations.
18146
1ff8cadf
MC
181472004-01-10 Michael Chastain <mec.gnu@mindspring.com>
18148
18149 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
18150 and "(aCC)" decorations. Remove obsolete doco about old
18151 test results.
18152
6fa9022e
MC
181532004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18154
18155 * gdb.cp/exception.exp: Fix typo in doco.
18156
209721fe
MK
181572004-01-09 Mark Kettenis <kettenis@gnu.org>
18158
18159 * gdb.base/gdb1476.exp: Fix typo.
18160
ef11303e
MC
181612004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18162
18163 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
18164 file.
18165
041ab88c
MC
181662004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18167
18168 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
18169 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
18170 Use gdb_compile. Remove restriction on gcc. Add some patterns
18171 for recent version of gdb. Delete second half, which was a copy
18172 of the first half with different build flags. This test is
18173 still disabled because it is still not ready for production.
18174
e36d075a
MC
181752004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18176
18177 * gdb.cp/exception.cc: Add copyright notice.
18178 * gdb.cp/exception.exp: Add a notice that this file is broken
18179 because of line number changes caused by addition of copyright
18180 notice.
18181
42b190ad
MC
181822004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18183
18184 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
18185 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
18186
8f25f06b
MC
181872004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18188
18189 * gdb.cp/classes.exp: Accept gnu abi 2.
18190 * gdb.cp/derivation.exp: Likewise.
18191 * gdb.cp/overload.exp: Likewise.
18192 * gdb.cp/virtfunc.exp: Likewise.
18193
06ded8b8
MC
181942004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18195
18196 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
18197 semicolon after end of function.
18198
77c26ae3
MC
181992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18200
18201 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
18202 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
18203 boilerplate code for compiling and running the program under
18204 test. Add some string method tests.
18205
20757486
MC
182062004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18207
18208 * gdb.cp/bs15503.cc: Add copyright notice.
18209 * gdb.cp/bs15503.exp: Adjust line number.
18210
0fd3b503
MC
182112004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18212
18213 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
18214 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
18215
10d1bea8
MC
182162004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18217
18218 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
18219 hp_cc_compiler.
18220
2789202a
MC
182212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18222
18223 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
18224 * gdb.cp/ctti.exp: Use the marker instead of "next".
18225 With gcc, run further before bailing.
18226
b862f14c
MC
182272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18228
18229 * gdb.cp/cttiadd.cc: Add copyright notice.
18230 * gdb.cp/cttiadd1.cc: Likewise.
18231 * gdb.cp/cttiadd2.cc: Likewise.
18232 * gdb.cp/cttiadd3.cc: Likewise.
18233
96da2469
MC
182342004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18235
18236 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
18237 Use gdb_test, gdb_test_multiple. Use floating-point values that
18238 have exact representations in IEEE-ish formats.
18239
053248ff
MC
182402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18241
18242 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
18243 compilers. Delete duplicate call to get_compiler_info.
18244 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
18245 * gdb.base/volatile.exp: Likewise.
18246
84acecdd
MK
182472004-01-07 Mark Kettenis <kettenis@gnu.org>
18248
18249 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
18250 memory at address 0.
18251
fe11a27f
MC
182522004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18253
18254 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
18255 to test for hp-ux assembler. Fix copyright years.
18256
60ad077b
AC
182572004-01-07 Andrew Cagney <cagney@redhat.com>
18258
18259 * gdb.base/fileio.c (strerrno): Add "EBUSY".
18260
1c9b8f33
AC
182612004-01-07 Andrew Cagney <cagney@redhat.com>
18262
18263 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
18264 when creating the read-only file. From analysis by Roland McGrath
18265 and Elena Zannoni.
18266
753ccc7a
MC
182672004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18268
18269 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
18270
eca3e36b
MC
182712004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18272
18273 * gdb.base/cvexpr.c: Be type-safe with function pointers and
18274 data pointers.
18275
f8d4bac4
MC
182762004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18277
18278 * gdb.cp/m-static.exp: Compile one source file at a time.
18279 Delete unused call to get_compiler_info.
18280
9b4e0f94
MC
182812004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18282
18283 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
18284 * gdb.base/call-rt-st.exp: Likewise.
18285 * gdb.base/nodebug.exp: Likewise.
18286 * gdb.base/volatile.exp: Likewise.
18287 * gdb.cp/ref-types.exp: Likewise.
18288 * gdb.cp/templates.exp: Likewise.
18289
023c1024
MK
182902004-01-05 Mark Kettenis <kettenis@gnu.org>
18291
18292 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
18293
19703c4a
MC
182942004-01-05 Michael Chastain <mec.gnu@mindspring.com>
18295
18296 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
18297 hppa*-hp-hpux*.
18298
18b67037
MK
182992004-01-04 Mark Kettenis <kettenis@gnu.org>
18300
ba6219c8
MK
18301 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18302 x86_64-*-*.
18303
18b67037
MK
18304 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18305 sparc64-*-* and sparc*-solaris2*.
18306
1bfbbb9d
MK
183072004-01-04 Mark Kettenis <kettenis@gnu.org>
18308
18309 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
18310 return ${tests}" test. The ${tests} already mentions the
18311 filename.
18312
06846494
MC
183132004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18314
18315 * gdb.cp/local.exp: Accept gcc abi 2.
18316
3b0cb202
MC
183172004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18318
18319 * gdb.cp/templates.exp: Accept gcc abi 2.
18320
0643ec3f
MC
183212004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18322
18323 * lib/compiler.cc: Remove supports_template_debugging.
18324 * gdb.cp/templates.exp: Do not test supports_template_debugging.
18325
d231d0b1
MC
183262004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18327
18328 * gdb.cp/namespace.exp: Accept gcc abi 2.
18329
44ffb27c
MC
183302004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18331
18332 * gdb.cp/method.exp: Accept gcc abi 2.
18333
184ad485
MC
183342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18335
18336 * gdb.cp/classes.exp: Generate identical results as old version.
18337 * gdb.cp/derivation.exp: Likewise.
18338 * gdb.cp/overload.exp: Likewise.
18339 * gdb.cp/virtfunc.exp: Likewise.
18340
116f09e7
MC
183412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18342
18343 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
18344 mysterious bug with sourceware version of expect.
18345
b1379776
MC
183462004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18347
18348 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
18349 current versions of gcc, including gcc abi 2. Remove gratuitous
18350 restart of test program. Use gdb_test_multiple and gdb_test for
18351 all tests. Add patterns to xfail missing "const" in "const char *"
18352 and kfail PR gdb/1155.
18353
6b7a4c0e
MC
183542004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18355
18356 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
18357 current versions of gcc, including gcc abi 2. Remove gratuitous
18358 restart of test program. Use gdb_test_multiple and gdb_test for
18359 all tests. Add patterns to kfail PR gdb/1498.
18360
51615d72
MC
183612003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18362
18363 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
18364 current versions of gcc, including gcc abi 2. Use "breakpoint"
18365 and "continue" instead of restarting the target program. Use
18366 gdb_test_multiple and gdb_test for all tests.
18367
7b79a9d7
MK
183682004-01-01 Mark Kettenis <kettenis@gnu.org>
18369
18370 * gdb.asm/asm-source.exp: Update copyright year. Link statically
18371 for *-*-solaris2*.
18372
1cd3489f
MC
183732003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18374
18375 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
18376 current versions of gcc, including gcc abi 2. Use "breakpoint"
18377 and "continue" instead of restarting the target program several
18378 times. Use gdb_test_multiple and gdb_test for all tests.
18379
850742db
MC
183802003-12-18 Michael Chastain <mec.gnu@mindspring.com>
18381
18382 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
18383 source files.
18384
eb4bbda8
MC
183852003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18386
18387 * gdb.base/environ.exp: Handle compiling test case from multiple
18388 source files.
18389
e42c7771
MC
183902003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18391
18392 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
18393
80e4b428
JB
183942003-12-17 Jim Blandy <jimb@redhat.com>
18395
5f06973a
JB
18396 * gdb.base/freebpcmd.c: Add copyright notice.
18397
80e4b428
JB
18398 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
18399
0ab84fb7
MC
184002003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18401
18402 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
18403
1b3bb3d0
JB
184042003-12-13 Jim Blandy <jimb@redhat.com>
18405
18406 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
18407
3a4c9371
KB
184082003-12-12 Kevin Buettner <kevinb@redhat.com>
18409
18410 * gdb.asm/frv.inc: New file.
18411 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
18412
a1dea79a
FF
184132003-12-09 Fred Fish <fnf@redhat.com>
18414
18415 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
18416 functions to break1.c and leave prototypes behind. Add more
18417 "set breakpoint NN here" comments.
18418 * gdb.base/break1.c: New file.
18419
18420 * gdb.base/break.exp: Handle compiling test case from multiple
18421 source files and change source file references as needed.
18422 * gdb.base/completion.exp: Ditto.
18423 * gdb.base/condbreak.exp: Ditto.
18424 * gdb.base/define.exp: Ditto.
18425 * gdb.base/ena-dis-br.exp: Ditto.
18426 * gdb.base/info-proc.exp: Ditto.
18427 * gdb.base/maint.exp: Ditto.
18428 * gdb.base/until.exp: Ditto.
18429
18430 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
18431 hardcoded line numbers.
18432 * gdb.base/define.exp: Ditto.
18433 * gdb.base/ena-dis-br.exp: Ditto.
18434 * gdb.base/maint.exp: Ditto.
18435 * gdb.base/until.exp: Ditto.
18436
18437 * gdb.base/completion.exp: Use "break1" for completion tests since
18438 "break" is no longer a unique prefix.
18439
5266b69c
AC
184402003-12-06 Andrew Cagney <cagney@redhat.com>
18441
18442 * gdb.base/structs.exp (test_struct_returns): When applicable, set
18443 "return_value_unimplemented". When an unimplemented struct return
18444 architecture, report incorrect values as a KFAIL
18445
374451f0
MC
184462003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18447
18448 * gdb.cp/rtti.exp: Accept new wording of warning from
18449 cp_lookup_rtti_type.
18450
ba9b20a7
MC
184512003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18452
18453 Partial fix for PR testsuite/1456.
18454 * gdb.base/scope.exp (test_at_main): Replace references to
18455 gcc_compiled with calls to test_compiler_info.
18456 (test_at_foo): Likewise.
18457 (test_at_bar): Likewise.
18458
b74b6d0b
MC
184592003-12-04 Michael Chastain <mec.gnu@mindspring.com>
18460
18461 Partial fix for PR testsuite/1456.
18462 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
18463 to test_compiler_info.
18464
ccfa3402
MC
184652003-12-03 Michael Chastain <mec.gnu@mindspring.com>
18466
18467 * gdb.base/so-impl-ld.exp: Update copyright notice.
18468
f6246aba
MC
184692003-12-02 Michael Chastain <mec.gnu@mindspring.com>
18470
18471 Partial fix for PR testsuite/1456.
18472 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
18473 to test_compiler_info.
18474
13ae734a
MC
184752003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18476
18477 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
18478 from current versions of gdb. Clean up regular expressions.
18479 Delete redundant timeout case.
18480
d8e1cdee
MC
184812003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18482
18483 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
18484 from current versions of gdb. Clean up regular expressions.
18485 Delete redundant timeout case.
18486
96457b64
MC
184872003-12-01 Michael Chastain <mec.gnu@mindspring.com>
18488
18489 Partial fix for PR testsuite/1456.
18490 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
18491 gcc_compiled with call to test_compiler_info.
18492
f35309fc
MC
184932003-11-30 Michael Chastain <mec.gnu@mindspring.com>
18494
18495 Partial fix for PR testsuite/1456.
18496 * gdb.base/list.exp (test_list_function): Delete unused declaration
18497 of gcc_compiled.
18498
d7afdf9b
MC
184992003-11-29 Michael Chastain <mec.gnu@mindspring.com>
18500
18501 Partial fix for PR testsuite/1456.
18502 * gdb.base/complex.exp: Replace reference to gcc_compiled with
18503 call to test_compiler_info.
18504
71507b56
MK
185052003-11-29 Mark Kettenis <kettenis@gnu.org>
18506
18507 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
18508 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
18509 it to create the appropriate note.inc.
18510 * gdb.asm/asmsrc1.s: Include "note.inc".
18511 * gdb.asm/netbsd.inc: New file.
18512 * gdb.asm/empty.inc: New file.
18513
f81f93f7
MC
185142003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18515
18516 Partial fix for PR testsuite/1456.
18517 * gdb.base/constvars.exp: Replace references to gcc_compiled with
18518 calls to test_compiler_info.
18519
9a77938e
MC
185202003-11-27 Michael Chastain <mec.gnu@mindspring.com>
18521
18522 Partial fix for PR testsuite/1456.
18523 * gdb.base/volatile.exp: Replace references to gcc_compiled with
18524 calls to test_compiler_info.
18525
e8367dc7
MK
185262003-11-27 Mark Kettenis <kettenis@gnu.org>
18527
18528 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
18529 pattern for the KFAILs.
18530
526c61ee
AF
185312003-11-25 Adam Fedor <fedor@gnu.org>
18532
18533 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
18534 * gdb.objc/objcdecode.m: New file.
18535
28f2d600
AF
185362003-11-25 Adam Fedor <fedor@gnu.org>
18537
18538 * gdb.objc/nondebug.exp: Test for PR objc/1236.
18539 * gdb.objc/nondebug.m: New file.
18540
a3895cee
BE
185412003-11-26 Ben Elliston <bje@wasabisystems.com>
18542
18543 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
18544 NetBSD as it does on FreeBSD. Modelled on a similar change by
18545 Mark Kettenis on 2003-05-30.
18546 (link-flags): Set to "--entry _start" regardless of target.
18547 Special linker flags are to be appended to $link-flags.
18548 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
18549
c9f2c8a3
MC
185502003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18551
18552 * gdb.cp/method.exp: Accept output of new demangler.
18553
15a0587a 185542003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
18555
18556 * gdb/class2.exp: New file.
18557 * gdb/class2.cc: New file.
18558
3c00b570
MC
185592003-11-25 Michael Chastain <mec.gnu@mindspring.com>
18560
18561 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
18562 of new demangler.
18563
7027acc7
MK
185642003-11-23 Mark Kettenis <kettenis@gnu.org>
18565
18566 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
18567 of gdb_test "run".
18568
b0e1598a
MK
185692003-11-23 Mark Kettenis <kettenis@gnu.org>
18570
18571 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
18572 "continue" into "run".
18573
4d9eda44
MC
185742003-11-23 Michael Chastain <mec.gnu@mindspring.com>
18575
18576 Partial fix for PR testsuite/1456.
18577 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
18578 call to test_compiler_info.
18579 * gdb.cp/ctti.exp: Likewise.
18580 * gdb.cp/derivation.exp: Likewise.
18581 * gdb.cp/member-ptr.exp: Likewise.
18582 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
18583 reference to gcc_compiled.
18584
185852003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
18586
18587 Fix PR testsuite/1463.
18588 * gdb.base/structs.exp (start_structs_test): Call
18589 get_debug_format before using the debug format.
18590
d422fe19
AC
185912003-11-22 Andrew Cagney <cagney@redhat.com>
18592
18593 * lib/gdb.exp (gdb_test_multiple): Add simple example.
18594 * gdb.base/structs.exp: Use gdb_test_multiple.
18595
039cf96d
AC
185962003-11-20 Andrew Cagney <cagney@redhat.com>
18597
6882279b
AC
18598 * gdb.base/structs.exp: Handle and recover from internal errors.
18599 Replace "foo${n}" with "foo<n>" in test messages.
18600
e53890ae
AC
18601 * gdb.base/structs.exp: Update copyright. Rewrite.
18602 * gdb.base/structs.c: Update copyright. Rewrite.
18603
2b211c59
AC
18604 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
18605 resync count exceeded.
d63a86f8 18606
039cf96d
AC
18607 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
18608 from the internal error.
18609 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
18610 Original from Jim Blandy.
18611 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 18612
eac98b22
AC
186132003-11-19 Andrew Cagney <cagney@redhat.com>
18614
18615 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
18616 KFAIL.
18617
67455b2a
MK
186182003-11-17 Mark Kettenis <kettenis@gnu.org>
18619
18620 New testcase for PR backtrace/1435.
18621 * gdb.arch/i386-unwind.exp: New file.
18622 * gdb.arch/i386-unwind.c: New file.
18623
853d6e5b
AC
186242003-11-17 Andrew Cagney <cagney@redhat.com>
18625
18626 * lib/gdb.exp (compiler_info): New global.
18627 (test_compiler_info): New function.
18628 (get_compiler_info): Set compiler_info.
18629 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
18630 "compiler_info" to gcc-<major>-<minor>.
18631
38cf6e11
MC
186322003-11-15 Michael Chastain <mec.gnu@mindspring.com>
18633
18634 * gdb.trace/configure: Remove.
18635
a50d3602
EZ
186362003-11-13 Elena Zannoni <ezannoni@redhat.com>
18637
18638 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 18639 breakpoints.
a50d3602
EZ
18640 * gdb.base/break.exp: Remove all references to explicit line
18641 numbers.
18642
d9407aaa
NC
186432003-11-11 Nick Clifton <nickc@redhat.com>
18644
18645 * gdb.base/shreloc.exp: Do not run for targets which do not
18646 support shared objects.
18647
db488fc1
CV
186482003-11-10 Corinna Vinschen <vinschen@redhat.com>
18649
18650 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
18651 Don't run tests if nofileio flag is given.
18652
6a90a18e
EZ
186532003-11-07 Elena Zannoni <ezannoni@redhat.com>
18654
18655 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 18656 as well as 'Watchpoint'.
6a90a18e 18657
0b915e9c
EZ
186582003-11-06 Elena Zannoni <ezannoni@redhat.com>
18659
18660 Reported by Jim Ingham <jingham@apple.com>:
18661 * gdb.base/annota1.exp: Match at least one occurrence of the
18662 signal handler annotation.
18663
d7e4b55f
EZ
186642003-11-06 Elena Zannoni <ezannoni@redhat.com>
18665
a9c64011
AS
18666 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
18667 as well as 'Watchpoint'.
d7e4b55f 18668
2fe4e8d0
MC
186692003-11-05 Michael Chastain <mec@shout.net>
18670
18671 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
18672
6ef88553
KW
186732003-11-03 Kris Warkentin <kewarken@qnx.com>
18674
18675 * gdb.arch/gdb1291.c: New test file.
18676 * gdb.arch/gdb1291.exp: New test script.
18677 * gdb.arch/gdb1431.c: New test file.
18678 * gdb.arch/gdb1431.exp: New test script.
18679
ae7dc4d8
MC
186802003-10-22 Michael Chastain <mec@shout.net>
18681
18682 * gdb.mi/pthreads.c: Add copyright notice.
18683
c39d7427
MC
186842003-10-22 Michael Chastain <mec@shout.net>
18685
18686 * gdb.threads/pthreads.c: Add copyright notice.
18687
8b7d96c1
MC
186882003-10-20 Michael Chastain <mec@shout.net>
18689
18690 * gdb.base/gdb1056.exp: New test script.
18691
d1d69fdd
DJ
186922003-10-13 Daniel Jacobowitz <drow@mvista.com>
18693
18694 * gdb.threads/killed.exp: Use gdb_run_cmd.
18695
7d605576
DJ
186962003-10-13 Daniel Jacobowitz <drow@mvista.com>
18697
18698 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
18699 create a core file.
18700 * gdb.threads/gcore-thread.exp: Likewise.
18701
618ec112
CV
187022003-10-13 Corinna Vinschen <vinschen@redhat.com>
18703
18704 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
18705 type, based on char type.
18706 (struct bit_flags_short_t): New bitfield type, based on short type.
18707 (init_bit_flags_char): New fuction.
18708 (init_bit_flags_short): Ditto.
18709 (print_bit_flags_char): Ditto.
18710 (print_bit_flags_short): Ditto.
18711 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
18712
9367a73c
MC
187132003-10-11 Michael Chastain <mec@shout.net>
18714
18715 * gdb.base/call-rt-st.exp: Update copyright year.
18716
1decf120
KI
187172003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
18718
18719 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
18720 * gdb.disasm/sh3.s: Ditto.
18721
5445b2ae
DJ
187222003-10-07 Daniel Jacobowitz <drow@mvista.com>
18723
18724 * gdb.threads/switch-threads.exp: New test.
18725 * gdb.threads/switch-threads.c: New source file.
18726
aec24853
CV
187272003-10-07 Corinna Vinschen <vinschen@redhat.com>
18728
18729 * gdb.base/ending-run.exp: Add sh specific case.
18730
adc7428d
AC
187312003-10-06 Andrew Cagney <cagney@redhat.com>
18732
18733 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
18734 * gdb.disasm/mn10200.exp: Delete obsolete file.
18735
c9d37158
DJ
187362003-09-29 Daniel Jacobowitz <drow@mvista.com>
18737
18738 * ChangeLog: Correct an entry command.exp -> commands.exp.
18739 * gdb.base/commands.exp (bp_deleted_in_command_test)
18740 (temporary_breakpoint_commands): Check noargs.
18741
79c2c32d
DC
187422003-09-25 David Carlton <carlton@kealia.com>
18743
18744 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
18745 of some print tests, where appropriate. Add tests for C::D::cd,
18746 E::ce, F::cXfX, G::XgX.
18747 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
18748
594e6d67
RE
187492003-09-25 Richard Earnshaw <rearnsha@arm.com>
18750
18751 * lib/java.exp (java_init): Import target_alias before using it.
18752
10f0d451
DC
187532003-09-25 David Carlton <carlton@kealia.com>
18754
18755 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
18756
274bcba0
EZ
187572003-09-23 Elena Zannoni <ezannoni@redhat.com>
18758
d63a86f8 18759 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 18760 weirdness.
274bcba0 18761
cdbf20f7
MC
187622003-09-17 Michael Chastain <mec@shout.net>
18763
18764 * gdb.cp/gdb1355.exp: New file.
18765 * gdb.cp/gdb1355.c: New file.
18766
71e06f80
CV
187672003-09-15 Corinna Vinschen <vinschen@redhat.com>
18768
18769 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
18770 * gdb.asm/sh.inc: New file.
18771
5c4e30ca
DC
187722003-09-11 David Carlton <carlton@kealia.com>
18773
bd45b7af
DC
18774 * gdb.cp/namespace.exp: Add tests for namespace types.
18775 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
18776 (test_namespace): New.
18777
1c199746
EZ
187782003-09-11 Elena Zannoni <ezannoni@redhat.com>
18779
a9c64011 18780 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 18781 * gdb.stabs/weird.exp: Ditto.
1c199746 18782
04ed252f
MC
187832003-09-08 Michael Chastain <mec@shout.net>
18784
18785 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
18786
d8a2d9e7
MC
187872003-09-07 Michael Chastain <mec@shout.net>
18788
18789 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
18790 'parse error'.
18791
161afb24
MK
187922003-09-07 Mark Kettenis <m.kettenis@osp.nl>
18793
18794 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
18795
49f2741a
MC
187962003-08-30 Michael Chastain <mec@shout.net>
18797
18798 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
18799 * gdb.gdb/observer.exp: Ditto.
18800 * gdb.gdb/xfullpath.exp: Ditto.
18801
8afa723e
MK
188022003-08-29 Mark Kettenis <kettenis@gnu.org>
18803
18804 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
18805 *-*-*bsd*.
18806
f31dfe3b
JJ
188072003-08-28 Jeff Johnston <jjohnstn@redhat.com>
18808
18809 * gdb.base/dump.exp: Skip for ia64.
18810
4630e498
JJ
188112003-08-25 Jeff Johnston <jjohnstn@redhat.com>
18812
18813 * gdb.asm/asm-source.exp: Add ia64 support.
18814 * gdb.asm/ia64.inc: New file.
18815
1105b7ef
MC
188162003-08-22 Michael Chastain <mec@shout.net>
18817
18818 * gdb.cp: New directory.
18819 * gdb.cp/*: Copy from gdb.c++/*.
18820 * gdb.c++/*: Remove.
18821 * Makefile.in: Change gdb.c++ to gdb.cp.
18822 * configure.in: Ditto.
18823 * configure: Regnerate.
18824
c945b932
MK
188252003-08-18 Mark Kettenis <kettenis@gnu.org>
18826
18827 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
18828 * gdb.arch/i386-prologue.c (gdb1338): Add function.
18829
2b66634b
DJ
188302003-08-17 Daniel Jacobowitz <drow@mvista.com>
18831
18832 * mi-var-display.exp (-var-list-children weird): Accept function
18833 pointers with argument types.
18834 * mi1-var-display.exp (-var-list-children weird): Likewise.
18835 * mi2-var-display.exp (-var-list-children weird): Likewise.
18836
a356f73b
DJ
188372003-08-17 Daniel Jacobowitz <drow@mvista.com>
18838
18839 * gdb.base/annota3.exp: Add missing newline.
18840
483417b8
MC
188412003-08-06 Michael Chastain <mec@shout.net>
18842
18843 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
18844
c99c59c3
MS
188452003-08-12 Michael Snyder <msnyder@redhat.com>
18846
18847 * gdb.base/float.exp: Add test for SH.
18848
55ed7501
MK
188492003-08-10 Mark Kettenis <kettenis@gnu.org>
18850
18851 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
18852
1a371f2e
EZ
188532003-08-07 Elena Zannoni <ezannoni@redhat.com>
18854
18855 * gdb.base/completion.exp: Remove reduntant completion test
18856 on filename.
18857
e0f353ce
EZ
188582003-08-07 Elena Zannoni <ezannoni@redhat.com>
18859
a9c64011
AS
18860 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
18861 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
18862 gdb.trace/save-trace.exp: Make sure that full pathnames are
18863 escaped correctly.
e0f353ce 18864
5710a1af 188652003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 18866
a9c64011
AS
18867 * configure.in: Don't generate config.h from config.hin.
18868 * configure: Regenerate.
18869 * config.hin: Remove file.
18870 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
18871 * gdb.threads/pthreads.c: Ditto.
5710a1af 18872
dcd81ce9
DJ
188732003-08-07 Daniel Jacobowitz <drow@mvista.com>
18874
18875 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18876 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
18877 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
18878 Replace ld24 with seth/add3.
18879
6009d884
AC
188802003-08-02 Andrew Cagney <cagney@redhat.com>
18881
18882 * gdb.base/annota3.exp: New file.
18883 * gdb.base/annota3.c: New file.
18884 * gdb.c++/annota3.exp: New file.
18885 * gdb.c++/annota3.cc: New file.
18886
51514e06
MC
188872003-07-29 Michael Chastain <mec@shout.net>
18888
18889 * gdb.threads/tls.c (spin): Check errno only if sem_wait
18890 actually failed.
18891 (do_pass): Likewise.
18892 * gdb.threads/tls.exp: Always initialize no_of_threads.
18893
4ee6625b
DJ
188942003-07-27 Daniel Jacobowitz <drow@mvista.com>
18895
18896 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
18897 pattern.
18898 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
18899 * gdb.threads/tls.exp: Recognize one case of the host library not
18900 supporting TLS.
18901
225f2bf6
AC
189022003-07-27 Andrew Cagney <cagney@redhat.com>
18903
18904 * gdb.base/fileio.exp: Use SH when running commands using
18905 remote_exec.
18906
bcb27c9f
DJ
189072003-07-24 Daniel Jacobowitz <drow@mvista.com>
18908
18909 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18910 * gdb.base/relocate.c (dummy): New padding array.
18911
3d67be83
MS
189122003-07-22 Michael Snyder <msnyder@redhat.com>
18913
d63a86f8 18914 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
18915
18916 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
18917 patterns to be more general, accepting old and new output.
18918 Some output chars (such as '+') also must be quoted.
d63a86f8 18919 Some addresses are displayed numerically instead of
3d67be83
MS
18920 symbolically.
18921
57ba3b85
MS
189222003-07-23 Michael Snyder <msnyder@redhat.com>
18923
686d097c
MS
18924 * gdb.base/return2.exp: Don't test long-long return.
18925
57ba3b85
MS
18926 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
18927 * gdb.disasm/t01_mov.exp: Ditto.
18928 * gdb.disasm/t02_mova.s: Ditto.
18929 * gdb.disasm/t02_mova.exp: Ditto.
18930 * gdb.disasm/t03_add.s: Ditto.
18931 * gdb.disasm/t03_add.exp: Ditto.
18932 * gdb.disasm/t04_sub.s: Ditto.
18933 * gdb.disasm/t04_sub.exp: Ditto.
18934 * gdb.disasm/t05_cmp.s: Ditto.
18935 * gdb.disasm/t05_cmp.exp: Ditto.
18936 * gdb.disasm/t06_ari2.s: Ditto.
18937 * gdb.disasm/t06_ari2.exp: Ditto.
18938 * gdb.disasm/t07_ari3.s: Ditto.
18939 * gdb.disasm/t07_ari3.exp: Ditto.
18940 * gdb.disasm/t08_or.s: Ditto.
18941 * gdb.disasm/t08_or.exp: Ditto.
18942 * gdb.disasm/t09_xor.s: Ditto.
18943 * gdb.disasm/t09_xor.exp: Ditto.
18944 * gdb.disasm/t10_and.s: Ditto.
18945 * gdb.disasm/t10_and.exp: Ditto.
18946 * gdb.disasm/t11_logs.s: Ditto.
18947 * gdb.disasm/t11_logs.exp: Ditto.
18948 * gdb.disasm/t12_bit.s: Ditto.
18949 * gdb.disasm/t12_bit.exp: Ditto.
18950 * gdb.disasm/t13_otr.s: Ditto.
18951 * gdb.disasm/t13_otr.exp: Ditto.
18952
e00759ef
EZ
189532003-07-22 Elena Zannoni <ezannoni@redhat.com>
18954
18955 * gdb.threads/tls.exp :Add kfail for 'info address' case.
18956
8bc2021f
EZ
189572003-07-22 Elena Zannoni <ezannoni@redhat.com>
18958
a9c64011
AS
18959 * gdb.threads/tls.c : New file.
18960 * gdb.threads/tls.exp : New file.
18961 * gdb.threads/tls-main.c : New file.
18962 * gdb.threads/tls-shared.c : New file.
18963 * gdb.threads/tls-shared.exp : New file.
8bc2021f 18964
89320c4c
AS
189652003-07-22 Andreas Schwab <schwab@suse.de>
18966
18967 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
18968
180dea7c
AS
189692003-07-20 Andreas Schwab <schwab@suse.de>
18970
18971 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
18972 due to insn reordering.
18973
0714963c
AC
189742003-07-15 Andrew Cagney <cagney@redhat.com>
18975
18976 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
18977
98a23b3f
MC
189782003-07-15 Michael Chastain <mec@shout.net>
18979
18980 * gdb.base/gdb1250.exp: New file.
18981 * gdb.base/gdb1250.c: New file.
18982
27e417a2
ML
189832003-07-09 Michal Ludvig <mludvig@suse.cz>
18984
18985 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
18986 expansion of size_t to 'unsigned long', not only to 'unsigned'.
18987
8bc2021f
EZ
189882003-07-09 Elena Zannoni <ezannoni@redhat.com>
18989
a9c64011
AS
18990 * gdb.threads/tls.c: New file.
18991 * gdb.threads/tls.exp: New file.
18992 * gdb.threads/tls-main.c: New file.
18993 * gdb.threads/tls-shared.c: New file.
18994 * gdb.threads/tls-shared.exp: New file.
8bc2021f 18995
d99968dc
EZ
189962003-07-09 Elena Zannoni <ezannoni@redhat.com>
18997
18998 * gdb.base/annota1.exp: Make sure that we properly escape the
18999 full path of the source file. Xfail more permissive patterns,
d63a86f8 19000 due to a compiler debug info problem.
d99968dc 19001
83876b3b
AS
190022003-07-07 Andreas Schwab <schwab@suse.de>
19003
2705e972
AS
19004 * gdb.asm/m68k.inc: New file.
19005 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
19006
83876b3b
AS
19007 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
19008 arguments"): Also match negative number.
19009
19010 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
19011
3a871b37
DJ
190122003-07-03 Daniel Jacobowitz <drow@mvista.com>
19013
19014 * gdb.base/store.c (charest): New typedef.
19015 (add_char): Rename to add_charest, update.
19016 (wack_char): Rename to wack_charest, update types. Return l + r
19017 to keep r live across the call.
19018 (wack_short, wack_int, wack_long, wack_longest, wack_float)
19019 (wack_double, wack_doublest): Return l + r to keep r live across
19020 the call.
19021 * gdb.base/store.exp: Accomodate store.c changes.
19022
b2a7f303
DC
190232003-06-30 David Carlton <carlton@kealia.com>
19024
19025 * gdb.c++/maint.exp (test_invalid_name): New.
19026 (test_first_component): Add tests for invalid names.
19027
3c6cb4a1
MC
190282003-06-29 Michael Chastain <mec@shout.net>
19029
19030 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
19031 output of '<VTT for class>' for virtual base classes.
19032
f1c2644b
DJ
190332003-06-29 Daniel Jacobowitz <drow@mvista.com>
19034
19035 * gdb.base/completion.exp: Tab-complete "complet" instead of
19036 "compl".
19037 * gdb.base/complex.exp, gdb.base/complex.c: New files.
19038
18080350
DJ
190392003-06-29 Daniel Jacobowitz <drow@mvista.com>
19040
19041 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
19042 * gdb.base/volatile.exp: Likewise.
19043
f56973f8
DJ
190442003-06-29 Daniel Jacobowitz <drow@mvista.com>
19045
19046 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
19047 gdb/1265.
19048
190492003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
19050 Daniel Jacobowitz <drow@mvista.com>
19051
19052 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
19053 initial line count of 'captured_main' from 26 to 32.
19054 (test_with_self): Allow xmalloc call to be interleaved with the
19055 preceding two lines.
19056
e766d4d6
JB
190572003-06-24 Joel Brobecker <brobecker@gnat.com>
19058
19059 * gdb.base/bang.exp: New testcase.
19060
f125c9a4
JB
190612003-06-23 Joel Brobecker <brobecker@gnat.com>
19062
19063 * gdb.base/langs.exp: Add some tests for the "minimal" language
19064 support.
19065
6e25beaf
EZ
190662003-06-23 Elena Zannoni <ezannoni@redhat.com>
19067
19068 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
19069 the testcase.
19070
2f816dda
DJ
190712003-06-22 Daniel Jacobowitz <drow@mvista.com>
19072
19073 * gdb.base/relocate.exp: Test add-symbol-file with a variable
19074 offset.
19075
db5a5748
DJ
190762003-06-22 Daniel Jacobowitz <drow@mvista.com>
19077
19078 * gdb.c++/pr-1210.cc: New file.
19079 * gdb.c++/pr-1210.exp: New file.
19080
1df0c130
DJ
190812003-06-21 Daniel Jacobowitz <drow@mvista.com>
19082
19083 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
19084 000-exec-continue.
19085
a92feac0
MK
190862003-06-15 Mark Kettenis <kettenis@gnu.org>
19087
19088 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
19089 on *-*-*bsd* instead of *-*-freebsd*.
19090
81a58f5b
AC
190912003-06-14 Andrew Cagney <cagney@redhat.com>
19092
19093 * gdb.base/store.exp: Test longest and doublest. Test all
19094 parameters. Weaken return statement match.
19095 * gdb.base/store.c: Add longest and doublest - aka long long and
19096 long double functions. Put all parameters into local register
19097 variables. Use negative values.
19098
b257a0d3
AC
190992003-06-14 Andrew Cagney <cagney@redhat.com>
19100
19101 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
19102 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
19103 exit status.
19104 * gdb.base/fileio.exp: Disable target when nointerrupts and
19105 noinferiorio, instead of limiting it to remote. Use remote_exec
19106 instead of system.
d63a86f8 19107
21c38304
JJ
191082003-06-12 Jeff Johnston <jjohnstn@redhat.com>
19109
19110 * gdb.base/float.exp: Add ia64 support.
19111
1bcdb424
CV
191122003-06-12 Corinna Vinschen <vinschen@redhat.com>
19113
19114 * gdb.base/fileio.exp: Run only on remote targets.
19115
6aeb981f
CV
191162003-06-10 Corinna Vinschen <vinschen@redhat.com>
19117
19118 * gdb.base/fileio.c: New file, testing File-I/O.
19119 * gdb.base/fileio.exp: Ditto.
19120
53df362e
RG
191212003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
19122
19123 * gdb.base/shreloc.exp: New file, check symbol values obtained from
19124 shared objects after relocation at load time (gdb PR/1132).
19125 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 19126 as above, part of the shared object relocation test.
53df362e 19127
ffee1b46
MK
191282003-06-08 Mark Kettenis <kettenis@gnu.org>
19129
b5ca3722
MK
19130 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
19131 fully filled history list.
19132 * gdb.base/gdb_history: New file.
19133
03ed860d
MK
19134 * gdb.base/signals.exp: XFAIL "continue to func1" on
19135 i*86-*-freebsd*.
19136
ffee1b46
MK
19137 * gdb.base/attach.exp: When trying to attach to a nonexistent
19138 process, make it possible to specify the PID based on the target,
19139 and do so for *-*-freebsd*.
19140
d80dbb52
RH
191412003-06-02 Richard Henderson <rth@redhat.com>
19142
19143 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
19144
6dd77b81
RH
191452003-06-02 Richard Henderson <rth@redhat.com>
19146
19147 * gdb.base/selftest.exp: Next over lim_at_start initialization.
19148
f6347e16
RH
191492003-06-02 Richard Henderson <rth@redhat.com>
19150
19151 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
19152
2c161407
DJ
191532003-06-01 Daniel Jacobowitz <drow@mvista.com>
19154
19155 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
19156 of globalvar.
19157
572eb746
MK
191582003-06-01 Mark Kettenis <kettenis@gnu.org>
19159
19160 * gdb.asm/asm-source.exp: Check for memory read errors in
19161 disassembler test on *BSD too.
19162
9e9617a5
RH
191632003-06-01 Richard Henderson <rth@redhat.com>
19164
19165 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
19166 for .frame.
19167 (gdbasm_call): Lose ldgp.
19168 (gdbasm_startup): Add frame information.
19169 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
19170
7b34ad4e
MK
191712003-05-31 Mark Kettenis <kettenis@gnu.org>
19172
19173 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
19174 i?86-*-*.
19175
10059fdf
MK
191762003-05-30 Mark Kettenis <kettenis@gnu.org>
19177
19178 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19179 FreeBSD.
19180
acf4b816
RH
191812003-05-29 Richard Henderson <rth@redhat.com>
19182
19183 * gdb.asm/alpha.inc: New file.
19184 * gdb.asm/asm-source.exp: Use it.
19185
e9ecd949
JB
191862003-05-29 Jim Blandy <jimb@redhat.com>
19187
19188 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
19189 'core.PID'.
19190
e3e5a4f3
JB
191912003-05-22 Jim Blandy <jimb@redhat.com>
19192
19193 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
19194 backtrace.
d63a86f8 19195
72fe3d25
DC
191962003-05-20 David Carlton <carlton@math.stanford.edu>
19197
19198 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
19199 this time.
19200
58da2eb2
DC
192012003-05-19 David Carlton <carlton@bactrian.org>
19202
19203 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
19204 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
19205
1fcb5155
DC
192062003-05-19 David Carlton <carlton@bactrian.org>
19207
19208 * gdb.c++/namespace.exp: Add namespace scope and anonymous
19209 namespace tests.
19210 Bump copyright date.
19211 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
19212 (main): Call C::D::marker2.
19213 * gdb.c++/namespace1.cc: New file.
19214
85e85163
JJ
192152003-05-14 Jeff Johnston <jjohnstn@redhat.com>
19216
19217 Roland McGrath <roland@redhat.com>
d63a86f8 19218 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
19219 there is no manager thread.
19220
a25fbfec
JJ
192212003-05-08 Jeff Johnston <jjohnstn@redhat.com>
19222
d63a86f8
RM
19223 * gdb.threads/schedlock.exp: Remove assumption that all threads
19224 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
19225 in one of the child threads rather than the main thread.
19226
be375bae
JB
192272003-05-07 Jim Blandy <jimb@redhat.com>
19228
09bf6082
JB
19229 Add support for assembly source testing on the s390x.
19230 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
19231 architecture.
19232 * gdb.asm/s390x.inc: New file.
19233
be375bae
JB
19234 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
19235 succession of 'if' statements.
19236
00905d52
AC
192372003-05-05 Andrew Cagney <cagney@redhat.com>
19238
19239 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
19240
b1e29e33
AC
192412003-05-05 Andrew Cagney <cagney@redhat.com>
19242
19243 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
19244 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
19245
e33d66ec
EZ
192462003-05-02 Elena Zannoni <ezannoni@redhat.com>
19247
19248 * gdb.base/charset.exp: Update based on new behavior of set/show
19249 charset commands.
19250
2b6fd0d8
AC
192512003-05-01 Andrew Cagney <cagney@redhat.com>
19252
19253 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
19254 variable do not give memory errors.
19255
130cacce
AF
192562003-04-30 Adam Fedor <fedor@gnu.org>
19257
19258 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
19259 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
19260 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
19261 gdb.objc/basicclass.m: : New files
19262
19263 * lib/gdb.exp (gdb_compile_objc): New procedure.
19264
bea71854
DJ
192652003-04-27 Daniel Jacobowitz <drow@mvista.com>
19266
19267 * gdb.base/signals.exp: Make backtrace tests more specific.
19268
0f20eeea
DC
192692003-04-23 David Carlton <carlton@bactrian.org>
19270
19271 * gdb.c++/maint.exp (test_first_component): Add tests for
19272 'operator' in more locations.
19273
c8c4d8dc
KB
192742003-04-16 Kevin Buettner <kevinb@redhat.com>
19275
19276 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
19277
3fe60e3c
EZ
192782003-04-16 Elena Zannoni <ezannoni@redhat.com>
19279
19280 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 19281 func marke' instead. Update test name.
3fe60e3c 19282
9219021c
DC
192832003-04-15 David Carlton <carlton@math.stanford.edu>
19284
19285 * gdb.c++/maint.exp: New file.
19286
5dd55bdd
EZ
192872003-04-14 Elena Zannoni <ezannoni@redhat.com>
19288
19289 * gdb.threads/schedlock.c: Change type of thread function argument
19290 to long, to avoid warnings on 64-bit platforms.
19291
00890572
EZ
192922003-04-14 Elena Zannoni <ezannoni@redhat.com>
19293
a9c64011
AS
19294 * gdb.base/attach.exp: Add new message from ptrace in case of
19295 attaching to nonexistent process.
d63a86f8 19296
93201743
JB
192972003-04-11 Jim Blandy <jimb@redhat.com>
19298
19299 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19300 gdb.c++/userdef.cc: Place comments on the lines to which the
19301 marker function might return.
19302 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19303 gdb.c++/userdef.exp: Look for those comments to check that we've
19304 returned to the right place, instead of checking line numbers.
19305
2a11c64d
EZ
193062003-04-11 Elena Zannoni <ezannoni@redhat.com>
19307
a9c64011
AS
19308 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
19309 match on sourcefile name, instead of directory name.
2a11c64d 19310
68ab8fc5
EZ
193112003-04-10 Elena Zannoni <ezannoni@redhat.com>
19312
d63a86f8 19313 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
19314 working directory name.
19315
5624293a
JB
193162003-04-09 Jim Blandy <jimb@redhat.com>
19317
19318 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19319 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
19320 after an inferior function call, report the failure, but allow the
19321 test to continue.
19322
f1f02ee4
SC
193232003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19324
19325 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19326 with -DPROTOTYPES.
19327
6eb79af0
SC
193282003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19329
19330 * gdb.base/break.exp: Revert last patch.
19331
8dfb4cf0
SC
193322003-04-04 Stephane Carrez <stcarrez@nerim.fr>
19333
19334 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19335 with -DPROTOTYPES.
19336
ed4c619a
AC
193372003-04-02 Andrew Cagney <cagney@redhat.com>
19338
19339 * gdb.base/callfuncs.exp: Make "print add" messages unique.
19340 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
19341 matching directories by the name breakpoint.
19342 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
19343 Make "continue to marker1" consistent.
19344 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
19345 message consistent.
19346 * lib/gdb.exp: Put "the program is no longer running", and "the
19347 program exited" in parenthesis.
19348 * lib/mi-support.exp: Ditto.
d63a86f8 19349
4e35d5f0 193502003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 19351
4e35d5f0
BR
19352 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
19353
71900fe8
AC
193542003-03-29 Andrew Cagney <cagney@redhat.com>
19355
19356 * gdb.base/sizeof.c (main): Print the value of '\377'.
19357 * gdb.base/sizeof.exp: Check the sign of '\377'.
19358
c0655a16
MC
193592003-03-27 Michael Chastain <mec@shout.net>
19360
19361 * gdb.base/gdb1090.exp: New file.
19362 * gdb.base/gdb1090.cc: New file.
19363
5b2a3989
JB
193642003-03-27 J. Brobecker <brobecker@gnat.com>
19365
19366 * gdb.gdb/observer.exp: New regression test.
19367
79876890
MC
193682003-03-27 Michael Chastain <mec@shout.net>
19369
19370 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
19371 * gdb.base/ptype.exp: Likewise.
19372
6eac95e3
CV
193732003-03-27 Corinna Vinschen <vinschen@redhat.com>
19374
19375 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
19376
e8c71839
MC
193772003-03-26 Michael Chastain <mec@shout.net>
19378
19379 * gdb.base/ptype.exp: Actually use some typedef'd types.
19380
71b10041
SC
193812003-03-21 Stephane Carrez <stcarrez@nerim.fr>
19382
19383 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
19384 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
19385
2512cf80
CV
193862003-03-20 Corinna Vinschen <vinschen@redhat.com>
19387
19388 * gdb.base/default.exp: Fix regular expression.
19389
0d195a4f
CV
193902003-03-20 Corinna Vinschen <vinschen@redhat.com>
19391
19392 * gdb.base/args.exp: Fix regular expression.
19393
8a2dbca8
CV
193942003-03-20 Corinna Vinschen <vinschen@redhat.com>
19395
19396 * gdb.base/help.exp: Allow Win32 child process.
19397
bf028682
CV
193982003-03-20 Corinna Vinschen <vinschen@redhat.com>
19399
19400 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
19401 when stepping out of main().
19402
182dbe85
CV
194032003-03-20 Corinna Vinschen <vinschen@redhat.com>
19404
19405 * gdb.base/default.exp: Check for win32 specific message when calling
19406 "run" without executable.
19407
d67a6ba5
CV
194082003-03-20 Corinna Vinschen <vinschen@redhat.com>
19409
19410 * gdb.base/args.exp: Expect .exe in output.
19411
a955b5bb
CV
194122003-03-20 Corinna Vinschen <vinschen@redhat.com>
19413
19414 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
19415 Cygwin native.
19416
bf6bad4b
AC
194172003-03-17 Andrew Cagney <cagney@redhat.com>
19418
19419 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
19420 vector registes.
19421 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
19422 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
19423
293e9a31
DC
194242003-03-17 David Carlton <carlton@math.stanford.edu>
19425
19426 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
19427 test, for PR breakpoints/38.
19428 Call test_watchpoint_and_breakpoint.
19429 * gdb.base/watchpoint.c (func3): New function.
19430 (main): Call func3.
19431
5330f2db
DC
194322003-03-04 David Carlton <carlton@math.stanford.edu>
19433
19434 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
19435 Garply<Garply<char> >:: garply".
19436 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
19437 with respect to PR c++/1111; note also PR c++/1113.
19438 (test_template_breakpoints): KFAIL "constructor breakpoint" with
19439 respect to PR c++/1062.
19440 KFAIL "destructor breakpoint" with respect to PR c++/1112.
19441
6ece72da
DC
194422003-03-03 David Carlton <carlton@math.stanford.edu>
19443
19444 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
19445 with respect to PR c++/57.
19446 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
19447 c++/826.
19448 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
19449 respect to PR c++/57.
19450
85ca1584
DC
194512003-03-03 David Carlton <carlton@math.stanford.edu>
19452
19453 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
19454 respect to PR c++/33 into FAILs.
19455
98e9c5b8
MC
194562003-03-03 Michael Chastain <mec@shout.net>
19457
7bedbf27
MC
19458 * configure.in: Update copyright years.
19459
194602003-03-03 Michael Chastain <mec@shout.net>
19461
19462 * Makefile.in: Update copyright years.
98e9c5b8 19463
f683e100
DC
194642003-02-28 David Carlton <carlton@math.stanford.edu>
19465
19466 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
19467 print class instead of struct and/or superfluous protection
19468 specifiers, as long as the resulting output is equivalent to the
19469 source code.
19470 Delete FIXME from end of messages on tests that don't need
19471 fixing.
19472
a9e0cf2c
DC
194732003-02-28 David Carlton <carlton@math.stanford.edu>
19474
19475 * gdb.c++/templates.exp (do_tests): Allow const in the two
19476 Foo<volatile char *>::foo tests.
19477
e8d359df
MS
194782003-02-27 Michael Snyder <msnyder@redhat.com>
19479
d63a86f8 19480 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
19481 will be consistant.
19482
0b71dc91
DC
194832003-02-26 David Carlton <carlton@math.stanford.edu>
19484
19485 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
19486 char *>::foo" test with respect to PR c++/33. Create a new test
19487 which is identical to that one except that it doesn't put the
19488 space between the "char" and the "*"; KFAIL it, too.
19489
dd14ab43
DC
194902003-02-26 David Carlton <carlton@math.stanford.edu>
19491
19492 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
19493 template types into either PASSes or KFAILs (corresponding to PR
19494 c++/57). Tweak indentation. Update copyright.
19495
1146c7f1
SC
194962003-02-23 Stephane Carrez <stcarrez@nerim.fr>
19497
19498 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
19499
74641dfb
MC
195002003-02-13 Michael Chastain <mec@shout.net>
19501
19502 * gdb.base/exprs.exp: Remove i960 remnants.
19503 * gdb.base/funcargs.exp: Likewise.
19504 * gdb.base/list.exp: Likewise.
19505 * gdb.base/ptype.exp: Likewise.
19506
559cd2d0
DC
195072003-02-14 David Carlton <carlton@math.stanford.edu>
19508
19509 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
19510 pEe->D::vg()" from XFAIL to KFAIL.
19511
c4f90d87
JM
195122003-02-13 Jason Molenda (jmolenda@apple.com)
19513
19514 * gdb.base/maint.exp: Update maint print statistics regexp to include
19515 new entries.
19516
cbc4d97c
MC
195172003-02-13 Michael Chastain <mec@shout.net>
19518
19519 * gdb.c++/inherit.exp: Remove call to get_debug_format.
19520
40f235b7
MC
195212003-02-12 Michael Chastain <mec@shout.net>
19522
19523 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
19524 * gdb.c++/inherit.exp: Likewise.
19525 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
19526 * gdb.c++/templates.exp: Likewise.
19527 * gdb.c++/virtfunc.exp: Likewise.
19528
c56716b0
JM
195292003-02-06 Jason Molenda (jason-cl@molenda.com)
19530
19531 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
19532 why the code is written that way.
19533
070afcf8
MC
195342003-02-05 Michael Chastain <mec@shout.net>
19535
19536 * gdb.base/dump.exp: Add missing copyright line.
19537
5d0331e5
JM
195382003-02-05 Jason Molenda (jason-cl@molenda.com)
19539
f7ae6d3e 19540 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
19541 at the beginning so the breakpoint doesn't get set on the loop.
19542
92851186
MC
195432003-02-05 Michael Chastain <mec@shout.net>
19544
19545 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
19546 output for configurations with gcc 2.95.3.
19547
cbf1e085
AC
195482003-02-05 Keith Seitz <keiths@redhat.com>
19549 Andrew Cagney <ac131313@redhat.com>
19550
19551 * gdb.mi/mi-cli.exp: New file.
d63a86f8 19552
29518e1e
MC
195532003-02-04 Michael Chastain <mec@shout.net>
19554
19555 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
19556 Call perror and then continue.
19557
5af1d5f3
MC
195582003-02-03 Michael Chastain <mec@shout.net>
19559
19560 * gdb.c++/pr-1023.cc: New file.
19561 * gdb.c++/pr-1023.exp: New file.
19562
6b549786
JB
195632003-02-05 Jim Blandy <jimb@redhat.com>
19564
19565 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
19566 it's local to foobar. Check for it there, and check that it's not
19567 present in main.
19568 * gdb.c++/local.cc (marker2): New function.
19569 (foobar): Call marker1.
19570 (main): Call marker2 instead of marker1.
19571
67f16606
AC
195722003-02-04 Andrew Cagney <ac131313@redhat.com>
19573
19574 * gdb.disasm/mn10200.exp: Obsolete file.
19575 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
19576 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
19577 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
19578
1c5cb38e
DC
195792003-02-04 David Carlton <carlton@math.stanford.edu>
19580
19581 * gdb.c++/overload.exp: Test intToChar(1).
19582 * gdb.c++/overload.cc (intToChar): New.
19583 (main): Call intToChar.
19584
d1fe6965
DC
195852003-02-03 David Carlton <carlton@math.stanford.edu>
19586
19587 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
19588 'might_kfail' arg.
19589 KFAIL some of the continue_to_bp_overloaded calls, according to
19590 PR c++/1025.
19591
9ba61c5d
MC
195922003-02-01 Michael Chastain <mec@shout.net>
19593
19594 * gdb.base/advance.c (marker1): New marker function.
19595 * gdb.base/advance.exp: When the 'advance' command lands on the
19596 return breakpoint, it can legitimately stop on either the
19597 current line or the next line. Accommodate both outcomes.
19598 * gdb.base/until.exp: Likewise.
19599
e7494ffb
AC
196002003-02-02 Andrew Cagney <ac131313@redhat.com>
19601
19602 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19603 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
19604 now a list, not a tuple.
19605 * gdb.mi/mi-var-display.exp: Ditto.
19606 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 19607
075559bc
AC
196082003-02-01 Andrew Cagney <ac131313@redhat.com>
19609
19610 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19611 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
19612 stack backtraces.
19613 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 19614
2bd4c7b1
MK
196152003-02-01 Mark Kettenis <kettenis@gnu.org>
19616
19617 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19618 gdb.mi/mi1-pthreads.exp: Return instead of calling
19619 gdb_suppress_entire_file.
19620
eabd8992
MS
196212003-02-01 Mark Salter <msalter@redhat.com>
19622
19623 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
19624
71469e2f
MS
196252003-01-31 Mark Salter <msalter@redhat.com>
19626
19627 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
19628 Support empty arg.
19629
38a94d44
MC
196302003-01-30 Michael Chastain <mec@shout.net>
19631
19632 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
19633 This was a workaround for a UTF-8 bug in readline 4.3. The bug
19634 has been fixed in gdb/readline on 2003-01-09.
19635
19ea9e73
MS
196362003-01-29 Michael Snyder <msnyder@redhat.com>
19637
e8d359df
MS
19638 * gdb.base/maint.exp: Allow for leading underscore in symbol.
19639 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
19640 * gdb.base/args.exp: Skip if target does not support args passing.
19641
2307bd6a
DJ
196422003-01-22 Daniel Jacobowitz <drow@mvista.com>
19643
19ea9e73 19644 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
19645 gdb_test. Accept a list of expect arguments as the third
19646 parameter.
19647 (gdb_test): Use it.
19648
f2dd3617
EZ
196492003-01-20 Elena Zannoni <ezannoni@redhat.com>
19650
19651 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
19652 allow for different test tree configurations. Update some
19653 tescases accordingly.
19654 * gdb.arch/altivec-regs.exp: Ditto.
19655 * gdb.asm/asm-source.exp: Ditto.
19656 * gdb.base/advance.exp: Ditto.
19657 * gdb.base/display.exp: Ditto.
d63a86f8 19658 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
19659 * gdb.base/mips_pro.exp: Ditto.
19660 * gdb.base/overlays.exp: Ditto.
19661 * gdb.base/relocate.exp: Ditto.
19662 * gdb.base/setshow.exp: Ditto.
19663 * gdb.base/step-line.exp: Ditto.
19664 * gdb.base/step-test.exp: Ditto.
19665 * gdb.base/until.exp: Ditto.
19666 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
19667
c71cdefd
DC
196682003-01-17 David Carlton <carlton@math.stanford.edu>
19669
19670 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
19671 corresponding to PR c++/945.
19672 Update copyright.
19673
fdba05d7
DC
196742003-01-17 David Carlton <carlton@math.stanford.edu>
19675
19676 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
19677 corresponding to PR c++/68.
19678
196792003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
19680
19681 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
19682 (test_paddr_hairy_functions): Call print_addr_2_kfail for
19683 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
19684
c362c33a
EZ
196852003-01-15 Elena Zannoni <ezannoni@redhat.com>
19686
0fbc361c
EZ
19687 * gdb.base/break.exp: Fix change of default location, because of
19688 removal of until tests.
19689 * gdb.base/help.exp: Update test for new 'until' help message.
19690 Add test for help on 'advance'.
a9c64011 19691 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 19692
dabf8a35
MK
196932003-01-15 Mark Kettenis <kettenis@gnu.org>
19694
19695 * gdb.base/default.exp: Adapt "info float" test for recent changes
19696 to that command. Add test for "info vector".
19697 * gdb.base/float.exp: New file. Add test for "info float" that
19698 resembles the old test in gdb.base/default.exp.
19699
a1769aca
DC
197002003-01-15 David Carlton <carlton@math.stanford.edu>
19701
19702 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
19703
82025e13
EZ
197042003-01-15 Elena Zannoni <ezannoni@redhat.com>
19705
19706 * gdb.base/break.exp: Move the tests of until command from here...
19707 * gdb.base/until.exp: ... to here. New file. Add other tests.
19708 * gdb.base/advance.c: New file.
19709 * gdb.base/advance.exp: New file.
19710
8f9ab801
EZ
197112003-01-14 Elena Zannoni <ezannoni@redhat.com>
19712
a9c64011
AS
19713 * gdb.base/args.c: New file.
19714 * gdb.base/args.exp: New file.
8f9ab801 19715
9ae66589
DJ
197162003-01-14 Daniel Jacobowitz <drow@mvista.com>
19717
19718 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
19719
8d77e5c3
DJ
197202003-01-14 Daniel Jacobowitz <drow@mvista.com>
19721
19722 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
19723
12d2f0a1
DJ
197242003-01-14 Daniel Jacobowitz <drow@mvista.com>
19725
19726 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
19727 dates.
19728
6ca37014
DJ
197292003-01-13 Daniel Jacobowitz <drow@mvista.com>
19730
19731 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
19732
b0023472
DJ
197332003-01-13 Daniel Jacobowitz <drow@mvista.com>
19734
19735 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
19736 (ptype &*"foo").
19737 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
19738
607fbc54 197392003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
19740
19741 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
19742 * gdb.mi/mi1-console.exp: Likewise.
19743
607fbc54 197442003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
19745
19746 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
19747 * gdb.mi/mi1-console.exp: Likewise.
19748
a1fb14a2
DJ
197492003-01-13 Daniel Jacobowitz <drow@mvista.com>
19750
19751 * gdb.c++/overload.exp: Remove some fixed XFAILs.
19752
c4cf40b7
DJ
197532003-01-09 Daniel Jacobowitz <drow@mvista.com>
19754
19755 * gdb.base/detach.exp: New test.
19756
696d5a5b
DJ
197572003-01-09 Daniel Jacobowitz <drow@mvista.com>
19758
19759 * Makefile.in (ALL_SUBDIRS): New variable.
19760 (subdirs, clean, distclean): Use it.
19761 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
19762 regenerating Makefile, since it is generated from the top level.
19763 * gdb.asm/Makefile.in: Likewise.
19764 * gdb.base/Makefile.in: Likewise.
19765 * gdb.c++/Makefile.in: Likewise.
19766 * gdb.disasm/Makefile.in: Likewise.
19767 * gdb.java/Makefile.in: Likewise.
19768 * gdb.mi/Makefile.in: Likewise.
19769 * gdb.threads/Makefile.in: Likewise.
19770 * gdb.trace/Makefile.in: Likewise.
19771
754533e4
DC
197722003-01-09 David Carlton <carlton@math.stanford.edu>
19773
19774 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
19775 Add copyright year 2003.
19776
d8b3e9ee
MC
197772003-01-06 Michael Chastain <mec@shout.net>
19778
19779 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
19780 When selecting a thread, 'line' and 'file' are optional.
19781 * gdb.mi/mi1-pthreads.exp: Likewise.
19782
8e9e0fe6
AS
197832003-01-06 Andreas Schwab <schwab@suse.de>
19784
19785 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
19786 failures.
19787
b5ab8ff3
DJ
197882003-01-04 Daniel Jacobowitz <drow@mvista.com>
19789
19790 Fix PR gdb/844
19791 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
19792 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
19793
19794 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
19795 instead of calling gdb_suppress_entire_file.
19796 * gdb.threads/print-threads.exp: Likewise.
19797 * gdb.threads/schedlock.exp: Likewise.
19798
19799 * gdb.threads/killed.exp: Return instead of calling
19800 gdb_suppress_entire_file.
19801 * gdb.threads/linux-dp.exp: Likewise.
19802 * gdb.threads/pthreads.exp: Likewise.
19803
1e698235
DJ
198042003-01-04 Daniel Jacobowitz <drow@mvista.com>
19805
19806 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
19807 stabs.
19808 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
19809 * gdb.base/whatis.exp: Always allow (void) after function names.
19810
147ff08c
DJ
198112003-01-04 Daniel Jacobowitz <drow@mvista.com>
19812
19813 * gdb.c++/casts.exp: Correct regexp.
19814
dc62bfc2
MK
198152003-01-04 Mark Kettenis <kettenis@gnu.org>
19816
19817 * configure.in: Call AC_CONFIG_HEADER. Don't call
19818 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
19819 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
19820 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
19821 aforementioned directories in the AC_OUPUT call.
19822 * config.hin: New file.
19823 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19824 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
19825 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
19826 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
19827 pass -I$objdir instead of -I$objdir/$subdir in compilation.
19828 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
19829 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
19830 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
19831 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
19832 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
19833 gdb.threads/configure.in, gdb.threads/configure,
19834 gdb.threads/config.in, gdb.trace/configure.in,
19835 gdb.trace/configure: Removed.
19836
77afa639
MC
198372003-01-03 Michael Chastain <mec@shout.net>
19838
19839 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
19840 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
19841
7634bb6e
DJ
198422003-01-03 Daniel Jacobowitz <drow@mvista.com>
19843
19844 * gdb.base/store.exp: Fix regular expressions.
19845
b39c905e
MK
198462002-12-28 Mark Kettenis <kettenis@gnu.org>
19847
19848 * configure.in: Rewrite.
19849 * configure: Regenerated.
19850
0a8551dd
DC
198512003-01-03 David Carlton <carlton@math.stanford.edu>
19852
19853 * gdb.base/psymtab.exp: New file.
19854 * gdb.base/psymtab1.c: Ditto.
19855 * gdb.base/psymtab2.c: Ditto.
19856
c60b7188
AF
198572002-12-23 Adam Fedor <fedor@gnu.org>
19858
19859 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
19860
ee73db83
DC
198612002-12-23 David Carlton <carlton@math.stanford.edu>
19862
19863 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
19864 and current_directory initialization.
19865
d6c1774e
JB
198662002-12-22 Jim Blandy <jimb@redhat.com>
19867
f0a847b8
JB
19868 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
19869 rather than as part of the output file name.
19870
d6c1774e
JB
19871 * gdb.base/attach.exp: There's no need to copy the test program to
19872 /tmp; that was only ever necessary on HP/UX, and this test is
19873 entirely disabled there anyway.
19874
f0708dbb
JB
198752002-12-21 Jim Blandy <jimb@redhat.com>
19876
4c2acfea
JB
19877 * gdb.c++/psmang.exp: Doc fix.
19878
f0708dbb
JB
19879 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
19880 test.
19881
9579e000
DC
198822002-12-20 David Carlton <carlton@math.stanford.edu>
19883
19884 * gdb.c++/annota2.exp: KFAIL annotate-quit.
19885
d1810171
MC
198862002-12-18 Michael Chastain <mec@shout.net>
19887
19888 * gdb.c++/annota2.exp: Add copyright year 2002.
19889
76565097
DC
198902002-12-17 David Carlton <carlton@math.stanford.edu>
19891
19892 * gdb.c++/try_catch.cc: Add marker comments.
19893 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
19894 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
19895 * gdb.c++/m-static.cc: Ditto.
19896 * gdb.c++/m-static1.cc: Ditto.
19897 * gdb.c++/try_catch.cc: Ditto.
19898
da81390b
JJ
198992002-12-16 Jeff Johnston <jjohnstn@redhat.com>
19900
19901 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
19902 to see whether we are using the new -environment-directory
19903 command which resets via -r or the old version of the command
19904 which may prompt the user. Part of fix for gdb/741.
19905
b304d130
AC
199062002-12-13 Andrew Cagney <ac131313@redhat.com>
19907
19908 * gdb.fortran/types.exp: Update obsolete comment.
19909 * gdb.fortran/exprs.exp: Ditto.
19910 * lib/gdb.exp: Delete obsolete code.
19911 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
19912 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
19913 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
19914 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
19915 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
19916 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
19917 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
19918 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
19919 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
19920 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
19921 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
19922 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
19923 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
19924 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
19925 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
19926 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
19927 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
19928 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
19929 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
19930 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
19931 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
19932 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
19933 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
19934 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
19935 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
19936 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
19937 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
19938 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
19939 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
19940 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
19941 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
19942 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
19943 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
19944 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
19945 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
19946 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
19947 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
19948
a23b6e6a
DC
199492002-12-11 David Carlton <carlton@math.stanford.edu>
19950
19951 * gdb.c++/m-data.exp: Add test for members that shadow global
19952 variables: see PR gdb/804.
19953 * gdb.c++/m-data.cc: Ditto.
19954
6604731b
DJ
199552002-12-10 Daniel Jacobowitz <drow@mvista.com>
19956
19957 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
19958
de46ecd7
DC
199592002-12-06 David Carlton <carlton@math.stanford.edu>
19960
19961 * gdb.base/store.c: Don't declare functions static.
19962
27e829d0
AC
199632002-12-04 Andrew Cagney <ac131313@redhat.com>
19964
19965 * gdb.base/store.exp, gdb.base/store.c: New files.
19966
92806416
DJ
199672002-12-03 Daniel Jacobowitz <drow@mvista.com>
19968
19969 * gdb.base/selftest.exp: Update for current gdb.
19970
3bcbaac5
DJ
199712002-12-03 Daniel Jacobowitz <drow@mvista.com>
19972
19973 * gdb.base/maint.exp: Only dump symbols from one source file
19974 or objfile.
19975
f4f00b1f
DJ
199762002-12-03 Daniel Jacobowitz <drow@mvista.com>
19977
19978 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
19979 function call.
19980
f1c8a949
JB
199812002-11-25 Jim Blandy <jimb@redhat.com>
19982
19983 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
19984 function appearing in error message.
19985
9e297a97
DJ
199862002-11-21 Daniel Jacobowitz <drow@mvista.com>
19987
19988 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
19989
1f312e79
JJ
199902002-11-08 Jeff Johnston <jjohnstn@redhat.com>
19991
d63a86f8
RM
19992 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
19993 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
19994 should be in mi console format. This is part of fix for PR gdb/604.
19995
83c31e7d
FN
199962002-09-18 Fernando Nasser <fnasser@redhat.com>
19997
19998 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
19999 which explicitly prints the zero offset as "+0".
20000
322b3f65
DJ
200012002-10-22 Daniel Jacobowitz <drow@mvista.com>
20002
20003 * gdb.threads/schedlock.c (args): Make unsigned.
20004
200052002-10-21 Daniel Jacobowitz <drow@mvista.com>
20006
20007 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
20008 numbers. Allow "foo2|selected stack frame".
20009 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
20010 * gdb.asm/asmsrc2.s: Likewise.
20011 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
20012 comments.
20013 * gdb.asm/mips.inc: New file.
20014
5e2fe5b8
AF
200152002-10-18 Adam Fedor <fedor@gnu.org>
20016
20017 * gdb.base/default.exp: Update expected output to include 'ObjC'.
20018 * gdb.base/help.exp: Likewise.
20019
abe1a5d0
KB
200202002-10-17 Kevin Buettner <kevinb@redhat.com>
20021
20022 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
20023 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
20024
10abb1d4
JB
200252002-10-02 Jim Blandy <jimb@redhat.com>
20026
20027 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
20028
1f609b42
AC
200292002-10-01 Andrew Cagney <ac131313@redhat.com>
20030
20031 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
20032 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
20033 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
20034 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
20035 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
20036 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
20037 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
20038
0aee02e4
AC
200392002-09-29 Andrew Cagney <ac131313@redhat.com>
20040
20041 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
20042 * mi0-disassemble.exp, mi0-eval.exp: Delete.
20043 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
20044 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
20045 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
20046 * mi0-var-block.exp, mi0-var-child.exp: Delete.
20047 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 20048
6fde09ad
KB
200492002-09-27 Kevin Buettner <kevinb@redhat.com>
20050
20051 * gdb.base/annota1.exp (info break): Make directory components of
20052 path optional since not all compilers emit this debug information.
20053
889bf7c5
PA
20054 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
20055 step ends up stepping out of the function instead of stopping on
20056 the epilogue.
6fde09ad 20057
9e8aab75
KS
200582002-09-26 Keith Seitz <keiths@redhat.com>
20059
20060 * lib/insight-support.exp (gdbtk_start): Figure out where
20061 the insight executable is based on where gdb is. Use this
20062 executable to start insight instead of gdb.
20063
e36180d7
AC
200642002-09-25 Andrew Cagney <cagney@redhat.com>
20065
20066 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
20067
9dd34b2b
AC
200682002-09-24 Andrew Cagney <ac131313@redhat.com>
20069
20070 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
20071 test_isolated_complaints.
20072 (test_empty_complaint): New function.
20073 (test_empty_complaints): New function. Check no output when no
20074 complaints.
d63a86f8 20075
dea97812
KB
200762002-09-19 Jim Blandy <jimb@redhat.com>
20077
a9c64011 20078 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 20079
54951bd7
AC
200802002-09-19 Andrew Cagney <ac131313@redhat.com>
20081
20082 * gdb.gdb/complaints.exp: New file.
20083
dec43320
AC
200842002-09-18 Andrew Cagney <ac131313@redhat.com>
20085
20086 * gdb.base/maint.exp: Check `help maint internal-warning'.
20087
e70d6e3f
DC
200882002-09-18 David Carlton <carlton@math.stanford.edu>
20089
20090 * gdb.c++/m-static.exp: Remove breakpoints depending on line
20091 numbers, and replace them by a single breakpoint after the
20092 constructors are all finished.
20093 Add test 4.
20094 * gdb.c++/m-static.cc: Add test 4.
20095 * gdb.c++/m-static.h: New file.
20096 * gdb.c++/m-static1.cc: New file.
20097
20098 * gdb.c++/printmethod.exp: New file.
20099 * gdb.c++/printmethod.cc: New file.
20100
20101 * gdb.c++/pr-574.exp: New file.
20102 * gdb.c++/pr-574.cc: New file.
20103
afb5c968
CV
201042002-09-18 Corinna Vinschen <vinschen@redhat.com>
20105
20106 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
20107 embedded targets which never actually exit.
20108
31e45dee
FN
201092002-09-18 Fernando Nasser <fnasser@redhat.com>
20110
20111 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
20112 "don't step after run" as unresolved or unsupported, instead of xfail.
20113
a283c5a1
CV
201142002-09-18 Corinna Vinschen <vinschen@redhat.com>
20115
20116 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
20117 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
20118 Add newline to expected string in "step out of main (status wrapper)"
20119 case.
20120
11350d2a
CV
201212002-09-18 Corinna Vinschen <vinschen@redhat.com>
20122
20123 * lib/gdb.exp (rerun_to_main): Allow restarting application.
20124 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
20125
0deec7d6
TT
201262002-09-17 Tom Tromey <tromey@redhat.com>
20127
20128 * gdb.base/printcmds.exp (test_print_string_constants): Expect
20129 \000, not \0, in double-quoted string.
20130
b2b4a1b5
CV
201312002-09-14 Corinna Vinschen <vinschen@redhat.com>
20132
c9d37158 20133 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
20134 string after running the commands execution on breakpoint tests.
20135
1c56143a
CV
201362002-09-13 Corinna Vinschen <vinschen@redhat.com>
20137
20138 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
20139
37f8da45
JB
201402002-09-12 Joel Brobecker <brobecker@gnat.com>
20141
20142 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
20143
08b468e0
KS
201442002-09-10 Keith Seitz <keiths@redhat.com>
20145
20146 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
20147 runto proc.
20148 (mi_run_to_main): Use mi_runto.
20149 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
20150
dc360f58
KS
201512002-09-10 Keith Seitz <keiths@redhat.com>
20152
20153 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
20154 regexp for stopping at main. Could have multiple event notifications.
20155 Don't assume that main was declared with no parameters.
20156 (mi_next): Use mi_step_to.
20157 (mi_step): Use mi_next_to.
20158
ce3abcfb
CV
201592002-09-09 Corinna Vinschen <vinschen@redhat.com>
20160
20161 * gdb.base/default.exp: Fix expected string in `info float' test.
20162
d1f5b980
BE
201632002-09-09 Ben Elliston <bje@redhat.com>
20164
20165 * config/mips.exp: Update comments.
20166 * config/mips-idt.exp: Likewise.
20167 * config/nind.exp: Likewise.
20168 * config/slite.exp: Likewise.
20169 * config/sparclet.exp: Likewise.
20170 * config/udi.exp: Likewise.
20171 * config/vx.exp: Likewise.
20172 * config/vxworks29k.exp: Likewise.
20173
2f71430b
JB
201742002-09-05 Jim Blandy <jimb@redhat.com>
20175
20176 * gdb.threads/killed.exp: Fix test failure message.
20177
7ddebc7e
KS
201782002-09-04 Keith Seitz <keiths@redhat.com>
20179
20180 * lib/mi-support.exp: Update copyright.
20181 (mi_gdb_test): Increase the priority of the expected pattern
20182 so that it matches gdb_test.
20183
0ae67eb3
KS
201842002-09-03 Keith Seitz <keiths@redhat.com>
20185
20186 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
20187 Use integer comparison instead of string comparison for testing
20188 whether binary was built.
20189
38fc42c8
JB
201902002-09-03 Jim Blandy <jimb@redhat.com>
20191
20192 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
20193
b6ff0e81
JB
201942002-08-29 Jim Blandy <jimb@redhat.com>
20195
20196 * gdb.threads/pthreads.exp: Move the portable thread compilation
20197 code into a function in lib/gdb.exp, and call that from here.
20198 * lib/gdb.exp (gdb_compile_pthreads): New function.
20199
07c98896
KS
202002002-08-29 Keith Seitz <keiths@redhat.com>
20201
20202 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
20203 expect_out so that callers can get at it.
20204
0312286c
DJ
202052002-08-23 Daniel Jacobowitz <drow@mvista.com>
20206
20207 * gdb.threads/print-threads.c: New file.
20208 * gdb.threads/print-threads.exp: New file.
20209 * gdb.threads/schedlock.c: New file.
20210 * gdb.threads/schedlock.exp: New file.
20211
dd039bc4
EZ
202122002-08-22 Elena Zannoni <ezannoni@redhat.com>
20213
a9c64011
AS
20214 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
20215 not altivec.c.
dd039bc4 20216
1f36144c
MK
202172002-08-17 Mark Kettenis <kettenis@gnu.org>
20218
20219 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
20220 targets. The problem should be fixed now.
20221
16057ec7 202222002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
20223
20224 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
20225 2002-07-24 change that removes final dots from error messages.
20226
3c1499ad
TT
202272002-08-13 Tom Tromey <tromey@redhat.com>
20228
20229 * gdb.base/readline.exp: New file.
20230
a20ce2c3
AC
202312002-08-01 Andrew Cagney <ac131313@redhat.com>
20232
20233 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
20234 supress message.
20235
db034ac5
AC
202362002-08-01 Andrew Cagney <cagney@redhat.com>
20237
20238 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
20239 CHILL_FOR_TARGET and CHILL_LIB.
20240 * configure.in (configdirs): Remove gdb.chill.
20241 * configure: Regenerate.
20242 * lib/gdb.exp: Obsolete references to chill.
20243 * gdb.fortran/types.exp: Ditto.
20244 * gdb.fortran/exprs.exp: Ditto.
20245
3e000b18
KB
202462002-07-30 Kevin Buettner <kevinb@redhat.com>
20247
20248 * gdb.base/shlib-call.exp (additional_flags): Conditionally
20249 set Irix-specific compile and link flags.
20250
28f4966b
KB
202512002-07-29 Kevin Buettner <kevinb@redhat.com>
20252
20253 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
20254 source files. The ``-o'' option doesn't work with the ``-E'' option
20255 when using the Irix compiler.
20256
46c0d5a6
DJ
202572002-07-19 Daniel Jacobowitz <drow@mvista.com>
20258
20259 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
20260 Improve support for reusing an exec file. Copy exec file
20261 to target, and run gdbserver on the target instead of on the host.
20262
eecf4bed
JB
202632002-07-18 Jim Blandy <jimb@redhat.com>
20264
0f815cdf
JB
20265 * gdb.base/ending-run.exp: Don't expect to see the program end in
20266 some orderly fashion when we're running on a real stand-alone
20267 board.
20268
eecf4bed
JB
20269 * gdb.base/interrupt.exp: Correct logic for skipping tests on
20270 targets that don't support interrupts.
20271
52d309e4
JB
202722002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
20273
20274 * gdb.base/attach.exp: Add patterns to match output from /proc-based
20275 systems.
20276 Move comments in expect statements to inside the actions, so that they
20277 don't get matched against.
20278
ff683d9e
MK
202792002-07-10 Mark Kettenis <kettenis@gnu.org>
20280
20281 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
20282 function when asleep" test.
20283
b5356753
AC
202842002-07-10 Andrew Cagney <ac131313@redhat.com>
20285
20286 * gdb.base/page.exp: Rewrite to handle problems with very long
20287 `info set' output. Update copyright.
20288
6aa4d13a
AC
202892002-06-26 Andrew Cagney <ac131313@redhat.com>
20290
20291 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
20292 gdb.threads-hp.
20293 * gdb.hp/configure: Regenerate.
20294 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
20295 * gdb.hp/gdb.threads-hp/configure: Delete file.
20296 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
20297
8cf8c2b8
AC
202982002-06-22 Andrew Cagney <ac131313@redhat.com>
20299
20300 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
20301 setlocale, bindtextdomain and textdomain.
20302
6827a8f8
JB
203032002-06-11 Jim Blandy <jimb@redhat.com>
20304
919d772c
JB
20305 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
20306 preprocessor macro information is present.
20307
6827a8f8
JB
20308 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
20309 tests.
20310
c15b0d21
MS
203112002-06-06 Michael Snyder <msnyder@redhat.com>
20312
c5984d70
MS
20313 * gdb.base/overlays.exp: Record addresses of overlay
20314 functions in TCL variables rather than in GDB variables,
20315 to avoid having GDB convert them to pointers (with loss
20316 of information).
20317
d63a86f8 20318 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 20319 default linker script changes.
c15b0d21
MS
20320 * gdb.base/long_long.exp: Add check for sizeof (long double).
20321
be26fe0d
ML
203222002-06-06 Michal Ludvig <mludvig@suse.cz>
20323
20324 * gdb.asm/asm-source.exp: Add x86-64 target.
20325 * gdb.asm/x86_64.inc: New.
d63a86f8 20326
258093ca 203272002-05-30 Michael Chastain <mec@shout.net>
258093ca 20328
4b3153f1 20329 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
20330 * gdb.c++/m-static.cc: New file.
20331 * gdb.c++/m-static.exp: New file.
20332
241264c6
MS
203332002-05-28 Michael Snyder <msnyder@redhat.com>
20334
20335 * gdb.base/call-ar-st.exp: Allow for reduced floating point
20336 precision.
20337
9bba8c8f 203382002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 20339
4b3153f1 20340 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
20341 * gdb.c++/m-data.cc: New file.
20342 * gdb.c++/m-data.exp: New file.
20343
203442002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 20345
4b3153f1 20346 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 20347 * gdb.c++/try_catch.cc: New file.
d63a86f8 20348 * gdb.c++/try_catch.exp: New file.
9bba8c8f 20349
def1b996
MC
203502002-05-27 Michael Chastain <mec@shout.net>
20351
20352 * gdb.c++/local.exp: Accept more nested types in output.
20353
522ba268
MC
203542002-05-26 Michael Chastain <mec@shout.net>
20355
20356 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
20357
277254ba
MS
203582002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
20359
20360 * lib/gdb.exp (gdb_wrapper_init): Just because
20361 gdb_wrapper_file exists, this does not mean that the file
20362 should not be rebuilt. That is what gdb_wrapper_initialized
20363 is for.
20364 (default_gdb_init): Reset gdb_wrapper_initialized.
20365
b61a8733
MS
203662002-05-23 Michael Snyder <msnyder@redhat.com>
20367
d63a86f8 20368 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
20369 the precision of the floating point test results.
20370 * gdb.base/call-rt-st.exp: Ditto.
20371
b61a8733
MS
20372 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
20373 * gdb.base/call-rt-st.exp: Ditto.
20374
56f6e910
MC
203752002-05-19 Michael Chastain <mec@shout.net>
20376
20377 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
20378
ad0b0016
EZ
203792002-05-19 Elena Zannoni <ezannoni@redhat.com>
20380
a9c64011
AS
20381 * configure.in (configdirs): Add gdb.arch.
20382 * configure: Regenerate.
ad0b0016 20383
f617d2b6
JB
203842002-05-17 Jim Blandy <jimb@redhat.com>
20385
20386 * gdb.base/completion.exp: Recognize the more detailed error
20387 messages produced by the macro expander's lexical analyzer.
20388
eac2a696
EZ
203892002-05-14 Elena Zannoni <ezannoni@redhat.com>
20390
a9c64011
AS
20391 * gdb.arch/altivec-abi.c: New file.
20392 * gdb.arch/altivec-abi.exp: New file.
20393 * gdb.arch/altivec-regs.c: New file.
20394 * gdb.arch/altivec-regs.exp: New file.
eac2a696 20395
2fdde8f8
DJ
203962002-05-14 Daniel Jacobowitz <drow@mvista.com>
20397
20398 * gdb.base/maint.exp (maint print type): Update for new type
20399 structure.
d63a86f8 20400
e31f1a7c
EZ
204012002-05-14 Elena Zannoni <ezannoni@redhat.com>
20402
20403 * gdb.arch: New directory.
20404 * gdb.arch/configure.in: New file.
20405 * gdb.arch/configure: New file.
20406 * gdb.arch/Makefile.in: New file.
20407
db589741
CV
204082002-05-13 Corinna Vinschen <vinschen@redhat.com>
20409
20410 * gdb.asm/asm-source.exp: Add v850 as supported target.
20411 * gdb.asm/v850.inc: New file.
20412
8ce2a7dc
DJ
204132002-05-13 Daniel Jacobowitz <drow@mvista.com>
20414
20415 * gdb.c++/annota2.exp (annotate-quit): Add comment.
20416
df763c7f
DJ
204172002-05-12 Daniel Jacobowitz <drow@mvista.com>
20418
20419 * gdb.base/break.exp: Check 'break "marker2"'.
20420
377daeed
MS
204212002-05-10 Michael Snyder <msnyder@redhat.com>
20422
20423 * gdb.base/long_long.exp: Fix typo.
20424
c4b7bc2b
JB
204252002-05-10 Jim Blandy <jimb@redhat.com>
20426
ecac9a4e
JB
20427 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
20428 a bug.
20429
c4b7bc2b
JB
20430 * gdb.base/printcmds.exp (test_integer_literals_rejected):
20431 Recognize more detailed error message produced by the macro
20432 expander's lexical analyzer.
20433 * lib/gdb.exp (test_print_reject): Same.
20434
e71019a1
MK
204352002-05-09 Mark Kettenis <kettenis@gnu.org>
20436
20437 * gdb.c++/method.exp: Fix typo.
20438
fedfc8e6
MS
204392002-05-08 Michael Snyder <msnyder@redhat.com>
20440
166a1957
MS
20441 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
20442 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 20443 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
20444 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
20445 Add iftarget clause for strongarm.
d63a86f8 20446
f1c47eb2
MS
204472002-05-06 Michael Snyder <msnyder@redhat.com>
20448
cb9a9d3e
MS
20449 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
20450 (gdb_continue_to_end): Accept output from status wrapper.
20451 * gdb.base/ending-run.exp: Add case for output from status wrapper.
20452 Clean up fail messages to match pass messages.
20453
f1c47eb2
MS
20454 Enable the "needs_status_wrapper" testsuite feature.
20455 * lib/gdb.exp (gdb_wrapper_init): New procedure.
20456 (gdb_compile): Conditionally call gdb_wrapper_init.
20457 * gdb.base/a2-run.exp: Recognize output from status wrapper.
20458 * gdb.c++/method.exp: Recognize output from status wrapper.
20459
6079c749
BE
204602002-05-06 Ben Elliston <bje@redhat.com>
20461From Graydon Hoare <graydon@redhat.com>
20462
20463 * config/sid.exp: Include support for "rawsid" protocol.
20464
188baff3
JB
204652002-05-03 Jim Blandy <jimb@redhat.com>
20466
20467 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
20468 * gdb.c++/hang3.C: New file.
20469
b9c07f0f
AC
204702002-05-04 Andrew Cagney <ac131313@redhat.com>
20471
20472 * gdb.base/default.exp: Remove obsolete code.
20473 * gdb.c++/misc.exp: Ditto. Update copyright.
20474 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
20475 * gdb.base/whatis.exp: Ditto. Update copyright.
20476 * gdb.base/scope.exp: Ditto. Update copyright.
20477 * gdb.base/ptype.exp: Ditto. Update copyright.
20478 * gdb.base/printcmds.exp: Ditto. Update copyright.
20479 * gdb.base/opaque.exp: Ditto. Update copyright.
20480 * gdb.base/list.exp: Ditto.
20481 * gdb.base/funcargs.exp: Ditto. Update copyright.
20482 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
20483 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
20484 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
20485 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
20486 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
20487 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
20488
5c7a0397
MS
204892002-05-02 Michael Snyder <msnyder@redhat.com>
20490
d6dcc264 20491 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
20492 * gdb.base/long_long.exp: Add xscale target.
20493 * gdb.base/default.exp: Add xscale target.
20494
eb7f1c48
JB
204952002-05-01 Jim Blandy <jimb@redhat.com>
20496
20497 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
20498 gdb.c++/hang.exp: New test.
20499
a6befae8
FF
205002002-05-01 Fred Fish <fnf@redhat.com>
20501
20502 * gdb.base/completion.exp: Handle completions of "./Make" for
20503 more than one completion possibility, as is the case when we
20504 build and test in the source tree.
20505
0a310277
AG
205062002-04-29 Anthony Green <green@redhat.com>
20507
20508 * gdb.java/jmisc1.exp: New file.
20509 * gdb.java/jmisc2.exp: New file.
20510
6ff9af88
DJ
205112002-04-24 Daniel Jacobowitz <drow@mvista.com>
20512
20513 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
20514
96b3d632
EZ
205152002-04-23 Elena Zannoni <ezannoni@redhat.com>
20516
20517 * gdb.base/help.exp: Change 'help status' to allow for target
20518 dependent output differences.
20519
5019bb54
MC
205202002-04-22 Michael Chastain <mec@shout.net>
20521
20522 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
20523
a805a116
MC
205242002-04-22 Michael Chastain <mec@shout.net>
20525
20526 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
20527
a1706bfd
DM
205282002-04-17 David S. Miller <davem@redhat.com>
20529
20530 * gdb.asm/sparc64.inc: New file.
20531 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
20532
a73a20a2
EZ
205332002-04-19 Elena Zannoni <ezannoni@redhat.com>
20534
20535 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
20536 instruction file directly into the build tree. Clean up at end of
20537 test.
20538
ba678339
DM
205392002-04-18 David S. Miller <davem@redhat.com>
20540
20541 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
20542 handle 64-bit platforms correctly.
20543 * gdb.base/maint.exp: Likewise.
20544
b03399da
KB
205452002-04-18 Kevin Buettner <kevinb@redhat.com>
20546
20547 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
20548 ``-fpic'' when compiling files comprising a shared library, but
20549 it does need additional linker flags in order to find shared
20550 libraries at run time.
20551
e2004992
KB
205522002-04-18 Kevin Buettner <kevinb@redhat.com>
20553
20554 * gdb.base/cvexpr.c (use): New function.
20555 (main): Invoke use() on all global variables to prevent
20556 some linkers from deleting these otherwise unused symbols.
20557
d8937120
MC
205582002-04-17 Michael Chastain <mec@shout.net>
20559From David S. Miller <davem@redhat.com>
20560
20561 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
20562 handle 64-bit platforms correctly.
20563
ffd61a58
MS
205642002-04-12 Michael Snyder <msnyder@redhat.com>
20565From Jim Blandy <jimb@redhat.com>
a9c64011 20566 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
20567 script can handle this instead.
20568 * gdb.base/bar.c (barx): Same.
20569 * gdb.base/baz.c (bazx): Same.
20570 * gdb.base/grbx.c (grbxx): Same.
20571
20572 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
20573 manager doesn't automatically unmap overlays unnecessarily.
20574
6b8426a6
MH
205752002-04-10 Martin M. Hunt <hunt@redhat.com>
20576
20577 * gdb.base/ending-run.exp: Fix pattern for Mips targets
20578 stepping out of main.
20579
34af4875
MC
205802002-04-09 Michael Chastain <mec@shout.net>
20581
20582 * gdb.c++/local.cc (main): Move call to marker1() inside nested
20583 scope so that the nested scope tests will make sense.
20584 * gdb.c++/local.exp: Write patterns that actually work with gcc
20585 (the HP patterns "were never known to work with gcc").
20586 Keep the old aCC patterns too.
20587
2d1676a0
DJ
205882002-04-09 Daniel Jacobowitz <drow@mvista.com>
20589
20590 * gdb.base/attach.exp: Correct target board test.
20591
3a63e3f9
MC
205922002-04-08 Michael Chastain <mec@shout.net>
20593
20594 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
20595 in a const method. Add some xfail and fail cases for configurations
20596 that do not emit the "const ...".
20597
f18dabd2
MC
205982002-04-07 Michael Chastain <mec@shout.net>
20599
20600 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
20601 Accept "A * const" and "const A * const" as type of "this".
20602 Fix spelling of getFunky throughout. Make messages uniform.
20603
0fcddd82
EZ
206042002-04-07 Elena Zannoni <ezannoni@redhat.com>
20605
a9c64011 20606 Work around for PR gdb/285:
0fcddd82
EZ
20607 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
20608
16a8534a
EZ
206092002-04-07 Elena Zannoni <ezannoni@redhat.com>
20610
20611 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
20612 instructions file at run time instead of configure time.
20613 Sometimes we run the test in a directory that is not the one we
20614 configured in.
20615 * gdb.asm/configure.in: Delete creation of symlink.
20616 * gdb.asm/configure: Regenerate.
20617
24181d81
JB
206182002-04-05 J. Brobecker <brobecker@gnat.com>
20619
20620 * gdb.gdb/xfullpath.exp: New test, to exercise the new
20621 xfullpath () function.
20622
7cdb7107
DJ
206232002-04-04 Daniel Jacobowitz <drow@mvista.com>
20624
20625 * gdb.asm/Makefile.in: Correct dependencies.
20626
20627 * gdb.asm/powerpc.inc: New file.
20628 * gdb.asm/asm-source.exp: Add PowerPC.
20629 * gdb.asm/configure.in: Likewise.
20630 * gdb.asm/configure: Regenerated.
20631
a7d17088
DJ
206322002-04-04 Daniel Jacobowitz <drow@mvista.com>
20633
20634 * gdb.base/relocate.exp: New file.
20635 * gdb.base/relocate.c: New file.
20636
cd721503
FF
206372002-04-04 Fred Fish <fnf@redhat.com>
20638
20639 * gdb.base/step-test.exp: Update comment regarding stopping in
20640 memcpy/bcopy calls inserted as part of the compiler runtime.
20641
b22ad7a7
MS
206422002-04-04 Michael Snyder <msnyder@redhat.com>
20643
20644 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
20645
5f279fa6
DJ
206462002-04-03 Daniel Jacobowitz <drow@mvista.com>
20647
20648 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
20649 (gdb_expect): Remove $notransfer hack.
20650
dd0fd3ce
DJ
206512002-04-02 Daniel Jacobowitz <drow@mvista.com>
20652
20653 * gdb.c++/classes.exp ("calling method for small class"): Match
20654 updated register output.
20655
1e50cda1
DJ
206562002-03-30 Daniel Jacobowitz <drow@mvista.com>
20657
20658 Fix PR gdb/452
20659 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
20660 when finished. Make gdb_file_cmd send "exec-file" when
20661 appropriate.
20662
24015922
DJ
206632002-03-30 Daniel Jacobowitz <drow@mvista.com>
20664
20665 * gdb.base/attach.exp: Remove extra setup_xfail.
20666
dd7dfd64
MS
206672002-03-26 Michael Snyder <msnyder@redhat.com>
20668
20669 * gdb.base/default.exp: Add tests for dump, append, and restore.
20670 * gdb.base/help.exp: Add tests for dump, append, and restore.
20671 * gdb.base/dump.exp: New file, test dump, append and restore.
20672 * gdb.base/dump.c: New file.
20673
48b2f8d7
MS
206742002-03-27 Michael Snyder <msnyder@redhat.com>
20675
d63a86f8 20676 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
20677 clean-ups in help messages.
20678
05b4d525
FF
206792002-03-26 Fred Fish <fnf@redhat.com>
20680
20681 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
20682 have debugging info for those functions and the compiler uses them
20683 internally to copy structs around.
20684
d7679631
FF
206852002-03-26 Fred Fish <fnf@redhat.com>
20686
20687 * gdb.base/list.exp: Revert the change made yesterday and add note
20688 about why we don't list the default lines for remote targets.
20689
523ac3f9
MS
206902002-03-25 Michael Snyder <msnyder@redhat.com>
20691
20692 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
20693
754b2b8d
FF
206942002-03-25 Fred Fish <fnf@redhat.com>
20695
20696 * gdb.base/list.exp: This test works on remote targets so remove
20697 the short circuit for remote targets. Update copyright.
20698
33c3e192
FF
206992002-03-25 Fred Fish <fnf@redhat.com>
20700
20701 * gdb.base/attach.exp: Fix logic error that was suppressing this
20702 test for all non hppa*-*-hpux* targets, instead of the hp target.
20703 Move comments closer to the suppression point. Also now need to
20704 check that we are running natively.
20705
d43e73ee
MS
207062002-03-22 Michael Snyder <msnyder@redhat.com>
20707
882c8f02
MS
20708 * gdb.base/default.exp: Add test for gcore. Update copyright.
20709 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 20710
04c12f60
FF
207112002-03-06 Fred Fish <fnf@redhat.com>
20712
20713 * gdb.base/funcargs.c: Remove extraneous ';' character.
20714 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
20715
b43df995
MC
207162002-03-04 Michael Chastain <mec@shout.net>
20717
20718 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
20719 accommodate gcc v3 function signature.
20720 * gdb.mi/mi0-var-cmd-exp: Ditto.
20721
92362027
AC
207222002-02-24 Andrew Cagney <ac131313@redhat.com>
20723
20724 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
20725 ``GNU/Linux'' or ``Linux kernel''
20726 * testsuite/gdb.threads/pthreads.c: Ditto.
20727
258ad32d
MC
207282002-02-24 Michael Chastain <mec@shout.net>
20729
20730 * gdb.threads/pthreads.c (thread1): Add a return statement.
20731 (thread2): Likewise.
20732 (foo): Likewise.
20733
04c3b3d4
MC
207342002-02-23 Michael Chastain <mec@shout.net>
20735
20736 * gdb.threads/linux-dp.c (philosopher): Add a return statement
20737 to placate gcc.
20738
5a2a0a20
MC
207392002-02-23 Michael Chastain <mec@shout.net>
20740
20741 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
20742 test "ptype bint". The test passes on all my stabs configurations.
20743
a640f7fc
JB
207442002-02-21 Jim Blandy <jimb@redhat.com>
20745
27924826
JB
20746 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
20747 filename at a time, and watch for the ones we want to see.
20748
a640f7fc
JB
20749 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
20750 types of pointers to prototyped functions.
20751
edcc8c75
AC
207522002-02-20 Andrew Cagney <ac131313@redhat.com>
20753
20754 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
20755 signed, unsigned and straight char.
20756 (padding_char, padding_short, padding_int, padding_long,
20757 padding_long_long, padding_float, padding_double,
20758 padding_long_double): New global variables.
20759 (fill, fill_structs): New functions.
20760
20761 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
20762 for correctly sized writes. Update copyright.
20763 (get_valueof): New procedure.
20764 (get_sizeof): Call get_valueof.
20765 (check_valueof): New procedure.
20766 (check_padding): New procedure.
20767
ac57ea44
MC
207682002-02-20 Michael Chastain <mec@shout.net>
20769
20770 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
20771 to setup_xfail. Document some of the remaining calls.
20772
7a10c941
MC
207732002-02-18 Michael Chastain <mec@shout.net>
20774
20775 * gdb.c++/userdef.exp: Update copyright year.
20776
fb8acdcc
DJ
207772002-02-18 Daniel Jacobowitz <drow@mvista.com>
20778
20779 * gdb.c++/userdef.exp: Test overloaded operators properly.
20780 Remove xfails.
20781
fda6ae12
MS
207822002-02-14 Michael Snyder <msnyder@redhat.com>
20783
20784 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
20785
676a0442
DJ
207862002-02-14 Daniel Jacobowitz <drow@mvista.com>
20787
20788 * gdb.base/a2-run.exp: Check for a remote target properly.
20789 * gdb.base/annota1.exp: Likewise.
20790 * gdb.base/list.exp: Likewise.
20791 * gdb.base/reread.exp: Likewise.
20792 * gdb.base/scope.exp: Likewise.
20793 * gdb.base/shlib-call.exp: Likewise.
20794 * gdb.base/term.exp: Likewise.
20795 * gdb.c++/annota2.exp: Likewise.
20796
78b4f468
RE
207972002-02-13 Richard Earnshaw <rearnsha@arm.com>
20798
20799 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
20800
9a81ba51
MC
208012002-02-10 Michael Chastain <mec@shout.net>
20802
20803 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
20804 (call_after_alloca): Ditto.
20805
004af6c7
DJ
208062002-02-10 Daniel Jacobowitz <drow@mvista.com>
20807
20808 * gdb.base/ending-run.exp: Guard "cont" test with
20809 gdb_skip_stdio_test.
20810
37225f62
JB
208112002-02-06 Jim Blandy <jimb@redhat.com>
20812
20813 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
20814 from here...
20815 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
20816 To here. Disable this test on non-HP platforms. Add big comment.
20817
fe6fdd96
MS
208182002-02-04 Michael Snyder <msnyder@redhat.com>
20819
20820 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
20821 other than d10v and m32r.
20822
036fad3f
RE
208232002-02-02 Richard Earnshaw <rearnsha@arm.com>
20824
20825 * gdb.base/default.exp: Rewrite test patterns to reduce time
20826 taken to match them.
20827
7148ab62
DJ
208282002-01-30 Daniel Jacobowitz <drow@mvista.com>
20829
20830 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
20831 Allow a start function above main.
20832 * gdb.threads/linux-dp.exp: Fix copyright date.
20833
396cc255
DJ
208342002-01-30 Daniel Jacobowitz <drow@mvista.com>
20835
a9c64011
AS
20836 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
20837 (check_philosopher_stack): Check for manager thread before checking
20838 for a just-starting thread.
396cc255 20839
f038d31b
DJ
208402002-01-30 Daniel Jacobowitz <drow@mvista.com>
20841
20842 From Neil Booth <neil@daikokuya.demon.co.uk>:
20843 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
20844 warnings.
20845
b3ff9d9a
FF
208462002-01-21 Fred Fish <fnf@redhat.com>
20847
20848 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
20849 not caller.
20850
39ad761d
JB
208512002-01-21 Jim Blandy <jimb@redhat.com>
20852
20853 * gdb.base/reread.exp: Check that GDB properly re-reads the
20854 executable file when it changes while no inferior is running.
20855
aaf320fa
FF
208562002-01-21 Fred Fish <fnf@redhat.com>
20857
a9c64011
AS
20858 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
20859 optionally accept the "shlib events" variation.
aaf320fa 20860
808a31f5
JB
208612002-01-21 Jim Blandy <jimb@redhat.com>
20862
20863 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
20864 call `fflush' after every `printf', so that the output is produced
20865 at predictable points, regardless of whatever buffering does (or
20866 doesn't) take place.
20867 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
20868 at different points.
20869
4420d5e2
DJ
208702002-01-20 Daniel Jacobowitz <drow@mvista.com>
20871
20872 * gdb.c++/inherit.exp: Update copyright years.
20873 * gdb.c++/method.exp: Likewise.
20874
3e36a0f4
DJ
208752002-01-20 Daniel Jacobowitz <drow@mvista.com>
20876
20877 * gdb.c++/classes.exp: Update for improved v3 support and skipping
20878 artificial methods/arguments.
20879 * gdb.c++/derivation.exp: Likewise.
20880 * gdb.c++/inherit.exp: Likewise.
20881 * gdb.c++/method.exp: Likewise.
20882 * gdb.c++/virtfunc.exp: Likewise.
20883
b4ceaee6
AC
208842002-01-18 Andrew Cagney <ac131313@redhat.com>
20885
20886 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
20887 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
20888 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
20889 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
20890 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
20891 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
20892
ecace851
JB
208932002-01-17 Jim Blandy <jimb@redhat.com>
20894
20895 * gdb.asm/asm-source.exp (info symbol): Take another shot at
20896 anchoring the pattern matching the entry point symbol's name.
20897
375fc983
AC
208982002-01-17 Andrew Cagney <ac131313@redhat.com>
20899
20900 * gdb.base/maint.exp: Update ``maint internal-error'' to match
20901 continue/quit query. Update copyright.
20902
fe6fdd96
MS
209032002-01-14 Michael Snyder <msnyder@redhat.com>
20904
20905 * gdb.base/gcore.exp: Remove extra debugging output.
20906
e017c81f
DJ
209072002-01-13 Daniel Jacobowitz <drow@mvista.com>
20908
20909 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
20910 for slightly dubious v2 mangled string.
20911
37ab3bf8
DJ
209122002-01-13 Daniel Jacobowitz <drow@mvista.com>
20913
20914 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
20915
1bc05c3a 209162002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 20917
1bc05c3a 20918 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 20919
1bc05c3a
JM
20920 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
20921 constructors.
20922 * gdb.c++/derivation.exp: Likewise.
20923 * gdb.c++/templates.exp: Likewise.
20924 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 20925
1bc05c3a
JM
209262002-01-10 Michael Snyder <msnyder@redhat.com>
20927
20928 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 20929
a911c360
MS
209302002-01-08 Michael Snyder <msnyder@redhat.com>
20931
20932 * gdb.base/gcore.exp: New test for generate-core-file command.
20933 * gdb.base/gcore.c: Testcase for above.
20934 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
20935
ea2119ec
JM
209362002-01-08 Jason Merrill <jason@redhat.com>
20937
20938 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
20939
68203136
FF
209402002-01-07 Fred Fish <fnf@redhat.com>
20941
20942 * gdb.c++/overload.exp: Remove unconditional xfails for:
20943 print foo_instance1.overloadargs(1)
20944 print foo_instance1.overloadargs(1, 2)
20945 print foo_instance1.overloadargs(1, 2, 3)
20946 print foo_instance1.overloadargs(1, 2, 3, 4)
20947 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
20948 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
20949 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
20950 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
20951 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
20952 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
20953 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
20954 print foo_instance1.overload1arg()
20955 print foo_instance1.overload1arg((char)arg2)
20956 print foo_instance1.overload1arg((signed char)arg3)
20957 print foo_instance1.overload1arg((unsigned char)arg4)
20958 print foo_instance1.overload1arg((int)arg7)
20959 print foo_instance1.overload1arg((unsigned int)arg8)
20960 print foo_instance1.overload1arg((float)arg11)
20961 print foo_instance1.overload1arg((double)arg12)
d63a86f8 20962
21b9b5b1
MS
209632002-01-07 Michael Snyder <msnyder@redhat.com>
20964
20965 * gdb.base/huge.exp: New test. Print a very large target data object.
20966 (skip_huge_test): New test variable. Define if you want to skip this
20967 test. The test reads an 8 megabyte data object from the target, so it
20968 might be very time consuming on remote targets with a slow connection.
20969 * gdb.base/huge.c: New file. Test case for above.
20970
725f922e
FF
209712002-01-07 Fred Fish <fnf@redhat.com>
20972
20973 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
20974 g_instance.bfoo, and g_instance.cfoo.
20975
889bf7c5 209762002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 20977
889bf7c5
PA
20978 * gdb.base/break.c (multi_line_if_conditional): New function.
20979 (multi_ilne_while_conditional): Likewise.
20980 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
20981 IF or WHILE condition puts the breakpoint at the start of
20982 the condition.
f286b2c3 20983
634d57ec
JL
20984 * gdb.base/selftest.exp (backtrace through signal handler): Remove
20985 hppa*-*-hpux* expected failure.
20986 * gdb.base/structs.exp (do_function_calls): Similarly.
20987
20988 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
20989 watchpoints.
20990
9fbfe2dc
AC
209912002-01-06 Andrew Cagney <ac131313@redhat.com>
20992
20993 Fix PR gdb/66.
20994 * gdb.base/structs.exp: Replace skip for a29k with skip for
20995 gdb,cannot_call_functions.
20996 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
20997 * gdb.base/callfuncs.exp: Ditto.
20998 * gdb.base/call-rt-st.exp: Ditto.
20999 * gdb.base/call-strs.exp: Ditto.
21000 * gdb.base/callfwmall.exp: Ditto.
21001 * gdb.base/scope.exp: Obsolete xfail a29k.
21002 * gdb.c++/misc.exp: Ditto.
21003 * gdb.c++/cplusfuncs.exp: Ditto.
21004 * gdb.base/ptype.exp: Ditto.
21005 * gdb.base/printcmds.exp: Ditto.
21006 * gdb.base/opaque.exp: Ditto.
21007 * gdb.base/list.exp: Ditto.
21008 * gdb.base/funcargs.exp: Ditto.
21009 * gdb.base/default.exp: Ditto.
21010
8ddad156
MS
210112002-01-04 Michael Snyder <msnyder@redhat.com>
21012
ca4976a6 21013 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
21014 * gdb.base/maint.exp: Add tests for maint info sections options.
21015
1b074332
JL
21016Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
21017
21018 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
21019
7d159115
CV
210202001-12-20 Corinna Vinschen <vinschen@redhat.com>
21021
21022 * gdb.asm/arm.inc: New file.
21023 * gdb.asm/asm-source.exp: Add arm targets.
21024 * gdb.asm/configure.in: Ditto.
21025 * gdb.asm/configure: Recreated from configure.in.
21026
8fb87725
JL
21027Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
21028
afabe08c
JL
21029 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
21030 with HP's compiler.
21031 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
21032 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
21033 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
21034 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
21035
21036 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
21037 either HP's compilers or GCC.
21038
db521deb
JL
21039 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
21040 a SIGBUS or SIGSEGV.
21041
21042 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
21043
21044 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
21045 can be compiled with either HP's compiler or GCC.
21046
cfa88ab7
JL
21047 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
21048 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
21049 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
21050
ca344dff
JL
21051 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
21052 to match current gdb output. Update due to using auto-solib-limit
21053 for limiting instead of overloading auto-solib-add.
21054 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
21055 test program.
21056
3f3c6e55 21057 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
21058 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
21059 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
21060 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
21061 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
21062 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
21063 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
21064 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
21065 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
21066 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
21067 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
21068 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
21069 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 21070
8fb87725
JL
21071 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
21072 a SIGTRAP to the inferior.
21073
cf599fa7
CV
210742001-12-19 Corinna Vinschen <vinschen@redhat.com>
21075
21076 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
21077 Substitute call to target_link by call to gdb_compile.
21078
2cd045cd
JL
21079Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
21080
a9c64011
AS
21081 * gdb.base/break.exp: Fix HP specific search string when testing
21082 backtracing in a called function.
2cd045cd 21083
a9c64011
AS
21084 * gdb.base/constvars.exp: Only set lang to C++ if we're
21085 compiling the test with HP's compilers.
21086 * gdb.base/volatile.exp: Similarly.
2cd045cd 21087
99ebe9ac
JB
210882001-12-19 Jim Blandy <jimb@redhat.com>
21089
21090 * gdb.base/printcmds.exp: Expect the null character to be printed
21091 as '\0', and the '\013' to be printed as '\v'.
21092 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
21093 * gdb.base/setvar.exp: Same.
21094
b9891b29
JB
210952001-12-17 Jim Blandy <jimb@redhat.com>
21096
0eba65ab
JB
21097 * gdb.base/completion.exp: Rather than completing very long
21098 filenames, which can make the readline library produce output we
21099 don't recognize, cd to the directory first, and then complete
21100 using nice, short relative paths.
21101
6970b5b1
JB
21102 * gdb.base/completion.exp: On some systems, there is, in fact, a
21103 variable named `b' in scope, since GDB treats all static
a9c64011
AS
21104 variables as being in scope. So use `no_var_named_this'
21105 instead of `b'.
6970b5b1 21106
b9891b29 21107 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 21108 can't find the core file's registers as a failure.
b9891b29 21109
e6ccd35f
JSC
211102001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
21111
a9c64011
AS
21112 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
21113 test expect string more specific.
e6ccd35f 21114
105ba819
CV
211152001-12-13 Corinna Vinschen <vinschen@redhat.com>
21116
21117 * gdb.asm/asm-source.exp: Add support for xstormy16.
21118 * gdb.asm/configure.in: Ditto.
21119 * gdb.asm/configure: Rebuild.
21120 * gdb.asm/xstormy16.inc: New file.
21121
e9e79dd9
FF
211222001-12-10 Fred Fish <fnf@redhat.com>
21123
21124 * gdb.base/maint.exp: Update to match changes in type dumping code.
21125
347dc97d
JB
211262001-12-10 Jim Blandy <jimb@redhat.com>
21127
21128 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
21129 matching the entry point symbol's name at the beginning of the
21130 line.
347dc97d 21131
5178b9d6
DJ
211322001-12-07 Daniel Jacobowitz <drow@mvista.com>
21133
21134 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
21135 gdb.c++/inherit.exp, gdb.c++/method.exp,
21136 gdb.c++/namespace.exp, gdb.c++/templates.exp,
21137 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
21138 and class layout support.
21139
af890c52
DJ
211402001-12-07 Daniel Jacobowitz <drow@mvista.com>
21141
21142 * gdb.c++/classes.exp: Add test for static member function.
21143 * gdb.c++/misc.cc: Add class with static member function.
21144
7a345fb3
JB
211452001-12-07 Jim Blandy <jimb@redhat.com>
21146
f2e54a80 21147 If GDB says it can't find the struct the function returned, report
8032bf31
JB
21148 those tests as `unsupported'.
21149 * gdb.base/call-rt-st.exp (print_struct_call): New function.
21150 Rewrite subsequent tests to use it.
21151
21152 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
21153 those tests as `unsupported'.
21154 * gdb.base/structs.exp (call_struct_func): New function.
21155 (do_function_calls): Use call_struct_func to call the functions
21156 returning structs.
21157
0bc69509
JB
21158 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
21159 whether functions are prototyped or not, so we can't possibly pass
21160 arguments to t_float_values2 properly.
21161
7a345fb3
JB
21162 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
21163 value of `timeout' for targets other than the mips*tx39-*.
21164
edb6ede1
MS
211652001-12-06 Michael Snyder <msnyder@redhat.com>
21166
d63a86f8 21167 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
21168 and detect whether the start symbol has a leading underscore.
21169
2d842f13
JB
211702001-12-04 Jim Blandy <jimb@redhat.com>
21171
21172 * gdb.base/completion.exp: Clarify indentation.
21173
68550daf
JB
211742001-12-03 Jim Blandy <jimb@redhat.com>
21175
21176 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
21177 variables on the S/390, not `.word'.
21178
cd5195a8
JB
211792001-11-30 Jim Blandy <jimb@redhat.com>
21180
21181 Add assembly-source tests for s390-ibm-linux.
21182 * gdb.asm/s390.inc: New file.
21183 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
21184 the S/390 architecture.
a9c64011 21185 * gdb.asm/configure: Regenerated.
cd5195a8 21186
ca9efc90
MS
211872001-11-30 Michael Snyder <msnyder@redhat.com>
21188
21189 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
21190 next, info source, info sources, info line, global and static
21191 variables, and static functions.
21192 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
21193 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
21194 * gdb.asm/asmsrc1.s: Add a static function and some variables.
21195 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
21196 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
21197 (gdbasm_leave): Restore frame pointer.
21198 (gdbasm_startup): Copy stack set-up from crt0.S.
21199
d0e66976
FN
212002001-11-26 Fernando Nasser <fnasser@redhat.com>
21201
21202 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
21203 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
21204 to a local (non-static) variable. Copy tstruct.a to a static buffer
21205 and return a pointer to that buffer.
21206 * gdb.base/callfwmall.c (t_structs_a): Ditto.
21207
e2334072
MK
212082001-11-24 Mark Kettenis <kettenis@gnu.org>
21209
21210 * gdb.asm/configure.in: Fix recognition of ix86 target.
21211 * gdb.asm/configure: Regenerate.
21212
756caa3d
MS
212132001-11-21 Michael Snyder <msnyder@redhat.com>
21214
21215 * gdb.asm/sparc.inc: New file.
21216 * gdb.asm/asm-source.exp: Recognize sparc target.
21217 * gdb.asm/configure.in: Recognize sparc target.
21218 * gdb.asm/configure: Regenerate.
d63a86f8 21219
9a4d72d5
MS
212202001-11-21 Michael Snyder <msnyder@redhat.com>
21221
21222 * gdb.asm/m32r.inc: New file.
21223 * gdb.asm/asm-source.exp: Recognize m32r target.
21224 * gdb.asm/configure.in: Recognize m32r target.
21225 * gdb.asm/configure: Regenerate.
21226
a773d1cd
MS
212272001-11-20 Michael Snyder <msnyder@redhat.com>
21228
017ac23d
MS
21229 * gdb.asm/i386.inc: New file.
21230 * gdb.asm/asm-source.exp: Recognize ix86 target.
21231 * gdb.asm/configure.in: Recognize ix86 target.
21232 * gdb.asm/configure: Regenerate.
21233
a773d1cd
MS
21234 * gdb.c++/namespace.exp: Fix quotes in output messages.
21235
bb632afb
MS
212362001-11-14 Michael Snyder <msnyder@redhat.com>
21237
25d559ca 21238 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
21239 qualifier in a type cast expression, to designate an address
21240 in the instruction space (Harvard architecture).
21241
4749e309
MS
212422001-11-13 Michael Snyder <msnyder@redhat.com>
21243
21244 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
21245 Tests for expressions using 'const' and 'volatile'.
21246
25050984
CV
212472001-11-13 Corinna Vinschen <vinschen@redhat.com>
21248
21249 * gdb.asm/asm-sources.exp: Allow defining linker flags.
21250
1902c51f
DJ
212512001-11-12 Daniel Jacobowitz <drow@mvista.com>
21252
21253 * lib/mi-support.exp (mi_run_to_helper): Move comments
21254 outside of gdb_expect.
21255
dcf95b47
DJ
212562001-11-11 Daniel Jacobowitz <drow@mvista.com>
21257
21258 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
21259 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
21260 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
21261 mi0_run_to): New functions.
21262 * gdb.mi/mi-simplerun.exp: Use them.
21263 * gdb.mi/mi0-simplerun.exp: Likewise.
21264 * gdb.mi/mi-var-cmd.exp: Likewise.
21265 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 21266
45b074e1
AC
212672001-11-10 Andrew Cagney <ac131313@redhat.com>
21268
21269 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
21270 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
21271
bf50d346
AC
212722001-11-09 Andrew Cagney <ac131313@redhat.com>
21273
21274 * gdb.base/restore.exp: Include $expected value in restored test
21275 message.
21276
9383332c
AC
212772001-11-09 Andrew Cagney <ac131313@redhat.com>
21278
21279 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
21280 implemented.
21281
db62520a
MS
212822001-11-08 Michael Snyder <msnyder@redhat.com>
21283
21284 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
21285 Add pass/fail message for stop at breakpoint in call dummy function.
21286
b5703437
MS
212872001-11-07 Michael Snyder <msnyder@redhat.com>
21288
d63a86f8
RM
21289 * gdb.c++/templates.exp (test_template_breakpoints):
21290 If we get an overload menu, but it does not match what
760f6330 21291 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
21292 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
21293 making the whitespace optional. Argument for "new" may be
21294 "unsigned" as well as "unsigned int/long".
d63a86f8 21295 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
21296 making the whitespace optional. Also replace "(void) with
21297 "((void|)), making the keyword "void" optional.
d63a86f8 21298 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
21299 making the whitespace optional. Also replace "(void) with
21300 "((void|)), making the keyword "void" optional.
3bf40917
MS
21301 * gdb.base/callfuncs.c (t_float_values): This function must
21302 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 21303 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
21304 can be tested against both cases. Usually one case involves
21305 promotion of float to double, while the other does not.
21306 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
21307 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
21308 includes a stack frame for "start".
21309
c8ab4e6d
JB
213102001-11-05 Jim Blandy <jimb@redhat.com>
21311
21312 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
21313 pointers are 32 bits long, and that offsets of relocs are always
21314 stored in the data (REL-style), and not in the reloc entry itself
21315 (RELA-style).
21316 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
21317 stabs.
21318
3f08ced9
MS
213192001-11-01 Michael Snyder <msnyder@redhat.com>
21320
21321 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
21322 and regular expression operators by using quoting.
21323
cbfa24cd
MS
213242001-10-31 Michael Snyder <msnyder@redhat.com>
21325
21326 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
21327 depending on what the symbol table contains.
21328 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
21329 the output of the ptype command. Similarly, accept both "const &"
21330 and "const&".
21331
aaa68313
CV
213322001-10-31 Corinna Vinschen <vinschen@redhat.com>
21333
21334 * gdb.base/miscexprs.c (main): Add usage of preprocessor
21335 symbol `STORAGE' to allow to choose the storage class of
21336 the local datastructures.
21337 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
21338 compiler directive.
21339
91740388
MS
213402001-10-30 Michael Snyder <msnyder@redhat.com>
21341
21342 * gdb.base/jump.exp: Allow it to run for all targets.
21343
1b7c05e7
CV
213442001-10-29 Corinna Vinschen <vinschen@redhat.com>
21345
21346 * gdb.base/call-ar-st.c (print_double_array): Match for loop
21347 with new double_array size.
21348 (main): Change storage class of all local variables to static.
21349 Reduce size of double_array to 9.
21350 * gdb.base/call-ar-st.exp: Increase timeout value.
21351 Change expected output for double array to match new size in
21352 call-ar-st.c.
21353
36a22261
CV
213542001-10-29 Corinna Vinschen <vinschen@redhat.com>
21355
21356 * gdb.base/ending-run.exp: Create identical output when passing
21357 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 21358 Stormy16 target.
36a22261 21359
92b8ae91
MK
213602001-10-28 Mark Kettenis <kettenis@gnu.org>
21361
21362 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
21363 that we catch the expected failure under Linux/x86.
21364
cb135b83
OF
213652001-10-29 Orjan Friberg <orjanf@axis.com>
21366
21367 * gdb.base/setvar.exp: Escape curly braces.
21368 * gdb.stabs/weird.exp: Ditto.
21369
6884aa54
DJ
213702001-10-27 Daniel Jacobowitz <drow@mvista.com>
21371
21372 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
21373 * gdm.mi/mi0-hack-cli.exp: Likewise.
21374
0398c9aa
AC
213752001-10-25 Andrew Cagney <ac131313@redhat.com>
21376
21377 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
21378 messages.
21379
d20bf2e8
AC
213802001-10-21 Andrew Cagney <ac131313@redhat.com>
21381
21382 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
21383 checking MI enabled.
21384
03dd63aa
CV
213852001-10-09 Corinna Vinschen <vinschen@redhat.com>
21386
21387 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
21388
1d9d99f3
FCE
213892001-10-04 Frank Ch. Eigler <fche@redhat.com>
21390
21391 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
21392 if gdb child process crashes, just signal an error.
21393
838ae6c4
JB
213942001-10-02 Jim Blandy <jimb@redhat.com>
21395
21396 * lib/gdb.exp (test_xfail_format): Simplify.
21397
21398 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
21399 front of the variable name `format'. Simplify `if'.
21400
8f0cbc1c
DJ
214012001-10-01 Daniel Jacobowitz <drow@mvista.com>
21402
21403 * gdb.threads/pthreads.exp: Wait for output and delay
21404 before sending ^C.
21405
1f08dafd
DJ
214062001-10-01 Daniel Jacobowitz <drow@mvista.com>
21407
21408 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
21409 some incorrect output instead of timing out.
21410 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
21411
674f90ff
CV
214122001-09-28 Corinna Vinschen <vinschen@redhat.com>
21413
21414 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
21415 check to allow additional `int'.
21416
9b284272
DJ
214172001-09-27 Daniel Jacobowitz <drow@mvista.com>
21418
21419 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
21420 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
21421
b55a4771
MS
214222001-09-27 Michael Snyder <msnyder@redhat.com>
21423
21424 * lib/gdb.exp (test_debug_format): New proc.
21425 (setup_xfail_format): Use new proc test_debug_format.
21426 * gdb.base/constvars.exp (local_compiler_xfail_check): New
21427 proc; use new service proc test_debug_format.
21428 Replace all other "gcc_compiled" tests with this test.
21429 * gdb.base/volatile.exp (local_compiler_xfail_check): New
21430 proc; use new service proc test_debug_format.
21431 Replace all other "gcc_compiled" tests with this test.
21432
214332001-09-27 Michael Snyder <msnyder@redhat.com>
21434
21435 * gdb.base/cvexpr.exp: New file.
21436 * gdb.base/cvexpr.c: New file
21437 Test for expressions using const and volatile keywords.
21438
4e6667ac
CV
214392001-09-26 Corinna Vinschen <vinschen@redhat.com>
21440
21441 * gdb.base/constvars.exp: Check for different orders of keywords
21442 and additional "int" strings in output.
21443
4f337972
AC
214442001-09-22 Andrew Cagney <ac131313@redhat.com>
21445
21446 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
21447 responses from "help maint".
21448
2015650d
FCE
214492001-09-19 Frank Ch. Eigler <fche@redhat.com>
21450
21451 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
21452 to localhost:NNN instead of :NNN, in case Xvfb is listening
21453 only on TCP.
21454
f3bcedc1
CV
214552001-09-19 Corinna Vinschen <vinschen@redhat.com>
21456
21457 * gdb.base/recurse.exp: When checking leaving the watchpoint
21458 scope, recognize when gdb is in function's epilogue and pass.
21459
6b819c92
KS
214602001-09-18 Keith Seitz <keiths@redhat.com>
21461
21462 * lib/insight-support.exp (_gdbtk_export_target_info): Add
21463 support for running tests against sid targets.
21464 (gdbtk_done): Ditto.
21465
a10c9419
CV
214662001-09-18 Corinna Vinschen <vinschen@redhat.com>
21467
21468 * gdb.base/ending-run.c (main): Set stdout buffersize
21469 to the same reasonable value for any target.
21470 * gdb.base/ending-run.exp: Add a regular expression
21471 to make testsuite happy on Sanyo Stormy16 target.
21472
739d0d99
CV
214732001-09-17 Corinna Vinschen <vinschen@redhat.com>
21474
21475 * gdb.base/display.c (do_loops): Add float variable `f'.
21476 Increment f in loop.
21477 * gdb.base/display.exp: Increment timeout by 60 seconds.
21478 Change float display test to use variable `f'.
21479
1b8947f0
JB
214802001-09-17 Jim Blandy <jimb@redhat.com>
21481
21482 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
21483 overflowing the limited breakpoint tables on some ROM monitors
21484 (like the ROM68K).
21485
9890ac81
FCE
214862001-09-15 Frank Ch. Eigler <fche@redhat.com>
21487
21488 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
21489 the "-ac" (disable access control) flag.
21490
6db765ea
JH
214912001-08-30 Jeff Holcomb <jeffh@redhat.com>
21492
21493 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
21494 ints.
21495
4c32cc04
KS
214962001-08-30 Keith Seitz <keiths@redhat.com>
21497
21498 * lib/gdb.exp: Move all insight-related functionality into
21499 separate file.
21500 * lib/insight-support.exp: New file.
21501
8d6e6f81
FCE
215022001-08-29 Frank Ch. Eigler <fche@redhat.com>
21503
21504 * config/sid.exp (sid_start): Never set sid verbosity; disable
21505 expect_background {} that consumed its stdout; tolerate </dev/null.
21506 Attempt to set endianness override in "sid" protocol mode. Cleanup.
21507
6a90e1d0
AC
215082001-08-18 Andrew Cagney <ac131313@redhat.com>
21509
21510 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
21511 CLI jump command to start it.
21512 (mi_run_to_main): Fail immediatly when unexpected output.
21513
1759b3c3
AC
215142001-08-18 Andrew Cagney <ac131313@redhat.com>
21515
21516 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
21517 beginning of function. Fix PR gdb/191.
21518
61d11d80
FCE
215192001-08-16 Frank Ch. Eigler <fche@redhat.com>
21520
21521 * config/sid.exp (sid_start): Don't warn if we cannot figure out
21522 what to force sid endianness to.
21523
942a4df2
KS
215242001-08-15 Keith Seitz <keiths@redhat.com>
21525
21526 * lib/gdb.exp (gdbtk_start): Don't set environment
21527 variables for TCL_LIBRARY and friends. Insight will
21528 now figure these out for itself.
21529
0521c418
MS
215302001-08-02 Michael Snyder <msnyder@redhat.com>
21531
21532 * gdb.base/completion.exp: Remove the symbol "a64l" from
21533 the expect string; this is target-specific, and not related
21534 to what is being tested.
21535
74a9a58a
DB
215362001-08-02 Dave Brolley <brolley@redhat.com>
21537
21538 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
21539
c70819fa
MS
215402001-07-25 Michael Snyder <msnyder@redhat.com>
21541
c2b8fa57
MS
21542 * gdb.base/consecutive.exp: New file. Test stepping over
21543 breakpoints on consecutive instructions.
21544 * gdb.base/consecutive.c: New file.
21545
c70819fa
MS
21546 * gdb.base/call-rt-st.exp: Use double-backslash to quote
21547 curly braces in regular expressions.
21548
2b1a1355
MS
215492001-07-25 Michael Snyder <msnyder@redhat.com>
21550
21551 * gdb.base/ending-run.exp: Accept "Program exited normally" as
21552 legitimate output from stepping out of main.
21553
413eca6f
KS
215542001-07-22 Keith Seitz <keiths@redhat.com>
21555
21556 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
21557 the empty string, do not run the tests.
21558
7e5a9322
SC
215592001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21560
21561 * gdb.base/long_long.exp: Detect size of pointer. Take into
21562 account 2-byte pointers when testing for p/a results.
21563
de58f10f
SC
215642001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21565
d63a86f8 21566 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
21567 and defined to 1K for m68hc11.
21568 (random_data): Reduce table to 1K for embedded platforms (68hc11).
21569 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
21570 (sizeof_random_data): New variable to tell the size of the data table;
21571 don't test past this size; always run to main.
21572
d6f5fea1
SC
215732001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21574
21575 * gdb.base/return2.exp: return of long long and double fails for
21576 68HC11; don't execute these tests on that platform.
21577 * gdb.base/return.exp: Return of a double fails for 68hc11.
21578
c477543d
SC
215792001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21580
21581 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
21582 tests that print a float.
21583 * call-rt-st.exp: Likewise.
21584
63cf1c79
MK
215852001-07-12 Mark Kettenis <kettenis@gnu.org>
21586
21587 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
21588 running this test on Linux.
21589
112f9ab5
MC
215902001-06-24 Michael Chastain <chastain@redhat.com>
21591
21592 * gdb.base/arithmet.exp: Remove some tests to make all test names
21593 unique.
21594
4970cb0f
MS
215952001-07-03 Michael Snyder <msnyder@redhat.com>
21596
21597 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
21598 the output of the ptype command.
21599
d85da69f
MS
216002001-07-02 Michael Snyder <msnyder@redhat.com>
21601
4c8a82de
MS
21602 * gdb.base/completion.exp: Don't assume that break.c is the only
21603 source file that may contain functions named "marker".
d85da69f
MS
21604 * gdb.base/corefile.exp: Quote the curly braces in regexp.
21605
8afc772b
AC
216062001-06-28 Andrew Cagney <ac131313@redhat.com>
21607
21608 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
21609 of files to delete.
21610
21611 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
21612 * gdb.disasm/h8300s.exp: New file.
21613 gdb.disasm/h8300s.s: Likewise.
21614
cff22675
AC
216152001-06-27 Andrew Cagney <ac131313@redhat.com>
21616
21617 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
21618 empty breakpoint tables.
21619
68c81b54
AC
216202001-06-25 Andrew Cagney <ac131313@redhat.com>
21621
21622 * lib/mi-support.exp: Update args=... part of stop-reason
21623 patterns. Accept either a list or a tuple.
21624
2dd62704
AC
216252001-06-23 Andrew Cagney <ac131313@redhat.com>
21626
21627 * lib/mi-support.exp: Remove local emacs variable defining
21628 change-log-default-name.
21629
b4127474
MC
216302001-06-22 Michael Chastain <chastain@redhat.com>
21631
21632 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
21633 This is operationally compatible with the previous version.
21634
8dbfb380
JB
216352001-06-13 Jim Blandy <jimb@redhat.com>
21636
21637 * lib/gdb.exp (gdb_test): Doc fix.
21638
f2d8c86d
MC
216392001-06-10 Michael Chastain <chastain@redhat.com>
21640
21641 * gdb.base/exprs.exp: Remove a duplicate test.
21642
81564d34
JB
216432001-06-06 Jim Blandy <jimb@redhat.com>
21644
21645 * gdb.base/return2.exp (main): Use values to test float and double
21646 returns that are not NaN's, to avoid being confused by IEEE
21647 comparison rules.
21648
da55addb
MS
216492001-06-04 Michael Snyder <msnyder@redhat.com>
21650
21651 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 21652 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
21653 rather than wait for 12 more tests to time out.
21654
42c65987
JB
216552001-06-06 Jim Blandy <jimb@redhat.com>
21656
b18bced9 21657 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 21658 Don't forget to match the GDB prompt.
b18bced9 21659
42c65987
JB
21660 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
21661
5b41e5f0
JB
216622001-06-04 Jim Blandy <jimb@redhat.com>
21663
21664 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
21665 command.
21666
015e046f
KB
216672001-05-31 Kevin Buettner <kevinb@redhat.com>
21668
21669 * gdb.base/annota1.exp (info break): Match four or more spaces
21670 after "Address".
21671
fb1ffbbe
MC
216722001-05-31 Michael Chastain <chastain@redhat.com>
21673
21674 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
21675 (dm_type_int_star): Likewise.
21676 (dm_type_long_star): Likewise.
21677 (dm_type_void_star): Likewise.
21678
5ea2a32c
KB
216792001-05-29 Kevin Buettner <kevinb@redhat.com>
21680
21681 * gdb.base/completion.exp (INPUTRC): Set this environment variable
21682 to a known value in order to get consistent results regardless
21683 of the setting of INPUTRC or the presence or contents of .inputrc.
21684
ae23c492
MS
216852001-05-24 Michael Snyder <msnyder@redhat.com>
21686
ac55707e
MS
21687 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
21688 Don't require that the main thread and the manager thread are the
21689 first in the list.
21690
ae23c492
MS
21691 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
21692 debugging. If test fails, issue an "unsupported" not a "fail".
21693
400071f1
JB
216942001-05-24 Jim Blandy <jimb@redhat.com>
21695
21696 Don't assume that short is shorter than int.
21697 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
21698 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 21699 this isn't true.
400071f1
JB
21700 ("print unsigned char == (~0)"): Add test that verifies that ~0,
21701 an int, is not equal to ~0 stored in an unsigned char. This tests
21702 the same thing that the previous test meant to, but works on
21703 16-bit machines, too.
21704 ("print unsigned char != (~0)"): Same test, complemented.
21705
0816a3e5
MS
217062001-05-24 Michael Snyder <msnyder@redhat.com>
21707
21708 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 21709 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
21710 and prevents dejagnu getting out of step.
21711
f6dc23a9
KB
217122001-05-23 Kevin Buettner <kevinb@redhat.com>
21713
21714 * gdb.base/finish.exp (finish_void): Revise pattern for
21715 stopping on the call statement to not permit stopping at
21716 the start of the instructions comprising the call sequence.
21717
7dbd117d
MC
217182001-05-19 Michael Chastain <chastain@redhat.com>
21719
21720 * gdb.base/callfuncs.exp: Make all test names unique.
21721 * gdb.base/commands.exp: Make all test names unique.
21722 * gdb.base/condbreak.exp: Make all test names unique.
21723 * gdb.base/dbx.exp: Make all test names unique.
21724 * gdb.base/default.exp: Make all test names unique.
21725 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
21726 and TIMEOUT messages to their corresponding PASS message.
21727 * gdb.base/ending-run.exp: Make all test names unique.
21728 * gdb.base/long_long.exp: Remove duplicate test.
21729
6b0b0a9e
KB
217302001-05-21 Kevin Buettner <kevinb@redhat.com>
21731
21732 * gdb.base/finish.exp (finish_void): Allow "finish" command to
21733 stop on the call statement as well as the statement after the
21734 call.
21735
2caa35cb
MS
217362001-05-21 Michael Snyder <msnyder@redhat.com>
21737
21738 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
21739
40713331
EZ
217402001-05-10 Elena Zannoni <ezannoni@redhat.com>
21741
a9c64011
AS
21742 * gdb.base/completion.exp: Revamp test. Make it execute on all
21743 platforms.
40713331 21744
c2c1be8d
EZ
217452001-05-10 Elena Zannoni <ezannoni@redhat.com>
21746
a9c64011
AS
21747 * config/gdbserver.exp (gdb_load): Handle the case
21748 in which the arguments to gdbserver are given in the
21749 baseboard configuration file.
21750 Also handle the case in which the server needs to do a
21751 load.
2c9cd303 21752
9671de48
KS
217532001-05-07 Keith Seitz <keiths@cygnus.com>
21754
a9c64011
AS
21755 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
21756 set up the display for testing.
21757 (gdbtk_start): Convert all paths to paths that tcl will like.
21758 Export target information to environment.
21759 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
21760 necessary.
21761 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
21762 (to_tcl_path): New proc to convert a given pathname into
21763 a path acceptible as an argument to a tcl command.
21764 (_gdbtk_export_target_info): New proc to export target info
21765 into the environment for gdbtk testing.
21766 (gdbtk_done): New proc to signal end-of-test.
9671de48 21767
5a360f47
JB
217682001-05-06 Jim Blandy <jimb@redhat.com>
21769
21770 * restore.c: Make the code of caller0 correspond to its comment.
21771
66c756c6
MS
217722001-05-03 Michael Snyder <msnyder@redhat.com>
21773
21774 * config/sid.exp (gdb_target_sid): Check for error messages.
21775 On error or timeout, don't make expect exit (which will terminate
21776 all subsequent tests); instead just make gdb exit.
d63a86f8 21777 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
21778 return a negative value.
21779
a966fde5
JB
217802001-04-24 Jim Blandy <jimb@redhat.com>
21781
851c18e0
JB
21782 * gdb.c++/templates.exp: If we see the prompt for the overload
21783 list, but we haven't recognized any of the longer patterns,
21784 arrange for this test to fail, not hang.
21785
a966fde5
JB
21786 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
21787 variations.
21788
db144853
MC
217892001-04-22 Michael Chastain <chastain@redhat.com>
21790
21791 * gdb.c++/local.exp: Use the 'runto' library function.
21792 * gdb.c++/namespace.exp: Likewise.
21793 * gdb.c++/overload.exp: Likewise.
21794
3207ec21
KB
217952001-03-26 Kevin Buettner <kevinb@redhat.com>
21796
21797 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
21798 * gdb.base/step-line.exp: New file. Test step/next in presence of
21799 #line directives.
21800 * gdb.base/step-line.c: New file. Test program for the above.
21801 * gdb.base/step-line.inp: New file. We pretend that this file has
21802 been transformed by some other tool into step-line.c.
21803
13b57657
JB
218042001-03-21 Jim Blandy <jimb@redhat.com>
21805
21806 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
21807 unmangled operator names.
21808
754cbe1c
JB
218092001-03-20 Jim Blandy <jimb@redhat.com>
21810
21811 * gdb.threads/linux-dp.exp: Recognize an additional message
21812 generated by GDB when it doesn't understand how to debug threads
21813 on the target system.
21814
177495c9
AC
218152001-03-19 Andrew Cagney <ac131313@redhat.com>
21816
21817 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
21818
f266096b
MC
218192001-03-12 Michael Chastain <chastain@redhat.com>
21820
21821 * gdb.c++/derivation.exp: Use the 'runto' library function.
21822
cac3c2ff
MC
218232001-03-12 Michael Chastain <chastain@redhat.com>
21824
21825 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
21826
b6c11a24
MC
218272001-02-24 Michael Chastain <chastain@redhat.com>
21828
21829 * gdb.c++/ref-types.exp: Change handwritten code to library
21830 function 'runto'.
21831
6bae5bce
OF
218322001-03-16 Orjan Friberg <orjanf@axis.com>
21833
21834 * gdb.base/signals.exp: Set count to 0 explicitly.
21835
0015fd9a
MS
218362001-03-15 Mark Salter <msalter@redhat.com>
21837
21838 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
21839 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
21840 (gdb_load): Add support for additional target_info: gdb_download_size
21841 and gdb_load_timeout.
0015fd9a 21842
fc33412a
DT
21843Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
21844
21845 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
21846 file -- to prevent failing when the compile fails but we have no
21847 intention of running the tests anyway.
fc33412a
DT
21848
21849 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
21850 tests if set.
21851
21852 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 21853 integers.
fc33412a
DT
21854
21855 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
21856 * gdb.c++/namespace.exp: Ditto.
21857
115f06de
OF
218582001-03-07 Orjan Friberg <orjanf@axis.com>
21859
21860 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
21861 * gdb.base/pointers.exp: Relax pattern match of decimals.
21862
b6ba6518
KB
218632001-03-06 Kevin Buettner <kevinb@redhat.com>
21864
21865 * Makefile.in, config/abug.exp, config/cfdbug.exp,
21866 config/cpu32bug.exp, config/dve.exp, config/est.exp,
21867 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
21868 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
21869 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
21870 config/sh.exp, config/sid.exp, config/slite.exp,
21871 config/sparclet.exp, config/udi.exp, config/unknown.exp,
21872 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
21873 config/vxworks.exp, config/vxworks29k.exp,
21874 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
21875 gdb.base/all-bin.exp, gdb.base/annota1.exp,
21876 gdb.base/arithmet.exp, gdb.base/assign.exp,
21877 gdb.base/async.exp, gdb.base/attach.exp,
21878 gdb.base/bitfields.exp, gdb.base/bitops.exp,
21879 gdb.base/break.exp, gdb.base/call-ar-st.exp,
21880 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
21881 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
21882 gdb.base/commands.exp, gdb.base/completion.exp,
21883 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
21884 gdb.base/constvars.exp, gdb.base/corefile.exp,
21885 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
21886 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
21887 gdb.base/ending-run.exp, gdb.base/environ.exp,
21888 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
21889 gdb.base/finish.exp, gdb.base/foll-exec.exp,
21890 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
21891 gdb.base/funcargs.exp, gdb.base/help.exp,
21892 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
21893 gdb.base/logical.exp, gdb.base/long_long.exp,
21894 gdb.base/maint.exp, gdb.base/mips_pro.exp,
21895 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
21896 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
21897 gdb.base/pointers.exp, gdb.base/printcmds.exp,
21898 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
21899 gdb.base/regs.exp, gdb.base/relational.exp,
21900 gdb.base/remote.exp, gdb.base/reread.exp,
21901 gdb.base/restore.exp, gdb.base/return2.exp,
21902 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
21903 gdb.base/selftest.exp, gdb.base/setshow.exp,
21904 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
21905 gdb.base/sigall.exp, gdb.base/signals.exp,
21906 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
21907 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
21908 gdb.base/step-test.exp, gdb.base/structs.c,
21909 gdb.base/structs.exp, gdb.base/structs2.exp,
21910 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
21911 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
21912 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
21913 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
21914 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
21915 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
21916 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
21917 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
21918 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
21919 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
21920 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
21921 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
21922 gdb.fortran/types.exp, gdb.java/jmisc.exp,
21923 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
21924 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
21925 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
21926 gdb.trace/circ.exp, gdb.trace/collection.exp,
21927 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
21928 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
21929 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
21930 gdb.trace/report.exp, gdb.trace/save-trace.exp,
21931 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
21932 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
21933 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
21934 notices.
21935
dc96c6c7 219362001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
21937
21938 * gdb.base/varargs.c (find_max_double): Fix printf format string:
21939 first arg is int not float.
21940
dc96c6c7 219412001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
21942
21943 * gdb.base/reread.exp: Unsupported for non-native targets;
21944 doesn't work for remote debugging.
21945
9b0c4aeb
FN
219462001-02-19 Fernando Nasser <fnasser@redhat.com>
21947
21948 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
21949 * gdb.base/ending-run.exp: Properly handle the BSP state when
21950 stepping past the end of main.
9b0c4aeb 21951
02aa71d5
MC
219522001-02-19 John Moore <jmoore@redhat.com>
21953
21954 * gdb.base/commands.exp (infrun_breakpoint_command_test):
21955 Converted HPUX fix for non-expected items following multiple
21956 step commands into general solution for all platforms.
21957
1fa449a4
MC
219582001-02-18 Michael Chastain <chastain@redhat.com>
21959
21960 * gdb.c++/classes.exp (do_tests): Change runto statements
21961 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21962 statements demangler agnostic.
21963 * gdb.c++/virtfunc.exp (do_tests): Likewise.
21964 (gdb_virtfunc_restart): Likewise.
21965
b2f9ec70
MC
219662001-02-14 Michael Chastain <chastain@redhat.com>
21967
21968 * gdb.c++/inherit.exp (do_tests): Change runto statements
21969 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21970 statements demangler agnostic.
21971
cf74b8ca
AC
21972Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
21973
21974 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
21975 ``continue to bkpt at common_routine in thread 2'' and ``stopped
21976 before calling common_routine 15 times'' tests.
cf74b8ca 21977
99f78f56
MC
219782001-02-11 Michael Chastain <chastain@redhat.com>
21979
21980 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
21981 Helps the test script figure out which demangler is in use.
21982 (dm_type_foo_ref): Ditto.
21983 (dm_type_int_star): Ditto.
21984 (dm_type_long_star): Ditto.
21985 (dm_type_unsigned_int): Ditto.
21986 (dm_type_void): Ditto.
21987 (dm_type_void_star): Ditto.
99707966 21988 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
21989 Probe the gdb demangler and set variables to accommodate
21990 formatting differences.
21991 (info_func_regexp): New function. Same as info_func, but
21992 matches against a regexp.
21993 (info_func): Match against a literal string.
21994 (print_addr_2): New function. Match against a literal string,
21995 which can be different from the input to gdb.
21996 (print_addr): Simply call print_addr_2 with the same argument twice.
21997 (test_lookup_operator_functions): Use demangler formatting variables.
21998 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
21999 the tests in the same order as the C++ class declaration.
22000 (test_paddr_operator_functions): Ditto.
22001 (test_paddr_overloaded_functions): Ditto.
22002 (test_paddr_hairy_functions): Use demangler formatting variables.
22003 Add reference to gdb/19 for related tests.
22004 (do_tests): Call probe_demangler.
22005
1de8f023
KB
220062001-01-30 Kevin Buettner <kevinb@redhat.com>
22007
22008 * gdb.c++/templates.cc (printf): Remove unused function definition.
22009
ca3f91ed
MS
220102001-01-26 Felix Lee <flee@redhat.com>
22011
22012 * sid.exp (sid_exit): Pass host, not target, to remote_close.
22013
220142001-01-25 matthew green <mrg@redhat.com>
22015
22016 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
22017 up sid.
22018 (sid_exit): Call `remote_pop_conn' after GDB is gone.
22019
220202001-01-25 matthew green <mrg@redhat.com>
22021
22022 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 22023 Deprecate $sid_spawn_id.
ca3f91ed
MS
22024 (sid_exit): Remove code necessary only for `spawn.'
22025
220262001-01-25 matthew green <mrg@redhat.com>
22027
22028 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
22029
fb18ec4a
MC
220302001-01-28 Michael Chastain <chastain@redhat.com>
22031
22032 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
22033 to call when tests fail. It takes gdb out of the overloaded
22034 function choice menu back to the main prompt, so that the test
22035 program stays synchronized.
22036 (set_bp_overloaded): New proc to collect all the common
22037 code for setting a breakpoint on an overloaded name. Calls
22038 take_gdb_out_of_choice_menu when needed.
22039 (menu_overload1arg): New variable to collect the repeated
22040 instances of the expected menu for an overloaded name. Change
22041 the regular expression to handle changes in g++ type encoding:
22042 "void" can be either "void" or "", and "unsigned int" can be
22043 either "unsigned int" or "unsigned".
22044 (continue_to_bp_overloaded): Change regular expressions to handle
22045 changes in g++ type encoding.
22046 (no proc): Call take_gdb_out_of_choice_menu when needed.
22047 Remove redundant calls to "info break". Accept either "canceled"
22048 or "cancelled". Change regular expressions in "info break"
22049 calls to handle changes in g++ type encoding. Give all tests
22050 unique strings.
22051
9c646a6e
BE
220522001-01-17 Ben Elliston <bje@redhat.com>
22053
22054 * config/sid.exp: New file.
22055
9549d9c1
AC
22056Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
22057
22058 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
22059
dc96c6c7 220602000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
22061
22062 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
22063 Add a RE to accept a non-ascii char if one is ever presented.
22064
b4df4f68
FN
220652000-12-20 Fernando Nasser <fnasser@redhat.com>
22066
297dd0fd 22067 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 22068
dc96c6c7 220692000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 22070
d63a86f8 22071 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
22072 in regexp. One '\' does not suffice on Linux.
22073
4a7bddb6
MC
220742000-12-09 Michael Chastain <chastain@redhat.com>
22075
22076 * gdb.base/break.exp (test_clear_command): Use a marker function
22077 rather than 'main' for the test function. Also move this
22078 test to an execution point where the marker function names are
22079 guaranteed to be bound to functions. (Executing tests after a
22080 'finish' from main runs into name conflicts with local names
22081 in __libc_start_main).
22082
dc96c6c7 220832000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
22084
22085 * gdb.base/finish.exp: New test for gdb's "finish" command.
22086 * gdb.base/return2.exp: New test for gdb's "return" command.
22087 * gdb.base/return2.c: New source file for above.
22088
dc96c6c7 220892000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
22090
22091 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
22092 * gdb.base/miscexprs.exp: Ditto.
22093 * gdb.base/pointers.exp: Ditto.
22094 * gdb.c++/derivation.exp: Ditto.
22095 * gdb.c++/local.exp: Ditto.
22096 * gdb.c++/namespace.exp: Ditto.
22097 * gdb.c++/overload.exp: Ditto.
22098 * gdb.c++/ref-types.exp: Ditto.
22099
dc96c6c7 221002000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
22101
22102 * gdb.base/constvars.exp: Test result of "up" command.
22103 * gdb.base/miscexprs.exp: Ditto.
22104 * gdb.base/pointers.exp: Ditto.
22105 * gdb.base/scope.exp: Ditto.
22106 * gdb.c++/derivation.exp: Ditto.
22107 * gdb.c++/local.exp: Ditto.
22108 * gdb.c++/namespace.exp: Ditto.
22109 * gdb.c++/overload.exp: Ditto.
22110 * gdb.c++/ref-types.exp: Ditto.
22111
44097287
FN
221122000-11-22 Michael Chastain <chastain@redhat.com>
22113
22114 * mips_pro.exp: Accept either "middle -> top -> main" or
22115 "middle -> main" in the backtrace, because gcc can optimize
22116 tail calls to jumps. Remove setup_xfail for the hppa case.
22117 Add a comment with the original warning messages from PR 3016,
22118 which was filed in 1993, to preserve them for posterity.
22119
9d2e1bab
ND
221202000-11-17 Nick Duffek <nsd@redhat.com>
22121
22122 * lib/gdb.exp (gdb_test): Override timeout with board info.
22123
1aca8eb7
ND
221242000-11-17 Nick Duffek <nsd@redhat.com>
22125
22126 * gdb.base/display.exp: Don't kill running stub. Add "again" to
22127 the second kill and detach messages.
22128
93076499
ND
221292000-11-17 Nick Duffek <nsd@redhat.com>
22130
22131 * configure.in: Add AC_EXEEXT.
22132 * configure: Regenerate.
22133 * Makefile.in (just-check): Export EXEEXT.
22134 * lib/gdb.exp ($EXEEXT): Import from environment.
22135 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
22136 expect "maint dump-me" on Cygwin.
22137 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
22138 $EXEEXT.
22139
30e87cd3
ND
221402000-11-17 Nick Duffek <nsd@redhat.com>
22141
22142 * gdb.base/break.exp: Test backtrace and finish from called
22143 function on all platforms, not just HP-UX.
22144
dc96c6c7 221452000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
22146
22147 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
22148 code from gdb_target_monitor, so it can be used independantly
22149 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 22150
dc96c6c7 221512000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
22152
22153 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
22154 * gdb.base/corefile.exp: Expect the message "Program is being
22155 debugged already" when we send the "corefile" command, since
22156 the preceeding gdb_load may have connected gdb to a remote target.
22157 * gdb.base/display.exp: Disable hardware watchpoints if new
22158 board info variable "no_hardware_watchpoints" is true.
22159 Replace single-letter commands with more readable ones.
22160 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
22161 if new board info variable "no_hardware_watchpoints" is true.
22162 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
22163 to see if stdio (printf) testing is possible.
22164 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
22165 board info variable "no_hardware_watchpoints" is true. Use new
22166 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
22167
39124dea
FN
221682000-11-13 Fernando Nasser <fnasser@redhat.com>
22169
22170 From Orjan Friberg <orjanf@axis.com>:
22171 * gdb.base/printcmds.exp: Escape curly braces followed by a number
22172 in array print pattern match.
22173
a9e2e984
FN
221742000-11-09 Fernando Nasser <fnasser@redhat.com>
22175
22176 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
22177 spelling "cancelled" to U.S. spelling "canceled" to match changes
22178 made to gdb.
22179 * gdb.c++/ovldbreak.exp: Ditto.
22180
c7db355b
PS
221812000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22182
22183 * gdb.base/callfuncs.c (main): Moved to end of file, call
22184 t_double_values to initialize the FPU before inferior calls are made.
22185 * gdb.base/callfuncs.exp: Test for register preservation after calling
22186 inferior functions. Add tests for continuining, finishing and
22187 returning from a stop in a call dummy.
22188
dc96c6c7 221892000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
22190
22191 * gdb.base/commands.exp: Break up long lines, and re-indent.
22192
dc96c6c7 221932000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
22194
22195 * config/gdbserver.exp: Rewritten from the ground up, to make it
22196 compatible with the current dejagnu tree, and to make it work with
22197 the new "gdbserver" in libremote.
22198
dc96c6c7 221992000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
22200
22201 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
22202 * gdb.base/varargs.exp: Skip entire test if no printf support.
22203 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
22204 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
22205
dc96c6c7 222062000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
22207
22208 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
22209 no floating point support.
22210 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
22211 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
22212 * gdb.base/call-rt-st.exp: Ditto.
22213 * gdb.base/call-strs.exp: Ditto.
22214
bac5fc66
JG
222152000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
22216
22217 * gdb.base/sizeof.c: include <stdio.h>.
22218
22219 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
22220 'finish', otherwise uncaptured gdb_prompt would potentially
22221 throw remaining test points out of sync.
bac5fc66 22222
b22a6027
SB
222232000-07-26 Scott Bambrough <scottb@netwinder.org>
22224
22225 * gdb.base/recurse.exp: Run tests for all targets.
22226 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
22227 gnu-oldld case on ARM.
22228 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
22229 for ARM targets.
d63a86f8 22230
d8231941
AG
22231Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
22232
22233 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
22234 * gdb.java/configure: Rebuild.
22235
8caabe69
AG
22236Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
22237
22238 * gdb.java/jv-exp.exp: New file.
22239
9d273ca3
AG
22240Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
22241
22242 * configure: Rebuilt.
22243 * configure.in (configdirs): Add gdb.java.
22244 * gdb.java/jmisc.java: New file.
22245 * gdb.java/jmisc.exp: New file.
22246 * gdb.java/Makefile.in: New file.
22247 * gdb.java/configure: Rebuilt.
22248 * gdb.java/configure.in: New file.
22249 * lib/java.exp: New file.
22250
4f823a66
AC
22251Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
22252
22253 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 22254 underflow.
4f823a66 22255
2391e11d
AC
22256Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
22257
22258 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 22259 and the compilers sizes.
2391e11d 22260
54602222
ND
222612000-07-09 Nick Duffek <nsd@redhat.com>
22262
22263 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
22264 (use_methods): New function.
22265 (main): Call use_methods().
22266 * gdb.c++/classes.exp (test_method_param_class): New procedure.
22267 (do_tests): Call test_method_param_class.
22268
2bec0572
ND
222692000-07-09 Nick Duffek <nsd@redhat.com>
22270
22271 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
22272 spelling.
22273 (test_enums): New procedure. Move enum tests from end of script
22274 to here. Set breakpoint on function name instead of line number.
22275 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
22276 (enums2): New marker function.
22277 (enums1): New function.
22278 (main): Call enums1(). Move enum tests to enums1().
22279
78492fde
AC
22280Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
22281
22282 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 22283 compile/link program. Update line numbers.
78492fde
AC
22284 * gdb.asm/d10v.inc: Define ``startup''.
22285 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 22286
49a2cef8
AC
22287Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
22288
22289 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
22290
3e6c8688
EZ
222912000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22292
22293 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 22294 of 'help maint print' command.
3e6c8688 22295
9ff5cbe9
AC
22296Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
22297
22298 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 22299 they use gdb_expect_list.
9ff5cbe9 22300
17c579bd
AC
22301Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
22302
22303 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
22304 memory-read-packet-size'' instead of ``set endian big'' to test
22305 long commands.
17c579bd 22306
e6d71bf3
DB
223072000-06-03 Daniel Berlin <dan@cgsoftware.com>
22308
22309 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 22310 g++, and stop skipping them.
e6d71bf3
DB
22311
22312 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
22313 work under g++.
22314
d63a86f8 22315 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
22316 initialization.
22317
dc96c6c7 223182000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
22319
22320 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
22321 the regular expression: accept an (almost) arbitrary sequence of
22322 "frames-invalid" and "breakpoints-invalid" messages both before
22323 and after the "starting" message.
22324
dc96c6c7 223252000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
22326
22327 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 22328
dc96c6c7 223292000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
22330
22331 * gdb.base/annota1.exp (annotate-signal-handler-caller):
22332 Relax the regular expression a little, make it pass on Solaris 8.
22333
8216cda9
KB
223342000-05-12 Kevin Buettner <kevinb@redhat.com>
22335
22336 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 22337 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
22338 Instead, it is permissible for gdb to stop on the line of the
22339 call itself.
22340
1a570b2f
MS
223412000-05-12 Michael Snyder <msnyder@.cygnus.com>
22342
22343 * gdb.base/break.exp (bp on small function, optimized file):
22344 Add a second pass pattern. The behavior differs here between stabs
22345 and dwarf for one-line functions. Stabs preserves two line symbols
22346 (one before the prologue and one after) with the same line number,
22347 but dwarf regards these as duplicates and discards one of them.
22348 Therefore the address after the prologue (where the breakpoint is)
22349 has no exactly matching line symbol, and GDB reports the breakpoint
22350 as if it were in the middle of a line rather than at the beginning.
22351
dc96c6c7 223522000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 22353
d63a86f8 22354 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
22355 rather than "send_gdb" (for consistancy).
22356
7d418785
AC
22357Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
22358
22359 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
22360 * gdb.c++/templates.cc: Properly check for GCC version number.
22361 * lib/compiler.cc: Likewise
22362
dc96c6c7 223632000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 22364
d63a86f8 22365 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
22366 gdb may not stop at the first line of main, due to code motion.
22367
dc96c6c7 223682000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
22369
22370 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
22371 This test depends on parsing the printf output from the target.
22372 Since the sparclet stub doesn't do stdio, this will never work.
22373 * gdb.base/call-rt-st.exp: ditto.
22374 * gdb.base/call-strs: ditto.
22375
dc96c6c7 223762000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
22377
22378 * gdb.base/miscexprs.exp: make sizeof long array test portable.
22379
22380 * gdb.base/ending-run.exp: After connecting to a remote target,
22381 but before running, the target will appear to be in a random
22382 location. Specify both a file and a line for breakpoints.
22383 Also, the function that calls main may be called 'init'
22384 rather than 'start'.
22385
a5a51225
EZ
223862000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22387
22388 * gdb.base/help.exp: Update output for add-symbol-file command.
22389
7930cc7c
FN
223902000-04-10 Fernando Nasser <fnasser@cygnus.com>
22391
22392 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22393 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
22394
23e37ab1
C
223952000-04-07 J.T. Conklin <jtc@redback.com>
22396
e93c542c
C
22397 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
22398
23e37ab1
C
22399 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
22400
591b8fa3
PDM
22401Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
22402
22403 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 22404 values that can be represented exactly.
591b8fa3
PDM
22405 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
22406 above change, and to not check against the directory part of the source
22407 file name.
22408 (step into print_long_arg_list): Likewise.
22409 (print print_small_structs from print_long_arg_list): Likewise.
22410 (print print_long_arg_list): Likewise.
22411
7a495180
EZ
224122000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22413
30b53638 22414 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 22415
beb998c6
AC
22416Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
22417
22418 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
22419
1c689132
DB
224202000-03-25 Daniel Berlin <dan@cgsoftware.com>
22421
22422 * gdb.base/commands.exp (deprecated_command_test): Add test for
22423 deprecate with no arguments.
22424
c1790a9d
JL
224252000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
22426
22427 * gdb.base/break.exp: Add new test for setting breakpoints on
22428 optimized code so we can test breakpoints work even when function
22429 prologues may be optimized away
22430
003ba290
FN
224312000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
22432
22433 From David Whedon <dwhedon@gordian.com>
a9c64011 22434 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 22435
6837a0a2
DB
224362000-03-22 Daniel Berlin <dan@cgsoftware.com>
22437
22438 * gdb.base/help.exp: Added test for new apropos command.
22439
b9593231
KB
224402000-03-21 Kevin Buettner <kevinb@redhat.com>
22441
22442 * gdb.base/pointers.c (usevar): New function.
22443 (main): Make sure that global variables v_int_pointer2, rptr,
22444 and y are all referenced someplace in the program by calling
22445 usevar() on them. [Some linkers delete symbols which are
22446 never referenced. The space remains, but there's no way to
22447 get a (symbolic) handle on the variable from the debugger.]
22448
751a959b
EZ
224492000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22450
22451 * gdb.base/printcmds.c: Add typedeffed arrays.
22452
22453 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 22454 procedure to test arrays that are typedef'd.
751a959b 22455
73a93a32
JI
224562000-03-13 James Ingham <jingham@leda.cygnus.com>
22457
22458 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 22459 the library directories.
73a93a32 22460
fb40c209
AC
22461Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
22462
22463 * configure.in (configdirs): Add sub directory gdb.mi.
22464 * configure: Re-generate.
22465
22466 * gdb.mi: New directory.
d63a86f8 22467
ee4dd2c9
AC
224682000-02-25 Scott Bambrough <scottb@netwinder.org>
22469
22470 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 22471 a long long value as a double on ARM platforms.
ee4dd2c9 22472
70f0cc22
JB
224732000-02-16 Jim Blandy <jimb@redhat.com>
22474
22475 * gdb.base/break.exp ("breakpoint line number"): Make sure the
22476 default source file is set properly before running this test.
22477
853819b8
EZ
224782000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22479
22480 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 22481 gdbtk/library directory, not in gdbtcl2.
853819b8 22482
dfcd3bfb
JM
224832000-02-04 Jim Blandy <jimb@redhat.com>
22484
22485 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
22486 backslash from regexp pattern.
22487
22488 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
22489 procedure. Use it to run all the "continue to bp overloaded"
22490 tests. Note that this changes the names of the tests slightly.
22491 If the breakpoint hit message includes a hex PC value, because
22492 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
22493 from the real source code, still consider that a pass.
22494
22495 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
22496 XFAIL here if the breakpoint message contains a hex address. Note
22497 similar change on 1999-11-02.
22498
22499 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
22500
22501 * gdb.base/ptype.exp: Establish a default source file before
22502 calling get_debug_format.
22503
225042000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
22505
22506 * gdb.base/watchpoint.exp: Remove duplication of test messages.
22507
8b93c638
JM
225082000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22509
22510 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
22511 of successive stepi commands -- while in the prologue we should see
22512 the function entry bracket.
22513
225142000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22515
22516 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
22517 reach __change_mode() when stepping through the end of main().
22518
c5394b80
JM
225192000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
22520
22521 * gdb.base/default.exp: Fix expected pattern.
22522 * gdb.base/help.exp: Same.
22523
0d06e24b
JM
225242000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22525
22526 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 22527 Don't use xfail's because that affects only the following test.
d63a86f8 22528
0d06e24b 22529 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 22530 solaris or linux.
0d06e24b
JM
22531
22532 * gdb.base/selftest.exp: Update to reflect changes to main.c.
22533
dc96c6c7 225342000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 22535
d63a86f8 22536 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
22537 "A syntax error" rather than "A parse error". Accept both.
22538
225392000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
22540
22541 * gdb.base/default.exp: Remove OS dependent string from "target
22542 remote" test.
22543 * gdb.base/help.exp: Same for "help target remote" test.
22544
c3f6f71d
JM
225452000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22546
22547 From Jim Kingdon <kingdon@redhat.com>:
22548
22549 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
22550 prompt (cleanup rather than necessity, but still might keep output
22551 from spilling to next test).
c3f6f71d
JM
22552
225532000-01-02 Fred Fish <fnf@cygnus.com>
22554
22555 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
22556 AIX, which defines them in <sys/types.h>.
22557
ed9a39eb 225581999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 22559
ed9a39eb 22560 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 22561 float" test.
ed9a39eb
JM
22562
225631999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 22564
ed9a39eb 22565 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
22566
22567 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
22568 outermost frame disallowed".
22569
225701999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
22571
22572 * gdb.base/setvar.exp: New tests for setting the value of a struct
22573 with a constant list.
22574
225751999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
22576
22577 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
22578 require the user to type a cast before setting the value of a struct.
22579
de57eccd
JM
225801999-12-06 Jim Blandy <jimb@cygnus.com>
22581
22582 * gdb.base/default.exp: Expect the new 'info float' command on
22583 all i386 platforms.
22584
22585 * gdb.threads/linux-dp.exp: Expand our ability to recognize
22586 LinuxThreads libraries that don't support debugging.
22587
c2d11a7d
JM
22588Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22589
22590 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
22591 Change the buffer type to ``unsigned char'' to simplify size
22592 arithmetic.
c2d11a7d
JM
22593
22594 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
22595 stub only handles 400-1 byte packets. Verify that the download
22596 worked.
c2d11a7d
JM
22597
225981999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
22599
22600 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
22601 tests, using UNRESOLVED for the untested cases. Also, does not wait
22602 for a timeout if the prompt was received before a recognizable pattern.
22603
226041999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
22605
22606 * lib/gdb.exp (gdb_expect_list): Fix spelling.
22607
226081999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22609
22610 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 22611 watchpoints.
c2d11a7d
JM
22612
226131999-11-24 Jason Merrill <jason@casey.cygnus.com>
22614
22615 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
22616
22617 * gdb.c++/local.exp: Be more flexible in recognizing local class
22618 name mangling. Don't allow horribly truncated method names.
22619 * gdb.c++/derivation.exp: Expect protected inheritance.
22620 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
22621 * gdb.c++/virtfunc.exp: Likewise.
22622 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
22623 when printing a nested enum.
22624
226251999-11-22 Jim Blandy <jimb@cygnus.com>
22626
22627 * gdb.base/step-test.exp: Properly await GDB's response to setting
22628 a breakpoint on the call to large_struct_by_value.
22629
22630 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
22631 just because we have debug info for the `start' function.
22632
226331999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
22634
22635 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
22636 "Unknown signal" messages, which indicate (on LinuxThreads) that
22637 GDB doesn't know how to debug threads on this system. This is
22638 better than hanging while philosopher 0 dumps chatter into gdb.log.
22639
226401999-11-18 Tom Tromey <tromey@cygnus.com>
22641
22642 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
22643
226441999-11-18 Fred Fish <fnf@cygnus.com>
22645
22646 * gdb.base/coremaker2.c: Add sample program for generating
22647 cores that is more self contained than coremaker.c. Eventually
22648 I'll add more code to this and tie it into the testsuite.
22649
4ce44c66
JM
226501999-11-12 Stan Shebs <shebs@andros.cygnus.com>
22651
22652 * gdb.base/dollar.exp: Remove, now in gdb.hp.
22653
226541999-11-10 Jimmy Guo <guo@cup.hp.com>
22655
22656 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 22657 from $srcdir/lib/.
4ce44c66 22658 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 22659 and gdb.c++/.
4ce44c66
JM
22660
22661 * gdb.c++/derivation.exp: remove redundant get compiler info code.
22662
d63a86f8 22663 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
22664 'continue with watch' test point.
22665
226661999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
22667
22668 Merged from p2linux-990323-branch:
d63a86f8 22669
4ce44c66
JM
22670 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
22671
11cf8741
JM
22672Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
22673
22674 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 22675 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
22676
22677Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
22678
22679 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 22680 gdb_expect_list.
11cf8741
JM
22681
22682Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
22683
22684 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
22685
226861999-11-03 Mark Salter <msalter@cygnus.com>
22687
22688 * gdb.base/break.exp: Fix "stub continue" pattern.
22689
226901999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
22691
22692 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
22693
226941999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
22695
22696 * gdb.base/display.exp ("finish"): Add timeout clause.
22697
22698 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
22699 plain prompt clause, so this doesn't have to time out in order to
22700 fail.
22701
22702 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 22703 breakpoint hit messages include an address.
11cf8741
JM
22704
22705 * gdb.base/display.exp: Don't forget to escape parens in regular
22706 expressions. Unix regexp notatation sucks.
22707
227081999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22709
22710 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 22711 order for 'signalled' message.
11cf8741 22712
5c44784c
JM
227131999-11-01 Stan Shebs <shebs@andros.cygnus.com>
22714
22715 From Jimmy Guo <guo@cup.hp.com>:
22716 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
22717 * gdb.base/annota1.c: Add code for tests to work with.
22718
227191999-10-26 Frank Ch. Eigler <fche@cygnus.com>
22720
22721 * gdb.base/remote.exp: New test for remote downloading settings.
22722 * gdb.base/remote.c: New file with large .data.
22723
917317f4
JM
227241999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
22725
22726 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
22727 for LinuxThreads support, merged from the Code Fusion branch.
22728
22729Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
22730
22731 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
22732 containing exp_continue into a while within an expect. Don't
22733 attempt a start more than three times. Check return value from
22734 gdb_load.
d63a86f8 22735
2df3850c
JM
22736Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
22737
22738 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 22739 a pass case.
2df3850c 22740
2acceee2
JM
227411999-10-01 Kevin Buettner <kevinb@cygnus.com>
22742
22743 * gdb.base/break.c (main): Added a statement that we can step
22744 off of.
22745 * gdb.base/break.exp: Added tests for setting a breakpoint
22746 at an offset and stepping onto a breakpoint.
22747
227481999-10-01 Fred Fish <fnf@cygnus.com>
22749
d63a86f8 22750 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
22751 gdb output.
22752
c2c6d25f
JM
227531999-09-18 Jim Blandy <jimb@cris.red-bean.com>
22754
22755 * gdb.base/break.exp: Code locations are in hex, don't forget!
22756 (For HP-UX.)
22757
227581999-09-17 Stan Shebs <shebs@andros.cygnus.com>
22759
22760 * condbreak.exp: Use break.c as test program.
22761 * condbreak.c: Remove, redundant with break.c.
22762
227631999-09-15 Stan Shebs <shebs@andros.cygnus.com>
22764
22765 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 22766 Z-packets if the target needs it.
c2c6d25f
JM
22767
227681999-09-13 James Ingham <jingham@leda.cygnus.com>
22769
22770 * gdb.c++/overload.exp: Added tests for listing overloaded
22771 functions with function pointers in the arg, explicitly calling
22772 out the version you want.
22773
cff3e48b
JM
227741999-09-09 Stan Shebs <shebs@andros.cygnus.com>
22775
22776 * long_long.exp: Add variations of test cases that work for
22777 targets with 16-bit ints and 32-bit doubles.
22778
d4f3574e
SS
227791999-09-08 Stan Shebs <shebs@andros.cygnus.com>
22780
22781 * break.c (main): Compare a possibly-uninitialized argc with an
22782 unlikely value that fits in 16 bits.
22783
227841999-09-07 Stan Shebs <shebs@andros.cygnus.com>
22785
22786 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
22787 0xfeeb, don't want negative numbers if ints are 16 bits.
22788
22789 * lib/gdb.exp (skip_cplus_tests): New proc.
22790 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
22791 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
22792 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
22793 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
22794 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
22795 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
22796 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
22797 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
22798
22799 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
22800
22801Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
22802
22803 * gdb.base/corefile.exp (up): Allow a parameter to appear
22804 in the frame that we're going up to.
22805
22806 From Jim Blandy <jimb@cygnus.com>:
22807
22808 * gdb.base/default.exp (info float): Expect some output now.
22809
22810 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
22811 returning floating-point values to fail on the x86.
22812 * gdb.base/callfwmall.exp (do_function_calls): Same.
22813
22814 * gdb.base/list.exp (test_listsize): Correct expectations for
22815 listing line 1 with listsize 2. Also, listing a single line
22816 works now, as does listing three lines. [Kevin's note: There
22817 were a number of other cases fixed too where the expectations
22818 differed...]
22819
228201999-09-02 Stan Shebs <shebs@andros.cygnus.com>
22821
22822 * gdb.base/selftest.exp: Add case for when version prints as
22823 constant string instead of char pointer.
22824
104c1213
JM
228251999-08-25 Stan Shebs <shebs@andros.cygnus.com>
22826
22827 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 22828 stepping out of main.
104c1213
JM
22829
22830 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
22831 G++ used.
22832
22833 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 22834 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
22835
22836 * gdb.c++/ovldbreak.exp: Update match string in test that
22837 includes a warning of multiple breakpoints.
22838
228391999-08-24 Stan Shebs <shebs@andros.cygnus.com>
22840
22841 * gdb.base/display.exp: Improve precision of step-after-finish
22842 added yesterday.
22843
22844 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 22845 test.
104c1213
JM
22846
22847 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
22848 configs when using G++, not just hppa*.
22849
228501999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22851
22852 * gdb.base/async.c: New file.
22853 * gdb.base/async.exp: New file.
22854
22855Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
22856
22857 * gdb.base/break.exp: Tweak PA specific tests to properly handle
22858 PA64.
22859
53a5351d
JM
22860Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
22861
104c1213
JM
22862 * gdb.base/display.exp: "finish" can leave us mid-line on many
22863 targets, deal with it. Add a small constant to main, instead of
22864 1000 since main+1000 may not be a valid address in the target.
22865
53a5351d
JM
22866 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
22867 on hpux11.
22868
22869 * gdb.base/attach.exp: Handle another hpux11 error message variant
22870 when attaching to a process that does not exist.
22871
228721999-08-19 J.T. Conklin <jtc@redback.com>
22873
22874 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 22875 characters in 'continue to 1241' test.
53a5351d
JM
22876
228771999-08-17 Stan Shebs <shebs@andros.cygnus.com>
22878
22879 * gdb.base/call-ar-st.exp: Add a shorter match case for the
22880 stop in print_long_arg_list, define and use a whitespace
22881 variable in print_small_structs test, add an XFAIL for Solaris.
22882 * gdb.base/dbx.exp: XFAIL func commands until somebody is
22883 interested enough to fix.
22884
7be570e7
JM
228851999-08-13 Keith Seitz <keiths@cygnus.com>
22886
22887 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
22888 (dbx_gdb_load): Remove. Use gdb_load instead, since that
22889 proc knows about targets other than the natives.
22890 (test_assign): Use "gdb_run_cmd" to "run" the target.
22891 Check that we've actually hit the breakpoint at main.
22892 When we attempt to assign a value to a local variable, check
22893 that the variable is in the current scope, i.e., don't use
22894 a test with an empty result.
22895
22896Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
22897
22898 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 22899 command.
7be570e7
JM
22900
229011999-08-09 Stan Shebs <shebs@andros.cygnus.com>
22902
22903 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22904 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
22905 gdb.compat, gdb.threads-hp.
22906 gdb.hp/configure, gdb.hp/configure.in: New files.
22907 gdb.hp/Makefile.in: Recurse into new subdirs.
22908 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
22909 gdb.hp/gdb.objdbg: New directory, tests for debugging info
22910 in object files.
22911 gdb.hp/tools: New directory, aux tools for HP-specific tests.
22912
96baa820
JM
229131999-08-05 Stan Shebs <shebs@andros.cygnus.com>
22914
22915 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 22916 funky printf, remove a bogus p/a test.
96baa820
JM
22917
229181999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22919
22920 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
22921 connected to the target. This is necessary when running not
22922 natively.
96baa820
JM
22923
229241999-08-03 Stan Shebs <shebs@andros.cygnus.com>
22925
22926 * gdb.base/step-test.exp: Removed some extraneous messages.
22927
22928 * gdb.base/long_long.exp: Don't run memory examination tests
22929 on little-endian targets (they will need a different set of
22930 results to match).
22931
229321999-08-02 Stan Shebs <shebs@andros.cygnus.com>
22933
22934 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
22935 until somebody decides to fix GDB.
22936
22937 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 22938 constant as "ULL".
96baa820
JM
22939 * gdb.base/long_long.exp: Loosen x/c test, add partial result
22940 matches for a couple x/2 commands.
22941
a0b3c4fd
JM
229421999-07-30 Stan Shebs <shebs@andros.cygnus.com>
22943
22944 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
22945 by merging in ref-types2 tests.
22946 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
22947
22948 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22949 * gdb.c++/Makefile.in: Add standard actions.
22950 (EXECUTABLES): Rename from PROGS, update list.
22951 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
22952 from gdb.hp.
22953 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
22954 foo and bar locals.
22955 * gdb.c++/anon-union.exp: Fix tests to match.
22956 * gdb.c++/classes.exp: Run if HP compiler used, add extra
22957 expect matches to handle output variations.
22958 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
22959 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 22960 output, add HP alternatives for new and delete prints.
a0b3c4fd 22961 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 22962 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
22963 * gdb.c++/demangle.exp: Use $style when reporting failure.
22964 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
22965 * gdb.c++/inherit.exp: Run if HP compiler used, add some
22966 match alternatives.
22967 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 22968 compilers.
a0b3c4fd
JM
22969 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
22970 * gdb.c++/method.exp: Add match alternatives.
22971 * gdb.c++/misc.cc: Add bool types.
22972 * gdb.c++/misc.exp: Add tests for bool types.
22973 * gdb.c++/overload.exp: Add xfails.
22974 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
22975 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
22976 add some more template parameter tests (only for HP currently).
22977 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
22978 * gdb.c++/virtfunc.cc: Add return type and value for main.
22979 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
22980 match alternatives.
d63a86f8 22981
a0b3c4fd
JM
229821999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22983
22984 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
22985
229861999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
22987
22988 * gdb.base/signals.exp: Don't expect getting a backtrace from
22989 within a signal handler to fail on Linux.
22990
229911999-07-29 Stan Shebs <shebs@andros.cygnus.com>
22992
22993 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22994 * lib/gdb.exp: Remove some gratuitious semicolons.
22995 (delete_breakpoints): Increase timeout.
22996 (gdb_expect): Add -notransfer option.
22997 (gdb_test): Use -notransfer option.
22998 (get_compiler_info): Add f77 case.
22999 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 23000 case.
a0b3c4fd
JM
23001 (gdb_preprocess): Call get_compiler.
23002
23003 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
23004 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
23005 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
23006 gdb.base/long_long.exp, gdb.base/printcmds.exp,
23007 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
23008 third arg to gdb_test.
a0b3c4fd
JM
23009 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
23010 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 23011 HP-UX xfails, add others.
a0b3c4fd
JM
23012 * gdb.base/completion.exp: Reflect name change of self-test.
23013 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
23014 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
23015 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
23016 HP failure number.
a0b3c4fd
JM
23017 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
23018 useless HP-UX 10.30 references.
23019 * gdb.base/maint.exp: Loosen matches.
23020 * gdb.base/pointers.c (main): Declare more_code.
23021 * gdb.base/pointers.exp: Match on output of a `next'.
23022 * gdb.base/structs.c: Add prototypes.
23023 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
23024 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
23025
230261999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23027
23028 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 23029 command.
a0b3c4fd
JM
23030
230311999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23032
23033 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
23034 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
23035
23036 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
23037 debug info. Deal with lack of signal hanlder info in stack.
23038
a9c64011 23039 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
23040 * gdb.base/annota1.exp: If printf has debug info, deal with it.
23041
5a2468f5
JM
230421999-07-19 Stan Shebs <shebs@andros.cygnus.com>
23043
23044 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 23045 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 23046
adf40b2e
JM
23047Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
23048
23049 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 23050 a1-selftest.exp.
adf40b2e
JM
23051 * gdb.base/configure: Re-generate.
23052
230531999-07-12 Stan Shebs <shebs@andros.cygnus.com>
23054
23055 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
23056 in trying to run first and name is too long.
23057
23058 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
23059 pointers2.c and pointers2.exp, respectively.
23060 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
23061 doschk happier.
23062
43e526b9
JM
230631999-07-08 Stan Shebs <shebs@andros.cygnus.com>
23064
23065 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
23066 callfuncs2.c and callfuncs2.exp.
23067
23068 * gdb.base/list.exp: Remove mistaken xfails.
23069 * gdb.base/list0.h: Add optional prototypes.
23070
9846de1b
JM
23071Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
23072
a9c64011 23073 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 23074 calling malloc.
a9c64011
AS
23075 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
23076 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 23077 use.
9846de1b
JM
23078
230791999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23080
23081 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
23082 * gdb.base/annota2.cc, annota2.exp: Move from here.
23083 * gdb.c++/annota2.cc, annota2.exp: To here.
23084 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
23085
43ff13b4
JM
23086Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
23087
23088 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 23089 a consistent format.
43ff13b4 23090
085dd6e6
JM
230911999-06-25 Stan Shebs <shebs@andros.cygnus.com>
23092
23093 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23094 * lib/gdb.exp (get_compiler_info): Add detection for assorted
23095 HP compilers, also set the globals $true and $false.
23096
23097 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
23098 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
23099 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
23100 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
23101 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
23102 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
23103 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
23104 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
23105 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
23106 whatis.c} Add C++ compatible function definitions and return
23107 types, add includes for library functions.
085dd6e6
JM
23108 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
23109 * gdb.base/step-test.c (myglob): Rename from glob.
23110 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
23111 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
23112 files, move here from gdb.hp.
085dd6e6 23113 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
23114 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
23115 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
23116 Adjust line numbers in regexps.
085dd6e6
JM
23117
23118 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
23119 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
23120 instead of 0/1.
23121
23122 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
23123 foll-vfork.exp: New files, move here from gdb.hp.
23124 * gdb.base/page.exp: New file, test of pagination command.
23125
23126 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
23127 recursion test.
23128 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
23129
23130 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 23131 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
23132
23133 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 23134 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 23135 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 23136 watchpoint test.
085dd6e6
JM
23137 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
23138 them work.
23139 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
23140 expressions properly.
23141 * gdb.base/corefile.exp: Loosen the match slightly.
23142 * gdb.base/default.exp: Allow "Error accessing memory" message
23143 also.
23144 * gdb.base/display.exp: Skip over x/0 j if PA64.
23145 * gdb.base/funcargs.exp: Add xfails for HP-UX.
23146 * gdb.base/interrupt.exp: Ditto.
23147 * gdb.base/langs.exp: Add symbolic matches governed by compiler
23148 in use.
23149 * gdb.base/list.exp: Add xfails for HP-UX.
23150 * gdb.base/long_long.exp: Refine some of the numeric matches.
23151 * gdb.base/mips_pro.exp: Xfail on HP-UX.
23152 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
23153 * gdb.base/nodebug.exp: Succeed on more varieties of output.
23154 * gdb.base/opaque.exp: Remove some HP-UX xfails.
23155 * gdb.base/ptype.exp: Succeed on more varieties of output.
23156 * gdb.base/scope.exp: Add xfails for HP-UX.
23157 * gdb.base/sect-cmd.exp: Add more cases.
23158 * gdb.base/setvar.exp: Add xfails for HP-UX.
23159 * gdb.base/shlib-call.exp: Loosen some matches slightly.
23160 * gdb.base/signals.exp: Match on void symbolically.
23161 * gdb.base/step-test.exp: Add case for PA64.
23162 * gdb.base/term.exp: Add exit and restart.
23163 * gdb.base/twice.exp: Clean up after self.
23164 * gdb.base/varargs.exp: Disable overload resolution explicitly.
23165 * gdb.base/whatis.exp: Allow more ways to pass tests.
23166
23167 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 23168 no longer useful.
085dd6e6
JM
23169
23170Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
23171
23172 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 23173 list of patterns.
085dd6e6 23174 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
23175 print_double_array(double_array)", "continuing to breakpoint
23176 1018", "print print_double_array(array_d)" and "continuing to
23177 1034" tests.
d63a86f8 23178
085dd6e6
JM
231791999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
23180
a9c64011 23181 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
23182
231831999-06-24 Stan Shebs <shebs@andros.cygnus.com>
23184
23185 * config/mt-*: Remove, these haven't been used since 1996.
23186
231871999-06-22 Stan Shebs <shebs@andros.cygnus.com>
23188
23189 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 23190 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
23191 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
23192
9e0b60a8
JM
231931999-06-18 Stan Shebs <shebs@andros.cygnus.com>
23194
23195 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
23196 simpler match case for the ptype of the big class.
23197
231981999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23199
23200 * gdb.exp: Fix test for gdb_prompt existence.
23201
232021999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23203
23204 * gdb.exp (gdb_test): Add fail after calls to perror.
23205
232061999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23207
23208 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
23209
232101999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23211
23212 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
23213
0f71a2f6
JM
23214Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
23215
23216 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 23217 malloc() is linked in.
0f71a2f6
JM
23218
232191999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23220
23221 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
23222 step at end.
23223
23224 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
23225
232261999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
23227
23228 * gdb.java/jv-print.exp: New file. (Our first Java test!)
23229
cce74817
JM
23230Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
23231
23232 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
23233 * gdb.base/mips_pro.exp: Likewise.
23234
232351999-06-02 Keith Seitz <keiths@cygnus.com>
23236
23237 * gdb.c++/templates.cc: Change all "new" operators to throw
23238 an exception.
23239 * gdb.c++/cplusfuncs.cc: Likewise.
23240
23241 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
23242
23243Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
23244
23245 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
23246 * gdb.base/ending-run.exp: When stepping out of main, accept a
23247 step into an arbitrary assembler file.
cce74817 23248
392a587b
JM
232491999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23250
d63a86f8 23251 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 23252 "breakpoint-invalid" to be printed.
d63a86f8 23253 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
23254 number of "frames-invalid" and "breakpoint-invalid" to be printed.
23255 * gdb.base/annota2.cc: Initialize a.x to 0.
23256
9e086581
JM
232571999-05-17 Keith Seitz <keiths@cygnus.com>
23258
23259 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
23260 when "skip_float_tests" set.
23261 Ditto for "print print_double_array(array_d)", "print print_small_structs",
23262 "print print_ten_doubles", and "step into print_long_arg_list".
23263 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
23264 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
23265 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
23266 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
23267 "skip_float_tests" is set.
23268 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
23269 when "skip_float_tests" set.
d63a86f8 23270
cd0fc7c3
SS
232711999-05-06 Keith Seitz <keiths@cygnus.com>
23272
23273 * gdb.base/annota2.cc: Include stdio.h.
23274
23275Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
23276
23277 * gdb.base/crossload.exp: Remove, this has been disabled ever
23278 since BFD stopped including all targets, and cross-GDB gets
23279 plenty of testing anyway.
23280 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
23281 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
23282 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
23283 * gdb.base/README: Remove, was doc for this.
23284 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 23285 needed.
cd0fc7c3 23286
b83266a0
SS
232871999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23288
23289 * gdb.base/call-ar-st.exp: Fix one regular expression in test
23290 output.
23291
23292 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
23293 * gdb.base/annota2.exp: New file. More annotation tests.
23294 * gdb.base/annota1.c: New file. Source file for annota1.exp.
23295 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
23296
232971999-04-23 Angela Marie Thomas <angela@cygnus.com>
23298
23299 * config/cfdbug.exp: New file.
23300
7a292a7a
SS
233011999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
23302
23303 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
23304 Marcus Daniel's and Dale Hawkins's demangler crashes.
23305
23306 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
23307 test_lucid_style_demangling, test_arm_style_demangling,
23308 test_hp_style_demangling): Try Tom Tromey's core-dumping
23309 identifier under each demangling style.
7a292a7a
SS
23310
233111999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
23312
23313 * gdb.c++/demangle.exp: Include the current demangling style
23314 in all test names.
23315 (current_demangling_style): New global variable.
23316 (set_demangling_style, test_demangling_core, test_demangling,
23317 test_demangling_exact): New functions.
23318 (test_gnu_style_demangling, test_lucid_style_demangling,
23319 test_arm_style_demangling, test_hp_style_demangling): Use those,
23320 instead of calling gdb_test and gdb_test_exact directly.
23321 (catch_demangling_errors): New function, which reports errors
23322 signalled by the demangling test functions in an orderly way.
23323 (do_tests): Use catch_demangling_errors.
23324
233251999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
23326
23327 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 23328 grouping in expressions, not {}.
7a292a7a
SS
23329
23330 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 23331 initialized yet.
7a292a7a
SS
23332
233331999-04-01 Stan Shebs <shebs@andros.cygnus.com>
23334
23335 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
23336 are listed.
23337
233381999-03-26 Stan Shebs <shebs@andros.cygnus.com>
23339
23340 * gdb.stabs/weird.exp: Test for CC being defined before
23341 looking at its value.
23342
233431999-03-25 Stan Shebs <shebs@andros.cygnus.com>
23344
23345 * gdb.base/call-ar-st.exp: Remove stray '#'.
23346 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
23347 "short int" and "long int".
23348 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 23349 change, to mollify finicky HP compiler.
7a292a7a
SS
23350 * gdb.hp/reg-test.exp (testfile): Fix file name.
23351 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 23352
7a292a7a
SS
23353 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
23354 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
23355 alternate form of enum ptype.
23356
c906108c
SS
233571999-03-23 Stan Shebs <shebs@andros.cygnus.com>
23358
7a292a7a
SS
23359 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
23360 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
23361 passing skip_hp_tests, so as not to waste time on guaranteed
23362 failure.
7a292a7a 23363
c906108c
SS
23364 * gdb.c++/overload.cc: Pass string instead of char addr, always
23365 init ccpfoo.
23366 * gdb.c++/templates.cc: Fix syntax error.
23367
7a292a7a
SS
23368Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23369
23370 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 23371 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
23372 command.
23373
233741999-03-18 James Ingham <jingham@cygnus.com>
23375
23376 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
23377
23378 * gdb.c++/method.exp: It was testing an uninitialized int on the
23379 stack and assuming it was positive.
23380
23381 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
23382
23383 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 23384 keep it from killing the rest of the tests.
7a292a7a
SS
23385 Use gdb_continue_to_end.
23386
23387 * gdb.base/sigall.exp: use gdb_continue_to_end.
23388
23389 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
23390
23391 * gdb.base/display.exp: use runto_main, not run.
23392
d63a86f8
RM
23393 * gdb.base/default.exp: Check for the current error message in the
23394 r abbreviation test.
7a292a7a
SS
23395 Add strongarm to the targets that know info float.
23396
d63a86f8 23397 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
23398 run which doesn't work with monitors.
23399
23400 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
23401
23402 * gdb.base/break.exp: use the gdb_continue_to_end proc.
23403
23404 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
23405 program. Traps the case (in Cygmon) when the program never really
23406 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
23407 more places, so I used my name. Sorry Mark...
23408
23409 * config/monitor.exp (gdb_target_monitor): added another
23410 target_info parameter: remotebinarydownload. This will set the
23411 remotebinarydownload flag if this is causing some boards trouble.
23412
234131999-03-18 Mark Salter <msalter@cygnus.com>
23414
23415 * lib/gdb.exp (continue_to_exit): New function.
23416
23417 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
23418 * gdb.base/ending-run.exp: Ditto.
23419 * gdb.base/step-test.exp: Ditto.
23420
234211999-03-16 Stan Shebs <shebs@andros.cygnus.com>
23422
23423 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
23424 (suggested by Art Haas <ahaas@neosoft.com>).
23425
234261999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
23427
889bf7c5 23428 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
23429
23430Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
23431
23432 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 23433 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
23434
234351999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
23436
23437 * gdb.base/call-strs.exp: Don't assume that `step' will step over
23438 a call to strlen; sometimes we do have sources.
23439
234401999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
23441
23442 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 23443 character, so GDB won't print garbage after its end.
d63a86f8 23444
c906108c
SS
23445 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
23446 breakpoint there instead. Sometimes GCC emits memcpy to handle
23447 the large structures being passed by value, so we step into that
23448 instead of sum_array_print, which obscures what we're really testing.
23449 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
23450 the bizarre steps into memcpy, so do that here. Add check for
23451 stepping into function calls that pass large structures by value.
23452 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
23453 Remove all references to specific line numbers.
23454 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
23455 New type and function.
23456 (main): Call large_struct_by_value, passing it a large struct by value.
23457 * lib/gdb.exp (gdb_get_line_number): New function.
23458
23459 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
23460 more portable.
23461
7a292a7a
SS
234621999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
23463
c906108c
SS
23464 * lib/gdb.exp: Doc fixes.
23465
7a292a7a
SS
234661999-03-05 Nick Clifton <nickc@cygnus.com>
23467
d63a86f8 23468 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
23469
234701999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
23471
c906108c 23472 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
23473 commands. They're not germane to this test, and they don't work
23474 that way on remote targets.
c906108c 23475
3fc11d3e
JM
234761999-03-01 James Ingham <jingham@cygnus.com>
23477
23478 * Changelog entries merged over from gdb development branch.
23479
3fc11d3e
JM
23480 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
23481
23482 * lib/gdb.exp (gdbtk_analyze_results): Generic function
23483 for outputting results of test run.
23484
2d4a1622 23485 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
23486
23487 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 23488
7a292a7a
SS
234891999-02-25 Felix Lee <flee@cygnus.com>
23490
23491 * lib/gdb.exp (debug_format): initialize
23492
c906108c
SS
234931999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
23494
23495 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
23496 * gdb.base/call-rt-st.c: Ditto.
23497
c906108c
SS
234981999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
23499
23500 * gdb.threads/pthreads.exp (horiz): New variable.
23501 (test_startup): Fix regexps that capture thread numbers.
23502
235031999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
23504
23505 * gdb.base/smoke.exp: Disambiguate two test case names (both
23506 called ``print'').
23507
23508Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23509
23510 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 23511 compilation.
c906108c
SS
23512
235131999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23514
23515 * gdb.base/miscexprs.exp: Change patterns to match GDB's
23516 actual output formatting.
23517 * gdb.base/smoke.exp: GDB removes leading 0's.
23518 * gdb.base/volatile.exp: Don't check type of remuneration;
23519 that variable is no longer defined in constvars.c.
23520 * gdb.base/step-test.c (main): Exit with explicit exit code.
23521 * gdb.base/step-test.exp: Remove two nexti checks--they are
23522 not portable.
23523
235241999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23525
23526 * gdb.base/help.exp ("help delete display"): Fix test to match
23527 gdb's output.
23528
23529 * gdb.base/long_long.c (known_types): Initialize values to zero.
23530 * gdb.base/long_long.exp: Step one more line
23531 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
23532 leading zeros. Explicitly ask for hex formatting. Use
23533 unique test case names.
c906108c
SS
23534
23535Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23536
d63a86f8 23537 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
23538
23539 * gdb.c++/method.exp: Add missing close brace.
23540
235411999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
23542
23543 * gdb.base/maint.exp: Use 'set height 0' to disable page
23544 prompting, not 'set height 400'.
23545
23546 Fix a bunch of timeouts.
23547 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
23548 four separate tests, so expect doesn't take forever to match a ton
23549 of text against a regexp with lots of .* forms.
23550 ("maint print psymbols", "maint print symbols"): Make some of
23551 these greps more selective, so that expect doesn't try to wade
23552 through huge piles of output and time out.
23553
23554 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
23555
23556 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
23557 tests: one which doesn't expect shlib events to be reported, and
23558 another which does, but is XFAIL for all platforms other than
23559 HP/UX.
c906108c
SS
23560
23561 * gdb.base/break.exp: Teach the test suite that the `catch
23562 fork', `catch vfork', and `catch exec' commands produce error
23563 messages on platforms that don't provide these features.
23564
23565Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23566
23567 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
23568 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
23569 (shortening names from solib_threshold.exp etc), won't run on
23570 anything but HP-UX for the foreseeable future.
c906108c 23571 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 23572 reflect move.
c906108c
SS
23573
23574Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
23575
23576 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 23577 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
23578
23579Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
23580
23581 * gdb.base/shlib-call.exp: add test cases to verify that gdb
23582 successfully re-sets breakpoints in shared libraries.
23583 * gdb.base/shmain.c (main): return 0, don't fall off the end.
23584
23585Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23586
d63a86f8
RM
23587 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
23588 and compiled w/o GCC.
c906108c
SS
23589
23590 * gdb.hp/watch-cmd.exp: ditto.
23591
23592 * gdb.hp/watch-hp.exp: ditto.
23593
23594 * gdb.hp/xdb1.exp: ditto.
23595
23596 * gdb.hp/xdb2.exp: ditto.
23597
23598 * gdb.hp/dbx.exp: ditto.
23599
23600Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
23601
23602 * constvars.c: Remove C++-isms.
23603 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 23604 with GCC.
c906108c
SS
23605
23606Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
23607
23608 The following changes are part of the HP merge.
23609
23610 * gdb.base/break.exp: new tests to verify that catchpoints for
23611 fork, vfork, and exec don't trigger inappropriately.
23612
23613 * gdb.base/opaque.exp: compile one file at a time, then link.
23614
23615 * gdb.base/signals.exp: be more restrictive about which hppa
23616 systems receive a setup_xfail. new tests.
23617
23618 * gdb.base/solib_threshold.build: new file.
23619 * gdb.base/solib_threshold.exp: new file.
23620 * gdb.base/solib_threshold.link_opts: new file.
23621 * gdb.base/solib_threshold.mk: new file.
23622 * gdb.base/gen_solib_threshold.c: new file.
23623
23624 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
23625 tests. New tests for enums inside classes.
23626
23627 * gdb.c++/compiler.cc: indicate support of template debugging.
23628
23629 * gdb.c++/demangle.exp: run hp style demangling tests.
23630
23631 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
23632 tests.
23633
23634 * gdb.c++/misc.cc: changes to support new tests.
23635
23636 * gdb.c++/templates.cc: changes to support HP's compiler; changes
23637 to support new tests.
23638
23639 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
23640 gcc, then skip these tests.
23641
23642Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
23643
23644 The following files are part of the HP merge; some had longer
23645 names at HP, but have been renamed to be no more than 14
23646 characters in length.
23647
23648 * gdb.hp/ambiguous.cc: new file.
23649 * gdb.hp/ambiguous.exp: new file.
23650 * gdb.hp/attach.exp: new file.
23651 * gdb.hp/attach2.exp: new file.
23652 * gdb.hp/classes-hp.exp: new file.
23653 * gdb.hp/ctti.exp: new file.
23654 * gdb.hp/ctti-add.cc: new file.
23655 * gdb.hp/ctti-add1.cc: new file.
23656 * gdb.hp/ctti-add2.cc: new file.
23657 * gdb.hp/ctti-add3.cc: new file.
23658 * gdb.hp/dbx.exp: new file.
23659 * gdb.hp/exception.cc: new file.
23660 * gdb.hp/exception.exp: new file.
23661 * gdb.hp/foll-exec.c: new file.
23662 * gdb.hp/foll-exec.exp: new file.
23663 * gdb.hp/foll-fork.c: new file.
23664 * gdb.hp/foll-fork.exp: new file.
23665 * gdb.hp/foll-vfork.c: new file.
23666 * gdb.hp/foll-vfork.exp: new file.
23667 * gdb.hp/inherit-hp.exp: new file.
23668 * gdb.hp/more-steps.exp: new file.
23669 * gdb.hp/namespace.cc: new file.
23670 * gdb.hp/namespace.exp: new file.
23671 * gdb.hp/optimize.exp: new file.
23672 * gdb.hp/pxdb.c: new file.
23673 * gdb.hp/pxdb.exp: new file.
23674 * gdb.hp/quicksort.exp: new file.
23675 * gdb.hp/reg-test.exp: new file.
23676 * gdb.hp/reg-test.s: new file.
23677 * gdb.hp/sized-enum.c: new file.
23678 * gdb.hp/sized-enum.exp: new file.
23679 * gdb.hp/start-stop.exp: new file.
23680 * gdb.hp/templ-hp.cc: new file.
23681 * gdb.hp/templ-hp.exp: new file.
23682 * gdb.hp/thr-lib.c: new file.
23683 * gdb.hp/thr-lib.exp: new file.
23684 * gdb.hp/thr-lib.h: new file.
23685 * gdb.hp/thr-liblib.c: new file.
23686 * gdb.hp/virtfun-hp.c: new file.
23687 * gdb.hp/virtfun-hp.exp: new file.
23688 * gdb.hp/watch-cmd.exp: new file.
23689 * gdb.hp/watch-hp.exp: new file.
23690 * gdb.hp/xdb1.exp: new file.
23691 * gdb.hp/xdb2.exp: new file.
23692 * gdb.hp/xdb3.exp: new file.
23693
23694Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
23695
23696 The following files are part of the HP merge; some had longer
23697 names at HP, but have been renamed to be no more than 14
23698 characters in length.
23699
23700 * gdb.base/ss.h: new file.
23701 * gdb.base/call-ar-st.c: new file.
23702 * gdb.base/call-ar-st.exp: new file.
23703 * gdb.base/call-rt-st.c: new file.
23704 * gdb.base/call-rt-st-exp: new file.
23705 * gdb.base/call-strs.exp: new file.
23706 * gdb.base/ena-dis-br.exp: new file.
23707 * gdb.base/environ.exp: new file.
23708 * gdb.base/long_long.exp: new file.
23709 * gdb.base/sect-cmd.exp: new file.
23710 * gdb.base/shlib-cl2.exp: new file.
23711 * gdb.base/smoke.exp: new file.
23712 * gdb.base/so-impl-ld.c: new file.
23713 * gdb.base/so-impl-ld.exp: new file.
23714 * gdb.base/so-indr-cl.c: new file.
23715 * gdb.base/so-indr-cl.exp: new file.
23716 * gdb.base/varargs.exp: new file.
23717 * gdb.base/volatile.exp: new file.
23718 * gdb.base/whatis-exp.exp: new file.
7a292a7a 23719 * gdb.base/display.exp: new file.
c906108c
SS
23720 * gdb.c++/derivation.exp: new file.
23721 * gdb.c++/local.exp: new file.
23722 * gdb.c++/member-ptr.exp: new file.
23723 * gdb.c++/overload.exp: new file.
23724 * gdb.c++/ovldbreak.exp: new file.
23725 * gdb.c++/ref-types.exp: new file.
23726 * gdb.c++/ref-types2.exp: new file.
23727 * gdb.c++/userdef.exp: new file.
d63a86f8 23728
c906108c
SS
23729Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
23730
23731 * gdb.base/default.exp: Reflect wording change in remote.c.
23732
dc96c6c7 23733Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23734
23735 * gdb.base/help.exp: Update to reflect current text.
23736
23737Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
23738
23739 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
23740 they're stack variables and contain garbage.
23741 * gdb.c++/anon-union.exp: new file.
23742
23743 The following changes were made by David Taylor
889bf7c5
PA
23744 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23745 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23746 in changes by HP.
c906108c
SS
23747
23748 * gdb.base/bitops.exp: new file.
23749 * gdb.base/default.exp: change expected messages for catch and
23750 info catch tests to reflect HP merge changes.
23751 * gdb.base/enable-disable-break.exp
23752 * gdb.base/ending-run.c: new file.
23753 * gdb.base/long_long.c: new file.
23754 * gdb.base/maint.exp: new file.
23755 * gdb.base/pointers2.exp: new file.
23756 * gdb.base/shlib-call2.exp: new file.
23757 * gdb.base/solib.exp: new file.
23758 * gdb.base/step-test.c: new file.
23759 * gdb.c++/anon-union.cc: new file.
23760 * gdb.c++/local.cc: new file.
23761 * gdb.c++/member-pointer.cc: new file.
23762 * gdb.c++/method.cc: new file.
23763 * gdb.c++/ref-types.cc: new file.
23764 * gdb.c++/ref-types2.cc: new file.
23765 * gdb.c++/userdef.cc: new file.
d63a86f8 23766
c906108c
SS
23767 * gdb.base/scope.exp: compile one file at a time, then link.
23768 * gdb.base/langs.exp: ditto.
23769 * gdb.base/list.exp: ditto.
d63a86f8 23770
c906108c
SS
23771Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
23772
23773 The following changes were made by David Taylor
889bf7c5
PA
23774 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23775 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23776 in changes by HP.
d63a86f8 23777
c906108c
SS
23778 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
23779 skip tests. When compiling pass c++ flag to gdb_compile.
23780 * gdb.c++/
d63a86f8 23781
c906108c
SS
23782 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
23783 test for on hppa*-*-hpux*; use args to see if c++ was specified.
23784 (skip_hp_tests): new function.
23785 (gdb_preprocess): new function.
23786
23787 * configure.in (hpdir): decide whether to configure gdb.hp.
23788 * configure: regenerated.
23789
23790 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
23791 to delete on clean.
23792 (EXECUTABLES): update to reflect new additions.
23793 * gdb.base/commands.exp: update message expected.
23794 * gdb.base/default.exp: add copyright notice.
23795 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
23796 * gdb.base/help.exp: update messages to reflect current text.
23797 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
23798 targets for recurse tests.
23799 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
23800 skip this file.
23801
23802 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
23803 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
23804 compilation.
23805 * gdb.c++/misc.exp: ditto.
23806 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
23807 run the tests. tell gdb_compile that it's a c++ compilation.
23808
23809 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 23810
c906108c
SS
23811 * gdb.base/all-bin.exp: new file.
23812 * gdb.base/arithmet.exp: new file.
23813 * gdb.base/assign.exp: new file.
23814 * gdb.base/completion.exp: new file.
23815 * gdb.base/cond-expr.exp: new file.
23816 * gdb.base/condbreak.exp: new file.
23817 * gdb.base/define.exp: new file.
23818 * gdb.base/dollar.exp: new file.
23819 * gdb.base/environment.exp: new file.
23820 * gdb.base/eval-skip.exp: new file.
23821 * gdb.base/jump.exp: new file.
23822 * gdb.base/logical.exp: new file.
23823 * gdb.base/pointers.exp: new file.
23824 * gdb.base/relational.exp: new file.
23825 * gdb.base/section_command.exp: new file.
23826 * gdb.base/whatis-expr.exp: new file.
23827
23828 * gdb.base/all-types.c: new file.
23829 * gdb.base/call-array-struct.c: new file.
23830 * gdb.base/call-return-struct.c: new file.
23831 * gdb.base/call-strings.c: new file.
23832 * gdb.base/callfuncs2.c: new file.
23833 * gdb.base/condbreak.c: new file.
23834 * gdb.base/constvars.c: new file.
23835 * gdb.base/display.c: new file.
23836 * gdb.base/int-type.c: new file.
23837 * gdb.base/jump.c: new file.
23838 * gdb.base/miscexprs.c: new file.
23839 * gdb.base/pointers.c: new file.
23840 * gdb.base/pointers2.c: new file.
23841 * gdb.base/shmain.c: new file.
23842 * gdb.base/shr1.c: new file.
23843 * gdb.base/shr2.c: new file.
23844 * gdb.base/solib.c: new file.
23845 * gdb.base/solib1.c: new file.
23846 * gdb.base/solib2.c: new file.
23847 * gdb.base/varargs.c: new file.
23848 * gdb.c++/derivation.cc: new file.
23849 * gdb.c++/overload.cc: new file.
23850 * gdb.c++/ovldbreak.cc: new file.
23851 * gdb.hp/attach.c: new file.
23852 * gdb.hp/attach2.c: new file.
23853 * gdb.hp/average.c: new file.
23854 * gdb.hp/compiler.c: new file.
23855 * gdb.hp/compiler.cc: new file.
23856 * gdb.hp/execd-program.c: new file.
23857 * gdb.hp/follow-exec.c: new file.
23858 * gdb.hp/follow-fork.c: new file.
23859 * gdb.hp/follow-vfork-and-exec.c: new file.
23860 * gdb.hp/misc-hp.cc: new file.
23861 * gdb.hp/more-steps.c: new file.
23862 * gdb.hp/optimize.c: new file.
23863 * gdb.hp/quicksort.c: new file.
23864 * gdb.hp/run-hp.c: new file.
23865 * gdb.hp/start-stop.c: new file.
23866 * gdb.hp/sum.c: new file.
23867 * gdb.hp/templates-hp.cc: new file.
23868 * gdb.hp/thread-local-in-lib.c: new file.
23869 * gdb.hp/thread-local-in-lib.h: new file.
23870 * gdb.hp/thread-local-in-lib.lib.c: new file.
23871 * gdb.hp/vforked-program.c: new file.
23872 * gdb.hp/virtfunc-hp.cc: new file.
23873 * gdb.hp/watchpoint-hp.c: new file.
23874 * gdb.hp/xdb.c: new file.
23875 * gdb.hp/xdb0.c: new file.
23876 * gdb.hp/xdb0.h: new file.
23877 * gdb.hp/xdb1.c: new file.
23878
23879Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
23880
23881 The following change was made by Edith Epstein
889bf7c5
PA
23882 <eepstein@cygnus.com> as part of a project to merge in changes
23883 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
23884
23885 * gdb.c++/demangle.exp: changed the expected output for some
23886 ARM-style mangling -- removed second reference to datatype.
889bf7c5 23887 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 23888 T1<char>::~T1<char>(void)
c906108c 23889 becomes,
a9c64011
AS
23890 maint demangle __dt__11T1__pt__2_cFv
23891 T1<char>::~T1(void)
c906108c 23892
889bf7c5 23893 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 23894
c906108c
SS
23895Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
23896
23897 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
23898 * gdb.trace/backtrace.exp: Likewise.
23899 * gdb.trace/circ.exp: Likewise.
23900 * gdb.trace/collection.exp: Likewise.
23901 * gdb.trace/deltrace.exp: Likewise.
23902 * gdb.trace/infotrace.exp: Likewise.
23903 * gdb.trace/limits.exp: Likewise.
23904 * gdb.trace/packetlen.exp: Likewise.
23905 * gdb.trace/passc-dyn.exp: Likewise.
23906 * gdb.trace/passcount.exp: Likewise.
23907 * gdb.trace/report.exp: Likewise.
23908 * gdb.trace/save-trace.exp: Likewise.
23909 * gdb.trace/tfind.exp: Likewise.
23910 * gdb.trace/tracecmd.exp: Likewise.
23911 * gdb.trace/while-dyn.exp: Likewise.
23912 * gdb.trace/while-stepping.exp: Likewise.
23913
239141998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
23915
23916 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
23917
23918Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
23919
23920 From Brendan Kehoe:
23921 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
23922 int return types.
23923
23924Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
23925
23926 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 23927 remote dos host testing right.
c906108c
SS
23928
23929Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
23930
23931 * gdb.base/corefile.exp: remove some xfails.
23932
23933Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
23934
23935 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 23936 have different timestamps.
c906108c
SS
23937
23938Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
23939
23940 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 23941 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
23942
23943Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
23944
23945 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 23946 delta.
c906108c
SS
23947
23948Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
23949
23950 * gdb.base/default.exp: Add brace missing from previous delta.
23951
23952Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
23953
23954 * gdb.base/default.exp: Support test for info float for all
23955 varieties of arm toolchain.
23956
dc96c6c7 23957Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23958
23959 * gdb.trace/*.exp: remove "remote_download" command.
23960
dc96c6c7 23961Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23962
23963 * gdb.trace/*.exp: remove -gdwarf from compile.
23964
23965Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
23966
23967 * gdb.trace/configure.in(AC_INIT): typo
23968 * gdb.trace/configure: regenerated
23969
dc96c6c7 23970Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23971
23972 * config/m68k-emc.exp: New file.
23973 * lib/<emc-support.exp trace-support.exp}: New files.
23974 * configure.in: add new test directory gdb.trace.
23975 * gdb.trace/{configure configure.in Makefile.in}: New files.
23976 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
23977 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
23978 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
23979 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
23980 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
23981 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
23982 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 23983
dc96c6c7 23984Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23985
23986 * gdb.c++/classes.exp: Change all regular expressions to match
23987 arbitrary combinations of newline/carriage-return, so that they
23988 will work equally well on Unix and Windows.
23989 * gdb.c++/inherit.exp: ditto.
23990 * gdb.c++/virtfunc.exp: ditto.
23991
239921998-08-11 Dawn Perchik <dawn@cygnus.com>
23993
23994 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
23995
c2d11a7d
JM
23996Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
23997
23998 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
23999 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
24000 to use a0-a3/d0-d3 as needed.
24001
24002Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
24003
24004 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
24005 * gdb.disasm/am33.exp: Corresponding changes.
24006
c906108c
SS
240071998-07-11 Felix Lee <flee@cygnus.com>
24008
24009 * gdb.base/callfuncs.exp: add cmp10 test.
24010 * gdb.base/callfuncs.c (cmp10): new function.
24011
24012Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
24013
d63a86f8 24014 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
24015 into two parts to get around a synchronization problem in expect.
24016
3fc11d3e
JM
24017Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
24018
24019 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
24020
24021 * configure.in: Add options for gdbtk testsuite.
24022
24023 * configure: Regenerate.
24024
24025 * gdb.gdbtk: New directory to hold gdbtk tests.
24026
c906108c
SS
24027Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24028
24029 * gdb.fortran/types.exp: Escape brackets in expect patterns
24030 for test_float_literal_types_accepted tests.
24031 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
24032 before run test.
24033
c2d11a7d
JM
24034Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
24035
24036 * am33.exp: Just compile, do not link the testcase.
24037 * am33.s: Add ".am33" pseudoop to force am33 mode.
24038
c906108c
SS
240391998-06-25 Felix Lee <flee@cygnus.com>
24040
24041 * gdb.base/setshow.exp: make sure $pc is sane.
24042
24043 * gdb.stabs/weird.exp: split expect patterns properly.
24044
c2d11a7d
JM
24045Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
24046
24047 * gdb.disasm/am33.s: New disassembler testfile for the am33.
24048 * gdb.disasm/am33.exp: Run it.
24049
dc96c6c7 24050Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24051
24052 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
24053 match processing (and eliminate spurious timeouts when running).
24054
dc96c6c7 24055Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24056
24057 * gdb.base/signals.exp (test_handle_all_print): put back Mach
24058 exception test, but conditionalize it on target [mach | gnu].
24059
dc96c6c7 24060Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24061
24062 * gdb.base/overlays.exp: fixup compile line for linker script.
24063
24064Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
24065
24066 * gdb.fortran/types.exp: don't guess at float size.
24067
24068Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
24069
24070 * gdb.base/exprs.exp: delete test that depends on int size.
24071
24072Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
24073
24074 * config/sim.exp: Removed checks for target triplets.
24075 (gdb_target_sim): Use gdb,target_sim_options.
24076
24077Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
24078
24079 * gdb.base/reread.exp: New file.
24080 * gdb.base/reread1.c: New file.
24081 * gdb.base/reread2.c: New file.
24082
24083Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
24084
24085 * config/sim.exp: Use 'target sim -sparclite' when running
24086 SPARClite programs.
24087
24088Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
24089
24090 * gdb.base/structs2.exp: New file.
24091 * gdb.base/structs2.c: New file.
24092
24093Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
24094
24095 * gdb.asm/common.inc: New file.
24096 * gdb.asm/d10v.inc: New file.
24097 * asm-source.exp: Pass -I's to gas to find .inc files.
24098 Update line numbers in expected output.
24099 * asmsrc1.s: Rewrite.
24100 * asmsrc2.s: Rewrite.
24101 * configure.in: Create arch.inc symlink.
24102 * configure: Regenerate.
24103 * Makefile.in (distclean): Delete arch.inc.
24104
24105Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
24106
24107 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
24108 (t_enum_value2): ditto
24109 (t_enum_value3): ditto
24110 (main): ditto
c906108c
SS
24111Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24112
24113 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
24114 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
24115 change.
24116 Use gdb_test instead of send_gdb/gdb_expect sequences.
24117
24118Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
24119
24120 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
24121 not void.
24122
24123Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
24124
24125 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
24126 subroutines. Used to test gdbs ability to single step through PC
24127 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
24128
24129Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
24130
24131 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
24132 more rigorous EGCS C++ error checking.
24133
24134Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24135
a9c64011
AS
24136 * gdb.base/help.exp: Clean up `help set args' and `help show args'
24137 tests.
24138 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
24139 function when asleep.
24140 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
24141 for i*86 Linux and SVR4 signal handling problems.
24142 Remove linux xfail for `next to handler in signals_tests_1', fixed
24143 by recent infrun.c change.
24144 Limit backtrace to 10 frames to avoid timeout problems with infinite
24145 stack backtraces.
24146 Adjust expect pattern in `handle all print' test to match Apr 28 1997
24147 target.[ch] change.
c906108c
SS
24148
24149Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
24150
24151 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
24152 for a newline from gdb before continuing.
24153 (default_gdb_exit): Just look for y or n.
24154 (gdb_test): Detect abnormal exit from GDB running on DOS; if
24155 it does, fail the rests of the tests in the file.
24156
24157Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
24158
24159 * config/cygmon.exp: New file.
24160
24161Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
24162
24163 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 24164 main" test on remote targets.
c906108c
SS
24165
24166 * gdb.base/scope.exp: Fix problem with filelocal_bss before
24167 run test on remote targets.
24168
24169Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
24170
24171 * gdb.asm: New directory.
24172 * configure.in: Configure it.
24173 * configure: Regenerate.
24174 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
24175 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
24176
24177Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
24178
24179 * config/mn10300-eval.exp: New file to support MN10300 eval board.
24180
dc96c6c7 24181Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 24182
a9c64011
AS
24183 * gdb.base/overlays (several files): Merge the two overlay
24184 managers into one. Change variables (foox, barx, bazx, grbxx)
24185 back into ints but force them to load in their proper sections.
c906108c
SS
24186
24187Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
24188
24189 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 24190 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
24191 (D10VCopy): Handle memory regions crossing 16k boundaries.
24192 (D10VCopy): Transfer data in 32 bit chunks.
24193
24194Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
24195
24196 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 24197 correct.
c906108c
SS
24198
24199 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 24200 map. Include space for printf in .text segment.
c906108c
SS
24201
24202 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 24203 updated d10v memory VMA/LMA map.
c906108c 24204 (D10VCopy): Call D10VTranslate.
d63a86f8 24205
c906108c
SS
24206Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
24207
24208 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
24209
24210 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
24211 that it won't be put into the .sdata - small data -
24212 section. Update reference.
c906108c
SS
24213 * gdb.base/baz.c (bazx, baz): Ditto.
24214 * gdb.base/foo.c (foox, foo): Ditto.
24215 * gdb.base/grbx.c (grbxx, grbx): Ditto.
24216
24217 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 24218 to be arrays.
d63a86f8 24219
dc96c6c7 24220Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 24221
a9c64011
AS
24222 * gdb.base/overlays.exp: fix up and get working again.
24223 Add tests for backtraces from an overlay function.
d63a86f8 24224
c906108c
SS
24225Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
24226
24227 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
24228 "calling function with watchpoint enabled".
24229
24230Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
24231
24232 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 24233 gdb_suppress_tests for d10v-*-*.
c906108c
SS
24234 * lib/gdb.exp (gdb_suppress_tests): Disable this function
24235 pending review of whether it is useful or not.
24236
24237Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
24238
24239 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
24240
24241Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
24242
24243 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
24244 * config/dve.exp: New file to support Densan boards.
24245
24246Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
24247
24248 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 24249 reads and BSD.
c906108c
SS
24250
24251Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
24252
24253 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
24254 response.
24255
24256 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
24257
24258Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
24259
24260 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 24261 test.
c906108c
SS
24262
24263 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 24264 target_sizeof_long and target_bigendian_p.
c906108c 24265 (structs_by_value, structs_by_reference): Check values according
889bf7c5 24266 to targets word size and endianess.
d63a86f8 24267
c906108c
SS
24268Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
24269
24270 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 24271 output.
c906108c
SS
24272
24273Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
24274
24275 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 24276 Update test of set args help to match source change.
c906108c
SS
24277
24278Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
24279
24280 * gdb.base/default.exp: Expect help system output to be in
24281 alphabetical order.
24282 * gdb.base/help.exp: Ditto.
24283
24284Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
24285
24286 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
24287 "i*86-pc-linux-gnu*".
24288 * gdb.base/interrupt.exp: Ditto.
24289 * gdb.base/corefile.exp: Ditto.
24290
24291 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 24292 define vxworks when building the testcase.
c906108c
SS
24293
24294 * gdb.base/ptype.exp: Fix testnames to be unique.
24295 * gdb.base/radix.exp: Ditto.
24296 * gdb.base/term.exp: Ditto.
24297 * gdb.base/whatis.exp: Ditto.
24298 * gdb.c++/classes.exp: Ditto.
24299
24300Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
24301
24302 * gdb.base/callfuncs.exp: Fix indentation.
24303
24304 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
24305 suppress_flag has been set.
24306 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
24307 target feature.
24308
24309Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
24310
24311 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
24312 the testcase.
24313
24314 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 24315 set_debug_traps() and breakpoint().
c906108c
SS
24316 * gdb.c++/misc.cc (main): Ditto.
24317 * gdb.c++/templates.cc (main): Ditto.
24318 * gdb.c++/virtfunc.cc (main): Ditto.
24319
24320Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
24321
24322 * lib/gdb.exp(gdb_step_for_stub): New function.
24323 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
24324 exists, reload the executable and do a "continue" instead of
24325 doing a jump.
24326 (runto_main): Use gdb_step_for_stub.
d63a86f8 24327
c906108c 24328 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 24329 tests to have unique names.
c906108c
SS
24330 * gdb.base/callfuncs.exp: Ditto.
24331 * gdb.base/commands.exp: Ditto.
24332 * gdb.base/default.exp: Ditto.
24333 * gdb.base/help.exp: Ditto.
24334 * gdb.base/list.exp: Ditto.
24335 * gdb.base/opaque.exp: Ditto.
24336 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
24337 similar tests.
d63a86f8 24338
c906108c
SS
24339 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
24340 * gdb.c++/cplusfuncs.cc: Ditto.
24341 * gdb.c++/virtfunc.cc: Ditto.
24342
24343 * config/monitor.exp: Keep track of the last file we saw, rather
24344 than trying to get the info from gdb.
24345
24346 * gdb.fortran/types.exp: Move comment to previous line.
24347
24348Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
24349
24350 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 24351 target mode.
c906108c
SS
24352
24353Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
24354
24355 From Bob Manson:
24356 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 24357 string from GDB when it connects.
c906108c
SS
24358
24359 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
24360
24361Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
24362
24363 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
24364 if we can't get a debug format from GDB (we may be testing an
24365 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
24366
24367 * gdb.stabs/weird.exp: Fix quoting.
24368
24369 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
24370
24371Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
24372
24373 * config/arm-ice.exp: New file.
24374
24375Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
24376
24377 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 24378 until it has been modified to work with the new testsuite.
c906108c 24379
99707966 24380 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
24381 testcase won't compile, cause all of the testcases in the file to
24382 fail instead.
c906108c
SS
24383
24384 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
24385 (gdb_clear_suppressed): New procedure.
24386 (gdb_stop_suppressing_tests): Only clear suppress_flag if
24387 it contains a positive value.
24388
24389Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
24390
24391 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
24392
24393 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
24394
24395Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
24396
24397 * lib/gdb.exp (setup_xfail_format): New function.
24398 (get_debug_format): New function to get debug format.
24399 (debug_format): New global variable to hold last value set
24400 by get_debug_format.
24401 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 24402 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
24403 * gdb.c++/ptype.exp: Ditto.
24404 * gdb.c++/classes.exp: Ditto.
24405 * gdb.c++/cplusfuncs.exp: Ditto.
24406 * gdb.c++/inherit.exp: Ditto.
24407 * gdb.c++/templates.exp: Ditto.
24408 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 24409
c906108c
SS
24410Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
24411
24412 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
24413 host doesn't have a currently-open connection.
24414
24415 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
24416 any gdb stub target. Handle cases where gdb doesn't respond when
24417 interrupted in a sane fashion.
c906108c
SS
24418
24419 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 24420 same thing in a totally different way.
c906108c
SS
24421
24422 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 24423 setting "timeout".
c906108c 24424 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 24425 default_gdb_init now.
c906108c
SS
24426
24427Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
24428
24429 * gdb.base/printcmds.exp: Fix "check for floating addition"
24430 regexp to accept results within approx +/- .01 of exact value.
24431 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
24432
24433Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
24434
24435 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 24436 properly.
c906108c
SS
24437 (gdb_expect): Add optional timeout parameter, and add timeout
24438 value to various calls.
24439 (gdb_suppress_tests): Only give one warning message per group.
24440
24441Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
24442
24443 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
24444 global variables. Handle getting a value for $timeout more
24445 gracefully.
c906108c
SS
24446
24447Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24448
24449 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 24450 initialize.
c906108c 24451 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 24452 by a target configuration file.
c906108c
SS
24453 (gdb_expect): Pass the timeout to remote_expect.
24454
24455 * config/monitor.exp(gdb_load): Fix typo in regexp.
24456
24457Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
24458
24459 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
24460
24461Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
24462
24463 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
24464 here. Call gdb_target_exec before rebooting the target, to make
24465 sure the connection to the target is closed.
c906108c
SS
24466 (gdb_load): Pass the name of the executable to gdb_target_monitor.
24467 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
24468 Also detect "Timeout reading from remote" error.
24469
24470 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
24471 gdb_target_monitor. Don't call gdb_file_cmd here; let
24472 gdb_target_monitor do it.
c906108c
SS
24473
24474 * gdb.disasm/hppa.exp: Don't use exec_output.
24475
24476Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
24477
24478 * gdb.base/list.exp: If we're debugging a non-native target,
24479 try to set the pc register to point to the start of the
24480 program before doing the first list command.
24481
24482 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 24483 test_calls after restarting.
c906108c
SS
24484
24485 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 24486 reloading.
c906108c
SS
24487
24488 * gdb.base/watchpoint.exp: Fix typo.
24489
24490 * gdb.base/setshow.exp: Check for use_gdb_stub.
24491
24492 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 24493 stub case.
c906108c
SS
24494 * gdb.base/langs.exp: Ditto.
24495
24496 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
24497 gdb_load_offset. If we weren't given a file to load, figure out
24498 what the current file is and use it.
c906108c
SS
24499
24500 * config/i386-bozo.exp: New file.
24501
24502Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
24503
24504 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
24505 feature.
24506
24507 * config/proelf.exp: New entry.
24508
24509Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
24510
24511 * lib/gdb.exp: Remove spurious .* patterns at the beginning
24512 of regexps.
24513
24514 * gdb.base/watchpoint.exp: Don't run the test_stepping
24515 tests if gdb can't call functions on the target.
24516
24517 * gdb.base/setshow.exp: Don't run the set prompt tests if
24518 the board has gdb_prompt set.
24519
24520Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
24521
24522 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
24523 * gdb.base/commands.exp: Likewise.
24524 * gdb.base/setshow.exp: Likewise.
24525
24526Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
24527
24528 * config/monitor.exp(gdb_start): Look for gdb_prompt target
24529 feature.
24530
24531 * config/i960.exp: New file.
24532
24533Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
24534
24535 * gdb.base/funcargs.exp: Check for gdb,short_int target
24536 feature instead of looking for explicit target triplets.
24537
dc96c6c7 24538Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 24539
d63a86f8 24540 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
24541 "p 123DEADBEEF", to check parse_number.
24542 * top.c: change "to enable to enable" to "to enable" in a couple
24543 of help strings.
24544
24545Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
24546
24547 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
24548 on the mn10300.
d63a86f8 24549
c906108c
SS
24550Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
24551
24552 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
24553 where the test executable is run with explicit args.
24554 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
24555
24556Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
24557
24558 * gdb.base/run.c: Use FAKEARGV to build test executable that
24559 does not require a command line arg, since most simulators
24560 don't currently support passing such an arg into the simulated
24561 program.
24562 * gdb.base/commands.exp: Change tests to insert the proper
24563 value as the arg to the first recursive factorial call. Change
24564 compilation line to define FAKEARGV at compile time.
24565
24566Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
24567
24568 * gdb.base/recurse.exp: Enable these tests for the mn10300.
24569 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
24570 function with watchpoint enabled" test.
24571
24572Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
24573
24574 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 24575 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
24576
24577 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 24578 "Tests restarted" messages.
c906108c
SS
24579
24580Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
24581
24582 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
24583
dc96c6c7 24584Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24585
24586 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
24587 for INFO SYMBOL; add help tests for OVERLAY commands.
24588 * gdb.base/default.exp: add tests for INFO SYMBOL command;
24589 add tests for OVERLAY commands
24590 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
24591 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
24592 * gdb.base/sigall.c: add usestubs code frag
24593 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 24594
c906108c
SS
24595Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
24596
24597 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
24598 failures.
24599 (gdb_stop_suppressing_tests): Note that tests have restarted.
24600
24601Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
24602
24603 * config/h8300.exp: New file.
24604
24605Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
24606
24607 * gdb.base/setshow.exp: Check for the existence of a
24608 feature, not its value.
24609
24610Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
24611
24612 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
24613
24614 * gdb.base/scope.exp: It's now init0(), not init().
24615
24616 * gdb.base/scope0.c: For now, change init() to be init0().
24617
24618 * config/monitor.exp: Use gdb_serial in preference to serial
24619 or netport.
24620
24621 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 24622 and it's not already set.
c906108c
SS
24623
24624Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
24625
24626 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 24627 isn't using a stub and if it supports argument passing.
c906108c
SS
24628
24629Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
24630
24631 * config/udi.exp(gdb_start): Make sure UDICONF is set
24632 properly before starting gdb.
24633
24634Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
24635
24636 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
24637 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
24638 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
24639
24640Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
24641
24642 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 24643 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
24644
24645 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
24646
24647 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
24648
24649 * config/monitor.exp: Make sure we disconnect from the target.
24650 Also, try a reboot/reload cycle instead of failing if the
24651 load fails.
24652
24653Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
24654
24655 * gdb.base/default.exp: Don't set match_max.
24656 * gdb.base/help.exp: Ditto.
24657 * gdb.base/list.exp: Ditto.
24658 * gdb.base/signals.exp: Ditto.
24659
24660 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
24661 set, use remote_ld to download the testcase instead of
24662 the GDB loader.
24663
24664Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
24665
24666 * config/vr5000.exp: New file.
24667
24668 * config/monitor.exp(gdb_target_monitor): Add pattern for
24669 "Ending remote" to detect errors in connecting.
24670
24671 * gdb.base/setshow.exp: Add .* within auto language test.
24672
24673 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
24674 target feature.
24675
24676 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 24677 and reboot the board if necessary.
c906108c
SS
24678
24679 * gdb.base/setvar.exp(test_set): Handle multiple prints within
24680 a set of tests. Remove print.* from the patterns being checked.
24681
24682Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
24683
24684 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
24685 refer to gdb_spawn_id.
24686
24687 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
24688 longer used.
24689 * config/sparclet.exp: Ditto.
24690 * config/sparclet-old.exp: Ditto.
24691 * config/slite.exp: Ditto.
24692 * config/sim.exp: Ditto.
24693 * gdb.base/funcargs.exp: Ditto.
24694
24695 * lib/gdb.exp:Remove references to gdb_spawn_id.
24696 (gdb_expect): Move to remote.exp.
24697
24698Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
24699
24700 * config/monitor.exp: Detect the "Couldn't establish connection"
24701 message from GDB.
24702
24703Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
24704
24705 * gdb.base/bitfields.exp: Use runto instead of explicit
24706 gdb_run_cmd/gdb_expect sequences.
24707
24708 * gdb.base/break.exp(text_next_with_recursion): Add match for
24709 gdb_expect call.
24710
24711 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
24712 We also need to handle the "A program is being debugged already"
24713 prompt from gdb. Use gdb_test to set the baud rate.
24714
24715 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
24716 to 20000. Really. I mean it.
24717
24718Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24719
24720 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
24721 fails. If suppress_flag is set, skip perror message about not
24722 being able to send to GDB.
c906108c 24723 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 24724 GDB.
c906108c
SS
24725 (gdb_expect): If suppress_flag is set, always fail immediately.
24726 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
24727 (gdb_init): Call gdb_stop_suppressing_tests.
24728 (default_gdb_exit): Ditto.
24729 (default_gdb_start): Ditto.
24730
24731 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 24732 gdb_stop_suppressing_tests as appropriate.
c906108c 24733 * gdb.base/break.exp: Ditto.
889bf7c5 24734 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
24735 * gdb.base/commands.exp: Ditto.
24736 * gdb.base/exprs.exp: Ditto.
889bf7c5 24737 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
24738 * gdb.base/list.exp: Ditto.
24739 * gdb.base/recurse.exp: Ditto.
889bf7c5 24740 * gdb.base/scope.exp: Ditto.
c906108c
SS
24741 * gdb.base/structs.exp: Ditto.
24742 * gdb.c++/inherit.exp: Ditto.
24743
24744Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
24745
24746 * config/vr4300.exp: New file.
24747
99707966 24748 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 24749
99707966 24750 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
24751
24752Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
24753
24754 * lib/gdb.exp(gdb_init): New function.
24755
24756 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 24757 for each individual variable set.
c906108c
SS
24758
24759 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
24760 name.
24761
24762 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
24763
24764 * gdb.base/scope.exp: Use gdb_test.
24765
24766 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
24767 aborting; the testsuite driver will do that for us (see
24768 gdb_finish). Also, use gdb_test in a few more places.
24769
24770Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
24771
24772 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
24773
24774Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
24775
24776 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
24777 and "add_tests" are not at the same address.
24778
24779Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
24780
24781 * gdb.base/ptype.exp: Use gdb_test.
24782
24783Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
24784
24785 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
24786 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
24787 left in. No longer expect them to fail.
24788
24789 * gdb.stabs/*.mt; Deleted, no longer used.
24790 * gdb.stabs/configure.in: Remove references to target makefile
24791 frags.
24792 * gdb.stabs/configure: Rebuilt.
24793
24794 * gdb.disasm/*.mt: Deleted, no longer used.
24795 * gdb.disasm/configure.in: Remove references to target makefile
24796 frags. Use "sh3.s" as the unique filename for this directory.
24797 * gdb.disasm/configure: Rebuilt.
24798
24799 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
24800 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
24801 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
24802
24803Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
24804
24805 * config/udi.exp: Use mondfe,name instead of remote_host.
24806
24807Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
24808
24809 * gdb.base/watchpoint.exp: Don't expect a failure when calling
24810 a function with a watchpoint enabled on the mn10200.
24811
24812 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
24813 before trying to create it!
24814
24815Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
24816
24817 * config/vx.exp: Use hostname instead of netport.
24818
24819 * config/vxworks.exp: New file.
24820
24821 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
24822
24823 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 24824 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
24825 occurs.
24826
24827 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
24828 $gdb_spawn_id directly.
24829 (gdb_run_cmd): Try _start as well as start. Use the target feature
24830 gdb,start_symbol as the symbol to start from when jumping.
24831
24832Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
24833
24834 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
24835 redundant) test.
24836
24837 * gdb.base/recurse.exp: Relax final value test for 'b' so that
24838 it doesn't lose for 16bit integer systems.
24839
24840Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
24841
24842 * gdb.fortran/types.exp: If the target doesn't support "double"
24843 data types, then expect "real" types to only be 4 bytes.
24844
24845 * gdb.c++/virtfunc.exp: Expect failure for virtual function
24846 call tests if the target doesn't support inferior function calls.
24847
24848 * gdb.base/printcmds.exp: Allow minor deviation in FP values
24849 in printf tests.
24850
24851Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
24852
24853 * gdb.base/help.exp: Disable "help set", "help show", and
24854 "help support". Simplify regexp for "help stack".
24855
24856 * gdb.base/default.exp: Set match_max to 5000 and the timeout
24857 to 60 seconds. Temporarily set match_max to 15000 around the
24858 "info copying" test.
24859
24860 * gdb.base/nodebug.exp: Don't try to do an inferior function
24861 call if the target doesn't support them.
24862 * gdb.base/printcmds.exp: Likewise.
24863 * gdb.base/setvar.exp: Likewise.
24864 * gdb.base/structs.exp: Likewise.
24865 * gdb.c++/templates.exp: Likewise.
24866 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
24867
24868 * gdb.base/recurse.exp: Enable for the mn10200.
24869
24870 * configure.in: Do configure gdb.stabs directory for *-*-elf
24871 targets.
24872 * configure: Rebuilt.
24873
24874 * gdb.base/break.exp: Check for gdb,noresults before testing
24875 exit status and/or results from the target.
24876 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
24877 * lib/gdb.exp: Remove old (now bogus) initialization of
24878 noinferior, noargs, noresults and nosignals.
24879
24880Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
24881
24882 * config/sh.exp: New file.
24883
24884 * config/slite.exp: Try to connect multiple times to the board
24885 before rebooting. Only send a "monitor run" if need_monitor_run
24886 is set.
24887
24888 * gdb.base/break.exp: Don't do the "stub continue" test if
24889 the target has gdb_stub set.
24890
24891 * gdb.base/callfuncs.exp: Increase the timeout.
24892
24893 * gdb.base/interrupt.exp: Don't even try to compile the testcase
24894 if the target has gdb,noinferiorio set.
24895
24896 * gdb.base/list.exp: Increase match_max to 10000 characters.
24897
24898 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
24899
24900 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
24901 target.
24902
24903 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
24904
24905Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
24906
24907 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
24908 trying to delete the copy of gdb. Catch the file delete so we
24909 don't die if the delete fails; also, the file should be copied to
24910 the host, not to the build.
c906108c
SS
24911
24912Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
24913
24914 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 24915 parenthesis in case it contains multiple regexps separated
c906108c
SS
24916 with |.
24917
24918 * gdb.base/watchpoint.exp: Use gdb_test.
24919 * gdb.base/default.exp: Ditto.
24920
24921Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
24922
99707966 24923 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 24924
c906108c
SS
24925 * gdb.base/scope.exp: Use gdb_test.
24926 * gdb.c++/classes.exp: Ditto.
24927 * gdb.c++/inherit.exp: Ditto.
24928
24929Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
24930
24931 * gdb.base/crossload.exp: Don't use execute_anywhere, use
24932 remote_exec instead.
24933 * gdb.base/corefile.exp: Don't be ridiculous.
24934 * gdb.base/*.c: Add missing stub invocations.
24935
24936Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
24937
24938 * config/slite.exp: Miscellaneous fixes.
24939
24940 * lib/gdb.exp: Fix runto.
24941
24942 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
24943 the target.
24944
24945 * gdb.base/watchpoint.exp: Fix regexp.
24946
24947 * lib/gdb.exp(default_gdb_exit): Add a catch to the
24948 close and wait commands, as the descriptor may now be
24949 invalid. Always call "remote_close host".
24950
24951Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
24952
24953 Major rewrite for testsuite revision.
d63a86f8 24954
c906108c
SS
24955 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
24956 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
24957 instead of relying on spawn_id to always contain a valid
24958 spawn id.
24959 (get_compiler_info): New procedure to build the ${binfile}.ci
24960 file, instead of replicating this in N different places.
24961 (gdb_compile): New procedure.
d63a86f8 24962
c906108c 24963 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
24964 appropriate arguments) instead of compile. Use gdb_test in a lot
24965 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
24966 at the start of a testcase, as this is no longer done magically.
24967
24968 config/*-gdb.exp: Rename without the -gdb suffix.
24969
24970 config/mips.exp: Use remote_close instead of exit_remote_shell.
24971 config/monitor.exp: Use target_info instead of looking at
24972 baud, timeout, etc.
24973 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
24974
24975Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24976
24977 * gdb.c++/templates.exp (test_ptype_of_templates),
24978 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
24979 Update expect patterns for destructors and assignment operators
24980 to match corresponding c-typeprint.c changes.
24981 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
24982 to destructor breakpoint test, GDB should be able to set the
24983 destructor breakpoint without specifying arguments.
24984
24985Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
24986
24987 * gdb.threads/pthreads.exp: Change result for failure to compile due
24988 to lack of pthreads runtime support from an error to simply an
24989 unsupported test, per dejagnu standards.
24990
24991Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24992
24993 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
24994 where GDB exits to reduce pattern match time.
24995 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
24996
24997 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
24998
dc96c6c7 24999Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25000
25001 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
25002 * gdb.base/default.exp: ditto.
25003 * gdb.base/nodebug.exp: ditto.
25004 * gdb.base/printcmds.exp: ditto.
25005 * gdb.base/ptype.exp: ditto.
25006 * gdb.base/setvar.exp: ditto.
25007 * gdb.base/structs.exp: ditto.
25008 * gdb.base/setshow.c: Guard against uninitialized values of argc.
25009
25010Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
25011
25012 * configure, */configure: Rebuild with autoconf 2.12.
25013
25014Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
25015
25016 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
25017 use new i*86-pc-linux*-gnu quads.
25018 * gdb.base/corefile.exp: Ditto.
25019 * gdb.base/signals.exp: Ditto.
25020 * gdb.base/sigall.exp: Ditto.
25021 * gdb.base/interrupt.exp: Ditto.
25022
25023 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
25024 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
25025 RedHat 4.0.
d63a86f8 25026
c906108c 25027 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
25028 linux. This allows the test case to at least compile on latest
25029 linux, but still not run due to missing the threads runtime library.
c906108c
SS
25030
25031Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25032
25033 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
25034 directory to search gdb directory. Accept and step over conditional
25035 stack alignment code. Consume $prompt in failure cases.
25036 Reset timeout to $oldtimeout instead of some arbitrary value.
25037 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
25038 timeout problems with infinite stack backtraces.
25039 * gdb.base/ptype.exp (ptype struct link, union tu_link):
25040 Accept function parameters for linkfunc member.
25041
25042Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
25043
25044 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
25045 (CXXFLAGS): Remove, unreferenced.
25046 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
25047 previous -B options and also add -B option to pick up cross compiled
25048 runtime.
c906108c
SS
25049 (TARGET_INCLUDES): Add for -I options and add code to initialize when
25050 doing cross compiles.
25051 (target_alias): Declare global.
25052 (xgcc): Set variable to full path of gcc in build tree. Use findfile
25053 to verify that gcc exists in build tree, and if so set CC to that
25054 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 25055
c906108c
SS
25056Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
25057
25058 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
25059 ptype test for anonymous union. Fixup testcase to match
25060 current gcc debug output.
25061
25062Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
25063
25064 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
25065 force argument to an unsigned long type.
25066
25067Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
25068
25069 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 25070 tests and anonymous union print/ptype tests.
c906108c
SS
25071 * gdb.base/list.exp (test_forward-search): Increase timeout by
25072 5 minutes for the "search extremely long line" case.
25073 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
25074 completely optional and that the pass/fail messages use the command as
25075 the message if that third arg is a null string.
25076 (gdb_test_exact): Arrange that a null string pattern means match a
25077 null string output rather than any output, which might include random
889bf7c5 25078 errors.
c906108c
SS
25079 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
25080 backtrace test.
25081 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
25082 always failing and failure is now exposed by gdb.exp changes.
25083
25084Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
25085
25086 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
25087 weren't being noted.
25088
25089Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25090
25091 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
25092 * gdb.stabs/weird.exp: Remove v_comb xfails.
25093
dc96c6c7 25094Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25095
25096 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 25097 list.exp scope.exp watchpoint.exp]
c906108c 25098 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 25099
dc96c6c7 25100Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25101
25102 * config/monitor.exp: Increase download timeout to 1000 seconds.
25103
dc96c6c7 25104Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25105
25106 * config/m32r.exp: Increase timeout to 120 seconds.
25107
25108Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
25109
25110 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
25111 and accept older ordering as obsolescent gcc or gdb.
25112 * gdb.c++/templates.exp: Ditto.
25113 * gdb.c++/virtfunc.exp: Ditto.
25114
25115Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
25116
25117 * gdb.base/coremaker.c: Add code to mmap some data so we
25118 can check that it ends up in the core file.
25119 * gdb.base/corefile.exp: Add test to read mmapped data
25120 from core file.
25121
dc96c6c7 25122Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25123
25124 * config/m32r.exp: New file.
25125
25126Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
25127
25128 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
25129 that cflags can contains -gstabs, and work correctly for other tests.
25130
dc96c6c7 25131Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25132
25133 * gdb.base/setshow.exp: New file, tests show and set.
25134 * gdb.base/setshow.c: New file, tests show and set.
25135 * gdb.base/help.exp: Add test for help set|show annotate.
25136 * gdb.base/default.exp: Add test for set|show annotate.
25137
25138Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
25139
25140 * testsuite/gdb.base/break.exp: Make backtrace from factorial
25141 errors unique.
25142 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
25143 explicitly.
25144
25145Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
25146
25147 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
25148 and width commands. This is done elsewhere.
25149 * (gdb_start): Don't call gdb_start_sim here. That's already
25150 done in gdb_load. This fixes lots of failures in default.exp.
25151
25152Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
25153
25154 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
25155 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
25156 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
25157 in the same we we treat other failures (since it may be an expected
889bf7c5 25158 condition), rather than as an error.
c906108c
SS
25159 * gdb.base/signals.exp (test_handle_all_print): Revert back to
25160 old test format.
25161
25162Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
25163
25164 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
25165 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 25166 twice. Nuke the duplicates.
c906108c 25167 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 25168 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
25169 Remove config.h along with other config files.
25170
25171Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
25172
25173 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
25174 "p func1 ()" and note that rests of tests are skipped.
25175 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 25176 setup_xfails for "print func2::coremaker_local".
c906108c
SS
25177 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
25178 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
25179 affected by the previous run test.
25180 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
25181 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
25182 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
25183 "pass int powerset tuple" and "pass modeless int powerset tuple".
25184 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
25185 "real write 4" and "real write 8".
25186 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 25187 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
25188 "print \$i after tuple assign 2", and
25189 "print vs2 after tuple assign 2".
25190 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
25191 meaningful error message and return -1 so the caller can
25192 suppress further tests and avoid a cascade of errors.
d63a86f8 25193
c906108c
SS
25194Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
25195
25196 * gdb.base/a1-selftest.exp: Tweak tests to account for new
25197 format for printing version.
25198 * gdb.base/default.exp: Ditto.
25199 * gdb.base/interrupt.exp: Fix problem with cascade of
25200 errors if child process dies while calling a function.
d63a86f8 25201
c906108c
SS
25202Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
25203
25204 * Makefile.in (VPATH): Add
25205 * Makefile.in (Makefile, config.status): Fix rules so things get
25206 remade when necessary.
25207
25208Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
25209
25210 * Makefile.in (just-check): Add path to sibling expect dir
25211 to environment variable specified by RPATH_ENVVAR.
25212
25213Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
25214
25215 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
25216 (just-check): Add shared library paths for libstdc++, tk,
25217 tcl, bfd, and opcodes to the environment variable specified
25218 in RPATH_ENVVAR.
25219 * configure.in: Add support to recognize --enable-shared flag
25220 and generate correct value for RPATH_ENVVAR.
25221 * configure: Regenerated with autoconf.
25222
25223Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
25224
25225 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 25226 include all osf versions.
c906108c
SS
25227 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
25228 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
25229 when target is linux. When failing to build pthreads test
25230 executable, give more meaningful message.
25231 * gdb.threads/pthreads.c: Hpux also uses old definition of second
25232 arg for pthread_create.
d63a86f8 25233
c906108c
SS
25234Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
25235
25236 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 25237 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 25238 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 25239 and -lpthreads (everybody else).
c906108c
SS
25240 (test_startup): Fail gracefully if threads are not supported.
25241 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
25242 "p/c array_index("abcdef",2)" when not gcc compiled.
25243 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
25244 "print func2::coremaker_local" when not gcc compiled.
25245 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
25246 "ptype on opaque struct tagname (statically)",
25247 "ptype on opaque struct tagname (dynamically) 1", and
25248 "ptype on opaque struct tagname (dynamically) 2"
25249 for not compiled with gcc.
25250 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
25251 backtrace when compiled with gcc.
d63a86f8 25252 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
25253 than always return success.
25254
25255Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
25256
25257 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
25258
25259Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
25260
25261 * gdb.base/structs.exp: Undo last change.
25262
25263Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
25264
25265 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
25266 encapsulate all the steps/nexts done during self test, starting
25267 at main, and makes them less sensitive to optimization issues.
25268 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
25269 signal handler" test.
25270 * gdb.threads/pthreads.exp: Only run this for native configs.
25271 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
25272 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
25273 tests.
25274 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
25275 for "runto test_calls(void)" test.
d63a86f8 25276
c906108c
SS
25277Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
25278
25279 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
25280 and don't expect address info in breakpoint confirmations.
25281
25282Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
25283
25284 * gdb.base/list.exp (test_forward_search): Increase timeout
25285 temporarily by 60 seconds for searching extremely long line,
889bf7c5 25286 and then reset to old value when done. Increase expect input
c906108c
SS
25287 buffer to 10000.
25288
25289Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
25290
25291 * gdb.base/list.exp (test_forward_search): Fix to handle very
25292 long source line without overflowing expect's input buffer.
25293
25294Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
25295
25296 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
25297 "buffer_full".
25298
25299 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
25300 "buffer_full".
25301
25302 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
25303 "buffer_full".
25304
25305 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
25306 "buffer_full".
25307
25308Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
25309
25310 * configure.in (configdirs): Add gdb.threads.
25311 * configure: Regenerated with autoconf.
25312 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
25313 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
25314 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 25315
c906108c
SS
25316Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
25317
25318 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
25319
25320Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
25321
25322 * gdb.base/signals.exp (test_handle_all_print): Test separately for
25323 each signal's status in the output of "handle all print".
25324 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
25325 the \r\n sequence that immediately precedes the gdb prompt.
25326 * gdb.base/a1-selftest.exp: Save original timeout and restore
25327 after test.
25328
25329Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
25330
25331 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
25332 symbol.
25333
25334Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
25335
25336 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
25337
25338Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
25339
25340 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
25341 timeout by 60 seconds.
25342
25343Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
25344
25345 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
25346 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
25347 error return.
25348
25349Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
25350
25351 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
25352 gdb initialization, also report how long dejagnu waited. Restore
25353 old timeout before doing error return. Temporarily increase timeout
889bf7c5 25354 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
25355
25356Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
25357
25358 * lib/gdb.exp: Report timeout value for verbosity level 2.
25359 * config/gdbserver.exp: Ditto.
25360 * config/hppro.exp: Ditto.
25361 * config/mips-gdb.exp: Ditto.
25362 * config/monitor.exp: Ditto.
25363 * config/netware.exp: Ditto.
25364 * config/sim-gdb.exp: Ditto.
25365 * config/slite-gdb.exp: Ditto.
25366 * config/udi-gdb.exp: Ditto.
25367 * config/unix-gdb.exp: Ditto.
25368 * config/vx-gdb.exp: Ditto.
25369 * gdb.base/a1-selftest.exp: Ditto.
25370 * gdb.base/a2-run.exp: Ditto.
25371 * gdb.base/break.exp: Ditto.
25372 * gdb.base/corefile.exp: Ditto.
25373 * gdb.base/list.exp: Ditto.
25374 * gdb.base/recurse.exp: Ditto.
25375 * gdb.base/scope.exp: Ditto.
25376 * gdb.base/signals.exp: Ditto.
25377
25378Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25379
25380 * gdb.threads/Makefile.in (docdir): Removed.
25381
25382Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25383
25384 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 25385 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 25386 @srcdir@.
d63a86f8 25387 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
25388 autoconf 2.5 or higher.
25389 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
25390
25391Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
25392
25393 * configure: Regenerated.
25394 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
25395 avoid name clashes with SunOS headers.
25396
25397Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
25398
25399 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
25400
25401Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
25402
25403 * gdb.base/callfuncs.exp: Finish last change -- make sure the
25404 prototype information ends up in the compiler info file.
25405
25406Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
25407
25408 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
25409 attempting to regenerate it. Eliminate use of a temporary file
25410 and just generate the info file directly. Source it immediately,
25411 for consistency of use.
25412 * gdb.base/corefile.exp: Ditto
25413 * gdb.base/exprs.exp: Ditto.
25414 * gdb.base/funcargs.exp: Ditto.
25415 * gdb.base/langs.exp: Ditto.
25416 * gdb.base/list.exp: Ditto.
25417 * gdb.base/mips_pro.exp: Ditto.
25418 * gdb.base/nodebug.exp: Ditto.
25419 * gdb.base/opaque.exp: Ditto.
25420 * gdb.base/ptype.exp: Ditto.
25421 * gdb.base/scope.exp: Ditto.
25422 * gdb.base/setvar.exp: Ditto.
25423 * gdb.base/signals.exp: Ditto.
25424 * gdb.base/whatis.exp: Ditto.
25425 * gdb.c++/templates.exp: Ditto.
25426 * gdb.c++/virtfunc.exp: Ditto.
25427 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 25428 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
25429
25430Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25431
25432 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
25433 it got fixed by the recent lookup_minimal_symbol_by_pc change.
25434 Increase timeout, a lot of single stepping might be needed if the
25435 target has no hardware watchpoints.
25436
25437Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
25438
25439 * gdb.base/break.exp: Ignore compiler warnings when compiling
25440 break.c.
25441 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
25442 * gdb.base/default.exp: Add h8300 xfails. Handle messages
25443 from remote-sim.
25444 * gdb.base/exprs.exp: Add h8300 xfails.
25445 * gdb.base/funcargs.exp: Likewise.
25446 * gdb.base/nodebug.exp: Likewise.
25447 * gdb.base/printcmds.exp: Likewise.
25448 * gdb.base/ptype.exp: Likewise.
25449 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
25450 h8300 xfails.
d63a86f8 25451 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
25452 on the h8300.
25453 * gdb.base/funcargs.c: Explicitly make last constant argument to
25454 call_after_alloca_subr an unsigned long type.
25455 * gdb.base/return.c: Include stdio.h.
25456
25457Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
25458
25459 * config/abug.exp: New file for the older Motorola Bug monitor
25460 that runs on the mvme13x series VME boards.
25461 * config/monitor.exp: Use the new config array for target settings
25462 if they exist.
25463
25464Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
25465
25466 * sim-gdb.exp: Make the SH simulator allocate less space when
25467 it is targeted.
25468
25469Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
25470
25471 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
25472 test.
25473
25474Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
25475
25476 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
25477 "rs6000-*-*" for "list function in include file" when gcc compiled.
25478 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
25479 for "p ctable1[120]".
25480 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
25481 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
25482 Remove setup_xfail for "rs6000-*-*" for
25483 "print 'scope0.c'::filelocal before run".
25484 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
25485 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
25486 since some compilers don't allow both options to be given
25487 on the same command line. Create object file and move it.
d63a86f8 25488
c906108c
SS
25489Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
25490
25491 * gdb.base/corefile.exp: Always regenerate the core file, since
25492 we always regenerate the coremaker program. Detect special case
25493 where registers cannot be read from core file.
d63a86f8 25494
c906108c
SS
25495Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
25496
25497 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
25498 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
25499 * gdb.c++/templates.exp: Only match on basename of file since
25500 some formats like xcoff don't encode directory information.
25501 * gdb.stabs/weird.exp: Use the right sed script for powerpc
25502 and rs6000 AIX xcoff targets.
25503 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
25504 * configure: Regenerate.
25505 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
25506 here, rather than in distclean.
d63a86f8 25507
c906108c
SS
25508Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
25509
25510 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
25511 defined, and use it to compile the test case with -O2. The
25512 native compilation still uses no optimization.
25513 * gdb.base/mips_pro.c: Remove inline assembly code since
25514 it is compiled PIC by default, which results in assembler
25515 warnings that make the testsuite think the compilation
25516 was unsuccessful.
25517
25518Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
25519
25520 * gdb.c++/misc.exp: Add note to message for
25521 "print s.a for foo struct" that this is a known gcc 2.7.2
25522 and earlier bug.
25523
25524Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
25525
25526 * gdb.base/break.exp: Fix pattern for matching "Delete all
25527 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
25528 setup_xfail for deleting all breakpoints test. Fix various
25529 timeout messages to include "(timeout)".
25530 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
25531 for "p t_float_values2(3.14159,float_val2)".
25532 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
25533 for "continue to call2g" when gcc compiled.
25534 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
25535 "up to foo in langs.exp", "show language at foo in langs.exp",
25536 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
25537 and "show language at fsub in langs.exp".
25538 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
25539 "list line 1 in include file", "list message for lines past EOF",
25540 "list function in include file", "list list0.h:foo", and
25541 "list filename:function; nonexistant function".
25542 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
25543 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
25544 and "ptype t_char_array" to be for native cc only.
d63a86f8 25545
c906108c
SS
25546Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
25547
d63a86f8 25548 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 25549 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 25550 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
25551
25552Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
25553
25554 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
25555 "bt in signals.exp". This problem only appears when running
25556 the testsuite, and then only intermittently.
25557
25558Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
25559
25560 * gdb.base/return.exp (return_tests): Differentiate between
25561 two tests of continuing.
25562
25563Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
25564
25565 * */Makefile.in (maintainer-clean): Remove config.log.
25566 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
25567 * gdb.c++/Makefile.in (PROGS): Add inherit.
25568 (clean): Remove *.ci.
25569
25570Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
25571
25572 * gdb.c++/misc.cc: Add test code from Mike Stump.
25573 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
25574
25575Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
25576
25577 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
25578 to "alpha-*-osf2*" and add comment.
25579 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
25580 setup_xfail for "step over execarg initialization" and
25581 "step over corearg initialization".
c906108c
SS
25582 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
25583 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
25584 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 25585 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
25586 "print func2::coremaker_local", and "backtrace in corefile.exp".
25587 * gdb.base/signals.exp: Build and source signals.ci.
25588 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
25589 to be for gcc only.
25590 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 25591
c906108c
SS
25592Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25593
25594 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
25595 Feb 3 procfs.c change.
25596
25597Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
25598
25599 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
25600
25601Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
25602
25603 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
25604 from dejagnu's apparent default of 10 seconds, which gives random
25605 results when running the tests over NFS on moderately loaded systems.
25606 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
25607
25608Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
25609
25610 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
25611 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 25612 result reports.
c906108c
SS
25613
25614Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
25615
25616 * configure.in (CY_AC_PATH_TCLH): Remove.
25617 * configure: Regenerate.
25618
25619Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
25620
25621 * gdb.c++/Makefile.in (clean): Add missing '{'.
25622
25623Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
25624
25625 * lib/gdb.exp: Provide a default value for noinferior.
25626
25627 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
25628 Load libgloss.exp.
25629
25630Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
25631
25632 * gdb.disasm/hppa.exp: Compile directly into an executable, use
25633 the executable, not the .o to run the tests from.
25634
25635Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
25636
25637 * gdb.base/break.exp: Don't test for program exit or exit status
25638 if $noresults if nonzero.
25639 * gdb.base/langs.exp: Likewise.
25640 * gdb.base/watchpoint.exp: Likewise.
25641
25642 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
25643 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
25644 trying to compile the testcase.
25645
25646Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
25647
25648 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
25649 * gdb.base/signals.exp (continue to handler): Likewise.
25650
25651Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
25652
25653 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
25654
25655 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
25656
25657Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
25658
25659 * gdb.base/corefile.exp: Recognize "not found" as failure
25660 when trying to determine if a core file was generated.
25661 If no core file was generate the first time, try again without
25662 the ulimit -c to work around braindamaged shells.
25663
25664Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
25665
25666 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
25667 [] tests with "test" and enclose string in quotes.
25668 * gdb.stabs/configure: Rebuild
d63a86f8 25669
c906108c
SS
25670Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
25671
25672 Changes in sync with expect:
25673 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
25674 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
25675 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
25676 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
25677 argument to AC_REQUIRE.
25678 * configure: Regenerated.
25679
25680Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
25681
25682 * gdb.base/corefile.exp: When generating a core, discard any
25683 error messages about ulimit not found and the "core dumped"
25684 message from the shell that runs the coredumper.
25685
25686Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
25687
25688 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
25689
25690 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
25691 which sed script to run. Expect failure for v_comb test
25692 on PA targets too.
d63a86f8 25693
c906108c
SS
25694Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
25695
25696 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 25697 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
25698
25699Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
25700
25701 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
25702 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 25703 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
25704 * lib/gdb.exp (default_gdb_start): Fix typo.
25705 * gdb.base/corefile.exp: Allow "Core was generated by ..."
25706 messages to not include the full program name that caused
25707 the core dump since some systems (such as solaris) apparently
25708 truncate this path to about 80 characters.
25709 When generating a core file first try increasing the core file
25710 size limit to unlimited since some systems may default it to
25711 zero, and it is harmless to try it. Move the test for failing
25712 to generate a core file to where it will actually get executed.
25713 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
25714 new gdb result from g++ debug info improvements and make old
25715 pattern obsolescent. Also account for size_t differences
25716 (may be int or long).
25717 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
25718 initialization before function call is placed in the delay slot
25719 and thus appears to be skipped over by commands such as "next".
25720
25721Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
25722
25723 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
25724
25725Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
25726
25727 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
25728 input source file; fix code to compile test to deal with this
25729 convention.
25730 * gdb.c++/*.exp: Likewise.
25731
25732Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
25733
25734 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
25735 "bt in signals.exp".
25736
25737Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
25738
25739 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
25740 "step over execarg initialization" and
889bf7c5 25741 "step over corearg initialization".
c906108c
SS
25742
25743Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
25744
25745 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
25746 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
25747
25748Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
25749
25750 From Rob Savoye (rob@poseidon.cygnus.com)
25751 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
25752 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
25753 configure.in}, gdb.disasm/{Makefile.in, configure.in},
25754 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
25755 configure.in}: Major reworking for autoconfig.
c906108c
SS
25756 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
25757 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 25758 New files.
c906108c
SS
25759 * config/unix-gdb.exp: Make GDB global.
25760 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
25761 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
25762 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
25763 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
25764 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
25765 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 25766 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
25767 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
25768 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
25769 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
25770 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 25771 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
25772 to returns as necessary, arrange for test to compile own testcase
25773 executable.
c906108c 25774 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 25775
c906108c
SS
25776Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
25777
25778 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 25779 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
25780 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
25781 "backtrace through signal handler".
25782
25783Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25784
25785 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
25786 continuing from a job control stop signal.
25787 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
25788
25789Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
25790
25791 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
25792 * gdb.base/corefile.exp: Likewise.
25793 * gdb.base/funcargs.exp: Likewise.
25794
25795Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
25796
25797 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
25798 * config/monitor.exp: Add support for setting baud rate.
25799
25800Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
25801
25802 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
25803 i*86-*-linux* xfails for "backtrace through signal handler".
25804 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
25805 "print func2::coremaker_local".
25806 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 25807 alpha-dec-osf2* xfail for
c906108c
SS
25808 "delete all breakpoints when none".
25809
25810Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
25811
25812 * gdb.base/break.exp: Change test that deletes all breakpoints
25813 when no user breakpoints are installed. A post 4.15 change
25814 causes gdb to no longer prompt in this case.
25815
25816Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
25817
25818 * gdb.base/return.exp (return_tests): Change xfail for test
25819 "correct value returned double test" to stop xfailing at
25820 Solaris 2.5. Apparently the bug has been fixed.
25821
25822Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
25823
25824 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
25825 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
25826
25827Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
25828
25829 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
25830 * gdb.disasm/hppa.s: Corresponding changes.
25831
25832Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
25833
25834 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
25835 makefile fragment.
25836 * config/mt-hpux: Deleted.
25837
25838Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
25839
d63a86f8 25840 * Many files: When warning about suppressed tests due to a
c906108c
SS
25841 nonexistant test binary, avoid incrementing the warning count.
25842
25843Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
25844
25845 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 25846
c906108c
SS
25847Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25848
25849 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
25850 "sparc-*-solaris2*".
25851
25852Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25853
25854 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
25855 Add global and local variables and initialize them.
25856 * gdb.base/corefile.exp: Test correct mapping of corefile sections
25857 by printing variables. Remove rs6000 and powerpc xfails, BFD now
25858 extracts the file name and terminating signal from the core file.
25859 * TODO: Remove note about tests for correct mapping of corefile.
25860 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
25861 from optimizing it away.
25862 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
25863 handles common blocks.
25864
25865Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
25866
25867 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
25868 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
25869
25870Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
25871
25872 * Makefile.in (maintainer-clean): New target, synonym for
25873 realclean.
25874 * gdb.base/Makefile.in (maintainer-clean): Likewise.
25875 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
25876 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
25877 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
25878 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
25879 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
25880
25881Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
25882
25883 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
25884 xfails when not gcc compiled for "print foo::funclocal".
25885 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
25886 "print foo::funclocal at foo",
25887 "print 'scope1.c'::foo::funclocal at foo",
25888 "print foo::funclocal_bss at foo",
25889 "print 'scope1.c'::foo::funclocal_bss at foo",
25890 "print foo::funclocal_ro at foo",
25891 "print 'scope1.c'::foo::funclocal_ro at foo",
25892 "print bar::funclocal at foo" and
25893 "print 'scope1.c'::bar::funclocal at foo".
25894 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
25895 gcc compiled for "print foo::funclocal at bar".
25896 Expand all messages to ensure that they identify that
25897 the test is at bar().
25898 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
25899 gcc compiled for:
25900 "ptype on opaque struct pointer (statically)",
25901 "ptype on opaque struct tagname (statically)",
25902 "ptype on opaque struct pointer (dynamically) 1",
25903 "ptype on opaque struct tagname (dynamically) 1",
25904 "ptype on opaque struct pointer (dynamically) 2" and
25905 "ptype on opaque struct tagname (dynamically) 2
25906 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
25907 gcc compiled for:
25908 "p datalocal"
25909 "whatis datalocal",
25910 "ptype datalocal",
25911 "p bsslocal",
25912 "whatis bsslocal", and
25913 "ptype bsslocal".
25914 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
25915 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
25916 when not gcc compiled.
25917 * gdb.base/funcargs.exp (float_and_integral_args): Add
25918 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
25919 compiled.
25920 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
25921 "backtrace from call6a" when not gcc compiled.
25922 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
25923 "backtrace from call7a" when not gcc compiled.
25924 * gdb.base/callfuncs.exp (do_function_calls):
25925 Add "hppa*-*-hpux*" xfail when not gcc compiled for
25926 "p t_char_array_values(char_array_val2,char_array_val1)",
25927 "p t_char_array_values(char_array_val1,char_array_val2)",
25928 "p t_char_array_values("carray 1","carray 2")",
25929 "p t_char_array_values("carray 1",char_array_val2)",
25930 "p t_char_array_values(char_array_val1,"carray 2")",
25931 "p sum_args(1,{2})",
25932 "p sum_args(2,{2,3})",
25933 "p sum_args(3,{2,3,4})",
25934 "p sum_args(4,{2,3,4,5})"
25935 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
25936 "backtrace in corefile.exp" when not gcc compiled.
25937
25938Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25939
25940 * gdb.base/signals.exp: Rewrite `handle all print' test as
25941 a procedure. Accept blanks or TABs as whitespace, increase
25942 timeout and expect input buffer size for the large output
25943 from the command. Remove "i*86-*-bsdi2.0" xfail.
25944
25945Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25946
25947 * gdb.base/setvar.exp: Add new testcases for truncation when
25948 assigning invalid values to bitfields.
25949
25950Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
25951
d63a86f8 25952 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
25953 mips-sgi-irix* xfail for
25954 "call inferior func with struct - returns char *"
25955 and fix test so that an optional (unsigned char *) cast is
889bf7c5 25956 accepted in the result.
c906108c
SS
25957
25958Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
25959
25960 * gdb.base/funcargs.exp (float_and_integral_args): Remove
25961 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
25962 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
25963 * gdb.base/signals.exp: Remove duplicate "handle all print" test
25964 that accidentally got checked in.
25965
25966Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
25967
d63a86f8 25968 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
25969 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
25970 compiled test.
25971 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
25972 Add mips-sgi-irix5* xfail for not gcc compiled.
25973 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
25974 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
25975 "p top", "whatis top", "p middle", and "whatis middle".
25976 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
25977 "whatis signed char" for not gcc compiled.
25978 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
25979 "set variable signed char=-1 (-1)" and
25980 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
25981 * gdb.base/funcargs.exp (float_and_integral_args):
25982 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
25983 Add mips-sgi-irix* xfail when not gcc compiled for
25984 "continue to call2b".
25985 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
25986 "continue to call2g".
25987 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
25988 "backtrace from call6a"
25989 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
25990 "backtrace from call7k".
25991 Add mips-sgi-irix5* xfail when not gcc compiled for
25992 "backtrace from call7a".
25993 (localvars_after_alloca): Fix gdb_test cmds for
25994 "print * after runto ...".
25995 Remove rs6000-*-* xfails for
25996 "print i after runto localvars_after_alloca" and
25997 "print l after runto localvars_after_alloca"
25998 for all compilers.
25999 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 26000 when not compiled with gcc, for:
c906108c
SS
26001 "print signed char == (minus)",
26002 "print signed char != (minus)",
26003 "print signed char < (minus)",
26004 "print signed char > (minus)".
26005 * gdb.base/callfuncs.exp (do_function_calls):
26006 Add mips-sgi-irix* xfail, when compiled with native compiler, for
26007 "call inferior func with struct - returns char *".
d63a86f8 26008 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
26009 "correct value returned double test" to include Solaris 2.4.
26010 * gdb.base/funcargs.exp (float_and_integral_args):
26011 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 26012
c906108c
SS
26013Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26014
26015 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
26016 enumeration bitfields if compiling with GNU C.
26017 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
26018 to empty' prompt.
26019
26020Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
26021
26022 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
26023 test for PRO targets.
26024
26025 * gdb.base/funcargs.exp: Avoid ever setting more than 8
26026 breakpoints in the inferior at any given time by making
26027 two groups of breakpoints for call2*, call6* and call7*
26028 tests.
26029
26030Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26031
26032 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
26033 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
26034 from optimizing it away.
26035 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
26036 "call inferior func with struct".
26037
26038Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
26039
26040 * configure.in: Only configure gdb.chill for particular targets.
26041
26042Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
26043
26044 * gdb.base/Makefile.in: Add action to .c.o transformation
26045 rule that generates a .ci file for each .o file and remove
26046 explicit .c.o rules except for callfuncs.o.
26047 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
26048 generates a .ci file for each .o file and remove explicit
26049 .cc.o rules.
26050 (clean): Remove *.tmp *.ci files.
26051 (EXECUTABLES): Remove templ-info.exp.
26052 * gdb.base/compiler.c: New file.
26053 * gdb.c++/compiler.cc: New file
26054 * gdb.base/scope.exp: Source gdb.base/scope.ci.
26055 Change rs6000-*-* xfail for
26056 "print 'scope0.c'::filelocal_ro" and
26057 "print 'scope1.c'::filelocal" and
26058 "print 'scope1.c'::filelocal_bss" and
26059 "print 'scope1.c'::filelocal_ro" and
26060 "print 'scope1.c'::foo::funclocal" and
26061 "print 'scope1.c'::foo::funclocal_ro" and
26062 "print 'scope1.c'::bar::funclocal" and
26063 "print 'scope0.c'::filelocal_ro" and
26064 "print 'scope1.c'::filelocal at foo" and
26065 "print 'scope1.c'::filelocal_bss at foo" and
26066 "print 'scope1.c'::filelocal_ro at foo" and
26067 "print 'scope1.c'::foo::funclocal at foo" and
26068 "print 'scope1.c'::foo::funclocal_bss at foo" and
26069 "print 'scope1.c'::foo::funclocal_ro at foo" and
26070 "print 'scope1.c'::bar::funclocal at foo" and
26071 "print 'scope0.c'::filelocal_ro" and
26072 "print 'scope1.c'::filelocal" and
26073 "print 'scope1.c'::filelocal_bss" and
26074 "print 'scope1.c'::filelocal_ro" and
26075 "print 'scope1.c'::foo::funclocal" and
26076 "print 'scope1.c'::foo::funclocal_bss" and
26077 "print 'scope1.c'::foo::funclocal_ro" and
26078 "print 'scope1.c'::bar::funclocal" and
26079 "print 'scope1.c'::bar::funclocal_bss"
26080 to only be xfail'd when not compiled with gcc.
d63a86f8 26081 Add rs6000-*-* xfail for
c906108c
SS
26082 "print 'scope0.c'::filelocal_bss before run"
26083 when compiled with gcc.
26084 (test_at_main): Add rs6000-*-* xfail for
26085 "print filelocal_ro in test_at_main"
26086 when compiled with gcc.
26087 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 26088 Add rs6000-*-aix* xfail for
c906108c
SS
26089 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
26090 "ptype t_char_array", not compiled with gcc.
26091 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
26092 xfail for "list foo (in include file)" when gcc compiled.
26093 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 26094 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
26095 "run to call0a" if not compiled with gcc.
26096 (unsigned_integral_args): Add rs6000-*-* xfail for
26097 "run to call1a" if not compiled with gcc.
26098 (float_and_integral_args): Add rs6000-*-* xfail for
26099 "run to call2a" if not compiled with gcc and for
26100 "continue to call2b" for any compiler.
26101 Add rs6000-*-* xfail to
26102 "print f1 after run to call2a" for gcc compiled.
26103 (discard_and_shuffle): Add rs6000-*-* xfail for
26104 "run to call6a".
26105 (shuffle_round_robin): Add rs6000-*-* xfail for
26106 "backtrace from call7a" if not compiled with gcc.
26107 Add rs6000-*-* xfail for
26108 "backtrace from call7b" if compiled with gcc.
26109 (call_after_alloca): Add rs6000-*-* xfail for
26110 "print c in call_after_alloca" and
26111 "print s in call_after_alloca" and
26112 "backtrace from call_after_alloca_subr"
26113 if not compiled with gcc.
26114 (localvars_in_indirect_call): Add rs6000-*-* xfail for
26115 "print c in localvars_in_indirect_call" and
26116 "print c in localvars_in_indirect_call" and
26117 "backtrace in indirectly called function" and
26118 "stepping into indirectly called function"
26119 if not compiled with gcc.
26120 (localvars_after_alloca): Add rs6000-*-* xfail for
26121 "print c after runto localvars_after_alloca" and
26122 "print s after runto localvars_after_alloca" and
26123 "print i after runto localvars_after_alloca" and
26124 "print l after runto localvars_after_alloca"
26125 for all compilers.
26126 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
26127 than whatis-info.exp.
26128 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
26129 than opaque-info.exp.
26130 Setup rs6000-*-* xfail for
d63a86f8 26131 "ptype on opaque struct pointer (statically)" and
c906108c
SS
26132 "ptype on opaque struct pointer (dynamically)" when
26133 not compiled with gcc.
26134 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
26135 rather than callf-info.exp.
26136 (do_function_calls): Add clear_xfail for rs6000-*-* for
26137 "p t_float_values2(3.14159,float_val2)". Seems to work
26138 fine there, both with xlc and gcc. Need to find out what
26139 it is doing right and fix other platforms.
26140 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
26141 "call inferior func with struct - returns int",
26142 "call inferior func with struct - returns long",
26143 "call inferior func with struct - returns float",
26144 "call inferior func with struct - returns double",
26145 "call inferior func with struct - returns char *",
26146 but only if not gcc compiled (presumes xlc compiled).
26147 Change rs6000-*-* xfails for
26148 "call inferior func with struct - returns char" and
26149 " call inferior func with struct - returns short" to only
26150 xfail if not using gcc.
26151 (clean mostlyclean): Remove *.ci and *.tmp files.
26152 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
26153 than templ-info.exp.
26154 * gdb.base/langs.exp: Source gdb.base/langs.ci.
26155 Add rs6000-*-* xfail for "up to foo in langs.exp"
26156 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 26157 when not gcc compiled.
d63a86f8 26158
c906108c
SS
26159Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26160
26161 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
26162 * gdb.base/corefile.exp: Likewise.
26163 * gdb.base/list.exp: Likewise.
26164 * gdb.base/scope.exp: Likewise.
26165 * gdb.base/siganls.exp: Likewise.
26166
26167 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
26168 compiler output.
26169 * gdb.base/whatis.exp: Likewise.
26170
26171Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
26172
26173 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
26174 failure (opcode table has been fixed to match reality).
26175
26176Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
26177
26178 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
26179 "call inferior func with struct - returns char",
26180 "call inferior func with struct - returns short"
26181
26182 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
26183 "print 'scope0.c'::filelocal at main",
26184 "print 'scope0.c'::filelocal_bss in test_at_main",
26185 "print 'scope0.c'::filelocal at foo",
26186 "print 'scope0.c'::filelocal_bss in test_at_foo",
26187 "print 'scope0.c'::filelocal at bar",
26188 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 26189
c906108c
SS
26190 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
26191 in source file 1". This bug seems to have been fixed with both
26192 gcc and native cc (was native assembler bug?).
26193
26194Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
26195
26196 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
26197 "backtrace through signal handler" to "i*86-*-sysv4*".
26198 * gdb.base/signals.exp: Add xfail for "'next' behaved as
26199 continue" case. Add "known SVR4 bug" to fail message.
26200 Add "i*86-*-bsdi2.0" xfail for "handle all print".
26201 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
26202 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
26203 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
26204 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
26205 "up to foo in langs.exp", "show language at foo in
26206 langs.exp", "up to cppsub_ in langs.exp", "show
26207 language at cppsub_ in langs.exp", "up to fsub in
26208 langs.exp", and "show language at fsub in langs.exp".
26209 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
26210 "bactrace in corefile.exp".
26211 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
26212 "call inferior function with struct - returns float" and
26213 "call inferior function with struct - returns double".
d63a86f8 26214
c906108c
SS
26215Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
26216
26217 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
26218 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
26219 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
26220 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
26221
26222Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
26223
26224 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
26225 (or overriden) "CHILL" macro rather then bare "gcc".
26226 Also look for ../../gcc/xgcc since that is what we will
26227 actually need, not "Makefile". Remove following assignment
26228 of CHILL to CHILL_FOR_TARGET because that results in
26229 recursive definition.
26230
26231Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
26232
26233 * gdb.base/corefile.exp: Change xfail for backtrace in
26234 corefile.exp from linuxaout to all linux.
26235 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
26236 cases where we miss the breakpoint at the signal handler
26237 for some reason. Setup xfail for linuxoldld/linuxaout and
26238 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
26239 hitting SIGURG breakpoint.
26240 * gdb.base/signals.exp: Setup xfail for "next" acting like
26241 continue to add linuxoldld. Setup xfail for all linux for
26242 "next to handler in signals_tests_1", "backtrace in
26243 signals_tests_1", "continue to func1", "pass SIGUSR1",
26244 and continue to handler".
26245
26246Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
26247
26248 * Update all FSF addresses except those in COPYING* files.
26249
26250Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
26251
26252 * gdb.base/a2-run.exp: Change messages to be more explicit about
26253 the status of args, and quote binfile in results.
26254
26255Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
26256
26257 * gdb.base/callfuncs.exp: Add tests for passing structs to
26258 inferior functions and return various types.
26259 * gdb.base/callfuncs.c: Add functions to receive a struct
26260 and return a member of the struct, in various types.
26261
26262Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26263
26264 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
26265
26266Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
26267
26268 * config/vxworks29k.exp: New file, sources vxworks.exp.
26269
26270Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26271
26272 * config/gdbremote.exp: New file. Testing framework using
26273 gdbserver.
26274
26275Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
26276
26277 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
26278 "call function when asleep" and "send end of file".
26279 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
26280 for "backtrace in corefile.exp".
26281 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
26282 for "backtrace through signal handler".
26283 * gdb.base/corefile.exp: Make sure we actually generate a core file
26284 before trying the core tests. Some systems allow the user to suppress
26285 generation of core files and default to that (linux for example).
26286 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
26287 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
26288
26289Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26290
26291 * gdb.threads: New directory with some crude multi-threaded
26292 gdb tests (step.exp and step2.exp).
26293 * config/mt-lynx (STEP_EXECUTABLE): Define.
26294 (THREADFLAGS): Define.
26295
26296Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
26297
26298 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
26299
26300 * gdb.base/signals.exp: Disable whole file for lynx until
26301 further notice.
26302
26303 * gdb.base/signals.exp: xfail test where "next" acts like
26304 "continue" for lynx.
26305
26306 * gdb.base/interrupt.exp: xfail test for calling function while
26307 inferior is asleep for lynx.
26308
26309 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
26310 than one cr-lf after each command.
26311
26312Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26313
26314 * configure.in: Reinstate setting of stabsdirs variable, fix
26315 typo in setting up configdirs for native builds.
26316
26317 * gdb.base/return.exp: Fix typo in return double test.
26318 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
26319 compiler from optimizing them away.
26320
26321Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
26322
26323 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
26324 sequences to be echo'd by gdb when using gdb_test.
26325 * gdb.chill/chexp.exp: Likewise.
26326 * gdb.fortran/exprs.exp: Likewise
26327
26328Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26329
26330 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
26331 after the inferior gdb has started.
26332
26333 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
26334 after each command.
26335 * gdb.base/funcargs.exp: Likewise.
26336 * gdb.base/gdbvars.exp: Likewise.
26337 * gdb.base/interrupt.exp: Likewise.
26338 * gdb.base/list.exp: Likewise.
26339 * gdb.base/watchpoint.exp: Likewise.
26340 * gdb.c++/demangle.exp: Likewise.
26341 * gdb.c++/inherit.exp: Likewise.
26342 * gdb.chill/chexp.exp: Likewise.
26343 * gdb.fortran/exprs.exp: Likewise.
26344
26345 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
26346 test if we can't handle IO to/from the inferior.
26347
26348 * gdb.c++/misc.exp: Always check for a program already being
26349 started after sending a "run" command to gdb.
26350
26351 * gdb.base/twice.exp: Start with a fresh gdb.
26352
26353 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
26354 only depend on gdb's expression code, not the chill runtime.
26355
26356 * gdb.base/return.c: Put return values into variables so we
26357 can have gdb print them rather than depending on the program
26358 to print them.
26359 * gdb.base/return.exp: Corresponding changes.
26360
26361 * lib/gdb.exp: Provide default value for noinferiorio.
26362 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
26363 the inferior.
26364
26365 * gdb.base/break.exp: Always check for a program already being
26366 started after sending a "run" command to gdb.
26367 (text_next_with_recursion): Don't check the output from the
26368 program's printf statement. Instead just make sure the program
26369 exited.
26370
26371 * gdb.base/commands.exp: Protect tests which need arguments with
26372 $noargs conditionals.
26373
26374Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26375
26376 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
26377 of structure member arrays to match gdb/valops.c:value_addr change.
26378
26379Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
26380
26381 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
26382 cases.
26383
26384Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
26385
26386 * configure.in (configdirs): Remove gdb.chill from default list
26387 of subdirs and then add it back in only if doing a native build.
26388 The current chill compiler does not yet work in any cross build.
26389 * Revert all signal changes from Jul 6.
26390 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
26391 for sh-hms targets, allowing these tests to link, with no other
26392 changes. Testing is suppressed by setting "nosignals" in site.exp.
26393
26394Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
26395
26396 * configure.in (signaldirs): Define and add to configdirs for all
26397 targets except some specific ones that are known to not support signals.
26398 Also clean up formatting.
26399 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
26400 (signals, sigall): Remove rules to build.
26401 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
26402 Moved to new gdb.signals directory.
26403 * gdb.signals: New test directory.
26404 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
26405 signals.c signals.exp}: New or moved files.
26406
26407Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
26408
26409 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
26410
26411Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
26412
26413 * gdb.base/return.exp: Xfail `return double' test failure
26414 on at least Solaris 2.3 and handle future/past versions on
26415 a case by case basis as appropriate. Also update message
26416 to include i*86 failures.
26417
26418Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26419
26420 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
26421
26422 * lib/gdb.exp: Fix comment which erroneously identified
26423 gdb_file_cmd as gdb_load (the 19 May change was in fact to
26424 gdb_file_cmd not gdb_load).
26425 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
26426
26427 * gdb.base/setvar.exp: Make test names consistent between pass and
26428 fail cases. Use gdb_test more.
26429
26430Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26431
26432 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
26433
26434Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26435
26436 * gdb.base/help.exp: Fix expected help string for `show commands'.
26437
26438Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
26439
26440 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
26441
26442 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
26443 of a text section.
26444
26445Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
26446
26447 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
26448 that loop eventually terminates. Fix Connection refused logic so
26449 that testsuite will expire nicely.
26450
26451Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
26452
26453 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
26454 config/rom68k.exp: New tcl glue for the appropriate monitors.
26455 These all just end up calling monitor.exp.
26456 * config/monitor.exp (gdb_target_monitor): Handle `Connection
26457 refused' by retrying. Cleanup some timeout issues.
26458 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
26459 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
26460 callers don't have to set/restore global timeout variable.
26461
26462 * The following set of changes centralizes management of the global
26463 timeout variable. This way, it can be set in one target dependent
26464 place instead of dozens of places scattered throughout the test suite.
26465 If you need to lengthen a timeout, then you should either set timeout
26466 in one of the config/{target}.exp files, or multiply it by a factor.
26467 Setting it to an absolute value is always going to lose for some
26468 targets.
26469 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
26470 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
26471 * gdb.base/funcargs.exp: Don't set timeout.
26472 * gdb.base/list.exp (test_forward_search): Only use local timeout.
26473 * gdb.base/printcmds.exp (test_print_string_constants
26474 test_print_array_constants): Don't set timeout.
26475 * gdb.base/ptype.exp: Don't set timeout.
26476 * gdb.base/recurse.exp: Don't set timeout.
26477 * gdb.base/return.exp: Don't set timeout.
26478 * gdb.base/watchpoint.exp: Don't set timeout.
26479 * gdb.c++/classes.exp (do_tests): Don't set timeout.
26480 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
26481
26482Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
26483
26484 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
26485
26486Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26487
26488 * lib/gdb.exp: Disable chill tests for irix5.
26489
26490Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26491
26492 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
26493 each test pass or fail.
26494
26495Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26496
26497 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
26498 xlc not gcc.
26499
26500Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
26501
26502 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
26503
26504Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
26505
26506 * config/est.exp: Fix copyright and comments. Remove dead code.
26507 Use targetname, serialport and baud variables instead of fixed
26508 constants.
26509 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
26510 * config/cpu32bug.exp: New file to support cpu32bug monitors.
26511
26512Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26513
26514 * gdb.base/watchpoint.exp: Don't run
26515 test_watchpoint_triggered_in_syscall for sunos.
26516
26517Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26518
26519 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
26520 they don't seem to exist. Do include stdio.h.
26521
26522Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26523
26524 * gdb.base/a1-selftest.exp: Add alpha xfail.
26525
26526Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26527
26528 * gdb.base/watchpoint.c (main): Prompt before calling read().
26529 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
26530 Revise accordingly. Remove cruft about sending "123" several
26531 times, until it gets noticed. Clean up the "print buf[0]" stuff
26532 so that it passes or fails, and waits for prompts in the usual way.
26533
26534Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26535
26536 * gdb.base/recurse.exp: Fix comment.
26537
26538 * TODO: Remove item about printing variables in nodebug.exp. Add
26539 item about enabling tests which are only run on some targets.
26540
26541 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
26542 fail, make test names unique, use new gdb_test convention
26543 regarding pattern, use gdb_test more, etc.).
26544
26545 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
26546 fail, make test names unique, etc.).
26547
26548Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26549
26550 * gdb.base/nodebug.c: Change return type of top and middle to
26551 short.
26552 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
26553 are fixed by the recent mdebugread.c changes. Allow `short ()'
26554 as type for top and middle.
26555
26556Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26557
26558 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
26559 nearly as I can tell, the whole thing was an accident in Stu's
26560 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
26561 to replace a send/expect pair with gdb_test, but ended up only
26562 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
26563 of 30 Mar 1995 took care of it, but left this vestigial comment
26564 which I am now nuking.
26565
26566Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26567
26568 * gdb.base/break.exp: Look for different line number for
26569 breakpoint at main depending on usestubs.
26570
26571Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26572
26573 * gdb.base/list.exp: Adjust some alternate expect patterns to
26574 match recent list0.c change. Add alternate expect pattern for
26575 output from `list default lines around main' for optimizing
26576 compilers.
26577
26578Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26579
26580 * lib/gdb.exp: If nosignals is not set, set it to 0.
26581
26582Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
26583
26584 * config/slite-gdb.exp: Responds to load symbol table prompt.
26585 * gdb.base/break.exp: Adjust line number, fix rerun.
26586 * gdb.base/langs0.c: Add #ifdef usestubs.
26587
26588Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
26589
26590 * gdb.base/list.exp: Adjust line contents after adding new lines in
26591 list0.c. Also fix a syntax error.
26592
26593 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
26594 * gdb.base/break.exp: ditto.
26595 * gdb.base/list.exp: ditto.
26596 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
26597 * gdb.base/run.c: ditto.
26598 * gdb.base/list0.c: ditto.
26599 * gdb.base/funcargs.c: ditto.
26600
26601Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
26602
26603 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
26604 $targetname, $serialport and $baud instead of hardwired variables.
26605 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
26606 target doesn't support signals.
26607
26608Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
26609
26610 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
26611
26612Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26613
26614 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
26615 Don't rely on the value of an auto variable before it has been
26616 initialized. Use gdb_test more.
26617
26618Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26619
26620 * lib/gdb.exp (default_gdb_version): A version number must start
26621 with a digit, but other than that contains all characters up to
26622 the first whitespace character.
26623
26624Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26625
26626 * gdb.base/commands.exp (breakpoint_command_test): New tests.
26627
26628Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26629
26630 * gdb.c++/*.exp: Warn if executable does not exist. The original
26631 reason for skipping the warning was that configure.in sometimes
26632 intentionally skipped building the executables but the tcl code
26633 had no way of knowing. That (a) was always bogus with respect to
26634 error handling, (b) is no longer true (right now there is no way
26635 to skip C++ tests).
26636
26637 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
26638
26639Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26640
26641 * gdb.base/list.exp: Add expect patterns for output from
26642 SunPRO compiled executables.
26643 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
26644 types.
26645
26646Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26647
26648 * gdb.base/break.exp (test_next_with_recursion): Accept any line
26649 number (we are already testing that the correct source line text
26650 gets printed).
26651
26652 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
26653 that is what is intended, but something needed to be done to get
26654 sunos4 native working again.
26655
26656 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
26657
26658 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
26659 apparently went with a (very) old xfail.
26660
26661Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
26662
26663 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
26664 runto_main is a proc in gdb.exp that will do 'step' for target use
26665 stubs.
26666 * gdb.base/exprs.exp: ditto.
26667 * gdb.base/interrupt.exp: ditto.
26668 * gdb.base/opaque.exp: ditto.
26669 * gdb.base/printcmds.exp: ditto.
26670 * gdb.base/ptype.exp: ditto.
26671 * gdb.base/scope.exp: ditto.
26672 * gdb.base/setvar.exp: ditto.
26673 * gdb.base/signals.exp: ditto.
26674 * gdb.base/twice.exp: ditto.
26675 * gdb.c++/classes.exp: ditto.
26676 * gdb.c++/inherit.exp: ditto.
26677 * gdb.c++/templates.exp: ditto.
26678 * gdb.base/break.exp: no run and hit main for stubs. Change line
26679 numbers for breakpoints and info breakpoint.
26680 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
26681 breakpoint().
26682 * gdb.base/callfuncs.c: ditto.
26683 * gdb.base/exprs: ditto.
26684 * gdb.base/interrupt.c: ditto.
26685 * gdb.base/opaque0.c: ditto.
26686 * gdb.base/printcmds.c: ditto.
26687 * gdb.base/ptype.c: ditto.
26688 * gdb.base/scope0.c: ditto.
26689 * gdb.base/setvar.c: ditto.
26690 * gdb.base/signals.c: ditto.
26691 * gdb.base/twice.c: ditto.
26692 * gdb.c++/misc.cc: ditto.
26693 * gdb.c++/templates.cc: ditto.
26694
26695Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26696
26697 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
26698
26699 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
26700 somewhere between `read' and `main.c'. I'm pretty sure the
26701 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
26702 and it isn't particularly useful.
26703
26704 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
26705
26706Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26707
26708 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
26709
26710Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
26711
26712 * config/mt-slite: add LIBS and -nostdlib.
26713 * config/slite-gdb.exp: add this new file to support sparclite target.
26714
26715Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
26716
26717 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
26718
26719 * gdb.base/a2-run.exp: Change argument to istarget from
26720 "*-*-vxworks" to "*-*-vxworks*".
26721 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
26722
26723Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
26724
26725 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
26726 will not runto main but do a 'step' to step out of breakpoint().
26727 * config/mt-slite: add -Dusestubs.
26728
26729Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26730
26731 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
26732 instead of just @.
26733
26734 * gdb.base/signals.exp: Add test for "handle all print".
26735 * TODO: Remove "handle all print". Also remove item about
26736 checking copyright date (I don't like the idea of a spurious FAIL
26737 based on when we run the tests).
26738
26739 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
26740 for SunOS4 (reason for failure not investigated). Remove
26741 redundant test for $binfile.
26742
26743 * gdb.base/nodebug.c (array_index): Call malloc.
26744
26745 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
26746
26747Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
26748
26749 * gdb.base/recurse.exp: Update gdb_test invocation to use new
26750 conventions and slightly simplify the matching regexp.
26751
26752Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26753
26754 * gdb.base/break.exp: Update gdb_test invocation to use new
26755 convention.
26756
26757 * lib/gdb.exp: If noargs is not set, set it to 0.
26758
26759 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
26760 tests unique.
26761
26762 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
26763
26764Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26765
26766 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
26767 one argument of type "<non-float parameter>".
26768
26769Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
26770
26771 * config/rom68k.exp: New file to support Motorola IDP board.
26772 * gdb.base/a2-run.exp: Skip this file if noargs is set.
26773 * gdb.base/break.c: Change things around so that this program
26774 doesn't depend upon args. This is necessary to make remote
26775 targets work (in general, they can't take args).
26776 * gdb.base/break.exp: Don't try to send args to program. Don't
26777 expect output. Also, replace lots of code with gdb_test.
26778
26779Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26780
26781 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
26782 printing of '\'' (which is what the comment says we are testing,
26783 even though we were not), not '''.
26784 (test_integer_literals_rejected): Test that printing ''' is an error.
26785
26786 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26787 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
26788 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
26789 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
26790 Use gdb_test not test_print_accept.
26791 * lib/gdb.exp: Remove test_print_accept.
26792
26793 * gdb.base/signals.exp (signal_tests_1): Make pass message
26794 consistent with fail message.
26795
26796 * gdb.base/whatis.exp: Remove xfails for printing char vs.
26797 unsigned char; the bug (PR 1821) is fixed.
26798
26799 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
26800
26801 * gdb.base/scope.exp (test_at_localscopes): Call pass for
26802 successful tests--makes xfailing them work right.
26803
26804Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26805
26806 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
26807 only \r\n, not .*. The test can pass .* as the last thing in
26808 $pattern if that is what it wants. In addition to providing this
26809 flexibility, this change should speed up pattern matching in cases
26810 where the pattern already ended with .* (there were a number of
26811 them). This change also helps catch bad patterns--in the old
26812 scheme the typo "char \*" instead of "char \\*" would pass. Now
26813 it is caught.
26814 * Many .exp files: Update callers.
26815
26816 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
26817 clearer and does not spuriously match multiple ('s. Likewise for
26818 ) and *.
26819
26820 * gdb.base/nodebug.exp: Test ability to call a function and pass
26821 it a string (even with no debugging info).
26822
26823 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
26824 "p '\'", which is the same as "p ''" once tcl gets done with
26825 quoting, to "p '\\'", which I suspect is what is intended (one
26826 backslash gets sent to GDB).
26827
26828 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
26829
26830Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26831
26832 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
26833 1817) was fixed literally years ago.
26834
26835Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26836
26837 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
26838 test, it causes stepping out of call_after_alloca_subr with
26839 optimizing compilers.
26840 (localvars_in_indirect_call): Consume GDB prompt if `finish'
26841 fails.
26842
26843 * gdb.c++/templates.exp: Source templ-info.exp only if
26844 the templates executable exists.
26845
26846 * gdb.c++/misc.cc (class Contains_static_instance,
26847 class Contains_nested_static_instance),
26848 gdb.c++/classes.exp (test_static_members): Test printing of
26849 a class that contains a static instance of the class.
26850
26851Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26852
26853 * gdb.base/langs2.c (cppsub_): Don't prototype.
26854 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
26855 only, I believe).
26856
26857Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26858
26859 * lib/gdb.exp (skip_chill_tests): New procedure.
26860
26861 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
26862
26863Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
26864
26865 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
26866 each expect pattern. Cuts runtime from 12 to about 4 seconds.
26867
26868Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26869
26870 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
26871
26872 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
26873 disassemble 8, not 16, instructions for part 4.
26874
26875 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
26876 support the latter anymore.
26877
26878 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
26879 -DNO_PROTOTYPES.
26880 * gdb.base/callfuncs.c: Control use of prototypes based on
26881 NO_PROTOTYPES, not __STDC__.
26882 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
26883 t_float_values2 tests if prototypes in use.
26884
26885 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
26886 t_double_values): When checking differences against DELTA, check
26887 that difference is within the range (-DELTA,DELTA), not just
26888 (-infinity,DELTA).
26889
26890Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
26891
26892 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
26893 'file' command firts, then 'target', then 'load', this is due to gdb
26894 target set up.
26895 * config/mips-gdb.exp: Fix a couple regular exp bugs.
26896
26897Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
26898
26899 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
26900 FP load/store variants.
26901 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
26902
26903Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26904
26905 * gdb.base/term.exp: Do not give a warning if not native, it is
26906 not an abnormal condition.
26907
26908Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
26909
26910 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
26911 t_char_array".
26912
26913Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26914
26915 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
26916 are getting the version number.
26917
26918 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
26919 if not native, it is not an abnormal condition.
26920
26921Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26922
26923 * lib/gdb.exp: Just use "file exists", rather than undocumented
26924 dejagnu procedure "findfile".
26925
26926Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26927
26928 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
26929 (LDFLAGS): Set to -Xlinker -Ur.
26930
26931 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
26932 Removed, these values are set by lib/gdb.exp.
26933
26934 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
26935
26936Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26937
26938 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
26939 of replicating gdb startup code.
26940
26941 * config/mt-vxworks (LDFLAGS): Set to -r.
26942 (CFLAGS_FOR_TARGET): Removed.
26943
26944 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
26945 (gdb) and gdb for vxworks uses (vxgdb).
26946
26947 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
26948 executable is not in the tree and host != target, use sed and
26949 program_transform_name to determine the gdb name used by the
26950 target.
26951
26952 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
26953 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
26954
26955Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26956
26957 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
26958 floats, chars, and shorts where there are ANSI-style function
26959 definitions.
26960
26961 * gdb.base/langs.exp, gdb.base/langs*: New test.
26962 * gdb.base/Makefile.in: Build it.
26963 * TODO: Remove item about checking that C names don't get C++
26964 demangling applied; this test tests it.
26965
26966Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26967
26968 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
26969 went with the const70 xfail. The xfail went away a year ago.
26970
26971 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
26972
26973 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
26974 for hp300.
26975
26976 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
26977
26978 * gdb.base/a1-selftest.exp: Don't run on hp300.
26979
26980Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26981
26982 * Makefile.in (site.exp): Set host_alias and target_alias as well
26983 as host_triplet and target_triplet.
26984
26985Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26986
26987 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
26988
26989 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
26990 places as other ecoff systems).
26991
26992 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
26993 ultrix.
26994
26995Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26996
26997 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
26998 remove them.
26999 * gdb.base/nodebug.exp: Accept "function" in addition to "text
27000 variable and "variable" in addition to "data variable".
27001 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
27002
27003 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
27004 2.
27005 * gdb.base/list1.c (long_line): Add additional statement at start
27006 of function.
27007 * gdb.base/list.exp (test_forward_search): Update line number to
27008 reflect new statement.
27009
27010Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27011
27012 * gdb.base/signals.exp: Reinitialize searched source directories
27013 after gdb_start call.
27014
27015Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
27016
27017 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
27018 * gdb.stabs/Makefile.in: Likewise.
27019
27020 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
27021 change. Instead split the tests into smaller pieces.
27022 * gdb.disasm/hppa.s: Corresponding changes.
27023
27024Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27025
27026 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
27027 Quote ^C when passing it to stty. For some shells ^ is a pipe.
27028
27029 * gdb.base/funcargs.exp: Modify many tests so that every test
27030 either passes or fails. Make some test names unique.
27031
27032Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27033
27034 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
27035 Call stty to set interrupt character.
27036
27037 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
27038 for HP assembler versus GNU assembler based on actual behavior of
27039 $(CC), rather than assuming that $(AS) is always the GNU assembler.
27040
27041 * TODO: Suggest a few more stepping tests.
27042
27043Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
27044
27045 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
27046 restart GDB for h8300 after a continue.
27047 (return): Add pattern to match a29k-udi behavior.
27048 * gdb.base/nodebug.exp: Remove obsolete comment.
27049 * gdb.base/regs.exp: New file, testing of register displays.
27050 * gdb.base/return.exp: Fix typo in reference to $objdir.
27051 * gdb.base/whatis.exp: Always start with a fresh GDB.
27052
27053Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27054
27055 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
27056 higher, these tests generate a lot of output.
27057
27058Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27059
27060 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
27061 code following the catch silently ignored some errors; without the
27062 catch they should be thrown like any other tcl error. Also, the
27063 catch used "" instead of {} which meant all the callers who wanted
27064 to include one of the characters "[]$ had to quote it an extra time.
27065 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
27066 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
27067 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
27068 Remove extra quoting.
27069
27070Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
27071
27072 * gdb.base/commands.exp: Make test names unique; every test either
27073 passes or fails. Update some comments.
27074
27075 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
27076
27077Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27078
27079 The following fixes a FAIL caused by the fact that the alpha stabs
27080 configuration didn't use the ".if alpha" code in weird.def.
27081 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
27082 bit pointer, so the 32 bit version works even on the alpha.
27083 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
27084 Remove the stuff which allowed us to have separate versions for
27085 alpha and everything else.
27086
27087 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
27088 regexp which "info func operator\[\](" is supposed to match. Fix
27089 string to send to GDB. Note that GDB still doesn't work right. Add a
27090 new test for "info func .perator\[\](" which GDB does handle correctly.
27091
27092 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
27093
27094Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27095
27096 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
27097 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
27098 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
27099 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
27100 it makes the tests harder to understand and confuses test-o-matic.
27101 The preferred style is that each test provides a PASS or a FAIL,
27102 and has a unique message (e.g. "continue #54" not just "continue")
27103 which is the same for the pass and the fail.
27104 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
27105 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
27106 to lib/gdb.exp.
27107 * gdb.base/printcmds.exp: Use test_print_accept. Remove
27108 prt_accept which was basically the same thing. Likewise for
27109 test_print_reject and prt_reject.
27110 * lib/gdb.exp (test_print_reject): Add some more error message
27111 patterns to match from the former printcmds.exp (prt_reject).
27112 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
27113 One defect of the passcount stuff is that some of it failed to
27114 report XPASS where appropriate.
27115 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
27116 stuff before and after arg in expected pattern.
27117 (test_paddr_operator_functions): Re-do test without print_addr_of;
27118 this is the only test which seems to want extra stuff there.
27119
27120Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27121
27122 * gdb.base/nodebug.exp: Update new tests to reflect improved
27123 wording of gdb output.
27124
27125 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
27126 and "ptype" work on variables in files compiled without -g.
27127 Replaces commented out "maint print msymbol" tests.
27128
27129Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27130
27131 * gdb.base/setvar.c (dummy): Call malloc.
27132
27133 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
27134 losing with the irix4 sed.
27135
27136 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
27137 ALRM" on irix4.
27138
27139Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27140
27141 * TODO: Remove items about corefile.exp testing new exec-file and
27142 backtrace; both are now done. Add items about printing enums.
27143
27144Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27145
27146 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
27147 "get signal $thissig" test fails.
27148
27149 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
27150
27151Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27152
27153 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
27154 compiler warning with dec alpha compiler.
27155
27156 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
27157 extra \n from gdb_test call (this explains why the prompt test
27158 that I removed yesterday was there).
27159 (user_defined_command_test): Remove extra \n and prompt test.
27160
27161 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
27162 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
27163 doesn't exist.
27164 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
27165 Also remove alpha workaround, which turns out to be because
27166 SIGABRT == SIGLOST.
27167
27168 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
27169
27170 * gdb.base/help.exp: Don't test "help show".
27171
27172Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27173
27174 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
27175 "set print address" is on.
27176 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
27177 pass prompt to gdb_test; gdb_test already looks for the prompt.
27178
27179 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
27180
27181 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
27182 was a vestige of the manual TESTSTRATEGY, and the purpose of it
27183 was to make sure that gdb can read a core file. But (a) the "read
27184 the corefile" part didn't make it to a1-selftest.exp, we just
27185 delete the corefile after creating it, and (b) we test reading
27186 corefiles in corefile.exp anyway. Also, this test left around a
27187 xgdb process on Solaris.
27188
27189 * gdb.base/corefile.exp: Also test backtrace.
27190
27191Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
27192
27193 * gdb.base/commands.exp: Test a simple user defined command with
27194 arguments and if/while statements; verify the full user command is
27195 printed by "show user".
27196
27197 * gdb.base/commands.exp: Test if/while commands as part of a
27198 breakpoint command list; verify they appear in breakpoint
27199 information.
27200
27201Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27202
27203 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
27204 than by dividing by zero.
27205
27206Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
27207
27208 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
27209 performing an inferior call with watchpoints enabled.
27210 * gdb.base/watchpoint.c (main): Delete second unnecessary read
27211 call.
27212
27213Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27214
27215 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
27216 of "file" command.
27217
27218 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
27219 Add additional pattern for when "int operator int(void);" appears
27220 in a different order.
27221
27222Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27223
27224 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
27225
27226 * gdb.base/help.exp: Replace most of docstrings for "info signals"
27227 and "signal" with ".*".
27228
27229Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27230
27231 * TODO: Add note about "handle all nostop".
27232
27233 * gdb.base/{sigall.c, sigall.exp}: New test.
27234 * gdb.base/Makefile.in: Add it.
27235
27236Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
27237
27238 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
27239 when invoking GDB, suppresses any windowing interface.
27240
27241Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
27242
27243 * config/sim-gdb: New file, simulator testing support.
27244
27245Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
27246
27247 * gdb.base/interrupt.exp: Test calling func1 twice.
27248
27249Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
27250
27251 * gdb.base/list.exp (test_forward_search): Set timeout higher
27252 when we'll be getting lots of output from gdb.
27253
27254 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
27255 "init_malloc" to after the expect statement. Run it if that
27256 regexp is taken, but also for two others which happen if source
27257 cannot be found.
27258
27259Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27260
27261 * gdb.base/printcmds.exp: New test, for printing register before
27262 program is running.
27263
27264Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27265
27266 * gdb.base/list.exp: Correct some alternate expect patterns
27267 to reflect changes in list1.c.
27268
27269Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27270
27271 * TODO: Add item regarding large frames.
27272
27273 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
27274
27275 * TODO: Remove item about enabling return.exp; it
27276 is enabled. Suggest a few more "return" tests.
27277
27278Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27279
27280 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
27281 anonymous unions.
27282
27283Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27284
27285 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
27286 and pr-5646.o, so "make" is the same as "make all", not "make
27287 pr-4975.o".
27288
27289Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
27290
27291 * gdb.base/list.exp: Adjust expectations to reflect changes in
27292 list1.c.
27293 (test_forward_search): New test proc.
27294 * gdb.base/list1.c (long_line): New function, has long source line.
27295
27296Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
27297
27298 * gdb.base/a1-selftest.exp: Change initial stepping to know about
27299 additional line of code that was added.
27300
27301Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
27302
27303 * gdb.disasm/hppa.s: Break the large branching tests into smaller
27304 tests so as not to overflow expect's input buffers.
27305 * gdb.disasm/hppa.exp: Corresponding changes.
27306
27307Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27308
27309 Beginnings of template debugging tests.
27310 * gdb.c++/templ-info.cc: New file to test for template
27311 debugging capability of the compiler.
27312 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
27313 templ-info.cc.
27314 * gdb.c++/templates.cc: Add explicit template instantiations
27315 to enable compiling with -fno-implicit-templates. Add destructor
27316 and 'value' method to T5 class for template tests.
27317 * gdb.c++/templates.exp: Add testcases for printing of template
27318 types, setting breakpoints on template methods and calling a
d63a86f8 27319 template method.
c906108c
SS
27320
27321Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
27322
27323 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
27324 branch target since some assemblers (gas-2.5) may emit a
27325 relocation for the branch instead of resolving it in the
27326 assembler.
27327
27328Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27329
27330 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
27331 through signal handler.
27332
27333Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27334
27335 * configure.in (*-*-netware): Use config/mt-netware.
27336
27337 * config/mt-netware: New file.
27338 * config/mt-i386-netware: Removed, separate configs for different
27339 netware architectures are no longer needed now that we have
27340 --with-headers.
27341
27342Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27343
27344 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
27345 by the recent changes to use ANSI C arithmetic conversions.
27346
27347Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27348
27349 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
27350 bug involving using inferior_pid to figure out whether to select a
27351 frame.
27352
27353Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
27354
27355 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
27356 match the current disassembler output.
27357
27358Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
27359
27360 * gdb.fortran/exprs.exp: Expect VOID instead of void.
27361 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
27362 types, expect "int" as type of integer values (for now).
27363
27364Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
27365
27366 * gdb.base/commands.exp: New tests for if/while commands.
27367
27368Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
27369
27370 * lib/gdb.exp (runto): Replace sub-pattern for hex value
27371 by .*, since hex values have different syntax in Chill mode.
27372
27373Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27374
27375 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
27376 linefeed from expect pattern for repeated types with indices > 9.
27377
27378Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
27379
27380 First part of Fortran test suite.
27381 * gdb.fortran: New directory.
27382 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
27383
27384Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27385
27386 * gdb.base/default.exp: Update expect pattern for load command
27387 without arguments.
27388
27389Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
27390
27391 * configure.in: Change i386 to i[345]86.
27392 * gdb.base/configure.in: Likewise.
27393 * gdb.c++/configure.in: Likewise.
27394 * gdb.chill/configure.in: Likewise.
27395
27396Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
27397
27398 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
27399 patterns, since that is not a valid context for comments.
27400
27401Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
27402
27403 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
27404 repeated types and repeated types with indices > 9.
27405
27406Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
27407
27408 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
27409 2417; old bug has been fixed.
27410
27411Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
27412
27413 * gdb.base/interrupt.exp: When trying to wake up the inferior,
27414 send the newline ourselves instead of assuming gdb_test will do
27415 so when passed an empty input string.
27416
27417 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
27418 stabs testcode.
27419
27420Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27421
27422 * lib/gdb.exp (gdb_test): Don't send anything if the first
27423 argument is an empty string. This makes cases where we want to
27424 match output that is already in expect's buffers (for example,
27425 matching a breakpoint after gdb_run_cmd has been called) work
27426 reliably.
27427
27428Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27429
27430 * config/netware.exp: New file.
27431
27432Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27433
27434 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
27435 the -B and -L prefixes so we can find the debugging stub.
27436
27437 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
27438 there and we are using the gcc from the tree.
27439
27440 * gdb.base/types.c: Removed.
27441
27442 * gdb.base/configure.in: Look for makefile fragments in ../config.
27443 Recognize i386-*-netware.
27444 * gdb.c++/configure.in: Likewise.
27445
27446Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27447
27448 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
27449 the correct TCL syntax.
27450
27451Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27452
27453 * gdb.base/opaque.exp: use runto instead of messing around with
27454 breakpoints. Simplify by using gdb_test.
27455
27456 * gdb.base/bitfields.exp: restart between tests on netware targets
27457 because breakpoints aren't relocated after target death. Run
27458 processes to completion.
27459
27460 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
27461
27462Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
27463
27464 * Makefile.in: Remove extra tabs that confuse some versions
27465 of "make". Use the newly built gdb to test with by default,
27466 rather than the first one in the tester's search path.
27467
27468Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
27469
27470 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
27471
27472 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
27473 condition help.
27474
27475Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27476
27477 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
27478
27479 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
27480 running.
27481 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
27482 * gdb.base/funcargs.exp: Likewise.
27483
27484 * gdb.base/bitfields.exp: Simplify by using gdb_test.
27485 * gdb.base/funcargs.exp: Likewise.
27486
27487 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
27488 message is "".
27489
27490Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27491
27492 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
27493 return,signals,twice}.exp: Handle non-existant binaries
27494 consistantly.
27495
27496 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
27497 * gdb.base/Makefile.in: Don't try to generate a core dump, we
27498 might testing a cross development system.
27499
27500Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27501
27502 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
27503 runtest script is relative to ${srcdir}, not ${rootdir}.
27504
27505Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
27506
27507 * gdb.base/signals.exp: Allow for optionality of breakpoint
27508 address.
27509
27510Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27511
27512 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
27513
27514Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27515
27516 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
27517 for size_t definition.
27518 * gdb.c++/templates.cc: Likewise
27519
27520 * config/mt-i386-netware: New file.
27521
27522 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
27523 defined.
27524
27525 * gdb.base/Makefile.in: Added support for systems that name core
27526 files by appending "core" to the program name.
27527 * gdb.base/a1-selftest.exp: Likewise.
27528
27529Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27530
27531 * gdb.base/return.exp: Add comment and message for `return double'
27532 test failure on Sparc Solaris.
27533
27534Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
27535
27536 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
27537
27538Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27539
27540 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
27541 from optimizing them away.
27542 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
27543 patterns to include default constructors and assignment operators,
27544 to match gcc versions beyond 2.5.8. Accept any cplus demangling
27545 character in the output of the virtual base pointer.
27546
27547Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27548
27549 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
27550 expression match in print_addr_of to avoid unintented matches.
27551 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
27552 versions up to 2.5.8.
27553
27554Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27555
27556 * gdb.base/list.exp: Tweak alternate pattern for listing of an
27557 included file to run under newer versions of expect.
27558 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
27559 consecutive >'s in templates to accomodate recent cplus-dem.c change.
27560 Remove xfail for the virtual table of BDDHookV.
27561
27562Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
27563
27564 * lib/gdb.exp (string_to_regexp): Set a default result.
27565 (default_gdb_start): Fix misleading message.
27566
27567Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
27568
27569 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
27570 Remove all CC, etc definitions.
27571 * config/mt-hpux: New file.
27572 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
27573 (CFLAGS, LDFLAGS): Define.
27574 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
27575
27576 * Makefile.in (site.exp): Don't insert host_os, etc.
27577 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
27578 (distclean): Check existence of subdir.
27579 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
27580 * gdb.base/Makefile.in: General cleanup and simplification.
27581 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27582 to build executables. Use default rule to build .o files.
27583 (EXPECT, RUNTEST, CC): Fix relative pathname.
27584 (site.exp): Don't insert host_os, etc.
27585 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
27586 and/or SIGUSR1 defined.
27587 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
27588 * gdb.c++/Makefile.in: General cleanup and simplification.
27589 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27590 (CFLAGS): Remove.
27591 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
27592
27593Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
27594
27595 * gdb.base/recurse.exp: Misc changes to get tests running again
27596 after Kung's changes to the watchpoint code.
27597 * gdb.base/watchpoint.exp: Likewise.
27598
27599Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
27600
27601 * lib/gdb.exp (string_to_regexp): Convert {\} also.
27602
27603Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
27604
27605 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
27606 * lib/gdb.exp (default_gdb_start): Define.
27607 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
27608 gdb.base/funcargs.exp, gdb.base/opaque.exp,
27609 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
27610 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
27611 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
27612 Don't call gdb_target_udi in between tests.
27613
27614Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27615
27616 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
27617 (which was basically just a local version of the same thing). In
27618 addition to avoiding duplication, gdb_test_exact is faster.
27619 * lib/gdb.exp (gdb_test_exact): Fix typo.
27620
27621 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
27622 don't give an error.
27623
27624 * gdb.base/term.exp: Call delete_breakpoints before starting.
27625
27626 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
27627 (t10): Add comment.
27628
27629Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27630
27631 Reorganization of the GDB Test Suite.
27632
27633 * gdb.base: New directory, contains all the basic tests.
27634 * gdb.c++: New directory, tests specific to C++.
27635 * gdb.chill: New directory, tests specific to Chill.
27636 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
27637 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
27638 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
27639 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
27640 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
27641 t30-31 to chill).
27642 * */gdbme.*: Rename to match appropriate expect scripts.
27643 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
27644 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
27645 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
27646 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
27647 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
27648 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
27649 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
27650 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
27651 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
27652 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
27653 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
27654 gdb.c++/virtfunc.cc: New names of C++ files.
27655 * gdb.chill/chillvars.ch: New name of Chill file.
27656 * gdb.base/configure.in, gdb.c++/configure.in,
27657 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
27658 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27659 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
27660 * configure.in (configdirs): Update to reflect directory changes.
27661 (target_abbrev): No longer define for any configuration.
27662 * Makefile.in: Cosmetic improvements to header comments.
27663
27664Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
27665
27666 Various changes to gdb.t31:
27667
27668 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
27669 * gdbme.ch: Make all key-words and predefineds be upper-case.
27670 * chillvars.exp: Expect key-words and predefinds in upper-case.
27671
27672 * chillvars.exp: Use gdb_test_exact many places.
27673 Change expected output for arrays (which now includes index labels).
27674
27675 * pr-5020.exp, gdme.ch (module PR_5020):
27676 New test, for PR-5020.
27677
27678Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
27679
27680 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
27681 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
27682
27683Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
27684
27685 * Makefile.in: Fix bit-rot in definitions of CHILL,
27686 CHILL_FOR_TARGET and Chill_LIB.
27687 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
27688 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
27689 CHILL, and CHILL_LIB.
27690
27691Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
27692
27693 * Revert the previous changes. Please see Rob's directory
27694 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
27695
27696Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
27697
27698 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
27699 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
27700 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
27701 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
27702 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
27703 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
27704 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
27705 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
27706 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
27707 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
27708 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
27709 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
27710 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
27711 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
27712 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
27713 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
27714 changes from 94Q1.
27715
27716Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
27717
27718 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
27719 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
27720 Rob's new testing fragments.
27721
27722Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
27723
27724 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 27725 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
27726
27727Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27728
27729 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
27730 version also, match on casted version strings, and match on
27731 gdb startup case where the line numbers might be messed up.
27732
27733Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
27734
27735 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 27736 (CFLAGS): Delete it from here.
c906108c
SS
27737
27738Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
27739
27740 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
27741
27742Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
27743
27744 * Makefile.in (RUNTEST): Default to just "runtest".
27745
27746Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27747
27748 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
27749 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
27750 the code has been restructured.
27751
27752Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27753
27754 * gdb.t00/default.exp (set write): Allow any number of \r and/or
27755 \n, not just one of each.
27756
27757 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
27758 /bin/cc gives a warning if you do.
27759
27760Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
27761
d63a86f8 27762 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
27763 __t10ListS_link1ZUiRCUiPT0
27764
27765Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27766
27767 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
27768 on local variables in recursive functions.
27769
27770 * gdb.t07/Makefile.in: Build the new test.
27771
27772Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27773
27774 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
27775 directly. Instead compare the return values from actual calls.
27776
27777Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
27778
27779 * Makefile.in (check): Set TCL_LIBRARY for runtest.
27780
27781Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27782
27783 * From Peter Schauer with minor modifications.
a9c64011
AS
27784 * gdb.t15/return.exp (return_tests): Handle targets where "return"
27785 stops in mid-line in the caller. Add xfail for returning a float
27786 value on X86 targets.
c906108c
SS
27787
27788Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27789
27790 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
27791 to avoid expect lossage.
27792 (fmem_LRbug_tests): Likewise.
27793 * gdb.disasm/hppa.s: Corresponding changes.
27794
27795 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
27796 conditions to work with latest dejagnu/expect.
27797
27798 * gdb.t15/funcargs.exp (finish from indirect call): No longer
27799 expected to fail on the PA.
27800 (backtrace in call with trampolines): Explicitly require main
27801 to be frame #1 (no trampolines should show up in backtrace).
27802
27803 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
27804 "continue -expect".
27805 * gdb.t06/break.exp: Likewise.
27806 * gdb.t07/watchpoint.exp: Likewise.
27807 * gdb.t13/bitfields.exp: Likewise.
27808 * gdb.t15/{funcargs,return}.exp: Likewise.
27809 * gdb.stabs/weird.exp: Likewise.
27810 * config/{mips,udi}-gdb.exp: Likewise.
27811
27812 * hppa.sed: Enclose comments within a sed command to avoid
27813 losing with the old OSF1 sed.
27814
27815Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27816
27817 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
27818 sequent dynix.
27819 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
27820 * gdb.t15/funcargs.exp: Conditionally step again to really
27821 finish from marker_call_with_trampolines. Handle the case where
27822 the first step from within call_with_trampolines already steps
27823 us back to main.
27824 * gdb.t15/gdbme.c: Add comment to closing brace of
27825 call_with_trampolines for funcargs.exp.
27826
27827Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27828
d63a86f8 27829 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
27830 Fix typo(s).
27831
27832Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27833
27834 * gdb.t07/gdbme.c: More code for watchpoint testing.
27835
27836 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
27837 "Hardware watchpoint" throughout file.
27838 (test_watchpoint_triggered_in_syscall): New test.
27839 (test_complex_watchpoint): New test.
27840
27841Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27842
27843 * gdbme.c (call_with_trampolines): New function to try and step
27844 into. Tests trampoline problems on the PA.
27845
27846 * funcargs.exp (localvars_in_indirect_call): No longer expect
27847 stepping into indirect call to fail on PAs.
27848 (test_stepping_over_trampolines): New test.
27849
27850Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27851
27852 * TODO: Add suggestions for static member function tests, and
27853 completion tests.
27854
27855Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27856
27857 * TODO: Add suggestions for "p/a" tests.
27858
27859 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
27860 (default_gdb_exit): Replace all the hair with sending "quit" to
27861 the process with a simple close.
27862
27863Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27864
27865 * TODO: Add suggestions for shared library tests.
27866
27867Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27868
27869 * TODO: Add suggestions for x/s tests.
27870
27871Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27872
27873 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
27874 "enable once", and "enable breakpoints once" with ".*".
27875
27876Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27877
27878 * TODO: Add suggestions about structure passing tests.
27879
27880Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27881
27882 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
27883 the primary1 test, use work around if __GNUC__ < 2.
27884 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
27885 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
27886 Test for bad output rather than waiting for timeout. Issue
27887 second continue only if first continue failed.
27888
27889Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27890
27891 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
27892 operator[] test with gdb_test because the old code didn't seem to
27893 be getting the quoting right with the new dejagnu.
27894
27895Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
27896
27897 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
27898 one from the path.
27899 * Makefile.in: Use a fresh expect if there is one, use runtest
27900 from the src tree if there is one.
d63a86f8 27901
c906108c
SS
27902Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27903
27904 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
27905 next over recursive call. Revise the tests from that point on
27906 (which had been skipped) to match GDB's actual (correct) output.
27907
27908 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
27909 with next over a breakpoint whose condition is false.
27910
27911 * gdb.t00/help.exp: Comment out "help set print" tests just like
27912 (and for same reason as) "help set" test.
27913
27914Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27915
27916 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
27917 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
27918
27919Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27920
27921 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
27922 necessary gdb_target_udi.
27923
27924 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
27925
27926 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
27927 1838 and 2417; they are fixed.
27928
27929 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
27930 gdb.t03/ptype.exp (ptype structure, ptype union):
27931 Remove xfails; the test is looser than when the xfails were added.
27932
27933 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
27934 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
27935
27936 * gdb.t01/run.exp: Only run shell test if isnative.
27937
27938 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
27939 since "run" automatically loads if necessary. Call gdb_target_udi
27940 after the "file" since "file" kills any execution target.
27941
27942 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
27943 GDB. GDB doesn't work that way (not anymore at least) on UDI.
27944 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
27945 argument for UDI.
27946
27947Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27948
27949 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
27950
27951 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
27952
27953Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27954
27955 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
27956 properly quoting regexps. This makes the second argument to
27957 demangle a fixed string, which matches the callers, instead of a
27958 shell-style pattern which is what the previous implementation
27959 used. Update some of the callers.
27960
27961Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27962
27963 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
27964 (comib_nullified_tests): Fix typo.
27965 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
27966 strings. No longer expected to fail.
27967
27968 * gdb.disasm/hppa.s (addib_tests): Fix typo.
27969 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
27970 strings. No longer expected to fail.
27971
27972 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
27973 string. No longer expected to fail.
27974
27975Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27976
27977 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
27978 No longer expected to fail.
27979
27980 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
27981 string. No longer expected to fail.
27982
27983Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27984
27985 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
27986 only in the names (I probably got most of them). I was even
27987 generous with some which differed in underscores in names, and
27988 probably missed a few, and I *still* was able to remove almost a
27989 third of the file with almost no impact on testsuite coverage.
27990
27991Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27992
27993 * gdb.t00/default.exp: Match udi_attach error message as well as
27994 the one from child_attach.
27995
27996 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
27997
27998 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
27999
28000 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
28001 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
28002
28003 * Move test with enums and partial symbols back to
28004 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
28005 Reverts the change of 26 May 93. Per today's change to
28006 stabs.texinfo, the behavior that weird.exp was expecting was
28007 unreasonable; what is important is that the compiler+gdb get
28008 things right, which happens with a recent gcc. Also fix the test
28009 to deal with native compilers which put out the stab gdb can't
28010 deal with.
28011
28012Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28013
28014 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
28015 in the names. The main thing these accomplish is to slow things down.
28016 Many more such duplicates surely remain.
28017
28018 * gdb.t00/help.exp: Comment out "help support" test just like
28019 (and for same reason as) "help set" test.
28020
28021Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
28022
28023 * gdb.t06/break.exp: Remove setup_xfails for
28024 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
28025 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
28026 about known bug in gcc to include up through 2.5.8.
28027 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
28028 well as "_vb$".
28029 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
28030 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
28031 with latest gcc and gdb.
28032 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
28033 well as "_vb$".
28034
28035Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28036
28037 * configure.in (hppa*-*-*): Also configure and build stabs-only
28038 tests.
28039
28040Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28041
28042 * gdb.t10/hppa.mt: A makefile fragment for the PA.
28043 * gdb.t10/configure.in (hppa*-*-*): Use it.
28044
28045Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28046
28047 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
28048
28049Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28050
28051 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
28052 versions prior to 1.13.5.
28053
28054Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28055
28056 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
28057 the prompt is at the start of a line.
28058
28059Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28060
28061 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
28062 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
28063 in the copr tests now.
28064 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
28065 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
28066 expected to fail.
28067
28068Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
28069
28070 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
28071 gdb.t31/chillvars.exp, lib/gdb.exp:
28072 Tweak to run under either version of expect.
28073 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
28074 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
28075 * gdb.t11/list.exp: Remove extraneous whitespace.
28076
28077Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28078
28079 * gdb.t16/printcmds.exp (test_print_strings): Accept
28080 "(unsigned char *) " before the string.
28081
28082 * TODO: Add notes about printing of fancy types and GDB expressions.
28083
28084Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
28085
28086 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
28087 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 28088 if doing mips-idt-ecoff.
c906108c
SS
28089
28090Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
28091
28092 * Most .exp files: Tweak to run under either version of expect.
28093
28094Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28095
28096 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
28097 xfails; I'm not sure why they are failing, but not because of PR 1806.
28098
28099Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
28100
28101 * config/unix-gdb.exp: Remove gdb_unload cause it's already
28102 defined in lib/gdb.exp.
28103
28104Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28105
28106 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
28107 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
28108 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
28109 have to be typeless.
28110
28111Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28112
28113 * TODO: Add suggestion for copyright year test.
28114
28115Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
28116
28117 * configure.in (*-*-lynxos*): Add stabs tests.
28118
28119Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
28120
28121 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
28122 so insert a tab before any assembler directive in column zero.
28123
28124 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
28125 stores.
28126 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
28127 stores.
28128 (fpu_short_memory_tests): Likewise.
28129
28130Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28131
28132 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
28133 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
28134 .stabs directives in comments.
28135
28136Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28137
28138 * TODO: New file, describing tests we could write.
28139 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
28140
28141Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28142
28143 * gdb.t06/signals.exp: Add kludge to force re-sync.
28144
28145 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
28146 to xgdb instead of gdb, get out of gdb.
28147
28148Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
28149
28150 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
28151 for info.
28152
28153Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
28154
28155 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
28156 * gdb.stabs/configure.in (hppa*-*-*): Use it.
28157 * gdb.stabs/hppa.sed: New sed script for the PA.
28158
28159Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28160
28161 * gdb.stabs: Re-write weird.def and configuration to use sed
28162 instead of cpp. sed is portable and POSIX; cpp is neither.
28163
28164Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28165
28166 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
28167
28168Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28169
28170 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
28171
28172Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28173
28174 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
28175 "_vb$".
28176 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
28177 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
28178
28179Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28180
28181 * lib/gdb.exp: Comment out code which depends on non-existent
28182 `transform' procedure.
28183
28184Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
28185
28186 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
28187 * lib/gdb.exp: Transform tool name.
28188 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
28189 1.1's new error handling system.
28190
28191Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28192
28193 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
28194
28195Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28196
28197 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
28198 They made pattern matching so slow that timeouts happened on
28199 heavily loaded systems. Now any output from "show print" which
28200 gets us back to the GDB prompt is a PASS.
28201
28202Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
28203
28204 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
28205
28206Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28207
28208 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
28209
28210 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
28211 It is not from PR 3220.
28212
28213Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28214
28215 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
28216 just started failing because they depended on the order the
28217 subcommands are presented, or exact docstring text. This kind of
28218 test is a pain and has minimal benefit.
28219
28220Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28221
28222 * gdb.t09/corefile.exp: At end of test, use "core" command with
28223 no arguments.
28224
28225Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
28226
28227 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
28228 17}/Makefile.in: Make it possible to run the testsuite with Sun
28229 make and CC = cross gcc by adding explicit build rules for .o
28230 files.
28231
28232Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28233
28234 * gdb.t15/funcargs.exp: Don't put comments on same line as
28235 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 28236
c906108c
SS
28237Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28238
28239 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
28240
28241Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
28242
28243 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
28244 * gdb.t20/inherit.exp: remove three dumplicate entries.
28245
28246Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28247
28248 * gdb.t06/break.exp: For "next over recursive call", fail on any
28249 incorrect output, not just on "factorial (value=2)".
28250
28251Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28252
28253 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
28254 working now. Add an xfail if accesing a bss variable causes
28255 a memory error if the target is not yet run.
28256
28257Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28258
28259 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
28260 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
28261 name of __st* demangling (2 strings). Did Kung really get the
28262 more than 95 others right without testing them?
28263
28264Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
28265
28266 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
28267
28268Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
28269
28270 * configure.in (configdirs): Add gdb.disasm
28271 * gdb.disasm: New directory for GDB disassembler tests.
28272 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
28273
28274Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28275
28276 * gdb.t00/help.exp: Don't test "help set".
28277
28278 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
28279 from within expect statements. None of these happen anymore and
28280 they cause regressions to be silently unnoticed.
28281
28282 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
28283 messages) about known failures with gcc cygnus-2.4.5-930417.
28284
28285 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
28286 comp-info.exp so it gets built if it doesn't exist.
28287
28288 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
28289 it is no longer used.
28290 * gdb.t13/comp-info.c: Removed.
28291
28292Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28293
28294 * gdb.t06/signals.exp: Add xfail for sun3.
28295
28296Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28297
28298 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
28299 relevant because ^C doesn't get sent but failure can be reproduced
28300 interactively).
28301
28302Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28303
28304 * gdb.stabs/alpha.mt: New configuration file for alpha.
28305 * gdb.stabs/configure.in: Use it.
28306 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
28307 sharing with alpha.mt, redefine long to word via preprocessor.
28308 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
28309 for alpha.
28310 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
28311 native cc.
28312 * gdb.t00/teststrategy.exp: Change expect string so that we
28313 consume the `(xgdb)' from the command echo and from the gdb prompt.
28314 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
28315 gdb currently compares all values as long, so this failure probably
28316 applies to any configuration where LONGEST is bigger than a target int.
28317 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
28318 with gcc.
28319 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
28320 to handle opaque pointers, gcc is.
28321 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
28322 as first argument. Include <sys/types.h> and change all operator
28323 new definitions to use size_t.
28324 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
28325 now that we use size_t.
28326
28327Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28328
a9c64011 28329 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 28330 a long or float array cast all array members to the same type.
a9c64011 28331 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 28332 with 64 bit longs.
a9c64011 28333 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 28334 on alpha.
a9c64011 28335 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
28336
28337Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28338
28339 * gdb.t24 (demangle.exp): Constructors of templates have names like
28340 vector<int>::vector(int) not vector<int>::vector<int>(int). See
28341 section 14.6 of the ARM.
28342
28343 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
28344 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
28345 accomplish little and slow down the testsuite.
28346
28347 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
28348 Accept spaces various places.
28349
28350Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28351
28352 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
28353 with watchpoint enabled.
28354
28355 * Makefile.in: Remove definition of CC and remove the second
28356 definition of CXX (the "CXX = gcc" one remains). These definitions
28357 were causing backquotes to be expanded within backquotes, which
28358 doesn't work.
28359
28360Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
28361
28362 * gdb.t17/callfuncs.exp: Add "return 0" to end.
28363
28364Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28365
a9c64011
AS
28366 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
28367 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
28368 by mips cc and contains no stabs entries.
28369
28370Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
28371
28372 * config/vx-gdb.exp: Use fake device to load files rather than
28373 NFS.
28374 * lib/gdb.exp: New proc to do "file" command.
28375 * config/unix-gdb.exp: Use new "file" proc.
28376
28377Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
28378
28379 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
28380 Rework board rebooting slightly.
28381 (gdb_exit): Don't exit from the remote shell; there isn't one.
28382 * gdb.stabs/weird.exp: If a program is being debugged already,
28383 kill it.
28384 * gdb.t04/setvar.exp: Stop and restart gdb.
28385 * gdb.t05/expr.exp: Likewise.
28386 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
28387 restart gdb and reload the program.
28388 * gdb.t08/opaque.exp: Likewise.
28389 * gdb.t12/scope.exp: Likewise.
28390 * gdb.t13/bitfields.exp: Likewise.
28391 * gdb.t15/funcargs.exp: Likewise.
28392 * gdb.t20/classes.exp: Likewise.
28393 * gdb.t03/ptype.exp: Increase timeout.
28394 * gdb.t16/printcmds.exp (test_print_string_constants,
28395 test_print_array_constants): Likewise.
28396 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
28397 * gdb.t20/classes.exp (do_tests): Likewise.
28398 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
28399
28400Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
28401
28402 * gdb.stabs: Renamed *wierd* to *weird*.
28403
28404Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28405
28406 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
28407 for timeout. Add "known gcc 2.4.5 bug" to failure message.
28408
28409Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28410
28411 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
28412 (do_tests): Remove xfail for whatis on one_var and two_var.
28413
28414Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
28415
28416 * Makefile.in: Made cross building work better by adding
28417 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
28418
28419Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28420
28421 * gdb.t15/{return.c,return.exp,Makefile.in}:
28422 New test, currently commented out.
28423
28424Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
28425
28426 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
28427 still running and removes the leftover named socket so GDb can do
28428 clean restarts.
28429
28430Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
28431
28432 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
28433 console, not GDB.
28434 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
28435 cross testing works better with "make check"
28436 * config/unix-gdb: Use default procedures for exit and version.
28437 * config/vx-gdb.exp: Cleaned up and massaged back to working order
28438 with the newest VxWorks.
28439
28440Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28441
28442 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
28443 old form.
28444
28445 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
28446 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
28447
28448 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
28449
28450 * config/unix-gdb.exp: Remove this version of gdb_exit
28451 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
28452 Rob says he'll look at it when he gets back to testing boards.
28453
28454Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
28455
28456 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
28457 an expected fail for certain ptype commands.
28458
28459 * gdb.t20/classes.exp: Update expected results of "ptype class
28460 Base1" to account for the constructor that now appears in the type.
28461
28462Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
28463
28464 * configure.in (configdirs): Restore gdb.t04, which mysteriously
28465 disappeared from list.
28466 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
28467 "alldone" proc with call to cleanup and exit.
28468 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
28469 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
28470 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
28471 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
28472 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
28473 "alldone" proc with simple returns that suppress remaining
28474 tests. The alldone proc went away many months ago.
28475
28476Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28477
28478 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
28479
28480 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
28481
28482Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28483
28484 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
28485 as vax gdb will display them.
28486
28487Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28488
28489 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
28490 optimizers.
28491
28492 * scope.exp: Change "bad value for localval" messages so each one
28493 is unique.
28494
28495 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
28496 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
28497
28498 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
28499
28500Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28501
28502 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
28503 doesn't exist (due to optimization).
28504
28505Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28506
28507 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
28508 contains \r because the filename is long.
28509
28510 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
28511 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
28512
28513Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28514
28515 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
28516 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
28517 Ultrix.
28518 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
28519 int tests.
28520 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
28521
28522Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
28523
28524 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
28525
28526 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 28527 to match does not match the passing case but still matches the
c906108c
SS
28528 failing case.
28529
28530Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28531
28532 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
28533
28534Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
28535
28536 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
28537 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
28538 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
28539 Remove various versions of gdb_exit.
28540 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
28541 gdb_exit.
28542 * config/unix-gdb.exp: gdb_exit remains here, and should override
28543 the generic version, since it's doing a lot of wierd stuff that
28544 the other versions aren't. FIXME, fold it in, or abandon this
28545 version.
28546
28547Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28548
28549 * gdb.t24/demangle.exp: Add tests for PR 3220.
28550
28551Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28552
28553 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
28554
28555Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
28556
28557 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
28558 "i386-*-*". Works for i486 as well.
28559
28560 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
28561 bug, and expand domain of xfail to all SVR4 systems, since the
28562 actual problem is likely to be in generic SVR4 /proc support.
28563
28564Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28565
28566 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
28567
28568Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
28569
28570 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
28571 xfails for other systems. Match a missing 'Continuing.' as an
28572 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
28573
28574 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
28575 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
28576 Only issue warning for missing executables if -all option is used.
28577
28578 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
28579 file if -all option is used. It's like an unpredictable XFAIL.
28580
28581Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28582
28583 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
28584 for dynamically linked binaries.
28585
28586 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
28587
28588Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28589
28590 * gdb.t20/inherit.exp: Change message for "print tagless struct"
28591 to state that this is a known bug in old versions of g++.
28592
28593Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28594
28595 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
28596 while waiting for `Continuing'.
28597
28598Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
28599
28600 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
28601 in text, data, and bss.
28602 * gdb.t10/nodebug.c: Add local and global test variables for
28603 initialized and uninitialized data.
28604
28605Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28606
28607 * config/unix-gdb.exp (gdb_exit): Add "wait".
28608
28609Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28610
28611 * gdb.t06/signals.exp: xfail the continue from the handler for all
28612 targets.
28613
28614 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
28615 function with watchpoints enabled, the i386 call dummy starts with
28616 a call.
28617
28618 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
28619 386 bsd names its corefiles.
28620
28621Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
28622
28623 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
28624 compilers don't grok it.
28625 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
28626 with small octal ints rather than character constants, which
28627 are signed and might not fit if first promoted to int.
28628
28629Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
28630
28631 * gdb.t09/Makefile.in (clean): Remove corefile.
28632
28633Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28634
28635 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
28636
28637Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28638 and Jim Kingdon (kingdon@cygnus.com)
28639
28640 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
28641 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
28642 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
28643
28644Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28645
28646 * gdb.t17/interrupt.exp: Add xfail for hppa.
28647
28648Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28649
28650 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
28651 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
28652 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
28653 to determine signed-ness of bitfields and use the result to setup
28654 the xfail.
28655 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
28656 * gdb.t15/funcargs.exp: Use them to step until the second indirect
28657 call line is reached if necessary.
28658
28659Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28660
28661 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
28662
28663Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28664
28665 * gdb.t06/break.exp: Also test `clear' command.
28666
28667Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28668
28669 * gdb.t00/teststrategy.exp: Remove extra quote.
28670
28671 * gdb.t07/watchpoint.exp: Change xfail for calling function with
28672 watchpoint enabled to be for all non-68k machines.
28673
28674 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
28675
28676Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28677
28678 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
28679 targets use aout.mt instead of ecoff.mt as gas understands
28680 standard aout format.
28681
28682Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28683
28684 * lib/gdb.exp (runto): Don't insist that function we are running to
28685 was compiled with -g.
28686
28687 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
28688
28689 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
28690 to get back into the read system call.
28691 Accept leading newline in case where we woke it up.
28692
28693Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28694
28695 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
28696 to make the stabs test work on ecoff systems using gcc and -with-stabs.
28697 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
28698 enable ecoff configuration.
28699
28700Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28701
28702 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
28703
28704Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28705
28706 * gdb.t16/printcmds.exp: Add another printf test.
28707
28708Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
28709
28710 * configure.in: If configured -with-stabs on any target, add
28711 stabsdirs to configdirs.
28712
28713Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28714
28715 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
28716 fun" so pattern does not match the command itself.
28717
28718Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28719
28720 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
28721
28722Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28723
28724 * gdb.t17/interrupt.exp: Test for more things.
28725
28726Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28727
28728 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
28729 compiler arranges the code and line numbers.
28730
28731 * gdb.t17/interrupt.exp: Don't send \n after ^C.
28732
28733Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28734
28735 * gdb.t00/help.exp: Increase expect input buffer size.
28736
28737Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28738
28739 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
28740
28741 * gdb.t07/watchpoint.exp: Add xfail for hppa.
28742
28743 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
28744
28745 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
28746 [0-9]*, not just [0-9].
28747
28748Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28749
28750 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
28751
28752 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
28753
28754Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28755
28756 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
28757
28758Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28759
28760 * gdb.t06/signals.c: Add xfails for sun3.
28761
28762 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
28763
28764 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
28765 test_stepping tests.
28766
28767Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28768
28769 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
28770
28771 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
28772
28773 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
28774 rather than actually putting it through cpp twice.
28775
28776 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
28777
28778Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
28779
28780 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
28781 no longer needed.
28782
28783Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28784
28785 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
28786
28787 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
28788 C++ features prints as "struct", make it a pass, not an xfail.
28789
28790Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28791
28792 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
28793 Don't require VA to print as "class" rather than "struct".
28794
28795Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
28796
28797 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
28798
28799Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28800
28801 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
28802
28803Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28804
28805 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
28806 order.
28807
28808Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28809
28810 * gdb.t16/printcmds.exp: Add printf tests.
28811
28812 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
28813
28814 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
28815
28816Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
28817
28818 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
28819 pass counts, to counteract any existing or future setup_xfails.
28820
28821Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28822
28823 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
28824 {BEGIN,END}_COMMON for common block instead of STAB.
28825 * gdb.stabs/wierd.exp: Add xfail for rs6000.
28826
28827 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
28828 intp_var should be N_GSYM not N_LSYM.
28829 wierd-aout.S: Use a label for the value of the N_SO.
28830 wierd.def: Remove all backslashes.
28831 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
28832
28833Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28834
28835 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
28836 get the expected next to inheritance3.
28837
28838Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28839
28840 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
28841 now that gcc-2.4 gets it right.
28842
28843Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28844
28845 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
28846
28847 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
28848 generating comp-info.exp which works for cross-compilation.
28849
28850Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
28851
28852 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
28853 "*-*-sysv4.*".
28854
28855Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
28856
28857 * gdb.t01/run.exp: Start with a fresh gdb.
28858 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
28859 SVR4.x.
28860
28861Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
28862
28863 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
28864 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
28865 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
28866 Makefile.in (distclean, realclean): Remove gdbme.c from list of
28867 things to remove.
28868
28869Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
28870
28871 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
28872 test cases from bug reports.
28873
28874Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
28875
28876 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
28877 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
28878 avoid spurious xfails.
28879 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
28880 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
28881 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
28882
28883Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
28884
28885 * gdb.t00/teststrategy.exp: Rework to provide more useful
28886 description of each test, fix problem with systems that define
28887 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
28888 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
28889 results for "next over recursive call" so timeouts aren't taken
28890 by error.
28891
28892Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
28893
28894 * gdb.t12/scope.exp: Test printing of variables before run.
28895
28896 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
28897 printed in wrong order due to sorting.
28898
28899Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
28900
28901 * gdb.t00/teststrategy.exp: Fix expected results for printing
28902 user entered string constant. Is array of char, prints with no
28903 address.
28904
28905 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
28906 commands.
28907 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
28908 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
28909 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
28910 of struct of char arrays.
28911 * gdb.t00/radix.exp: New tests for radix commands.
28912
28913Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
28914
28915 * gdb.t16/printcmd.exp: Print a variable before running program
28916 (with xfail for AIX).
28917
28918Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
28919
28920 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
28921
28922 * gdb.t16/printcmd.exp: Don't print variables before running program.
28923
28924 * gdb.t06/break.exp: Don't require envp argument to main.
28925
28926 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
28927
28928 * gdb.t02/whatis.exp, gdb.t11/list.exp:
28929 Add xfails for rs6000.
28930
28931 * gdb.t02/whatis.exp: Change other tests not to re-test something
28932 we already tested.
28933
28934 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
28935 each type used has a variable of that type.
28936
28937Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
28938
28939 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
28940
28941Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
28942
28943 * configure.in: change srctrigger to be a file, not a directory
28944
28945Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
28946
28947 * configure.in (mips-idt-ecoff*): Added trailing '*'.
28948
28949 * gdb.t11/list.exp: Fixed a couple of typos.
28950
28951Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
28952
28953 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
28954 is fixed and PR is closed.
28955 * gdb.t16 (gdbme.c): Add simple test string variable.
28956 * gdb.t16 (printcmds.exp): Add tests with simple test string
28957 variable, primarily for boundaries on "set print elements".
28958
28959Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
28960
28961 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
28962 Make leading 0's optional and don't expect a tab in the middle
28963 of the number.
28964
28965 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
28966
28967 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
28968 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
28969 don't end command passed to gdb_test with newline.
28970
28971 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
28972 signed keyword away, don't expect signed bitfields to be signed.
28973
28974 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
28975 printing with only as many 1's as are in the field as well as printing
28976 with 32 1's (see comment).
28977
28978Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
28979
28980 * gdb.t00/default.exp: Start with a fresh gdb.
28981 * configure.in (configdirs): Remove gdb.t31 until the chill
28982 compiler works again. It no longer is able to find chillrt0
28983 since it isn't in libchill.a anymore.
28984 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
28985 wierd.o, make more modular.
28986 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
28987 spurious newlines that caused problems.
28988
28989Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28990
28991 * Move test with enums and partial symbols from gdb.t03/ptype.exp
28992 to gdb.stabs/wierd.exp since GCC has worked around the bug.
28993 gdb.stabs/wierd.{exp,def}: Many new tests.
28994
28995 * gdb.t00/default.exp: update info line for new message.
28996
28997 * gdb.t02/{whatis.exp,gdbme.c}:
28998 Test that "char *" doesn't print as "caddr_t".
28999
29000Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29001
29002 * gdb.t00/help.exp: Use .* in place of some help messages which
29003 just changed.
29004 gdb.t00/default.exp: Update "info frame" test for new message.
29005 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
29006 Remove some xfails
29007
29008Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29009
29010 * gdb.t03/{gdbme.c,ptype.exp}:
29011 Add tests for typedef'd struct and union without tags.
29012 Also check "whatis" on a variable of a typedef'd enum without a tag.
29013
29014 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
29015 PRMS 1823; the bug still exists but isn't reproduced by this test
29016 anymore), and remove rs6000 XFAIL (the bug is fixed).
29017
29018 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
29019 duplicated from whatis.exp. For those that are left, accept
29020 "long", "long int", or "int" for long variables (whatis.exp already
29021 has an XFAIL for "int", so no need to fail it here).
29022
29023 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
29024 Deal with GCC's names for types now that GDB uses the compiler's names.
29025
29026 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
29027 setup_xfail's for sunos4. If we #defined the signed keyword away,
29028 don't expect GDB to know that char it is signed.
29029
29030 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
29031
29032Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
29033
29034 * configure.in (configdirs): Add gdb.t24 for C++ tests that
29035 should work on any system, regardless of debugging format.
29036 * gdb.t21/demangle.exp: Move to gdb.t24.
29037 * gdb.t24/demangle.exp: Move from gdb.t21.
29038 * gdb.t24/{Makefile.in, configure.in}: New files.
29039
29040Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29041
29042 * configure.in: Do gdb.stabs and C++ tests only for stabs.
29043 * gdb.stabs: New directory.
29044
29045Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29046
29047 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
29048 not just "Quit anyway?".
29049
29050Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
29051
29052 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
29053 that all setup_xfails are immediately followed by clear_xfails.
29054
29055Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
29056
29057 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
29058 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
29059 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
29060 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
29061 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
29062 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
29063 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
29064 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
29065 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
29066 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
29067 gdb.t31/chillvars.exp, lib/gdb.exp:
29068 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
29069 bug-gdb@prep.ai.mit.edu.
29070
29071Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
29072
29073 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
29074 with 0.0, not integer 0.
29075
29076Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
29077
29078 * gdb.t06/break.exp: Update for "Kill the program" message change.
29079
29080Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
29081
29082 * Makefile.in (GDBFLAGS): Set to -nx.
29083 * Makefile.in (site.exp): Use GDBFLAGS.
29084
29085Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
29086
29087 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
29088 Makefiles.
29089 (check): depend on just-check.
29090 (just-check): added so that tests can be run without a noop
29091 build pass.
29092
29093Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
29094
29095 Switch to using configure's configdirs.
29096 * Makefile.in (Makefile): add configure.in dependency.
29097 (SUBDIRS): removed redundant assignment.
29098 * configure.in: switch subdirs assignment to configdirs.
29099 * gdb.t*/configure.in: new files.
29100
29101Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
29102
29103 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
29104 works.
29105
29106Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
29107
29108 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
29109 in explicit rules. Apparently this is not supported by some makes.
29110
29111Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
29112
29113 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
29114
29115Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29116
29117 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
29118 disappeared.
29119
29120Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
29121
29122 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
29123
29124Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
29125
29126 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
29127 watchpoint problem that is now fixed.
29128 * gdb.t30/chexp.exp: Remove setup_xfail for printing
29129 uninitialized convenience variables.
29130 * gdb.t31/chillvars.exp: Fix expected patterns for printing
29131 structures.
29132
29133Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29134
29135 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
29136 which causes expect to get out of sync with gdb on long output
29137 from help set.
29138 * gdb.t09/corefile.exp: Make expected pattern for core file
29139 failing signal and frame output format less sun specific.
29140
29141Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
29142
29143 * gdb.t31/chillvars.exp: Add and remove initial dummy
29144 breakpoint, so that symbol table is forced in.
29145 (Needed at least on Sunos4, though it seems not SVR4.)
29146 * gdb.t31/chillvars.exp: Update for changed output format.
29147
29148Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
29149
a9c64011 29150 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
29151
29152Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
29153
29154 * Makefile.in: Added --srcdir when invoking runtest, removed the
29155 need for a local config file. (optional now)
29156
29157Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
29158
29159 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
29160 failure count used to force early termination. Add some more
29161 expected failures for gnu style demangling.
29162
29163Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29164
29165 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
29166 pmi variable from gdb.t20/gdbme to get optimized away.
29167 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
29168 Check for written corefile upon timeout _and_ eof.
29169
29170Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29171
29172 * config/unix-gdb.exp: Add missing return 0.
29173
29174Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29175
29176 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
29177 test termination.
29178
29179Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
29180
29181 * configure.in (subdirs): Put back gdb.t17 which mysteriously
29182 disappeared.
29183
29184Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
29185
29186 * gdb.t10/crossload.exp: Disable the i860-elf test until such
29187 time as i860 support works.
29188
d63a86f8 29189 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
29190 "backtrace 100\r" rather than just "backtrace\r", to match last
29191 change.
29192
29193Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
29194
29195 * config/udi-gdb.exp (gdb_exit): Remove close command.
29196 (gdb_target_udi): New procedure to set the UDI target.
29197 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
29198 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
29199 Added waits for prompts after several question responses. Added
29200 some more responses used by a29k-amd-udi-gdb.
29201 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
29202 pass different arguments, restart UDI connection after program
29203 completion.
29204 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
29205 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
29206 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
29207 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
29208 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
29209 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
29210 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
29211 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
29212 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
29213 after program completion.
29214 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
29215 compiled with a SELECT_VECS setting.
29216 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
29217 infinite recursion.
29218
29219 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
29220 Added checks for COFF results, and made them expected failures for
29221 all targets. It would be better to make them expected failures
29222 for COFF targets only.
29223
29224Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
29225
29226 * Makefile.in: add null dvi target, don't bother to recurse
29227 through test directories for info and install-info; rename
29228 $(datadir) to be dejagnu instead of deja-gnu
29229
29230Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
29231
29232 * gdb.t31/gdbme.ch: Re-enable code that previously caused
29233 compiler to coredump.
29234 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
29235 code.
29236
29237Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
29238
29239 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
29240 coredump.
29241 * gdb.t31/chillvars.exp: Comment out tests that depend on that
29242 code.
29243
29244Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
29245
29246 * gdb.t03/ptype.exp: tests for return code from gdb_test.
29247 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
29248 which in a shell. Deletes xgdb when done.
29249 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
29250 Tests the return from the "set height" or "set width" commands.
29251 Added a few return codes where needed.
29252
29253Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
29254
29255 * Makefile.in (SUBDIRS): Add gdb.t17.
29256 * configure.in (subdirs): Add gdb.t17.
29257 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
29258 files to test gdb's calling of functions in the inferior with
29259 the correct arguments and gdb's ability to retrieve any
29260 result returned.
29261
29262Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
29263
29264 * config/unix-gdb.exp (gdb_exit): Remove close commands that
29265 may be called after gdb goes away. Previous versions of expect
29266 needed these to avoid file descriptor leaks, but they cause
29267 errors with the current revision of expect.
29268 * gdb.t00/gdbvars.exp: Use -re on expected output after
29269 setting sevenbit-strings.
29270 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
29271 to set sevenbit-strings consistent across tests.
29272 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
29273 set sevenbit-strings consistent across tests.
29274
29275Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
29276
29277 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
29278 expected output to match current "expect" expectations.
29279
29280Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
29281
29282 * gdb.t00/default.exp: Change expected output for default "source"
29283 command, to match new gdb behavior which requires a filename to
29284 source.
29285
29286Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
29287
29288 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
29289 expected fail for i486-*-* that misses the marker2 function.
29290 * gdb.t10/crossload.exp (bfddefault): Allow successful
29291 recognition of a format to pass even if no symbols are found.
29292 Explicitly catch failures where the format is not recognized
29293 or is ambiguous, and add the reason to the fail message.
29294 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
29295 the cause is and invalid target and add reason to failure message.
29296 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
29297 elf32-i386, elf32-sparc, and elf32-i860.
29298 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
29299 Set up expected failure for 'filename'::variable scope resolution,
29300 which is now apparently broken on all targets.
29301 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
29302 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
29303 gdb.t23/templates.exp: Change failure for missing binfile into
29304 just a warning.
29305 gdb.t21/demangle.exp: Change all cfront references to 'arm'
29306 references.
29307
29308Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
29309
29310 * gdb.t00/default.exp: Add expected output for default "source"
29311 command, to match new gdb behavior.
29312 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
29313
29314Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
29315
29316 * config/*-gdb.exp: returns an error, rather than exiting on
29317 internal errors.
29318
29319Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
29320
29321 * gdb.t03/gdbme.c: Add pointer to struct variable.
29322 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
29323 referencing struct members.
29324
29325Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
29326
29327 * configure.in (mips-idt-ecoff): New target.
29328 * config/mips-gdb.exp: New file for remote board using MIPS remote
29329 debugging protocol.
29330
29331 * Redid configuration scheme. Removed gdb.t*/configure.in.
29332 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
29333 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
29334 distclean targets. Built executables via .o files. Adjusted
29335 tests to account for source files in $(srcdir) rather than
29336 $(objdir).
29337 * lib/gdb.exp (runto): Don't expect () after the function name,
29338 because it may have arguments.
29339
29340Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
29341
29342 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
29343 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
29344 expected failures for mips-idt-* and mips-sgi-*.
29345 * gdb.t00/default.exp (attach): Kill process if requested.
29346 * gdb.t00/help.exp (help target core, help target): Accept a gdb
29347 that does not read core files.
29348 * gdb.t01/run.exp: Removed checks for exit status code.
29349 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
29350 it is linked in.
29351 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
29352 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
29353 appropriate, rather than doing it by hand.
29354 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
29355 execution.
29356 * gdb.t10/crossload.exp: Kill existing program if needed.
29357 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
29358 appropriate, rather than doing it by hand. Always increase
29359 timeout for this test, not just for VxWorks.
29360
29361Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
29362
29363 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
29364 of Chill STRUCT types and STRUCT values.
29365 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
29366 than "char".
29367 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 29368 struct2): New struct definitions and initializations to test
c906108c
SS
29369 simple Chill STRUCT types.
29370
29371Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
29372
29373 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
29374 the null byte at the end of strings.
29375 * gdb.t00/default.exp: Make show version insensitive to copyright
29376 date.
29377 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
29378 to avoid dependencies on target char signedness.
29379 * gdb.t16/printcmds.exp: Update expected results for explicitly
29380 unsigned char.
29381 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
29382 now work.
29383 * gdb.t21/demangle.exp: Add many more patterns for template
29384 demangling, most of them being expected failures.
29385 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
29386 string we are matching for, to match on the whole string.
29387 * gdb.t21/demangle.exp: Add many new test strings to demangle,
29388 and fix a whole bunch that had incorrect expected output but were
29389 passing anyway because of the bug in "proc demangle".
29390 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
29391 type.
29392 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
29393
29394Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
29395
a9c64011
AS
29396 * gdb/testsuite: made modifications to testcases, etc., to allow
29397 them to work properly given the reorganization of deja-gnu and the
29398 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
29399
29400Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
29401
29402 * gdb/testsuite: Initial creation of gdb/testsuite.
29403 Migrated dejagnu testcases and support files for testing nm to
29404 gdb/testsuite from deja-gnu. These files were moved "as is"
29405 with no modifications. This migration is part of a major overhaul
29406 of dejagnu. The modifications to these testcases, etc., which
29407 will allow them to work with the new version of dejagnu will be
29408 made in a future update.
48efe704 29409
8d8cb839 29410 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 29411\f
8d8cb839
EZ
29412;; Local Variables:
29413;; mode: change-log
29414;; left-margin: 8
29415;; fill-column: 74
29416;; version-control: never
29417;; End:
902f2ccb 29418
0b302171 29419 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
29420 Copying and distribution of this file, with or without modification,
29421 are permitted provided the copyright notice and this notice are preserved.