]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR 15519
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
69fc87c2
DE
12013-06-05 Doug Evans <dje@google.com>
2 Keith Seitz <keiths@redhat.com>
3
4 * gdb.cp/derivation2.cc: New file.
5 * gdb.cp/derivation.cc (main): Call foo2.
6 * gdb.cp/derivation.exp: Add tests for typedefs in another
7 file, and when there's an active block.
8
f993f39e
LM
92013-06-05 Luis Machado <lgustavo@codesourcery.com>
10
11 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
12 from targets that use function descriptors in the virtual tables.
13 Handle presence of dot symbols.
14
afacd7f3
GB
152013-06-04 Gary Benson <gbenson@redhat.com>
16
17 * gdb.base/break-probes.exp: New file.
18 * gdb.base/break-probes.c: Likewise.
19 * gdb.base/break-probes-solib.c: Likewise.
20 * gdb.base/info-shared.exp: New file.
21 * gdb.base/info-shared.c: Likewise.
22 * gdb.base/info-shared-solib1.c: Likewise.
23 * gdb.base/info-shared-solib2.c: Likewise.
24
a29a3fb7
GB
252013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
26 Gary Benson <gbenson@redhat.com>
27
28 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
29 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
30 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
31 to be set to "no" to indicate that no ld.so copy should be made.
32 * gdb.base/break-interp.exp (solib_bp): New constant.
33 (reach_1): Use the above instead of "_dl_debug_state".
34 (test_attach): Likewise.
35 (test_ld): Likewise.
36 * gdb.threads/dlopen-libpthread.exp: New file.
37 * gdb.threads/dlopen-libpthread.c: Likewise.
38 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
39 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
40
62a813cc
YQ
412013-05-30 Yao Qi <yao@codesourcery.com>
42
43 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
44 Add a test that no MI notification is emitted when executing
45 -exec-arguments.
46
8f56dad4
JK
472013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
48
49 PR testsuite/12649
50 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
51 $mi_gdb_prompt expectation by mi_expect_stop.
52 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
53 (mi info dprintf second time): Replace them by mi_send_resuming_command
54 and mi_expect_stop.
55
c588eb20
GB
562013-05-24 Gary Benson <gbenson@redhat.com>
57
58 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
59 backslash.
60 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
61 backslashes.
62 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
63 backslash.
64
c0ea94eb
YQ
652013-05-24 Yao Qi <yao@codesourcery.com>
66
67 * gdb.trace/tfile.exp: Test inferior and thread.
68
db1ac436
YQ
692013-05-24 Yao Qi <yao@codesourcery.com>
70 Pedro Alves <palves@redhat.com>
71
72 * gdb.base/range-stepping.exp: Skip the rest of tests if the
73 test fails.
74 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
75 Return 0 if the test passes, otherwise return 1.
76
b6abb10c
DE
772013-05-23 Doug Evans <dje@google.com>
78
79 * boards/fission-dwp.exp: New file.
80
bc5065a7
PA
812013-05-23 Yao Qi <yao@codesourcery.com>
82 Pedro Alves <palves@redhat.com>
83
84 * gdb.base/range-stepping.c: New file.
85 * gdb.base/range-stepping.exp: New file.
86 * gdb.trace/range-stepping.c: New file.
87 * gdb.trace/range-stepping.exp: New file.
88 * lib/range-stepping-support.exp: New file.
89
5f2e6b00
TT
902013-05-22 Tom Tromey <tromey@redhat.com>
91
92 * gdb.cp/class2.cc (main): New local 'aref'.
93 * gdb.cp/class2.exp: Check printing of 'aref'.
94
e6ba475a
DE
952013-05-22 Doug Evans <dje@google.com>
96
97 * gdb.threads/wp-replication.c (main): Insert some code at the start
98 to ensure the breakpoint on main is only hit once. Fix comment.
99
52c935b6
KS
1002013-05-21 Keith Seitz <keiths@redhat.com>
101 Pedro Alves <palves@redhat.com>
102
103 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
104 gdb_expect.
105 Add test to flush the remaining input buffer so that this
106 file passes testsuite/12649.
107
bd9673a4
PW
1082013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
109
110 * gdb.base/catch-signal-fork.exp: New file.
111 * gdb.base/catch-signal-fork.c: New file.
112
69a97597
SA
1132013-05-21 Sterling Augustine <saugustine@google.com>
114
115 * boards/remote-stdio-gdbserver.exp: New file.
116
44e97363
JK
1172013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
118
119 PR testsuite/12649
120 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
121 racy matches.
122
02392865
CG
1232013-05-21 Christian Groessler <chris@groessler.org>
124
125 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
126 since it's not supported in all shells.
127
c5867ab6
HZ
1282013-05-21 Hui Zhu <hui@codesourcery.com>
129
130 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
131 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
132
6c9e2db4
DE
1332013-05-20 Doug Evans <dje@google.com>
134
135 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
136 (_handle_DW_TAG): Use it.
137 (cu, tu): Replace parameters is_64, version, addr_size with options.
138 All callers updated. Add Fission support.
139 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
140 * gdb.dwarf2/method-ptr.exp: Ditto.
141 * gdb.dwarf2/nostaticblock.exp: Ditto.
142 * gdb.dwarf2/subrange.exp: Ditto.
143 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
144
4a6e676c
TT
1452013-05-20 Tom Tromey <tromey@redhat.com>
146
147 * gdb.gdb/python-selftest.exp: New file.
148
e19d3afb
DE
1492013-05-20 Doug Evans <dje@google.com>
150
151 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
152 -fdebug-types-section.
153
4d804846
JB
1542013-05-20 Joel Brobecker <brobecker@adacore.com>
155
156 * gdb.ada/float_param: New testcase.
157
8d324e83
DE
1582013-05-17 Doug Evans <dje@google.com>
159
7d0c9981
DE
160 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
161 Add tests for "maint check-symtabs", "maint expand-symtabs".
162
8d324e83
DE
163 * gdb.base/maint.exp: Remove testing of individual maint command
164 help output.
165
177aadc4
PA
1662013-05-16 Pedro Alves <palves@redhat.com>
167
168 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
169 comment. Use gdb_test_no_output.
170
b8fea896
JB
1712013-05-16 Joel Brobecker <brobecker@adacore.com>
172
173 * gdb.ada/complete.exp: Add test verifying completion using
174 the "tab" key.
175
52c935b6
KS
1762013-05-15 Keith Seitz <keiths@redhat.com>
177
178 * gdb.base/filesym.exp: New completer test.
179 * gdb.base/filesym.c: New file.
180
ed0f00b8
PA
1812013-05-15 Pedro Alves <palves@redhat.com>
182
183 * gdb.base/fixsection.c: Remove attribution.
184 * gdb.base/watch-read.exp: Ditto.
185
55fb6d27
TT
1862013-05-13 Tom Tromey <tromey@redhat.com>
187
188 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
189 size and change type sizes to 4 bytes.
190
ac1ca910
TT
1912013-05-13 Tom Tromey <tromey@redhat.com>
192
193 * gdb.base/exprs.exp (test_expr): Add regression test.
194 * gdb.base/exprs.c (null_t_struct): New global.
195
8414efef
MB
1962013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
197
198 * gdb.base/default.exp: Disable history saving.
199 * gdb.base/setshow.exp: Likewise.
200
9779ab84
PA
2012013-05-10 Pedro Alves <palves@redhat.com>
202
203 PR remote/15455
204
205 * gdb.trace/qtro.c: New file.
206 * gdb.trace/qtro.exp: New file.
207
1e611234
PM
2082013-05-10 Phil Muldoon <pmuldoon@redhat.com>
209
210 * gdb.python/py-framefilter.py: New File.
211 * gdb.python/py-framefilter-mi.exp: Ditto.
212 * gdb.python/py-framefilter.c: Ditto.
213 * gdb.python/py-framefilter-mi.exp: Ditto.
214 * gdb.python/py-framefilter-mi.c: Ditto,
215 * gdb.python/py-framefilter-gdb.py.in: Ditto.
216
5e4c3ac4
TT
2172013-05-08 Tom Tromey <tromey@redhat.com>
218
219 * gdb.base/solib-search.exp: Set test name for "set
220 solib-search-path" test.
221
993654a9
HAQ
2222013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
223
224 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
225 (set_a_tracepoint): Set tracepoint before prologue.
226 (run_trace_experiment): Test setup_tracepoints and 'break end'
227 in it.
228 (trace_buffer_normal): Remove.
229 (gdb_trace_circular_tests): Remove. Move tests to...
230 (top level): ...here. Call 'runto_main' before checking for
231 trace support. Use commands to check the support for circular
232 trace buffer and changing of trace buffer size. Add test
233 to calculate size of single frame. Use this size to
234 calculate the size of trace buffer. Use 'tfind pc func9'
235 instead of 'tfind 9'. Use 'with_test_prefix'.
236
c95aea6b
TT
2372013-05-07 Tom Tromey <tromey@redhat.com>
238
239 * lib/selftest-support.exp: New file.
240 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
241 do_self_tests.
242 (setup_test, find_gdb): Remove.
243 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
244 do_self_tests.
245 (setup_test, find_gdb): Remove.
246 (test_observer): Don't call setup_test. Remove argument.
247 * gdb.gdb/selftest.exp: Load selftest-support.exp.
248 (find_gdb): Remove.
249 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
250 do_self_tests.
251 (setup_test, find_gdb): Remove.
252 (test_with_self): Don't call setup_test. Remove argument.
253
1f031429
PA
2542013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
255
256 * gdb.arch/system-gcore.exp: Remove.
257 * gdb.arch/gcore.c: Remove.
258 * gdb.base/gcore.exp: Add "info reg system".
259
58ce7251
SDJ
2602013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
261
262 PR breakpoints/15413:
263 * gdb.base/pending.exp: Add test for completion of the "condition"
264 command for pending breakpoints.
265 * gdb.linespec/linespec.ex: Add test for completion of the
266 "condition" command when dealing with multiple locations.
267
aacbb8a5
LM
2682013-05-07 Luis Machado <lgustavo@codesourcery.com>
269
270 * gdb.threads/wp-replication.c: New file.
271 * gdb.threads/wp-replication.exp: New file.
272
2dd6254d
SL
2732013-05-06 Sandra Loosemore <sandra@codesourcery.com>
274
275 * gdb.xml/tdesc-regs.exp: Add case for nios2.
276
c2a96e8c
DE
2772013-05-06 Doug Evans <dje@google.com>
278
b903e17e
DE
279 * gdb.base/solib-search-lib1.c: New file.
280 * gdb.base/solib-search-lib2.c: New file.
281 * gdb.base/solib-search.c: New file.
282 * gdb.base/solib-search.h: New file.
283 * gdb.base/solib-search.exp: New file.
284
fac51dd9
DE
285 * lib/gdb.exp (gdb_core_cmd): New function.
286 * gdb.arch/system-gcore.exp: Use it.
287 * gdb.arch/vsx-regs.exp: Ditto.
288 * gdb.base/gcore.exp: Ditto.
289 * gdb.threads/gcore-thread.exp: Ditto.
290
c2a96e8c
DE
291 * gdb.reverse/shr.h: New file.
292 * gdb.reverse/shr1.c: New file.
293 * gdb.reverse/shr2.c: #include "shr.h".
294 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
295 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
296 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
297 Update tests using sleep/printf to use shr2.sl instead.
298 * gdb.reverse/solib-reverse.exp: Ditto.
299
b6807d98
TT
3002013-05-06 Tom Tromey <tromey@redhat.com>
301
302 * gdb.dwarf2/implptrconst.c: New file.
303 * gdb.dwarf2/implptrconst.exp: New file.
304 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
305 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
306 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
307
96f7d3f1
PW
3082013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
309
310 * gdb.base/catch-sig.c (main): Raise SIGINT.
311 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
312
1ebff1fd
HAQ
3132013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
314
315 * status-stop.exp (test_tstart_tstart): Check for error
316 returned by the second 'tstart' command.
317
f92b06da
WT
3182013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
319
320 * gdb.xml/maint_print_struct.exp: New file.
321 * gdb.xml/maint_print_struct.xml: New file.
322
ff546935
TT
3232013-04-25 Tom Tromey <tromey@redhat.com>
324
325 * gdb.dwarf2/nostaticblock.exp: New file.
326
bf9e4d0c
MB
3272013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
328
329 PR gdb/10462
330 * gdb.base/setshow.exp: Add test case.
331
a11cfd87
HZ
3322013-04-23 Hui Zhu <hui@codesourcery.com>
333
334 PR gdb/15293
a11cfd87
HZ
335 * gdb.base/dprintf.exp: Add ignore command.
336
2d9442cc
HZ
3372013-04-23 Hui Zhu <hui@codesourcery.com>
338
339 PR gdb/15165
2d9442cc
HZ
340 * gdb.base/save-bp.exp: Add test for dprintf.
341
0f3305ed
TT
3422013-04-22 Tom Tromey <tromey@redhat.com>
343
344 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
345 notice_open_fds.
346
d504301e
SDJ
3472013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
348
349 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
350 ldflags.
351
9991b207
SDJ
3522013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
353
354 * gdb.arch/arm-bl-branch-dest.c: New file.
355 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
356
433730c9
PA
3572013-04-19 Vladimir Kargov <kargov@gmail.com>
358 Pedro Alves <palves@redhat.com>
359
360 * gdb.arch/i386-float.S: New file.
361 * gdb.arch/i386-float.exp: New file.
362
9a908334
LM
3632013-04-18 Luis Machado <lgustavo@codesourcery.com>
364
365 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
366 type void *.
367
4f22ed5c
DE
3682013-04-17 Doug Evans <dje@google.com>
369
370 * lib/dwarf.exp (Dwarf): New proc "tu".
371 * gdb.dwarf2/missing-sig-type.exp: New file.
372
a0d3f2f5
SCR
3732013-04-15 Siva Chandra Reddy <sivachandra@google.com>
374
375 Add option to link testcases with Pthreads library when
376 using 'prepare_for_testing' in tests.
377
378 * lib/gdb.exp (build_executable_from_specs): Use
379 gdb_compile_pthreads to compile if option "pthreads" is
380 specified.
381
cc16e6c9
TT
3822013-04-15 Tom Tromey <tromey@redhat.com>
383
384 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
385
72f1fe8a
TT
3862013-04-15 Tom Tromey <tromey@redhat.com>
387
388 * gdb.base/default.exp: Update for $_exception.
389 * gdb.cp/exceptprint.cc: New file.
390 * gdb.cp/exceptprint.exp: New file.
391 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
392
6e72ca20
TT
3932013-04-15 Tom Tromey <tromey@redhat.com>
394
395 * gdb.cp/typeid.cc: New file.
396 * gdb.cp/typeid.exp: New file.
397
591f19e8
TT
3982013-04-15 Tom Tromey <tromey@redhat.com>
399
400 * gdb.cp/exception.exp: Add "catch rethrow" tests.
401
da9160e4
YQ
4022013-04-13 Yao Qi <yao@codesourcery.com>
403
404 * gdb.base/completion.exp: Test completion of command
405 'target ctf' if target ctf is supported.
406
f81d1120
PA
4072013-04-10 Pedro Alves <palves@redhat.com>
408
409 * gdb.base/completion.exp: Test "set height", "set listsize" and
410 "set trace-buffer-size" completion.
411 * gdb.base/setshow.exp: Test "set height unlimited".
412 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
413 unlimited".
414
393fd4c3
YQ
4152013-04-10 Yao Qi <yao@codesourcery.com>
416
417 * gdb.trace/actions.exp: Save trace data to CTF.
418 Change to ctf target if GDB supports, read CTF data in ctf
419 target, and check the actions of tracepoints.
420 * gdb.trace/while-stepping.exp: Likewise.
421 * gdb.trace/report.exp: Test GDB saves trace data to CTF
422 format and read CTF trace file if GDB supports.
423 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
424 target is supported, change to ctf target, read trace data and
425 check output of command "tstatus".
426 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
427 read CTF data by target ctf and call check_tsv.
428
b7a273f8
YQ
4292013-04-10 Yao Qi <yao@codesourcery.com>
430
431 * gdb.trace/actions.exp (check_tracepoint): New.
432 (top level): Start the tracing and check the actions of
433 tracepoints. Save trace data to tfile format. Restart GDB
434 and read trace file in tfile target. Check the actions of
435 tracepoints again.
436 * gdb.trace/while-stepping.exp: Likewise.
437
f3786771
YQ
4382013-04-10 Yao Qi <yao@codesourcery.com>
439
440 * gdb.trace/report.exp: Use standard_output_file for saved
441 trace file.
442
5c2b4418
HZ
4432013-04-10 Hui Zhu <hui@codesourcery.com>
444
445 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
446 (MISCELLANEOUS): Add dprintf-pendshr.sl.
447 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
448
f7543f0a
JK
4492013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
450
451 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
452 response.
453
f6de8ec2
PA
4542013-04-08 Pedro Alves <palves@redhat.com>
455
456 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
457 the location.
458
b8abfd58
SL
4592013-04-04 Sandra Loosemore <sandra@codesourcery.com>
460
461 * gdb.cp/cplabel.exp: Allow empty directory in file reported
462 for breakpoint location.
463
156bffd0
SL
4642013-04-04 Sandra Loosemore <sandra@codesourcery.com>
465
466 * gdb.linespec/linespec.exp: Make dir/file:line tests
467 conditional for non-remote hosts only.
468
c9a6ce02
PA
4692013-04-04 Stan Shebs <stan@codesourcery.com>
470 Pedro Alves <palves@redhat.com>
471
472 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
473 * gdb.trace/actions-changed.c: New file.
474 * gdb.trace/actions-changed.exp: New file.
475 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
476 (gdb_trace_setactions_command): ... this. Add "actions_command"
477 parameter, and handle it.
478 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
479
4bd05f24
YQ
4802013-04-04 Yao Qi <yao@codesourcery.com>
481
482 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
483 'step'.
484
3758b5ce
YQ
4852013-04-03 Yao Qi <yao@codesourcery.com>
486
487 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
488 "tfile-basic.tf".
489 (test_tfind_tfile): Likewise.
490
1dcaed0d
YQ
4912013-04-03 Yao Qi <yao@codesourcery.com>
492
493 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
494 "tfile-basic.tf" instead of "basic.tf".
495 (write_error_trace_file): Pass argument "tfile-error.tf"
496 instead of "error.tf".
497 * gdb.trace/tfile.exp: Update tfile names to
498 "tfile-basic.tf" and "tfile-error.tf".
499
0e7a53fc
SL
5002013-04-02 Sandra Loosemore <sandra@codesourcery.com>
501
502 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
503 empty directory in file for breakpoint hit.
504
9852c492
YQ
5052013-03-29 Yao Qi <yao@codesourcery.com>
506
507 * gdb.base/completion.exp: Test completion of commands
508 "target core", "target tfile" and "target exec".
509 * gdb.trace/tfile.exp: Test completion of command
510 "target tfile".
511
af312be7
JB
5122013-03-28 Joel Brobecker <brobecker@adacore.com>
513
514 * gdb.ada/win_fu_syms: New testcase.
515
e4a48d9d
DE
5162013-03-28 Doug Evans <dje@google.com>
517
518 * gdb.base/maint.exp (maint print statistics): Update expected output.
519
7f7cc265
PA
5202013-03-28 Pedro Alves <palves@redhat.com>
521
522 PR gdb/15294
523
524 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
525 mean unlimited instead of $arg < 0.
526 (test_listsize): Remove "listsize of 0 suppresses output" test.
527 Test that "set listsize 0" ends up with an unlimited listsize.
528
fc0da894
PA
5292013-03-28 Pedro Alves <palves@redhat.com>
530
531 * gdb.base/list.exp (last_line): New global.
532 (last_line_re): New global.
533 (test_listsize, test_list_function, test_list_forward)
534 (test_repeat_list_command, test_list_range)
535 (test_list_filename_and_function): Use them.
536 * gdb.base/list0.c: Comment the last line of the file with "last
537 line".
538
abe7b711
PA
5392013-03-28 Pedro Alves <palves@redhat.com>
540
541 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
542 list the whole file.
543
15b3979c
PA
5442013-03-28 Pedro Alves <palves@redhat.com>
545
546 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
547 "set listsize".
548
96811e3b
KS
5492013-03-26 Keith Seitz <keiths@redhat.com>
550
551 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
552 from passing.
553
4043f22b
PA
5542013-03-26 Pedro Alves <palves@redhat.com>
555
556 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
557 until after GDB has run.
558
14a1aa17
YQ
5592013-03-26 Yao Qi <yao@codesourcery.com>
560
561 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
562 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
563
99c819ee
MM
5642013-03-26 Markus Metzger <markus.t.metzger@intel.com>
565
566 * gdb.btrace/enable.exp: Add regression test.
567
24955f63
TT
5682013-03-25 Tom Tromey <tromey@redhat.com>
569
570 * gdb.cp/m-static.exp: Add destructor-printing tests.
571
fce632b6
TT
5722013-03-25 Tom Tromey <tromey@redhat.com>
573
574 * gdb.cp/m-static.exp: Add constructor ptype tests.
575 * gdb.cp/m-static.cc (single_constructor): New class.
576 (main): Make instance of single_constructor.
577
598d3636
JK
5782013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
579 Pedro Alves <palves@redhat.com>
580
581 * gdb.server/server-kill.c: New file.
582 * gdb.server/server-kill.exp: New file.
583
c12440c9
PA
5842013-03-21 Pedro Alves <palves@redhat.com>
585
586 * gdb.trace/trace-buffer-size.exp (get default buffer size):
587 Expect $gdb_prompt in gdb_test_multiple.
588
bd712aed
DE
5892013-03-21 Doug Evans <dje@google.com>
590
591 * gdb.base/maint.exp: Update tests for per-command stats.
592
b2f83c08
TT
5932013-03-21 Tom Tromey <tromey@redhat.com>
594
595 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
596 * gdb.cp/misc.exp: Add test for FILENAME:: case.
597
ef0026f0
PA
5982013-03-20 Pedro Alves <palves@redhat.com>
599
600 PR gdb/15289
601
602 * gdb.base/remote.exp: Test
603 "set remote hardware-watchpoint-limit -1",
604 "set remote hardware-breakpoint-limit -1",
605 "set remote hardware-watchpoint-limit 2147483647" and
606 "set remote hardware-breakpoint-limit 2147483647".
607
3f1175a9
PA
6082013-03-20 Pedro Alves <palves@redhat.com>
609 Yao Qi <yao@codesourcery.com>
610
611 * gdb.trace/tfile.c: Add comments.
612 (nonconstglob): New global.
613 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
614 global that is not covered by the trace frame. Test
615 disassembling.
616
a09ae1c1
JK
6172013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
618
619 * gdb.base/valgrind-infcall.exp
620 (continue #$continue_count) <remote connection closed>
621 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
622 $valgrind_pid.
623
9ce98649
TT
6242013-03-15 Tom Tromey <tromey@redhat.com>
625
626 * gdb.cp/overload.cc (intintfunc): New.
627 * gdb.cp/overload.exp: Add regression test.
628
0a251e08
YQ
6292013-03-15 Yao Qi <yao@codesourcery.com>
630
631 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
632 using with_test_prefix.
633 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
634 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
635 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
636 * gdb.threads/watchpoint-fork.exp (test): Likewise.
637 * gdb.base/break-interp.exp (test_core): Likewise.
638 (test_attach_gdb): Likewise.
639 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
640 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
641 Likewise.
642 * gdb.base/jit-so.exp (one_jit_test): Likewise.
643 * gdb.base/jit.exp (one_jit_test): Likewise.
644 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
645 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
646 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
647 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
648 Likewise.
649 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
650 Likewise.
651 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
652 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
653 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
654 (tracepoint_change_loc_2): Likewise.
655 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
656 Likewise.
657 (disconnected_tfind): Likewise.
658 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
659 Likewise.
660 (test_tfind_remote): Likewise.
661 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
662 Likewise.
663 (test_pending_resolved): Likewise.
664 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
665 Likewise.
666 (test_upload_tsv): Likewise.
667 * gdb.trace/pending.exp (pending_tracepoint_resolved):
668 Likewise.
669 (pending_tracepoint_works): Likewise.
670 * gdb.trace/report.exp (use_collected_data): Likewise.
671 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
672 Likewise.
673 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
674 * gdb.trace/strace.exp (strace_info_marker): Likewise.
675 (strace_trace_on_same_addr): Likewise.
676 (strace_trace_on_diff_addr): Likewise.
677 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
678 (gdb_collect_locals_test): Likewise.
679 (gdb_unavailable_registers_test): Likewise.
680 (gdb_collect_globals_test): Likewise.
681
2c415c0f
YQ
6822013-03-15 Yao Qi <yao@codesourcery.com>
683
684 * gdb.base/condbreak.exp: Add semicolon back which was removed
685 by my previous commit.
686
ae59b1da
YQ
6872013-03-14 Yao Qi <yao@codesourcery.com>
688
689 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
690 'return'.
691 (gdb_target_monitor, gdb_load): Likewise.
692 * config/sid.exp (gdb_load): Likewise.
693 * config/slite.exp (gdb_load): Likewise.
694 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
695 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
696 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
697 (single_step_until): Likewise.
698 * gdb.arch/powerpc-d128-regs.exp: Likewise.
699 * gdb.arch/system-gcore.exp: Likewise.
700 * gdb.base/bigcore.exp (extract_heap): Likewise.
701 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
702 * gdb.base/call-ar-st.exp: Likewise.
703 * gdb.base/call-rt-st.exp: Likewise.
704 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
705 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
706 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
707 * gdb.base/corefile.exp: Likewise.
708 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
709 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
710 * gdb.base/fixsection.exp: Likewise.
711 * gdb.base/funcargs.exp: Likewise.
712 * gdb.base/gcore-buffer-overflow.exp: Likewise.
713 * gdb.base/gcore-relro.exp: Likewise.
714 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
715 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
716 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
717 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
718 * gdb.base/list.exp: Likewise.
719 (set_listsize): Likewise.
720 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
721 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
722 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
723 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
724 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
725 * gdb.base/setvar.exp: Likewise.
726 (test_set): Likewise.
727 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
728 * gdb.base/solib-overlap.exp: Likewise.
729 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
730 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
731 * gdb.base/watchpoint.exp (initialize): Likewise.
732 (test_simple_watchpoint): Likewise.
733 (test_disabling_watchpoints): Likewise.
734 (test_watchpoint_triggered_in_syscall): Likewise.
735 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
736 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
737 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
738 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
739 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
740 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
741 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
742 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
743 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
744 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
745 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
746 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
747 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
748 * gdb.mi/gdb792.exp: Likewise.
749 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
750 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
751 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
752 * gdb.threads/gcore-thread.exp: Likewise.
753 (load_core): Likewise.
754 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
755 (test_startup, check_control_c): Likewise.
756 * gdb.threads/sigstep-threads.exp: Likewise.
757 * gdb.threads/thread_check.exp: Likewise.
758 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
759 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
760 (set_a_tracepoint, trace_buffer_normal): Likewise.
761 (gdb_trace_circular_tests): Likewise.
762 * gdb.trace/collection.exp: Likewise.
763 * gdb.trace/disconnected-tracing.exp: Likewise.
764 * gdb.trace/infotrace.exp: Likewise.
765 * gdb.trace/mi-traceframe-changed.exp: Likewise.
766 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
767 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
768 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
769 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
770 * gdb.trace/stap-trace.exp: Likewise.
771 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
772 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
773 * gdb.trace/trace-buffer-size.exp: Likewise.
774 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
775 * gdb.trace/unavailable.exp: Likewise.
776 * gdb.trace/while-dyn.exp: Likewise.
777 * lib/fortran.exp (set_lang_fortran): Likewise.
778 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
779 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
780 (default_gdb_start, get_compiler_info): Likewise.
781 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
782 (get_debug_format, setup_xfail_format): Likewise.
783 (rerun_to_main, gdb_skip_float_test): Likewise.
784 (build_id_debug_filename_get, get_remotetimeout): Likewise.
785 * lib/java.exp (set_lang_java): Likewise.
786 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
787 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
788 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
789 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
790 * lib/objc.exp (set_lang_objc): Likewise.
791 * lib/pascal.exp (set_lang_pascal): Likewise.
792 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
793 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
794 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
795
bb869963
SDJ
7962013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
797
798 PR c++/15203
799 PR c++/15210
800 * gdb.cp/m-static.cc (keepalive_int): New function.
801 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
802 * gdb.cp/m-static.exp: New test for `sintvar'.
803
e2be70a0
YQ
8042013-03-14 Yao Qi <yao@codesourcery.com>
805
806 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
807 of 'tstatus' into tstatus_output.
808 (top level): Save the trace data to tfile. Read trace file in
809 tfile target. Check the trace status.
810
8ddb1965
YQ
8112013-03-13 Yao Qi <yao@codesourcery.com>
812
813 * gdb.trace/tsv.exp (check_tsv): New.
814 (top level): Save a tfile on current trace session. Call
815 check_tsv on live target. Load the tfile with target tfile
816 and call check_tsv again.
817
045dd51f
YQ
8182013-03-13 Yao Qi <yao@codesourcery.com>
819
820 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
821 Replace some "gdb_test" with "gdb_test_no_output".
822
82d049ab
PH
8232013-03-12 Paul Hilfinger <hilfingr@adacore.com>
824
825 * gdb.ada/expr_delims.exp: New file.
826 * gdb.ada/expr_delims/foo.adb: New file.
827 * gdb.ada/expr_delims/pck.ads: New file.
828 * gdb.ada/expr_delims/pck.adb: New file.
829
cb8ea32b
KS
8302013-03-11 Keith Seitz <keiths@redhat.com>
831
832 * watchpoint.exp (test_no_hw_watchpoints): Add test using
833 both condition and thread. Then delete the watchpoint.
834
2f1d9bdd
MM
8352013-03-11 Christian Himpel <christian.himpel@intel.com>
836
837 * Makefile.in: Add btrace testsuite.
838 * configure: Regenerated.
839 * configure.ac: Add btrace testsuite.
840 * gdb.btrace/Makefile.in: New file.
841 * gdb.btrace/enable.c: New file.
842 * gdb.btrace/enable.exp: New file.
843 * gdb.btrace/function_call_history.c: New file.
844 * gdb.btrace/function_call_history.exp: New file.
845 * gdb.btrace/instruction_history.c: New file.
846 * gdb.btrace/instruction_history.exp: New file.
847 * gdb.btrace/instruction_history.S: New file.
848 * lib/gdb.exp: Add btrace skip proc.
849
05c56a9d
JK
8502013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 Fix entry-values if the callee called a noreturn function.
853 * gdb.arch/amd64-tailcall-noret.S: New file.
854 * gdb.arch/amd64-tailcall-noret.c: New file.
855 * gdb.arch/amd64-tailcall-noret.exp: New file.
856
9112db09
JK
8572013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 Fix entry-values in C++ across CUs.
860 * gdb.arch/amd64-tailcall-cxx.exp: New file.
861 * gdb.arch/amd64-tailcall-cxx1.S: New file.
862 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
863 * gdb.arch/amd64-tailcall-cxx2.S: New file.
864 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
865
be9a119c 8662013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
867 Hafiz Abid Qadeer <abidh@codesourcery.com>
868
869 gdb/testsuite/
870 * gdb.trace/trace-buffer-size.exp: New file.
871 * gdb.trace/trace-buffer-size.c: New file.
872
049109b0
PA
8732013-03-06 Pedro Alves <palves@redhat.com>
874
875 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
876 doesn't support the tested optional feature, call "unsupported"
877 with the same test message as the "pass" case, instead of calling
878 "pass" with a different message. Use the same text for the "fail"
879 cases too.
880
4aa54120
YQ
8812013-03-06 Yao Qi <yao@codesourcery.com>
882
883 * gdb.trace/tstatus.exp: Remove the invocation of
884 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
885 (test_tracepoints): Don't set fast tracepoint.
886 (top level): Don't check agent library is loaded or not.
887
b8b71e63
YQ
8882013-03-06 Yao Qi <yao@codesourcery.com>
889
890 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
891 parentheses by "\\".
892
33f448b1
JK
8932013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
894
895 * gdb.linespec/base/one/thefile.cc (twodup): New.
896 (m): Call it.
897 * gdb.linespec/base/two/thefile.cc (dupname): New.
898 (n): Call it.
899 * gdb.linespec/break-ask.exp: New file.
900 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
901
1c942fb9
YQ
9022013-02-28 Yao Qi <yao@codesourcery.com>
903
904 * gdb.trace/report.exp: Move some code to ...
905 (use_collected_data): New.
906 (top level): Call use_collected_data once on the live target.
907 Save at file of the current trace session, load it with target
908 tfile, and call use_collected_data again.
909
5b967901
JK
9102013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
911
912 * gdb.threads/fork-thread-pending.c (main): Add alarm.
913
6447023f
JK
9142013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
915
916 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
917 Add final kill of ${valgrind_pid}.
918
9f44fbc0
SCR
9192013-02-20 Siva Chandra Reddy <sivachandra@google.com>
920
921 * gdb.python/py-arch.c: New test case
922 * gdb.python/py-arch.exp: New tests to test
923 gdb.Architecture.disassemble
924 * gdb.python/Makefile.in: Add py-arch to the list of
925 EXECUTABLES.
926
4c9ad8c2
TT
9272013-02-18 Tom Tromey <tromey@redhat.com>
928
929 * gdb.dwarf2/subrange.exp: New file.
930
f5911ea1
HAQ
9312013-02-15 Pedro Alves <pedro@codesourcery.com>
932 Hafiz Abid Qadeer <abidh@codesourcery.com>
933
934 * gdb.trace/tfile.exp: Add test for -trace-status command.
935
420f4384
JK
9362013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
937
938 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
939 nanosleep by sleep.
940
4819b3f8
PA
9412013-02-14 Pedro Alves <palves@redhat.com>
942
943 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
944
1773c82c
HAQ
9452013-02-14 Pedro Alves <pedro@codesourcery.com>
946 Hafiz Abid Qadeer <abidh@codesourcery.com>
947
948 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
949
e234dfaf
TT
9502013-02-12 Tom Tromey <tromey@redhat.com>
951
952 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
953 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
954
6c01dd94
PA
9552013-02-12 Pedro Alves <palves@redhat.com>
956
957 * gdb.base/catch-signal.c: Update copyright years.
958 * gdb.base/catch-signal.exp: Update copyright years.
959 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
960 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
961 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
962 * gdb.dwarf2/dw2-error.S: Update copyright years.
963 * gdb.dwarf2/dw2-error.c: Update copyright years.
964 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
965 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
966 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
967
595fc67f
PA
9682013-02-12 Pedro Alves <palves@redhat.com>
969
970 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
971 message.
972 * gdb.base/sigaltstack.exp: Ditto.
973 * gdb.base/siginfo.exp: Ditto.
974 * gdb.base/sizeof.exp: Ditto.
975
17282693
PA
9762013-02-12 Pedro Alves <palves@redhat.com>
977
978 * gdb.mi/mi-basics.exp: Tweak intro comment.
979 * gdb.mi/mi-break.exp: Tweak intro comment.
980 * gdb.mi/mi-console.exp: Tweak intro comment.
981 * gdb.mi/mi-file.exp: Tweak intro comment.
982 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
983 * gdb.mi/mi-return.exp: Tweak intro comment.
984 * gdb.mi/mi-stepi.exp: Tweak intro comment.
985 * gdb.mi/mi-until.exp: Tweak intro comment.
986 * gdb.mi/mi-watch.exp: Tweak intro comment.
987
8a4ac37e
PA
9882013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
989
990 * gdb.server/no-thread-db.exp: New file.
991 * gdb.server/no-thread-db.c: New file.
992 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
993
c2792f5a
DE
9942013-02-11 Doug Evans <dje@google.com>
995
996 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
997 two decfloats.
998
d9e98382
SDJ
9992013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1000
1001 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1002 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1003
a321661a
JK
10042013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1005
1006 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1007
134a2066
YQ
10082013-02-06 Yao Qi <yao@codesourcery.com>
1009
1010 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1011 to ...
1012 (test_create_delete_modify_tsv): ... here. New test on modifying
1013 the initial value of a tsv.
1014
5a2dc60a
JK
10152013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1016
1017 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1018 (cd .../rdir): ... here.
1019
233d95b5
JK
10202013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1021
1022 * gdb.linespec/base/one/header.h: New file.
1023 * gdb.linespec/base/two/header.h: New file.
1024 * gdb.linespec/macro-relative.c: New file.
1025 * gdb.linespec/macro-relative.exp: New file.
1026
fbd9ab74
JK
10272013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1028
1029 * gdb.base/fullpath-expand-func.c: New file.
1030 * gdb.base/fullpath-expand.c: New file.
1031 * gdb.base/fullpath-expand.exp: New file.
1032 * gdb.base/realname-expand-real.c: New file.
1033 * gdb.base/realname-expand.c: New file.
1034 * gdb.base/realname-expand.exp: New file.
1035
1b56eb55
JK
10362013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1037
1038 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1039 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1040
af529f8f
JK
10412013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1042
1043 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1044 (compare_filenames_for_search does not match)
1045 (compare_filenames_for_search does match): New tests.
1046
f5b95b50
JK
10472013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1048
1049 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1050
d47921b9
JK
10512013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1052
1053 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1054
8a92335b
JK
10552013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1056
1057 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1058 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1059 ${binfile}.mini_debuginfo-debuglink and
1060 ${binfile}.mini_debuginfo-debuglink.xz.
1061
17f2157d
TT
10622013-02-01 Tom Tromey <tromey@redhat.com>
1063
1064 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1065 attributes.
1066
d65f0a9c
TT
10672013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1068 Tom Tromey <tromey@redhat.com>
1069
1070 * gdb.dwarf2/method-ptr.exp: Link with c++.
1071 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1072
f25c0135
TT
10732013-01-31 Tom Tromey <tromey@redhat.com>
1074
1075 * gdb.base/jit.exp (compile_jit_test): New proc.
1076 Add PIE tests.
1077
7078baeb
TT
10782013-01-31 Tom Tromey <tromey@redhat.com>
1079
1080 * gdb.dwarf2/method-ptr.cc: New file.
1081 * gdb.dwarf2/method-ptr.exp: New file.
1082
1d24041a
TT
10832013-01-31 Tom Tromey <tromey@redhat.com>
1084
1085 * lib/dwarf.exp (namespace Dwarf): New.
1086
8d9878a4
TT
10872013-01-29 Tom Tromey <tromey@redhat.com>
1088
1089 * gdb.dwarf2/fission-reread.exp: Add unload test.
1090
bed911e5
DE
10912013-01-28 Doug Evans <dje@google.com>
1092
1093 * gdb.dwarf2/fission-loclists.exp: New file.
1094 * gdb.dwarf2/fission-loclists.S: New file.
1095
e229648e
JK
10962013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1097
1098 Code cleanup.
1099 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1100 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1101 and prepare_for_testing.
1102 * gdb.base/store.exp: Likewise.
1103
86700f00
TT
11042013-01-25 Tom Tromey <tromey@redhat.com>
1105
1106 * gdb.python/py-explore.exp: Expect the gdb prompt.
1107
8954db33
AB
11082013-01-25 Andrew Burgess <aburgess@broadcom.com>
1109
1110 * gdb.base/gnu_vector.c: New variable for use in tests.
1111 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1112 changes in scalar to vector casting and widening.
1113 * gdb.python/py-type.c: New variables for use in tests.
1114 * gdb.python/py-type.exp: Update vector related tests to reflect
1115 changes in scalar to vector casting and widening.
1116
2077afdd
TD
11172013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1118
1119 * gdb.base/prologue-include.c: New file.
1120 * gdb.base/prologue-include.exp: New file.
1121 * gdb.base/prologue-include.h: New file.
1122
d7499464
HAQ
11232013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1124
1125 PR gdb/13443
1126 * gdb.mi/mi-var-block.exp: Make test messages unique.
1127
e2a3e0f1
TT
11282013-01-23 Tom Tromey <tromey@redhat.com>
1129
1130 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1131
152fcc9c
TT
11322013-01-23 Tom Tromey <tromey@redhat.com>
1133
1134 * gdb.cp/converts.cc (main): Initialize 'a'.
1135
bea883fd
SCR
11362013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1137
1138 * testsuite/gdb.python/frame.exp: Add a test for
1139 gdb.Frame.architecture() method.
1140
0928e93d
PA
11412013-01-22 Pedro Alves <palves@redhat.com>
1142
1143 * gdb.base/annota1.exp (signal sent): No longer expect
1144 breakpoints-invalid.
1145 * gdb.cp/annota2.exp (continue until exit)
1146 (watch triggered on a.x): Ditto.
1147
9c97429f
PA
11482013-01-22 Pedro Alves <palves@redhat.com>
1149
1150 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1151 Adjust tests to breakpoints-invalid changes.
1152 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1153 variables.
1154 Adjust tests to breakpoints-invalid changes.
1155
187d10dd
PA
11562013-01-22 Pedro Alves <palves@redhat.com>
1157
1158 * gdb.base/annota1.exp (annotate ignore count change): Add
1159 expected output for failure case.
1160
ea3aedcb
TT
11612013-01-22 Tom Tromey <tromey@redhat.com>
1162
1163 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1164 call.
1165
998580f1
MK
11662013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1167
1168 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 1169 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
1170 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1171 Also handle 'thread' field.
1172 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1173 * gdb.mi/mi-watch.exp: Ditto.
1174 * lib/mi-support.exp: Ditto.
1175
8f1d5693
MK
11762013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1177
1178 * gdb.python/py-explore.exp: Improve a test
1179
2d8c5d7c
DB
11802013-01-18  David Blaikie  <dblaikie@gmail.com>
1181
1182 * gdb.base/label.c (main): Correct the type of the second
1183 parameter.
1184
46f35228
TT
11852013-01-18 Tom Tromey <tromey@redhat.com>
1186
1187 * gdb.dwarf2/trace-crash.s: New file.
1188 * gdb.dwarf2/trace-crash.exp: New file.
1189
5965d69d
HAQ
11902013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1191
43aaf8b6
PA
1192 PR gdb/13443
1193 * gdb.base/checkpoint.exp: Update test messages to make them
1194 unique.
5965d69d 1195
5ae4861a
YQ
11962013-01-18 Yao Qi <yao@codesourcery.com>
1197
1198 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1199 output of 'info tracepoints'.
1200 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1201 Likewise.
1202 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1203 * gdb.trace/disconnected-tracing.c (struct foo): New.
1204
d84fca2c
JK
12052013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1206
1207 * gdb.dwarf2/dw2-dos-drive.S: New file.
1208 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1209
aebb1cc9
DE
12102013-01-17 Doug Evans <dje@google.com>
1211
2782d512
DE
1212 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1213 CXX_FOR_TARGET.
1214
aebb1cc9
DE
1215 * boards/cc-with-tweaks.exp: New file.
1216
db2b2972
TT
12172013-01-17 Tom Tromey <tromey@redhat.com>
1218
1219 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1220
96343774
PA
12212013-01-17 Pedro Alves <palves@redhat.com>
1222
1223 Merge dg-extract-results.sh from upstream (svn 195224).
1224
1225 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1226 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
1227
1228 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1229 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
1230
1231 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1232 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
1233
1234 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1235 * dg-extract-results.sh: Redirect grep output to /dev/null instead
1236 of grep -q.
1237
675921c0
SD
12382012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1239
1240 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1241 interface.
1242 * gdb.base/jithost.c: New file.
1243 * gdb.base/jithost.h: New file.
1244 * gdb.base/jitreader.c : New file.
1245 * gdb.base/jit-protocol.h: New file.
1246
ab04a2af
TT
12472013-01-16 Tom Tromey <tromey@redhat.com>
1248
1249 * gdb.base/catch-signal.c: New file.
1250 * gdb.base/catch-signal.exp: New file.
1251
8ac3646f
TT
12522013-01-16 Tom Tromey <tromey@redhat.com>
1253
1254 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
1255
22fc223e
JK
12562013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1257
1258 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
1259
44478ab3
TT
12602013-01-14 Tom Tromey <tromey@redhat.com>
1261
1262 * gdb.base/completion.exp: Add "set gnutarget" test.
1263
06d66ee9
TT
12642013-01-14 Tom Tromey <tromey@redhat.com>
1265
1266 * gdb.dwarf2/dw2-restrict.S: New file.
1267 * gdb.dwarf2/dw2-restrict.c: New file.
1268 * gdb.dwarf2/dw2-restrict.exp: New file.
1269
c9bf0622
TT
12702013-01-14 Tom Tromey <tromey@redhat.com>
1271
1272 * gdb.dwarf2/dw2-error.exp: New file.
1273 * gdb.dwarf2/dw2-error.c: New file.
1274 * gdb.dwarf2/dw2-error.S: New file.
1275
5b12a61c
JK
12762013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1277
1278 * gdb.cp/parse-lang.cc: New file.
1279 * gdb.cp/parse-lang.exp: New file.
1280
f0a4b570
JK
12812013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1282
1283 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
1284 (set substitute-path): New test.
1285 (fullname present): Remove content.
1286 (substituted fullname): New test.
1287
f751cc97
JB
12882013-01-13 Joel Brobecker <brobecker@adacore.com>
1289
1290 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
1291 check. Move $gdb_py_is_py24 value check right after.
1292
04164e8e
JK
12932013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1294
1295 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
1296 targets.
1297
5bf480a5
YQ
12982013-01-11 Yao Qi <yao@codesourcery.com>
1299
1300 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
1301 for dprintf.
1302 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1303 Check the fields in "=breakpoint-created" for dprintf.
1304
f35a17b5
JK
13052012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1306
1307 * gdb.mi/mi-fullname-deleted.exp: New file.
1308
85817405
JK
13092012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1310
1311 * gdb.base/skip-solib.exp (info skip with pending file): Update the
1312 expected output.
1313 (info skip with pending file): Remove.
1314 (ignoring function in solib, info skip for function multiply): Update
1315 the expected output.
1316 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
1317 (info skip (delete 1), info skip after disabling all)
1318 (info skip after enabling all, info skip after disabling 4 2-3)
1319 (info skip after enabling 2-3, info skip 2-3)
1320 (info skip after deleting 2 3): Update the expected output.
1321 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
1322 statement to its initialization and return.
1323 * gdb.linespec/skip-two.exp: New file.
1324
27210e12
DE
13252012-12-19 Doug Evans <dje@google.com>
1326
1327 * gdb.base/maint.exp: Handle testing with .gdb_index.
1328
bb627a12
JB
13292012-12-19 Joel Brobecker <brobecker@adacore.com>
1330
1331 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
1332 Cavium to FSF.
1333
7785b880
JB
13342012-12-19 Joel Brobecker <brobecker@adacore.com>
1335
1336 * dg-extract-results.sh: Update contact info in copyright notice.
1337 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
1338 GPL v3 or later. Update contact info.
1339 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
1340 gdb.threads/watchpoint-fork-mt.c,
1341 gdb.threads/watchpoint-fork-parent.c,
1342 gdb.threads/watchpoint-fork-st.c,
1343 gdb.threads/watchpoint-fork.h: Likewise.
1344
f2a8bc8a
YQ
13452012-12-15 Yao Qi <yao@codesourcery.com>
1346
1347 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
1348 'installed' field in '=breakpoint-modified'.
1349 (test_reconnect): Check 'installed' field in
1350 '=breakpoint-modified' and '=breakpoint-created'.
1351
1352 * gdb.trace/actions.exp: Update test for 'installed' field.
1353 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
1354 (tracepoint_change_loc_2): Likewise.
1355 Check 'info tracepoint' display nothing else.
1356 * gdb.trace/deltrace.exp: Likewise.
1357 * gdb.trace/infotrace.exp: Likewise.
1358 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
1359 Likewise.
1360 * gdb.trace/passcount.exp: Likewise.
1361 * gdb.trace/tracecmd.exp: Likewise.
1362 * gdb.trace/while-stepping.exp: Likewise.
1363
6592e36f
TT
13642012-12-14 Tom Tromey <tromey@redhat.com>
1365
1366 * gdb.cp/member-name.exp: New file.
1367 * gdb.cp/member-name.cc: New file.
1368
7d27a96d
TT
13692012-12-14 Tom Tromey <tromey@redhat.com>
1370
1371 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
1372
f8c05d0d
DE
13732012-12-14 Doug Evans <dje@google.com>
1374
1375 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
1376 DW_OP_GNU_implicit_pointer is section-relative.
1377
451b7c33
TT
13782012-12-14 Tom Tromey <tromey@redhat.com>
1379
43aaf8b6 1380 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 1381
10e339df
PA
13822012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
1383
6fdff2c5 1384 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 1385
e780d813
DE
13862012-12-13 Doug Evans <dje@google.com>
1387
1388 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
1389 * gdb.multi/multi-arch.exp: Ditto.
1390
ca3dbcc8 13912012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 1392
ca3dbcc8
MG
1393 * gdb.mi/mi-catch-load-so.c: New. Clone of the
1394 catch load test library source file.
1395 * gdb.mi/mi-catch-load.c: New. Clone of the catch
1396 load test source file.
1397 * gdb.mi/mi-catch-load.exp: New. Test file for
1398 basic MI -catch-load and -catch-unload tests.
1399
2960a434
PK
14002012-12-11 Paul Koning <paul_koning@dell.com>
1401
1402 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
1403 exception.
1404 (_iterator_except): New function.
1405 (ArrayPrinter): Use _iterator function instead of local _iterator
1406 class for Python 3 compatibility.
1407 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 1408 _iterator.
2960a434
PK
1409 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
1410 execfile for Python 3 compatibility.
1411 * gdb.python/python.exp: Handle Python 2.4 exception traceback
1412 format in error_prompt test.
6fdff2c5 1413
9325cb04
PK
14142012-12-10 Paul Koning <paul_koning@dell.com>
1415
1416 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 1417 compatibility.
9325cb04
PK
1418 * gdb.python/py-block.exp: Ditto.
1419 * gdb.python/py-breakpoint.exp: Ditto.
1420 * gdb.python/py-cmd.exp: Ditto.
1421 * gdb.python/py-events.py: Ditto.
1422 * gdb.python/py-finish-breakpoint.py: Ditto.
1423 * gdb.python/py-finish-breakpoint2.exp: Ditto.
1424 * gdb.python/py-finish-breakpoint2.py: Ditto.
1425 * gdb.python/py-frame-inline.exp: Ditto.
1426 * gdb.python/py-frame.exp: Ditto.
1427 * gdb.python/py-infthread.exp: Ditto.
1428 * gdb.python/py-objfile.exp: Ditto.
1429 * gdb.python/py-parameter.exp: Ditto.
1430 * gdb.python/py-progspace.exp: Ditto.
1431 * gdb.python/py-prompt.exp: Ditto.
1432 * gdb.python/py-symbol.exp: Ditto.
1433 * gdb.python/py-symtab.exp: Ditto.
1434 * gdb.python/py-template.exp: Ditto.
1435 * gdb.python/py-value-cc.exp: Ditto.
1436 * gdb.python/python.exp: Ditto.
1437 * gdb.python/source2.py: Ditto.
1438 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 1439 compatibility.
9325cb04
PK
1440 Use sorted() function rather than sort() method.
1441 Accept either int or long values for enum values.
1442 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
1443 execfile for Python 3 compatibility.
1444 * gdb.python/py-evsignal.exp: Ditto.
1445 * gdb.python/py-evthreads.exp: Ditto.
1446 * gdb.python/py-mi.exp: Ditto.
1447 * gdb.python/py-pp-maint.exp: Ditto.
1448 * gdb.python/py-prettyprint.exp: Ditto.
1449 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 1450 Python 3 compatibility.
9325cb04
PK
1451 Skip tests for Python 2.4.
1452 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 1453 Python 3 compatibility.
9325cb04
PK
1454 Use byte string rather than character string in memory write test
1455 if Python 3.
1456 * gdb.python/py-pp-maint.py: Change class declarations to "new
1457 class" syntax.
1458 * gdb.python/py-prettyprint.py: Change iterator class to generator
1459 function for Python 3 compatibility.
1460 Make all classes "new style".
1461 Fix indentation issue and stray semicolon.
1462 * gdb.python/py-shared.expChange print syntax for Python 3
1463 compatibility.
1464 Define "long" if Python 3.
1465 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 1466 compatibility.
9325cb04
PK
1467 Accept either int or long values for enum values.
1468 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 1469 compatibility.
9325cb04
PK
1470 Skip "long" and "unicode" tests if Python 3.
1471 Accept either "type" or "class" in type checks.
1472 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
1473 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
1474
8b9737bf
TT
14752012-12-10 Tom Tromey <tromey@redhat.com>
1476
1477 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
1478 (test): Add "two_cu" argument.
1479 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
1480 for types; allow two CUs.
1481
1b80a9fa
JK
14822012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1483
1484 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
1485 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
1486
f0b6d50a
YQ
14872012-12-08 Yao Qi <yao@codesourcery.com>
1488 Pedro Alves <palves@redhat.com>
1489
1490 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
1491 '=breakpoint-created' when GDB merges the tracepoints of both
1492 sides.
1493
2f68a895
TT
14942012-12-07 Tom Tromey <tromey@redhat.com>
1495
1496 * gdb.base/break1.c (enum some_enum, union some_union): New.
1497 (some_enum_global, some_union_global, some_value): New globals.
1498 * gdb.base/completion.exp: Add tag completion tests.
1499
4fc5d43e
TT
15002012-12-07 Tom Tromey <tromey@redhat.com>
1501
1502 * gdb.base/completion.exp: Add tests for ptype and whatis
1503 completion.
1504
6559e013
JB
15052012-12-07 Joel Brobecker <brobecker@adacore.com>
1506
1507 * gdb.base/stale-infcall.exp: Fix copyright line.
1508
ae2b630d
JB
15092012-12-07 Joel Brobecker <brobecker@adacore.com>
1510
1511 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
1512
0ba2eb0f
TT
15132012-12-06 Pedro Alves <palves@redhat.com>
1514 Tom Tromey <tromey@redhat.com>
1515
1516 * gdb.base/exprs.exp: Add tests for cast to void.
1517
731145cb
TT
15182012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
1519
1520 * gdb.python/py-mi.exp: Correct expected results for attribute
1521 "dynamic" returned by -var-update.
1522 Add test case for correct handling of "diplayhint" for children
1523 of dynamic varobjs.
1524 * gdb.python/py-prettyprint.c (set_itme): New function.
1525 (bug_14741) New function.
1526 (main) Add call to bug_14741().
1527 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
1528
e58fcc15
UW
15292012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
1530
1531 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
1532 ${binfile}.funcsyms list.
1533
e9eb0d14
YQ
15342012-12-04 Yao Qi <yao@codesourcery.com>
1535
1536 PR gdb/13443
1537 * gdb.trace/actions.exp: Make test messages unique.
1538
4983028c
TT
15392012-11-29 Tom Tromey <tromey@redhat.com>
1540
1541 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
1542
ea5e6b0e
UW
15432012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
1544
1545 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
1546 * gdb.opencl/datatypes.exp: Likewise.
1547 * gdb.opencl/operators.exp: Likewise.
1548 * gdb.opencl/vec_comps.exp: Likewise.
1549
cdde3dfb
JG
15502012-11-29 Jerome Guitton <guitton@adacore.com>
1551
1552 * gdb.ada/iwide: New testcase.
1553
b50d69b5
JG
15542012-11-29 Jerome Guitton <guitton@adacore.com>
1555
1556 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
1557 ptype test.
1558
c2d3fccf
JG
15592012-11-29 Jerome Guitton <guitton@adacore.com>
1560
1561 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
1562 form {VARIANT_TYPE}ADDRESS.
1563
5edf51fe
YQ
15642012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
1565
1566 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
1567 (func): New function.
1568 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
1569 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
1570 pointers to members with pointer-to-function type.
1571
608e2dbb
TT
15722012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1573 Tom Tromey <tromey@redhat.com>
1574
1575 * gdb.base/gnu-debugdata.exp: New file.
1576 * gdb.base/gnu-debugdata.c: New file.
1577 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1578 (gdb_unload): Return 0 on success.
1579
4648e588
JK
15802012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1581
1582 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1583
17d6efc4
JB
15842012-11-26 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.base/empty_exe.exp: New testcase.
1587
ace21957
MF
15882012-11-20 Mike Frysinger <vapier@gentoo.org>
1589
1590 * gdb.base/completion.exp: Add test for help aliases completion.
1591
5c401a0a
YQ
15922012-11-20 Yao Qi <yao@codesourcery.com>
1593
1594 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1595 Don't test 'maint set show-debug-regs'.
1596 Use command 'set remotecache' instead of
1597 'set circular-trace-buffer'.
1598
8dea366b
KS
15992012-11-16 Keith Seitz <keiths@redhat.com>
1600
1601 PR c++/13615
1602 * gdb.cp/baseenum.cc: New file.
1603 * gdb.cp/baseenum.exp: New file.
1604 * gdb.cp/derivation.cc (A): Add copyright.
1605 Add a typedef.
1606 (B): Use A::value_type instead of int. Change all references.
1607 (D): Use value_type instead of int. Change all references.
1608 (E): Likewise.
1609 (F); Likewise.
1610 (Z): New class.
1611 (ZZ): New class.
6fdff2c5 1612 (N, Base, Derived): New namespace and classes.
8dea366b
KS
1613 (main): Add instances of Z and ZZ.
1614 Make sure all symbols from N are kept.
1615 * gdb.cp/derivation.exp: Update typedef changes in tests.
1616 Add tests for class typedefs both before and after starting
1617 the inferior.
1618 Add tests for searching for a typedef while stopped in a
1619 method.
1620
5e34c6c3
LM
16212012-11-14 Luis Machado <lgustavo@codesourcery.com>
1622
1623 * gdb.mi/mi-var-create-rtti.c: New file.
1624 * gdb.mi/mi-var-create-rtti.exp: New file.
1625
5e487a5f
LM
16262012-11-14 Luis Machado <lgustavo@codesourcery.com>
1627
1628 * gdb.base/structs3.exp: Run to main before doing any tests.
1629
6d67b990
AB
16302012-11-14 Andrew Burgess <aburgess@broadcom.com>
1631
1632 * gdb.python/py-type.exp: Uniquify test names.
1633
e5d98164
YQ
16342012-11-14 Yao Qi <yao@codesourcery.com>
1635
1636 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1637 (thread_function) [DEBUG]: Call 'printf'.
1638 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1639 command line if 'DEBUG=1' is passed to test.
1640 Remove a pattern to match inferior's output.
1641
62747a60
TT
16422012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1643
1644 * gdb.mi/mi-fill-memory.exp: New test.
1645
18a9fc12
TT
16462012-11-12 Tom Tromey <tromey@redhat.com>
1647
1648 * gdb.base/completion.exp: Update for "info type-printers".
1649 * gdb.python/py-typeprint.cc: New file.
1650 * gdb.python/py-typeprint.exp: New file.
1651 * gdb.python/py-typeprint.py: New file.
1652
bd69fc68
TT
16532012-11-12 Tom Tromey <tromey@redhat.com>
1654
1655 * gdb.base/call-sc.exp: Use "ptype/r".
1656 * gdb.base/volatile.exp: Don't expect "int".
1657 * gdb.cp/ptype-flags.cc: New file.
1658 * gdb.cp/ptype-flags.exp: New file.
1659 * gdb.cp/templates.exp: Use ptype/r.
1660 (test_ptype_of_templates, test_template_typedef): Likewise.
1661 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1662 argument. Handle template names and template parameters.
1663 * gdb.mi/mi-var-cmd.exp: Accept "long".
1664 * gdb.mi/mi-var-child.exp: Accept "long".
1665 * gdb.mi/mi-var-display.exp: Accept "long".
1666 * gdb.mi/mi2-var-child.exp: Accept "long".
1667
b3720c3a
TT
16682012-11-12 Tom Tromey <tromey@redhat.com>
1669
1670 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1671 "ptype" from calls to cp_test_ptype_class.
1672 (test_enums): Likewise.
1673 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1674 cp_test_ptype_class.
1675 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1676 calls to cp_test_ptype_class.
1677 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1678 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1679 from calls to cp_test_ptype_class.
1680 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1681 command here. Change "in_command" argument to "in_exp".
1682
0d63ecda
KS
16832012-11-10 Keith Seitz <keiths@redhat.com>
1684
1685 PR gdb/14288
1686 * gdb.base/printcmds.c: Add invalid_XXX globals
1687 for repeated byte tests.
1688 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1689 * gdb.base/wchar.c (main): Add and construct a wchar_t
1690 array with repeated characters.
1691 * gdb.base/wchar.exp: Add repeated character tests.
1692
ed8a1c2d
AB
16932012-11-09 Andrew Burgess <aburgess@broadcom.com>
1694
1695 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1696 disassembly output.
1697
9107fc8d
PA
16982012-11-09 Pedro Alves <palves@redhat.com>
1699
1700 PR gdb/14306
1701
1702 * gdb.multi/multi-arch-exec.c: New file.
1703 * gdb.multi/multi-arch-exec.exp: New file.
1704
558a9d82
YQ
17052012-11-09 Yao Qi <yao@codesourcery.com>
1706
1707 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1708 (top level): Call it.
1709
e714f336
YQ
17102012-11-09 Yao Qi <yao@codesourcery.com>
1711
1712 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1713 typo.
1714
6ecd4729
PA
17152012-11-09 Pedro Alves <palves@redhat.com>
1716
1717 * gdb.multi/multi-arch.exp: New.
1718
9015683b
TT
17192012-11-08 Tom Tromey <tromey@redhat.com>
1720
1721 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1722 core files, if possible.
1723 * gdb.base/siginfo-thread.c: New file
1724 * gdb.base/siginfo-thread.exp: New file
1725
ea9f10bb
TT
17262012-11-08 Tom Tromey <tromey@redhat.com>
1727
1728 * gdb.base/comprdebug.exp: New file.
1729
f6592439
PA
17302012-11-06 Pedro Alves <palves@redhat.com>
1731
1732 PR gdb/14810
1733
1734 * gdb.base/disabled-location.c: New file.
1735 * gdb.base/disabled-location.exp: New file.
1736
2d338fa9
TT
17372012-11-06 Tom Tromey <tromey@redhat.com>
1738
1739 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1740 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1741 gdb_gcore_cmd.
1742 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1743 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1744 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1745 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1746 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1747 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1748 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1749 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1750 * lib/gdb.exp (gdb_gcore_cmd): New proc.
1751
68c9da30
PA
17522012-11-05 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1755 procedure.
1756 (do_vfork_and_follow_child_tests_exec)
1757 (do_vfork_and_follow_child_tests_exit): Call it.
1758
a7c8c931
PA
17592012-11-05 Pedro Alves <palves@redhat.com>
1760
1761 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1762 fails.
1763
6f6484cd
YQ
17642012-11-03 Yao Qi <yao@codesourcery.com>
1765
1766 Fix PR gdb/14617.
1767 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1768 Remove setup_kfail, and update test.
1769
b45627a0
TT
17702012-11-02 Tom Tromey <tromey@redhat.com>
1771
1772 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1773 test.
1774
f50f4e56
PA
17752012-11-02 Pedro Alves <palves@redhat.com>
1776
1777 PR gdb/14766
1778
1779 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1780 setup_kfail.
1781 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1782 get registers".
1783
71ce889d
PA
17842012-11-02 Pedro Alves <palves@redhat.com>
1785
1786 * gdb.base/foll-vfork-exit.c: New file.
1787 * gdb.base/foll-vfork.exp (top level): New file-describing
1788 comment.
1789 (vfork_child_follow_to_exit): New procedure.
1790 (tcatch_vfork_then_child_follow): Rename as ...
1791 (tcatch_vfork_then_child_follow_exec): ... this.
1792 (tcatch_vfork_then_child_follow_exit): New procedure.
1793 (do_vfork_and_follow_parent_tests): New procedure, factored out
1794 from do_vfork_and_exec_tests.
1795 (do_vfork_and_follow_child_tests_exec): Ditto.
1796 (do_vfork_and_exec_tests): Delete.
1797 (do_vfork_and_follow_child_tests_exit): New procedure.
1798 (top level): Run tests with both the program that has the vfork
1799 child execing, and the program has the vfork child exiting.
1800
1e35b1a9
PA
18012012-11-02 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1804 (check_vfork_catchpoints, vfork_parent_follow_through_step)
1805 (vfork_parent_follow_to_bp): Call it.
1806 (kill_child): Delete.
1807 (vfork_and_exec_child_follow_to_main_bp)
1808 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
1809 longer call kill_child.
1810 (tcatch_vfork_then_parent_follow): Call setup_gdb.
1811 (do_vfork_and_exec_tests): Don't runto_main before calling each
1812 test procedure.
1813 (top level): Don't clean restart and set verbose before running
1814 each test procedure.
1815
18162012-11-02 Pedro Alves <palves@redhat.com>
1817
1818 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1819 (vfork_parent_follow_to_bp)
1820 (vfork_and_exec_child_follow_to_main_bp)
1821 (vfork_and_exec_child_follow_through_step)
1822 (tcatch_vfork_then_parent_follow)
1823 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1824 Use with_test_prefix.
1825
18262012-11-02 Pedro Alves <palves@redhat.com>
1827
1828 * gdb.base/foll-vfork.c: Add copyright header.
1829 * gdb.base/vforked-prog.c: Add copyright header.
1830
18312012-11-02 Pedro Alves <palves@redhat.com>
1832
1833 * gdb.base/foll-vfork.exp
1834 (vfork_and_exec_child_follow_through_step): Don't skip on
1835 non-HP/UX targets. Expect the next to only step one line on
1836 non-HP/UX targets, rather than stopping only after the exec.
1837
18382012-11-02 Pedro Alves <palves@redhat.com>
1839
1840 Don't hard code line numbers.
1841
1842 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1843 Expect text from the sources instead of a line number.
1844 (vfork_parent_follow_to_bp)
1845 (vfork_and_exec_child_follow_to_main_bp)
1846 (vfork_and_exec_child_follow_through_step)
1847 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1848 Use gdb_get_line_number.
1849
18502012-11-02 Pedro Alves <palves@redhat.com>
1851
1852 Modernize.
1853
1854 * gdb.base/foll-vfork.exp: Use standard_testfile and
1855 build_executable. Pass descriptive string to untested.
1856 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1857 (vfork_and_exec_child_follow_to_main_bp)
1858 (vfork_and_exec_child_follow_through_step)
1859 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1860 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1861 of send_gdb/gdb_expect.
1862
1863 (kill_child): New procedure.
1864 (vfork_and_exec_child_follow_to_main_bp)
1865 (vfork_and_exec_child_follow_through_step): Use it.
1866
f0559fff
YQ
18672012-11-02 Yao Qi <yao@codesourcery.com>
1868
1869 * gdb.base/setvar.exp: Test setting nested struct.
1870 * gdb.base/setvar.c (v_struct3): New.
1871
c207c6da
DE
18722012-11-01 Doug Evans <dje@google.com>
1873
1874 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1875 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1876 use them.
1877
2f27adfe
AB
18782012-10-31 Andrew Burgess <aburgess@broadcom.com>
1879
1880 PR cli/14772
1881 * gdb.base/gnu_vector.c (union_with_vector_1)
1882 (struct_with_vector_1): Add new struct and union for testing
1883 ptype.
1884 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1885 structs / unions containing vectors.
1886
bb662ca6
YQ
18872012-10-25 Yao Qi <yao@codesourcery.com>
1888
1889 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1890 'setup_kfail' instead of 'setup_kfail_for_target'.
1891 * gdb.base/varargs.exp: Likewise.
1892 * lib/gdb.exp (setup_kfail_for_target): Remove.
1893
635d23ff
MK
18942012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1895
1896 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1897
afdb064f
MK
18982012-10-25 Mark Kettenis <kettenis@gnu.org>
1899
1900 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1901
d99dcf51
JB
19022012-10-24 Joel Brobecker <brobecker@adacore.com>
1903
1904 * gdb.ada/set_wstr: New testcase.
1905
32560274
JB
19062012-10-24 Joel Brobecker <brobecker@adacore.com>
1907
1908 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1909
5ded5331
JB
19102012-10-24 Joel Brobecker <brobecker@adacore.com>
1911
1912 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1913
d8d84291
MK
19142012-10-24 Mark Kettenis <kettenis@gnu.org>
1915
1916 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1917
6e933c51
JK
19182012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1919
1920 * gdb.base/callfuncs.exp (do_function_calls): Fix
1921 setup_kfail_for_target for -m32 mode.
1922
274bd000
MK
19232012-10-23 Mark Kettenis <kettenis@gnu.org>
1924
1925 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1926 are now fixed.
1927
545f743d
YQ
19282012-10-23 Yao Qi <yao@codesourcery.com>
1929
1930 * gdb.base/info-os.exp: Resume the inferior until it exits.
1931
48b56b6a 19322012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1933
99c7d5a8 1934 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1935 * gdb.base/print-file-var.exp: Likewise.
1936 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 1937
8de0566d
YQ
19382012-10-17 Yao Qi <yao@codesourcery.com>
1939
1940 * gdb.mi/mi-memory-changed.exp: New.
1941
44883546
YQ
19422012-10-16 Yao Qi <yao@codesourcery.com>
1943
1944 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1945 returns true.
1946 Call gdb_load_shlibs.
1947 * gdb.reverse/solib-reverse.exp: Likewise.
1948
345f514a
KS
19492012-10-15 Keith Seitz <keiths@redhat.com>
1950
1951 * lib/cp-support.exp (cp_test_ptype_class): Add support
1952 for class typedefs.
1953
1954 * gdb.cp/derivation.exp: Add tests for g_instance.
1955
9e3a7d65
JK
19562012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1957
1958 Fix entry values resolving in inlined frames.
1959 * gdb.arch/amd64-entry-value-inline.S: New file.
1960 * gdb.arch/amd64-entry-value-inline.c: New file.
1961 * gdb.arch/amd64-entry-value-inline.exp: New file.
1962
21a7b089
JK
19632012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1964 Doug Evans <dje@google.com>
1965
1966 Fix recent gdb_breakpoint regression.
1967 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1968 braces from the parameter.
1969 * gdb.java/jprint.exp: Likewise.
1970
2c47921e
DE
19712012-10-15 Doug Evans <dje@google.com>
1972
1973 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1974
89398707
JB
19752012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1976
1977 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1978
801e4185
TT
19792012-10-15 Tom Tromey <tromey@redhat.com>
1980
1981 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1982
74f910c8
TT
19832012-10-15 Tom Tromey <tromey@redhat.com>
1984
1985 * gdb.python/py-symbol.exp: Test symbol destructor.
1986
91567807
YQ
19872012-10-14 Yao Qi <yao@codesourcery.com>
1988
1989 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1990 * gdb.mi/mi-cli.exp: New.
1991
1992 * gdb.mi/mi2-basics.exp: Remove.
1993 * gdb.mi/mi2-break.exp: Remove.
1994 * gdb.mi/mi2-console.exp: Remove.
1995 * gdb.mi/mi2-disassemble.exp: Remove.
1996 * gdb.mi/mi2-eval.exp: Remove.
1997 * gdb.mi/mi2-file.exp: Remove.
1998 * gdb.mi/mi2-hack-cli.exp: Remove.
1999 * gdb.mi/mi2-pthreads.exp: Remove.
2000 * gdb.mi/mi2-read-memory.exp: Remove.
2001 * gdb.mi/mi2-regs.exp: Remove.
2002 * gdb.mi/mi2-return.exp: Remove.
2003 * gdb.mi/mi2-simplerun.exp: Remove.
2004 * gdb.mi/mi2-stack.exp: Remove.
2005 * gdb.mi/mi2-stepi.exp: Remove.
2006 * gdb.mi/mi2-syn-frame.exp: Remove.
2007 * gdb.mi/mi2-until.exp: Remove.
2008 * gdb.mi/mi2-watch.exp: Remove.
2009 * gdb.mi/mi2-var-block.exp: Remove.
2010 * gdb.mi/mi2-var-cmd.exp: Remove.
2011 * gdb.mi/mi2-var-display.exp: Remove.
2012
87332029
YQ
20132012-10-12 Yao Qi <yao@codesourcery.com>
2014
2015 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2016 trail '.*' on matching patterns.
2017
11fc9057
L
20182012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2019
2020 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2021 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2022 * gdb.arch/i386-disp-step.exp: Likewise.
2023 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2024 * gdb.arch/i386-prologue.exp: Likewise.
2025 * gdb.arch/i386-size-overlap.exp: Likewise.
2026 * gdb.arch/i386-size.exp: Likewise.
2027 * gdb.arch/i386-unwind.exp: Likewise.
2028
7d46bcdc
L
20292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2032 * gdb.arch/i386-word.exp: Likewise.
2033
31224d9d
L
20342012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2035
2036 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2037 is_ilp32_target to set nr_regs.
2038 * gdb.arch/i386-sse.exp: Likewise.
2039
5b7d0050
DE
20402012-10-11 Doug Evans <dje@google.com>
2041
7c09e5a0
DE
2042 PR breakpoints/14643.
2043 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2044 * gdb.linespec/thread.c: New file.
2045 * gdb.linespec/thread.exp: New file.
2046
5b7d0050
DE
2047 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2048 Recognize "message" -> print pass and fail. Add eof case.
2049 (runto): Recognize message, no-message. Print pass/fail if requested,
2050 with same treatment as gdb_breakpoint.
2051 (runto_main): Pass no-message to runto.
2052 (gdb_internal_error_resync): Add log message.
2053 (gdb_file_cmd): Tweak internal error fail text for consistency.
2054
2e24f4aa
JK
20552012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 Fix crash during stepping on ppc32.
2058 * gdb.base/step-symless.c: New file.
2059 * gdb.base/step-symless.exp: New file.
2060
aa14df25
DE
20612012-10-03 Doug Evans <dje@google.com>
2062
2063 PR symtab/14601
2064 * gdb.cp/using-crash.exp: New file.
2065 * gdb.cp/using-crash.cc: New file.
2066
975531db
DE
20672012-10-02 Doug Evans <dje@google.com>
2068
2069 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2070 more consistent.
2071 (runto,gdb_debug_format): Ditto.
2072 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2073 Clean up logging and error messages.
2074
b3dc46ff
AB
20752012-10-01 Andrew Burgess <aburgess@broadcom.com>
2076
2077 Test find command on unmapped memory.
2078 * gdb.base/find-unmapped.c: New file.
2079 * gdb.base/find-unmapped.exp: New file.
2080
45814d45
YQ
20812012-09-29 Yao Qi <yao@codesourcery.com>
2082
2083 * gdb.trace/mi-tracepoint-changed.exp: New.
2084 * gdb.mi/mi-breakpoint-changed.exp: New.
2085 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2086 * gdb.mi/pendshr2.c: New.
2087
4c2786ba
YQ
20882012-09-28 Yao Qi <yao@codesourcery.com>
2089
2090 * gdb.mi/pr11022.exp: New.
2091 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2092
7977e5d2
TT
20932012-09-27 Tom Tromey <tromey@redhat.com>
2094
2095 * gdb.cp/derivation.exp: Add regression test.
2096 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2097 V_derived): New.
2098 (vderived): New global.
2099
0971de02
TT
21002012-09-26 Tom Tromey <tromey@redhat.com>
2101
2102 * gdb.dwarf2/dw2-common-block.S: New file.
2103 * gdb.dwarf2/dw2-common-block.exp: New file.
2104
4357ac6c
TT
21052012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2106
2107 * gdb.fortran/common-block.exp: New file.
2108 * gdb.fortran/common-block.f90: New file.
2109
6f380991
AB
21102012-09-26 Andrew Burgess <aburgess@broadcom.com>
2111
2112 * gdb.base/duplicate-bp.c: New file.
2113 * gdb.base/duplicate-bp.exp: New file.
2114
8ae551cf
YQ
21152012-09-26 Yao Qi <yao@codesourcery.com>
2116
2117 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2118
2119 Revert:
2120 2012-09-21 Yao Qi <yao@codesourcery.com>
2121
2122 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2123
318102b9
SP
21242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2125
2126 * gdb.base/longest-types.c: New test case.
2127 * gdb.base/longest-types.exp: New test case.
2128
a1e5fd69
YQ
21292012-09-25 Yao Qi <yao@codesourcery.com>
2130
2131 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2132
04e7407c
JK
21332012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2134
2135 Fix internal error on canonicalization of clang types.
2136 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2137 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2138 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2139
9bf4bce9
JK
21402012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2141
2142 Fix disassemble without parameters in tailcall frame.
2143 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2144
2603f7ee
AB
21452012-09-21 Andrew Burgess <aburgess@broadcom.com>
2146
2147 * gdb.dwarf2/dw2-op-out-param.S: New file.
2148 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2149
a3569abd
YQ
21502012-09-21 Yao Qi <yao@codesourcery.com>
2151
2152 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2153
a065d7af
YQ
21542012-09-21 Yao Qi <yao@codesourcery.com>
2155
2156 * gdb.mi/mi-cli.exp: Remove.
2157 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2158
15544bd9
YQ
21592012-09-21 Yao Qi <yao@codesourcery.com>
2160
2161 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2162 "=record-started" notification.
2163
82a90ccf
YQ
21642012-09-21 Yao Qi <yao@codesourcery.com>
2165
2166 * gdb.mi/mi-record-changed.exp: New.
2167 * gdb.mi/mi-reverse.exp: Adjust expected output.
2168
d7de8e3c
TT
21692012-09-20 Tom Tromey <tromey@redhat.com>
2170
2171 * gdb.python/python.exp: Test atexit.register.
2172
1aa99537
DE
21732012-09-20 Doug Evans <dje@google.com>
2174
05eade73
DE
2175 * boards/dwarf4-gdb-index.exp: New file.
2176
1aa99537
DE
2177 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2178 while running the tests.
2179
4ae24af0
JB
21802012-09-18 Joel Brobecker <brobecker@adacore.com>
2181
2182 * gdb.ada/bp_reset: New testcase.
2183
bb25a15c
YQ
21842012-09-18 Yao Qi <yao@codesourcery.com>
2185
2186 * gdb.trace/mi-tsv-changed.exp: New.
2187
201b4506
YQ
21882012-09-18 Yao Qi <yao@codesourcery.com>
2189
2190 * gdb.trace/mi-traceframe-changed.exp: New.
2191
6fc1c773
YQ
21922012-09-17 Yao Qi <yao@codesourcery.com>
2193
2194 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2195 when it is less than 0.
2196
1ab3b62c
JK
21972012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2198
2199 PR 14119
2200 * gdb.arch/amd64-tailcall-ret.S: New file.
2201 * gdb.arch/amd64-tailcall-ret.c: New file.
2202 * gdb.arch/amd64-tailcall-ret.exp: New file.
2203 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2204 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2205 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2206
acf9414f
JK
22072012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2208
2209 PR 14548
2210 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2211 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2212 * gdb.reverse/singlejmp-reverse.S: New file.
2213 * gdb.reverse/singlejmp-reverse.c: New file.
2214 * gdb.reverse/singlejmp-reverse.exp: New file.
2215
666b578b
JK
22162012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2217
2218 Fix compatibility with old GCC (~4.1).
2219 * gdb.cp/converts.cc (my_enum_var): New variable.
2220
42056501
AB
22212012-09-14 Andrew Burgess <aburgess@broadcom.com>
2222
2223 * gdb.xml/tdesc-regs.exp: Update expected output for new
2224 vector_size syntax of vector types.
2225
b9516fa1
YPK
22262012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
2227
2228 Refactor Python "gdb" module into a proper Python package, by
2229 introducing a new "_gdb" module for code implemented in C, and
2230 using reload/__import__ instead of exec.
2231 * gdb.python/python.exp (Test stderr location): Update module
2232 location of GDB-specific sys.stderr.
2233 (Test stdout location): Ditto for sys.stdout.
2234
18dc9ad8
JK
22352012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2236
2237 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2238
ea3a9873
KS
22392012-09-12 Keith Seitz <keiths@redhat.com>
2240
2241 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2242 conversion statement.
2243
5941debb
DE
22442012-09-12 Doug Evans <dje@google.com>
2245
2246 * gdb.base/help.exp: Remove testing of individual command help text,
2247 too much of a maintenance burden. Instead, test the functionality
2248 of "help" itself.
2249
cfc35e02
DE
22502012-09-11 Doug Evans <dje@google.com>
2251
3a0ed5d7
DE
2252 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2253 breakpoint.
2254
cfc35e02
DE
2255 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
2256 * gdb.dwarf2/fission-reread.S: Ditto.
2257 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
2258 * gdb.dwarf2/fission-reread.exp: Ditto.
2259
350b1b26
AB
22602012-09-11 Andrew Burgess <aburgess@broadcom.com>
2261
2262 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
2263
2fa15f23
JB
22642012-09-10 Joel Brobecker <brobecker@adacore.com>
2265
2266 * gdb.ada/optim_drec: New testcase.
2267
09be558e
DE
22682012-09-10 Doug Evans <dje@google.com>
2269
2270 * boards/fission.exp: Explicitly mark "board" as not remote.
2271
5b4f6e25
KS
22722012-09-10 Keith Seitz <keiths@redhat.com>
2273
2274 PR gdb/13483
2275 * gdb.cp/converts.cc (A::A): Add ctor.
2276 (A::member_): Add member.
2277 (enum my_enum): New enumeration.
2278 (main): Add calls to foo1_7 with various
2279 permitted arguments.
2280 * gdb.cp/converts.exp: Add tests for boolean
2281 conversions permitted by the standard.
2282
b4ca5ed9
YPK
22832012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
2284
2285 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
2286 avoid spurious results due to ~/.gdbinit.
2287 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
2288 $INTERNAL_GDBFLAGS in run command.
2289 * gdb.gdb/observer.exp (setup_test): Ditto.
2290 * gdb.gdb/selftest.exp (test_with_self): Ditto.
2291 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
2292
d54b30bb
DE
22932012-09-06 Doug Evans <dje@google.com>
2294
14910956
DE
2295 * boards/fission.exp: New file.
2296
d54b30bb
DE
2297 * gdb.python/py-value.exp: Use clean_restart.
2298
91b253e1
DE
22992012-09-05 Doug Evans <dje@google.com>
2300
2301 * gdb.base/info-macros.c: Fix whitespace.
2302
1292279a
PA
23032012-08-28 Pedro Alves <palves@redhat.com>
2304
2305 PR gdb/14428
2306
2307 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2308
1c8cdcb1
JK
23092012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2310
2311 * gdb.base/break-caller-line.c: New file.
2312 * gdb.base/break-caller-line.exp: New file.
2313
1e8e8b51
JK
23142012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2315
2316 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
2317 * gdb.arch/i386-cfi-notcurrent.S: New file.
2318 * gdb.arch/i386-cfi-notcurrent.exp: New file.
2319
1591a1e8
PA
23202012-08-27 Wei-cheng Wang <cole945@gmail.com>
2321 Yao Qi <yao@codesourcery.com>
2322 Pedro Alves <palves@redhat.com>
2323
2324 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
2325 New procedures.
2326 (top level): Add overlap checking tests.
2327
4442ada7
TT
23282012-08-24 Tom Tromey <tromey@redhat.com>
2329
2330 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
2331 gdb_test_multiple fails for other reasons.
2332
e7d50cc9
YQ
23332012-08-24 Yao Qi <yao@codesourcery.com>
2334
2335 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
2336
dfbd5e7b
PA
23372012-08-23 Pedro Alves <palves@redhat.com>
2338
2339 * gdb.base/help.exp: Adjust to "handle" help text change.
2340
8d735b87
YQ
23412012-08-23 Yao Qi <yao@codesourcery.com>
2342
2343 * gdb.trace/disconnected-tracing.c (start, end): New.
2344 (main): Call start and end.
2345 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
2346 existing tests into this proc.
2347 (disconnected_tfind): New.
2348
61b1d759
YQ
23492012-08-23 Yao Qi <yao@codesourcery.com>
2350
2351 * boards/native-gdbserver.exp (${board}_upload): New.
2352 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
2353 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
2354 Execute tfile on remote target.
2355 Copy trace file from target to host.
2356
6ca1b147
JM
23572012-08-22 Joseph Myers <joseph@codesourcery.com>
2358
2359 * gdb.arch/thumb-bx-pc.S: New file.
2360 * gdb.arch/thumb-bx-pc.exp: New file.
2361
706e3705
TT
23622012-08-22 Tom Tromey <tromey@redhat.com>
2363
2364 * gdb.base/maint.exp: Update.
2365
b4893d48
TT
23662012-08-22 Tom Tromey <tromey@redhat.com>
2367
2368 * lib/gdb.exp (skip_unwinder_tests): New proc.
2369 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
2370 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
2371
45b7da81
TT
23722012-08-21 Tom Tromey <tromey@redhat.com>
2373
2374 * gdb.hp/gdb.aCC/exception.exp: Remove.
2375
f94363d7
AP
2376012-08-19 Andrew Pinski <apinski@cavium.com>
2377
2378 * gdb.arch/mips-octeon-bbit.c: New file.
2379 * gdb.arch/mips-octeon-bbit.exp: New Test.
2380
e5afdbd7
KS
2381012-08-19 Keith Seitz <keiths@redhat.com>
2382
2383 PR c++/14365
2384 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
2385 * gdb.dwarf2/dw2-anon-mptr.S: New file.
2386
c29e8b64
JK
23872012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2388
2389 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
2390 verbose -log by more specific untested call.
2391
15a7e7bc
YQ
23922012-08-18 Yao Qi <yao@codesourcery.com>
2393
2394 * gdb.trace/tfind.exp: Move tests on various command help before
2395 checking target supports trace.
2396 Fix the expected output of 'help tfind end'.
2397
a451cb65
KS
23982012-08-17 Keith Seitz <keiths@redhat.com>
2399
2400 PR c++/13356
2401 * gdb.base/default.exp: Update all "check type" tests.
2402 * gdb.base/help.exp: Likewise.
2403 * gdb.base/setshow.exp: Likewise.
2404 * gdb.cp/converts.cc (foo1_type_check): New function.
2405 (foo2_type_check): New function.
2406 (foo3_type_check): New function.
2407 (main): Call new functions.
2408 * converts.exp: Add tests for integer-to-pointer conversions
2409 with/without strict type-checking.
2410
dbf6a605
MF
24112012-08-16 Mike Frysinger <vapier@gentoo.org>
2412
2413 * gdb.base/help.exp: Update expected output.
2414
0c92d8c1
JB
24152012-08-16 Joel Brobecker <brobecker@adacore.com>
2416
2417 * gdb.ada/rdv_wait: New testcase.
2418
e56f7f42
JK
24192012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2420
2421 * gdb.base/attach-twice.exp: Remove excessive ps exec.
2422
f47f77df
DE
24232012-08-13 Doug Evans <dje@google.com>
2424
e202d6e8 2425 * gdb.base/help.exp: Update expected output.
f47f77df
DE
2426 * gdb.base/default.exp: Update expected output of "show convenience".
2427
a72c3253
DE
24282012-08-10 Doug Evans <dje@google.com>
2429
2430 * gdb.python/py-strfns.c: New file.
2431 * gdb.python/py-strfns.exp: New file.
2432 * gdb.python/py-type.exp (test_fields): Add vector tests.
2433
de0bea00
MF
24342012-08-10 Mike Frysinger <vapier@gentoo.org>
2435
2436 PR cli/10436:
2437 * gdb.base/completion.exp: Add tests for handle completion.
2438
5b9afe8a
YQ
24392012-08-09 Yao Qi <yao@codesourcery.com>
2440
2441 * gdb.mi/mi-cmd-param-changed.exp: New.
2442 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
2443 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
2444 * gdb.mi/mi2-prompt.exp: Likewise.
2445
4f485ebc
DE
24462012-08-08 Doug Evans <dje@google.com>
2447
2448 * gdb.base/debug-expr.c: New file.
2449 * gdb.base/debug-expr.exp: New file.
2450 * gdb.base/exprs.exp: Test {type} casts.
2451 * gdb.cp/debug-expr.exp: New file.
2452
5888842d
JK
24532012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2454
2455 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
2456 global variable loop, not a 'break'. Add loop count limit to 100.
2457 Add new fail case for terminated vgdb.
2458
4f69f4c2
JK
24592012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2460 Jean-Marc Saffroy <saffroy@gmail.com>
2461
2462 PR 11804
2463 * gdb.base/gcore-relro.exp: New file.
2464 * gdb.base/gcore-relro-main.c: New file.
2465 * gdb.base/gcore-relro-lib.c: New file.
2466
e2de5390
JK
24672012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2468
2469 Do not false FAIL with old GCCs.
2470 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
2471 GCC < 4.5 in $no_hw mode.
2472
606603c5
JK
24732012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2474
2475 * gdb.base/default.exp (cd): Accept new directory with no arguments.
2476
777f26c2
JK
24772012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2478
2479 * gdb.base/list.exp (test_only_end): New function.
2480 Call it.
2481
2c12abee
TT
24822012-08-06 Tom Tromey <tromey@redhat.com>
2483
2484 * gdb.python/py-mi.exp: Add test for printer whose children
2485 are a list.
2486 * gdb.python/py-prettyprint.c (struct children_as_list): New.
2487 (main): New variable children_as_list.
2488 * gdb.python/py-prettyprint.py (class pp_children_as_list):
2489 New.
2490 (register_pretty_printers): Register new printer.
2491
0eae2cf4
EBM
24922012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2493
2494 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
2495 symbols. Abort if vgdb remote connection is closed.
2496
09e0881d
DE
24972012-08-02 Doug Evans <dje@google.com>
2498
2499 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
2500
b40f514f
SDJ
25012012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
2502
2503 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
2504 s390x, PowerPC 64 and m68k-linux.
2505
11315ae0
UW
25062012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2507
2508 * gdb.base/annota1.exp: Accept no frames-invalid notification
2509 when starting up the program.
2510 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
2511 show a symbolic value as well.
2512 * gdb.server/server-exec-info.exp: Skip test when skipping
2513 gdbserver test and/or when skipping shared library tests.
2514 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
2515 avoid name conflicts with other tests.
2516
0547eeed
UW
25172012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2518
2519 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
2520 Fix wrong output on big-endian systems.
2521 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
2522 4-byte pointer types on 64-bit s390x.
2523
bdddb4de
UW
25242012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2525
2526 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
2527 marker comment at the beginning (after intialization).
2528 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
2529 breakpoint on marker comment instead of function begin.
2530 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
2531 PowerPC.
2532 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
2533 or 64-bit PowerPC.
2534 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
2535 gdb,no_hardware_watchpoints flag is set.
2536 (initialize): Remove now redundant can-use-hw-watchpoints change.
2537
5d206025
YQ
25382012-08-02 Yao Qi <yao@codesourcery.com>
2539 Pedro Alves <palves@redhat.com>
2540
2541 * boards/local-remote-host.exp: New.
2542
4f665099
UW
25432012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2544
2545 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
2546 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
2547 * gdb.base/print-file-var.exp: Likewise.
2548 * gdb.server/solib-list.exp: Skip on remote targets.
2549
b62e2b27
UW
25502012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2551
2552 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
2553 watchpoints on ARM. When expecting software watchpoints, tolerate
2554 (remote) targets that report unsupported hardware watchpoint only
2555 at continue time.
2556 (test_wide_location_2): Likewise.
2557
a967a851
JK
25582012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2559
2560 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
2561 valgrind versions.
2562
75d9f9ff 25632012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
2564
2565 * gdb.base/valgrind-infcall.c: New file.
2566 * gdb.base/valgrind-infcall.exp: New file.
2567
75d9f9ff
JK
2568 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2569
1c9f2ed2
KS
25702012-07-30 Keith Seitz <keiths@redhat.com>
2571
2572 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2573 linespecs.
2574
7f9b2034
DE
25752012-07-30 Doug Evans <dje@google.com>
2576
85220e01
DE
2577 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2578 * gdb.dwarf2/pr13961.S: Ditto.
2579
7f9b2034
DE
2580 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2581
4e969b4f
AB
25822012-07-30 Andrew Burgess <aburgess@broadcom.com>
2583
2584 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2585 change its format immediately after reloading the binary.
2586
e7de8362
JK
25872012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2588
2589 Fix testsuite regression after --use-deprecated-index-sections removal.
2590 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2591 string.
2592 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2593
7255706c
YQ
25942012-07-27 Yao Qi <yao@codesourcery.com>
2595
2596 KFAIL for PR remote/14161.
2597 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2598 Cleanup socket files.
2599 (strace_info_marker): Detach inferior.
2600
f2e8016f
TT
26012012-07-26 Tom Tromey <tromey@redhat.com>
2602
6fdff2c5 2603 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 2604
f66713d2
JK
26052012-07-26 Markus Metzger <markus.t.metzger@intel.com>
2606
2607 * gdb.python/py-inferior.c (thread): New function.
2608 (check_threads): New function.
2609 (test_threads): New function.
2610 * gdb.python/py-inferior.exp: Added test.
2611 Replaced runto with continue to breakpoint.
2612
8223e12c
TT
26132012-07-26 Tom Tromey <tromey@redhat.com>
2614
2615 * lib/ada.exp (standard_ada_testfile): New proc.
2616 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2617 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2618 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2619 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2620 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2621 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2622 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2623 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2624 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2625 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2626 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2627 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2628 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2629 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2630 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2631 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2632 * gdb.ada/complete.exp: Use standard_ada_testfile.
2633 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2634 standard_output_file.
2635 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2636 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2637 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2638 standard_output_file.
2639 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2640 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2641 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2642 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2643 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2644 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2645 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2646 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2647 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2648 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2649 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2650 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2651 * gdb.ada/interface.exp: Use standard_ada_testfile.
2652 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2653 standard_output_file
2654 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2655 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2656 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2657 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2658 * gdb.ada/nested.exp: Use standard_ada_testfile.
2659 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2660 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2661 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2662 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2663 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2664 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2665 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2666 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2667 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2668 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2669 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2670 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2671 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2672 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2673 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2674 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2675 * gdb.ada/start.exp: Use standard_ada_testfile.
2676 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2677 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2678 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2679 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2680 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2681 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2682 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2683 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2684 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2685 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2686 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2687 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2688 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2689 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2690
bbec57e4
JK
26912012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2692
2693 Fix testsuite regression after --use-deprecated-index-sections removal.
2694 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2695
9cc8e32c
JK
26962012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2697
2698 Fix compatibility with Tcl before 7.5.
2699 * lib/future.exp (lreverse): New function if it does not exist.
2700
ea5ca7b5
MK
27012012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2702
2703 * gdb.mi/mi-pending.c: New method to set a second pending
2704 breakpoint.
2705 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2706 condition.
2707
64776a0b
PA
27082012-07-20 Pedro Alves <palves@redhat.com>
2709
2710 PR threads/11692
2711 PR gdb/12203
2712
2713 * gdb.threads/create-fail.c: New file.
2714 * gdb.threads/create-fail.exp: New file.
2715
13e4e967
PA
27162012-07-19 Pedro Alves <palves@redhat.com>
2717
2718 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2719 * config/vx.exp (gdb_start): Likewise.
2720 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2721 * gdb.base/setvar.exp (test_set): Likewise.
2722 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2723 * gdb.reverse/sigall-precsave.exp: Likewise.
2724 * gdb.reverse/sigall-reverse.exp: Likewise.
2725
b7aefa4d
PA
27262012-07-19 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2729 handler before recording.
2730
608b4967
TT
27312012-07-19 Tom Tromey <tromey@redhat.com>
2732
2733 * gdb.cp/casts.exp: Add tests for typeof and decltype.
2734 * gdb.cp/casts.cc (decltype): New function.
2735 (main): Use it.
2736
b1e0c0fa
PA
27372012-07-19 Pedro Alves <palves@redhat.com>
2738
2739 * gdb.base/sigall.exp (signals): New list.
2740 <top level>: Loop over signals in the $signals list instead of
2741 calling a test function once per signal.
2742 * gdb.reverse/sigall-precsave.exp (signals): New list.
2743 <top level>: Loop over signals in the $signals list instead of
2744 calling a test function once per signal.
2745 * gdb.reverse/sigall-reverse.exp (signals): New list.
2746 <top level>: Loop over signals in the $signals list instead of
2747 calling a test function once per signal.
2748
6ace3df1
YQ
27492012-07-19 Yao Qi <yao@codesourcery.com>
2750
2751 * gdb.base/setshow.exp: Test 'set args ~'.
2752
263a0f8c
JK
27532012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2754
2755 * gdb.base/store.exp (check_set): Import gdb_prompt.
2756 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2757 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2758
8f043999
JK
27592012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2760
2761 PR 11914
2762 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2763 (main): Call eval_sub.
2764 * gdb.python/py-prettyprint.exp:
2765 (python execfile ('py-prettyprint.py')): Move it earlier.
2766 New breakpoint for eval-break.
2767 (continue to breakpoint: eval-break, info locals): New test.
2768 (python execfile ('py-prettyprint.py')): Move it from here.
2769 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2770 (register_pretty_printers): Register pp_eval_type.
2771
725c7b66
JK
27722012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2773
2774 Fix a testcase regression by me.
2775 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2776 DW_FORM_data4.
2777
4359dff1
JK
27782012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2779 Doug Evans <dje@google.com>
2780
2781 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2782 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2783
61e44cfa
JK
27842012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2785
2786 Fix gdbserver run regression.
2787 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2788
93c0ef37
TT
27892012-07-12 Tom Tromey <tromey@redhat.com>
2790
2791 * lib/gdb.exp (standard_testfile): Don't declare objdir.
2792 (clean_restart): Likewise.
2793 (core_find): Use standard_output_file.
2794
76027ef5
TT
27952012-07-12 Tom Tromey <tromey@redhat.com>
2796
2797 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2798 * gdb.dwarf2/dw2-anonymous-func.exp: Use
2799 prepare_for_testing_full.
2800 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2801 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2802 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2803 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2804 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2805 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2806 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2807 prepare_for_testing_full.
2808 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2809 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2810 prepare_for_testing_full.
2811 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2812 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2813 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2814
85b4440a
TT
28152012-07-12 Tom Tromey <tromey@redhat.com>
2816
2817 * lib/gdb.exp (build_executable_from_specs): New proc, from
2818 build_executable.
2819 (build_executable): Use it.
2820 (prepare_for_testing_full): New proc.
2821
55baab26
TT
28222012-07-11 Tom Tromey <tromey@redhat.com>
2823
2824 * gdb.reverse/break-precsave.exp: Use standard_output_file.
2825 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2826 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2827 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2828 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2829 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2830 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2831 * gdb.reverse/step-precsave.exp: Use standard_output_file.
2832 * gdb.reverse/until-precsave.exp: Use standard_output_file.
2833 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2834
298a9cf0
TT
28352012-07-10 Tom Tromey <tromey@redhat.com>
2836
2837 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2838 standard_output_file.
2839 * gdb.mi/gdb2549.exp: Use standard_testfile.
2840 * gdb.mi/gdb669.exp: Use standard_testfile.
2841 * gdb.mi/gdb701.exp: Use standard_testfile.
2842 * gdb.mi/gdb792.exp: Use standard_testfile.
2843 * gdb.mi/mi-async.exp: Use standard_testfile.
2844 * gdb.mi/mi-basics.exp: Use standard_testfile.
2845 * gdb.mi/mi-break.exp: Use standard_testfile.
2846 * gdb.mi/mi-cli.exp: Use standard_testfile.
2847 * gdb.mi/mi-console.exp: Use standard_testfile.
2848 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2849 * gdb.mi/mi-eval.exp: Use standard_testfile.
2850 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2851 * gdb.mi/mi-file.exp: Use standard_testfile.
2852 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2853 * gdb.mi/mi-logging.exp: Use standard_testfile.
2854 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2855 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2856 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2857 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2858 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2859 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2860 * gdb.mi/mi-pending.exp: Use standard_testfile,
2861 standard_output_file.
2862 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2863 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2864 * gdb.mi/mi-regs.exp: Use standard_testfile.
2865 * gdb.mi/mi-return.exp: Use standard_testfile.
2866 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2867 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2868 * gdb.mi/mi-solib.exp: Use standard_testfile,
2869 standard_output_file.
2870 * gdb.mi/mi-stack.exp: Use standard_testfile.
2871 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2872 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2873 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2874 * gdb.mi/mi-until.exp: Use standard_testfile.
2875 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2876 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2877 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2878 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2879 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2880 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2881 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2882 standard_output_file.
2883 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2884 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2885 * gdb.mi/mi-watch.exp: Use standard_testfile.
2886 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2887 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2888 * gdb.mi/mi2-break.exp: Use standard_testfile.
2889 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2890 * gdb.mi/mi2-console.exp: Use standard_testfile.
2891 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2892 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2893 * gdb.mi/mi2-file.exp: Use standard_testfile.
2894 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2895 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2896 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2897 * gdb.mi/mi2-return.exp: Use standard_testfile.
2898 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2899 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2900 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2901 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2902 * gdb.mi/mi2-until.exp: Use standard_testfile.
2903 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2904 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2905 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2906 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2907 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2908
f5f3a911
TT
29092012-07-10 Tom Tromey <tromey@redhat.com>
2910
2911 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2912 * gdb.cp/ambiguous.exp: Use standard_testfile,
2913 prepare_for_testing.
2914 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2915 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2916 * gdb.cp/anon-ns.exp: Use standard_testfile.
2917 * gdb.cp/anon-struct.exp: Use standard_testfile.
2918 * gdb.cp/anon-union.exp: Use standard_testfile,
2919 prepare_for_testing.
2920 * gdb.cp/arg-reference.exp: Use standard_testfile,
2921 prepare_for_testing.
2922 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2923 * gdb.cp/breakpoint.exp: Use standard_testfile,
2924 prepare_for_testing.
2925 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2926 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2927 standard_output_file.
2928 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2929 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2930 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2931 (test_static_members): Update.
2932 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2933 * gdb.cp/converts.exp: Use standard_testfile.
2934 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2935 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2936 prepare_for_testing.
2937 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2938 * gdb.cp/cplabel.exp: Use standard_testfile.
2939 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2940 prepare_for_testing.
2941 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2942 * gdb.cp/derivation.exp: Use standard_testfile,
2943 prepare_for_testing.
2944 * gdb.cp/destrprint.exp: Use standard_testfile.
2945 * gdb.cp/dispcxx.exp: Use standard_testfile.
2946 * gdb.cp/exception.exp: Use standard_testfile,
2947 prepare_for_testing.
2948 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2949 * gdb.cp/extern-c.exp: Use standard_testfile,
2950 prepare_for_testing.
2951 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2952 prepare_for_testing.
2953 * gdb.cp/fpointer.exp: Use standard_testfile.
2954 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2955 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2956 standard_output_file.
2957 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2958 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2959 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2960 standard_output_file.
2961 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2962 (do_tests): Update.
2963 * gdb.cp/koenig.exp: Use standard_testfile.
2964 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2965 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2966 * gdb.cp/m-static.exp: Use standard_testfile,
2967 prepare_for_testing.
2968 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2969 * gdb.cp/mb-inline.exp: Use standard_testfile,
2970 prepare_for_testing.
2971 * gdb.cp/mb-templates.exp: Use standard_testfile,
2972 prepare_for_testing.
2973 * gdb.cp/member-ptr.exp: Use standard_testfile,
2974 prepare_for_testing.
2975 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2976 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2977 * gdb.cp/method2.exp: Use standard_testfile.
2978 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2979 standard_output_file.
2980 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2981 (do_tests): Update.
2982 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2983 prepare_for_testing.
2984 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2985 prepare_for_testing.
2986 * gdb.cp/namespace.exp: Use standard_testfile,
2987 prepare_for_testing.
2988 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2989 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2990 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2991 * gdb.cp/nsimport.exp: Use standard_testfile,
2992 prepare_for_testing.
2993 * gdb.cp/nsnested.exp: Use standard_testfile.
2994 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2995 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2996 prepare_for_testing.
2997 * gdb.cp/nsstress.exp: Use standard_testfile,
2998 prepare_for_testing.
2999 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3000 * gdb.cp/operator.exp: Use standard_testfile.
3001 * gdb.cp/oranking.exp: Use standard_testfile.
3002 * gdb.cp/overload-const.exp: Use standard_testfile.
3003 * gdb.cp/overload.exp: Use standard_testfile,
3004 prepare_for_testing.
3005 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3006 * gdb.cp/ovsrch.exp: Use standard_testfile.
3007 * gdb.cp/paren-type.exp: Use standard_testfile.
3008 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3009 prepare_for_testing.
3010 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3011 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3012 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3013 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3014 * gdb.cp/pr10728.exp: Use standard_testfile,
3015 standard_output_file.
3016 * gdb.cp/pr12028.exp: Use standard_testfile.
3017 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3018 * gdb.cp/pr9167.exp: Use standard_testfile.
3019 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3020 * gdb.cp/printmethod.exp: Use standard_testfile,
3021 prepare_for_testing.
3022 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3023 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3024 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3025 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3026 standard_output_file.
3027 * gdb.cp/readnow-language.exp: Use standard_testfile.
3028 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3029 (gdb_start_again): Use clean_restart.
3030 * gdb.cp/ref-types.exp: Use standard_testfile,
3031 prepare_for_testing.
3032 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3033 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3034 * gdb.cp/smartp.exp: Use standard_testfile.
3035 * gdb.cp/static-method.exp: Use standard_testfile.
3036 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3037 * gdb.cp/temargs.exp: Use standard_testfile.
3038 * gdb.cp/templates.exp: Use standard_testfile,
3039 prepare_for_testing.
3040 (do_tests): Update.
3041 * gdb.cp/try_catch.exp: Use standard_testfile,
3042 prepare_for_testing.
3043 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3044 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3045 * gdb.cp/virtbase.exp: Use standard_testfile,
3046 prepare_for_testing.
3047 * gdb.cp/virtfunc.exp: Use standard_testfile,
3048 prepare_for_testing.
3049 (do_tests): Update.
3050 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3051 prepare_for_testing.
3052
686f09d0
TT
30532012-07-10 Tom Tromey <tromey@redhat.com>
3054
3055 * lib/gdb.exp (standard_testfile): Unset output variables from
3056 earlier invocations.
3057
9357e021
YQ
30582012-07-10 Yao Qi <yao@codesourcery.com>
3059
3060 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3061 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3062 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3063 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3064 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3065 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3066 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3067 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3068 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3069 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3070 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3071 * gdb.mi/mi-var-display.exp: Likewise.
3072 * gdb.mi/mi-var-invalidate.exp: Likewise.
3073 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3074 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3075 * gdb.mi/mi2-console.exp: Likewise.
3076 * gdb.mi/mi2-disassemble.exp: Likewise.
3077 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3078 * gdb.mi/mi2-read-memory.exp: Likewise.
3079 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3080 * gdb.mi/mi2-simplerun.exp: Likewise.
3081 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3082 * gdb.mi/mi2-syn-frame.exp: Likewise.
3083 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3084 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3085 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3086
e314d629
TT
30872012-07-09 Tom Tromey <tromey@redhat.com>
3088
3089 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3090 * gdb.base/callfuncs.exp: Add cast-based test.
3091 * gdb.base/callfuncs.c (voidfunc): New function.
3092
06928b3f
DE
30932012-07-08 Doug Evans <dje@google.com>
3094
3095 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3096
32f11bad
JK
30972012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3098
3099 Fix XFAIL compatibility with old i386 systems.
3100 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3101 Check also 'Cannot insert breakpoint 0'.
3102
76b83c51
JK
31032012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3104
3105 PR 14321
3106 * gdb.base/find.exp
3107 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3108
a6fb9c08
TT
31092012-07-06 Tom Tromey <tromey@redhat.com>
3110
3111 * gdb.base/whatis.exp: Add test.
3112
71918a86
TT
31132012-07-06 Tom Tromey <tromey@redhat.com>
3114
3115 * gdb.base/whatis.exp: Add regression test.
3116
fcde5961
TT
31172012-07-06 Tom Tromey <tromey@redhat.com>
3118
3119 * gdb.base/whatis.exp: Add tests.
3120
f9cf0f4a
JK
31212012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3122
3123 PR 12649
3124 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3125 gdb_test_multiple $gdb_prompt terminator.
3126
979ade8b
PA
31272012-07-04 Pedro Alves <palves@redhat.com>
3128
3129 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3130 supports_process_record.
3131
8a980b44
PA
31322012-07-04 Pedro Alves <palves@redhat.com>
3133
3134 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3135 endings.
3136 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3137
855ba978
SS
31382012-07-03 Stan Shebs <stan@codesourcery.com>
3139
3140 * gdb.base/info-os.c (main): Retry resource acquisition until an
3141 available one is found.
3142 * gdb.base/info-os.exp: Collect resource keys from the program
3143 and use them in matching.
3144
fcb44371
JK
31452012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3146
3147 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3148 Wrap the test into loop for corefile and core0file.
3149
08a67be6
JK
31502012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3151
3152 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3153 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3154 .note.GNU-stack.
3155
0f3c2347
JK
3156 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3157
ff4a4500
SDJ
31582012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3159
3160 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3161 break): Include help message for the new `-probe' and `-probe-stap'
3162 options.
3163
d3ce09f5
SS
31642012-07-02 Stan Shebs <stan@codesourcery.com>
3165
3166 * gdb.base/dprintf.exp: Add agent style tests.
3167
a1624241
JK
31682012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3169
3170 * gdb.base/stale-infcall.c (infcall): New label test-next.
3171 (main): New labels test-pass and test-fail.
3172 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3173 $test_fail_bpnum to test-fail.
3174 (test system longjmp tracking support): New test.
3175 Delete $test_fail_bpnum.
3176 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3177 breakpoint.
3178
42e7ad6c
DE
31792012-06-30 Doug Evans <dje@google.com>
3180
3181 * gdb.dwarf2/fission-reread.S: New file.
3182 * gdb.dwarf2/fission-reread.exp: New file.
3183
37ce89eb
SS
31842012-06-28 Stan Shebs <stan@codesourcery.com>
3185
3186 * gdb.mi/mi-logging.exp: New file.
3187
e5ef252a
PA
31882012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3189 Pedro Alves <palves@redhat.com>
3190
3191 * gdb.threads/siginfo-threads.exp: New file.
3192 * gdb.threads/siginfo-threads.c: New file.
3193 * gdb.threads/sigstep-threads.exp: New file.
3194 * gdb.threads/sigstep-threads.c: New file.
3195
22f1fbae
TT
31962012-06-28 Tom Tromey <tromey@redhat.com>
3197
3198 * gdb.go/package.exp: Partially revert earlier patch; use
3199 gdb_compile again. Use standard_output_file.
3200
2e3cf129
DE
32012012-06-27 Doug Evans <dje@google.com>
3202
3203 * gdb.dwarf2/fission-base.c: New file.
3204 * gdb.dwarf2/fission-base.S: New file.
3205 * gdb.dwarf2/fission-base.exp: New file.
3206
785fd303
JK
32072012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3208
3209 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3210
1bb9788d
TT
32112012-06-27 Tom Tromey <tromey@redhat.com>
3212
3213 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3214 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3215
c83ee902
TT
32162012-06-27 Tom Tromey <tromey@redhat.com>
3217
3218 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3219 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3220 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3221 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3222 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3223 prepare_for_testing.
3224 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3225 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3226 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3227 standard_testfile.
3228 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3229 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3230 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3231 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3232 prepare_for_testing.
3233 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3234 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3235 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3236 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3237 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3238 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3239 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3240 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3241 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3242 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3243 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3244 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3245 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3246 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3247 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3248 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3249 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3250 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3251 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3252 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3253 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3254 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
3255 standard_output_file.
3256 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
3257 standard_output_file.
3258 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
3259 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
3260 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
3261 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
3262 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
3263 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
3264 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
3265 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
3266 * gdb.dwarf2/implptr.exp: Use standard_testfile.
3267 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
3268 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
3269 * gdb.dwarf2/pieces.exp: Use standard_testfile.
3270 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
3271 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
3272 * gdb.dwarf2/valop.exp: Use standard_testfile,
3273 prepare_for_testing.
3274
5204774b
TT
32752012-06-27 Tom Tromey <tromey@redhat.com>
3276
3277 * gdb.python/python.exp: Fix regexps in pagination tests.
3278
ee0bf529
SCR
32792012-06-26 Siva Chandra Reddy <sivachandra@google.com>
3280
3281 * gdb.python/py-symtab.exp: Add tests to test the new attribute
3282 'last' of gdb.Symtab_and_line.
3283 * gdb.python/py-symbol.c: Move break point comment to enable
3284 testing of gdb.Symtab_and_line.last.
3285
14fcc022
TT
32862012-06-26 Tom Tromey <tromey@redhat.com>
3287
3288 * gdb.threads/step.c: Remove.
3289 * gdb.threads/step.exp: Remove.
3290 * gdb.threads/step2.exp: Remove.
3291
0efbbabc
TT
32922012-06-26 Tom Tromey <tromey@redhat.com>
3293
3294 * gdb.threads/watchpoint-fork.exp (test): Use
3295 standard_output_file. Don't declare objdir.
3296 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
3297 standard_output_file.
3298 * gdb.threads/attach-stopped.exp: Use standard_testfile.
3299 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
3300 clean_restart. Remove incdir.
3301 * gdb.threads/corethreads.exp: Use standard_testfile.
3302 * gdb.threads/execl.exp: Use standard_testfile,
3303 standard_output_file, clean_restart.
3304 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
3305 clean_restart.
3306 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
3307 clean_restart.
3308 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
3309 incdir.
3310 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
3311 clean_restart. Remove incdir.
3312 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
3313 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
3314 clean_restart. Remove incdir.
3315 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
3316 Remove incdir.
3317 * gdb.threads/leader-exit.exp: Use standard_testfile.
3318 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
3319 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
3320 clean_restart.
3321 * gdb.threads/manythreads.exp: Use standard_testfile,
3322 clean_restart. Remove incdir.
3323 * gdb.threads/multi-create.exp: Use standard_testfile,
3324 clean_restart.
3325 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
3326 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
3327 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
3328 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
3329 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
3330 * gdb.threads/pending-step.exp: Use standard_testfile,
3331 clean_restart. Remove incdir.
3332 * gdb.threads/print-threads.exp: Use standard_testfile,
3333 clean_restart. Remove incdir.
3334 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
3335 clean_restart. Remove incdir.
3336 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
3337 Remove incdir.
3338 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
3339 incdir.
3340 * gdb.threads/sigthread.exp: Use standard_testfile,
3341 clean_restart.
3342 * gdb.threads/staticthreads.exp: Use standard_testfile,
3343 clean_restart. Remove incdir.
3344 * gdb.threads/switch-threads.exp: Use standard_testfile,
3345 clean_restart. Remove incdir.
3346 * gdb.threads/thread-execl.exp: Use standard_testfile,
3347 clean_restart. Remove incdir.
3348 * gdb.threads/thread-find.exp: Use standard_testfile,
3349 clean_restart.
3350 * gdb.threads/thread-specific.exp: Use standard_testfile,
3351 clean_restart. Remove incdir.
3352 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
3353 clean_restart. Remove incdir.
3354 * gdb.threads/thread_check.exp: Use standard_testfile,
3355 clean_restart. Remove incdir.
3356 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
3357 incdir.
3358 * gdb.threads/threadapply.exp: Use standard_testfile,
3359 clean_restart. Remove incdir.
3360 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
3361 clean_restart. Remove incdir.
3362 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
3363 clean_restart.
3364 * gdb.threads/tls-shared.exp: Use standard_testfile,
3365 clean_restart, standard_output_file.
3366 * gdb.threads/tls-var.exp: Use standard_testfile,
3367 standard_output_file.
3368 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
3369 Remove incdir.
3370 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
3371 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
3372 incdir.
3373 * gdb.threads/watchthreads2.exp: Use standard_testfile,
3374 clean_restart. Remove incdir.
3375
497a5eb0
TT
33762012-06-26 Tom Tromey <tromey@redhat.com>
3377
3378 * gdb.trace/actions.exp: Use standard_testfile.
3379 * gdb.trace/ax.exp: Use standard_testfile.
3380 * gdb.trace/backtrace.exp: Use standard_testfile.
3381 * gdb.trace/change-loc.exp: Use standard_testfile.
3382 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
3383 * gdb.trace/collection.exp: Use standard_testfile,
3384 prepare_for_testing.
3385 * gdb.trace/deltrace.exp: Use standard_testfile.
3386 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
3387 * gdb.trace/ftrace.exp: Use standard_testfile.
3388 * gdb.trace/infotrace.exp: Use standard_testfile.
3389 * gdb.trace/packetlen.exp: Use standard_testfile.
3390 * gdb.trace/passc-dyn.exp: Use standard_testfile.
3391 * gdb.trace/passcount.exp: Use standard_testfile.
3392 * gdb.trace/pending.exp: Use standard_testfile.
3393 * gdb.trace/report.exp: Use standard_testfile.
3394 * gdb.trace/save-trace.exp: Use standard_testfile.
3395 * gdb.trace/stap-trace.exp: Use standard_testfile.
3396 * gdb.trace/status-stop.exp: Use standard_testfile.
3397 * gdb.trace/strace.exp: Use standard_testfile.
3398 * gdb.trace/tfile.exp: Use standard_testfile.
3399 * gdb.trace/tfind.exp: Use standard_testfile.
3400 * gdb.trace/trace-break.exp: Use standard_testfile.
3401 * gdb.trace/trace-mt.exp: Use standard_testfile.
3402 * gdb.trace/tracecmd.exp: Use standard_testfile.
3403 * gdb.trace/tspeed.exp: Use standard_testfile.
3404 * gdb.trace/tstatus.exp: Use standard_testfile.
3405 * gdb.trace/tsv.exp: Use standard_testfile.
3406 * gdb.trace/unavailable.exp: Use standard_testfile,
3407 prepare_for_testing.
3408 * gdb.trace/while-dyn.exp: Use standard_testfile.
3409 * gdb.trace/while-stepping.exp: Use standard_testfile.
3410
7686c074
TT
34112012-06-26 Tom Tromey <tromey@redhat.com>
3412
3413 * gdb.reverse/break-precsave.exp: Use standard_testfile.
3414 * gdb.reverse/break-reverse.exp: Use standard_testfile.
3415 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
3416 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
3417 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
3418 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
3419 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
3420 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
3421 prepare_for_testing.
3422 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
3423 prepare_for_testing.
3424 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
3425 prepare_for_testing.
3426 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
3427 prepare_for_testing.
3428 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
3429 prepare_for_testing
3430 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
3431 * gdb.reverse/machinestate.exp: Use standard_testfile.
3432 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
3433 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
3434 build_executable.
3435 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
3436 build_executable.
3437 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
3438 standard_output_file.
3439 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
3440 standard_output_file.
3441 * gdb.reverse/step-precsave.exp: Use standard_testfile.
3442 * gdb.reverse/step-reverse.exp: Use standard_testfile.
3443 * gdb.reverse/until-precsave.exp: Use standard_testfile.
3444 * gdb.reverse/until-reverse.exp: Use standard_testfile.
3445 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
3446 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
3447
481fc100
TT
34482012-06-26 Tom Tromey <tromey@redhat.com>
3449
3450 * gdb.stabs/weird.exp: Remove directory-checking code. Use
3451 standard_output_file.
3452 * gdb.stabs/exclfwd.exp: Use standard_testfile,
3453 prepare_for_testing. Remove directory-checking code.
3454
7bb18ae2
TT
34552012-06-25 Tom Tromey <tromey@redhat.com>
3456
3457 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
3458 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
3459 build_executable, not prepare_for_testing.
3460 * gdb.multi/base.exp: Use standard_output_file. Use
3461 build_executable, not prepare_for_testing.
3462
cf09b3e4
TT
34632012-06-25 Tom Tromey <tromey@redhat.com>
3464
3465 * gdb.fortran/subarray.exp: Use standard_testfile,
3466 prepare_for_testing.
3467 * gdb.fortran/multi-dim.exp: Use standard_testfile.
3468 * gdb.fortran/module.exp: Use standard_testfile.
3469 * gdb.fortran/logical.exp: Use standard_testfile.
3470 * gdb.fortran/library-module.exp: Use standard_testfile,
3471 standard_output_file.
3472 * gdb.fortran/derived-type.exp: Use standard_testfile,
3473 prepare_for_testing.
3474 * gdb.fortran/complex.exp: Use standard_testfile,
3475 prepare_for_testing.
3476 * gdb.fortran/charset.exp: Use standard_testfile.
3477 * gdb.fortran/array-element.exp: Use standard_testfile,
3478 prepare_for_testing.
3479
18b5ff1b
KS
34802012-06-25 Keith Seitz <keiths@redhat.com>
3481
3482 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
3483 Change rbreak-related tests to KFAIL and add bugzilla numbers.
3484
17b77626
TT
34852012-06-25 Tom Tromey <tromey@redhat.com>
3486
3487 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
3488 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
3489 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
3490 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
3491
f91e3dc1
TT
34922012-06-25 Tom Tromey <tromey@redhat.com>
3493
3494 * gdb.linespec/ls-errs.exp: Use standard_testfile.
3495 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
3496 * gdb.linespec/linespec.exp: Use standard_testfile.
3497
a884434d
TT
34982012-06-25 Tom Tromey <tromey@redhat.com>
3499
3500 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
3501 prepare_for_testing.
3502
efc9d70a
TT
35032012-06-25 Tom Tromey <tromey@redhat.com>
3504
3505 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
3506 prepare_for_testing.
3507 * gdb.opt/inline-break.exp: Use standard_testfile,
3508 prepare_for_testing.
3509 * gdb.opt/inline-bt.exp: Use standard_testfile,
3510 prepare_for_testing.
3511 * gdb.opt/inline-cmds.exp: Use standard_testfile,
3512 prepare_for_testing.
3513 * gdb.opt/inline-locals.exp: Use standard_testfile,
3514 prepare_for_testing.
3515
e2fc92c6
TT
35162012-06-25 Tom Tromey <tromey@redhat.com>
3517
3518 * gdb.asm/asm-source.exp: Use standard_output_file,
3519 standard_testfile. Construct .o files in proper subdir.
3520
b0963d73
TT
35212012-06-25 Tom Tromey <tromey@redhat.com>
3522
3523 * gdb.server/ext-attach.exp: Use standard_testfile,
3524 prepare_for_testing.
3525 * gdb.server/ext-run.exp: Use standard_testfile,
3526 build_executable.
3527 * gdb.server/file-transfer.exp: Use standard_testfile,
3528 prepare_for_testing.
3529 * gdb.server/server-exec-info.exp: Use standard_testfile.
3530 * gdb.server/server-mon.exp: Use standard_testfile,
3531 prepare_for_testing.
3532 * gdb.server/server-run.exp: Use standard_testfile,
3533 build_executable.
3534 * gdb.server/solib-list.exp: Use standard_testfile,
3535 standard_output_file.
3536
8a3e1f8d
TT
35372012-06-25 Tom Tromey <tromey@redhat.com>
3538
3539 * lib/gdb.exp (standard_output_file): Use "file join".
3540 * gdb.go/chan.exp: Use standard_testfile.
3541 * gdb.go/handcall.exp: Use standard_testfile.
3542 * gdb.go/hello.exp: Use standard_testfile.
3543 * gdb.integers/chan.exp: Use standard_testfile.
3544 * gdb.go/methods.exp: Use standard_testfile.
3545 * gdb.go/package.exp: Use standard_testfile.
3546 * gdb.go/strings.exp: Use standard_testfile.
3547 * gdb.go/types.exp: Use standard_testfile.
3548 * gdb.go/unsafe.exp: Use standard_testfile.
3549
944a9061
MGD
35502012-06-25 Greta Yorsh <greta.yorsh@arm.com>
3551
3552 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
3553
1c06bd58
JK
35542012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3555
3556 Fix regression by the previous commit.
3557 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
3558
b4a58790
TT
35592012-06-22 Tom Tromey <tromey@redhat.com>
3560
3561 * gdb.python/lib-types.exp: Use standard_testfile,
3562 prepare_for_testing.
3563 * gdb.python/py-block.exp: Use standard_testfile.
3564 * gdb.python/py-breakpoint.exp: Use standard_testfile.
3565 * gdb.python/py-events.exp: Use standard_testfile,
3566 standard_output_file.
3567 * gdb.python/py-evsignal.exp: Use standard_testfile.
3568 * gdb.python/py-evethreads.exp: Use standard_testfile.
3569 * gdb.python/py-explore-cc.exp: Use standard_testfile.
3570 * gdb.python/py-explore.exp: Use standard_testfile.
3571 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3572 standard_output_file.
3573 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3574 prepare_for_testing.
3575 * gdb.python/py-frame-inline.exp: Use standard_testfile.
3576 * gdb.python/py-frame.exp: Use standard_testfile.
3577 * gdb.python/py-inferior.exp: Use standard_testfile.
3578 * gdb.python/py-infthread.exp: Use standard_testfile.
3579 * gdb.python/py-mi.exp: Use standard_testfile.
3580 * gdb.python/py-objfile-script.exp: Use standard_testfile,
3581 build_executable.
3582 * gdb.python/py-objfile.exp: Use standard_testfile.
3583 * gdb.python/py-pp-maint.exp: Use standard_testfile,
3584 prepare_for_testing.
3585 * gdb.python/py-prettyprint.exp: Use standard_testfile.
3586 * gdb.python/py-progspace.exp: Use standard_testfile,
3587 build_executable.
3588 * gdb.python/py-prompt.exp: Use standard_testfile,
3589 build_executable.
3590 * gdb.python/py-section-script.exp: Use standard_testfile,
3591 build_executable.
3592 * gdb.python/py-shared.exp: Use standard_testfile,
3593 standard_output_file, clean_restart.
3594 * gdb.python/py-symbol.exp: Use standard_output_file,
3595 prepare_for_testing.
3596 * gdb.python/py-symtab.exp: Use standard_output_file,
3597 prepare_for_testing
3598 * gdb.python/py-template.exp: Use standard_testfile.
3599 * gdb.python/py-type.exp: Use standard_testfile.
3600 * gdb.python/py-value-cc.exp: Use standard_testfile.
3601 * gdb.python/py-value.exp: Use standard_testfile.
3602 * gdb.python/python.exp: Use standard_testfile, build_executable.
3603
2c44deac
TT
36042012-06-22 Tom Tromey <tromey@redhat.com>
3605
3606 * gdb.objc/basicclass.exp: Use standard_testfile.
3607 (do_objc_tests): Don't declare objdir.
3608 * gdb.objc/nondebug.exp: Use standard_testfile.
3609 (do_objc_tests): Don't declare objdir.
3610 * gdb.objc/objcdecode.exp: Use standard_testfile.
3611 (do_objc_tests): Don't declare objdir.
3612
c24ccbce
TT
36132012-06-22 Tom Tromey <tromey@redhat.com>
3614
3615 * gdb.java/jmain.exp: Use standard_testfile.
3616 * gdb.java/jmisc.exp: Use standard_testfile.
3617 * gdb.java/jnpe.exp: Use standard_testfile.
3618 * gdb.java/jprint.exp: Use standard_testfile.
3619
0a6d0306
TT
36202012-06-22 Tom Tromey <tromey@redhat.com>
3621
3622 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3623 (standard_output_file, standard_testfile): New procs.
3624 (build_executable, clean_restart): Use standard_output_file.
3625
6ea815ef
YQ
36262012-06-22 Yao Qi <yao@codesourcery.com>
3627
3628 * boards/native-gdbserver.exp: New proc ${board}_exec.
3629 * boards/native-stdio-gdbserver.exp: Likewise.
3630
4c93b1db
TT
36312012-06-21 Tom Tromey <tromey@redhat.com>
3632
3633 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3634 (build_executable): Update.
3635 (get_compiler_info): Remove 'binfile' argument.
3636 * gdb.ada/arrayidx.exp: Update.
3637 * gdb.ada/null_array.exp: Update.
3638 * gdb.arch/altivec-abi.exp: Update.
3639 * gdb.arch/altivec-regs.exp: Update.
3640 * gdb.arch/amd64-byte.exp: Update.
3641 * gdb.arch/amd64-dword.exp: Update.
3642 * gdb.arch/amd64-word.exp: Update.
3643 * gdb.arch/i386-avx.exp: Update.
3644 * gdb.arch/i386-byte.exp: Update.
3645 * gdb.arch/i386-sse.exp: Update.
3646 * gdb.arch/i386-word.exp: Update.
3647 * gdb.arch/ppc-dfp.exp: Update.
3648 * gdb.arch/ppc-fp.exp: Update.
3649 * gdb.arch/vsx-regs.exp: Update.
3650 * gdb.base/all-bin.exp: Update.
3651 * gdb.base/annota1.exp: Update.
3652 * gdb.base/async.exp: Update.
3653 * gdb.base/attach.exp: Update.
3654 * gdb.base/break-interp.exp: Update.
3655 * gdb.base/call-ar-st.exp: Update.
3656 * gdb.base/call-rt-st.exp: Update.
3657 * gdb.base/call-sc.exp: Update.
3658 * gdb.base/callfuncs.exp: Update.
3659 * gdb.base/catch-load.exp: Update.
3660 * gdb.base/completion.exp: Update.
3661 * gdb.base/complex.exp: Update.
3662 * gdb.base/condbreak.exp: Update.
3663 * gdb.base/consecutive.exp: Update.
3664 * gdb.base/constvars.exp: Update.
3665 * gdb.base/corefile.exp: Update.
3666 * gdb.base/eval-skip.exp: Update.
3667 * gdb.base/expand-psymtabs.exp: Update.
3668 * gdb.base/exprs.exp: Update.
3669 * gdb.base/fileio.exp: Update.
3670 * gdb.base/fixsection.exp: Update.
3671 * gdb.base/funcargs.exp: Update.
3672 * gdb.base/gdb11530.exp: Update.
3673 * gdb.base/gdb1555.exp: Update.
3674 * gdb.base/gnu-ifunc.exp: Update.
3675 * gdb.base/gnu_vector.exp: Update.
3676 * gdb.base/info-macros.exp: Update.
3677 * gdb.base/jit-simple.exp: Update.
3678 * gdb.base/jit-so.exp: Update.
3679 * gdb.base/jit.exp: Update.
3680 * gdb.base/langs.exp: Update.
3681 * gdb.base/list.exp: Update.
3682 * gdb.base/logical.exp: Update.
3683 * gdb.base/long_long.exp: Update.
3684 * gdb.base/longjmp.exp: Update.
3685 * gdb.base/macscp.exp: Update.
3686 * gdb.base/mips_pro.exp: Update.
3687 * gdb.base/miscexprs.exp: Update.
3688 * gdb.base/morestack.exp: Update.
3689 * gdb.base/nodebug.exp: Update.
3690 * gdb.base/opaque.exp: Update.
3691 * gdb.base/pc-fp.exp: Update.
3692 * gdb.base/pending.exp: Update.
3693 * gdb.base/permissions.exp: Update.
3694 * gdb.base/pointers.exp: Update.
3695 * gdb.base/prelink.exp: Update.
3696 * gdb.base/printcmds.exp: Update.
3697 * gdb.base/psymtab.exp: Update.
3698 * gdb.base/ptype.exp: Update.
3699 * gdb.base/relational.exp: Update.
3700 * gdb.base/scope.exp: Update.
3701 * gdb.base/setvar.exp: Update.
3702 * gdb.base/shlib-call.exp: Update.
3703 * gdb.base/shreloc.exp: Update.
3704 * gdb.base/signals.exp: Update.
3705 * gdb.base/sizeof.exp: Update.
3706 * gdb.base/so-impl-ld.exp: Update.
3707 * gdb.base/so-indr-cl.exp: Update.
3708 * gdb.base/solib-disc.exp: Update.
3709 * gdb.base/solib-display.exp: Update.
3710 * gdb.base/solib-nodir.exp: Update.
3711 * gdb.base/solib-overlap.exp: Update.
3712 * gdb.base/solib-symbol.exp: Update.
3713 * gdb.base/solib-weak.exp: Update.
3714 * gdb.base/solib.exp: Update.
3715 * gdb.base/store.exp: Update.
3716 * gdb.base/structs.exp: Update.
3717 * gdb.base/structs2.exp: Update.
3718 * gdb.base/type-opaque.exp: Update.
3719 * gdb.base/unload.exp: Update.
3720 * gdb.base/varargs.exp: Update.
3721 * gdb.base/volatile.exp: Update.
3722 * gdb.base/watch_thread_num.exp: Update.
3723 * gdb.base/watchpoint-solib.exp: Update.
3724 * gdb.base/watchpoint.exp: Update.
3725 * gdb.base/watchpoints.exp: Update.
3726 * gdb.base/whatis.exp: Update.
3727 * gdb.cell/arch.exp: Update.
3728 * gdb.cell/break.exp: Update.
3729 * gdb.cell/bt.exp: Update.
3730 * gdb.cell/core.exp: Update.
3731 * gdb.cell/data.exp: Update.
3732 * gdb.cell/ea-cache.exp: Update.
3733 * gdb.cell/f-regs.exp: Update.
3734 * gdb.cell/fork.exp: Update.
3735 * gdb.cell/gcore.exp: Update.
3736 * gdb.cell/mem-access.exp: Update.
3737 * gdb.cell/ptype.exp: Update.
3738 * gdb.cell/registers.exp: Update.
3739 * gdb.cell/sizeof.exp: Update.
3740 * gdb.cell/solib-symbol.exp: Update.
3741 * gdb.cell/solib.exp: Update.
3742 * gdb.cp/ambiguous.exp: Update.
3743 * gdb.cp/breakpoint.exp: Update.
3744 * gdb.cp/bs15503.exp: Update.
3745 * gdb.cp/casts.exp: Update.
3746 * gdb.cp/class2.exp: Update.
3747 * gdb.cp/cpexprs.exp: Update.
3748 * gdb.cp/cplusfuncs.exp: Update.
3749 * gdb.cp/ctti.exp: Update.
3750 * gdb.cp/dispcxx.exp: Update.
3751 * gdb.cp/gdb1355.exp: Update.
3752 * gdb.cp/gdb2384.exp: Update.
3753 * gdb.cp/gdb2495.exp: Update.
3754 * gdb.cp/infcall-dlopen.exp: Update.
3755 * gdb.cp/local.exp: Update.
3756 * gdb.cp/m-data.exp: Update.
3757 * gdb.cp/m-static.exp: Update.
3758 * gdb.cp/mb-ctor.exp: Update.
3759 * gdb.cp/mb-inline.exp: Update.
3760 * gdb.cp/mb-templates.exp: Update.
3761 * gdb.cp/member-ptr.exp: Update.
3762 * gdb.cp/method.exp: Update.
3763 * gdb.cp/namespace.exp: Update.
3764 * gdb.cp/nextoverthrow.exp: Update.
3765 * gdb.cp/nsdecl.exp: Update.
3766 * gdb.cp/nsrecurs.exp: Update.
3767 * gdb.cp/nsstress.exp: Update.
3768 * gdb.cp/nsusing.exp: Update.
3769 * gdb.cp/pr-1023.exp: Update.
3770 * gdb.cp/pr-1210.exp: Update.
3771 * gdb.cp/pr-574.exp: Update.
3772 * gdb.cp/pr9631.exp: Update.
3773 * gdb.cp/printmethod.exp: Update.
3774 * gdb.cp/psmang.exp: Update.
3775 * gdb.cp/re-set-overloaded.exp: Update.
3776 * gdb.cp/rtti.exp: Update.
3777 * gdb.cp/shadow.exp: Update.
3778 * gdb.cp/templates.exp: Update.
3779 * gdb.cp/try_catch.exp: Update.
3780 * gdb.dwarf2/dw2-ranges.exp: Update.
3781 * gdb.dwarf2/pr10770.exp: Update.
3782 * gdb.fortran/library-module.exp: Update.
3783 * gdb.hp/gdb.aCC/optimize.exp: Update.
3784 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3785 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3786 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3787 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3788 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3789 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3790 * gdb.hp/gdb.compat/xdb1.exp: Update.
3791 * gdb.hp/gdb.compat/xdb2.exp: Update.
3792 * gdb.hp/gdb.compat/xdb3.exp: Update.
3793 * gdb.hp/gdb.defects/bs14602.exp: Update.
3794 * gdb.hp/gdb.defects/solib-d.exp: Update.
3795 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3796 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3797 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3798 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3799 * gdb.mi/gdb792.exp: Update.
3800 * gdb.mi/mi-pending.exp: Update.
3801 * gdb.mi/mi-solib.exp: Update.
3802 * gdb.mi/mi-var-cp.exp: Update.
3803 * gdb.opt/clobbered-registers-O2.exp: Update.
3804 * gdb.opt/inline-bt.exp: Update.
3805 * gdb.opt/inline-cmds.exp: Update.
3806 * gdb.opt/inline-locals.exp: Update.
3807 * gdb.python/py-events.exp: Update.
3808 * gdb.python/py-finish-breakpoint.exp: Update.
3809 * gdb.python/py-type.exp: Update.
3810 * gdb.reverse/solib-precsave.exp: Update.
3811 * gdb.reverse/solib-reverse.exp: Update.
3812 * gdb.server/solib-list.exp: Update.
3813 * gdb.stabs/weird.exp: Update.
3814 * gdb.threads/attach-into-signal.exp: Update.
3815 * gdb.threads/attach-stopped.exp: Update.
3816 * gdb.threads/tls-shared.exp: Update.
3817 * gdb.trace/change-loc.exp: Update.
3818 * gdb.trace/strace.exp: Update.
3819
95c391b6
TT
38202012-06-19 Tom Tromey <tromey@redhat.com>
3821
3822 * gdb.base/whatis.exp: Add tests.
3823
e910f0b6
TT
38242012-06-19 Tom Tromey <tromey@redhat.com>
3825
3826 * gdb.cp/m-static.cc (keepalive): New function.
3827 (gnu_obj_1::method): Use it.
3828
422d65e7
DE
38292012-06-18 Doug Evans <dje@google.com>
3830
3831 * gdb.base/info-fun.exp: New file.
3832 * gdb.base/info-fun.c: New file.
3833 * gdb.base/info-fun-solib.c: New file.
3834
e2e4d78b
JK
38352012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3836
3837 Remove stale dummy frames.
3838 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3839 (maintenance info breakpoints): New tests.
3840 * gdb.base/stale-infcall.c: New file.
3841 * gdb.base/stale-infcall.exp: New file.
3842
1788b2d3
JK
38432012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3844
3845 * gdb.arch/amd64-entry-value-param.S: New file.
3846 * gdb.arch/amd64-entry-value-param.c: New file.
3847 * gdb.arch/amd64-entry-value-param.exp: New file.
3848
663b969e
TT
38492012-06-15 Tom Tromey <tromey@redhat.com>
3850
3851 * gdb.cp/namespace.exp: Add "show lang" test.
3852
8e09ad05
IS
38532012-06-15 Iain Sandoe <iain@codesourcery.com>
3854
3855 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3856 case. (top level): Use gdb_file_cmd instead of gdb_load.
3857
f85e18ee
JK
38582012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3859
3860 PR tdep/14222
3861 * gdb.arch/i386-sse-stack-align.S: New file.
3862 * gdb.arch/i386-sse-stack-align.c: New file.
3863 * gdb.arch/i386-sse-stack-align.exp: New file.
3864
f3b5e280
KS
38652012-06-13 Keith Seitz <keiths@redhat.com>
3866
3867 PR breakpoints/13798 and mi/11541
3868 * gdb.linespec/ls-errs.exp: Add a few more tests for
3869 filenames with spaces and colons.
3870
50af5481
JK
38712012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3872
3873 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3874 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3875 (test_function): Call CV_f.
3876 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3877 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3878 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3879 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3880 (p CV_f(CV::i)): New tests.
3881
d55637df
TT
38822012-06-13 Tom Tromey <tromey@redhat.com>
3883
3884 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3885
cc80f267
JK
38862012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 Fix regression by the "ambiguous linespec" series.
3889 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3890 tests.
3891
bb2af9cc
JK
38922012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3893
3894 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3895 missing.
3896
e81a37f7
TT
38972012-06-11 Tom Tromey <tromey@redhat.com>
3898
3899 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3900 location...
3901 (main): ...here.
3902
8efd7788
YQ
39032012-06-07 Yao Qi <yao@codesourcery.com>
3904
3905 * gdb.trace/strace.exp: Shorten some too-long lines.
3906
359f5fe6
PA
39072012-06-06 Pedro Alves <palves@redhat.com>
3908
3909 * gdb.threads/clone-new-thread-event.c: New file.
3910 * gdb.threads/clone-new-thread-event.exp: New file.
3911
7b2fe205
YQ
39122012-06-06 Yao Qi <yao@codesourcery.com>
3913
3914 * gdb.base/dprintf.c (main): Add extra parameter when calling
3915 printf and fprintf.
3916 (bar): New function. It is a dead function, but to ensure
3917 'malloc' is linked explicitly.
3918
3eca55e8
YQ
39192012-06-06 Yao Qi <yao@codesourcery.com>
3920
3921 * gdb.base/info-proc.exp: Return if target doesn't support
3922 'info proc'.
3923
91cc9324
JK
39242012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3925
3926 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3927 (run program with breakpoint commands): XFAIl if it is not.
3928
c56e7c43
JB
39292012-06-05 Joel Brobecker <brobecker@adacore.com>
3930
3931 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3932 and add comment.
3933 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3934 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3935 "STOP" marker. Adjust testing strategy to make it work on
3936 all targets.
3937
3938 * gdb.base/print-file-var-main.c (main): Rewrite using local
3939 variables and adjust get_version_2's return value check.
3940 Add small comment.
3941 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3942 marker. Adjust testing strategy to make it work on all targets.
3943
ccab2054
JB
39442012-06-05 Joel Brobecker <brobecker@adacore.com>
3945
3946 * gdb.ada/bad-task-bp-keyword: New testcase.
3947
d0d86158
JK
39482012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3949
3950 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3951 Simplify it to ...
3952 (symbol-file ${testfile1}): ... here.
3953 (test eliminated var my_global_symbol)
3954 (test eliminated var my_static_symbol)
3955 (test eliminated var my_global_func, get address of main): Wrap them to
3956 'single psymtabs' and 'single symtabs'
3957 (get address of my_global_symbol, get address of my_static_symbol)
3958 (get address of my_global_func, get address of main): Wrap them to
3959 'order1' and 'order2'.
3960
952cf74c
JK
3961 * gdb.base/code_elim.exp
3962 (add-symbol-file ${testfile1} 0x100000)
3963 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3964 'order2'.
3965 (order1: add-symbol-file ${testfile1} 0x100000)
3966 (order1: add-symbol-file ${testfile2} 0x200000)
3967 (order2: add-symbol-file ${testfile2} 0x200000)
3968 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3969 .bss as appropriate.
3970
0c5bf5a9
JK
39712012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3972
3973 * gdb.server/solib-list-lib.c: New file.
3974 * gdb.server/solib-list-main.c: New file.
3975 * gdb.server/solib-list.exp: New file.
3976
4196f325
MR
39772012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3978
3979 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3980 for 'set print symbol' change.
3981
bfb05775
JK
39822012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3983
3984 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3985 .debug_abbrev_seg3.
3986
685b1105
JK
39872012-05-24 John Steele Scott <toojays@toojays.net>
3988
3989 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3990 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3991 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3992
f3e0e960
SS
39932012-05-23 Stan Shebs <stan@codesourcery.com>
3994
3995 * gdb.mi/mi-info-os.exp: New file.
3996
11eb1b4d
KS
39972012-05-23 Keith Seitz <keiths@redhat.com>
3998
3999 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4000 return -1 to suppress the rest of the tests.
4001 (compile_stap_bin): Return boolean success value.
4002
b1af9e97
TT
40032012-05-21 Tom Tromey <tromey@redhat.com>
4004
4005 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4006 Remove kfails.
4007 (test_print_mi_member_types): Likewise.
4008
248537e3
TT
40092012-05-21 Tom Tromey <tromey@redhat.com>
4010
4011 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4012 print symbol' change.
4013
d791e155
TJB
40142012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4015
4016 * gdb.python/py-prompt.exp: Quit if the target is remote.
4017
e77afa2e
JK
40182012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4019
4020 Fix ERROR: internal buffer is full.
4021 * gdb.base/info-os.exp (expect_multiline): New function.
4022 (get process list, get process groups, get threads)
4023 (get file descriptors, get internet-domain sockets)
4024 (get shared-memory regions, get semaphores, get message queues): Use
4025 it for these tests.
4026
9cb709b6
TT
40272012-05-18 Tom Tromey <tromey@redhat.com>
4028
4029 * gdb.mi/mi-var-cmd.exp: Update.
4030 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4031 * gdb.cp/virtbase.exp: Update.
4032 * gdb.cp/classes.exp (test_static_members): Update.
4033 * gdb.cp/casts.exp: Update.
4034 * gdb.base/pointers.exp: Update.
4035 * gdb.base/funcargs.exp (pointer_args): Update.
4036 (structs_by_reference): Update.
4037 * gdb.base/find.exp: Update.
4038 * gdb.base/call-strs.exp: Send "set print symbol off".
4039 * gdb.base/call-ar-st.exp: Update.
4040 * gdb.ada/fun_addr.exp: Update.
4041 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4042 Call it.
4043 (test_print_repeats_10, test_print_strings)
4044 (test_print_char_arrays): Update.
4045
b012acdd
TT
40462012-05-18 Tom Tromey <tromey@redhat.com>
4047
4048 * gdb.base/charset.exp (string_display): Update.
4049
1d51a733
TT
40502012-05-18 Tom Tromey <tromey@redhat.com>
4051
4052 * gdb.mi/mi2-var-display.exp: Update.
4053 * gdb.mi/mi-var-display.exp: Update.
4054 * gdb.mi/mi-var-child.exp: Update.
4055 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4056 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4057
957df313
DE
40582012-05-17 Doug Evans <dje@google.com>
4059
682c7f7b
DE
4060 * info-macros.exp: Pass "debug" to prepare_for_testing.
4061
957df313
DE
4062 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4063 * gdb.ada/Makefile.in (clean): Ditto.
4064 * gdb.arch/Makefile.in (clean): Ditto.
4065 * gdb.asm/Makefile.in (clean): Ditto.
4066 * gdb.base/Makefile.in (clean): Ditto.
4067 * gdb.cell/Makefile.in (clean): Ditto.
4068 * gdb.cp/Makefile.in (clean): Ditto.
4069 * gdb.disasm/Makefile.in (clean): Ditto.
4070 * gdb.dwarf2/Makefile.in (clean): Ditto.
4071 * gdb.fortran/Makefile.in (clean): Ditto.
4072 * gdb.go/Makefile.in (clean): Ditto.
4073 * gdb.hp/Makefile.in (clean): Ditto.
4074 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4075 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4076 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4077 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4078 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4079 * gdb.java/Makefile.in (clean): Ditto.
4080 * gdb.linespec/Makefile.in (clean): Ditto.
4081 * gdb.mi/Makefile.in (clean): Ditto.
4082 * gdb.modula2/Makefile.in (clean): Ditto.
4083 * gdb.multi/Makefile.in (clean): Ditto.
4084 * gdb.objc/Makefile.in (clean): Ditto.
4085 * gdb.opencl/Makefile.in (clean): Ditto.
4086 * gdb.opt/Makefile.in (clean): Ditto.
4087 * gdb.pascal/Makefile.in (clean): Ditto.
4088 * gdb.python/Makefile.in (clean): Ditto.
4089 * gdb.reverse/Makefile.in (clean): Ditto.
4090 * gdb.server/Makefile.in (clean): Ditto.
4091 * gdb.stabs/Makefile.in (clean): Ditto.
4092 * gdb.threads/Makefile.in (clean): Ditto.
4093 * gdb.trace/Makefile.in (clean): Ditto.
4094 * gdb.xml/Makefile.in (clean): Ditto.
4095
abc9d0dc
TT
40962012-05-16 Tom Tromey <tromey@redhat.com>
4097
4098 * gdb.base/macscp1.c (macscp_expr): Add comment.
4099 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4100
6a3a010b
MR
41012012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4102
4103 * gdb.base/return-nodebug.exp: Also test float and double types.
4104
01429c8e
JK
41052012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4106
4107 PR testsuite/12649
4108 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4109
54115cd4
JK
4110 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4111
0c5f383f
SDJ
41122012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4113
4114 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4115 `rerun_to_main'.
4116 (stap_test_no_debuginfo): Likewise.
4117
e7e0cddf
SS
41182012-05-14 Stan Shebs <stan@codesourcery.com>
4119
4120 * gdb.base/dprintf.c: New file.
4121 * gdb.base/dprintf.exp: New file.
4122
c772f8e7
HZ
41232012-05-14 Hui Zhu <hui_zhu@mentor.com>
4124
4125 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4126 * gdb.trace/disconnected-tracing.c: New file.
4127 * gdb.trace/disconnected-tracing.exp: New file.
4128
7efc75aa
SCR
41292012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4130
4131 * gdb.python/python.c: Add a new breakpoint comment.
4132 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4133
85d4a676
SS
41342011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4135
4136 * gdb.base/info-os.exp: New file.
4137 * gdb.base/info-os.c: New file.
4138
64ea88dc
JB
41392012-05-10 Joel Brobecker <brobecker@adacore.com>
4140
4647ab1b
JB
4141 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4142 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4143 New files.
64ea88dc 4144
afba63f1
JB
41452012-05-10 Joel Brobecker <brobecker@adacore.com>
4146
4147 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4148 gdb.base/ctxobj.exp: New files.
4149
9d198b1e
TT
41502012-05-09 Tom Tromey <tromey@redhat.com>
4151
4152 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4153
9bfee719
MR
41542012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4155
4156 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4157
3a7341d8
MR
41582012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4159
4160 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4161 before using it.
4162
52b3699b
TG
41632012-05-04 Tristan Gingold <gingold@adacore.com>
4164
4165 * gdb.base/set-noassign.exp: New test.
4166
a20ee7a4
SCR
41672012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4168
4169 * gdb.python/py-symbol.exp: Add tests to test the new methods
4170 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4171 * gdb.python/py-symbol.c: Add new struct to help test
4172 gdb.Symtab.static_block().
4173
bf2f0858
DE
41742012-05-03 Doug Evans <dje@google.com>
4175
4176 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4177 commented out.
4178
2d4e0376
YQ
41792012-05-03 Yao Qi <yao@codesourcery.com>
4180
4181 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4182 doesn't support.
4183 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4184 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4185
6d0bb9f3
YQ
41862012-05-03 Yao Qi <yao@codesourcery.com>
4187
4188 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4189
fd820528
DE
41902012-04-30 Doug Evans <dje@google.com>
4191
4192 PR testsuite/13961
4193 * gdb.dwarf2/pr13961.S: New file.
4194 * gdb.dwarf2/pr13961.exp: New file.
4195
b9e219b9
YQ
41962012-04-29 Yao Qi <yao@codesourcery.com>
4197
4198 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4199
3019eac3
DE
42002012-04-28 Doug Evans <dje@google.com>
4201
4202 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4203 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4204 All uses updated.
4205 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4206 "ptype func_cu1" to expand cu2 before cu1.
4207
62e5f89c
SDJ
42082012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4209 Tom Tromey <tromey@redhat.com>
4210
4211 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4212 variables.
4213 * gdb.base/stap-probe.c: New file.
4214 * gdb.base/stap-probe.exp: New file.
4215 * gdb.trace/stap-trace.c: New file.
4216 * gdb.trace/stap-trace.exp: New file.
4217 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4218 libgcc's unwinder.
4219
14132e89
MR
42202012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4221
4222 * gdb.arch/mips16-thunks-inmain.c: New file.
4223 * gdb.arch/mips16-thunks-main.c: New file.
4224 * gdb.arch/mips16-thunks-sin.c: New file.
4225 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4226 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4227 * gdb.arch/mips16-thunks-sinmain.c: New file.
4228 * gdb.arch/mips16-thunks-sinmips16.c: New file.
4229 * gdb.arch/mips16-thunks.exp: New file.
4230
a766d390
DE
42312012-04-25 Doug Evans <dje@google.com>
4232
4233 * configure.ac: Create gdb.go/Makefile.
4234 * configure: Regenerate.
4235 * gdb.base/default.exp: Add "go" to "set language" testing.
4236 * gdb.go/Makefile.in: New file.
4237 * gdb.go/basic-types.exp: New file.
4238 * gdb.go/chan.exp: New file.
4239 * gdb.go/chan.go: New file.
4240 * gdb.go/handcall.exp: New file.
4241 * gdb.go/handcall.go: New file.
4242 * gdb.go/hello.exp: New file.
4243 * gdb.go/hello.go: New file.
4244 * gdb.go/integers.exp: New file.
4245 * gdb.go/integers.go: New file.
4246 * gdb.go/methods.exp: New file.
4247 * gdb.go/methods.go: New file.
4248 * gdb.go/package.exp: New file.
4249 * gdb.go/package1.go: New file.
4250 * gdb.go/package2.go: New file.
4251 * gdb.go/print.exp: New file.
4252 * gdb.go/strings.exp: New file.
4253 * gdb.go/strings.go: New file.
4254 * gdb.go/types.exp: New file.
4255 * gdb.go/types.go: New file.
4256 * gdb.go/unsafe.exp: New file.
4257 * gdb.go/unsafe.go: New file.
4258 * lib/future.exp: Add Go support.
4259 (gdb_find_go, gdb_find_go_linker): New procs.
4260 (gdb_default_target_compile): Add Go support.
4261 * lib/gdb.exp (skip_go_tests): New proc.
4262 * lib/go.exp: New file.
4263
e65f9ffb
TT
42642012-04-25 Tom Tromey <tromey@redhat.com>
4265
4266 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
4267
14e75d8e
JK
42682012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4269 Jan Kratochvil <jan.kratochvil@redhat.com>
4270
4271 PR symtab/7259:
4272 * gdb.base/enumval.c: New test case.
4273 * gdb.base/enumval.exp: New test case.
4274 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
4275 field.bitpos.
4276
f3525b70
PA
42772012-04-17 Pedro Alves <palves@redhat.com>
4278
4279 * Makefile.in (site.exp): Make site.exp source
4280 $srcdir/lib/append_gdb_boards_dir.exp.
4281 * lib/append_gdb_boards_dir.exp: New file.
4282
bccbefd2
JK
42832012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4284
4285 New option "set auto-load safe-path".
4286 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
4287 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
4288
bf88dd68
JK
42892012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4290
4291 auto-load: Implementation.
4292 * gdb.base/help.exp (test set height): Increase the height.
4293 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
4294 to ...
4295 (info auto-load python-scripts): ... here.
4296 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
4297 to ...
4298 (info auto-load python-scripts *): ... here.
4299
c0d4d1c0
YQ
43002012-04-16 Yao Qi <yao@codesourcery.com>
4301
4302 * lib/trace-support.exp (get_in_proc_agent): New.
4303 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
4304 of in process trace agent.
4305 * gdb.trace/ftrace.exp: Likewise.
4306 * gdb.trace/pending.exp: Likewise.
4307 * gdb.trace/trace-break.exp: Likewise.
4308 * gdb.trace/trace-mt.exp
4309 * gdb.trace/tspeed.exp: Likewise.
4310 * gdb.trace/tstatus.exp
4311 * gdb.trace/strace.exp: Likewise.
4312
cbf68a60
TS
43132012-04-16 Thomas Schwinge <thomas@codesourcery.com>
4314
dd6d3b70
TS
4315 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
4316 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
4317
cbf68a60
TS
4318 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
4319
8264ba82
AG
43202012-04-14 Anton Gorenkov <xgsa@yandex.ru>
4321
4322 PR mi/13393
4323 * gdb.mi/mi-var-rtti.cc: New file.
4324 * gdb.mi/mi-var-rtti.exp: New file.
4325 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
4326 function.
4327 (mi_varobj_update_with_type_change): updated to avoid code duplication.
4328
de0919f8 43292012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
4330
4331 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
4332 EXECUTABLES.
4333 * gdb.python/py-explore.c: C program used for testing the new
4334 'explore' command on C constructs.
4335 * gdb.python/py-explore.cc: C++ program used for testing the new
4336 'explore' command on C++ constructs.
4337 * gdb-python/py-explore.exp: Tests for the new 'explore'
4338 command on C constructs.
4339 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
4340 command on C++ constructs.
4341
a82da7dd
MK
43422012-04-07 Mark Kettenis <kettenis@gnu.org>
4343
4344 * gdb.base/funcargs.exp (complex_args): Fix typo.
4345
e127cba8
JK
43462012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4347
4348 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
4349 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
4350
40e084e1
KS
43512012-04-05 Keith Seitz <keiths@redhat.com>
4352
4353 * gdb.base/advance.exp: Update error message for
4354 "advance malformed" test.
4355 * gdb.base/break.exp: Likewise for "breakpoint with
4356 trailing garbage" test.
4357 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
4358 with trailing garbage" test.
4359 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
4360 trailng garbage" test.
4361 * gdb.base/until.exp: Likewise for "malformed until" test.
4362 * gdb.cp/ovldbreak.exp: Create the breakpoint table
4363 for "breakpoint info (after setting on all)".
4364 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
4365 tests.
4366 * gdb.cp/cplabel.cc: New file.
4367 * gdb.cp/cplabel.exp: New test.
4368 * gdb.linespec/ls-errs.c: New file.
4369 * gdb.linespec/ls-errs.exp: New test.
4370
a72c8f6a
JK
43712012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4372
4373 * gdb.trace/unavailable.exp
4374 (collect globals: print object on: print derived_partial)
4375 (collect globals: print object on: print derived_whole)
4376 (collect globals: print object off: print derived_partial)
4377 (collect globals: print object off: print derived_whole): Update
4378 expected output.
4379
f87a3023
KS
43802012-03-30 Keith Seitz <keiths@redhat.com>
4381
4382 * gdb.python: Add test for linespecs with commas.
4383
e2171b3c
KS
43842012-03-28 Keith Seitz <keiths@redhat.com>
4385
4386 * gdb.linespec/ls-dollar.cc: New file.
4387 * gdb.linespec/ls-dollar.exp: New test.
4388
43892012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
4390
4391 * gdb.cp/namespace.exp: Add breakpoint tests for functions
4392 starting with the global namespace.
4393
2f4e0a80
DE
43942012-03-23 Doug Evans <dje@google.com>
4395
4396 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
4397
7b282c5a
SCR
43982012-03-22 Siva Chandra Reddy <sivachandra@google.com>
4399
4400 * gdb.python/py-value.cc: Add test case for testing the
4401 methodology exposing C++ values to Python.
4402 * gdb.python/py-value-cc.exp: Add tests testing the methodology
4403 exposing C++ values to Python.
4404 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
4405
2e98ca53
JK
44062012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4407 Siddhesh Poyarekar <siddhesh@redhat.com>
4408
4409 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
4410 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
4411 (generate native core dump): Make the test unsupported if core cannot
4412 be generated.
4413
8320cc4f
JK
44142012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4415
4416 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
4417 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
4418 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
4419
3a69ffb2
JK
44202012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4421
4422 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
4423
8fabffee
DE
44242012-03-17 Doug Evans <dje@google.com>
4425
4426 * dg-extract-results.sh: Handle KFAILs.
4427
ab260dad
JK
44282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4429
4430 PR symtab/13777
4431 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
4432
53ba8333
JB
44332012-03-16 Joel Brobecker <brobecker@adacore.com>
4434
4435 * gdb.ada/set_pckd_arr_elt: New testcase.
4436
481860b3
GB
44372012-03-16 Gary Benson <gbenson@redhat.com>
4438
4439 PR breakpoints/10738
4440 * gdb.opt/inline-break.exp: New file.
4441 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
4442 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
4443 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
4444 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
4445 * gdb.base/async-shell.exp: Likewise.
4446 * lib/mi-support.exp (library_loaded_re): Likewise.
4447
410528f0
TT
44482012-03-15 Tom Tromey <tromey@redhat.com>
4449
4450 * gdb.cp/virtfunc2.exp: Update expected output.
4451 * gdb.cp/pr9631.exp: Update expected output.
4452 * gdb.cp/member-ptr.exp: Update expected output.
4453 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
4454 output.
4455 * gdb.cp/casts.exp: Update expected output.
4456
c4aeac85
TT
44572012-03-15 Tom Tromey <tromey@redhat.com>
4458
4459 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
4460 (test_info_vtbl): Likewise.
4461 (do_tests): Call test_info_vtbl.
4462 * gdb.cp/virtfunc.cc (va): New global.
4463
856d06f9
TS
44642012-03-15 Thomas Schwinge <thomas@codesourcery.com>
4465
4466 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
4467 describing DWARF data structures.
4468 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
4469 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
4470 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
4471 * gdb.dwarf2/dw2-entry-value.S: Likewise.
4472 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
4473 * gdb.dwarf2/dw2-param-error.S: Likewise.
4474 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
4475 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
4476 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
4477 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
4478 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
4479 * gdb.dwarf2/pr11465.S: Likewise.
4480
e837f12a
JK
44812012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4482
4483 * gdb.mi/mi2-prompt.exp: New file.
4484
ccbb4f28
JB
44852012-03-13 Joel Brobecker <brobecker@adacore.com>
4486
4487 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
4488
32039130
JB
44892012-03-13 Joel Brobecker <brobecker@adacore.com>
4490
4491 * gdb.ada/bp_range_type: New testcase.
4492
16899756
DE
44932012-03-13 Doug Evans <dje@google.com>
4494
4495 * gdb.base/default.exp: Delete tests for symbol-reloading.
4496 * gdb.base/help.exp: Ditto.
4497 * gdb.base/setshow.exp: Ditto.
4498 * gdb.base/gdb_history: Delete references to symbol-reloading.
4499
87b0bb13
JK
45002012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4501
4502 * gdb.base/attach-twice.c: New files.
4503 * gdb.base/attach-twice.exp: New files.
4504
0d7941a9
KS
45052012-03-08 Keith Seitz <keiths@redhat.com>
4506
4507 * lib/gdb.exp (gdb_get_line_number): Throw an
4508 error instead of returning -1.
4509 * gdb.base/break.exp: Remove unused variable
4510 bp_location5.
4511 * gdb.base/hbreak2.exp: Likewise.
4512 * gdb.base/sepdebug.exp: Likewise.
4513
f4647387
YQ
45142012-03-08 Yao Qi <yao@codesourcery.com>
4515 Pedro Alves <palves@redhat.com>
4516
4517 Fix PR server/13392.
4518 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
4519 (tracepoint_change_loc_2): Remove kfail. Return if failed to
4520 download tracepoints.
4521 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
4522 (pending_tracepoint_resolved_during_trace): Likewise.
4523 (pending_tracepoint_installed_during_trace): Likewise.
4524 (pending_tracepoint_with_action_resolved): Likewise.
4525
83c532cb
KS
45262012-03-08 Keith Seitz <keiths@redhat.com>
4527
4528 * gdb.ada/array_bounds.exp: Get breakpoint for line
4529 with "START", not "STOP".
4530 * gdb.python/py-infthread.exp: Do not continue to
4531 line marked "Break here.", which is undefined.
4532
d6b6bbb7
LM
45332012-03-08 Luis Machado <lgustavo@codesourcery.com>
4534
4535 Revert:
4536
4537 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4538
4539 Implement testsuite workaround for PR breakpoints/13781.
4540 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4541 (set breakpoint condition-evaluation host): New conditional command.
4542
7fe25d9b
JK
45432012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 Fix CU relative vs. absolute DIE offsets.
4546 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
4547 one.
4548
51898c15
JK
45492012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4550
4551 Fix false FAIL on distros with relro linkage as default.
4552 * gdb.reverse/solib-precsave.exp: Try to compile the test using
4553 -Wl,-z,norelro first.
4554
8131799e
JB
45552012-03-06 Joel Brobecker <brobecker@adacore.com>
4556
4557 * gdb.ada/bp_on_var: New testcase.
4558
ba241969
JB
45592012-03-06 Joel Brobecker <brobecker@adacore.com>
4560
4561 * gdb.ada/bp_enum_homonym: New testcase.
4562
abe49676
YQ
45632012-03-06 Yao Qi <yao@codesourcery.com>
4564
4565 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
4566 x86_64-*-* and i?86-*-*.
4567 Set up KFAIL for gdb/13808.
4568
d8df103b
TT
45692012-03-05 Tom Tromey <tromey@redhat.com>
4570
4571 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4572 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4573
b7b189f3
TT
45742012-03-05 Tom Tromey <tromey@redhat.com>
4575
4576 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4577
69dc1c4d
YQ
45782012-03-04 Yao Qi <yao@codesourcery.com>
4579
4580 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4581 messages for KFAIL.
4582
3f20c47f
JK
45832012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
4586 (print one_two_three, indexes off, print few_reps, indexes off)
4587 (print many_reps, indexes off, print empty, indexes off)
4588 (print one_two_three, print few_reps, print many_reps, print empty):
4589 Call setup_xfail if $gcc_old.
4590
abf1152a
JK
45912012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4592
4593 Implement testsuite workaround for PR breakpoints/13781.
4594 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4595 (set breakpoint condition-evaluation host): New conditional command.
4596
a06715f8
JK
45972012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4598
4599 Code cleanup.
4600 * gdb.cp/mb-templates.exp: New variables executable. Use it for
4601 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
4602 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
4603 number 1 by $bpnum. Four times.
4604
5808517f
YQ
46052012-03-03 Yao Qi <yao@codesourcery.com>
4606
4607 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4608
dfe2ac14
JK
46092012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4610
4611 Setup KFAIL for PR server/13796.
4612 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4613
8bbc467a
JB
46142012-03-02 Joel Brobecker <brobecker@adacore.com>
4615
4616 * gdb.ada/operator_bp: New testcase.
4617
c0eac87f
JB
46182012-03-02 Joel Brobecker <brobecker@adacore.com>
4619
4620 * gdb.ada/info_locals_renaming: New testcase.
4621
4f42c881
TT
46222012-03-02 Tom Tromey <tromey@redhat.com>
4623
4624 * gdb.base/nextoverexit.c: New file.
4625 * gdb.base/nextoverexit.exp: New file.
4626
7380c0c9
EBM
46272012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4628
4629 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4630 parameter.
4631
1faeff08
MR
46322012-03-01 Maciej W. Rozycki <macro@mips.com>
4633
4634 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4635 core registers.
4636
320b6f49 46372012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
4638 Maciej W. Rozycki <macro@codesourcery.com>
4639 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
4640
4641 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4642
ad5f7d6e
PA
46432012-03-01 Pedro Alves <palves@redhat.com>
4644
4645 PR gdb/13767
4646
4647 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4648 (gdb_collect_globals_test): Call it.
4649
d3dc44a6
KS
46502012-03-01 Keith Seitz <keiths@redhat.com>
4651
4652 * gdb.cp/method2.exp: Output of overload menu is now
4653 alphabetized. Update tests for "break A::method".
4654 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4655 of hard-coding them.
4656 Overload menu is alphabetized: rewrite to accommodate.
4657 Unset variables LINE and TYPES which are used in other tests.
4658 Compute the output of "info break".
4659 Update the breakpoint table after all breakpoints are deleted.
4660 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4661 compute ACTUALS and the method body based on parameters.
4662 Update expected output accordingly.
4663 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4664 unique comments to allow the use of gdb_get_line_number.
4665
46662012-03-01 Keith Seitz <keiths@redhat.com>
4667
4668 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4669 some Tcl syntax.
4670 * gdb.cp/ovldbreak.exp: Likewise.
4671
7949c2a0
KS
46722012-03-01 Keith Seitz <keiths@redhat.com>
4673
4674 * gdb.base/help.exp (help show user): Update expected result
4675 for new doc string changes (add "non-python").
4676
7d74f244
DE
46772012-03-01 Scott J. Goldman <scottjg@vmware.com>
4678
4679 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4680 be put in the user-defined category and that the commands appear in
4681 "help user-defined".
4682
1b611343
JB
46832012-02-29 Joel Brobecker <brobecker@adacore.com>
4684
4685 * gdb.ada/tagged_not_init: New testcase.
4686
99b1c762
JB
46872012-02-29 Joel Brobecker <brobecker@adacore.com>
4688
4689 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4690 * gdb.ada/enum_idx_packed: New testcase.
4691
2d4a02ee
JB
46922012-02-29 Joel Brobecker <brobecker@adacore.com>
4693
4694 * gdb.ada/aliased_array: New testcase.
4695
2e6fda7d
JB
46962012-02-29 Joel Brobecker <brobecker@adacore.com>
4697
4698 * gdb.ada/whatis_array_val: New testcase.
4699
9a7f938f
JK
47002012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4701
4702 Fix disp-step-syscall.exp: fork: single step over fork.
4703 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4704 whitespaces.
4705 (single step over $syscall): Remove its check.
4706 (single step over $syscall final pc): New check.
4707
8703a944
JK
47082012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4709
4710 Support processors without SSSE3.
4711 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4712 pabsd into ...
4713 (ssse3_test): ... a new function.
4714 (main): Call ssse3_test.
4715 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4716 Update expected values everywhere.
4717 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4718 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4719 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4720 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4721 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4722 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4723 Move these tests lower.
4724 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4725 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4726 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4727 New tests.
4728
c03e6ccc
YQ
47292012-02-29 Yao Qi <yao@codesourcery.com>
4730 Pedro Alves <palves@redhat.com>
4731
4732 * gdb.trace/trace-mt.c: New.
4733 * gdb.trace/trace-mt.exp: New.
4734
7964b62a
TS
47352012-02-28 Thomas Schwinge <thomas@codesourcery.com>
4736
2c8910ba
TS
4737 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4738 numbers instead of hardcoding them.
4739 * gdb.base/annota1.c: Provide suitable markers.
4740 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4741 numbers instead of hardcoding them.
4742 * gdb.base/annota3.c: Provide suitable markers.
4743
4744 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4745 * gdb.base/annota3.c: Likewise.
4746 * gdb.base/sigall.c: Likewise.
4747 * gdb.base/signals.c: Likewise.
4748 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 4749
5a41c0b7
MR
47502012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
4751
4752 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4753 failure return path.
4754
ebbbe5c5
LM
47552012-02-27 Luis Machado <lgustavo@codesourcery.com>
4756
4757 * gdb.base/save-bp.exp: Account for new condition evaluator output.
4758
8d126d8a
LM
47592012-02-24 Luis Machado <lgustavo@codesourcery.com>
4760
4761 * gdb.base/cond-eval-mode.exp: New file.
4762
11337c2f
PA
47632012-02-24 Pedro Alves <palves@redhat.com>
4764
4765 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4766 (top level): Use with_test_prefix.
4767
13fc3e3c
PA
47682012-02-24 Pedro Alves <palves@redhat.com>
4769
4770 * gdb.threads/attach-into-signal.exp (corefunc): Use
4771 with_test_prefix.
4772
07c1b626
JK
47732012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4774
4775 Fix false FAILs on old CPUs without SSE.
4776 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4777 Return untested for Illegal instruction.
4778
596ba138
JK
47792012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4780
4781 Fix false FAILs with glibc debug infos installed.
4782 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4783 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4784
aeaa2474
SA
47852012-02-22 Sterling Augustine <saugustine@google.com>
4786
4787 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4788 constant with cast.
4789
aed555c9
PA
47902012-02-21 Pedro Alves <palves@redhat.com>
4791
4792 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4793
78afebb4
PA
47942012-02-21 Pedro Alves <palves@redhat.com>
4795
4796 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4797
fdcfef12
PA
47982012-02-21 Pedro Alves <palves@redhat.com>
4799
4800 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4801 with_test_prefix.
4802
0f4d39d5
PA
48032012-02-21 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4806 with_test_prefix here.
4807 (top level): Do it here instead. Remove `:' from the
4808 with_test_prefix string.
4809 * gdb.base/attach-pie-misread.exp: Remove the leading space the
4810 the suffix `:' from the with_test_prefix prefix string.
4811 * gdb.base/break-interp.exp: Ditto.
4812 * gdb.base/catch-load.exp: Ditto.
4813 * gdb.base/disp-step-syscall.exp: Ditto.
4814 * gdb.base/jit-so.exp: Ditto.
4815 * gdb.base/jit.exp: Ditto.
4816 * gdb.base/sepdebug.exp: Ditto.
4817 * gdb.base/solib-display.exp: Ditto.
4818 * gdb.base/solib-overlap.exp: Ditto.
4819 * gdb.base/watch-cond-infcall.exp: Ditto.
4820 * gdb.base/watchpoint.exp: Ditto.
4821 * gdb.dwarf2/dw2-noloc.exp: Ditto.
4822 * gdb.mi/mi-watch.exp: Ditto.
4823 * gdb.mi/mi2-watch.exp: Ditto.
4824 * gdb.threads/non-ldr-exc-1.exp: Ditto.
4825 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4826 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4827 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4828 * gdb.threads/watchpoint-fork.exp: Ditto.
4829 * gdb.threads/watchthreads-reorder.exp: Ditto.
4830 * gdb.trace/change-loc.exp: Ditto.
4831 * gdb.trace/pending.exp: Ditto.
4832 * gdb.trace/status-stop.exp: Ditto.
4833 * gdb.trace/strace.exp: Ditto.
4834 * gdb.trace/trace-break.exp: Ditto.
4835 * gdb.trace/unavailable.exp: Ditto.
4836 * lib/gdb.exp (with_test_prefix): Always prefix with space and
4837 suffix with colon. Adjust leading comments.
4838
6a5870ce
PA
48392012-02-21 Pedro Alves <palves@redhat.com>
4840 Tom Tromey <tromey@redhat.com>
4841
4842 * lib/gdb.exp: Add description of test prefixes.
4843 (with_test_prefix): New procedure.
4844 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4845 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4846 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
4847 instead of lappend to append to pf_prefix.
4848 * gdb.base/catch-load.exp: Use with_test_prefix.
4849 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4850 * gdb.base/jit-so.exp: Use with_test_prefix.
4851 * gdb.base/jit.exp: Use with_test_prefix.
4852 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4853 lappend to append to pf_prefix.
4854 * gdb.base/sepdebug.exp: Use with_test_prefix.
4855 * gdb.base/solib-display.exp: Use with_test_prefix.
4856 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4857 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4858 * gdb.base/watchpoint.exp: Use with_test_prefix.
4859 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4860 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4861 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4862 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4863 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4864 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4865 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4866 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4867 append instead of lappend to append to pf_prefix.
4868 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4869 * gdb.trace/change-loc.exp: Use with_test_prefix.
4870 * gdb.trace/pending.exp: Use with_test_prefix.
4871 * gdb.trace/status-stop.exp: Use with_test_prefix.
4872 * gdb.trace/strace.exp: Use with_test_prefix.
4873 * gdb.trace/trace-break.exp: Use with_test_prefix.
4874 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4875 instead of lappend to append to pf_prefix.
4876
35dc4a6b
JK
48772012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 Fix racy FAILs.
4880 * gdb.base/inferior-died.c (main): Add return of 0.
4881 * gdb.base/inferior-died.exp (continue): Fix expectation of
4882 asynchronous events.
4883 (p 1): New test.
4884
c5a006e6
PA
48852012-02-20 Pedro Alves <palves@redhat.com>
4886
4887 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4888 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4889 gdb's internal debug output. For the non-threaded case, look for
4890 "Program received signal SIGLARM", for the threaded case, peek at
4891 the thread's siginfo.
4892
cc51a170
PA
48932012-02-20 Pedro Alves <palves@redhat.com>
4894
4895 General cleanup, make output test messages unique, and build
4896 different executable files for the non-threaded and threaded
4897 cases.
4898
4899 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4900 Delete.
4901 (executable_nothr, executable_thr): New globals.
4902 (top level): Adjust to delete both executables.
4903 (corefunc): New parameter $executable. Set $pf_prefix instead of
4904 hand writing a prefix in tests. Issue a clean_restart and enable
4905 lin-lwp debug output here.
4906 (top level): Adjust. Use build_executable. Don't start gdb here,
4907 and don't enable lin-lwp debug output here.
4908 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4909
c755f03d
JK
49102012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4911
4912 Fix racy FAILs.
4913 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4914 "continue" command.
4915
6bec5e0a
JK
49162012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4917
4918 Fix for gdbserver non-extended mode.
4919 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4920 and gdb_run_cmd.
4921
2e8265fd
TT
49222012-02-17 Tom Tromey <tromey@redhat.com>
4923
4924 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4925 * gdb.python/py-events.exp: Check 'dir' output.
4926 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4927
9e507076
YQ
49282012-02-17 Yao Qi <yao@codesourcery.com>
4929
4930 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4931
32d22ab1
TT
49322012-02-16 Tom Tromey <tromey@redhat.com>
4933
4934 * gdb.base/inferior-died.c: Don't include stdio.h.
4935
9addecb9
TT
49362012-02-16 Tom Tromey <tromey@redhat.com>
4937
4938 * gdb.base/inferior-died.c: New file.
4939 * gdb.base/inferior-died.exp: New file.
4940
4cb6da1c
AR
49412012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4942
4943 * gdb.base/break-inline.exp: New file.
4944 * gdb.base/break-inline.c: New file.
4945
3af2590d
TT
49462012-02-15 Tom Tromey <tromey@redhat.com>
4947
4948 * gdb.base/pc-fp.exp: Add "info register" tests.
4949
29988831
TT
49502012-02-15 Tom Tromey <tromey@redhat.com>
4951
4952 * gdb.base/regs.exp: Remove.
4953
10010058
PA
49542012-02-15 Pedro Alves <palves@redhat.com>
4955
4956 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4957 the target doesn't support tracepoints.
4958 * gdb.trace/circ.exp: Ditto.
4959 * gdb.trace/collection.exp: Ditto.
4960 * gdb.trace/packetlen.exp: Ditto.
4961 * gdb.trace/passc-dyn.exp: Ditto.
4962 * gdb.trace/report.exp: Ditto.
4963 * gdb.trace/tfind.exp: Ditto.
4964 * gdb.trace/tspeed.exp: Ditto.
4965 * gdb.trace/tsv.exp: Ditto.
4966 * gdb.trace/unavailable.exp: Ditto.
4967 * gdb.trace/while-dyn.exp: Ditto.
4968
a2e0062d
PA
49692012-02-15 Pedro Alves <palves@redhat.com>
4970
4971 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4972 gdb_test_multiple, and call unsupported instead of fail, if the
4973 remote side does not support the request.
4974
a1999d40
PA
49752012-02-15 Pedro Alves <palves@redhat.com>
4976
4977 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4978 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4979 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4980 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4981 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4982 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4983 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4984 doesn't start with "extended-" already.
4985
7cee1e54
PA
49862012-02-15 Pedro Alves <palves@redhat.com>
4987
4988 Support extended-remote. Avoid cascading timeouts.
4989
4990 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4991 the extended-remote target. If attaching with no file fails, load
4992 the file manually.
4993 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4994
816338b5
SS
49952012-02-14 Stan Shebs <stan@codesourcery.com>
4996
4997 * gdb.base/ena-dis-br.exp: Add enable count test.
4998
cc30c4bd
PA
49992012-02-13 Pedro Alves <palves@redhat.com>
5000
5001 * config/mips-idt.exp: Delete.
5002 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5003 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5004 * gdb.base/break.exp: Remove mips-idt references.
5005 * gdb.base/chng-syms.exp: Ditto.
5006 * gdb.base/default.exp: Ditto.
5007 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5008 (top level): Don't call it.
5009 * gdb.base/opaque.exp: Remove mips-idt restarts.
5010 * gdb.base/ptype.exp: Remove mips-idt xfails.
5011 * gdb.base/scope.exp: Remove mips-idt restarts.
5012 * gdb.base/sepdebug.exp: Remove mips-idt references.
5013 * gdb.base/watchpoint.exp (maybe_clean_restart)
5014 (maybe_reinitialize): Delete.
5015 (test_disabling_watchpoints, test_disabling_watchpoints)
5016 (test_watchpoint_triggered_in_syscall)
5017 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5018 Don't call them.
5019
57008375
JK
50202012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5021
5022 * gdb.server/server-exec-info.exp: New file.
5023
4a2d9c08
PA
50242012-02-10 Pedro Alves <palves@redhat.com>
5025
5026 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5027 always non-empty.
5028 (test_attach): Always pass $exec to test_attach_gdb.
5029
09fa21bd
TT
50302012-02-08 Tom Tromey <tromey@redhat.com>
5031
5032 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5033 before inferior is started.
5034
f0823d2c
TT
50352012-02-07 Tom Tromey <tromey@redhat.com>
5036
5037 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5038 Symbol.value.
5039 * gdb.python/py-symbol.c (qq): Set default value.
5040
50412012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
5042
5043 * gdb.python/py-symbol.c (qq): New global.
5044 * gdb.python/py-symbol.exp: Add test for frame-less
5045 lookup_symbol.
5046 * gdb.python/py-symtab.exp: Fix line number.
5047
f7e44f65
JB
50482012-02-03 Joel Brobecker <brobecker@adacore.com>
5049
5050 * gdb.ada/mi_task_arg: New testcase.
5051
4c9ed63c
PA
50522012-02-02 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5055 extended timeout.
5056
c0b9f2c6
PA
50572012-02-02 Pedro Alves <palves@redhat.com>
5058
5059 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5060 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5061
5f8cefd7
PA
50622012-02-02 Pedro Alves <palves@redhat.com>
5063
5064 * gdb.base/term.exp: Rewrite.
5065 * gdb.base/term.c: New.
5066
2f3a2569
PA
50672012-02-02 Pedro Alves <palves@redhat.com>
5068
5069 * gdb.base/default.exp (run "r" abbreviation, run): Add
5070 extended-remote expected output.
5071
f149aabd
TT
50722012-02-02 Tom Tromey <tromey@redhat.com>
5073
5074 * gdb.cp/dispcxx.exp: New file.
5075 * gdb.cp/dispcxx.cc: New file.
5076
03bef283
TT
50772012-02-01 Tom Tromey <tromey@redhat.com>
5078
5079 * gdb.base/jit-simple.exp: New file.
5080 * gdb.base/jit-simple.c: New file.
5081
a79b18b5
YQ
50822012-01-30 Yao Qi <yao@codesourcery.com>
5083
5084 * gdb.base/skip.exp: Make test result unique.
5085
f0d1a53e
JK
50862012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5087
5088 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5089 compatibility with valgrind-3.7.0.
5090
4b3c9f41
PA
50912012-01-27 Pedro Alves <palves@redhat.com>
5092
5093 * gdb.base/watchpoint.exp (no_hw): New global.
5094 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5095 disable hw watchpoints.
5096 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5097 don't expect hw watchpoints.
5098 (no_hw_watchpoints): Always clean restart.
5099 (do_tests): New procedure, factored out from the top level.
5100 (top level): Run tests twice. Once with hw watchpoints enabled,
5101 another time with hw watchpoints disabled.
5102
a13491c8
PA
51032012-01-27 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5106 out from the top level.
5107 (top level): Call it instead.
5108
f2c8a051
PA
51092012-01-27 Pedro Alves <palves@redhat.com>
5110
5111 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5112 watchpoints sooner.
5113
654d7a9e
PA
51142012-01-27 Pedro Alves <palves@redhat.com>
5115
5116 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5117
274f47f3
PA
51182012-01-27 Pedro Alves <palves@redhat.com>
5119
5120 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5121 "You may have requested too many hardware
5122 breakpoints/watchpoints".
5123
e4d63ba2
PA
51242012-01-27 Pedro Alves <palves@redhat.com>
5125
5126 * gdb.base/watchpoint.exp (maybe_clean_restart)
5127 (maybe_reinitialize): New.
5128 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5129 expect "hit N times".
5130 (test_disabling_watchpoints, test_complex_watchpoint)
5131 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5132 Call maybe_clean_restart.
5133 (top level): Use clean_restart. Remove "mips-idt-*"
5134 reinitialization.
5135
dbd95daf
PA
51362012-01-27 Pedro Alves <palves@redhat.com>
5137
5138 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5139
f3ad2025
PA
51402012-01-27 Pedro Alves <palves@redhat.com>
5141
5142 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5143 require `initialize' anymore. Remove unnecessary `initialize'
5144 calls.
5145
100aa3ae
PA
51462012-01-27 Pedro Alves <palves@redhat.com>
5147
5148 * gdb.base/watchpoint.exp (wp_set): Delete.
5149 (initialize, test_simple_watchpoint, top level): Remove dead code.
5150
c79a8e11
PA
51512012-01-27 Pedro Alves <palves@redhat.com>
5152
5153 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5154 typo.
5155
048fe15a
PA
51562012-01-27 Pedro Alves <palves@redhat.com>
5157
5158 * config/extended-gdbserver.exp: New file.
5159 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5160 comment.
5161 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5162 * boards/native-extended-gdbserver.exp: New file.
5163
4033a6bf
PA
51642012-01-26 Pedro Alves <palves@redhat.com>
5165
5166 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5167 and gdb_test_multiple.
5168
3d7f4b81
PA
51692012-01-26 Pedro Alves <palves@redhat.com>
5170
5171 Make test messages unique, and more identifiable.
5172 * gdb.multi/watchpoint-multi.exp: Change test messages.
5173
484abf42
TT
51742012-01-25 Tom Tromey <tromey@redhat.com>
5175
5176 * gdb.base/solib-disc.exp: Fix regexps.
5177
edcc5120
TT
51782012-01-24 Tom Tromey <tromey@redhat.com>
5179
5180 * lib/mi-support.exp (mi_expect_stop): Add special case for
5181 solib-event.
5182 * gdb.base/catch-load-so.c: New file.
5183 * gdb.base/catch-load.exp: New file.
5184 * gdb.base/catch-load.c: New file.
5185 * gdb.base/break-interp.exp (reach_1): Update regexp.
5186
30b91c90
JK
51872012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5188
5189 Fix fuzzy results.
5190 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5191 lpsimple and func.
5192
53fe1783
GB
51932012-01-24 Gary Benson <gbenson@redhat.com>
5194
5195 Delete #if 0'd out code.
5196 * gdb.base/default.exp (info catch): Remove.
5197 * gdb.base/gdb_history (info catch): Likewise.
5198 * gdb.base/help.exp (info catch): Likewise.
5199
d0d8b0c6
JK
52002012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5201
5202 Fix watchpoints to be specific for each inferior.
5203 * gdb.multi/watchpoint-multi.c: New file.
5204 * gdb.multi/watchpoint-multi.exp: New file.
5205
4403d8e9
JK
52062012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5207
5208 Fix watchpoints across inferior fork.
5209 * gdb.threads/watchpoint-fork-child.c: New file.
5210 * gdb.threads/watchpoint-fork-mt.c: New file.
5211 * gdb.threads/watchpoint-fork-parent.c: New file.
5212 * gdb.threads/watchpoint-fork-st.c: New file.
5213 * gdb.threads/watchpoint-fork.exp: New file.
5214 * gdb.threads/watchpoint-fork.h: New file.
5215
050a2e1d
PA
52162012-01-23 Pedro Alves <palves@redhat.com>
5217
5218 * gdb.base/call-signal-resume.exp: Allow output after "return".
5219
6a52fb62
PA
52202012-01-20 Pedro Alves <palves@redhat.com>
5221
5222 * gdb.python/py-finish-breakpoint.py: Fix typo.
5223
145b16a9
UW
52242012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5225
5226 * gdb.base/info-proc.exp: Also run on remote targets. Main
5227 "info proc" command is now always present; whether target supports
5228 actual info proc operation is detected when attempting to issue
5229 the command.
5230
26f6125e
JK
52312012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5232
5233 * .gdbinit: Remove.
5234
eb5227ce
PA
52352012-01-19 Pedro Alves <palves@redhat.com>
5236
5237 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5238 look at the funtions' returns.
5239 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5240 (jprint.print(int, int)): Change return type to int. Adjust.
5241
1db33378
PP
52422012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5243
5244 PR gdb/9538
5245 * gdb.base/sepdebug.exp: New test.
5246
b9736cf8
PA
52472012-01-18 Pedro Alves <palves@redhat.com>
5248
5249 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5250 Allow output before ^done.
5251
4aac40c8
TT
52522012-01-16 Tom Tromey <tromey@redhat.com>
5253
5254 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
5255 Add tests for relative directory.
5256
cafec441
TT
52572012-01-16 Tom Tromey <tromey@redhat.com>
5258
5259 * gdb.base/printcmds.c (enum flag_enum): New.
5260 (three): New global.
5261 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
5262 enum printing.
5263 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
5264 FlagEnumerationPrinter.
5265 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
5266 * gdb.python/py-pp-maint.c (enum flag_enum): New.
5267 (fval): New global.
5268
abcc4978
PA
52692012-01-16 Pedro Alves <palves@redhat.com>
5270
5271 * lib/gdb.exp (banned_procedures): New variable.
5272 (banned_variables_traced): Rename to ...
5273 (banned_traced): ... this.
5274 (gdb_init): Also trace banned procedures.
5275 (gdb_finish): Also untrace banned procedures.
5276
97ccebe8
PA
52772012-01-16 Pedro Alves <palves@redhat.com>
5278
5279 Remove all calls to strace.
5280
2af7517b
JK
52812012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5282
5283 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
5284 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
5285
9241a8bc
PP
52862012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5287
5288 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
5289 * gdb.base/pie-execl.exp: Likewise.
5290
3848a17f
KS
52912012-01-12 Keith Seitz <keiths@redhat.com>
5292
5293 PR mi/10586
5294 * gdb.mi/var-cmd.c (struct anonymous): New structure.
5295 (do_anonymous_type_tests): New function.
5296 (main): Call do_anonymous_type_tests.
5297 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
5298 (verify_everything): New procedure.
5299 * gdb.mi/mi-var-cp.cc (class A): New class.
5300 (anonymous_structs_and_unions): New function.
5301 (main): Call anonymous_structs_and_unions.
5302 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
5303 (verify_everything): New procedure.
5304
440e2fca
KS
53052012-01-12 Keith Seitz <keiths@redhat.com>
5306
5307 * lib/mi-support.exp: Expand comments about PATH_EXPR.
5308 (varobj_tree::get_path_expr): Assume that all varobjs are
5309 compound unless they are known simple types.
5310 Adjust path expressions based on parent type, path parent type,
5311 and tree language.
5312 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
5313 the root varobj.
5314 (mi_walk_varobj_tree): Add LANGUAGE parameter.
5315
675399c9
PA
53162012-01-11 Pedro Alves <palves@redhat.com>
5317
5318 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
5319 core files on this machine" anymore.
5320
97ddaa9b
PH
53212012-01-11 Paul Hilfinger <hilfingr@adacore.com>
5322
5323 * gdb.base/watchpoint.c (recurser): Initialize local_x.
5324 (main): Repeat recurser call.
5325 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
5326 equivalent to 'local_x'.
5327
ea733575 53282012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 5329 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
5330
5331 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
5332
2ca0b532
PA
53332012-01-05 Pedro Alves <alves.ped@gmail.com>
5334
5335 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
5336 * gdb.python/py-events.c (first): Add bits for new "step N" test.
5337 * gdb.python/py-events.exp: Test that "step N" tripping on a
5338 breakpoint emits a breakpoint event.
5339
6e681866
JB
53402012-01-03 Joel Brobecker <brobecker@adacore.com>
5341
5342 * gdb.base/auxv.exp: Reformat the copyright notice.
5343
3c2d6aff
YQ
53442012-01-03 Yao Qi <yao@codesourcery.com>
5345
5346 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
5347 (strace_trace_on_diff_addr): New.
5348 * gdb.trace/strace.c: (main): Add two local variables.
5349
0852fee3
UW
53502011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
5351
5352 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
5353 * gdb.cell/gcore.exp: Likewise.
5354 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
5355 to verify the correct instance of main is selected.
5356
12c3e59c
JB
53572012-01-02 Joel Brobecker <brobecker@adacore.com>
5358
5359 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
5360 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
5361 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
5362 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
5363 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
5364 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
5365 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
5366 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
5367 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
5368 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
5369 gdb.threads/thread_check.c: Reformat copyright header.
5370
c0f378ec
EBM
53712011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
5372
e4a7ca93 5373 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
5374 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
5375 is not enabled.
5376
3bc96cfb
JK
53772011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5378
5379 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
5380 parameter to self_exec, adjust the function.
5381 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
5382 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
5383 (set var do_exit = 0): Remove test.
5384 (newline at end of file): Add one.
5385
095bcf5e
JB
53862011-12-27 Joel Brobecker <brobecker@adacore.com>
5387
5388 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
5389 New files.
5390
18d19bd1
JK
53912011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5392
5393 Fix racy FAILs.
5394 * gdb.threads/fork-thread-pending.c (barrier): New variable.
5395 (thread_function, thread_forker): Call pthread_barrier_wait for it.
5396 (main): Call pthread_barrier_init for it.
5397
e809353a
JK
53982011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5399
5400 Fix double send_gdb leading to racy FAILs.
5401 * gdb.base/break.exp (set silent break bp_location1): Replace
5402 3x send_gdb and gdb_expect by gdb_test.
5403 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
5404 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
5405 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
5406 instead of send_gdb. Twice.
5407 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
5408 3x send_gdb and gdb_expect by gdb_test.
5409 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
5410
da8cb7ec
JK
54112011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5412
5413 * gdb.linespec/linespec.exp: Compile using {c++}.
5414
ae1a303e
JK
54152011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5416
5417 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
5418 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
5419 (verify GCC PR debug/51668): New test.
5420
cc72b2a2
KP
54212011-12-23 Kevin Pouget <kevin.pouget@st.com>
5422
5423 Introduce gdb.FinishBreakpoint in Python.
5424 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
5425 py-finish-breakpoint2
5426 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
5427 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
5428 instead of line number.
5429 * gdb.python/py-finish-breakpoint.c: New file.
5430 * gdb.python/py-finish-breakpoint.exp: New file.
5431 * gdb.python/py-finish-breakpoint.py: New file.
5432 * gdb.python/py-finish-breakpoint2.cc: New file.
5433 * gdb.python/py-finish-breakpoint2.exp: New file.
5434 * gdb.python/py-finish-breakpoint2.py: New file.
5435
3b7962f9
JK
54362011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5437
5438 Partial fix of compatibility with gcc-4.7.
5439 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
5440 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
5441 Add comment to add a PASS case in the future.
5442
6538471c
JK
5443 Fix compatibility with gcc-4.7.
5444 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
5445
7052e42c
UW
54462011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
5447
5448 PR tdep/12797
5449 * gdb.base/callfuncs.exp: Remove KFAIL.
5450
9ac7f98e
JB
54512011-12-21 Joel Brobecker <brobecker@adacore.com>
5452
5453 * gdb.ada/task_bp: New testcase.
5454
f6eeced0
JK
54552011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5456
5457 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
5458 -DNO_SECTIONS.
5459 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
5460
72225e17
JK
54612011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5462
5463 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
5464 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
5465 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5466 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
5467 conditional for gcc <= 4.5.
5468
13ac8d2c
JK
54692011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5470
5471 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
5472 by XFAIL.
5473 * gdb.cp/static-method.exp (info addr A::func())
5474 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5475 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5476 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5477 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
5478 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
5479 (test value of F in k3_m): Likewise.
5480 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5481 Likewise.
5482
049682ba
JK
54832011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5484
5485 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
5486 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
5487 Remove.
5488 * gdb.threads/attachstop-mt.c: Remove.
5489 * gdb.threads/attachstop-mt.exp: Remove.
5490
2c9d8796
MK
54912011-12-17 Mark Kettenis <kettenis@gnu.org>
5492
5493 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
5494
e0f9f062
DE
54952011-12-16 Doug Evans <dje@google.com>
5496
f4aa2101 5497 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
5498 * boards/native-gdbserver.exp: New file.
5499
e0f9f062
DE
5500 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
5501 gdbserver output.
5502 (gdbserver_default_get_remote_address): New function.
5503 (gdbserver_start): Call gdb,get_remote_address to compute argument
5504 to "target remote" command.
5505
80b6e756
PM
55062011-12-16 Phil Muldoon <pmuldoon@redhat.com>
5507
1c3ad6ab 5508 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
5509 python print-stack. Add set/show python print-stack
5510 off|full|message tests.
5511
1576bd00
YQ
55122011-12-15 Yao Qi <yao@codesourcery.com>
5513
5514 * gdb.trace/strace.c: New
5515 * gdb.trace/strace.exp: New.
5516
d6a0f6e0
TT
55172011-12-14 Tom Tromey <tromey@redhat.com>
5518
5519 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
5520
31015e1d
DE
55212011-12-14 Doug Evans <dje@google.com>
5522
5523 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
5524
7b50312a
PA
55252011-12-14 Pedro Alves <pedro@codesourcery.com>
5526
5527 PR threads/10729
5528
5529 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 5530 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 5531
924437bc
PA
55322011-12-13 Pedro Alves <pedro@codesourcery.com>
5533 Doug Evans <dje@google.com>
5534
5535 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
5536 (clean_restart): Remove references to the gdb_stub target board
5537 variable.
5538 (gdb_step_for_stub): Delete.
5539
5540 * gdb.base/annota1.exp: Remove all references to [target_info
5541 exists gdb_stub], gdb_step_for_stub and usestubs.
5542 * gdb.base/annota3.exp: Ditto.
5543 * gdb.base/async.exp: Ditto.
5544 * gdb.base/break.exp: Ditto.
5545 * gdb.base/code-expr.exp: Ditto.
5546 * gdb.base/commands.exp: Ditto.
5547 * gdb.base/completion.exp: Ditto.
5548 * gdb.base/condbreak.exp: Ditto.
5549 * gdb.base/consecutive.exp: Ditto.
5550 * gdb.base/cvexpr.exp: Ditto.
5551 * gdb.base/define.exp: Ditto.
5552 * gdb.base/display.exp: Ditto.
5553 * gdb.base/ena-dis-br.exp: Ditto.
5554 * gdb.base/environ.exp: Ditto.
5555 * gdb.base/gnu-ifunc.exp: Ditto.
5556 * gdb.base/maint.exp: Ditto.
5557 * gdb.base/pending.exp: Ditto.
5558 * gdb.base/sect-cmd.exp: Ditto.
5559 * gdb.base/sepdebug.exp: Ditto.
5560 * gdb.base/unload.exp: Ditto.
5561 * gdb.base/watchpoint-solib.exp: Ditto.
5562 * gdb.cp/annota2.exp: Ditto.
5563 * gdb.cp/annota3.exp: Ditto.
5564 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
5565 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
5566 * gdb.mi/mi-pending.exp: Ditto.
5567 * gdb.trace/circ.exp: Ditto.
5568 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
5569 * gdb.base/list.exp: Ditto.
5570
5571 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5572 breakpoint function and all references to the usestubs macro.
5573 * gdb.base/exprs.c: Ditto.
5574 * gdb.base/freebpcmd.c: Ditto.
5575 * gdb.base/bitfields.c: Ditto.
5576 * gdb.base/bitfields2.c: Ditto.
5577 * gdb.base/break.c: Ditto.
5578 * gdb.base/call-sc.c: Ditto.
5579 * gdb.base/call-signals.c: Ditto.
5580 * gdb.base/callfuncs.c: Ditto.
5581 * gdb.base/charset.c: Ditto.
5582 * gdb.base/consecutive.c: Ditto.
5583 * gdb.base/constvars.c: Ditto.
5584 * gdb.base/funcargs.c: Ditto.
5585 * gdb.base/int-type.c: Ditto.
5586 * gdb.base/interrupt.c: Ditto.
5587 * gdb.base/langs0.c: Ditto.
5588 * gdb.base/list0.c: Ditto.
5589 * gdb.base/mips_pro.c: Ditto.
5590 * gdb.base/miscexprs.c: Ditto.
5591 * gdb.base/nodebug.c: Ditto.
5592 * gdb.base/opaque0.c: Ditto.
5593 * gdb.base/pointers.c: Ditto.
5594 * gdb.base/printcmds.c: Ditto.
5595 * gdb.base/ptype.c: Ditto.
5596 * gdb.base/recurse.c: Ditto.
5597 * gdb.base/reread1.c: Ditto.
5598 * gdb.base/reread2.c: Ditto.
5599 * gdb.base/restore.c: Ditto.
5600 * gdb.base/return.c: Ditto.
5601 * gdb.base/run.c: Ditto.
5602 * gdb.base/scope0.c: Ditto.
5603 * gdb.base/sepdebug.c: Ditto.
5604 * gdb.base/setshow.c: Ditto.
5605 * gdb.base/setvar.c: Ditto.
5606 * gdb.base/sigall.c: Ditto.
5607 * gdb.base/signals.c: Ditto.
5608 * gdb.base/structs.c: Ditto.
5609 * gdb.base/structs2.c: Ditto.
5610 * gdb.base/testenv.c: Ditto.
5611 * gdb.base/twice.c: Ditto.
5612 * gdb.base/unwindonsignal.c: Ditto.
5613 * gdb.base/watchpoint.c: Ditto.
5614 * gdb.base/watchpoints.c: Ditto.
5615 * gdb.base/whatis.c: Ditto.
5616 * gdb.cp/classes.cc: Ditto.
5617 * gdb.cp/cplusfuncs.cc: Ditto.
5618 * gdb.cp/derivation.cc: Ditto.
5619 * gdb.cp/formatted-ref.cc: Ditto.
5620 * gdb.cp/misc.cc: Ditto.
5621 * gdb.cp/overload.cc: Ditto.
5622 * gdb.cp/ovldbreak.cc: Ditto.
5623 * gdb.cp/ref-params.cc: Ditto.
5624 * gdb.cp/ref-types.cc: Ditto.
5625 * gdb.cp/templates.cc: Ditto.
5626 * gdb.cp/virtfunc.cc: Ditto.
5627 * gdb.hp/gdb.aCC/run.c: Ditto.
5628 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5629 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5630 * gdb.reverse/consecutive-reverse.c: Ditto.
5631 * gdb.reverse/sigall-reverse.c: Ditto.
5632 * gdb.reverse/until-reverse.c: Ditto.
5633 * gdb.reverse/watch-reverse.c: Ditto.
5634 * gdb.trace/actions.c: Ditto.
5635 * gdb.trace/circ.c: Ditto.
5636 * gdb.trace/collection.c: Ditto.
5637
fabde485
PA
56382011-12-13 Pedro Alves <pedro@codesourcery.com>
5639
5640 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5641 (func6, func7): New.
5642 (main): Call func6 and func7.
5643 * gdb.base/watchpoint.exp (test_wide_location_1)
5644 (test_wide_location_2): New.
5645 (top level): Re-enable hardware watchpoints if necessary. Call
5646 test_wide_location_1 and test_wide_location_2.
5647
ff7d1690
YQ
56482011-12-11 Yao Qi <yao@codesourcery.com>
5649
5650 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5651
a6af7abe
JB
56522011-12-11 Joel Brobecker <brobecker@adacore.com>
5653
5654 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5655 expected output for unsupported case.
5656
61638e15
JK
56572011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5658
5659 PR testsuite/12649
5660 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5661 Protect gdb_test_multiple by final $gdb_prompt match.
5662
0a00efc3
JK
56632011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5664
5665 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5666 New variable, new test.
5667 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5668 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5669 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5670 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5671 them if HAVE_GCC_45682_FIXED is not set.
5672
4511b1ba
YQ
56732011-12-10 Yao Qi <yao@codesourcery.com>
5674
5675 * gdb.trace/status-stop.exp: New.
5676 * gdb.trace/status-stop.c: New.
5677
27949e73
JK
56782011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5679
5680 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5681 timeout.
5682
d8ea7931
TT
56832011-12-08 Tom Tromey <tromey@redhat.com>
5684
5685 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5686 condition.
5687
1cc310d2
SS
56882011-12-07 Stan Shebs <stan@codesourcery.com>
5689
5690 * gdb.trace/tfind.exp: Update for output changes.
5691
d482a875
PA
56922011-12-07 Pedro Alves <pedro@codesourcery.com>
5693
5694 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5695 throws "Cannot insert catchpoints in this configuration".
5696 * gdb.ada/mi_catch_ex.exp: Likewise.
5697
f0ba3972
PA
56982011-12-06 Pedro Alves <pedro@codesourcery.com>
5699
5700 * gdb.base/break-always.exp: Test changing memory at addresses
5701 with breakpoints inserted.
5702
f8eba3c6
TT
57032011-12-06 Joel Brobecker <brobecker@acacore.com>
5704
6fdff2c5
PA
5705 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5706 involving a fully qualified function name.
f8eba3c6
TT
5707
57082011-12-06 Tom Tromey <tromey@redhat.com>
5709
5710 * gdb.ada/homonym.exp: Add three breakpoint tests.
5711
57122011-12-06 Tom Tromey <tromey@redhat.com>
5713
5714 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5715 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5716 * gdb.objc/objcdecode.exp: Update for output changes.
5717 * gdb.linespec/linespec.exp: New file.
5718 * gdb.linespec/lspec.cc: New file.
5719 * gdb.linespec/lspec.h: New file.
5720 * gdb.linespec/body.h: New file.
5721 * gdb.linespec/base/two/thefile.cc: New file.
5722 * gdb.linespec/base/one/thefile.cc: New file.
5723 * gdb.linespec/Makefile.in: New file.
5724 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5725 output changes.
5726 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5727 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5728 makes one breakpoint.
5729 * gdb.cp/method2.exp (test_break): Update for output changes.
5730 * gdb.cp/mb-templates.exp: Update for output changes.
5731 * gdb.cp/mb-inline.exp: Update for output changes.
5732 * gdb.cp/mb-ctor.exp: Update for output changes.
5733 * gdb.cp/ovsrch.exp: Use fully-qualified names.
5734 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
5735 has multiple matches.
5736 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
5737 error message change.
5738 * gdb.base/list.exp (test_list_filename_and_number): Update for
5739 error message change.
5740 * gdb.base/break.exp: Disable pending breakpoints. Update for
5741 output changes.
5742 * configure.ac: Add gdb.linespec.
5743 * configure: Rebuild.
5744 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5745
c642a434
UW
57462011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
5747
5748 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5749 last_break register on s390*-*-* targets.
5750
b18003d1
JB
57512011-12-06 Joel Brobecker <brobecker@adacore.com>
5752
5753 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5754 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5755 of parameter X in procedure Foo.
5756
fe96589c
SS
57572011-12-05 Stan Shebs <stan@codesourcery.com>
5758
5759 * gdb.trace/tfind.exp: Update help string matches.
5760
1820ab47
JK
57612011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5762
5763 * gdb.server/ext-run.exp (get process list): Accept also systemd
5764 as PID 1.
5765
e11ac3a3
JK
57662011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5767 Pedro Alves <pedro@codesourcery.com>
5768
5769 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5770 starting GDB.
5771 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5772 $use_gdb_stub.
5773 * gdb.base/display.exp: Likewise.
5774 * gdb.base/ending-run.exp: Likewise.
5775 * gdb.base/list.exp (test_listsize): Likewise.
5776 * gdb.base/setshow.exp: Likewise.
5777 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5778 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5779 check by global $use_gdb_stub.
5780 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5781 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5782 (default_gdb_init): Unset global $use_gdb_stub.
5783 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5784 by global $use_gdb_stub.
5785 * lib/gdbserver-support.exp: Extend comments for set_board_info
5786 gdb_protocol and gdb,socketport.
5787 (gdbserver_start_extended): Set global gdbserver_protocol and
5788 gdbserver_gdbport. Clear global use_gdb_stub.
5789 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5790 from target use_gdb_stub.
5791 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5792
1d41d75c
DE
57932011-12-03 Doug Evans <dje@google.com>
5794
5795 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5796 (gdb_step_for_stub): Add comments.
5797
d6d7a51a
MR
57982011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
5799
5800 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5801 to the caller.
5802 (gdb_test_multiple): Likewise.
5803
05acf274
JK
58042011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5805
5806 Fix gdb.mi/mi-solib.exp without system debug info installed.
5807 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5808 expect attribute, return 0 for it. Update comments.
5809
2268b414
JK
58102011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5811
5812 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5813 (corrupted list): Adjust the expectation.
5814
585861ea
JK
58152011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5816
5817 PR threads/13448
5818 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5819 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5820 * gdb.threads/tls-var-main.c: New file.
5821 * gdb.threads/tls-var.c: New file.
5822 * gdb.threads/tls-var.exp: New file.
5823
968643aa
JK
58242011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5825
5826 PR testsuite/12649
5827 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5828 Protect gdb_test_multiple by final $gdb_prompt match.
5829 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5830 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5831 (test_tracepoints): Likewise.
5832
9750bca9
JK
58332011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5834
5835 PR breakpoints/13346
5836 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5837 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5838 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5839
ac1349b7
JB
58402011-12-01 Joel Brobecker <brobecker@adacore.com>
5841
5842 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5843 * gdb.ada/homonym/homonym.adb: For use of all types defined
5844 locally inside both Get_Value subprograms.
5845
26d44faf
JK
58462011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5847
5848 Fix racy FAILs.
5849 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5850 of send_gdb.
5851
514f6425
UW
58522011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5853
5854 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5855 environment variable after test completed.
5856
4255c8d2
UW
58572011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5858
5859 * gdb.base/solib-nodir.exp: Skip if remote target.
5860 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5861 application. Call gdb_load_shlibs.
5862 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5863
a35ad96a
JB
58642011-11-29 Joel Brobecker <brobecker@adacore.com>
5865
5866 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5867
1a1d5513
JB
58682011-11-28 Joel Brobecker <brobecker@adacore.com>
5869
5870 * gdb.ada/fullname_bp: New testcase.
5871
50b4ddf8
JK
58722011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5873
5874 PR testsuite/12649
5875 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5876 Wrap send_gdb into a new gdb_test.
5877
fb0aec57
JK
5878 Code cleanup.
5879 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5880 Convert send_gdb and gdb_expect to gdb_test_multiple.
5881
2376d946
JK
58822011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5883
5884 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5885
1eec78bd
KS
58862011-11-23 Keith Seitz <keiths@redhat.com>
5887
5888 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5889 (mi_varobj_tree_test_children_callback): New proc.
5890 (mi_walk_varobj_tree): New proc.
5891
36dfb11c
TT
58922011-11-22 Tom Tromey <tromey@redhat.com>
5893
5894 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5895 Add "use_mi_command" argument.
5896 (mi_run_cmd, mi_run_with_cli): New procs.
5897 * gdb.mi/solib-lib.c: New file.
5898 * gdb.mi/solib-main.c: New file.
5899 * gdb.mi/mi-solib.exp: New file.
5900
0e965dd0
DE
59012011-11-21 Doug Evans <dje@google.com>
5902
5903 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5904 _Unwind_DebugHook is missing.
5905
f196051f
SS
59062011-11-20 Stan Shebs <stan@codesourcery.com>
5907
5908 * gdb.trace/tstatus.exp: New.
5909 * gdb.trace/actions.c: Include string.h.
5910
bfccc43c
YQ
59112011-11-18 Yao Qi <yao@codesourcery.com>
5912
5913 * gdb.trace/pending.exp: New.
5914 * gdb.trace/pending.c: New.
5915 * gdb.trace/pendshr1.c: New.
5916 * gdb.trace/pendshr2.c: New.
5917 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5918 tracepoint location becomes pending.
5919 (tracepoint_change_loc_2): New.
5920
73cd8ab1
DM
59212011-11-16 David S. Miller <davem@davemloft.net>
5922
5923 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5924 target is sparc*-*-linux*
5925
77426730
PK
59262011-11-15 Paul Koning <paul_koning@dell.com>
5927
5928 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5929 types.
5930
ed59ded5
DE
59312011-11-14 Doug Evans <dje@google.com>
5932
5933 * gdb.base/shell.exp: New file.
5934
405f8e94
SS
59352011-11-14 Stan Shebs <stan@codesourcery.com>
5936
5937 * gdb.trace/ftrace.c: New.
5938 * gdb.trace/ftrace.exp: New.
5939
1e4d1764
YQ
59402011-11-14 Yao Qi <yao@codesourcery.com>
5941
5942 * gdb.trace/change-loc-1.c: New.
5943 * gdb.trace/change-loc-2.c: New.
5944 * gdb.trace/change-loc.c: New.
5945 * gdb.trace/change-loc.exp: New.
5946 * gdb.trace/change-loc.h: New.
5947 * gdb.trace/trace-break.c (marker): Define new symbol.
5948 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 5949 New.
1e4d1764
YQ
5950 (break_trace_same_addr_6): New.
5951
71eba9c2 59522011-11-12 Matt Rice <ratmice@gmail.com>
5953
5954 * gdb.base/info-macros.exp: Make tests for info definitions
5955 test info macro. Add tests for info macro argument processing.
5956 Rename a few tests.
5957
1d93e29a
KS
59582011-11-11 Keith Seitz <keiths@redhat.com>
5959
5960 PR gdb/12843
5961 * gdb.base/linespecs.exp: New file.
5962
a4b5b48a
DE
59632011-11-11 Doug Evans <dje@google.com>
5964
5965 * gdb.threads/print-threads.exp: Extend timeout for slower
5966 tests.
5967
f6b47be4
DE
59682011-11-10 Doug Evans <dje@google.com>
5969
792a0230
DE
5970 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5971 "record to end of main" test.
5972
f6b47be4
DE
5973 * gdb.python/py-type.c (TS): New typedef.
5974 (ts): New global.
5975 * gdb.python/py-type.exp: Test field list of typedef.
5976
22355c90
JB
59772011-11-10 Joel Brobecker <brobecker@adacore.com>
5978
5979 * gdb.ada/small_reg_param: New testcase.
5980
a7860e76
TT
59812011-11-09 Tom Tromey <tromey@redhat.com>
5982
5983 * gdb.cp/destrprint.exp: New file.
5984 * gdb.cp/destrprint.cc: New file.
5985
72a2e3dc
MI
59862011-11-08 Meador Inge <meadori@codesourcery.com>
5987
5988 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5989 (switch_stack_to_other): New test function.
5990 * gdb.arch/thumb-prologue.exp: New test cases.
5991
c7195df2 59922011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
5993
5994 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5995
d3895d7d
YQ
59962011-11-08 Yao Qi <yao@codesourcery.com>
5997
5998 * gdb.exp (supports_process_record): New.
5999 (supports_reverse): New.
6000 * gdb.reverse/break-precsave.exp: Call support_process_record
6001 to run test conditionally.
6002 * gdb.reverse/consecutive-precsave.exp: Likewise.
6003 * gdb.reverse/i386-precsave.exp: Likewise.
6004 * gdb.reverse/machinestate-precsave.exp: Likewise.
6005 * gdb.reverse/solib-precsave.exp: Likewise.
6006 * gdb.reverse/step-precsave.exp: Likewise.
6007 * gdb.reverse/until-precsave.exp: Likewise.
6008 * gdb.reverse/watch-precsave.exp: Likewise.
6009 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6010 test conditionally.
6011 * gdb.reverse/consecutive-reverse.exp: Likewise.
6012 * gdb.reverse/finish-precsave.exp: Likewise.
6013 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6014 * gdb.reverse/finish-reverse.exp: Likewise.
6015 * gdb.reverse/i386-reverse.exp: Likewise.
6016 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6017 * gdb.reverse/machinestate.exp: Likewise.
6018 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6019 * gdb.reverse/sigall-precsave.exp: Likewise.
6020 * gdb.reverse/sigall-reverse.exp: Likewise.
6021 * gdb.reverse/solib-reverse.exp: Likewise.
6022 * gdb.reverse/step-reverse.exp: Likewise.
6023 * gdb.reverse/until-reverse.exp: Likewise.
6024 * gdb.reverse/watch-reverse.exp: Likewise.
6025
a59306a3
YQ
60262011-11-05 Yao Qi <yao@codesourcery.com>
6027
6028 * gdb.trace/trace-break.exp: Add test on setting two
6029 fast tracepoints at the same address.
6030
87769f59
JK
60312011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6032
6033 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6034
3065dfb6
SS
60352011-11-02 Stan Shebs <stan@codesourcery.com>
6036
6037 * gdb.trace/collection.c: Add code using strings.
6038 * gdb.trace/collection.exp: Add tests of string collection.
6039
89e208db
JK
60402011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6041
6042 * gdb.base/skip-solib.exp (executable_main): New variable.
6043 (binfile_main): Base it on that.
6044 Use $executable_main in clean_restart calls. Drop gdb_exit and
6045 gdb_start calls.
6046
405e54e9
JK
60472011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6048
6049 Fix racy FAILs.
6050 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6051 breakpoint_re globals import by async. Set string_regex to .* for
6052 async. Remove the optional thread_selected_re and breakpoint_re
6053 globals expectations.
6054
58e8570a
JM
60552011-11-01 Joseph Myers <joseph@codesourcery.com>
6056
6057 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6058 well as Cygwin.
6059
7b35ec7f 60602011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
6061
6062 Add tests for skip command.
89e208db
JK
6063 * gdb.base/skip-solib-lib.c: New
6064 * gdb.base/skip-solib-main.c: New
6065 * gdb.base/skip-solib.exp: New
6066 * gdb.base/skip.c: New
6067 * gdb.base/skip.exp: New
6068 * gdb.base/skip1.c: New
6069 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 6070
b9fd1791
PA
60712011-10-31 Yao Qi <yao@codesourcery.com>
6072 Pedro Alves <pedro@codesourcery.com>
6073
6fdff2c5
PA
6074 * gdb.trace/trace-break.c: New.
6075 * gdb.trace/trace-break.exp: New.
b9fd1791 6076
4323fecc
JK
60772011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6078
6079 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6080 break-here-2.
6081
0e5bf2a8
PA
60822011-10-28 Pedro Alves <pedro@codesourcery.com>
6083
6084 * gdb.threads/no-unwaited-for-left.c: New.
6085 * gdb.threads/no-unwaited-for-left.exp: New.
6086 * gdb.threads/non-ldr-exc-1.c: New.
6087 * gdb.threads/non-ldr-exc-1.exp: New.
6088 * gdb.threads/non-ldr-exc-2.c: New.
6089 * gdb.threads/non-ldr-exc-2.exp: New.
6090 * gdb.threads/non-ldr-exc-3.c: New.
6091 * gdb.threads/non-ldr-exc-3.exp: New.
6092 * gdb.threads/non-ldr-exc-4.c: New.
6093 * gdb.threads/non-ldr-exc-4.exp: New.
6094
3a3dad98
JK
60952011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6096
6097 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6098 * gdb.base/attach-pie-misread.exp: Likewise.
6099 * gdb.base/break-interp.exp: Likewise.
6100 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6101 testcases for use_gdb_stub.
6102 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6103 (continue): New testcase.
6104 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6105 * gdb.threads/attach-into-signal.exp: Likewise.
6106 * gdb.threads/attach-stopped.exp: Likewise.
6107 * gdb.threads/attachstop-mt.exp: Likewise.
6108
d6a5d40c
PK
61092011-10-28 Paul Koning <paul_koning@dell.com>
6110
6111 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6112
ca539be8
JK
61132011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6114
6115 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6116 (mi_gdb_test): Import globals thread_selected_re
6117 and breakpoint_re. Expect them optionally at the regex start.
6118
d234ef5c
DE
61192011-10-27 Doug Evans <dje@google.com>
6120
6121 * gdb.python/python.exp: Test source -s.
6122
ab964825
PK
61232011-10-26 Paul Koning <paul_koning@dell.com>
6124
6125 * gdb.python/lib-types.cc (struct A): New structure.
6126 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 6127
54d8a644
PK
61282011-10-25 Paul Koning <paul_koning@dell.com>
6129
6130 PR python/13327
d234ef5c 6131
54d8a644
PK
6132 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6133 fetch_lazy method.
6134
b0221781
YQ
61352011-10-24 Yao Qi <yao@codesourcery.com>
6136
6137 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6138 target is tic6x-*-*.
6139
6cda5a20
JB
61402011-10-21 Joel Brobecker <brobecker@adacore.com>
6141
6142 * gdb.ada/mi_task_info/task_switch.adb: New file.
6143 * gdb.ada/mi_task_info.exp: New file.
6144
5ed9db04
JK
61452011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6146
6147 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6148 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6149
9df2fbc4
PM
61502011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6151
6152 PR python/12656
6153
6154 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6155 global_block tests.
6156
736086ba
TT
61572011-10-18 Tom Tromey <tromey@redhat.com>
6158
6159 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6160
4af31552
TT
61612011-10-18 Tom Tromey <tromey@redhat.com>
6162
6163 * gdb.base/source.exp: Don't include full file name in test name.
6164 * gdb.python/python.exp: Don't include full file name in test
6165 name.
6166
43136979
AR
61672011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6168
6169 * gdb.base/attach-pie-noexec.c: New files.
6170 * gdb.base/attach-pie-noexec.exp: New files.
6171
543a9323
JM
61722011-10-17 Joseph Myers <joseph@codesourcery.com>
6173
6174 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6175 prompt for each extra line in command.
6176
21ae7a4d
JK
61772011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6178
6179 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6180 Revert the part of:
6181 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6182 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6183 Change the expected string.
6184
20ec36d9
JK
61852011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6186
6187 Fix results with system glibc debug info installed.
6188 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6189 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6190 Accept also __libc_ symbol prefix and no prefix.
6191
6501c2fc
KS
61922011-10-14 Keith Seitz <keiths@redhat.com>
6193
6194 PR c++/13225
6195 * gdb.cp/converts.cc (foo3_1): New function.
6196 (foo3_2): New functions.
6197 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6198 and null pointer conversions of integer constant zero.
6199 Add test to check if all arguments are checked for incompatible
6200 conversion BADNESS.
6201
55b1fd0c
TT
62022011-10-14 Tom Tromey <tromey@redhat.com>
6203
6204 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6205 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6206 linespec.
6207
22c05d8a
JK
62082011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6209
6210 Fix internal error regression.
6211 * gdb.dwarf2/implptr-optimized-out.S: New file.
6212 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6213
1d6edc3c
JK
62142011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6215
6216 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6217 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6218 (loclist): New.
6219 (4): New abbrev.
6220 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6221 Use prepare_for_testing, remove clean_restart.
6222 (p arraynoloc, p arraycallnoloc): New tests.
6223
9ec72168
JK
62242011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6225
6226 * gdb.cp/namespace-enum.exp (executable): New variable.
6227 (binfile): Use ${objdir}/${subdir}/ prefix.
6228 Use ${executable} for clean_restart.
6229
9c6c53f7
SA
62302011-10-11 Sterling Augustine <saugustine@google.com>
6231
6232 * gdb.cp/Makefile.in: Add namespace-enum test.
6233 * gdb.cp/namespace-enum.exp: New file.
6234 * gdb.cp/namespace-enum.c: New file.
6235 * gdb.cp/namespace-enum-main.c: New file.
6236
fac7ceb3
UW
62372011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
6238
6239 * gdb.python/py-shared.exp: Relax filename check to handle remote:
6240 sysroot.
6241
941b2081
JK
62422011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6243
6244 Reimplement @entry in input expressions.
6245 * gdb.base/exprs.c (v_int_array_init): New variable.
6246 * gdb.base/exprs.exp (print v_int_array_init)
6247 (print *v_int_array_init@1, print *v_int_array_init@2)
6248 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6249 (print v_int_array_init[1]@1): New tests.
6250
0344e878
JM
62512011-10-10 Joseph Myers <joseph@codesourcery.com>
6252
6253 * gdb.cp/gdb2495.exp: Do not include directories in filename in
6254 expected message.
6255
5a56e9c5
DE
62562011-10-09 Doug Evans <dje@google.com>
6257
6258 * gdb.base/alias.exp: Add tests for alias command.
6259
2bda9cc5
JK
62602011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6261
6262 * gdb.arch/amd64-entry-value.s: New file.
6263 * gdb.mi/mi2-amd64-entry-value.s: New file.
6264
a471c594
JK
62652011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6266
6267 Display @entry parameter values even for references.
6268 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
6269 functions.
6270 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
6271 reference and datap_input.
6272 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
6273 breakpoints.
6274 (continue to breakpoint: entry_reference: reference)
6275 (entry_reference: bt at entry)
6276 (continue to breakpoint: entry_reference: breakhere_reference)
6277 (entry_reference: bt, entry_reference: ptype regparam)
6278 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
6279 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
6280 (entry_reference: p regcopy, entry_reference: p nodataparam)
6281 (entry_reference: p nodataparam@entry): New tests.
6282
36b11add
JK
62832011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6284
6285 Support @entry in input expressions.
6286 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
6287 (entry_stack: p s1@entry, entry_stack: p s2@entry)
6288 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
6289 (tailcall: p j@entry): New tests.
6290 * gdb.cp/koenig.cc (A::entry): New function.
6291 (main): Call it.
6292 * gdb.cp/koenig.exp (p entry (c)): New test.
6293
e18b2753
JK
62942011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6295
6296 Display @entry parameter values (without references).
6297 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
6298 (different, validity, invalid): New functions.
6299 (main): Call them.
6300 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
6301 stacktest, breakhere_stacktest, different, breakhere_different,
6302 breakhere_validity and breakhere_invalid.
6303 (entry: bt): Update for @entry.
6304 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
6305 (entry_validity: *, entry_invalid: *): Many new tests.
6306 * gdb.base/break.exp
6307 (run until breakpoint set at small function, optimized file): Accept
6308 also the @entry suffix.
6309 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
6310 * gdb.mi/mi2-amd64-entry-value.c: New files.
6311 * gdb.mi/mi2-amd64-entry-value.exp: New files.
6312
2d6c5dc2
JK
63132011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6314
6315 Protect entry values against self tail calls.
6316 * gdb.arch/amd64-entry-value.cc (self2, self): New.
6317 (main): Call self.
6318 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
6319 (set debug entry-values 1, self: bt debug entry-values): New tests.
6320
111c6489
JK
63212011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6322
6323 Recognize virtual tail call frames.
6324 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
6325 (amb_b, amb_a): New.
6326 (main): Call a and b.
6327 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
6328 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
6329 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
6330 New tests.
6331
8e3b41a9
JK
63322011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6333
6334 Implement basic support for DW_TAG_GNU_call_site.
6335 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
6336 * gdb.arch/amd64-entry-value.cc: New file.
6337 * gdb.arch/amd64-entry-value.exp: New file.
6338
181cebd4
JK
63392011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6340
6341 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
6342 * gdb.dwarf2/implptr-64bit.S: New file.
6343 * gdb.dwarf2/implptr-64bit.exp: New file.
6344
741f5e3c
JK
63452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6346
6347 Fix initial language detection with -readnow.
6348 * gdb.cp/readnow-language.cc: New file.
6349 * gdb.cp/readnow-language.exp: New file.
6350
a73d2258
JK
63512011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6352
6353 Fix printed anonymous struct name.
6354 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
6355
af369495
JM
63562011-10-09 Joseph Myers <joseph@codesourcery.com>
6357
6358 * gdb.base/solib-symbol.exp: Do not include directories in
6359 filenames in expected messages.
6360
1fa57852
DE
63612011-10-07 Doug Evans <dje@google.com>
6362
6363 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
6364
bd054e06
KP
63652011-10-07 Kevin Pouget <kevin.pouget@st.com>
6366
6367 Allow Python notification of new object-file loadings.
6368 * gdb.python/py-events.exp: Test newobjfile event.
6369 * gdb.python/py-events.py: Register newobjfile callback.
6370 * gdb.python/py-events.c: Add call to shared library
6371 * gdb.python/py-events-shlib.c: New file.
6372
8031b6f8
JM
63732011-10-06 Joseph Myers <joseph@codesourcery.com>
6374
6375 * gdb.base/fixsection.exp: Do not include directories in filename
6376 in expected message.
6377
7fea6923
PM
63782011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6379
6380 Add tests for passing of environment variables to inferior.
6381 * gdb.base/testenv.c: New test source.
6382 * gdb.base/testenv.exp: New expect test.
6383
687f2a88
PK
63842011-10-04 Paul Koning <paul_koning@dell.com>
6385
6386 * gdb.python/py-value.c (main): Break before return.
6387
cb6be26b
KP
63882011-10-04 Kevin Pouget <kevin.pouget@st.com>
6389
6390 PR python/12691: Add the inferior to Python exited event
6391 * gdb.python/py-events.exp: Test the inferior attribute of exited
6392 event with a fork.
6393 * gdb.python/py-events.py: Print inferior number on exit.
6394 * gdb.python/py-events.c: Fork the inferior.
6395
fb213700
EBM
63962011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
6397
6398 * gdb.base/jit.exp: Add testcase name to log message
6399
aa2071bd
PK
64002011-10-03 Paul Koning <paul_koning@dell.com>
6401 Jan Kratochvil <jan.kratochvil@redhat.com>
6402
6403 * gdb.python/py-value.exp
6404 (python inval = gdb.parse_and_eval('*(int*)0'))
6405 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
6406 (set argc=2, python print argc_lazy): New tests.
6407
dd11a36c
JB
64082011-10-02 Joel Brobecker <brobecker@adacore.com>
6409
6410 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
6411
46f886f1
JK
64122011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6413 Pedro Alves <pedro@codesourcery.com>
6414
6415 * gdb.python/py-value.exp (test_value_in_inferior): New variable
6416 can_read_0, test for it.
6417 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
6418 (parse_and_eval with memory error): ... here, make it untested if
6419 can_read_0.
6420
c5cb204f
MP
64212011-09-30 Marek Polacek <mpolacek@redhat.com>
6422
6423 * gdb.python/python.exp (verify pagination beforehand)
6424 (verify pagination afterwards): Fix race by splitting the line.
6425
68fb0ec0
JM
64262011-09-29 Joseph Myers <joseph@codesourcery.com>
6427
6428 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
6429 for 64-bit multilibs from i?86-* targets.
6430
6aee0d90
MP
64312011-09-29 Marek Polacek <mpolacek@redhat.com>
6432
6433 * lib/gdb.exp: Fix a typo in one of the comments.
6434
e9101ff5
MP
64352011-09-29 Marek Polacek <mpolacek@redhat.com>
6436
6437 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
6438 matching pattern.
6439
7a81bdbf
PK
64402011-09-28 Paul Koning <paul_koning@dell.com>
6441
6442 * gdb.python/py-type.c (enum E): New.
6443 * gdb.python/py-type.exp (test_fields): Add tests for Python
6444 mapping access to fields.
6445 (test_enums): New test for field access on enums.
6446
6710bf39
SS
64472011-09-27 Stan Shebs <stan@codesourcery.com>
6448
6449 * gdb.trace/collection.exp: Test collection of $_ret.
6450
b2a6bdeb
AT
64512011-09-22 Andreas Tobler <andreast@fgznet.ch>
6452
6453 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
6454 list of compilation switches for <*-*-freebsd*>.
6455
3c9057f3
SS
64562011-09-19 Stan Shebs <stan@codesourcery.com>
6457
6458 * gdb.trace/tspeed.exp: New file.
6459 * gdb.trace/tspeed.c: New file.
6460
34518530
YQ
64612011-09-18 Yao Qi <yao@codesourcery.com>
6462
6463 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
6464 instructions.
6465 (test_adr_32bit, test_pop_pc): Likewise.
6466 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
6467 Thumb instructions.
6468 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
6469 in gdb_test_multiple.
6470 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
6471
ab254057
YQ
64722011-09-17 Yao Qi <yao@codesourcery.com>
6473
6474 * lib/gdb.exp (can_single_step_to_signal_handler): New.
6475 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
6476 support single step to signal handler.
6477
9c317b71
YQ
64782011-09-17 Yao Qi <yao@codesourcery.com>
6479
6480 * gdb.base/disp-step-fork.c: New.
6481 * gdb.base/disp-step-syscall.exp: New.
6482 * gdb.base/disp-step-vfork.c: New.
6483
a8123151
JB
64842011-09-16 Joel Brobecker <brobecker@adacore.com>
6485
6486 * gdb.ada/tasks.exp: Make the expected output for
6487 the `info tasks' tests more resilient to spacing
6488 changes.
6489
63a9aad8
JK
64902011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6491
6492 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
6493 (reached breakpoint 2, reached breakpoint 3): Update expected output.
6494
2aa48337
KP
64952011-09-15 Kevin Pouget <kevin.pouget@st.com>
6496
6497 PR Python/12692 Add gdb.selected_inferior() to Python interface.
6498 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
6499
6839b47f
KP
65002011-04-30 Kevin Pouget <kevin.pouget@st.com>
6501
6502 Handle multiple breakpoint hits in Python interface:
6503 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
6504 presence.
6505 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
6506 breakpoint hits.
6507
0935723e
JK
65082011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6509 Jan Kratochvil <jan.kratochvil@redhat.com>
6510
6511 * gdb.python/py-events.exp: Remove pretty printing comment.
6512 * gdb.python/py-evsignal.exp: New file.
6513 * gdb.python/py-evthreads.c: Include signal.h.
6514 (thread3): Remove variable count3. Remove variable bad and use raise
6515 instead.
6516 (thread2): Remove variable count2. Move thread3 pthread_create here,
6517 merge pthread_join to a single line.
6518 (main): Remove variable count1. Merge pthread_join with pthread_create
6519 to a single line.
6520 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
6521 KFAIL python/12966 for gdbserver. Test return value of
6522 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
6523 gdb_expect by gdb_test and gdb_test_multiple.
6524 (thread 2, thread 3): New tests.
6525
4801a9a3
PA
65262011-09-12 Matt Rice <ratmice@gmail.com>
6527 Pedro Alves <pedro@codesourcery.com>
6528
6529 PR gdb/13175
6530
6531 * gdb.base/interp.exp: New tests.
6532 * gdb.base/interp.c: New file.
6533
24ece742
DE
65342011-09-12 Doug Evans <dje@google.com>
6535
6536 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
6537 * gdb.dwarf2/typeddwarf.exp: Ditto.
6538
7f062217
JK
65392011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6540
6541 Fix compatibility with x32 arch.
6542 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
6543 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
6544 is_x86_like_target.
6545 * testsuite/gdb.trace/collection.exp: Likewise.
6546 * testsuite/gdb.trace/report.exp: Likewise.
6547 * testsuite/gdb.trace/unavailable.exp: Likewise.
6548 * testsuite/gdb.trace/while-dyn.exp: Likewise.
6549 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
6550 (is_x86_like_target): Check also is_amd64_regs_target.
6551
08711b9a
JK
65522011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6553
6554 PR breakpoints/12435
6555 * gdb.arch/amd64-prologue-xmm.c: New file.
6556 * gdb.arch/amd64-prologue-xmm.exp: New file.
6557 * gdb.arch/amd64-prologue-xmm.s: New file.
6558
b99b5f66
JK
65592011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6560
6561 * gdb.dwarf2/dw2-param-error-main.c: New file.
6562 * gdb.dwarf2/dw2-param-error.S: New file.
6563 * gdb.dwarf2/dw2-param-error.exp: New file.
6564
a391a2f6
PA
65652011-09-08 Pedro Alves <pedro@codesourcery.com>
6566
6567 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
6568 inferior's pid and look for a core dump named core.$pid. Use
6569 `remote_file' commands on the host instead of hand coding shell
6570 commands on the build.
6571 * gdb.base/valgrind-db-attach.exp: Kill the program before
6572 finishing the test.
6573
7d8e6458 65742011-09-02 Matt Rice <ratmice@gmail.com>
6575
6576 * lib/prompt.exp: New file for testing the first prompt.
6577 * gdb.python/py-prompt.exp: Ditto.
6578 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6579
68e77c9e
PA
65802011-09-02 Pedro Alves <pedro@codesourcery.com>
6581
6582 * gdb.threads/gcore-thread.exp: Set the global core_supported to
6583 0, before testing gcore.
6584
9655e943
JK
65852011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6586
df6dc84d
JK
6587 * dw2-ifort-parameter-debug.S: Update copyright year.
6588 * dw2-ifort-parameter.c: Update copyright year.
6589 * dw2-ifort-parameter.exp: Update copyright year.
6590
9655e943
JK
6591 * dw2-ifort-parameter-debug.S: New file.
6592 * dw2-ifort-parameter.c: New file.
6593 * dw2-ifort-parameter.exp: New file.
6594
353d1d73
JK
65952011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6596
6597 * gdb.base/commands.exp (error_clears_commands_left): New function.
6598 (): Call it.
6599
5c07461a
JK
66002011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6601
6602 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6603 (C): Initialize `a'.
6604 * gdb.mi/mi-inheritance-syntax-error.exp
6605 (-data-evaluate-expression $path): Expect `a' as 5.
6606
0d932b2f
MK
66072011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
6608
6609 PR mi/11912
6610 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6611 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6612 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6613 keyword in output of -var-info-path-expression.
6614
bdb54049
JK
66152011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6616
6617 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6618 * gdb.trace/collection.exp: Likewise.
6619 * gdb.trace/report.exp: Likewise.
6620 * gdb.trace/unavailable.exp: Likewise.
6621 * gdb.trace/while-dyn.exp: Likewise.
6622
59cde39c
KS
66232011-08-18 Keith Seitz <keiths@redhat.com>
6624
6625 PR c++/12266
6626 * gdb.cp/meth-typedefs.cc: New file.
6627 * gdb.cp/meth-typedefs.exp: New file.
6628
fa3a4f15
PM
66292011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6630
6fdff2c5 6631 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 6632
c1049fca
JK
66332011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6634
6635 * gdb.arch/i386-dr3-watch.exp
6636 (watchpoint on gap1 does not fit debug registers)
6637 (delete all watchpoints): Fix racy expect strings.
6638
d93f7b5c
YQ
66392011-08-14 Yao Qi <yao@codesourcery.com>
6640
6641 * gdb.base/maint.exp: set data_section to ".neardata".
6642 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6643 * gdb.base/savedregs.exp: Handle SIGILL.
6644 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6645 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6646
457e09f0
DE
66472011-08-12 Doug Evans <dje@google.com>
6648
6649 * gdb.python/py-symbol.exp: Add test for symbol.type.
6650
5d0bb2fb
UW
66512011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6652
6653 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6654 * gdb.mi/mi-pthreads.exp: Likewise.
6655 * gdb.mi/mi2-pthreads.exp: Likewise.
6656 * gdb.mi/gdb669.exp.exp: Likewise.
6657
fcdfa280
PA
66582011-08-09 Pedro Alves <pedro@codesourcery.com>
6659
6660 * lib/mi-support.exp (detect_async): Rename to...
6661 (mi_detect_async): ... this.
6662 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6663 * gdb.mi/mi-nonstop.exp: Adjust.
6664 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6665 * gdb.mi/mi-nsintrall.exp: Adjust.
6666 * gdb.mi/mi-nsmoribund.exp: Adjust.
6667 * gdb.mi/mi-nsthrexec.exp: Adjust.
6668
9d8fa392
PA
66692011-08-09 Pedro Alves <pedro@codesourcery.com>
6670
6671 * gdb.base/display.c (do_loops): New `p_i' local.
6672 * gdb.base/display.exp: Test displaying a variable that is
6673 temporarily at a bad address.
6674
b6cede78
JK
66752011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6676
6677 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6678 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6679
67bedb8c
JK
66802011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6681
6682 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
6683 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6684 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 6685
af6e93b2
PA
66862011-08-05 Pedro Alves <pedro@codesourcery.com>
6687
6688 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6689 procedure.
6690 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6691
1cf0e11f
YQ
66922011-08-05 Yao Qi <yao@codesourcery.com>
6693
6694 * gdb.base/callfuncs.exp: Set language after main.
6695 * gdb.cp/cplusfuncs.exp: Likewise.
6696 * gdb.cp/inherit.exp: Likewise.
6697
a1e28cb2
UW
66982011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6699
6700 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6701 * gdb.base/watch-vfork.exp: Skip on remote targets.
6702
d4f5bbb9
UW
67032011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6704
6705 * gdb.threads/thread-find.exp: Support remote targets.
6706
724f4f80
UW
67072011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6708
6709 * gdb.base/jit.exp: Download solib_binfile to target.
6710 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6711 and call dlopen without full path name.
6712 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6713 dlopen without full path name.
6714
934709f0
PW
67152011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6716
6717 * gdb.base/break-always.exp: Complete the test
6718 with duplicated breakpoints and enabling/disabling them.
6719
c26106c4
TT
67202011-08-02 Tom Tromey <tromey@redhat.com>
6721
6722 PR gdb/11289:
6723 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6724
9300444e 67252011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
6726
6727 PR gdb/13045
6728 * gdb.base/float.exp: Add new test case for PR gdb/13045
6729 * gdb.base/float.c: New file.
6730
00bd41d6
PM
67312011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6732
6733 * gdb.python/py-mi.exp: Test printers returning string hint, and
6734 also not returning a value.
6735 * gdb.python/py-prettyprint.c: Add testcase for above.
6736 * gdb.python/py-prettyprint.py: Add test printer for above.
6737
d24f74ce
JK
67382011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6739
6740 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6741 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6742 (.Ldie30) Add as field "data4".
6743 (.Ldie32) Rename field "b" to "shl".
6744 (abbrev4) Change for the "data4" field.
6745 (abbrev5, abbrev6) Remove.
6746 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6747 (p &s.shl): ... here. Add comment.
6748 (p &s.data4): New.
6749
bb7da2bf
JK
67502011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6751
6752 Fix crash on lval_computed values.
6753 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6754
11081198
JK
67552011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6756
6757 * gdb.base/help.exp (help whatis): Update the expected string.
6758
3c6e0cb3
JK
67592011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6760
6761 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6762 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6763 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6764 Change the expected string.
6765
efa80663
PA
67662011-07-26 Pedro Alves <pedro@codesourcery.com>
6767
6768 * gdb.base/watchpoint.exp
6769 (test_disable_enable_software_watchpoint): New procedure.
6770 (top level): Run it.
6771
db8e4570
UW
67722011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
6773
6774 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
6775 executable file "${binfile}", C++ version "${binfile}-cxx".
6776 * gdb.python/py-prettyprint.exp: Likewise.
6777 * gdb.python/py-symbol.exp: Likewise.
6778 * gdb.python/py-type.exp: Likewise.
6779 * gdb.python/py-value.exp: Likewise.
6780 * gdb.python/py-template.exp (test_template_arg): Pass full executable
6781 file name instead of just suffix.
6782
543305c9
JK
67832011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6784
6785 Fix implicit pointer offsets.
6786 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6787 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6788 (continue to breakpoint: continue to baz breakpoint for implptr)
6789 (sanity check element 0, sanity check element 1)
6790 (enter the inlined function, check element 0 for the offset)
6791 (check element 1 for the offset)
6792 (continue to breakpoint: ignore the second baz breakpoint): New tests.
6793 (set foo breakpoint for implptr): Update the breakpoint number.
6794
b3215adc
UW
67952011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6796
6797 * gdb.python/py-mi.exp: Use different file names for different
6798 versions of the executable under test.
6799 * gdb.python/py-prettyprint.exp: Likewise.
6800 * gdb.python/py-symbol.exp: Likewise.
6801 * gdb.python/py-template.exp: Likewise.
6802 * gdb.python/py-type.exp: Likewise.
6803 * gdb.python/py-value.exp: Likewise.
6804
182b9acc
UW
68052011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6806
6807 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6808 flag after restarting GDB if necessary.
6809
e6052b5d
UW
68102011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6811
6812 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6813
1ced966e
PA
68142011-07-22 Pedro Alves <pedro@codesourcery.com>
6815
6816 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6817 backend doesn't leave used debug registers behind.
6818
3543a589
TT
68192011-07-22 Tom Tromey <tromey@redhat.com>
6820
6821 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6822 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6823 argument.
6824 * gdb.dwarf2/typeddwarf-amd64.S: New file.
6825
14d15303 68262011-07-21 Matt Rice <ratmice@gmail.com>
6827
6828 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6829 in mostlyclean rule. Add files ending in .core.
6830
9b158ba0 68312011-07-21 Matt Rice <ratmice@gmail.com>
6832
6833 PR macros/12999
6834 * gdb.base/info-macros.c: New test sources.
6835 * gdb.base/info-macros.exp: New tests.
6836
d17b6f81
PM
68372011-07-21 Phil Muldoon <pmuldoon@redhat.com>
6838
6839 * gdb.python/python.exp: Add prompt substitution tests.
6840
918dd910
JK
68412011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6842
6843 Fix crash if referenced CU is aged out.
6844 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6845 New.
6846 * gdb.dwarf2/implptr.exp: Likewise.
6847
0e37a63c
JK
68482011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6849
6850 * gdb.dwarf2/implptr.S: Rebuilt.
6851 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6852 (bar): Use them for j, k, l.
6853 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6854 COMPILE.
6855 (print j in implptr:bar): Update for the intp typedef.
6856 (print p[0].x in implptr:foo): Use more exact regex.
6857
f65cf84c
TT
68582011-07-18 Tom Tromey <tromey@redhat.com>
6859
6860 * gdb.cp/static-method.exp: Add missing single quote.
6861
d5b4a7be
YQ
68622011-07-18 Yao Qi <yao@codesourcery.com>
6863
6864 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6865 supported.
6866 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6867 * gdb.mi/mi-nonstop.exp: Likewise.
6868 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6869 * gdb.mi/mi-nsintrall.exp: Likewise.
6870 * gdb.mi/mi-nsmoribund.exp: Likewise.
6871 * gdb.mi/mi-nsthrexec.exp: Likewise.
6872 * gdb.python/py-evthreads.exp: Likewise.
6873
e9ea2662
JK
68742011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6875
6876 Code cleanup.
6877 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6878 it. Substitute it instead of test_compiler_info everywhere.
6879
ce451573
UW
68802011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6881
6882 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6883 remote targets as well.
6884
756d88a7
UW
68852011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6886
6887 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6888 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6889
31f83dc5
UW
68902011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6891
6892 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6893 a remote machine, not the host.
6894 (gdb_compile_shlib): Set soname if target is remote.
6895
059241a0
PP
68962011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6897
6898 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6899
28a0b48c 69002011-07-13 Matt Rice <ratmice@gmail.com>
6901
6902 * gdb.python/py-objfile-script-gdb.py: Renamed to
6903 py-objfile-script-gdb.py.in.
6904 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6905 py-objfile-script-gdb.py.
6906 * gdb.python/py-objfile-script.exp: Update reference to
6907 py-objfile-script-gdb.py.
6908
9a771b67
JK
69092011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6910
6911 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6912 reference undefined label.
6913
04ad99e6
JK
69142011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6915
6916 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6917 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6918 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6919 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6920
713389e0
PM
69212011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6922
6fdff2c5 6923 PR python/12438
713389e0 6924 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 6925 deprecated tests. Add set/show python print-backtrace tests.
713389e0 6926
97d146f8
JK
69272011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6928
6929 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6930 debug info.
6931
facde0e5 69322011-07-06 Matt Rice <ratmice@gmail.com>
6933
6934 * gdb.python/python.exp: Update filename paths.
6935 * gdb.python/py-symtab.exp: Ditto.
6936
438640d1
MP
69372011-07-06 Marek Polacek <mpolacek@redhat.com>
6938
6939 * gdb.python/py-evthreads.exp: Add missing `$'.
6940
33a365df
MF
69412011-07-06 Jie Zhang <jie.zhang@analog.com>
6942
6943 * config/bfin.exp: New file.
6944 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6945 * gdb.asm/bfin.inc: New file.
6946
8f7ae686
MP
69472011-07-06 Marek Polacek <mpolacek@redhat.com>
6948
df46027d 6949 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
6950 the whole output.
6951
eb2a6f42
TT
69522011-07-05 Tom Tromey <tromey@redhat.com>
6953
6954 * gdb.java/jprint.java (jprint.hi): New field.
6955 * gdb.java/jprint.exp: Print string.
6956
177b42fe
TJB
69572011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6958
6959 * gdb.base/call-sc.c: Fix typos.
6960 * gdb.base/ifelse.exp: Likewise.
6961 * gdb.base/structs.c: Likewise.
6962
3b2a0cf2
JB
69632011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6964
6965 * gdb.base/jit-so.exp: New test.
6966 * gdb.base/jit-dlmain.c: New file.
6967 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6968
46fc714c
JK
69692011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6970
6971 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
6972 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6973 * gdb.cp/pr9167.exp (p b): Likewise.
6974 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6975 (test value of P in inner_m, test type of Z in inner_m): Call
6976 setup_xfail for gcc <= 4.5.
46fc714c 6977
418c7cf7
JK
69782011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6979
6980 * gdb.cp/paren-type.cc: New files.
6981 * gdb.cp/paren-type.exp: New files.
6982
3d50dd94
JK
69832011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6984
6985 Stop on first linespec terminator instead of eating what we can.
6986 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6987 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6988 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6989 (break C::f()): ... this one.
6990 (break C::operator()()): New test.
6991 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6992 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6993 test.
6994
dcf9f4ab
JK
69952011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6996
6997 Fall back linespec to minimal symbols.
6998 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6999 error message.
7000 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7001 * gdb.cp/minsym-fallback-main.cc: New file.
7002 * gdb.cp/minsym-fallback.cc: New file.
7003 * gdb.cp/minsym-fallback.exp: New file.
7004 * gdb.cp/minsym-fallback.h: New file.
7005
3f542ed1
JK
70062011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7007
7008 * gdb.cp/no-dmgl-verbose.cc: New file.
7009 * gdb.cp/no-dmgl-verbose.exp: New file.
7010
70112011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
7012
7013 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7014 __GI_.
7015 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7016 (f): New function.
7017 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7018 (complete p 'func<short>(): ... here.
7019 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7020 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7021 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7022 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7023 Make them KFAIL gcc/49546.
7024
00eb2c4a
JB
70252011-07-01 Joel Brobecker <brobecker@adacore.com>
7026
7027 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7028
85a20c42
JK
70292011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7030
7031 Test GCC PR debug/49546.
7032 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7033 (test type of F in k3_m, test value of F in k3_m): New.
7034 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7035 (main): New variable k3. Call k3.k3_m.
7036
d2d43431
JB
70372011-07-01 Jean-Charles Delay <delay@adacore.com>
7038
7039 * gdb.ada/packed_array.exp: Fix expected outout.
7040
54ae186f
JB
70412011-07-01 Jean-Charles Delay <delay@adacore.com>
7042
7043 * gdb.ada/packed_array.exp: fixed expected output.
7044
8f17729f
JB
70452011-07-01 Joel Brobecker <brobecker@adacore.com>
7046
7047 * gdb.ada/same_enum: New testcase.
7048
f5aa6869
JB
70492011-07-01 Joel Brobecker <brobecker@adacore.com>
7050
7051 * gdb.ada/ptr_typedef: New testcase.
7052
828292f2
JB
70532011-07-01 Joel Brobecker <brobecker@adacore.com>
7054
7055 * gdb.ada/arrayptr.exp: Add ptype test.
7056
18920c42
JB
70572011-07-01 Joel Brobecker <brobecker@adacore.com>
7058
7059 * gdb.ada/char_enum: New testcase.
7060
3536d9e3 70612011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
7062
7063 * gdb.base/dump.exp (capture_pointer_with_type): New.
7064 Get value from address instead of name.
7065 Start GDB once, and do `dump' and `restore'
7066 tests together.
7067
db863c42
MF
70682011-06-30 Jie Zhang <jie.zhang@analog.com>
7069 Mike Frysinger <vapier@gentoo.org>
7070
7071 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7072 helper functions for getting/setting remotetimeout variable.
7073 * lib/gdb.exp (gdb_load): If the target is remote, set
7074 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7075 with $loadtimeout. Set $load_ok to 0 before doing the load.
7076 Instead of returning, immediately, set $load_ok to 0. Call
7077 set_remotetimeout with $oldremotetimeout, and then return if
7078 $load_ok is 1.
7079
e9e642a8
AB
70802011-06-30 Andrew Burgess <aburgess@broadcom.com>
7081
7082 * gdb.python/py-template.exp: Don't run this test if the target
7083 does not support c++ tests.
7084
32019081
JK
70852011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7086
7087 Fix non-only rename list for Fortran modules import.
7088 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7089 tests.
7090 * gdb.fortran/module.f90 (module moduse): New.
7091 (program module): use moduse, test var_x, var_y and var_z.
7092
0ecee54c
TT
70932011-06-29 Tom Tromey <tromey@redhat.com>
7094
7095 PR testsuite/12040:
7096 * gdb.fortran/array-element.exp: Use f90, not f77.
7097 * gdb.fortran/complex.exp: Use f90, not f77.
7098 * gdb.fortran/derived-type.exp: Use f90, not f77.
7099 * gdb.fortran/library-module.exp: Use f90, not f77.
7100 * gdb.fortran/logical.exp: Use f90, not f77.
7101 * gdb.fortran/module.exp: Use f90, not f77.
7102 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7103 * gdb.fortran/subarray.exp: Use f90, not f77.
7104
3b2b8fea
TT
71052011-06-29 Tom Tromey <tromey@redhat.com>
7106
7107 * gdb.fortran/charset.exp: New file.
7108 * gdb.fortran/charset.f90: New file.
7109
42159ca5
TT
71102011-06-29 Tom Tromey <tromey@redhat.com>
7111
7112 PR testsuite/12040:
7113 * lib/future.exp: New file, mostly extracted from ada.exp.
7114 Rewrote compatibility code to use rename.
7115 (gdb_find_gfortran): New proc.
7116 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7117 gfortran patch.
7118 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7119 Move to future.exp.
7120 * lib/gdb.exp: Always load future.exp.
7121
af69a5ce
YQ
71222011-06-28 Yao Qi <yao@codesourcery.com>
7123
7124 * gdb.cp/exception.cc: Don't include iostream.
7125 (bar): Remove print statement.
7126 (catcher): New.
7127 (main): Remove print statements. Call function catcher.
7128 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7129 Set breakpoint on catcher, and check the value of parameter.
7130
ab5c6a72
YQ
71312011-06-23 Yao Qi <yao@codesourcery.com>
7132
6fdff2c5
PA
7133 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7134 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 7135
9497469f
MP
71362011-06-23 Marek Polacek <mpolacek@redhat.com>
7137
7138 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7139 mi_gdb_test.
7140
b9132588
MP
71412011-06-23 Marek Polacek <mpolacek@redhat.com>
7142
5d197ed0 7143 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 7144
e55595ca
MP
71452011-06-23 Marek Polacek <mpolacek@redhat.com>
7146
5d197ed0
MP
7147 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7148
71492011-06-23 Marek Polacek <mpolacek@redhat.com>
7150
7151 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7152 `test_exec_and_symbol_mi_operatons' return value.
7153 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7154 gdb_test_multiple.
7155 (test_exec_and_symbol_mi_operatons): Likewise.
7156 (test_path_specification): Likewise.
e55595ca 7157
be777e08
YQ
71582011-06-23 Yao Qi <yao@codesourcery.com>
7159
7160 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7161 supported.
7162 * lib/gdb.exp (support_displaced_stepping): New.
7163
615556d6
YQ
71642011-06-23 Yao Qi <yao@codesourcery.com>
7165
7166 * gdb.threads/execl.exp: Skip on remote target.
7167
833b0ca7
MP
71682011-06-21 Marek Polacek <mpolacek@redhat.com>
7169
5d197ed0 7170 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
7171 mi_gdb_test.
7172
1ee4023a
MP
71732011-06-20 Marek Polacek <mpolacek@redhat.com>
7174
5d197ed0 7175 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 7176
d0b1d624
MP
71772011-06-20 Marek Polacek <mpolacek@redhat.com>
7178
5d197ed0 7179 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
7180 mi_gdb_test.
7181
79aa92c1
MP
71822011-06-20 Marek Polacek <mpolacek@redhat.com>
7183
5d197ed0 7184 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 7185
5ce5db06
YQ
71862011-06-14 Yao Qi <yao@codesourcery.com>
7187
7188 gdb/testsuite/
7189 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7190
533a737e
JK
71912011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7192
7193 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7194
d0e53741
TT
71952011-06-10 Tom Tromey <tromey@redhat.com>
7196
7197 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7198 Add tests for pointer-to-member-function.
7199 * gdb.cp/temargs.cc (S::somefunc): New function.
7200 (K2): New class.
7201 (main): Instantiate K2; call method.
7202
b5916bbd
JB
72032011-06-08 Joel Brobecker <brobecker@adacore.com>
7204
7205 * gdb.python/py-inferior.c (f2): Make str an array rather
7206 than a pointer.
7207 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7208
5be4dfca
JK
72092011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7210
7211 * gdb.base/async-shell.c: New file.
7212 * gdb.base/async-shell.exp: New file.
7213
9f47e254
PA
72142011-06-06 Pedro Alves <pedro@codesourcery.com>
7215
7216 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7217
64b9b334
JB
72182011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7219
7220 From Stephen Kitt <steve@sk2.org>
7221 * gdb.base/help.exp: Adjust following some spelling corrections
7222 in GDB.
7223
dbc0f131
YQ
72242011-06-01 Yao Qi <yao@codesourcery.com>
7225
7226 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7227
fd336a18
KS
72282010-05-31 Keith Seitz <keiths@redhat.com>
7229
7230 PR c++/12750
7231 * gdb.cp/static-method.cc: New file.
7232 * gdb.cp/static-method.exp: New file.
7233
fa8b9902
KS
72342010-05-31 Keith Seitz <keiths@redhat.com>
7235
7236 PR symtab/12704
7237 * gdb.cp/anon-ns.cc: New file.
7238 * gdb.cp/anon-ns.exp: New file.
7239
0a5b1e09
PA
72402011-05-31 Pedro Alves <pedro@codesourcery.com>
7241
7242 * gdb.arch/i386-dr3-watch.c: New file.
7243 * gdb.arch/i386-dr3-watch.exp: New file.
7244
0578b8d1
YQ
72452011-05-30 Yao Qi <yao@codesourcery.com>
7246
7247 * gdb.base/callfuncs.c (t_structs_fc): New.
7248 (t_structs_dc, t_structs_ldc): New.
7249 (t_double_many_args):
7250 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7251 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7252 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7253 * gdb.base/callfuncs.exp: Call new functions.
7254
6680506e
YQ
72552011-05-30 Yao Qi <yao@codesourcery.com>
7256
ff4d2c60
YQ
7257 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
7258 Call rerun_and_prepare for each test to isolate effects.
7259
72602011-05-30 Yao Qi <yao@codesourcery.com>
7261
7262 * gdb.base/varargs.c (find_max_float_real): New.
7263 (find_max_double_real, find_max_long_double_real): New.
7264 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
7265 * lib/gdb.exp (setup_kfail_for_target): New.
7266
e43ec454
YQ
72672011-05-30 Yao Qi <yao@codesourcery.com>
7268
7269 * gdb.base/funcargs.c (callca, callcb, callcc): New.
7270 (callcd, callce, callcf, callc1a, callc1b): New.
7271 (callc2a, callc2b): New.
7272 * gdb.base/funcargs.exp (complex_args): New.
7273 (complex_integral_args, complex_float_integral_args): New.
7274 * lib/gdb.exp (support_complex_tests): New. Determine
7275 whether to run test cases on _Complex types.
7276
432b4d03
JK
72772011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7278
7279 * gdb.threads/leader-exit.c: New file.
7280 * gdb.threads/leader-exit.exp: New file.
7281
6caf069d
MP
72822011-05-27 Marek Polacek <mpolacek@redhat.com>
7283
9497469f 7284 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 7285
97fce28b
MP
72862011-05-27 Marek Polacek <mpolacek@redhat.com>
7287
7288 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
7289 remove the `supported' variable.
7290 * gdb.mi/mi-nonstop.exp: Likewise.
7291 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7292 * gdb.mi/mi-nsintrall.exp: Likewise.
7293 * gdb.mi/mi-nsmoribund.exp: Likewise.
7294 * gdb.mi/mi-nsthrexec.exp: Likewise.
7295
9da8c2a0
PA
72962011-05-26 Pedro Alves <pedro@codesourcery.com>
7297
7298 * gdb.reverse/finish-reverse-bkpt.exp: New test.
7299
2c03e5be
PA
73002011-05-26 Pedro Alves <pedro@codesourcery.com>
7301
7302 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
7303
2e21250d
KS
73042011-05-24 Keith Seitz <keiths@redhat.com>
7305
7306 PR breakpoint/12803
7307 * gdb.cp/cmpd-minsyms.cc (a): New method.
7308 (b): New method.
7309 (c): New method.
7310 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
7311
cdac0397
PA
73122011-05-24 Pedro Alves <pedro@codesourcery.com>
7313
7314 * gdb.base/commands.exp (watchpoint_command_test): Check that the
7315 watchpoint's command list didn't execute when the watchpoint went
7316 out of scope.
7317
ee5683ab
PM
73182011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
7319
7320 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
7321 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
7322 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
7323 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7324 * gdb.arch/i386-permbkpt.exp: Likewise.
7325 * gdb.arch/i386-prologue.exp: Likewise.
7326 * gdb.arch/i386-size-overlap.exp: Likewise.
7327 * gdb.arch/i386-size.exp: Likewise.
7328 * gdb.arch/i386-unwind.exp: Likewise.
7329 * gdb.reverse/i386-precsave.exp: Likewise.
7330 * gdb.reverse/i386-reverse.exp: Likewise.
7331 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7332 * gdb.reverse/i387-env-reverse.exp: Likewise.
7333 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7334
c91c8c16
PA
73352011-05-24 Pedro Alves <pedro@codesourcery.com>
7336
7337 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
7338 file doesn't error, using MI.
7339
c50491a7
TT
73402011-05-23 Tom Tromey <tromey@redhat.com>
7341
7342 * gdb.base/charset.exp (string_display): Add tests to assign to
7343 arrays.
7344 * gdb.base/charset.c (short_array, int_array, long_array): New.
7345
4a07b7da
PA
73462011-05-20 Pedro Alves <pedro@codesourcery.com>
7347
7348 Cope with async mode.
7349
4a07b7da
PA
7350 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
7351 into gdb_test + mi_expect_stop.
7352
b275f2d2
PA
73532011-05-20 Pedro Alves <pedro@codesourcery.com>
7354
7355 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
7356 (callme): Remove printf call.
7357
eec52c44
PM
73582011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
7359
7360 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
7361 quote pattern to avoid problems with Cygwin/mingw expect versions.
7362 * gdb.base/default.exp (show convenience): Use double
7363 quote pattern for regular expressions.
7364
b3c8eb43
JK
73652011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7366
7367 Fix -readnow for -gdwarf-4 unused type units.
7368 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
7369 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
7370
ed731959
JK
73712011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7372
7373 * gdb.base/kill-after-signal.c: New file.
7374 * gdb.base/kill-after-signal.exp: New file.
7375
3b48433d
PA
73762011-05-16 Pedro Alves <pedro@codesourcery.com>
7377
7378 * gdb.ada/start.exp: Call untested with the correct test filename.
7379 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
7380 test filename. Make the test's binary unique.
7381 * gdb.arch/i386-signal.exp: Call untested with the correct test
7382 filename.
7383 * gdb.arch/i386-size-overlap.exp: Ditto.
7384 * gdb.arch/Makefile.in (EXECUTABLES): Update.
7385 * gdb.base/gcore-buffer-overflow.exp: Ditto.
7386 * gdb.cp/call-c.exp: Ditto.
7387 * gdb.mi/mi-reverse.exp: Call untested with the correct test
7388 filename. Make the test's binary unique.
7389 * gdb.mi/Makefile.in (EXECUTABLES): Update.
7390 * gdb.python/py-mi.exp: Ditto.
7391 * gdb.python/Makefile.in (EXECUTABLES): Update.
7392 * gdb.reverse/i386-precsave.exp: Ditto.
7393 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
7394 test filename.
7395 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7396 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
7397 unique.
7398 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
7399 test filename.
7400 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
7401 * gdb.trace/tfile.exp: Ditto.
7402
ba4a8bdd
YQ
74032011-05-14 Yao Qi <yao@codesourcery.com>
7404
7405 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
7406 type.
7407
dbaefcf7
DE
74082011-05-13 Doug Evans <dje@google.com>
7409
7410 * gdb.python/py-objfile-script.exp: New file.
7411 * gdb.python/py-objfile-script.c: New file.
7412 * gdb.python/py-objfile-script-gdb.py: New file.
7413 * testsuite/gdb.python/py-section-script.exp: Test
7414 "info auto-load-scripts".
7415
9930639c
TT
74162011-05-13 Tom Tromey <tromey@redhat.com>
7417
7418 * gdb.dwarf2/clztest.exp: New file.
7419 * gdb.dwarf2/clztest.c: New file.
7420 * gdb.dwarf2/clztest.S: New file.
7421
05272e11
DE
74222011-05-13 Doug Evans <dje@google.com>
7423
cc63ef9b
DE
7424 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
7425 String16 tests.
05272e11 7426
6edba76f
TT
74272011-05-13 Tom Tromey <tromey@redhat.com>
7428
7429 * lib/gdb.exp (is_x86_like_target): New proc.
7430 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
7431 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
7432 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
7433 -nostdlib to compiler.
7434 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
7435 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
7436 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
7437 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
7438 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
7439
028d0ed5
TJB
74402011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7441
7442 * gdb.python/py-function.exp: Test setting a value from a function
7443 which executes a command.
7444
8a9b8146
TT
74452011-05-12 Tom Tromey <tromey@redhat.com>
7446
7447 * gdb.dwarf2/typeddwarf.S: New file.
7448 * gdb.dwarf2/typeddwarf.c: New file.
7449 * gdb.dwarf2/typeddwarf.exp: New file.
7450
10483e8e
MP
74512011-05-12 Marek Polacek <mpolacek@redhat.com>
7452
7453 * gdb.mi/mi-basics.exp: Fix races. Honour the
7454 `test_exec_and_symbol_mi_operatons' return value.
7455 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7456 gdb_test_multiple.
7457 (test_exec_and_symbol_mi_operatons): Likewise.
7458 (test_path_specification): Likewise.
7459
faf067f1
JK
74602011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7461
7462 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
7463 (gdb_touch_execfile): Remove catch wrappers. New variable time.
7464 Replace `file copy' and `file rename' by `file mtime'. Twice.
7465
7ff911a3
JK
74662011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7467
7468 * gdb.base/readline-ask.c: New file.
7469 * gdb.base/readline-ask.exp: New file.
7470 * gdb.base/readline-ask.inputrc: New file.
7471
a536c6d7
UW
74722011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
7473
7474 * gdb.cell/bt.exp: Delete breakpoints before running to signal
7475 to avoid race condition.
7476 * gdb.cell/coremaker.c: Use small stack size.
7477 * gdb.cell/ea-standalone.exp: Use file name without path as
7478 argument to c_to.
7479 * gdb.cell/fork.exp: Allow other output when continuing to end.
7480
d472a426
JK
74812011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7482
7483 * gdb.threads/corethreads.c: New file.
7484 * gdb.threads/corethreads.exp: New file.
7485
74862011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
7487
7488 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
7489 Try to compile the test using -Wl,-z,norelro first.
7490 (load_core): New variable libthread_db_seen, initialize it.
7491 (zeroed-threads cannot be listed): Protect it by XFAIL on
7492 !$libthread_db_seen.
7493
8be455d7
JK
74942011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7495
7496 PR 12573
7497 * gdb.dwarf2/dw2-skip-prologue.S: New file.
7498 * gdb.dwarf2/dw2-skip-prologue.c: New file.
7499 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
7500
1976171a
JK
75012011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7502
7503 * gdb.cp/psymtab-parameter.cc: New file.
7504 * gdb.cp/psymtab-parameter.exp: New file.
7505
7db6f30f
JK
75062011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7507
7508 Fix a race.
7509 * gdb.cp/static-print-quit.exp (print c): Split to ...
7510 (print c - <return>, print c - q <return>, print c - to quit):
7511 ... these. Make the testfile untested on gdb-7.1.
7512
85161e9e 75132011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
7514
7515 * lib/gdb.exp (exec_target_file, exec_symbol_file,
7516 gdb_rename_execfile, gdb_touch_execfile): New.
7517 * gdb.base/reread.exp: Use new procs to handle multiple
7518 exec files.
7519
0c51be18
YQ
75202011-05-05 Yao Qi <yao@codesourcery.com>
7521
7522 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
7523 (test_adr_32bit, test_pop_pc): New.
7524 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
7525 (test_adr_32bit, test_pop_pc): New.
7526
4d393d60
JM
75272011-05-04 Joseph Myers <joseph@codesourcery.com>
7528
7529 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
7530 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
7531 targets.
7532 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
7533 handle targets.
7534
8ffd0459
JK
75352011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7536
7537 * gdb.base/completion.exp (complete help info wat): Rename to ...
7538 (complete 'help info wat'): ... here.
7539 Remove all `-re ".*' and `-re "^.*' redundant regexes.
7540 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
7541
8e28d804
PA
75422011-05-04 Pedro Alves <pedro@codesourcery.com>
7543
7544 * gdb.base/completion.exp: Use gdb_test_multiple instead of
7545 gdb_test and explicit $gdb_prompt/timeout matches.
7546
3eb2ef34
YQ
75472011-05-04 Yao Qi <yao@codesourcery.com>
7548
7549 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
7550 and __thumb2__.
7551
aaaf81a3
MP
75522011-05-03 Marek Polacek <mpolacek@redhat.com>
7553
7554 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
7555 in place of `gdb_test "delete breakpoints"'. This eliminates two
7556 testcases.
7557
c4cbc0df
PA
75582011-05-02 Pedro Alves <pedro@codesourcery.com>
7559
7560 PR testsuite/12649
7561 Fix races.
7562
7563 * gdb.base/completion.exp: Remove all sleep calls. Remove
7564 unnecessary regexs. Don't explicitly expect anything after the
7565 prompt. Eat the prompt if necessary.
7566
b4cbb4a3
EBM
75672011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7568
7569 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
7570 accept to show the caller line again as well as the line after.
7571
d65aec65
PM
75722011-04-29 Phil Muldoon <pmuldoon@redhat.com>
7573
7574 PR mi/12531
7575
7576 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7577 compile target.
7578 * gdb.python/py-prettyprint.exp: Add C++ object for
7579 CPLUS_FAKE_CHILD test.
7580
30852783
UW
75812011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
7582
7583 * gdb.base/signest.exp: New file.
7584 * gdb.base/signest.c: Likewise.
7585
c7b1f0d9
JK
75862011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7587
7588 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7589 thread and breakpoint notifications.
7590
559a7a62
JK
75912011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7592
7593 * gdb.base/fortran-sym-case.c: New file.
7594 * gdb.base/fortran-sym-case.exp: New file.
7595 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7596 * gdb.dwarf2/dw2-case-insensitive.c: New file.
7597 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7598
8344e389
JK
75992011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7600
7601 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7602 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7603 false #1', `if true else false #2' and `if true else false #3'.
7604
2484c66b
UW
76052011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
7606
7607 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7608 while delivering signal.
7609
8d3788bd
VP
76102011-04-27 Vladimir Prus <vladimir@codesourcery.com>
7611
7612 MI breakpoint notifications.
7613
7614 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
7615 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7616 * testsuite/gdb.mi/mi-watch.exp: Adust.
7617 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7618 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7619 notifications.
8d3788bd 7620
3e03848b
JK
76212011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7622
7623 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7624 * gdb.base/gdbindex-stabs.c: New file.
7625 * gdb.base/gdbindex-stabs.exp: New file.
7626
918c9108
YQ
76272011-04-25 Yao Qi <yao@codesourcery.com>
7628
7629 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7630 with /*...*/.
7631 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7632
90556b8c
JK
76332011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7634
7635 * gdb.python/py-value.exp (test_objfiles): Name the first test
7636 `py-value in file.filename'.
7637
03f2bd59
JK
76382011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7639
7640 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7641 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7642 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7643 !gdbserver_reconnect_p..
7644 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7645
7b08b9eb
JK
76462011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7647
7648 * gdb.cp/cpcompletion.exp (complete class methods)
7649 (complete class methods beginning with F): Move them above runto. New
7650 comment about the runto delimiter.
7651
b78974c3
PA
76522011-04-20 Pedro Alves <pedro@codesourcery.com>
7653
7654 * gdb.base/maint.exp: Test that "maint print registers" works
7655 without a running program.
7656
20429c40 76572011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 7658
20429c40
MP
7659 * gdb.base/setshow.exp: Fix racy tests.
7660 ($old_gdb_prompt): New variable.
7661
7a9dd1b2
TT
76622011-04-19 Tom Tromey <tromey@redhat.com>
7663
7664 * gdb.mi/mi-nsmoribund.exp:
7665 * gdb.hp/gdb.objdbg/objdbg01.exp:
7666 * gdb.base/structs.exp (test_struct_returns):
7667 * gdb.base/call-sc.exp (test_scalar_returns):
7668 * gdb.base/bigcore.exp: Remove duplicate words.
7669
02835898
JK
76702011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7671
7672 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7673 * gdb.base/break-interp.exp (test_attach): New comment.
7674
254f582e
JK
76752011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7676
7677 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7678 (clear __stack_user.next, clear stack_used.next)
7679 (save a zeroed-threads corefile): New test.
7680 Call core_load for $core0file.
7681 (zeroed-threads cannot be listed): New test.
7682
4fe85f5c
JK
76832011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7684
7685 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7686 filename.
7687 ($srcfile): Preserve the original value.
7688 ($testfile): Match it the .exp filename.
7689 ($corefile): New variable. Substitute it around.
7690 Use clean_restart.
7691 ($prev_timeout): Remove.
7692 (load_core): Move core loading into this proc.
7693 Fix restore of $timeout if load_core fails.
7694
63524580
JK
76952011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7696
7697 * gdb.base/eu-strip-infcall.c: New file.
7698 * gdb.base/eu-strip-infcall.exp: New file.
7699
90359a16
JK
77002011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7701
7702 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7703 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7704
626e7282
JK
77052011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7706
7707 Fix Python access to inlined frames.
7708 * gdb.python/py-frame-inline.c: New file.
7709 * gdb.python/py-frame-inline.exp: New file.
7710
3363d018
EBM
77112011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7712
7713 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7714 content of 's24' correctly (avoiding "optimized out").
7715 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7716
28781456
JK
77172011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7718
7719 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7720
4a4106ca
TJB
77212011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7722
7723 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7724 expect a colon in watch -location output.
7725
d26ccb4f
JK
77262011-04-13 Marek Polacek <mpolacek@redhat.com>
7727
df46027d 7728 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
7729 New testcase `expect response to define backtrace'. Also remove
7730 redundant `default' block.
7731
e1ab1f9c
JK
77322011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7733
7734 * gdb.python/py-prettyprint.c (struct hint_error): New.
7735 (main): New variable hint_error.
7736 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7737 "print hint_error".
7738 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7739 (register_pretty_printers): Register it.
7740
0c2e6019
TT
77412011-04-04 Tom Tromey <tromey@redhat.com>
7742
7743 * gdb.cp/maint.exp (test_help): Update.
7744 (test_namespace): Likewise.
7745
af57139d
JB
77462011-04-01 Joel Brobecker <brobecker@adacore.com>
7747
7748 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7749 * gdb.ada/arrayptr.exp: Add new tests.
7750
956a9fb9
JB
77512011-04-01 Joel Brobecker <brobecker@adacore.com>
7752
7753 * gdb.ada/mi_catch_ex: New testcase.
7754
d0c4d642
PA
77552011-04-01 Pedro Alves <pedro@codesourcery.com>
7756
7757 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7758 base::overload(void) method without specifying "const".
7759
18819fa6
UW
77602011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
7761
7762 * gdb.arch/thumb-singlestep.S: New file.
7763 * gdb.arch/thumb-singlestep.exp: Likewise.
7764
a4c8e806
TT
77652011-03-31 Tom Tromey <tromey@redhat.com>
7766
7767 * gdb.python/py-prettyprint.py (exception_flag): New global.
7768 (NoStringContainerPrinter._iterator.next): Check it.
7769 * gdb.python/py-prettyprint.c (main): New variable nstype2.
7770 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7771
53832f31
TT
77722011-03-29 Tom Tromey <tromey@redhat.com>
7773
7774 * gdb.cp/anon-struct.cc: New file.
7775 * gdb.cp/anon-struct.exp: New file.
7776
e4620230
JK
77772011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7778
7779 Test STT_GNU_IFUNC support.
7780 * gdb.base/gnu-ifunc-lib.c: New file.
7781 * gdb.base/gnu-ifunc.c: New file.
7782 * gdb.base/gnu-ifunc.exp: New file.
7783
d0fb5eae
JK
77842011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7785
7786 Support a ring of related breakpoints.
7787 * gdb.base/watchpoint-delete.c: New file.
7788 * gdb.base/watchpoint-delete.exp: New file.
7789
20106cfb
JK
77902011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7791
7792 * gdb.ada/arrayparam.exp (print first after function call): Use
7793 explicit package name. Add a comment
7794 (print lasta after function call): Rename ...
7795 (print last after function call): ... it and use explicit package
7796 name.
7797 (print length after function call): Use explicit package name.
7798 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7799 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7800 (multiple matches for symbol i): Rename ...
7801 (multiple matches for symbol integervar): ... it.
7802 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7803 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7804
e7ab5e63
AB
78052011-03-25 Andrew Burgess <aburgess@broadcom.com>
7806
7807 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7808 environment variable to make grep output more predictable. Move
7809 all the environment setup into gdb_init so it's done once per test
7810 case rather than each time we start gdb.
7811
9ef07c8c
TT
78122011-03-24 Tom Tromey <tromey@redhat.com>
7813
7814 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
7815 test.
7816
dd90784c
JK
78172011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7818
7819 * gdb.dwarf2/dw2-entry-value-main.c: New file.
7820 * gdb.dwarf2/dw2-entry-value.S: New file.
7821 * gdb.dwarf2/dw2-entry-value.exp: New file.
7822
05775840
PM
78232011-03-22 Phil Muldoon <pmuldoon@redhat.com>
7824
6fdff2c5 7825 PR python/12183
05775840
PM
7826
7827 * gdb.python/py-function.exp: Add GdbError tests.
7828
8661b11b
PA
78292011-03-18 Pedro Alves <pedro@codesourcery.com>
7830
7831 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7832 (reglocal_test_func, statlocal_test_func): New functions.
7833 (globals_test_func): Call new functions.
7834 * gdb.trace/unavailable.exp (gdb_collect_args_test)
7835 (gdb_collect_locals_test): New procedure.
7836 (gdb_trace_collection_test): Call new procedures.
7837
0fdb4f18
PA
78382011-03-18 Pedro Alves <pedro@codesourcery.com>
7839
7840 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7841 (test_register, test_register_unavailable): New procedures.
7842 (gdb_unavailable_registers_test): New procedure.
7843 (gdb_trace_collection_test): Call it.
7844
99c3dc11
PM
78452011-03-18 Phil Muldoon <pmuldoon@redhat.com>
7846
6fdff2c5 7847 PR python/12149
99c3dc11
PM
7848
7849 * gdb.python/python.exp: Add gdb.write tests.
7850
29703da4
PM
78512010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7852
7853 * gdb.python/Makefile.in: Add py-objfile.
7854 * gdb.python/py-objfile.exp: New file.
7855 * gdb.python/py-objfile.c: New file.
7856 * gdb.python/py-block.exp: Add is_valid tests.
7857 * gdb.python/py-inferior.exp: Ditto.
7858 * gdb.python/py-infthread.exp: Ditto.
7859 * gdb.python/py-symbol.exp: Ditto.
7860 * gdb.python/py-symtab.exp: Ditto.
7861
598997c8
KS
78622011-03-16 Keith Seitz <keiths@redhat.com>
7863
7864 PR c++/12273
7865 * gdb.cp/cmpd-minsyms.exp: New test.
7866 * gdb.cp/cmpd-minsyms.cc: New file.
7867
7868 PR c++/11734
7869 * gdb.cp/ovsrch.exp: New test.
7870 * gdb.cp/ovsrch.h: New file.
7871 * gdb.cp/ovsrch1.cc: New file.
7872 * gdb.cp/ovsrch2.cc: New file.
7873 * gdb.cp/ovsrch3.cc: New file.
7874 * gdb.cp/ovsrch4.cc: New file.
7875
c91513d8
PP
78762011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7877
7878 PR gdb/12528
7879 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7880 * gdb.base/break-on-linker-gcd-function.exp: New test.
7881 * gdb.base/break-on-linker-gcd-function.cc: New file.
7882
7470fc63
AT
78832011-03-15 Andreas Tobler <andreast@fgznet.ch>
7884
7885 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7886
959e7469
PM
78872011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7888
7889 * lib/gdb.exp (gdb_unload): Add another termination case.
7890
9373cf26
JK
78912011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7892
7893 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7894 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7895 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7896 Provide a stub byte there.
7897 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7898 DW_AT_entry_pc.
7899 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7900
24e9cda0
UW
79012011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7902
7903 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7904 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7905 "generic ABI, auto".
7906 (altivec_abi_tests): Accept vectors returned by reference.
7907
7371cf6d
PM
79082010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7909
7910 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7911
ce77046a
UW
79122011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7913
7914 * gdb.python/py-section-script.exp: Skip test if no Python support.
7915
176400c3
UW
79162011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7917
7918 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7919
ecec24e6
PM
79202011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7921
7922 * gdb.python/py-parameter.exp: Update tests to the new Python
7923 parameter API. Add "no documentation" test. Add deprecated API
7924 backward compatibility test.
7925
5dbdd470
TT
79262011-03-09 Tom Tromey <tromey@redhat.com>
7927
7928 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7929 gdb_continue_to_end.
7930
b66e66ee
MK
79312011-03-09 Mark Kettenis <kettenis@gnu.org>
7932
7933 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7934 tabs.
7935
eceb0c5f
TT
79362011-03-09 Tom Tromey <tromey@redhat.com>
7937
7938 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7939 parentheses.
7940 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7941 $command.
7942 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7943 argument to gdb_continue_to_end.
7944 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7945 argument to gdb_continue_to_end.
7946 * gdb.cp/annota3.exp: Fix regex.
7947 * gdb.cp/annota2.exp: Fix regex.
7948 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7949 gdb_continue_to_end.
7950 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7951 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7952 gdb_continue_to_end.
7953
63154eca
PA
79542011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7955
7956 * gdb.server/ext-run.exp
7957 (load new file without any gdbserver inferior): New test.
7958
967d1f9b
TT
79592011-03-07 Tom Tromey <tromey@redhat.com>
7960
7961 * Makefile.in (TAGS): Rewrite.
7962
d68dcbb9
JK
79632011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7964
7965 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7966 initial commands echo. New match for `Found trace'. Anchor all the
7967 other matches. Anchor and match for `No trace frame found' the final
7968 match.
7969
6bf58e63
TT
79702011-03-07 Tom Tromey <tromey@redhat.com>
7971
7972 * Makefile.in (TAGS): New target.
7973
fda326dd
TT
79742011-03-07 Tom Tromey <tromey@redhat.com>
7975
7976 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7977 change.
7978 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7979 change.
7980 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7981 exit message change.
7982 (skip_altivec_tests): Update for exit message change.
7983 (skip_vsx_tests): Likewise.
7984 (gdb_continue_to_end): Likewise. Add 'command' argument.
7985 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7986 * gdb.threads/tls.exp: Update for exit message change.
7987 * gdb.threads/thread-unwindonsignal.exp: Use
7988 gdb_continue_to_end.
7989 * gdb.threads/step.exp (step_it): Update for exit message change.
7990 (continue_all): Likewise.
7991 * gdb.threads/print-threads.exp (test_all_threads): Update for
7992 exit message change.
7993 * gdb.threads/interrupted-hand-call.exp: Use
7994 gdb_continue_to_end.
7995 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7996 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7997 gdb_continue_to_end.
7998 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7999 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8000 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8001 * gdb.cp/method.exp: Update for exit message change.
8002 * gdb.cp/mb-templates.exp: Update for exit message change.
8003 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8004 * gdb.cp/annota3.exp: Update for exit message change.
8005 * gdb.cp/annota2.exp: Update for exit message change.
8006 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8007 * gdb.base/term.exp: Update for exit message change.
8008 * gdb.base/step-test.exp (test_i): Update for exit message change.
8009 * gdb.base/sigstep.exp (advance): Update for exit message change.
8010 (advancei): Likewise.
8011 * gdb.base/siginfo.exp: Update for exit message change.
8012 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8013 * gdb.base/reread.exp: Use gdb_continue_to_end.
8014 * gdb.base/langs.exp: Use gdb_continue_to_end.
8015 * gdb.base/interrupt.exp: Update for exit message change.
8016 * gdb.base/gdb1555.exp: Update for exit message change.
8017 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8018 * gdb.base/ending-run.exp: Update for exit message change.
8019 * gdb.base/chng-syms.exp: Update for exit message change.
8020 * gdb.base/checkpoint.exp: Update for exit message change.
8021 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8022 gdb_continue_to_end.
8023 (test_catch_syscall_with_wrong_args): Likewise.
8024 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8025 * gdb.base/break-interp.exp (test_ld): Update for exit message
8026 change.
8027 * gdb.base/bang.exp: Update for exit message change.
8028 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8029 (do_call_attach_tests): Likewise.
8030 * gdb.base/a2-run.exp: Update for exit message change.
8031 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8032 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8033 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8034
dd19bd70
JK
80352011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8036
8037 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8038
30e62689
TT
80392011-03-03 Tom Tromey <tromey@redhat.com>
8040
8041 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8042 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8043 * gdb.hp/gdb.aCC/configure.ac: Remove.
8044 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8045 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8046 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8047 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8048 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8049 * gdb.hp/gdb.compat/configure.ac: Remove.
8050 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8051 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8052 * gdb.hp/gdb.defects/configure.ac: Remove.
8053 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8054 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8055 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8056 * gdb.hp/configure.ac: Remove.
8057 * gdb.hp/configure: Remove.
8058 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8059 substitution.
8060 (Makefile): Remove rule.
8061 * gdb.cell/configure.ac: Remove.
8062 * gdb.cell/configure: Remove.
8063 * gdb.stabs/Makefile.in (Makefile): Remove.
8064 (distclean): Don't remove config.status or config.log.
8065 * gdb.stabs/configure (Makefile): Remove.
8066 * gdb.stabs/configure.ac: Remove.
8067 * configure: Rebuild.
8068 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8069 Remove stabs- and cell-specific logic. Test for existence of
8070 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8071 subdirectories, gdb.cell, and and gdb.stabs.
8072 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8073
c171f854
JB
80742011-03-03 Joel Brobecker <brobecker@adacore.com>
8075
8076 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8077 end of buffer.
8078
9a5193cb
JB
80792011-03-02 Joel Brobecker <brobecker@adacore.com>
8080
8081 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8082 gdb_test when running a test where we expected no output back.
8083
9bb4c1bb
MS
80842011-02-28 Michael Snyder <msnyder@vmware.com>
8085
8086 * gdb.cp/overload.cc: Change initializer value to integer.
8087
3bd0f5ef
MS
80882011-02-27 Michael Snyder <msnyder@vmware.com>
8089
8090 * gdb.multi/base.exp: Add test for remove-inferiors.
8091
2279eaad
JB
80922011-02-26 Joel Brobecker <brobecker@adacore.com>
8093
8094 * gdb.python/py-frame.exp: Simplify the initialization phase
8095 using prepare_for_testing.
8096
c82c0b55
MS
80972011-02-25 Michael Snyder <msnyder@vmware.com>
8098
8099 * gdb.multi/base.exp: Add tests for info inferiors with args.
8100
1d94651b
JK
81012011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8102
8103 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8104 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8105 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8106 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8107 asmfile3. Comment the STABS (#3) file compilation. Compile
8108 everything through assembler. Provide KFAIL for symtab/12497.
8109 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8110 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8111 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8112 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8113
3bd0f5ef
MS
81142011-02-24 Michael Snyder <msnyder@vmware.com>
8115
8116 * gdb.base/break.exp: Add tests for delete breakpoints using
8117 convenience variables and value history references.
8118
12c1418e
MS
81192011-02-24 Michael Snyder <msnyder@vmware.com>
8120
8121 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8122 left behind in previous check-in.
8123
e5a67952
MS
81242011-02-23 Michael Snyder <msnyder@vmware.com>
8125
8126 * gdb.base/break.exp: Add tests for "info break" with arguments.
8127 * gdb.trace/infotrace.exp: Update patterns for error and help.
8128 * gdb.base/completion.exp: Update pattern.
8129 * gdb.base/ena-dis-br.exp: Update pattern.
8130 * gdb.base/help.exp: Update patterns.
8131
81322011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
8133
8134 * gdb.base/memattr.exp: New test.
8135 * gdb.base/memattr.c: Test load for memattr.exp.
8136
6e6fbe60
DE
81372011-02-22 Doug Evans <dje@google.com>
8138
8139 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8140
1d41d745
MS
81412011-02-22 Michael Snyder <msnyder@vmware.com>
8142
8143 * Makefile.in: Make more clean.
8144 * gdb.ada/Makefile.in: Ditto.
8145 * gdb.arch/Makefile.in: Ditto.
8146 * gdb.asm/Makefile.in: Ditto.
8147 * gdb.base/Makefile.in: Ditto.
8148 * gdb.cp/Makefile.in: Ditto.
8149 * gdb.dwarf2/Makefile.in: Ditto.
8150 * gdb.java/Makefile.in: Ditto.
8151 * gdb.mi/Makefile.in: Ditto.
8152 * gdb.modula2/Makefile.in: Ditto.
8153 * gdb.python/Makefile.in: Ditto.
8154 * gdb.server/Makefile.in: Ditto.
8155 * gdb.stabs/Makefile.in: Ditto.
8156 * gdb.threads/Makefile.in: Ditto.
8157 * gdb.trace/Makefile.in: Ditto.
8158
79ba84ca
MS
81592011-02-22 Michael Snyder <msnyder@vmware.com>
8160
df46027d 8161 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
8162 info threads.
8163
b9b35694
JB
81642011-02-22 Joel Brobecker <brobecker@adacore.com>
8165
8166 * gdb.python/py-breakpoint.exp: Fix the expected output of
8167 one of the "maint info breakpoints" tests to accept the output
8168 generated on platforms that do not have hardware watchpoints.
8169
8bfb830f
JB
81702011-02-22 Joel Brobecker <brobecker@adacore.com>
8171
8172 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8173 clean_restart. Be a little stricter in the expected output
8174 for one of the tests. Fix a typo in one of the comments.
8175
c45f3c54
JB
81762011-02-22 Joel Brobecker <brobecker@adacore.com>
8177
8178 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8179 Delete variable binfile, no longer use. Add or modify test
8180 comments to make them unique.
8181
b97c863c
MS
81822011-02-21 Michael Snyder <msnyder@vmware.com>
8183
8184 * Makefile.in: Update for make clean.
8185 * gdb.ada/Makefile.in: Ditto.
8186 * gdb.arch/Makefile.in: Ditto.
8187 * gdb.asm/Makefile.in: Ditto.
8188 * gdb.base/Makefile.in: Ditto.
8189 * gdb.cp/Makefile.in: Ditto.
8190 * gdb.dwarf2/Makefile.in: Ditto.
8191 * gdb.java/Makefile.in: Ditto.
8192 * gdb.mi/Makefile.in: Ditto.
8193 * gdb.modula2/Makefile.in: Ditto.
8194 * gdb.python/Makefile.in: Ditto.
8195 * gdb.server/Makefile.in: Ditto.
8196 * gdb.stabs/Makefile.in: Ditto.
8197 * gdb.threads/Makefile.in: Ditto.
8198 * gdb.trace/Makefile.in: Ditto.
8199
aea5b279
MS
82002011-02-21 Michael Snyder <msnyder@vmware.com>
8201
8202 * gdb.threads/thread-find.exp: Update patterns for changes in
8203 output of "info threads" command.
8204
e3039479
UW
82052011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8206 Ulrich Weigand <uweigand@de.ibm.com>
8207
8208 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8209 (skip_hw_watchpoint_tests): Likewise.
8210 (skip_hw_watchpoint_multi_tests): Likewise.
8211
b800ec70
UW
82122011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8213
8214 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8215 (skip_hw_watchpoint_tests): Likewise.
8216 (skip_hw_watchpoint_multi_tests): Likewise.
8217 (skip_hw_watchpoint_access_tests): Likewise.
8218
8219 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8220 * gdb.base/pr11022.exp: Likewise.
8221 * gdb.base/watch-read.exp: Likewise.
8222 * gdb.base/watch_thread_num.exp: Likewise.
8223 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8224 * gdb.base/watchpoint-hw.exp: Likewise.
8225 * gdb.base/watchpoint.exp: Likewise.
8226 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8227 * gdb.threads/watchthreads-reorder.exp: Likewise.
8228 * gdb.threads/watchthreads.exp: Likewise.
8229 * gdb.threads/watchthreads2.exp: Likewise.
8230
91033e37
JB
82312011-02-21 Joel Brobecker <brobecker@adacore.com>
8232
8233 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8234 the debugger is unable to find the array bounds.
8235
eeaafae2
JK
82362011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8237
8238 * gdb.cp/typedef-operator.exp: New file.
8239 * gdb.cp/typedef-operator.cc: New file.
8240
e338d953
MS
82412011-02-17 Michael Snyder <msnyder@vmware.com>
8242
8243 * gdb.threads/thread-find.exp: Fix regular expressions.
8244
e67ad678
JB
82452011-02-17 Joel Brobecker <brobecker@adacore.com>
8246
8247 * gdb.ada/packed_array: Expand testcase to test printing of
8248 unconstrained packed array.
8249
93084bca
JB
82502011-02-17 Joel Brobecker <brobecker@adacore.com>
8251
8252 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8253
a0c78a73
PA
82542011-02-16 Pedro Alves <pedro@codesourcery.com>
8255
f65d5553 8256 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
8257 (main): Initialize it before collecting, and and clear it
8258 afterwards.
f65d5553
PA
8259 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8260 collecting with '{type} addr', where the addr expression is not an
8261 rvalue.
a0c78a73 8262
3dfcbbd2
KW
82632011-02-16 Ken Werner <ken.werner@de.ibm.com>
8264
8265 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
8266 a bool variable. Expect correct OpenCL names for vector types. Use the
8267 uc3 variable name instead of referring to the uchar3 built-in type.
8268 Escape the asterisk at the half pointer test.
8269
08807d5a
PA
82702011-02-16 Pedro Alves <pedro@codesourcery.com>
8271
f65d5553 8272 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
8273 (main): Initialize it before collecting, and and clear it
8274 afterwards.
f65d5553
PA
8275 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8276 collecting overlapping memory ranges.
08807d5a 8277
60f98dde
MS
82782011-02-15 Michael Snyder <msnyder@vmware.com>
8279
8280 * gdb.base/default.exp: Add tests for thread commands.
8281 * gdb.base/help.exp: Add tests for thread commands.
8282 * gdb.threads/thread-find.exp: New test for thread find command.
8283
648cd113
KW
82842011-02-15 Ken Werner <ken.werner@de.ibm.com>
8285
8286 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
8287
494e194e
YQ
82882011-02-15 Yao Qi <yao@codesourcery.com>
8289
8290 PR tdep/12352
8291 * gdb.arch/arm-disp-step.S : New test for str instruction.
8292 * gdb.arch/arm-disp-step.exp : Likewise.
8293
d9492458
TJB
82942011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
8295
8296 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
8297 "vector_register2_vr" test strings. Test the extended floating
8298 point registers (F32~F63).
8299 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
8300 IBM XL C compiler. Make the test program use a register provided
8301 by the compiler for the lxvd2x instruction.
8302
8af8e3bc
PA
83032011-02-14 Pedro Alves <pedro@codesourcery.com>
8304
8305 * gdb.trace/unavailable.cc (class Base, class Middle, class
8306 Derived): New types.
8307 (derived_unavail, derived_partial, derived_whole): New globals.
8308 (virtual_partial): New global.
8309 (virtualp): Point at virtual_partial.
8310 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
8311 related to unavailable vptr.
8312
1b28d0b3
PA
83132011-02-14 Pedro Alves <pedro@codesourcery.com>
8314
8315 * gdb.trace/unavailable.cc (a, b, c): New globals.
8316 (main): Set and clear them.
8317 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
8318 `a' and `c', and check that `b' isn't collected, although `a' and
8319 `c' are.
8320
ec0a52e1
PA
83212011-02-14 Pedro Alves <pedro@codesourcery.com>
8322
8323 * gdb.trace/unavailable.cc (struct Virtual): New.
8324 (virtualp): New global pointer.
8325 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
8326 printing a pointer to an object whose type has a vtable, with
8327 print object on.
8328
24e6bcee
PA
83292011-02-14 Pedro Alves <pedro@codesourcery.com>
8330
8331 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
8332 value repeat handles unavailableness.
8333
39d37385
PA
83342011-02-14 Pedro Alves <pedro@codesourcery.com>
8335
8336 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
8337 tests for building arrays from unavailable values, subscripting
8338 non-memory rvalue unvailable arrays, and accessing fields or
8339 baseclasses of non-lazy unavailable values,
8340 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
8341 struct types.
8342 (g_smallstruct, g_smallstruct_b): New globals.
8343
06d72e16
PA
83442011-02-14 Pedro Alves <pedro@codesourcery.com>
8345
8346 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
8347
bc9a5551
JK
83482011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8349
8350 Fix const/volatile qualifiers of C++ types, PR c++/12328.
8351 * gdb.cp/overload-const.exp: New file.
8352 * gdb.cp/overload-const.cc: New file.
8353
54fcddd0
UW
83542011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8355
8356 * gdb.opencl/callfuncs.cl: New file.
8357 * gdb.opencl/callfuncs.exp: New test.
8358 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
8359
d6dafb7c
UW
83602011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8361
8362 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
8363 when computing result.
8364 * gdb.arch/altivec-abi.exp: Update expected results.
8365
a449c2d8
TJB
83662011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8367
8368 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
8369 * gdb.base/jit.exp: Likewise.
8370 * gdb.base/pie-execl.exp: Likewise.
8371 * gdb.base/solib-nodir.exp: Likewise.
8372 * gdb.base/solib-overlap.exp: Likewise.
8373
764880b7
PA
83742011-02-07 Pedro Alves <pedro@codesourcery.com>
8375
8376 * gdb.trace/collection.c (global_pieces): New.
8377 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
8378 New procedure.
8379 (gdb_trace_collection_test): Call it.
8380
505500db
SW
83812011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
8382
8383 * gdb.python/py-evthreads.c: New file.
8384 * gdb.python/py-evthreads.exp: New file.
8385 * gdb.python/py-events.py: New file.
8386 * gdb.python/py-events.exp: New file.
8387 * gdb.python/py-events.c: New file.
8388
385203ed
DD
83892011-02-04 David Daney <ddaney@caviumnetworks.com>
8390
8391 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
8392
9011945e
AB
83932011-02-03 Andrew Burgess <aburgess@broadcom.com>
8394
8395 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
8396 gdb.base/disasm-end-cu.exp: New test for disassembling over the
8397 boundary between two compilation units.
8398
580688f3
PA
83992011-02-02 Pedro Alves <pedro@codesourcery.com>
8400
8401 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
8402 (Virtual): New structs.
8403 (virtual_o, virtual_middle_b): New globals.
8404 * gdb.cp/virtbase.exp: New tests.
8405
d3f0f853
PP
84062011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8407
8408 * gdb.base/jit.exp: New file.
8409 * gdb.base/jit-main.c: New file.
8410 * gdb.base/jit-solib.c: New file.
8411
b2030fb5
UW
84122011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
8413
8414 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
8415 proceed to initial kernel entry point.
8416 * gdb.opencl/datatypes.exp: Likewise.
8417 * gdb.opencl/operators.exp: Likewise.
8418 * gdb.opencl/vec_comps.exp: Likewise.
8419
2db19d1e
SW
84202011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
8421
8422 * gdb.cp/nsnested.cc: New.
8423 * gdb.cp/nsnested.exp: New.
8424 * gdb.cp/nsnoimports.exp: New.
8425 * gdb.cp/nsnoimports.cc: New.
8426
6b0c4c1f
JB
84272011-01-31 Joel Brobecker <brobecker@adacore.com>
8428
8429 * gdb.base/interact.exp: Add extra tests that verify that
8430 the value of the interactive-mode setting does not change
8431 after the script is sourced.
8432
80b23b6a
JK
84332011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8434
8435 * gdb.cp/noparam.exp: New file.
8436 * gdb.cp/noparam.cc: New file.
8437
ffd5ec24
PA
84382011-01-28 Pedro Alves <pedro@codesourcery.com>
8439
8440 * gdb.trace/tfile.exp: Test that with no traceframe selected,
8441 there's no stack or registers.
8442
a81766d8
TT
84432011-01-26 Tom Tromey <tromey@redhat.com>
8444
8445 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
8446 space before string output. Add test for "set print pretty off"
8447 case.
8448
585fdaa1
PA
84492011-01-25 Pedro Alves <pedro@codesourcery.com>
8450
8451 * gdb.base/frame-args.exp: Adjust.
8452 * gdb.dwarf2/dw2-noloc.exp: Adjust.
8453 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
8454 * gdb.dwarf2/pieces.exp: Adjust.
8455 * gdb.opt/clobbered-registers-O2.exp: Adjust.
8456 * gdb.opt/inline-locals.exp: Adjust.
8457 * gdb.threads/fork-child-threads.exp: Adjust.
8458
d468832a
KW
84592011-01-25 Ken Werner <ken.werner@de.ibm.com>
8460
8461 * gdb.opencl/convs_casts.cl: Move program scope variables into the
8462 OpenCL kernel function. Add a comment as marker. Add address space
8463 qualifiers for the remaining program scope variables.
8464 * gdb.opencl/datatypes.cl: Likewise.
8465 * gdb.opencl/operators.cl: Likewise.
8466 * gdb.opencl/vec_comps.cl: Likewise.
8467 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
8468 Add breakpoint at the marker comment.
8469 * gdb.opencl/datatypes.exp: Likewise.
8470 * gdb.opencl/operators.exp: Likewise.
8471 * gdb.opencl/vec_comps.exp: Likewise.
8472
490f124f
PA
84732011-01-24 Pedro Alves <pedro@codesourcery.com>
8474
8475 * gdb.base/printcmds.c (some_struct): New struct and instance.
8476 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
8477 procedure.
8478 <global scope>: Call it.
8479
6da78614
KW
84802011-01-21 Ken Werner <ken.werner@de.ibm.com>
8481
8482 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
8483 argument to the gdb_compile_opencl_hostapp call.
8484
ec64c9aa
YQ
84852011-01-19 Yao Qi <yao@codesourcery.com>
8486
8487 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
8488 positve list.
8489
810cfdbb
YQ
84902011-01-19 Yao Qi <yao@codesourcery.com>
8491
8492 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
8493 canonical form.
8494 Remove "xscale-*-*"
8495 * gdb.xml/tdesc-regs.exp: Likewise.
8496 * gdb.python/py-section-script.exp: Replace ARM target triplet
8497 with canonical form.
8498 Match arm*-*-symbianelf*.
8499 * gdb.base/dup-sect.exp: Likewise.
8500 * lib/dwarf.exp: New.
8501 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
8502 dwarf2_support.
8503 * gdb.dwarf2/dup-psym.exp: Likewise.
8504 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
8505 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8506 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
8507 * gdb.dwarf2/dw2-basic.exp: Likewise.
8508 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8509 * gdb.dwarf2/dw2-const.exp: Likewise.
8510 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
8511 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
8512 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8513 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
8514 * gdb.dwarf2/dw2-filename.exp: Likewise.
8515 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8516 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
8517 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8518 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8519 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
8520 * gdb.dwarf2/dw2-noloc.exp: Likewise.
8521 * gdb.dwarf2/dw2-op-call.exp: Likewise.
8522 * gdb.dwarf2/dw2-producer.exp: Likewise.
8523 * gdb.dwarf2/dw2-ranges.exp: Likewise.
8524 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
8525 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
8526 * gdb.dwarf2/dw2-strp.exp: Likewise.
8527 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
8528 * gdb.dwarf2/implptr.exp: Likewise.
8529 * gdb.dwarf2/mac-fileno.exp: Likewise.
8530 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
8531 * gdb.dwarf2/pieces.exp: Likewise.
8532 * gdb.dwarf2/pr11465.exp: Likewise.
8533 * gdb.dwarf2/valop.exp: Likewise.
8534 * gdb.dwarf2/watch-notconst.exp: Likewise.
8535 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
8536
4694da01
TT
85372011-01-19 Tom Tromey <tromey@redhat.com>
8538
8539 * gdb.python/py-infthread.exp: Add thread tests.
8540
b075872c
JB
85412011-01-14 Joel Brobecker <brobecker@adacore.com>
8542
8543 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
8544
2c3e6e24
JB
85452011-01-14 Joel Brobecker <brobecker@adacore.com>
8546
8547 * gdb.ada/widewide: New testcase.
8548
de8fa76c
JB
85492011-01-13 Joel Brobecker <brobecker@adacore.com>
8550
8551 * gdb.base/interact.exp: New testcase.
8552
1b05df00
TT
85532011-01-12 Tom Tromey <tromey@redhat.com>
8554
8555 * gdb.mi/gdb2549.exp: Update for error message changes.
8556 * gdb.mi/mi-cli.exp: Likewise.
8557 * gdb.mi/mi-disassemble.exp: Likewise.
8558 * gdb.mi/mi-pthreads.exp: Likewise.
8559 * gdb.mi/mi-regs.exp: Likewise.
8560 * gdb.mi/mi-stack.exp: Likewise.
8561 * gdb.mi/mi-var-block.exp: Likewise.
8562 * gdb.mi/mi-var-cmd.exp: Likewise.
8563 * gdb.mi/mi2-cli.exp: Likewise.
8564 * gdb.mi/mi2-disassemble.exp: Likewise.
8565 * gdb.mi/mi2-pthreads.exp: Likewise.
8566 * gdb.mi/mi2-regs.exp: Likewise.
8567 * gdb.mi/mi2-stack.exp: Likewise.
8568 * gdb.mi/mi2-var-block.exp: Likewise.
8569 * gdb.mi/mi2-var-cmd.exp: Likewise.
8570
c2ff108b
JK
85712011-01-12 Andrew Burgess <aburgess@broadcom.com>
8572 Jan Kratochvil <jan.kratochvil@redhat.com>
8573
8574 PR fortran/11104 and DWARF unbound arrays detection.
8575 * gdb.fortran/multi-dim.exp: New file.
8576 * gdb.fortran/multi-dim.f90: New file.
8577
b716877b
AB
85782011-01-12 Andrew Burgess <aburgess@broadcom.com>
8579
8580 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8581 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8582 add new tests for opcode dumping.
8583
6c162d5e
TT
85842011-01-11 Tom Tromey <tromey@redhat.com>
8585
8586 * gdb.python/py-infthread.exp: Load gdb-python.exp.
8587
77b06cd7
TJB
85882010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
8589
8590 Convert hardware watchpoints to use breakpoint_ops.
8591 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8592 type is not supported.
8593 * gdb.base/foll-fork.exp: Likewise.
8594 * gdb.base/foll-vfork.exp: Likewise.
8595
f39a75d0
PM
85962011-01-10 Phil Muldoon <pmuldoon@redhat.com>
8597
8598 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8599 Use load_lib gdb-python.exp.
8600 * gdb.python/python.exp: Ditto.
8601 * gdb.python/py-function.exp: Ditto.
8602
fc529d80
AS
86032011-01-09 Andreas Schwab <schwab@linux-m68k.org>
8604
8605 * gdb.threads/tls.exp ("info address me"): Fix expected output.
8606
fb03cb59
JK
86072011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8608
8609 * configure: Regenerate.
8610
d8e22779
TT
86112011-01-06 Tom Tromey <tromey@redhat.com>
8612
8613 * gdb.python/py-frame.exp: Test gdb.newest_frame.
8614
09050809
JB
86152011-01-06 Joel Brobecker <brobecker@adacore.com>
8616
fc529d80
AS
8617 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8618 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8619 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8620 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8621 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8622 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8623 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8624 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8625 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8626 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8627 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8628 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8629 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8630 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8631 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8632 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8633 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8634 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8635 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8636 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8637 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8638 gdb.ada/uninitialized_vars.exp,
8639 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8640 Simplify by using clean_restart.
09050809 8641
8ed5dd9e
JB
86422011-01-06 Joel Brobecker <brobecker@adacore.com>
8643
8644 Add marker to be used as anchor for inserting breakpoints.
8645 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8646 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8647 Likewise.
8648
8649 Remove uses of gdb_start_cmd.
8650 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8651 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8652
8653 Do not run testcase if testing with GDBserver.
8654 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8655 if testing with GDBserver.
8656
368a124f
JB
86572011-01-06 Joel Brobecker <brobecker@adacore.com>
8658
8659 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8660 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8661 copyright header.
8662
44944448
JB
86632011-01-05 Joel Brobecker <brobecker@adacore.com>
8664
8665 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8666 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8667 testsuite/gdb.fortran/complex.f,
8668 testsuite/gdb.fortran/derived-type.f90,
8669 testsuite/gdb.fortran/library-module-lib.f90,
8670 testsuite/gdb.fortran/library-module-main.f90,
8671 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8672 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8673 Copyright year update.
8674
31886ea6
JB
86752011-01-05 Joel Brobecker <brobecker@adacore.com>
8676
8677 * gdb.base/langs1.f: Add copyright header.
8678
ebedcab5
JK
86792011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8680
8681 * gdb.base/morestack.exp: New file.
8682 * gdb.base/morestack.c: New file.
8683
de1eb2f9
JK
86842011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8685
8686 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8687
9e87a409
JB
86882010-12-29 Joel Brobecker <brobecker@adacore.com>
8689
8690 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8691 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8692
720d1a40
JB
86932010-12-29 Joel Brobecker <brobecker@adacore.com>
8694
8695 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8696
a283af87
AS
86972010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8698
5d3d9cba
AS
8699 * gdb.threads/tls.exp: Fix typo.
8700
a283af87
AS
8701 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8702 * gdb.threads/execl.exp: Update.
8703
2a20745c
YQ
87042010-12-23 Yao Qi <yao@codesourcery.com>
8705
8706 * gdb.arch/arm-disp-step.exp: New.
8707 * gdb.arch/arm-disp-step.S: New.
8708
a7658b96
TT
87092010-12-21 Tom Tromey <tromey@redhat.com>
8710
8711 * gdb.threads/execl.exp: Update.
8712 * gdb.threads/linux-dp.exp: Update.
8713 * gdb.threads/manythreads.exp: Update.
8714 * gdb.threads/tls.exp: Update.
8715
5b79abe7
TT
87162010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8717
8718 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8719 (NextOverThrowDerivates) <resumebpt>: New.
8720 (resumebpt_test): New.
8721 (main): Call resumebpt_test.
8722 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8723
0914bcdb
SS
87242010-12-12 Stan Shebs <stan@codesourcery.com>
8725
8726 * gdb.trace/tsv.exp: Test print command on trace state variables.
8727
305aeedc
TT
87282010-12-09 Tom Tromey <tromey@redhat.com>
8729
8730 * gdb.base/interp.exp: Add regression test.
8731
186c406b
TT
87322010-12-09 Tom Tromey <tromey@redhat.com>
8733
8734 * gdb.java/jnpe.java: New file.
8735 * gdb.java/jnpe.exp: New file.
8736 * gdb.cp/nextoverthrow.exp: New file.
8737 * gdb.cp/nextoverthrow.cc: New file.
8738
aae1c79a
DE
87392010-12-07 Doug Evans <dje@google.com>
8740
8741 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8742 of data-directory.
8743 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8744 updated.
8745 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8746
60f98dde 87472010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
8748
8749 * gdb.base/callfuncs.exp: Test for skip_float_tests.
8750 * gdb.base/call-sc.exp: Ditto.
8751 * gdb.base/finish.exp: Ditto.
8752 * gdb.base/return.exp: Ditto.
8753 * gdb.base/return2.exp: Ditto.
8754
5fa290c1
DE
87552010-11-30 Doug Evans <dje@google.com>
8756
8757 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8758 (gdb_expect_list): Fix spelling errors in comments.
8759 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8760 send_gdb/gdb_expect_list where applicable.
8761 * gdb.base/call-ar-st.exp: Ditto.
8762 * gdb.base/funcargs.exp: Ditto.
8763 * gdb.base/gcore.exp: Ditto.
8764 * gdb.base/page.exp: Ditto.
8765 * gdb.base/sigaltstack.exp: Ditto.
8766 * gdb.base/siginfo.exp: Ditto.
8767 * gdb.base/sigstep.exp: Ditto.
8768 * gdb.base/trace-commands.exp: Ditto.
8769
4e04c971
DE
87702010-11-29 Doug Evans <dje@google.com>
8771
8772 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8773 printer-name;subprinter-name.
8774
8cf6f0b1
TT
87752010-11-29 Tom Tromey <tromey@redhat.com>
8776
8777 * gdb.dwarf2/implptr.exp: New file.
8778 * gdb.dwarf2/implptr.c: New file.
8779 * gdb.dwarf2/implptr.S: New file.
8780
94b6973e
PM
87812010-11-29 Phil Muldoon <pmuldoon@redhat.com>
8782
fc529d80 8783 PR python/12199
94b6973e
PM
8784
8785 * gdb.python/py-breakpoint.exp: Test the delete method.
8786
8358c15c
JK
87872010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8788
8789 Fix step_resume_breakpoint unsaved during an infcall.
8790 * gdb.base/step-resume-infcall.exp: New file.
8791 * gdb.base/step-resume-infcall.c: New file.
8792
f6df29bc
TJB
87932010-11-24 Edjunior Machado <emachado@br.ibm.com>
8794
8795 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8796
f2b5a5cf
TJB
87972010-11-24 Edjunior Machado <emachado@br.ibm.com>
8798
8799 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8800 on ppc64's symbols; "finish" and "return" commands must accept to
8801 show the caller line again as well as the line after.
8802 * gdb.asm/powerpc64.inc: New file.
8803
6b0ecdc2
DE
88042010-11-23 Doug Evans <dje@google.com>
8805
8806 * lib/gdb.exp (gdb_test_sequence): New function.
8807 (gdb_expect_list): Add verbose -log call for each pattern.
8808 * gdb.base/signals.exp (test_handle_all_print): Call it.
8809 Reduce timeout increment from 6 minutes to 1 minute.
8810 * gdb.server/ext-run.exp: Call it.
8811
ea976c60
PM
88122010-11-23 Phil Muldoon <pmuldoon@redhat.com>
8813
f2b5a5cf 8814 PR python/12212
ea976c60
PM
8815
8816 * gdb.python/python.exp: Check that selected_thread raises an
8817 error when no inferior is loaded.
8818
c0efa795
JK
88192010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8820
8821 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8822 * gdb.dwarf2/dw2-stack-boundary.S: New file.
8823
ec3aa567
JK
88242010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8825
8826 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8827 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8828
d8249011
DE
88292010-11-18 Doug Evans <dje@google.com>
8830
8831 * gdb.server/ext-run.exp: Fix intermittent failures.
8832
d4eba7d1
NF
88332010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8834
8835 * gdb.stabs/gdb11479.exp: Use runto_main.
8836
b04c2f88
NF
88372010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8838
8839 * gdb.base/break-entry.exp: Skip if using a stub.
8840
ae9d7ce4
NF
88412010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8842
8843 * gdb.python/py-inferior.exp: Pack values in target endianness.
8844
621c8364
TT
88452010-11-12 Tom Tromey <tromey@redhat.com>
8846
8847 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8848 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8849 MemoryError.
8850 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8851 type.
8852 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8853 MemoryError.
8854 (test_subscript_regression): Update exception type.
8855
84f4c1fe
PM
88562010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8857
8858 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8859 breakpoint tests.
8860
a1442452
PA
88612010-11-09 Pedro Alves <pedro@codesourcery.com>
8862
8863 * gdb.base/watchpoint.exp: Test "watch -location" with an
8864 innacessible location.
8865
efd11a33
JK
88662010-11-09 Edjunior Machado <emachado@br.ibm.com>
8867 Luis Machado <luisgpm@br.ibm.com>
8868
8869 * gdb.base/maint.exp: Expect "." prefix.
8870 * gdb.base/nodebug.exp: Expect "." Likewise.
8871 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8872 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8873 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8874 POWER server processors.
8875
aa00efb5
JK
88762010-11-08 Edjunior Machado <emachado@br.ibm.com>
8877 Luis Machado <luisgpm@br.ibm.com>
8878
8879 * gdb.base/break-entry.exp: convert entry point for
8880 ppc64 and expect leading `.' on ppc64's symbols
8881
99e7ae30
DE
88822010-11-05 Doug Evans <dje@google.com>
8883
8884 * gdb.base/help.exp: Update expected output.
b521dba8
DE
8885 * gdb.python/py-param.exp: Delete, contents moved to ...
8886 * gdb.python/py-parameter.exp: ... here. New file.
8887 Add test for gdb.parameter ("directories").
99e7ae30 8888
f4b8a18d
KW
88892010-11-05 Ken Werner <ken.werner@de.ibm.com>
8890
8891 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8892 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8893 * configure: Regenerate.
8894 * gdb.opencl/Makefile.in: New File.
8895 * gdb.opencl/datatypes.exp: Likewise.
8896 * gdb.opencl/datatypes.cl: Likewise.
8897 * gdb.opencl/operators.exp: Likewise.
8898 * gdb.opencl/operators.cl: Likewise.
8899 * gdb.opencl/vec_comps.exp: Likewise.
8900 * gdb.opencl/vec_comps.cl: Likewise.
8901 * gdb.opencl/convs_casts.exp: Likewise.
8902 * gdb.opencl/convs_casts.cl: Likewise.
8903 * lib/opencl.exp: Likewise.
8904 * lib/opencl_hostapp.c: Likewise.
8905 * lib/opencl_kernel.cl: Likewise.
8906 * lib/cl_util.c: Likewise.
8907 * lib/cl_util.c: Likewise.
8908 * gdb.base/default.exp (set language): Add "opencl" to the list of
8909 languages.
8910
a9d5ef47
SW
89112010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8912
8913 * gdb.cp/overload.exp: Added test for inheritance overload.
8914 * gdb.cp/overload.cc: Ditto.
8915 * gdb.cp/oranking.exp: Removed releveant kfails.
8916
03eb1c79
JK
89172010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8918 Joel Brobecker <brobecker@adacore.com>
8919
8920 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8921 check test_compiler_info.
8922
dbc98a8b
KW
89232010-11-03 Ken Werner <ken.werner@de.ibm.com>
8924
8925 * gdb.base/gnu_vector.exp: Adjust expect messages.
8926
120bd360
KW
89272010-11-03 Ken Werner <ken.werner@de.ibm.com>
8928
8929 * gdb.base/gnu_vector.exp: Add unary operator tests.
8930
c37f7098
KW
89312010-11-03 Ken Werner <ken.werner@de.ibm.com>
8932
8933 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8934
7b51bc51
DE
89352010-11-02 Doug Evans <dje@google.com>
8936
8937 * gdb.python/py-pp-maint.c: New file.
8938 * gdb.python/py-pp-maint.exp: New file.
8939 * gdb.python/py-pp-maint.py: New file.
8940
50c97f38
TT
89412010-11-02 Tom Tromey <tromey@redhat.com>
8942
8943 * gdb.base/default.exp: Remove "scheme" from language list.
8944
a289b8f6
JK
89452010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8946
8947 Revert:
8948 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8949 * gdb.threads/sigstep-threads.exp: New file.
8950 * gdb.threads/sigstep-threads.c: New file.
8951
cd017491
MS
89522010-10-20 Michael Snyder <msnyder@vmware.com>
8953
8954 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8955
8e6a5956
UW
89562010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8957
8958 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8959 Skip test completely if gdb,no_hardware_watchpoints.
8960
2c04da0d
UW
89612010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8962
8963 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8964 strict, but do not check for any particular function name within libc.
8965
79afc5ef
SW
89662010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8967
8968 * gdb.cp/smartp.exp: New test.
8969 * gdb.cp/smartp.cc : New test.
8970
026ffab7
SW
89712010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8972
8973 * gdb.cp/converts.exp: Test pointer to bool conversion.
8974 Test pointer to long conversion.
8975 * gdb.cp/oranking.exp: Removed relevant kfail.
8976
3a772aa4
TT
89772010-10-18 Tom Tromey <tromey@redhat.com>
8978
8979 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8980 argument to lazy_string.
8981 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8982 (pp_ls.to_string): Use it.
8983 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8984 Add "estring2" local.
8985
5fc3827b
JK
89862010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8987
8988 Fix s390x compatibility.
8989 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8990 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8991
8aeb23f3
JK
89922010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8993
8994 * gdb.threads/sigstep-threads.exp: New file.
8995 * gdb.threads/sigstep-threads.c: New file.
8996
c1e56572
JK
89972010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8998
8999 * gdb.base/pie-execl.exp: New file.
9000 * gdb.base/pie-execl.c: New file.
9001
92163a10
JK
90022010-10-13 Doug Evans <dje@google.com>
9003 Jan Kratochvil <jan.kratochvil@redhat.com>
9004
9005 PR exp/12117
9006 * gdb.cp/ptype-cv-cp.cc: New file.
9007 * gdb.cp/ptype-cv-cp.exp: New file.
9008
7062b0a0
SW
90092010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9010
9011 * gdb.cp/converts.cc: New test program.
9012 * gdb.cp/converts.exp: New test.
9013 * gdb.cp/overload.exp: Added test for void* vs int*.
9014 * gdb.cp/overload.exp: Ditto.
9015 * gdb.cp/oranking.exp: Removed related kfail.
9016
0e3509db
DE
90172010-10-13 Doug Evans <dje@google.com>
9018
9019 * lib/gdb-python.exp (gdb_check_python_config): New function.
9020 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9021 * gdb.python/lib-types.cc: New file.
9022 * gdb.python/lib-types.exp: New file.
9023
8dc78533
JK
90242010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9025
9026 * gdb.python/py-error.exp: New file.
9027 * gdb.python/py-error.py: New file.
9028
93c17e06
JK
90292010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9030
9031 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9032 gdb_test_multiple.
9033
d8b34041
JK
90342010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9035
9036 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9037 * gdb.base/prelink.exp: Likewise.
9038 * gdb.base/solib-nodir.exp: Likewise.
9039 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9040 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9041 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9042
e0cc584e
UW
90432010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9044
9045 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9046 for the "info files" test to avoid timeouts on slow machines.
9047
cfc353b1
JK
90482010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9049
9050 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9051 (main): Make openlib dummy call.
9052
d3d7896d
JK
90532010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9054
9055 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9056 * break-interp.exp (reach): Move the core body ...
9057 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9058 (test_ld): Provide always real argument, even to the linker. Replace
9059 dl_main by _dl_debug_state.
9060
5e533c94
JK
90612010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9062
9063 Fix results of prelinked PIEs on ppc*.
9064 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9065 Accept also DISPLACEMENT "PRESENT".
9066 (main): Replace "ZERO" displacements by "PRESENT".
9067
33540610
SW
90682010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9069
9070 * gdb.cp/oranking.exp: New test.
9071 * gdb.cp/oranking.cc: New test program.
9072
3bdf2bbd
KW
90732010-10-08 Ken Werner <ken.werner@de.ibm.com>
9074
9075 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9076 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9077
2f608a3a
KW
90782010-10-06 Ken Werner <ken.werner@de.ibm.com>
9079
9080 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9081 lush, lynx) New constant.
9082 * gdb.base/constvars.exp: Test const array types.
9083 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9084
aa2e2d8d
DE
90852010-10-06 Doug Evans <dje@google.com>
9086
9087 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9088 of syscall staging area.
9089
2844d6b5
KW
90902010-10-06 Ken Werner <ken.werner@de.ibm.com>
9091
9092 * gdb.base/gnu_vector.c: Add variable c4.
9093 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9094 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9095
7d8ac8bb
MR
90962010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9097
9098 * gdb.arch/altivec-abi.exp: Fix a typo.
9099
84a02e58
MR
91002010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9101
9102 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9103 to match a thread ID.
9104
b18e6318
JK
91052010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9106
9107 Fix s390x testcase compatibility.
9108 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9109
a2c09bd0
DE
91102010-10-01 Doug Evans <dje@google.com>
9111
9112 * lib/gdb-python.exp: New file.
9113 * gdb.python/py-block.exp: Use it.
9114 * gdb.python/py-breakpoint.exp: Ditto.
9115 * gdb.python/py-frame.exp: Ditto.
9116 * gdb.python/py-inferior.exp: Ditto.
9117 * gdb.python/py-param.exp: Ditto.
9118 * gdb.python/py-prettyprint.exp: Ditto.
9119 * gdb.python/py-shared.exp: Ditto.
9120 * gdb.python/py-symbol.exp: Ditto.
9121 * gdb.python/py-symtab.exp: Ditto.
9122 * gdb.python/py-type.exp: Ditto.
9123 * gdb.python/py-value.exp: Ditto.
9124 * gdb.python/python.exp: Ditto.
9125
38f12cfc
TT
91262010-09-30 Tom Tromey <tromey@redhat.com>
9127
9128 * gdb.base/anon.exp: New file.
9129 * gdb.base/anon.c: New file.
9130
9ae8282d
TT
91312010-09-30 Tom Tromey <tromey@redhat.com>
9132
9133 * gdb.base/completion.exp: Test completion through anonymous
9134 union.
9135 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9136
e9e07ba6
JK
91372010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9138
9139 Fix printing parameters of inlined functions.
9140 * gdb.dwarf2/dw2-inline-param.exp: New file.
9141 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9142 * gdb.dwarf2/dw2-inline-param.S: New file.
9143
cd2effb2
JK
91442010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9145
9146 PR corefiles/12071.
9147 * gdb.base/corefile.exp (quit with a process, no question: load core)
9148 (quit with a core file): New tests.
9149
bceffbf3
JK
91502010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9151
9152 Fix GDB crash on inferior calls with self-referencing classes.
9153 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9154 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9155 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9156
1736ad11
JK
91572010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9158
9159 Fix lost siginfo_t for inferior calls.
9160 * gdb.base/siginfo-infcall.exp: New file.
9161 * gdb.base/siginfo-infcall.c: New file.
9162
a176ad92
JB
91632010-09-22 Joel Brobecker <brobecker@adacore.com>
9164
9165 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9166
c2b0a229
JK
91672010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9168
9169 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9170 New test.
9171 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9172
e8ae22d1
JB
91732010-09-22 Joel Brobecker <brobecker@adacore.com>
9174
9175 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9176 type of our const type.
9177
ec322823
SW
91782010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9179
9180 * gdb.cp/pr12028.cc: New.
9181 * gdb.cp/pr12028.exp: New.
9182
72929c62
JB
91832010-09-22 Joel Brobecker <brobecker@adacore.com>
9184
9185 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9186
875b4ff5 91872010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 9188 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
9189
9190 PR mi/11407
9191 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9192 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9193 * gdb.mi/dw2-ref-missing-frame.S New File.
9194 * gdb.mi/dw2-ref-missing-frame.exp New File.
9195
7155d578
TT
91962010-09-14 Tom Tromey <tromey@redhat.com>
9197
9198 PR symtab/8399:
9199 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9200
515ed532
TT
92012010-09-14 Tom Tromey <tromey@redhat.com>
9202
9203 PR exp/11803:
9204 * gdb.threads/tls.exp: Use C++.
9205 (check_thread_local): Use K::another_thread_local.
9206 * gdb.threads/tls.c (class K): New.
9207 (another_thread_local): Now a member of K.
9208 (spin): Update. No longer K&R C.
9209
450ca57c
SW
92102010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9211
9212 * gdb.cp/koenig.cc: created class for testing member lookup.
9213 * gdb.cp/koenig.exp: Added test for member lookup.
9214
dbd492a3
JK
92152010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9216
9217 Fix false FAILs on sourcetree topdir directory containing "kill".
9218 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9219 source line matching regexp.
9220
8d4d924b
JK
92212010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9222
9223 * gdb.python/python.exp (set height 0, collect help from uiout)
9224 (verify help to uiout): New tests.
9225
8e64f2a0
JK
92262010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9227
9228 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9229 is_lp64_target to check 64bit target.
9230
4569eed2
JK
92312010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9232
9233 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9234 (test_ld) <powerpc64-*>: New.
9235
5e1617b1
DJ
92362010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9237
9238 * gdb.cp/templates.exp (test_template_args): Allow "struct".
9239
c767944b
DJ
92402010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9241
9242 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9243 (FunctionArg::method): New function.
9244 (empty, arg): New variables.
9245 (main): Call arg.method.
9246 * gdb.cp/templates.exp (test_template_args): New function.
9247 (do_tests): Call it.
9248
27d3a3fc
UW
92492010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9250
9251 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9252 of "next" to proceed over pthread_exit call.
9253
55b7ce7f
UW
92542010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9255
9256 * gdb.base/maint.exp: Avoid wildcards against potentially very long
9257 "maint print statistics" output to prevent expect timeouts.
9258
809df446
JK
92592010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9260
9261 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
9262 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9263 (test_float_rejected): ... here.
9264 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
9265 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9266 (test_float_rejected): ... here.
9267 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
9268 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9269 (test_float_rejected): ... here.
9270 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
9271 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9272 (test_float_rejected): ... here.
9273
8464be76
DJ
92742010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9275
9276 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
9277 before disabling hardware watchpoints.
9278 (test_inaccessible_watchpoint): Check that hardware watchpoints
9279 are used. Test for watchpoints on a constant address.
9280
14dba4b4
JK
92812010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9282
9283 * gdb.base/ui-redirect.exp: New file.
9284
3f3540e1 92852010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 9286 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
9287
9288 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
9289
0f254bb7
DE
92902010-08-31 Doug Evans <dje@google.com>
9291
9292 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
9293
03f17ccf
TT
92942010-08-30 Tom Tromey <tromey@redhat.com>
9295
9296 PR python/11792:
9297 * gdb.python/py-value.exp (test_subscript_regression): Add
9298 dynamic_type test.
9299
640617ad
DJ
93002010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
9301
9302 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
9303 instead of running to main. Do not test the main function.
9304 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
9305 Add new main.
9306
2ed91d1b
PA
93072010-08-26 Pedro Alves <pedro@codesourcery.com>
9308
9309 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
9310 one test.
9311
673bfd45
DE
93122010-08-24 Doug Evans <dje@google.com>
9313
9314 PR symtab/11942
9315 * gdb.dwarf2/dw4-sig-types.cc: New file.
9316 * gdb.dwarf2/dw4-sig-types.h: New file.
9317 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
9318 * gdb.dwarf2/dw4-sig-types.exp: New file.
9319
f9ffd4bb
TT
93202010-08-23 Tom Tromey <tromey@redhat.com>
9321
9322 PR python/11145:
9323 * gdb.python/py-value.c (Base, Derived): New types.
9324 (base): New global.
9325 * gdb.python/py-value.exp (test_subscript_regression): Add
9326 dynamic_cast test.
9327
d839c8a4
TT
93282010-08-23 Tom Tromey <tromey@redhat.com>
9329
9330 PR python/10676:
9331 * gdb.python/py-type.exp (test_fields): Add tests for type
9332 equality.
9333
702c2711
TT
93342010-08-23 Tom Tromey <tromey@redhat.com>
9335
9336 PR python/11915:
9337 * gdb.python/py-type.exp (test_fields): Add tests for array.
9338
832bafd3
KS
93392010-08-23 Keith Seitz <keiths@redhat.com>
9340
9341 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
9342 have any children. Create a new abbrev for it.
9343 Add missing terminal sequence to .debug_abbrev.
9344
c37bf528
KS
93452010-08-20 Keith Seitz <keiths@redhat.com>
9346
9347 PR symtab/11465:
9348 * gdb.dwarf2/pr11465.exp: New test.
9349 * gdb.dwarf2/pr11465.S: New file.
9350 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
9351 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
9352
4572cbac
TJB
93532010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
9354
9355 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
9356 registers. Update data sets with the new v2_double element in the
9357 VSX register union. Add vector_register3_vr data set for the AltiVec
9358 registers. Use gdb_test_no_output instead of send_gdb.
9359
e7fbb131
PA
93602010-08-19 Pedro Alves <pedro@codesourcery.com>
9361
9362 * gdb.python/py-shared.exp: New file, factored out from
9363 python.exp.
9364 * gdb.python/py-shared.c: New file.
9365 * gdb.python/py-shared-sl.c: New file.
9366 * gdb.python/python-1.c: New file.
9367 * gdb.python/python-sl.c: Delete.
9368 * gdb.python/python.c: Mention python-1.c.
9369 * gdb.python/python.exp: Move shared library tests to
9370 py-shared.exp.
9371 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
9372 (MISCELLANEOUS): New.
9373 (clean mostlyclean): Also remove $MISCELLANEOUS.
9374
d30f5e1f
DE
93752010-08-19 Doug Evans <dje@google.com>
9376
9377 PR exp/11926
9378 * gdb.base/printcmds.exp (test_float_accepted): New function.
9379 Move existing float tests there. Add tests for floats with suffixes.
9380 (test_float_rejected): New function.
9381 * gdb.java/jv-print.exp (test_float_accepted): New function.
9382 (test_float_rejected): New function.
9383 * gdb.objc/print.exp: New file.
9384 * gdb.pascal/print.exp: New file.
9385 * lib/objc.exp: New file.
9386
7b3fd859
PM
93872010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
9388
9389 * gdb.base/default.exp (info set): Avoid full buffer error and force
9390 reading up to final gdb prompt.
9391 (show): Likewise.
9392
c92817ce
TT
93932010-08-18 Tom Tromey <tromey@redhat.com>
9394
9395 PR symtab/11919:
9396 * gdb.base/completion.exp: Add test.
9397
f1208f9e
DE
93982010-08-18 Doug Evans <dje@google.com>
9399
9400 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
9401 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
9402 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
9403 Simplify, early exit if runto_main fails.
9404 * gdb.fortran/exprs.exp: load_lib fortran.exp.
9405 (set_lang_fortran): Moved to lib/fortran.exp.
9406 * gdb.fortran/types.exp: load_lib fortran.exp.
9407 (set_lang_fortran): Moved to lib/fortran.exp.
9408 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
9409 * gdb.java/jprint.exp (set_lang_java): Ditto.
9410 * gdb.java/jv-exp.exp: load_lib java.exp.
9411 If set_lang_java fails, issue a warning instead of failure to be
9412 consistent with other set_lang_foo uses.
9413 (set_lang_java): Moved to lib/java.exp.
9414 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
9415 If set_lang_java fails, issue a warning instead of failure to be
9416 consistent with other set_lang_foo uses.
9417 * gdb.pascal/types.exp: load_lib pascal.exp.
9418 (set_lang_pascal): Moved to lib/pascal.exp.
9419 * lib/fortran.exp: New file.
9420 * lib/java.exp (set_lang_java): New function.
9421 * lib/pascal.exp (set_lang_pascal): New function.
9422
2f06b485
YQ
94232010-08-18 Yao Qi <yao@codesourcery.com
9424
9425 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
9426 func_nofb_start and func_loopfb_start, so that address of functions
9427 is equal to these labels on Thumb.
9428
96e25403
YQ
94292010-08-18 Yao Qi <yao@codesourcery.com>
9430
9431 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
9432 to reflect latest c source file.
9433
36e6adc4
JK
94342010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9435
9436 * gdb.cp/infcall-dlopen.exp: New file.
9437 * gdb.cp/infcall-dlopen.cc: New file.
9438 * gdb.cp/infcall-dlopen-lib.cc: New file.
9439
f431efe5
PA
94402010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9441 Pedro Alves <pedro@codesourcery.com>
9442
9443 PR breakpoints/11371
9444
9445 * gdb.base/watch-cond-infcall.exp: New file.
9446 * gdb.base/watch-cond-infcall.c: New file.
9447
06a64a0b
TT
94482010-08-16 Tom Tromey <tromey@redhat.com>
9449
9450 * gdb.base/help.exp: Update.
9451 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
9452 watchpoint.
9453 (test_watch_location): New proc.
9454 (test_watchpoint_in_big_blob): Delete watchpoint.
9455 * gdb.base/watchpoint.c (func5): New function.
9456 (main): Call it.
9457
70ebf4ed
DE
94582010-08-16 Doug Evans <dje@google.com>
9459
9460 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
9461
ca5c20b6
PM
94622010-08-11 Phil Muldoon <pmuldoon@redhat.com>
9463
9464 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
9465 tests.
9466
7346b668
KW
94672010-08-11 Ken Werner <ken.werner@de.ibm.com>
9468
9469 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
9470 * gdb.base/gnu_vector.c: New File.
9471 * gdb.base/gnu_vector.exp: Likewise.
9472
cb2e07a6
PM
94732010-08-11 Phil Muldoon <pmuldoon@redhat.com>
9474
9475 * gdb.python/python.c: New File.
9476 * gdb.python/python-sl.c: New File.
9477 * gdb.python/python.exp: Test solib_address and decode_line
9478 * functions.
9479
5da1313b
JK
94802010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9481
9482 * gdb.python/python.exp (show height, set height 10)
9483 (verify pagination beforehand, verify pagination beforehand: q)
9484 (gdb.execute does not page, verify pagination afterwards)
9485 (verify pagination afterwards: q): New.
9486
49c3ccf7
DE
94872010-08-02 Doug Evans <dje@google.com>
9488
9489 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
9490 because of an older gcc, change test2
9491 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
9492 to unsupported.
9493
42c0c4f1
KH
94942010-07-30 Kazu Hirata <kazu@codesourcery.com>
9495
9496 * gdb.base/break-always.exp: Do not expect full paths to file
9497 names.
9498 * gdb.base/commands.exp: Likewise.
9499
d3765805
DE
95002010-07-30 Doug Evans <dje@google.com>
9501
c98ee71b
DE
9502 * gdb.cp/temargs.exp: For new tests that require newer gccs,
9503 xfail them when run with older gccs.
9504
fd961404
DE
9505 * lib/gdb.exp (build_executable): Forward "c++" option to
9506 get_compiler_info.
9507
999adef4
DE
9508 * gdb.python/py-type.exp (test_template): Mark as xfail tests
9509 "python print ttype.template_argument(1)" and
9510 "python print isinstance(ttype.template_argument(1), gdb.Value)"
9511 if using gcc 4.4 or earlier.
9512
d3765805
DE
9513 * gdb.base/valgrind-db-attach.exp: Use unique test name for
9514 attach-to-debugger handling.
9515
1276c759
JK
95162010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9517
9518 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
9519 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
9520 (main): Use copyreloc.
9521 * gdb.base/prelink.exp (split debug of executable)
9522 (.dynbss vs. .bss address shift): New tests.
9523
88caa9b9
PA
95242010-07-29 Pedro Alves <pedro@codesourcery.com>
9525
9526 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
9527 in gdb_test_multiple.
9528
c6f2ac43
PA
95292010-07-29 Pedro Alves <pedro@codesourcery.com>
9530
9531 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
9532 environment.
9533
326fd672
TT
95342010-07-28 Tom Tromey <tromey@redhat.com>
9535
9536 PR python/11060:
9537 * gdb.python/py-type.c (Temargs): New template.
9538 (temvar): New variable.
9539 * gdb.python/py-type.exp (test_template): New proc.
9540
3ce3b1ba
PA
95412010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
9542
9543 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
9544 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
9545
34eaf542
TT
95462010-07-28 Tom Tromey <tromey@redhat.com>
9547
9548 PR c++/9946:
9549 * gdb.cp/temargs.exp: New file.
9550 * gdb.cp/temargs.cc: New file.
9551
d41b819e
JK
95522010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9553
9554 * gdb.base/help.exp (help disassemble): Update the content.
9555
26ab7092
JK
95562010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9557
9558 * gdb.threads/ia64-sigill.exp: New file.
9559 * gdb.threads/ia64-sigill.c: New file.
9560
5283e9e1
TT
95612010-07-27 Tom Tromey <tromey@redhat.com>
9562
9563 * gdb.opt/inline-cmds.c (ATTR): New define.
9564 (func1): Use it.
9565 (func2): Likewise.
9566 (func3): Likewise.
9567 (outer_inline1): Likewise.
9568 (outer_inline2): Likewise.
9569 * gdb.opt/inline-bt.c (ATTR): New define.
9570 (func1): Use it.
9571 (func2): Likewise.
9572 * gdb.opt/inline-locals.c (ATTR): New define.
9573 (func1): Use it.
9574 (func2): Likewise.
9575
e992ef73
TT
95762010-07-27 Tom Tromey <tromey@redhat.com>
9577
9578 * gdb.stabs/gdb11479.c (hack): New function.
9579 (test): Use it.
9580 (test2): Use it.
9581 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9582 (int32_search_buf, int64_search_buf): No longer static.
9583 (x): Remove.
9584 * gdb.base/relocate.c (hack): New function.
9585
5374244e
PM
95862010-07-27 Phil Muldoon <pmuldoon@redhat.com>
9587
9588 * gdb.python/py-value.exp (test_inferior_function_call): New function.
9589 * gdb.python/py-value.c (func1): New function.
9590 (func2): Likewise.
9591
a99aee83
CV
95922010-07-26 Corinna Vinschen <vinschen@redhat.com>
9593
9594 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9595 as not to clash with .data section.
9596
a04ba985
JG
95972010-07-26 Jerome Guitton <guitton@adacore.com>
9598
9599 * gdb.base/code_elim.exp: New file.
9600 * gdb.base/code_elim1.c: New file.
9601 * gdb.base/code_elim2.c: New file.
9602
23bd0f7c
PA
96032010-07-21 Pedro Alves <pedro@codesourcery.com>
9604
9605 PR symtab/11827
9606
9607 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9608 (some_volatile_enum): New variable.
9609 * gdb.base/printcmds.exp (test_print_enums): New.
9610 <top level>: Call it.
9611
883df6dd
SW
96122010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
9613
9614 * gdb.cp/fpointer.cc: New test.
9615 * gdb.cp/fpointer.exp: New test.
9616
569b05a5
JK
96172010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9618
9619 * gdb.base/solib-nodir.exp: New file.
9620 * lib/gdb.exp (runto): New case for a GDB internal error.
9621
51d7d803
JK
96222010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9623 Ulrich Weigand <uweigand@de.ibm.com>
9624 Tom Tromey <tromey@redhat.com>
9625
9626 * gdb.base/charset-malloc.c: New file.
9627 * gdb.base/charset.c (malloc_stub): New prototype.
9628 (main): Call it instead of malloc itself.
9629 * gdb.base/charset.exp: Use only prepare_for_testing.
9630 (binfile): Remove the variable.
9631
c0edd9ed
JK
96322010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9633
9634 Make core files the process_stratum.
9635 * gdb.base/corefile.exp (run: load core again)
9636 (run: sanity check we see the core file, run: with core)
9637 (run: core file is cleared, attach: load core again)
9638 (attach: sanity check we see the core file, attach: with core)
9639 (attach: core file is cleared): New tests.
9640 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9641
3cbaedff
KW
96422010-07-14 Ken Werner <ken.werner@de.ibm.com>
9643
9644 * gdb.arch/altivec-abi.exp: New tests.
9645
91158a56
TT
96462010-07-13 Tom Tromey <tromey@redhat.com>
9647
9648 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9649 (main): Use it.
9650 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9651
0f5238ed
TT
96522010-07-13 Tom Tromey <tromey@redhat.com>
9653
9654 * gdb.base/label.exp: New file.
9655 * gdb.base/label.c: New file.
9656
add265ae
L
96572010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9658 H.J. Lu <hongjiu.lu@intel.com>
9659
9660 * lib/gdb.exp (is_ilp32_target): New.
9661 (is_lp64_target): Likewise.
9662
9663 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9664 target.
9665 * gdb.arch/amd64-disp-step.exp: Likewise.
9666 * gdb.arch/amd64-dword.exp: Likewise.
9667 * gdb.arch/amd64-i386-address.exp: Likewise.
9668 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 9669
add265ae
L
9670 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9671 target.
9672 * gdb.arch/i386-bp_permanent.exp: Likewise.
9673 * gdb.arch/i386-byte.exp: Likewise.
9674 * gdb.arch/i386-disp-step.exp: Likewise.
9675 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9676 * gdb.arch/i386-prologue.exp: Likewise.
9677 * gdb.arch/i386-size-overlap.exp: Likewise.
9678 * gdb.arch/i386-size.exp: Likewise.
9679 * gdb.arch/i386-sse.exp: Likewise.
9680 * gdb.arch/i386-unwind.exp: Likewise.
9681 * gdb.arch/i386-word.exp: Likewise.
9682
9683 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9684 test only when building 64-bit executables. Do not hard-code
9685 -m64 option.
9686
2dfb8c17
DE
96872010-07-07 Doug Evans <dje@google.com>
9688
9689 * lib/gdb.exp (gdb_test_list_exact): New function.
9690 * gdb.base/default.exp (show convenience): Call it, add tests for
9691 $_sdata = void, $_thread = 0.
9692
4e5799b6
JK
96932010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9694 Joel Brobecker <brobecker@adacore.com>
9695
9696 Fix re-run of PIE executable, PR shlibs/11776.
9697 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9698 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9699 and re-"run" of the inferior.
9700
1a219cc7
JK
97012010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9702 Joel Brobecker <brobecker@adacore.com>
9703
9704 Cope with missing /usr/sbin/prelink.
9705 * lib/prelink-support.exp (prelink_no):
9706 <result == 1 && $output is "no such file or directory">: New.
9707 (prelink_yes): Likewise. Return on failed prelink_no.
9708
5e3b36f8
JK
97092010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9710 Joel Brobecker <brobecker@adacore.com>
9711
9712 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9713 build_executable by build_executable_own_libs. Replace "prelink -R"
9714 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9715 change.
9716 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9717 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9718 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9719 Replace build_executable by build_executable_own_libs's function
9720 build_executable_own_libs.
9721 (prelinkNO): Create new stub to call prelink_no.
9722 (prelinkYES): Create new stub to call prelink_yes.
9723 (test_attach): Rename calls of copy to file_copy.
9724 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9725 (copy): Move to ...
9726 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9727 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9728 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9729 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9730 special flags by gdb_compile_shlib. Replace second gdb_compile by
9731 build_executable_own_libs. Replace "prelink -R" execution by a call of
9732 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
9733 a second call of prelink_yes. Replace restart commands by
9734 clean_restart.
9735 (prelink): Rename to ...
9736 (seen displacement message): ... this test. Extend its expectation
9737 strictness.
9738
86e4bafc
JK
97392010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9742 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9743 displacement message exactly once.
9744
3cd07d20
JK
97452010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9746 Joel Brobecker <brobecker@adacore.com>
9747
9748 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
9749 its restore after the <$relink_args != ""> loop. new comment.
9750
0a1e94c7
JK
97512010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9752 Joel Brobecker <brobecker@adacore.com>
9753
9754 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9755 code for it. New variable relink_args.
9756 (prelinkYES): Call prelinkNO.
9757 (test_attach): Accept new parameter relink_args. Re-prelink the binary
9758 in such case. Move the core code to ...
9759 (test_attach_gdb): ... a new function. Send GDB command "file".
9760 Extend expected "Attaching to " string.
9761
2f70bcfb
TT
97622010-07-02 Tom Tromey <tromey@redhat.com>
9763
9764 * gdb.base/bitops.exp: Remove extraneous "pass".
9765
a17ac5b0
TT
97662010-07-02 Ken Werner <ken.werner@de.ibm.com>
9767
9768 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9769
dc10affe
PA
97702010-07-01 Pedro Alves <pedro@codesourcery.com>
9771
d41c0fc8
PA
9772 * gdb.base/help.exp: Adjust expected output.
9773
97742010-07-01 Pedro Alves <pedro@codesourcery.com>
9775
9776 * gdb.base/help.exp: Adjust expected output.
dc10affe 9777
0a600c36
JK
97782010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9779
9780 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9781 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9782 c++/11702.
9783
37cc8bfe
JK
97842010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9785 Doug Evans <dje@google.com>
9786
9787 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9788 add .dynamic entry'.
9789
254e6b9e
DE
97902010-06-29 Doug Evans <dje@google.com>
9791
9792 Test PR c++/11702.
9793 * gdb.cp/m-static.exp: Add testcase.
9794 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9795
595939de 97962010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
9797 Tom Tromey <tromey@redhat.com>
9798 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
9799
9800 * gdb.python/py-inferior.c: New File.
9801 * gdb.python/py-infthread.c: New File.
9802 * gdb.python/py-inferior.exp: New File.
9803 * gdb.python/py-infthread.exp: New File.
9804
98751a41
JK
98052010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9806
9807 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9808 (ptype ::C::OtherFileClass typedefs): New.
9809 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9810 (C::OtherFileClass::cOtherFileClassVar2): New.
9811 (C::OtherFileClass::cOtherFileClassVar_use): Use also
9812 cOtherFileClassVar2.
9813 (C::cOtherFileType2, C::cOtherFileVar2): New.
9814 (C::cOtherFileVar_use): use also cOtherFileVar2.
9815 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9816
41f62f39
JK
98172010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9818
9819 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9820 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9821 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9822 (print ::C::cOtherFileVar)
9823 (whatis C::OtherFileClass::cOtherFileClassType)
9824 (whatis ::C::OtherFileClass::cOtherFileClassType)
9825 (print C::OtherFileClass::cOtherFileClassVar)
9826 (print ::cOtherFileClassVar)
9827 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9828 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9829 trailing content.
9830 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9831 (C::OtherFileClass::cOtherFileClassVar)
9832 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9833 (C::cOtherFileVar, C::cOtherFileVar_use): New.
9834
af53d231
JK
98352010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9836
9837 Test PR c++/11703 and PR gdb/1448.
9838 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9839 gdb/1448.
9840
9655fd1a
JK
98412010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9842
9843 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9844 (main) <rtti_data>: New.
9845 * gdb.cp/virtbase.exp (print rtti_data): New.
9846
824cc8dd
JK
98472010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9848 Joel Brobecker <brobecker@adacore.com>
9849
9850 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9851
6036c742
JK
98522010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9853
9854 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9855
de6a0421
DE
98562010-06-28 Doug Evans <dje@google.com>
9857
9858 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9859
b2dae948
DE
98602010-06-27 Doug Evans <dje@google.com>
9861
9862 * gdb.cp/m-static.exp: Update expected test output.
9863
0f3bb72e
PH
98642010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9865
889bf7c5
PA
9866 * gdb.gdb/selftest.exp: Adjust expected message for
9867 capturing start-up runtime.
0f3bb72e 9868
bc9f0842
TT
98692010-06-25 Tom Tromey <tromey@redhat.com>
9870
9871 PR python/10808:
9872 * gdb.python/python.exp: Add new tests.
9873
099ef718
SW
98742010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9875
9876 * gdb.cp/operator.cc: Created an import loop.
9877 * gdb.cp/operator.exp: Added testcase for import loop.
9878
5868a632
JK
98792010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9880
9881 Test PR python/11407.
9882 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9883 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9884 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9885 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9886 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9887 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9888 binfile. Call gdb_compile with clean_restart twice.
9889 (func_nofb print, func_nofb backtrace, func_loopfb print)
9890 (func_loopfb backtrace): New.
9891
af76db58
JK
98922010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9893
9894 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9895 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9896 by a hand made one.
9897 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9898 i?86 requirement. Remove variables srcfile and binfile. New variable
9899 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9900
f2c7657e
UW
99012010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9902
9903 * gdb.cell/dwarfaddr.exp: New file.
9904 * gdb.cell/dwarfaddr.S: New file.
9905
628fe4e4
JK
99062010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9907
9908 Test PR 9436.
9909 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9910
f1421989
HZ
99112010-06-24 Hui Zhu <teawater@gmail.com>
9912
9913 * gdb.base/eval.exp: New file.
9914
d03285ec
UW
99152010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9916
9917 * gdb.cell/fork.exp: New file.
9918 * gdb.cell/fork.c: Likewise.
9919 * gdb.cell/fork-spu.c: Likewise.
9920
41b2c92d
PM
99212010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9922
9923 * lib/gdb.exp (banned_variables_traced): New global variable.
9924 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9925 (gdb_init): Use `trace add variable' instead of obsolete
9926 `trace variable'.
9927
d5bc977f
DE
99282010-06-21 Doug Evans <dje@google.com>
9929
9930 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9931
d2ed6730
UW
99322010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9933
9934 * gdb.arch/spu-ls.exp: New file.
9935 * gdb.arch/spu-ls.c: Likewise.
9936
6aed2dbc
SS
99372010-06-18 Stan Shebs <stan@codesourcery.com>
9938
9939 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9940
e0756905
UW
99412010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9942
9943 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9944 * gdb.base/watch-cond.exp: Likewise.
9945 * gdb.python/py-breakpoint.exp: Likewise.
9946
d8053d4d
PA
99472010-06-18 Pedro Alves <pedro@codesourcery.com>
9948
9949 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9950 clean_restart, make sure every test has a distinct message, and
9951 that messages don't include the executable' full path.
9952
81ce510c
DE
99532010-06-17 Doug Evans <dje@google.com>
9954
9955 * gdb.arch/i386-size.exp: Updated expected output for
9956 DISASSEMBLY_OMIT_FNAME.
9957
65d79d4b
SDJ
99582010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9959 Sergio Durigan Junior <sergiodj@redhat.com>
9960
9961 * gdb.base/watch-notconst.c: New file.
9962 * gdb.base/watch-notconst.S: New file.
9963 * gdb.base/watch-notconst2.c: New file.
9964 * gdb.base/watch-notconst2.S: New file.
9965 * gdb.base/watch-notconst.exp: New file.
9966 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9967 (func4): Add operations on `global_ptr_ptr'.
9968 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9969 routine to test watchpoints created with a constant expression.
9970 (test_inaccessible_watchpoint): Include tests for watchpoints
9971 created with a constant expression.
9972
df0f4836
KB
99732010-06-14 Kevin Buettner <kevinb@redhat.com>
9974
9975 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9976 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9977 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9978 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9979 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9980 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9981 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9982 of `_start'.
9983
b769def5
UW
99842010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9985
9986 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9987 not supported on the target.
9988 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9989 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9990 * gdb.mi/mi-nsintrall.exp: Likewise.
9991 * gdb.mi/mi-nsmoribund.exp: Likewise.
9992 * gdb.mi/mi-nsthrexec.exp: Likewise.
9993
d914c394
SS
99942010-06-11 Stan Shebs <stan@codesourcery.com>
9995
9996 * gdb.base/permissions.exp: New file.
9997
99982010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
9999
10000 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10001 does not support ELF executable class.
10002
f3ce5b9c
UW
100032010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10004
10005 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10006
8e46892c
JK
100072010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10008
10009 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10010 (runto): Catch "The target does not support running in non-stop mode.".
10011
6cc55c64
MS
100122010-06-11 Michael Snyder <msnyder@vmware.com>
10013
10014 * gdb.base/setshow.exp (set language asm): Don't use
10015 gdb_test_no_output, fails on some targets.
10016
caddefa4
UW
100172010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10018
10019 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10020 * gdb.cp/pr9167.exp: Likewise.
10021
468b1aa7
UW
100222010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10023
10024 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10025
5c3552dc
UW
100262010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10027
10028 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10029
02e6fe6a
UW
100302010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10031
10032 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10033
0e03807e
TT
100342010-06-11 Tom Tromey <tromey@redhat.com>
10035
10036 PR gdb/9977, PR exp/11636::
10037 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10038 (pieces_test_f6): Update expected output.
10039
2bdf28a0
JK
100402010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10041
10042 * gdb.base/moribund-step.exp: New.
10043
f6978de9
MS
100442010-06-08 Michael Snyder <msnyder@vmware.com>
10045
10046 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 10047 * gdb.ada/boolean_expr.exp:
f6978de9
MS
10048 * gdb.ada/frame_args.exp: Ditto.
10049 * gdb.ada/lang_switch.exp: Ditto.
10050 * gdb.ada/ptype_arith_binop.exp: Ditto.
10051 * gdb.ada/ref_param.exp: Ditto.
10052 * gdb.ada/type_coercion.exp:Ditto.
10053
10054 * gdb.asm/asm-source.exp: Ditto.
10055
10056 * gdb.base/attach.exp: Ditto.
10057 * gdb.base/bitfields2.exp: Ditto.
10058 * gdb.base/call-signal-resume.exp: Ditto.
10059 * gdb.base/callfuncs.exp: Ditto.
10060 * gdb.base/commands.exp: Ditto.
10061 * gdb.base/dbx.exp: Ditto.
10062 * gdb.base/default.exp: Ditto.
10063 * gdb.base/dump.exp: Ditto.
10064 * gdb.base/exprs.exp: Ditto.
10065 * gdb.base/freebpcmd.exp: Ditto.
10066 * gdb.base/interrupt.exp: Ditto.
10067 * gdb.base/list.exp: Ditto.
10068 * gdb.base/long_long.exp: Ditto.
10069 * gdb.base/maint.exp: Ditto.
10070 * gdb.base/ptype.exp: Ditto.
10071 * gdb.base/return.exp: Ditto.
10072 * gdb.base/setshow.exp: Ditto.
10073 * gdb.base/sigbpt.exp: Ditto.
10074 * gdb.base/sigrepeat.exp: Ditto.
10075
10076 * gdb.cp/classes.exp: Ditto.
10077
10078 * gdb.dwarf2/dw2-restore.exp: Ditto.
10079
10080 * gdb.gdb/selftest.exp: Ditto.
10081
10082 * gdb.multi/base.exp: Ditto.
10083 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10084
10085 * gdb.python/py-block.exp: Ditto.
10086 * gdb.python/py-prettyprint.exp: Ditto.
10087 * gdb.python/py-template.exp: Ditto.
10088
10089 * gdb.server/ext-attach.exp: Ditto.
10090 * gdb.server/ext-run.exp: Ditto.
10091 * gdb.server/server-mon.exp: Ditto.
10092
10093 * gdb.threads/fork-thread-pending.exp: Ditto.
10094 * gdb.threads/hand-call-in-threads.exp: Ditto.
10095 * gdb.threads/interrupted-hand-call.exp: Ditto.
10096 * gdb.threads/linux-dp.exp: Ditto.
10097 * gdb.threads/manythreads.exp: Ditto.
10098 * gdb.threads/print-threads.exp: Ditto.
10099 * gdb.threads/pthreads.exp: Ditto.
10100 * gdb.threads/schedlock.exp: Ditto.
10101 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10102 * gdb.threads/threadapply.exp: Ditto.
10103
de7ff789
MS
101042010-06-08 Michael Snyder <msnyder@vmware.com>
10105
889bf7c5 10106 * gdb.ada/exec_changed.exp:
de7ff789
MS
10107 Use ".*" instead of "" as wildcard regexp.
10108
10109 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10110 * gdb.base/call-ar-st.exp: Ditto.
10111 * gdb.base/checkpoint.exp: Ditto.
10112 * gdb.base/default.exp: Ditto.
10113 * gdb.base/dump.exp: Ditto.
10114 * gdb.base/ending-run.exp: Ditto.
10115 * gdb.base/fileio.exp: Ditto.
10116 * gdb.base/miscexprs.exp: Ditto.
10117 * gdb.base/pointers.exp: Ditto.
10118 * gdb.base/readline.exp: Ditto.
10119 * gdb.base/reread.exp: Ditto.
10120 * gdb.base/restore.exp: Ditto.
10121 * gdb.base/shlib-call.exp: Ditto.
10122 * gdb.base/valgrind-db-attach.exp: Ditto.
10123 * gdb.base/volatile.exp: Ditto.
10124 * gdb.base/watchpoints.exp: Ditto.
10125
10126 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10127
10128 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10129 * gdb.python/py-value.exp: Ditto.
10130
10131 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10132 * gdb.trace/circ.exp: Ditto.
10133 * gdb.trace/collection.exp: Ditto.
10134 * gdb.trace/packetlen.exp: Ditto.
10135 * gdb.trace/passc-dyn.exp: Ditto.
10136 * gdb.trace/report.exp: Ditto.
10137 * gdb.trace/tfile.exp: Ditto.
10138 * gdb.trace/tfind.exp: Ditto.
10139 * gdb.trace/while-dyn.exp: Ditto.
10140
3bebe2f2
JK
101412010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10142
10143 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10144
5c631832
JK
101452010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10146
10147 Test PR 10640.
10148 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10149
4c3376c8
SW
101502010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10151
10152 * gdb.cp/koenig.exp: Test for ADL operators.
10153 * gdb.cp/koenig.cc: Added ADL operators.
10154 * gdb.cp/operator.exp: New test.
10155 * gdb.cp/operator.cc: New test.
10156
dc226d5a
MS
101572010-06-04 Michael Snyder <msnyder@vmware.com>
10158
dfb88a23
MS
10159 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10160 * gdb.base/pending.exp: Ditto.
f7ae76b3 10161
dc226d5a
MS
10162 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10163
967cf477
DE
101642010-06-04 Doug Evans <dje@google.com>
10165
10166 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10167 disabled printers.
10168 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10169 (enable_lookup_function): New function.
10170
eb801841
TT
101712010-06-04 Tom Tromey <tromey@redhat.com>
10172
10173 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10174 of hash and id.
10175
38979823
JK
101762010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10177
10178 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10179 newline.
10180 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10181 (empty verbose non-noisy clear, empty verbose noisy clear)
10182 (empty non-verbose noisy clear): Likewise.
10183
35ec993f
MS
101842010-06-03 Michael Snyder <msnyder@vmware.com>
10185
10186 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10187 * gdb.base/display.exp: Ditto.
10188 * gdb.base/find.exp: Ditto.
10189 * gdb.base/ifelse.exp: Ditto.
10190 * gdb.base/multi-forks.exp: Ditto.
10191 * gdb.base/recurse.exp: Ditto.
10192 * gdb.base/setshow.exp: Ditto.
10193 * gdb.base/value-double-free.exp: Ditto.
10194 * gdb.base/watch-vfork.exp: Ditto.
10195 * gdb.base/watch_thread_num.exp: Ditto.
10196 * gdb.base/watchpoint-solib.exp: Ditto.
10197 * gdb.base/watchpoint.exp: Ditto.
10198 * gdb.base/watchpoints.exp: Ditto.
10199
10200 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10201 * gdb.cp/overload.exp: Ditto.
10202 * gdb.cp/virtfunc.exp: Ditto.
10203
10204 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10205
889bf7c5 10206 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
10207 Replace gdb_test with gdb_test_no_output.
10208
889bf7c5 10209 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
10210 Replace gdb_test with gdb_test_no_output.
10211 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10212 * gdb.threads/watchthreads.exp: Ditto.
10213 * gdb.threads/watchthreads2.exp: Ditto.
10214
10215 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10216 * gdb.trace/tfind.exp: Ditto.
10217
c22decce
JB
102182010-06-03 Joel Brobecker <brobecker@adacore.com>
10219
10220 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10221 successful test if message is the empty string.
10222
fd5700c7
JK
102232010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10224
10225 * gdb.fortran/module.exp (stopped language detection): New test.
10226
f55ee35c
JK
102272010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10228
10229 Support DW_TAG_module as separate namespaces.
10230 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10231 gdb.fortran/library-module-lib.f90: New.
10232 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10233 (print i): Remove.
10234 (continue to breakpoint: i-is-1, print var_i value 1)
10235 (continue to breakpoint: i-is-2, print var_i value 2)
10236 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10237 (print var_d, print var_i value 14, ptype modmany, complete `modm)
10238 (complete `modmany, complete `modmany`, complete `modmany`var)
10239 (show language, setting breakpoint at module): New tests.
10240 * gdb.fortran/module.f90 (module mod): Remove.
10241 (module mod1, module mod2, module modmany, subroutine sub1)
10242 (subroutine sub2, program module): New.
10243
b8e8282f
JK
102442010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10245
10246 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10247 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
10248 * gdb.cp/anon-union.exp (pass): Rename to ...
10249 (print z 2): ... here.
b8e8282f 10250
019ebafc
MS
102512010-06-02 Michael Snyder <msnyder@vmware.com>
10252
e68d8fd4
MS
10253 * gdb.trace/actions.exp: Use gdb_test_no_output.
10254 * gdb.trace/circ.exp: Ditto.
10255 * gdb.trace/packetlen.exp: Ditto.
10256 * gdb.trace/save-trace.exp: Ditto.
10257 * gdb.trace/tracecmd.exp: Ditto.
10258 * gdb.trace/tsv.exp: Ditto.
10259
12b5d08a
MS
10260 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
10261 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
10262 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10263 * gdb.threads/manythreads.exp: Ditto.
10264 * gdb.threads/print-threads.exp: Ditto.
10265 * gdb.threads/pthreads.exp: Ditto.
10266 * gdb.threads/schedlock.exp: Ditto.
10267 * gdb.threads/staticthreads.exp: Ditto.
10268 * gdb.threads/thread-specific.exp: Ditto.
10269 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10270 * gdb.threads/threadapply.exp: Ditto.
10271 * gdb.threads/watchthreads.exp: Ditto.
10272 * gdb.threads/watchthreads2.exp: Ditto.
10273
89493308
MS
10274 * gdb.python/py-block.exp: Use gdb_test_no_output.
10275 * gdb.python/py-prettyprint.exp: Ditto.
10276 * gdb.python/py-template.exp: Ditto.
10277 * gdb.python/py-value.exp: Ditto.
10278
10279 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
10280 * gdb.reverse/watch-reverse.exp: Ditto.
10281
10282 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
10283 * gdb.server/ext-run.exp: Ditto.
10284
019ebafc
MS
10285 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
10286 * gdb.dwarf2/dw2-compressed.exp: Ditto.
10287 * gdb.dwarf2/dw2-intercu.exp: Ditto.
10288 * gdb.dwarf2/dw2-intermix.exp: Ditto.
10289 * gdb.dwarf2/dw2-producer.exp: Ditto.
10290 * gdb.dwarf2/mac-fileno.exp: Ditto.
10291
10292 * gdb.gdb/observer.exp: Use gdb_test_no_output.
10293 * gdb.gdb/selftest.exp: Ditto.
10294
10295 * gdb.multi/base.exp: Use gdb_test_no_output.
10296
10297 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
10298
3e0ca3a5
JK
102992010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10300
10301 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
10302
9db70545
MS
103032010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
10304
a8d52276
MS
10305 * gdb.cp/class2.exp: Use gdb_test_no_output.
10306 * gdb.cp/classes.exp: Ditto.
10307 * gdb.cp/extern-c.exp: Ditto.
10308 * gdb.cp/inherit.exp: Ditto.
10309 * gdb.cp/maint.exp: Ditto.
10310 * gdb.cp/mb-inline.exp: Ditto.
10311 * gdb.cp/mb-templates.exp: Ditto.
10312 * gdb.cp/method2.exp: Ditto.
10313 * gdb.cp/misc.exp: Ditto.
10314 * gdb.cp/ovldbreak.exp: Ditto.
10315 * gdb.cp/punctuator.exp: Ditto.
10316 * gdb.cp/templates.exp: Ditto.
10317 * gdb.cp/virtbase.exp: Ditto.
10318
889bf7c5 10319 * gdb.threads/attach-stopped.exp:
9db70545 10320 Replace uses of send_gdb / gdb_expect.
889bf7c5 10321 * gdb.threads/attachstop-mt.exp:
9db70545 10322 Replace uses of send_gdb / gdb_expect.
889bf7c5 10323 * gdb.threads/gcore-thread.exp:
9db70545 10324 Replace uses of send_gdb / gdb_expect.
889bf7c5 10325 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
10326 Replace uses of send_gdb / gdb_expect.
10327 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10328 * gdb.threads/print-threads.exp:
9db70545
MS
10329 Replace uses of send_gdb / gdb_expect.
10330 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
10331 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
10332 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
10333
10334 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
10335 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
10336 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
10337 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
10338 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
10339 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
10340 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
10341 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
10342 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
10343 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
10344 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
10345
359cc68c
JK
103462010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10347
10348 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
10349
7d3fe98e
SW
103502010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
10351
10352 * gdb.cp/koenig.exp: Added new test case.
10353 * gdb.cp/koenig.cc: Ditto.
10354
27d3a1a2
MS
103552010-06-01 Michael Snyder <msnyder@vmware.com>
10356
10357 * gdb.base/arithmet.exp: Use gdb_test_no_output.
10358 * gdb.base/arrayidx.exp: Ditto.
10359 * gdb.base/attach.exp: Ditto.
10360 * gdb.base/auxv.exp: Ditto.
10361 * gdb.base/bigcre.exp: Ditto.
10362 * gdb.base/break-always.exp: Ditto.
10363 * gdb.base/break-interp.exp: Ditto.
10364 * gdb.base/break.exp: Ditto.
10365 * gdb.base/breakpoint-shadow.exp: Ditto.
10366 * gdb.base/call-ar-st.exp: Ditto.
10367 * gdb.base/call-sc.exp: Ditto.
10368 * gdb.base/call-signal-resume.exp: Ditto.
10369 * gdb.base/callfuncs.exp: Ditto.
10370 * gdb.base/catch-syscall.exp: Ditto.
10371 * gdb.base/charset.exp: Ditto.
10372 * gdb.base/code-expr.exp: Ditto.
10373 * gdb.base/commands.exp: Ditto.
10374 * gdb.base/cond-expr.exp: Ditto.
10375 * gdb.base/condbreak.exp: Ditto.
10376 * gdb.base/cursal.exp: Ditto.
10377 * gdb.base/cvexpr.exp: Ditto.
10378 * gdb.base/default.exp: Ditto.
10379 * gdb.base/del.exp: Ditto.
10380 * gdb.base/detach.exp: Ditto.
10381 * gdb.base/display.exp: Ditto.
10382 * gdb.base/ena-dis-br.exp: Ditto.
10383 * gdb.base/eval-skip.exp: Ditto.
10384 * gdb.base/foll-fork.exp: Ditto.
10385 * gdb.base/foll-vfork.exp: Ditto.
10386 * gdb.base/frame-args.exp: Ditto.
10387 * gdb.base/funcargs.exp: Ditto.
10388 * gdb.base/gcore-buffer-overflow.exp: Ditto.
10389 * gdb.base/gdbvars.exp: Ditto.
10390 * gdb.base/help.exp: Ditto.
10391 * gdb.base/ifelse.exp: Ditto.
10392 * gdb.base/included.exp: Ditto.
10393 * gdb.base/list.exp: Ditto.
10394 * gdb.base/macscp.exp: Ditto.
10395 * gdb.base/maint.exp: Ditto.
10396 * gdb.base/multi-fork.exp: Ditto.
10397 * gdb.base/overlays.exp: Ditto.
10398 * gdb.base/page.exp: Ditto.
10399 * gdb.base/pending.exp: Ditto.
10400 * gdb.base/pointers.exp: Ditto.
10401 * gdb.base/pr11022.exp: Ditto.
10402 * gdb.base/prelink.exp: Ditto.
10403 * gdb.base/printcmds.exp: Ditto.
10404 * gdb.base/psymtab.exp: Ditto.
10405 * gdb.base/randomize.exp: Ditto.
10406 * gdb.base/relational.exp: Ditto.
10407 * gdb.base/relocate.exp: Ditto.
10408 * gdb.base/remote.exp: Ditto.
10409 * gdb.base/sepdebug.exp: Ditto.
10410 * gdb.base/set-lang-auto.exp: Ditto.
10411 * gdb.base/setshow.exp: Ditto.
10412 * gdb.base/setvar.exp: Ditto.
10413 * gdb.base/signals.exp: Ditto.
10414 * gdb.base/signull.exp: Ditto.
10415 * gdb.base/sigstep.exp: Ditto.
10416 * gdb.base/sizeof.exp: Ditto.
10417 * gdb.base/solib-disc.exp: Ditto.
10418 * gdb.base/store.exp: Ditto.
10419 * gdb.base/structs.exp: Ditto.
10420 * gdb.base/structs2.exp: Ditto.
10421 * gdb.base/subst.exp: Ditto.
10422 * gdb.base/term.exp: Ditto.
10423 * gdb.base/trace-commands.exp: Ditto.
10424 * gdb.base/unwindonsignal.exp: Ditto.
10425 * gdb.base/valgrind-db-attach.exp: Ditto.
10426 * gdb.base/varargs.exp: Ditto.
10427 * gdb.base/watch-cond.exp: Ditto.
10428 * gdb.base/watch_thread_num.exp: Ditto.
10429 * gdb.base/watchpoint-cond-gone.exp: Ditto.
10430 * gdb.base/watchpoint.exp: Ditto.
10431 * gdb.base/whatis-exp.exp: Ditto.
10432
f8d3bf8f
MS
104332010-06-01 Michael Snyder <msnyder@vmware.com>
10434
10435 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
10436 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
10437 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
10438 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
10439 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
10440 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
10441 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
10442 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
10443 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
10444 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
10445 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
10446 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
10447 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
10448 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
10449 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
10450
3f9e0d32
JK
104512010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10452
10453 * gdb.base/commands.exp (begin commands on watch): Remove excessive
10454 trailing newline.
10455 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
10456 * gdb.java/jmisc.exp (p *args\n): Rename to ...
10457 (p *args): ... here and remove excessive trailing newline.
10458
f629457d
JB
104592010-05-31 Joel Brobecker <brobecker@adacore.com>
10460
10461 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
10462
09eef106
JK
104632010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10464
10465 Accept the new Linux kernel "t (tracing stop)" string.
10466 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
10467 Update comment.
10468 (state_wait) <T (tracing stop)>: New.
10469 (main): Update the state_wait expect string.
10470
94f31136
PA
104712010-05-28 Pedro Alves <pedro@codesourcery.com>
10472
10473 * limits.c, limits.exp: Delete files.
10474 * Makefile.in (clean mostlyclean): Adjust.
10475 * tracecmd.exp: Adjust.
10476
096554ab
JK
104772010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10478
10479 * gdb.base/tui-layout.exp: New.
10480
27d3a1a2 104812010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 10482
889bf7c5 10483 * gdb.reverse/break-precsave.exp:
bcd2dc50 10484 Replace uses of send_gdb / gdb_expect.
889bf7c5 10485 * gdb.reverse/break-reverse.exp:
bcd2dc50 10486 Replace uses of send_gdb / gdb_expect.
889bf7c5 10487 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 10488 Replace uses of send_gdb / gdb_expect.
889bf7c5 10489 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 10490 Replace uses of send_gdb / gdb_expect.
889bf7c5 10491 * gdb.reverse/finish-precsave.exp:
bcd2dc50 10492 Replace uses of send_gdb / gdb_expect.
889bf7c5 10493 * gdb.reverse/finish-reverse.exp:
bcd2dc50 10494 Replace uses of send_gdb / gdb_expect.
889bf7c5 10495 * gdb.reverse/i386-precsave.exp:
bcd2dc50 10496 Replace uses of send_gdb / gdb_expect.
889bf7c5 10497 * gdb.reverse/i386-reverse.exp:
bcd2dc50 10498 Replace uses of send_gdb / gdb_expect.
889bf7c5 10499 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 10500 Replace uses of send_gdb / gdb_expect.
889bf7c5 10501 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 10502 Replace uses of send_gdb / gdb_expect.
889bf7c5 10503 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 10504 Replace uses of send_gdb / gdb_expect.
889bf7c5 10505 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 10506 Replace uses of send_gdb / gdb_expect.
889bf7c5 10507 * gdb.reverse/machinestate.exp:
bcd2dc50 10508 Replace uses of send_gdb / gdb_expect.
889bf7c5 10509 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 10510 Replace uses of send_gdb / gdb_expect.
889bf7c5 10511 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 10512 Replace uses of send_gdb / gdb_expect.
889bf7c5 10513 * gdb.reverse/solib-precsave.exp:
bcd2dc50 10514 Replace uses of send_gdb / gdb_expect.
889bf7c5 10515 * gdb.reverse/solib-reverse.exp:
bcd2dc50 10516 Replace uses of send_gdb / gdb_expect.
889bf7c5 10517 * gdb.reverse/step-precsave.exp:
bcd2dc50 10518 Replace uses of send_gdb / gdb_expect.
889bf7c5 10519 * gdb.reverse/step-reverse.exp:
bcd2dc50 10520 Replace uses of send_gdb / gdb_expect.
889bf7c5 10521 * gdb.reverse/until-precsave.exp:
bcd2dc50 10522 Replace uses of send_gdb / gdb_expect.
889bf7c5 10523 * gdb.reverse/until-reverse.exp:
bcd2dc50 10524 Replace uses of send_gdb / gdb_expect.
889bf7c5 10525 * gdb.reverse/watch-precsave.exp:
bcd2dc50 10526 Replace uses of send_gdb / gdb_expect.
889bf7c5 10527 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
10528 Replace uses of send_gdb / gdb_expect.
10529
3def43e0
JK
105302010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10531
10532 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
10533 excessive newline.
10534
27d3a1a2 105352010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
10536
10537 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
10538 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
10539 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
10540 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
10541 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
10542 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
10543 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
10544 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
10545 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
10546 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
10547 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
10548 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
10549 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
10550 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
10551 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
10552 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
10553 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
10554 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
10555 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 10556
27d3a1a2 105572010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 10558
22454424
MS
10559 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
10560 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
10561
10562 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
10563 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
10564 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
10565
889bf7c5 10566 * gdb.reverse/consecutive-reverse.exp:
22454424 10567 Replace uses of send_gdb / gdb_expect.
889bf7c5 10568 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
10569 Replace uses of send_gdb / gdb_expect.
10570
10571 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10572 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10573 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10574 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
10575 Replace uses of send_gdb / gdb_expect.
10576 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10577 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10578 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10579 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10580 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10581 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10582 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10583 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10584 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
10585
105862010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 10587
22454424 10588 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10589
22454424 10590 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10591
22454424
MS
10592 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10593 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10594 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10595 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10596 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10597 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10598 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10599 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10600 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10601
6e5f2c59
TT
106022010-05-25 Tom Tromey <tromey@redhat.com>
10603
10604 * gdb.base/macscp.exp: Add missing space after setup_kfail.
10605
bbc8b958
TT
106062010-05-25 Tom Tromey <tromey@redhat.com>
10607
10608 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10609 argument order.
10610 * gdb.base/macscp.exp: Fix setup_kfail argument order.
10611 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10612 order.
10613 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10614 order.
10615 * gdb.base/call-sc.exp (setup_kfails): Remove.
10616 (setup_compiler_kfails): Remove.
10617 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10618 argument order.
10619 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10620 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10621 (advancei): Fix setup_kfail argument order.
10622 * gdb.base/radix.exp: Fix setup_kfail argument order.
10623 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10624 order.
10625 * gdb.base/structs.exp (setup_kfails): Remove.
10626 (setup_compiler_kfails): Fix setup_kfail argument order.
10627 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10628 order.
10629 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10630 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10631 setup_kfail argument order.
10632 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10633
83d1babf
TT
106342010-05-25 Tom Tromey <tromey@redhat.com>
10635
10636 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10637
6acb16a2
MS
106382010-05-25 Michael Snyder <msnyder@vmware.com>
10639
10640 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10641 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10642 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10643 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10644 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10645 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10646 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10647 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10648 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
10649 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10650 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10651 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10652 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10653 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10654 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10655 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10656 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10657 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10658 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10659 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10660 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10661 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10662 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
10663 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10664 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10665 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10666 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10667 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10668 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10669 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10670 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10671 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10672 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10673 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10674 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10675 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10676 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10677 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10678 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10679 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10680 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10681 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10682 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10683 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10684 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10685 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10686 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 10687 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10688
106892010-05-25 Doug Evans <dje@google.com>
10690
10691 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10692 gdb.string_to_argv.
ad3986f0 10693
d3b1e874
TT
106942010-05-21 Tom Tromey <tromey@redhat.com>
10695
10696 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10697 Call it.
10698 * gdb.dwarf2/pieces.S: Update.
10699 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10700
cb826367
TT
107012010-05-21 Tom Tromey <tromey@redhat.com>
10702
10703 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10704 Call it.
10705 * gdb.dwarf2/pieces.c (struct C): New.
10706 (f6): New function.
10707 * gdb.dwarf2/pieces.S: Replace.
10708
74de6778
TT
107092010-05-21 Tom Tromey <tromey@redhat.com>
10710
10711 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10712 Call it.
10713
afd74c5f
TT
107142010-05-21 Tom Tromey <tromey@redhat.com>
10715
10716 * gdb.dwarf2.pieces.exp: New file.
10717 * gdb.dwarf2.pieces.S: New file.
10718 * gdb.dwarf2.pieces.c: New file.
10719
a7b75dfd 107202010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10721 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
10722
10723 * lib/gdb.exp (gdb_test_no_output): New function.
10724 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10725 when testing commands that should produce no output.
10726
c81c812a
JB
107272010-05-17 Joel Brobecker <brobecker@adacore.com>
10728
10729 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10730 parameter that we want to watch being a constant.
10731
0cce5bd9
JB
107322010-05-17 Joel Brobecker <brobecker@adacore.com>
10733
10734 * gdb.ada/cond_lang: New testcase.
10735
47050449
JB
107362010-05-17 Joel Brobecker <brobecker@adacore.com>
10737
10738 * lib/gdb.exp (banned_variables): New variable/constant.
10739 (gdb_init): Add write trace on variables listed in banned_variables.
10740 (gdb_finish): Remove write traces on variables listed in
10741 banned_variables.
10742
77c01586
JB
107432010-05-17 Joel Brobecker <brobecker@adacore.com>
10744
10745 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10746 * gdb.cp/koenig.exp: Likewise.
10747
88d4aea7
PM
107482010-05-14 Phil Muldoon <pmuldoon@redhat.com>
10749
889bf7c5 10750 PR python/11482
88d4aea7
PM
10751
10752 * gdb.python/py-value.exp (test_value_hash): New function.
10753
f5a010c0
PM
107542010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
10755
10756 PR exp/11530.
10757 * gdb.base/gdb11530.c: New file.
10758 * gdb.base/gdb11530.exp: New file.
10759
8ef4892f
JK
107602010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10761
10762 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10763 * gdb.dwarf2/dw2-modula2-self-type.S: New.
10764
7322dca9
SW
107652010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
10766
10767 * gdb.cp/koenig.exp: New test.
10768 * gdb.cp/koenig.cc: New test program.
10769
02e7ea18
JB
107702010-05-05 Joel Brobecker <brobecker@adacore.com>
10771
10772 Remove the use of prms_id and bug_id throughout the testsuite.
10773
e1c34c5d
PM
107742010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
10775
10776 PR exp/11349.
10777 * testsuite/gdb.cp/ref-types.exp: Add test to examine
10778 use a reference local variable.
10779
8e1d0c49
JK
107802010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10781
10782 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10783 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
10784 variable different_dir. Move debugfile into a full directory pathname
10785 under DIFFERENT_DIR.
10786 * lib/gdb.exp (separate_debug_filename): Remove.
10787 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
10788 variable debug_dir and mkdir of it. Update function comments.
10789
e66408ed
PA
107902010-04-29 Pedro Alves <pedro@codesourcery.com>
10791
10792 PR gdb/11557
10793
10794 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10795 files.
10796
d7b32ed3
PM
107972010-04-29 Phil Muldoon <pmuldoon@redhat.com>
10798
889bf7c5 10799 * gdb.python/py-param.exp: New File.
d7b32ed3 10800
6aecb9c2
JB
108012010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
10802
10803 * gdb.base/default.exp: Fix "set language" test.
10804
bdf92a1c
PM
108052010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
10806
10807 PR breakpoints/11531.
10808 * gdb.base/gdb11531.c: New file.
10809 * gdb.base/gdb11531.exp: New file.
10810
3f172e24
TT
108112010-04-26 Tom Tromey <tromey@redhat.com>
10812
10813 * gdb.base/completion.exp: Add tests for completion and deprecated
10814 commands.
10815
64af4c92
JK
108162010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10817
10818 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10819 (print /x char_array): Escape curly brackets.
10820
492928e4
JK
108212010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10822
10823 Fix deadlock on looped list of loaded shared objects.
10824 * gdb.base/solib-corrupted.exp: New.
10825
66d09542
DE
108262010-04-23 Doug Evans <dje@google.com>
10827
10828 * gdb.python/py-section-script.c: New file.
10829 * gdb.python/py-section-script.exp: New file.
10830 * gdb.python/py-section-script.py: New file.
10831
8bd10a10
CM
108322010-04-20 Chris Moller <cmoller@redhat.com>
10833
10834 PR 10179
10835
10836 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10837 * gdb.base/pr10179-a.c:
10838 * gdb.base/pr10179-b.c:
10839 * gdb.base/pr10179.exp: New files.
10840
c0201579
JK
108412010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10842
10843 Fix crashes on dangling display expressions.
10844 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10845 is SEP.
10846 (lib_flags): Remove the "debug" keyword.
10847 (libsepdebug): New variable for iterating new loop.
10848 (save_pf_prefix): New variable wrapping the loop.
10849 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10850 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10851
793b0ff8
PM
108522010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10853
10854 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10855
097f51f7
PM
108562010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10857
10858 PR stabs/11479.
10859 * gdb.stabs/gdb11479.exp: New file.
10860 * gdb.stabs/gdb11479.c: New file.
10861
9a22f0d0
PM
108622010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10863
10864 * gdb.base/charset.c (Strin16, String32): New variables.
10865 * gdb.base/charset.exp (gdb_test): Test correct display
10866 of 16 or 32 bit strings.
10867
108682010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
10869
10870 PR 9167
10871 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10872 * gdb.cp/pr9167.cc: New file.
10873 * gdb.cp/pr9167.exp: New file.
10874
10875
6e354e5e
PM
108762010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10877
10878 PR pascal/11492.
10879 * gdb.pascal/gdb11492.pas: New file.
10880 * gdb.pascal/gdb11492.exp: New file.
10881
be942545
JB
108822010-04-20 Joel Brobecker <brobecker@adacore.com>
10883
1667e6e3 10884 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 10885
0c3acc09
JB
108862010-04-20 Joel Brobecker <brobecker@adacore.com>
10887
10888 * gdb.ada/dyn_loc: New testcase.
10889
ec31cde5
CM
108902010-04-20 Chris Moller <cmoller@redhat.com>
10891
10892 PR 10867
889bf7c5 10893
ec31cde5
CM
10894 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10895 * gdb.cp/pr10687.cc: New file.
10896 * gdb.cp/pr10687.exp: New file.
10897
10898
ce4b0682
SDJ
108992010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10900 Sergio Durigan Junior <sergiodj@redhat.com>
10901
10902 * gdb.fortran/logical.exp: New testcase.
10903 * gdb.fortran/logical.f90: New file.
10904
3436961f
DE
109052010-04-19 Doug Evans <dje@google.com>
10906
10907 * gdb.base/help.exp (help source): Update expected output.
10908
4d836c09
JK
109092010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10910
10911 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10912 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10913 gdb_exit and return.
10914 (executable): New variable.
10915 (binfile): Use it.
10916
6149aea9
PA
109172010-04-19 Pedro Alves <pedro@codesourcery.com>
10918
10919 PR breakpoints/8554.
10920
10921 * gdb.trace/save-trace.exp: Adjust.
10922
ed41462c
L
109232010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10924
10925 PR corefiles/11511
10926 * gdb.arch/system-gcore.exp: New.
10927 * gdb.arch/gcore.c: Likewise.
10928
3f7b2faa
DE
109292010-04-15 Doug Evans <dje@google.com>
10930
fa33c3cd
DE
10931 * gdb.python/py-progspace.c: New file.
10932 * gdb.python/py-progspace.exp: New file.
10933
3f7b2faa
DE
10934 * gdb.base/source.exp: Add tests for "source -s".
10935
79f283fe
PM
109362010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10937
10938 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10939 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10940 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10941 * gdb.python/py-mi.exp: New test for to_string returning None.
10942
fc8eb08a
PM
109432010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10944
10945 * gdb.python/py-breakpoint.c: Make result global.
10946
26e197f6
JK
109472010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10948
10949 Fix non-GNU make compatibility.
10950 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10951
adc36818
PM
109522010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10953
10954 * gdb.python/py-breakpoint.exp: New File.
10955 * gdb.python/py-breakpoint.C: Ditto.
10956
64e17368
SS
109572010-04-08 Stan Shebs <stan@codesourcery.com>
10958
10959 * gdb.trace/actions.exp: Clear default-collect.
10960 * gdb.trace/save-trace.exp: Clear default-collect.
10961
fff5cc64
PM
109622010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10963
10964 * gdb.python/py-value: Add null string variable.
10965 (test_lazy_string): Test zero length, NULL address lazy
10966 strings.
10967
a055a187
L
109682010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10969
10970 * gdb.arch/i386-avx.c: New.
10971 * gdb.arch/i386-avx.exp: Likewise.
10972
10973 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10974
96e39866
DE
109752010-04-06 Doug Evans <dje@google.com>
10976
10977 * gdb.base/source-test.gdb: New file.
10978 * gdb.base/source.exp: Test source -v.
10979
5984a431
UW
109802010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10981
10982 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10983
ec8a089a
PM
109842010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10985
10986 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10987 within one line, unless it is followed by a double quote.
10988 * gdb.stabs/hppa.sed: Idem.
10989 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
10990 * gdb.stabs/weird.exp: Check for correct parsing of
10991 char and string constants.
ec8a089a
PM
10992 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10993 in .stabs to .stabx substitution.
10994
fce3c1f0
SS
109952010-04-05 Stan Shebs <stan@codesourcery.com>
10996
10997 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10998 constant global.
10999 * gdb.trace/tfile.exp: Try to print them.
11000
d77f58be
SS
110012010-04-04 Stan Shebs <stan@codesourcery.com>
11002
11003 * gdb.base/completion.exp: Update for new "info watchpoints".
11004 * gdb.base/default.exp: Ditto.
11005 * gdb.base/help.exp: Ditto.
11006 * gdb.base/watchpoint.exp: Ditto.
11007 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 11008
af54718e
SS
110092010-04-04 Stan Shebs <stan@codesourcery.com>
11010
11011 * gdb.trace/tfile.exp: Sharpen tfind test.
11012
74d1f91e
JK
110132010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11014
11015 * gdb.base/break-entry.exp: New.
11016
eb8e76db 110172010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 11018 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
11019
11020 * gdb.reverse/i386-sse-reverse.exp: New file.
11021 * gdb.reverse/i386-sse-reverse.c: New file.
11022
bf65cad8
PA
110232010-04-02 Pedro Alves <pedro@codesourcery.com>
11024
11025 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11026
fff87407
SS
110272010-04-01 Stan Shebs <stan@codesourcery.com>
11028
11029 * gdb.trace/actions.exp: Tweak expected output.
11030 * gdb.trace/while-stepping.exp: Tweak expected output.
11031
fe01d668
L
110322010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11033
11034 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11035
86b17b60
PA
110362010-04-01 Pedro Alves <pedro@codesourcery.com>
11037
11038 * gdb.base/commands.exp: Adjust.
11039 * gdb.cp/extern-c.exp: Adjust.
11040
2c58c0a9
PA
110412010-04-01 Pedro Alves <pedro@codesourcery.com>
11042
11043 * gdb.trace/collection.c (local_test_func): Define a local struct,
11044 and instanciate it.
11045
0db9b91c
PA
110462010-04-01 Pedro Alves <pedro@codesourcery.com>
11047
11048 * gdb.trace/collection.exp (gdb_collect_args_test)
11049 (gdb_collect_argarray_test): XFAIL the tests that assume the
11050 argarray argument's elements are collected.
11051
8072405b
JK
110522010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11053
11054 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11055 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11056
8bf6485c
SS
110572010-03-31 Stan Shebs <stan@codesourcery.com>
11058
11059 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11060 and tracepoint conditionals.
11061 (gdb_verify_tracepoints): Delete unused return.
11062
fd7f724a
KS
110632010-03-26 Keith Seitz <keiths@redhat.com>
11064
11065 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11066 appear in the output before main.
11067 Remove KFAIL for gdb/2215 aka bz 9320.
11068
8d9e7719
DE
110692010-03-30 Doug Evans <dje@google.com>
11070
0906dd0b
DE
11071 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11072 by dejagnu.
11073 * gdb.arch/amd64-dword.exp: Ditto.
11074
8d9e7719
DE
11075 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11076 match.
11077 (break printf): Ditto.
11078
1da644f0
SW
110792010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11080
11081 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11082 gcc < 4.4.
11083 * gdb.cp/shadow.exp: Ditto.
11084
a8121990
PA
110852010-03-29 Pedro Alves <pedro@codesourcery.com>
11086
11087 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11088 "tstart" is silent.
11089
6e79d367
PA
110902010-03-29 Pedro Alves <pedro@codesourcery.com>
11091
11092 * gdb.trace/collection.exp (executable): New.
11093 (binfile): Use it.
11094 (fpreg, spreg, pcreg): New.
11095 (test_register): Use gdb_test_multiple. Pass /x to print.
11096 (prepare_for_trace_test): New.
11097 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11098 (gdb_collect_args_test, gdb_collect_argstruct_test)
11099 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11100 prepare_for_trace_test.
11101 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11102 fpreg, spreg and pcreg.
11103 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11104 prepare_for_trace_test.
11105 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11106 try to detect tracing support here. Don't set breakpoints at
11107 `begin' or `end' here.
11108 <global scope>: Use clean_restart. Run to main before checking
11109 for tracing support. Check for for tracing support here.
11110
09248348
JK
111112010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11112
11113 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11114 " as $displacement" to "seen displacement message".
11115
d350db38
PA
111162010-03-28 Pedro Alves <pedro@codesourcery.com>
11117
11118 * gdb.trace/while-dyn.exp (executable): New variable.
11119 (binfile): Use it.
11120 (test_while_stepping): New function. Move most tests here. Call
11121 it once for each of the while-stepping, stepping and ws aliases.
11122
907af001
UW
111232010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11124
11125 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11126 that do not provide the tagless_struct type name at all.
11127 (test_print_anon_union): Do not check value of uninitialized
11128 union member. Do not use cp_test_ptype_class, so we can accept
11129 "long" as well as "long int".
11130
610197fd
PA
111312010-03-26 Pedro Alves <pedro@codesourcery.com>
11132
11133 * gdb.trace/tfile.c (tohex, bin2hex): New.
11134 (write_error_trace_file): Hexify error description.
11135
6c28cbf2
SS
111362010-03-25 Stan Shebs <stan@codesourcery.com>
11137
11138 * gdb.trace/tfile.c: Generate an additional trace file, improve
11139 portability.
11140 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11141 files in a better way.
11142
e62b8c7e
KS
111432010-03-25 Keith Seitz <keiths@redhat.com>
11144
11145 * gdb.java/jprint.exp: XFAIL printing of static class members
11146 because of GCC debuginfo problem.
11147
82ccf5a5
JK
111482010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11149
11150 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11151
293e2f9e
DJ
111522010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11153
11154 * gdb.base/completion.exp: Allow long instead of long int.
11155 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11156 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11157 variable p.
11158 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11159 * gdb.base/pointers.exp: Allow long instead of long int.
11160 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11161 * gdb.base/step-line.exp: Allow a directory before the source file name.
11162
95a42b64
TT
111632010-03-24 Tom Tromey <tromey@redhat.com>
11164
11165 PR breakpoints/9352:
11166 * gdb.base/default.exp: Update.
11167 * gdb.base/commands.exp: Update.
11168 * gdb.cp/extern-c.exp: Test setting commands on multiple
11169 breakpoints at once.
11170
2390201f
DJ
111712010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11172
11173 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11174 if gdb,nosignals.
11175 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11176 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11177 exited".
11178
8c9a6790
SS
111792010-03-24 Stan Shebs <stan@codesourcery.com>
11180
11181 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11182
a6c727b2
DJ
111832010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11184
11185 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11186 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11187 argument. Handle "short" and "long".
11188 (Top level): Pass overprototyped output for old_fptr and xptr.
11189
4dfd5423
PA
111902010-03-23 Pedro Alves <pedro@codesourcery.com>
11191
11192 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11193 format strings and add casts to avoid compiler warnings.
11194
111952010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
11196
11197 * lib/trace-support.exp (gdb_trace_setactions):
11198 Don't expect whitespace after ">" prompt.
11199 * gdb.trace/actions.exp: Adjust for output changes.
11200 * gdb.trace/while-stepping.exp: Likewise.
11201
c847d045
JK
112022010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11203
11204 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11205 and r157645).
11206
5f717f1d
JK
112072010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11208
11209 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11210 New.
11211
7d6d51d5
DJ
112122010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11213
11214 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11215 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11216
3b11a015
SS
112172010-03-19 Stan Shebs <stan@codesourcery.com>
11218
11219 * gdb.trace/ax.exp: New file.
11220
d7d158ed
DE
112212010-03-19 Doug Evans <dje@google.com>
11222
6bb85cd1
DE
11223 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11224 output from gcc.
11225
d7d158ed
DE
11226 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11227 named /usr/sbin/prelink<foo>.
11228
4daf5ac0
SS
112292010-03-18 Stan Shebs <stan@codesourcery.com>
11230
11231 * gdb.trace/circ.exp: Test circular-trace-buffer.
11232 * gdb.trace/tfile.exp: Update tstatus test.
11233
e8d05480
JB
112342010-03-18 Joel Brobecker <brobecker@adacore.com>
11235
11236 * gdb.dwarf2/dw2-anonymous-func.S: New file.
11237 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11238
441b986a
UW
112392010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11240
11241 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11242
4247603b
PA
112432010-03-18 Pedro Alves <pedro@codesourcery.com>
11244
11245 * gdb.base/default.exp: Adjust the expected output of the finish
11246 and until commands when the inferior is not being run.
11247
13387711
SW
112482010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
11249
11250 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11251 * gdb.cp/nsusing.exp: Ditto.
11252
6e31430b
TT
112532010-03-15 Tom Tromey <tromey@redhat.com>
11254
11255 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
11256 * gdb.cp/userdef.cc (operator==): New function.
11257 (main): New locals mem1, mem2.
11258
e2d69cb5
JZ
112592010-03-15 Jie Zhang <jie@codesourcery.com>
11260
11261 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
11262 Declare and use new loadtimeout variable.
11263
f572f0a9
DJ
112642010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
11265
11266 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
11267 Use gdb_load later.
11268
51f4c0b0
PA
112692010-03-14 Pedro Alves <pedro@codesourcery.com>
11270
11271 * gdb.base/solib-disc.c (main): Make format of fprintf a string
11272 literal. Add missing endlines to prints to stderr.
11273
1c809c68
TT
112742010-03-12 Tom Tromey <tromey@redhat.com>
11275
11276 PR c++/9708:
11277 * gdb.cp/m-static.exp: Add regression test.
11278 * gdb.cp/m-static.cc (method): New method.
11279 (main): Call it.
11280
00ae8fef
SW
112812010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
11282
11283 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
11284 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
11285
759f0f0b
PA
112862010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11287
21e24d21
PA
11288 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
11289
112902010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11291
759f0f0b
PA
11292 * lib/gdb.exp (skip_stl_tests): New.
11293 (gdb_compile): Symbian needs -ldl.
11294 (shlib_target_file): New.
11295 (shlib_symbol_file): New.
11296 (gdb_load_shlibs): Use shlib_target_file.
11297 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
11298 * gdb.cp/exception.exp: Use skip_stl_tests.
11299 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
11300 * gdb.cp/try_catch.exp: Use skip_stl_tests.
11301 * gdb.cp/mb-templates.exp: Ditto.
11302 * gdb.base/commands.exp: Relax regexes.
11303 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
11304 shlib_target_file and shlib_symbol_file.
11305 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
11306 sections.
11307 * gdb.base/ending-run.exp: Accept E32Main for symbian.
11308 * gdb.base/solib-disc.exp: Use
11309 shlib_target_file and shlib_symbol_file.
11310 * gdb.base/unload.exp: Don't skip on symbian. Use
11311 shlib_target_file and shlib_symbol_file.
11312 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
11313
6a8f2671 113142010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 11315
6a8f2671
PA
11316 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
11317 * gdb.trace/report.exp: Adjust for x86 and x86_64.
11318 Issue a tfind end before looking for a tracepoint frame.
11319 * gdb.trace/tfind.exp: Adjust tstatus output.
11320 Adjust disassembly output.
11321 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
11322
ccf26247
JK
113232010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11324
11325 * gdb.base/break-interp.exp: Create new displacement parameter value
11326 for the test_ld calls.
11327 (reach): New parameter displacement, verify its content. New push of
11328 pf_prefix "reach-$func:". Import global expect_out.
11329 (test_core): New parameter displacement, verify its content. New push
11330 of pf_prefix "core:". New command "set verbose on". Import global
11331 expect_out.
11332 (test_attach): New parameter displacement, verify its content. New
11333 push of pf_prefix "attach:". New command "set verbose on". Import
11334 global expect_out.
11335 (test_ld): New parameter displacement, pass it to the reach, test_core
11336 and test_attach calls and verify its content in the "ld.so exit" test.
11337 * gdb.base/prelink.exp: Remove gdb_exit and final return.
11338 (prelink): Update expected text, use gdb_test.
11339
e469c7fb
DE
113402010-03-10 Doug Evans <dje@google.com>
11341
11342 * gdb.base/checkpoint.exp: Fix comment.
11343 Lengthen timeout while doing >600 checkpoints test.
11344 Rename duplicate "kill all one" test to keep test names unique.
11345
60e1c644
PA
113462010-03-10 Pedro Alves <pedro@codesourcery.com>
11347
11348 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
11349
cec808ec
KS
113502010-03-08 Keith Seitz <keiths@redhat.com>
11351
889bf7c5
PA
11352 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
11353 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
11354 (dm_type_long): New function.
11355 (dm_type_unsigned_short): New function.
11356 (dm_type_unsigned_long): New function.
11357 (myint): New typedef.
11358 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
11359 long, unsigned shor and long, operator char*, and typedef.
11360 (test_lookup_operator_functions): Add operator char* test.
11361 (test_paddr_operator_functions): Likewise.
11362 (test_paddr_overloaded_functions): Use probe values for
11363 short, long, and unsigned short and long.
11364 (test_paddr_hairy_functions): If the demangler probe detected
11365 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
11366 demangler.
11367 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
11368 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
11369 and "print null_pmf".
11370 Add test "ptype a.*pmf".
11371 * gdb.cp/overload.exp: Allow optional "int" to appear with
11372 "short" and "long".
11373 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
11374 long expect value for men_overload1arg.
11375 Allow "int" to appear with "short" and "long".
11376 When testing "info break", add argument for main (void).
11377 Also allow "int" to appear with "short" and "long".
11378 Ditto with "unsigned" and "long long".
cec808ec
KS
11379 * gdb.java/jmain.exp: Do not enclose methods names in single
11380 quotes.
11381 * gdb.java/jmisc.exp: Likewise.
11382 * gdb.java/jprint.exp: Likewise.
11383 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
11384
11385 From Jan Kratochvil <jan.kratochvil@redhat.com>:
11386 * gdb.cp/exception.exp (backtrace after first throw)
11387 (backtrace after second throw): Allow a namespace before __cxa_throw.
11388 (backtrace after first catch, backtrace after second catch): Allow
11389 a namespace before __cxa_begin_catch.
11390
11391 * gdb.cp/cpexprs.exp: New file.
11392 * gdb.cp/cpexprs.cc: New file.
11393
11394 From Daniel Jacobowitz <dan@codesourcery.com>
11395 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
11396 to use string_to_regexp.
11397 (ctor, dtor): New functions. Use them to match constructor
11398 and destructor function types.
11399 (Top level): Use runto_main.
11400
f870a310
TT
114012010-03-05 Tom Tromey <tromey@redhat.com>
11402
11403 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
11404 gdb.target_charset.
11405 (pp_ns.to_string): Likewise.
11406
0c199f28
KS
114072010-03-04 Keith Seitz <keiths@redhat.com>
11408
11409 * gdb.cp/overload.exp: Test that the filename portion of a linespec
11410 can be quoted. Test that both the filename and function/line
11411 portions can be quoted at the same time.
11412
c7437ca6
PA
114132010-03-04 Pedro Alves <pedro@codesourcery.com>
11414
11415 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
11416
b111b805
DE
114172010-03-03 Doug Evans <dje@google.com>
11418
24486cb7
DE
11419 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
11420 libc contains libpthread.
11421
b111b805
DE
11422 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
11423 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
11424 of gdb_compile. Add another pattern to match android backtrace.
11425
a0e0ef55
TT
114262010-03-03 Tom Tromey <tromey@redhat.com>
11427
11428 PR gdb/11345:
11429 * gdb.base/printcmds.exp (test_printf): Add test.
11430
1ba53b71
L
114312010-03-02 H.J. Lu <hongjiu.lu@intel.com>
11432
11433 * gdb.arch/amd64-byte.exp: New.
11434 * gdb.arch/amd64-dword.exp: Likewise.
11435 * gdb.arch/amd64-pseudo.c: Likewise.
11436 * gdb.arch/amd64-word.exp: Likewise.
11437 * gdb.arch/i386-byte.exp: Likewise.
11438 * gdb.arch/i386-pseudo.c: Likewise.
11439 * gdb.arch/i386-word.exp: Likewise.
11440
f5dff777
DJ
114412010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11442
11443 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
11444 types. Add structreg, bitfields, and flags registers.
11445 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
11446 registers.
11447
90884b2b
L
114482010-03-01 H.J. Lu <hongjiu.lu@intel.com>
11449
11450 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
11451 (load_description): Set architecture if defined.
11452
dc00d89f
PM
114532010-02-28 Phil Muldoon <pmuldoon@redhat.com>
11454
11455 * gdb.python/py-frame.exp: Add read_var block tests.
11456 * gdb.python/py-frame.c (block): New function.
11457
0e095b7e
JK
114582010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11459 Daniel Jacobowitz <dan@codesourcery.com>
11460
11461 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
11462
624f1a65
DM
114632010-02-25 David S. Miller <davem@davemloft.net>
11464
11465 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
11466 fix logic for setting all_syscalls_numbers.
11467
f3e9a817
PM
114682010-02-24 Phil Muldoon <pmuldoon@redhat.com>
11469
11470 * Makefile.in: Add py-block and py-symbol.
11471 * gdb.python/py-symbol.exp: New File.
11472 * gdb.python/py-symtab.exp: New File.
11473 * gdb.python/py-block.exp: New File.
11474 * gdb.python/py-symbol.c: New File.
11475 * gdb.python/py-block.c: New File.
11476
f6bbabf0
PM
114772010-02-24 Phil Muldoon <pmuldoon@redhat.com>
11478
11479 PR python/11314
11480 * lib/gdb.exp (skip_python_tests): New function.
11481 * gdb.python/py-cmd.exp: Use skip_python_tests.
11482 * gdb.python/py-frame.exp: Likewise.
11483 * gdb.python/py-function.exp: Likewise.
11484 * gdb.python/py-prettyprint.exp: Likewise.
11485 * gdb.python/py-template.exp: Likewise.
11486 * gdb.python/py-type.exp: Likewise.
11487 * gdb.python/py-value.exp: Likewise.
11488
85d721b8
PA
114892010-02-22 Pedro Alves <pedro@codesourcery.com>
11490
11491 PR9605
11492
11493 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
11494
48e32051
TT
114952010-02-19 Tom Tromey <tromey@redhat.com>
11496
11497 PR c++/8693, PR c++/9496:
11498 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
11499 regression tests.
11500
ac9c0048
JK
115012010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11502
11503 Fix compatibility with m68k as.
11504 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
11505 Use only /* comments */.
11506
57bb97a4
UW
115072010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11508
11509 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
11510 * configure: Regenerate.
11511
7d1bf85c
DJ
115122010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
11513
11514 * gdb.python/py-type.exp: Check for Python support.
11515
061b5285
PA
115162010-02-17 Pedro Alves <pedro@codesourcery.com>
11517
11518 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
11519 `regsub' syntax available.
11520
f8a8bc2c
PA
115212010-02-17 Pedro Alves <pedro@codesourcery.com>
11522
11523 * gdb.base/shmain.c (main): Remove printf call.
11524 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
11525 * gdb.base/unload.c (main): Make format of fprintf a string
11526 literal. Add missing endlines to prints to stderr.
11527 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
11528
6f451e5e
TT
115292010-02-17 Tom Tromey <tromey@redhat.com>
11530
11531 * gdb.java/jprint.java (jprint.props): New field.
11532 * gdb.java/jprint.exp (set_lang_java): Add regression test.
11533
12d79008
PA
115342010-02-17 Pedro Alves <pedro@codesourcery.com>
11535
ef801a0e 11536 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
11537 available.
11538
d252f7e5
DJ
115392010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11540
11541 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
11542 creation to support remote host testing.
11543
67bdab6c
DJ
115442010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11545
11546 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
11547 Recognize "command not found".
11548
bb391223
DJ
115492010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11550
11551 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
11552 single-stepping.
11553
70362913
DJ
115542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11555
11556 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
11557 if arguments are not supported.
11558
493f3c00
DJ
115592010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11560
11561 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
11562 be const or non-const.
11563
8034c749
DJ
115642010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11565
11566 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
11567 mi_send_resuming_command to send -exec-continue.
11568
791dfb64
DJ
115692010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11570
11571 * gdb.base/list.exp (test_list_filename_and_function): Add test
11572 with single quotes.
11573 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11574 matching.
11575 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11576 Add KFAIL'd tests for PR gdb/11289.
11577
7c5fe868
DJ
115782010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11579
11580 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11581
fdc498b8
DJ
115822010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11583
11584 * gdb.base/comp-dir/subdir/dummy.txt: New file.
11585 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11586 a temporary directory.
11587
b519e2a6
DJ
115882010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11589
11590 * gdb.base/charset.exp: Use a single regular expression to match
11591 show host-charset and show target-charset output.
11592
74164c56
JK
115932010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11594
11595 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11596 "Illegal process-id" expect string more exact.
11597 (attach to digits-starting nonsense is prohibited): New.
11598
701ed6dc
JK
115992010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11600
11601 * gdb.base/prelink.exp (set verbose on): New.
11602
889bf7c5 116032010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
11604
11605 * mi-reverse.exp: New file. Test for reverse option to the
11606 following MI commands: exec-continue, exec-finish, exec-next,
11607 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 11608
dadf0e9c
JB
116092010-02-09 Joel Brobecker <brobecker@adacore.com>
11610
11611 * gdb.ada/ptype_tagged_param: New testcase.
11612
714f19d5
TT
116132010-02-08 Tom Tromey <tromey@redhat.com>
11614
11615 PR c++/8017:
11616 * gdb.cp/overload.exp: Add tests.
11617 * gdb.cp/overload.cc (struct K): New.
11618 (namespace N): New.
11619 (main): Call new functions.
11620 (K::staticoverload): Define.
11621
889bf7c5 116222010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
11623
11624 PR gdb/10728
11625 * gdb.cp/pr10728-x.h: New file.
11626 * gdb.cp/pr10728-x.cc: New file.
11627 * gdb.cp/pr10728-y.cc: New file.
11628 * gdb.cp/pr10728.exp: New file.
11629 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11630
889bf7c5 116312010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
11632
11633 PR gdb/9067
11634 * gdb.cp/pr9067.exp: New
11635 * gdb.cp/pr9067.cc: New
11636 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11637
7b356089
JB
116382010-02-08 Joel Brobecker <brobecker@adacore.com>
11639
11640 * lib/gdb.exp (gdb_test_timeout): New global variable.
11641 Set it to timeout if not already set.
11642 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11643
1be00882
DE
116442010-02-05 Doug Evans <dje@google.com>
11645
11646 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11647 user.
11648
82856980
SW
116492010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11650
11651 PR c++/7935:
11652 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11653
1a334831
TT
116542010-02-04 Tom Tromey <tromey@redhat.com>
11655
11656 * gdb.cp/virtbase.exp: Make test case names unique.
11657
9c3c02fd
TT
116582010-02-02 Tom Tromey <tromey@redhat.com>
11659
11660 * gdb.cp/virtbase.exp: Add regression tests.
11661 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11662 (main): Instantiate RHC.
11663
0cc2414c
TT
116642010-02-02 Tom Tromey <tromey@redhat.com>
11665
11666 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11667 type-printing change.
11668
edf3d5f3
TT
116692010-02-02 Tom Tromey <tromey@redhat.com>
11670
11671 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11672 * gdb.cp/virtbase.cc: New file.
11673 * gdb.cp/virtbase.exp: New file.
11674 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11675
e4b7f41c
JK
116762010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11677
11678 PR libc/11214:
11679 * gdb.threads/current-lwp-dead.c: Include features.h.
11680 (HAS_NOMMU): New.
11681 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11682
b381ea14
JK
116832010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11684
11685 * gdb.base/symbol-without-target_section.exp,
11686 gdb.base/symbol-without-target_section.c: New.
11687
c593ac0e
DJ
116882010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11689
11690 * gdb.base/bigcore.exp: Reset increased timeout.
11691 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11692
db25f29d
DJ
116932010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11694
11695 * gdb.base/gcore.exp (capture_command_output): Use
11696 gdb_test_multiple.
11697
f9d67f43
DJ
116982010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11699
11700 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11701 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11702 (Top level): Call it.
11703
177321bd
DJ
117042010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11705
11706 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11707
97f2ed50
DJ
117082010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11709
11710 * gdb.base/call-strs.exp, gdb.base/default.exp,
11711 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11712 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11713 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11714 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11715 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11716 * gdb.base/ending-run.exp: Correct restore of timeout.
11717 * gdb.base/page.exp: Remove unnecessary timeout setting.
11718
e4e2711a
JB
117192010-01-29 Joel Brobecker <brobecker@adacore.com>
11720
11721 * gdb.ada/rec_return: New testcase.
11722
ba581dc1
JB
117232010-01-29 Joel Brobecker <brobecker@adacore.com>
11724
11725 * gdb.ada/call_pn: New testcase.
11726
4ea95be9
DJ
117272010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11728
11729 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11730 (Top level): Use it to resume.
11731 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11732 the Thumb mode displaced stepping error as unsupported.
11733
df83a9bf
SW
117342010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
11735
889bf7c5
PA
11736 * gdb.cp/nsusing.exp: Added more tests.
11737 * gdb.cp/nsrecurs.exp: Ditto.
11738 * gdb.cp/nsusing.cc: Added test functions.
11739 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 11740
40b27cdc
JK
117412010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11742
11743 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11744 absolute directory pathnames in gdb.sum file.
11745
de958931
SW
117462010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
11747
11748 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11749 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11750
708ead4e
TT
117512010-01-26 Tom Tromey <tromey@redhat.com>
11752
11753 PR exp/7643:
11754 * gdb.base/printcmds.exp (test_print_string_constants): Remove
11755 setup_kfail.
11756
b14e635e
SW
117572010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
11758
11759 * gdb.cp/nsrecurs.exp: New test.
11760 * gdb.cp/nsrecurs.cc: New test program.
11761 * gdb.cp/nsstress.exp: New test.
11762 * gdb.cp/nsstress.cc: New test program.
11763 * gdb.cp/nsdecl.exp: New test.
11764 * gdb.cp/nsdecl.cc: New test program.
11765
8540c487
SW
117662010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
11767
11768 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11769 imported into file scope.
11770 Marked test as xfail.
11771 * gdb.cp/namespace-using.cc (marker5): New function.
11772 * gdb.cp/shadow.exp: New test.
11773 * gdb.cp/shadow.cc: New test program.
11774 * gdb.cp/nsimport.exp: New test.
11775 * gdb.cp/nsimport.cc: New test program.
11776
421d5d99
TT
117772010-01-25 Tom Tromey <tromey@redhat.com>
11778
11779 PR gdb/11049:
11780 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11781 with "set print null-stop on".
11782
691f8dc1
JK
117832010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11784
11785 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11786 Adjust it for DISASSEMBLY_OMIT_FNAME.
11787
0b92b5bb
TT
117882010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11789
11790 PR symtab/11199:
11791 * gdb.dwarf2/member-ptr-forwardref.exp,
11792 gdb.dwarf2/member-ptr-forwardref.S: New.
11793
23787403
JK
117942010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11795
11796 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11797 (thread1_func): Protect thread1_tid with thread1_tid_cond by
11798 thread1_tid_mutex. Remove gdbstop_mutex handling.
11799 (thread2_func): Protect thread2_tid with thread2_tid_cond by
11800 thread2_tid_mutex. Remove gdbstop_mutex handling.
11801 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11802 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
11803 pthread_cond_wait conditionalizations by while loops.
11804
b966cb8a
TT
118052010-01-20 Tom Tromey <tromey@redhat.com>
11806
11807 PR backtrace/10770:
11808 * gdb.dwarf2/pr10770.exp: New file.
11809 * gdb.dwarf2/pr10770.c: New file.
11810 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11811
fcae584b
VP
118122010-01-20 Vladimir Prus <vladimir@codesourcery.com>
11813
11814 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11815 that target was removed, and the test always runs native anyway.
11816
a0f49112
JK
118172010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11818
11819 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11820 gdb.base/watchpoint-cond-gone-stripped.c: New.
11821
ceeb3d5a
TT
118222010-01-19 Tom Tromey <tromey@redhat.com>
11823
11824 PR c++/8000:
11825 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
11826 existing tests.
11827 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11828 (main): Use AAA::SomeEnum.
11829
dd322c54
JK
118302010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11831
11832 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11833 (test_ignore_count): Declare line_callme_body global.
11834 (run to breakpoint with ignore count): Use line_callme_body.
11835 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11836 (set line_main_hello, set line_main_return): Reindent.
11837 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11838 New.
11839 (continue to callee4): Use line_callee4_body.
11840 (check *stopped from CLI command): Use line_callee4_next.
11841 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11842 (set line_main_hello, set line_main_return): Reindent.
11843 (set line_callee4_head, set line_callee4_body): New.
11844 (continue to callee4): Use line_callee4_body.
11845
4e8f195d
TT
118462010-01-18 Tom Tromey <tromey@redhat.com>
11847
11848 PR c++/9680:
11849 * gdb.cp/casts.cc: Add new classes and variables.
11850 * gdb.cp/casts.exp: Test new operators.
11851
9e14a9ba
JB
118522010-01-18 Tom Tromey <tromey@redhat.com>
11853 Thiago Jung Bauermann <bauerman@br.ibm.com>
11854
11855 * gdb.python/source2.py: New file.
11856 * gdb.python/source1: New file.
11857 * gdb.python/python.exp: Test "source" command.
11858
00bf0b85
SS
118592010-01-15 Stan Shebs <stan@codesourcery.com>
11860
11861 * gdb.trace/tfile.c: New file.
11862 * gdb.trace/tfile.exp: New file.
889bf7c5 11863
55235ad7
JK
118642010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11865
11866 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11867
9f2982ff
JK
118682010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11869
11870 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11871
bbfba9ed
JK
118722010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11873
11874 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11875 (libfunc): New parameter action. Implement also selectable "sleep".
11876 * gdb.base/break-interp-main.c: Include assert.h.
11877 (libfunc): New parameter action.
11878 (main): New parameters argc and argv. Assert argc. Pass argv.
11879 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11880 (test_attach): New proc.
11881 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11882 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11883
61f0d762
JK
118842010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11885
11886 * gdb.base/break-interp.exp (test_core): New proc.
11887 (test_ld): Call it.
11888
06a6f270
JK
118892010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11890
11891 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11892 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11893 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11894 and gdb_compile_shlib. Use new -Wl compiler options.
11895 (dl bt, main bt): New tests.
11896
51bee8e9
JK
118972010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11898
11899 Support PIEs with no symfile_objfile.
11900 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11901 (test_ld): New parameter trynosym.
11902 (test_ld <$trynosym>): New block.
11903
b8040f19
JK
119042010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11905
11906 * gdb.base/break-interp.exp: New file.
11907
be759fcf
PM
119082010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11909
11910 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11911 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11912 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11913 test.
11914 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11915 * gdb.python/py-mi.exp: Add lazy string test.
11916
dc146f7c
VP
119172010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11918
11919 * lib/mi-support.exp (mi_check_thread_states): Handle
11920 core number in thread listing.
11921
b4ba55a1
JB
119222010-01-12 Joel Brobecker <brobecker@adacore.com>
11923
11924 * gdb.base/maint.exp: Adjust the expected output for the
11925 "maint print type" test. Use gdb_test_multiple instead of
11926 gdb_sent/gdb_expect.
11927
08e24bd4
DE
119282010-01-11 Doug Evans <dje@google.com>
11929
6496a609
DE
11930 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11931 from gdbserver_download. All callers updated.
11932
08e24bd4
DE
11933 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11934
b5cfddf5
JK
119352010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11936
11937 Implement binary numbers parsing.
11938 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11939 (test_integer_literals_rejected): New binary tests.
11940
3725885a
RW
119412010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11942
11943 * gdb.cell/configure: Regenerate.
11944
37aeb5df
JK
119452010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11946
11947 * gdb.base/corefile.exp: Move the core finding block out and call it as
11948 core_find, new variable $corefile, replace corefile by $corefile and
11949 [file tail $corefile] for usage vs. test names resp.
11950 * lib/gdb.exp (core_find): Move it as a new function here. New
11951 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11952 $destcore. Return "" on error.
11953
d521f563
JK
119542010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11955
11956 Workaround PR binutils/10802.
11957 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11958 (twice).
11959
28f24826
DJ
119602010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11961
11962 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11963
2de75e71
JB
119642010-01-08 Joel Brobecker <brobecker@adacore.com>
11965
11966 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11967 call, to avoid interruption.
11968
fe00719b 119692010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
11970
11971 * gdb.stabs/weird.def (args93): New.
11972
d0ef5df8
DE
119732010-01-07 Doug Evans <dje@google.com>
11974
11975 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11976
3a08d52f
TT
119772010-01-07 Tom Tromey <tromey@redhat.com>
11978
11979 * gdb.base/source.exp: Use correct line number.
11980
7a697b8d
SS
119812010-01-05 Stan Shebs <stan@codesourcery.com>
11982
11983 * gdb.trace/tracecmd.exp: Test ftrace.
11984
7803799a
UW
119852010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11986
11987 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11988
c54eabfa
JK
119892010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11990
11991 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11992 "uint_for_mi_testing".
11993
02e7ef19
JB
119942010-01-01 Joel Brobecker <brobecker@adacore.com>
11995
11996 Test indented comment in file being sourced.
11997 * gdb.base/commands.exp: Test indented comment in file being sourced.
11998
abd775ce
JB
119992010-01-01 Joel Brobecker <brobecker@adacore.com>
12000
12001 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12002 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12003 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12004 notice.
12005
79b55b82
JB
120062010-01-01 Joel Brobecker <brobecker@adacore.com>
12007
12008 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12009 notice.
12010
8997583e
JK
120112010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12012
12013 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12014 missing $after_stopped and comma (,) expectation.
12015
6da95a67
SS
120162009-12-31 Stan Shebs <stan@codesourcery.com>
12017
12018 * gdb.trace/actions.exp: Test teval action.
889bf7c5 12019
218d2fc6
TJB
120202009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12021
12022 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12023 (top level): Call test_watchpoint_in_big_blob.
12024 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12025 watchpoints.
12026 (func3): Write to buf.
12027
236f1d4d
SS
120282009-12-29 Stan Shebs <stan@codesourcery.com>
12029
12030 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 12031
f61e138d
SS
120322009-12-28 Stan Shebs <stan@codesourcery.com>
12033
12034 * gdb.trace/tsv.exp: New file.
12035 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 12036
0219b378
DJ
120372009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12038
12039 * gdb.base/find.c (main): Reference search buffers.
12040 * gdb.base/included.c (main): Reference integer.
12041 * gdb.base/ptype.c (charfoo): Declare.
12042 (intfoo): Call charfoo.
12043 * gdb.base/scope0.c (useitp): New function.
12044 (usestatics): Use useitp.
12045 (useit): Add a type for val.
12046 * gdb.base/scope1.c (useit1): Take a pointer argument.
12047 (usestatics1): Update calls to useit1.
12048 * gdb.cp/call-c.cc: Declare foo.
12049 (main): Call foo.
12050 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12051 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12052 (main): Call C::ensureRefs and ensureOtherRefs.
12053 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12054 variables.
12055 (ensureOtherRefs): New function.
12056 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12057 * gdb.cp/templates.cc (main): Call t5i.value.
12058
3f78692f
JK
120592009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12060
12061 Fix compatibility with G++-4.5.
12062 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12063 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12064 (uncaught return): Remove.
12065
429374b8
JK
120662009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12067 Phil Muldoon <pmuldoon@redhat.com>
12068
12069 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12070 (bp_location13, bp_location14, bp_location17, bp_location18)
12071 (marker3_proto, marker4_proto): New variables.
12072 (breakpoint info): Update output.
12073 (run until breakpoint at marker3, run until breakpoint at marker4): New
12074 tests.
12075
859825b8
JK
120762009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12077
12078 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12079 Replace the printf call of Y by provided "y-set-1" label. New block
12080 for the second shared library.
12081 * gdb.base/unload.exp: Compile also the second library, call
12082 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12083 (single pending breakpoint info): Rename to ...
12084 (pending breakpoint info before run): ... this extended test.
12085 (libfile2, libname2, libsrcfile2, libsrc2)
12086 (lib_sl2): New variables.
12087 (exec_opts): Set also SHLIB_NAME2.
12088 (pending breakpoint info on first run at shrfunc1)
12089 (pending breakpoint info on second run at shrfunc1)
12090 (pending breakpoint info on second run at shrfunc2)
12091 (print y from libfile, print y from libfile2): New tests.
12092 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12093 * gdb.base/unloadshr2.c: New.
12094
e6a386cd
HZ
120952009-12-22 Hui Zhu <teawater@gmail.com>
12096
12097 * gdb.reverse/sigall-reverse.exp: Adjust.
12098
9e19b45e
VP
120992009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12100
12101 PR gdb/10884
12102
12103 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12104 (main): Call do_bitfield_tests.
aacf5b1e 12105 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 12106
d53a7b30
JB
121072009-12-20 Joel Brobecker <brobecker@adacore.com>
12108
12109 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12110 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12111 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12112 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12113 gdb.modula2/unbounded1.c: Update copyright header.
12114
191ca0a1
CM
121152009-12-10 Chris Moller <moller@mollerware.com>
12116
12117 PR gdb/9399
12118 * gdb.cp/virtfunc2.exp: New tests
12119 * gdb.cp/virtfunc2.cc: New tests
12120 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12121
0fa6cf1b
MS
121222009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12123
12124 * gdb.reverse/i387-env-reverse.c: New file.
12125 * gdb.reverse/i387-env-reverse.exp: New file.
12126 * gdb.reverse/i387-stack-reverse.c: New file.
12127 * gdb.reverse/i387-stack-reverse.exp: New file.
12128
361ae042
PM
121292009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12130
12131 * gdb.python/py-type.exp (test_range): New test.
12132
bfd31e71
PM
121332009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12134
12135 PR python/10805
12136
12137 * gdb.python/py-type.exp: New file.
12138 * gdb.python/py-type.c: New file.
12139 * Makefile.in: Add py-type.
12140
57a1d736
TT
121412009-12-03 Tom Tromey <tromey@redhat.com>
12142
12143 * gdb.python/py-value.exp (test_parse_and_eval): New
12144 function.
12145
1f3b5d1b
PP
121462009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12147
12148 PR gdb/11022
12149
12150 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
12151 * gdb.base/pr11022.c: New test.
12152
8b7dbdc9
JK
121532009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12154
12155 Fix spurious false FAILs.
12156 * gdb.base/structs.c (chartest): New.
12157 (main): Fill-in chartest.
12158 * gdb.base/structs.exp (anychar_re, first): New.
12159 (start_structs_test): Import global anychar_re and first.
12160 New gdb_test call "set print elements 300; ${testfile}"
12161 (start_structs_test <$first>): New block.
12162 (any): Import global anychar_re. New variable ac. Use ${ac}.
12163
6a53b2ec
JK
121642009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12165
12166 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12167
d7167b4c
JK
121682009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12169
12170 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12171 Force $srcfile file.
12172 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12173
b1798462
UW
121742009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12175
12176 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12177 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12178 * gdb.threads/watchthreads-reorder.exp: Likewise.
12179
b6199126
DJ
121802009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12181
12182 PR gdb/8704
12183
12184 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12185 "if", and "thread". Correct matching in the previous test.
12186
b22a0510
DJ
121872009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12188
12189 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12190
930636d2
MS
121912009-11-23 Michael Snyder <msnyder@vmware.com>
12192
12193 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12194 * gdb.reverse-watch-precsave.exp: Ditto.
12195
21a0512e
PP
121962009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12197
12198 * gdb.asm/asm-source.exp: Adjust.
12199 * gdb.base/help.exp: Adjust.
889bf7c5 12200
fc30d5e0
PA
122012009-11-22 Pedro Alves <pedro@codesourcery.com>
12202
12203 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12204 (do_syscall_tests_without_xml): Set data-directory to
12205 /the/path/to/nowhere.
12206
f6bc2008
PA
122072009-11-21 Pedro Alves <pedro@codesourcery.com>
12208
12209 * gdb.threads/local-watch-wrong-thread.c,
12210 gdb.threads/local-watch-wrong-thread.exp: New files.
12211
8c2fb5de
PA
122122009-11-21 Pedro Alves <pedro@codesourcery.com>
12213
12214 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12215 assume new `regsub' syntax available.
12216
ebec9a0f
PA
122172009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12218
a79d3c27
JK
12219 * gdb.base/watchpoint-hw-hit-once.exp,
12220 gdb.base/watchpoint-hw-hit-once.c: New.
12221
122222009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12223
12224 * gdb.threads/watchthreads-reorder.exp,
12225 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 12226
276a961b
MK
122272009-11-17 Nathan Sidwell <nathan@codesourcery.com>
12228
12229 * gdb.xml/tdesc-regs.exp: Use for m68k.
12230
4867c1fb
PA
122312009-11-15 Pedro Alves <pedro@codesourcery.com>
12232
12233 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12234
f6838f81
DJ
122352009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12236
12237 * lib/gdb.exp (current_target_name): New procedure.
12238 (gdb_wrapper_target): New variable.
12239 (gdb_wrapper_init): Set gdb_wrapper_target.
12240 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12241 wrapper.
12242
4ac4dd3f
DJ
122432009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12244
12245 * gdb.base/remote.exp: Delete the slowest load test.
12246 Do not load with fixed packet sizes.
12247
a7881759
DJ
122482009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12249
12250 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12251
97a5b505
DJ
122522009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12253
12254 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
12255 srcfile when setting a breakpoint.
12256
d3e1fc54
DJ
122572009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
12258
12259 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
12260 macros.
12261
7cbcbded
DJ
122622009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12263
12264 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
12265 to be in memory.
12266 * gdb.base/display.c (force_mem): New.
12267 (do_loops): Use it. Add breakpoint comments.
12268 (do_vars): Add a breakpoint comment.
12269 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
12270 line numbers.
12271
bdea3a92
NF
122722009-11-13 Nathan Froyd <froydnj@codesourcery.com>
12273
12274 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
12275 instead of a bare "run".
12276
269f82e5
PP
122772009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12278
12279 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 12280
a69b7d9d
DJ
122812009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12282
12283 * lib/cell.exp (skip_cell_tests): Clean up test files before
12284 returning.
12285
b598bfda
DJ
122862009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12287
12288 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
12289 and the breakpoint menu. Do not call perror if a prompt is seen.
12290 Consume the following GDB prompt.
12291 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
12292 * gdb.cp/namespace.exp: Use gdb_test.
12293 * gdb.cp/templates.exp: Use gdb_test.
12294 (test_template_breakpoints): Use gdb_test_multiple.
12295
87728fa0
DJ
122962009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12297
12298 * gdb.base/break1.c (struct some_struct, values): Move earlier.
12299 (marker4): Reference values.
12300
b67c692f
DJ
123012009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12302
12303 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
12304 is missing.
12305
f0df251a
DJ
123062009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12307
12308 * gdb.base/break.c (need_malloc): New.
12309 * gdb.base/constvars.c (main): Reference crass and crisp.
12310 * gdb.base/gdb1821.c (main): Reference bar.
12311 * gdb.cp/gdb1355.cc (main): Reference s1.
12312 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
12313 (main): Call them.
12314 * gdb.cp/hang2.cc (dummy2): Define.
12315 * gdb.cp/hang3.cc (dummy3): Define.
12316 * gdb.cp/m-data.cc (main): Reference shadow.
12317
bdf7534a
NF
123182009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12319 Nathan Froyd <froydnj@codesourcery.com>
12320
12321 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
12322 remote host.
12323
f24fce77
NF
123242009-11-12 Nathan Froyd <froydnj@codesourcery.com>
12325
12326 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
12327 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
12328 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12329 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12330 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12331 * gdb.dwarf2/dw2-producer.exp: Likewise.
12332 * gdb.dwarf2/mac-fileno.exp: Likewise.
12333 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
12334 py-prettyprint.py to the remote host.
12335 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
12336
40f0318e
KS
123372009-11-11 Keith Seitz <keiths@redhat.com>
12338
12339 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
12340 use it instead of "Foo".
12341 * gdb.cp/classes.exp (do_tests): Add a test to access
12342 a method through a typedef'd class name.
12343
f3d9f7fb
NF
123442009-11-11 Nathan Froyd <froydnj@codesourcery.com>
12345
12346 * gdb.base/long_long.exp: Permit leading zeros on floating-point
12347 exponents.
12348 * gdb.base/pointers.exp: Likewise.
12349 * gdb.cp/ref-types.exp: Likewise.
12350
a4216f37
KS
123512009-11-11 Keith Seitz <keiths@redhat.com>
12352
12353 * gdb.cp/cplusfuncs.cc (class foo): Add operators
12354 new[] and delete[].
12355 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
12356 "void".
12357 (probe_demangler): Remove all single-quoting of
12358 method and variable names.
12359 (info_func_regexp): Remove the word "void" from any
12360 occurrence of "(void)".
12361 (print_addr_2): Remove all single-quoting of
12362 method names.
12363 (print_addr_2_kfail): Likewise.
12364 (print_addr): Single-quote C function names before
12365 passing to print_addr_2.
12366 (test_paddr_operator_functions): Remove single-quoting
12367 for method names.
12368 Add tests for operator new[] and operator delete[].
12369
9b14d7aa
JK
123702009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12371
12372 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
12373
85feb311
KS
123742009-11-09 Keith Seitz <keiths@redhat.com>
12375
12376 * gdb.cp/overload.exp: Add tests for resolving overloaded
12377 methods in expression parsing/evaluation.
12378
fa335448
DJ
123792009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
12380
12381 * lib/gdb.exp (default_gdb_version): Use --version instead of
12382 --command.
12383
ec3c07fc
NS
123842009-11-10 Nathan Sidwell <nathan@codesourcery.com>
12385
12386 * lib/gdb.exp (gdb_compile_test): New.
12387 (skip_ada_tests, skip_java_tests): New.
12388 (gdb_compile): Use gdb_compile_test for f77.
12389 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
12390 * lib/java.exp (compile_java_from_source): Remove runtests check,
12391 use gdb_compile_test to record result.
12392 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
12393 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
12394 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
12395 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
12396 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
12397 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
12398 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
12399 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
12400 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
12401 adjust gdb_compile invocations.
12402
b8b4e42b
JK
124032009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12404
12405 * Makefile.in (abs_builddir): New.
12406 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
12407 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
12408 `$(abs_builddir)/site.exp'.
12409
f8b7eaf3
DJ
124102009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
12411
12412 * config/m68k-emc.exp, lib/emc-support.exp,
12413 gdb.trace/gdb_c_test.c: Delete.
12414 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
12415 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12416 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12417 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12418 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12419 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
12420 casing for m68k-*-elf.
12421
c4187697
NS
124222009-11-03 Pedro Alves <pedro@codesourcery.com>
12423
12424 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
12425 * gdb.arch/i386-prologue.exp: Likewise.
12426 * gdb.arch/i386-unwind.exp: Likewise.
12427
db16b772
DJ
124282009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12429
12430 * lib/gdb.exp (gdb_expect): Fix timeout typo.
12431
bcf71277
DJ
124322009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12433
12434 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
12435
0105cee2
DJ
124362009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12437
12438 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
12439
24ddea62
JK
124402009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12441
12442 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
12443
287ccc17
JK
124442009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12445
12446 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
12447 * gdb.base/sepdebug2.c: New file.
12448
08bca259 124492009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
12450
12451 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
12452 the modified warnings for catch syscall. Verify if GDB was compiled
12453 with support for lib expat, and choose which tests to run depending
12454 on this.
12455
5d4e2b76
VP
124562009-10-30 Vladimir Prus <vladimir@codesourcery.com>
12457
12458 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
12459 that composite commands are parsed OK. And also test
12460 that breakpoint commands do work.
12461
240e538a
MS
124622009-10-23 Michael Snyder <msnyder@vmware.com>
12463
12464 gdb.reverse/consecutive-precsave.exp: Change expect pattern
12465 to allow for new disassembly style.
12466
9c419145
PP
124672009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12468
12469 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 12470
02506ff1
MS
124712009-10-22 Michael Snyder <msnyder@vmware.com>
12472
12473 * gdb.reverse/break-precsave.exp: New test.
12474 * gdb.reverse/consecutive-precsave.exp: Ditto.
12475 * gdb.reverse/finish-precsave.exp: Ditto.
12476 * gdb.reverse/i386-precsave.exp: Ditto.
12477 * gdb.reverse/machinestate-precsave.exp: Ditto.
12478 * gdb.reverse/sigall-precsave.exp: Ditto.
12479 * gdb.reverse/solilb-precsave.exp: Ditto.
12480 * gdb.reverse/step-precsave.exp: Ditto.
12481 * gdb.reverse/until-precsave.exp: Ditto.
12482 * gdb.reverse/watch-precsave.exp: Ditto.
12483
4cf866a3
MS
124842009-10-22 Michael Snyder <msnyder@vmware.com>
12485
12486 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
12487 for gdb_expect. Adjust one test's expect strings for the new
12488 format of disassemble.
12489 * gdb.reverse/finish-reverse.exp: Delete 'return'.
12490 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
12491 gdb_test_multiple.
12492 * gdb.reverse/step-reverse.exp: Delete 'return'.
12493 * gdb.reverse/until-reverse.exp: Delete blank lines.
12494 * gdb.reverse/watch-reverse.exp: Delete blank lines.
12495
2b28d209
PP
124962009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
12497
12498 * gdb.base/consecutive.exp: Adjust.
12499 * gdb.base/display.exp: Likewise.
12500 * gdb.base/pc-fp.exp: Likewise.
12501 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 12502
33b9c32b
MS
125032009-10-19 Michael Snyder <msnyder@vmware.com>
12504
12505 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
12506 * gdb.reverse/finish-reverse.c: Ditto.
12507 * gdb.reverse/sigall-reverse.c: Ditto.
12508 * gdb.reverse/solib-reverse.c: Ditto.
12509 * gdb.reverse/step-reverse.c: Ditto.
12510 * gdb.reverse/watch-reverse.c: Ditto.
12511
6c95b8df
PA
125122009-10-19 Pedro Alves <pedro@codesourcery.com>
12513 Stan Shebs <stan@codesourcery.com>
12514
12515 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
12516 * gdb.base/foll-exec.exp: Adjust to expect a process id before
12517 "Executing new program".
12518 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
12519 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
12520 left listed after having been killed.
12521 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
12522 * gdb.base/maint.exp: Adjust test.
12523
12524 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
12525 * gdb.multi/Makefile.in: New.
12526 * gdb.multi/base.exp: New.
12527 * gdb.multi/goodbye.c: New.
12528 * gdb.multi/hangout.c: New.
12529 * gdb.multi/hello.c: New.
12530 * gdb.multi/bkpt-multi-exec.c: New.
12531 * gdb.multi/bkpt-multi-exec.exp: New.
12532 * gdb.multi/crashme.c: New.
12533
279017b7
TG
125342009-10-13 Tristan Gingold <gingold@adacore.com>
12535
12536 * gdb.base/sepdebug.exp: Check debug info are found.
12537
0413d738
PA
125382009-10-08 Pedro Alves <pedro@codesourcery.com>
12539
12540 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
12541 bits.
12542
c628eecc
JK
125432009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12544
12545 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
12546
38af1bfe
JB
125472009-10-07 Joel Brobecker <brobecker@adacore.com>
12548
12549 * gdb.base/watchpoints.c: Add copyright header. Reformat one
12550 of the comments.
12551
2b0adecd
PM
125522009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
12553
12554 * gdb.base/annota1.exp: Remove obsolete match_max increase.
12555 * gdb.base/annota3.exp: Idem.
12556 * gdb.base/maint.exp: Idem.
12557
8d417781
PM
125582009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
12559
889bf7c5 12560 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
12561 to default.
12562
bb61102d
PM
125632009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12564
889bf7c5 12565 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
12566 mingw and cygwin targets.
12567
ace5c364
PM
125682009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12569 Pedro Alves <pedro@codesourcery.com>
12570
889bf7c5 12571 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
12572 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12573
c2d494a0
PM
125742009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12575
e1b52ce2
PM
12576 * gdb.base/shr1.c: Use %p in format string.
12577 * gdb.base/unload.c: Avoid warning in fprintf.
12578 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 12579
209f53f5
PM
125802009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12581
12582 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12583 long type.
12584 (test_unlink): Correct printf string.
12585 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12586 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12587
8172766a
JK
125882009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12589
12590 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12591 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12592 * gdb.arch/ia64-breakpoint-shadow.S: New file.
12593
0f73703c
UW
125942009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12595
12596 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12597 * gdb.objc/nondebug.exp: Likewise.
12598
b32306ca
UW
125992009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12600
12601 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12602 target_info setting.
12603
12604 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12605 that detect new threads during "info threads".
12606
0057022f
UW
126072009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12608
12609 * gdb.threads/manythreads.c (main): Increase thread stack size
12610 to 2*PTHREAD_STACK_MIN.
12611 * gdb.threads/multi-create.c (main): Likewise.
12612 (create_function): Likewise.
12613
f29c0325
UW
126142009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12615
12616 * gdb.base/dump.exp: Pass difference of pointer types instead
12617 of integer types as offset to restore in intarr3.srec case.
12618
fcb34849
UW
126192009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12620
12621 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12622
d5142e3b
UW
126232009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12624
12625 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12626
087b74b2 126272009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 12628
087b74b2
PM
12629 New test for two watchpoints, with disabling of
12630 the first inserted.
12631 * testsuite/gdb.base/watchpoints.c: New file.
12632 * testsuite/gdb.base/watchpoints.exp: New file.
12633
96c07c5b
TT
126342009-09-25 Tom Tromey <tromey@redhat.com>
12635
12636 * gdb.base/charset.exp: Test utf-16 strings with Python.
12637
b8899f2b
TT
126382009-09-25 Tom Tromey <tromey@redhat.com>
12639
12640 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12641 UCS-4.
12642 * gdb.base/charset.c (utf_32_string): Rename.
12643 (init_utf32): Rename.
12644 (main): Update.
12645
329719ec
TT
126462009-09-22 Tom Tromey <tromey@redhat.com>
12647
12648 * gdb.python/py-function.exp: Add regression tests.
12649
11ef0d76
KS
126502009-09-21 Keith Seitz <keiths@redhat.com>
12651
12652 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12653 with invalid operator.
12654
3fe8f3b3
KS
126552009-09-21 Keith Seitz <keiths@redhat.com>
12656
12657 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12658 and destructor using typedef name of class.
12659 * gdb.cp/classes.cc (class Base1): Add a destructor.
12660 (base1): New typedef.
12661 (use_methods): Instanitate an object of type base1.
12662 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12663 (do_tests): Call test_template_typedef.
12664 * gdb.cp/templates.cc (Baz::~Baz): New method.
12665 (intBazOne): New typedef.
12666 (main): Instantiate intBazOne.
12667
7a9fe101
PM
126682009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12669
12670 PR python/10633
12671
12672 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12673 Function.
12674 (run_lang_tests): Add print elements test.
12675
2e4d963f
PM
126762009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12677
12678 * gdb.python/py-value.exp (test_subscript_regression): New
12679 function. Test for invalid subscripts.
12680 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12681 (ptr_ref): New function.
12682
ec7e75e7
PP
126832009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12684
12685 * gdb.base/default.exp: Fix "show convenience".
12686
0cc7d26f
TT
126872009-09-15 Tom Tromey <tromey@redhat.com>
12688
12689 * lib/mi-support.exp (mi_create_varobj): Update.
12690 (mi_create_floating_varobj): Likewise.
12691 (mi_create_dynamic_varobj): New proc.
12692 (mi_varobj_update): Update.
12693 (mi_varobj_update_with_type_change): Likewise.
12694 (mi_varobj_update_kv_helper): New proc.
12695 (mi_varobj_update_dynamic_helper): Rewrite.
12696 (mi_varobj_update_dynamic): New proc.
12697 (mi_list_varobj_children): Update.
12698 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12699 * gdb.python/python-prettyprint.py (pp_outer): New class.
12700 (pp_nullstr): Likewise.
12701 (lookup_function): Register new printers.
12702 * gdb.python/python-prettyprint.c (struct substruct): New type.
12703 (struct outerstruct): Likewise.
12704 (substruct_test): New function.
12705 (struct nullstr): New type.
12706 (string_1, string_2): New globals.
12707 (main): Add new tests.
12708 * gdb.python/python-mi.exp: Added regression tests.
12709 * gdb.mi/mi2-var-display.exp: Update.
12710 * gdb.mi/mi2-var-cmd.exp: Update.
12711 * gdb.mi/mi2-var-child.exp: Update.
12712 * gdb.mi/mi2-var-block.exp: Update.
12713 * gdb.mi/mi-var-invalidate.exp: Update.
12714 * gdb.mi/mi-var-display.exp: Update.
12715 * gdb.mi/mi-var-cmd.exp: Update.
12716 * gdb.mi/mi-var-child.exp: Update.
12717 * gdb.mi/mi-var-block.exp: Update.
12718 * gdb.mi/mi-break.exp: Update.
12719 * gdb.mi/gdb701.exp: Update.
12720
a96d9b2e
SDJ
127212009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12722
12723 * Makefile.in: Inclusion of catch-syscall object.
12724 * gdb.base/catch-syscall.c: New file.
12725 * gdb.base/catch-syscall.exp: New file.
12726
b43b923a
MS
127272009-09-12 Michael Snyder <msnyder@vmware.com>
12728
12729 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12730 that can support reverse debuggnig.
12731
cec03d70
TT
127322009-09-11 Tom Tromey <tromey@redhat.com>
12733
12734 * gdb.dwarf2/valop.S: New file.
12735 * gdb.dwarf2/valop.exp: New file.
12736
e23bb3fc
MK
127372009-09-11 Mark Kettenis <kettenis@gnu.org>
12738
12739 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12740
37c3696d
DE
127412009-09-10 Doug Evans <dje@google.com>
12742
12743 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12744 Add $gdb_prompt to second breakpoint regexp.
12745
5172aecb
JB
127462009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
12747
12748 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12749 names, add missing ones.
12750 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12751 * gdb.python/py-frame.c: Rename from python-frame.c.
12752 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
12753 testfile name.
12754 * gdb.python/py-function.exp: Rename from python-function.exp.
12755 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
12756 testfile name.
12757 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12758 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12759 Adjust testfile name.
12760 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12761 * gdb.python/py-template.cc: Rename from python-template.cc.
12762 * gdb.python/py-template.exp: Rename from python-template.exp.
12763 Adjust testfile name.
12764 * gdb.python/py-value.c: Rename from python-value.c.
12765 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
12766 testfile name.
12767
b554e4bd
JK
127682009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12769
12770 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12771 $bpt2address.
12772 (Second breakpoint address is valid on ia64)
12773 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12774
9a68ae16
JM
127752009-09-03 Joseph Myers <joseph@codesourcery.com>
12776
12777 * gdb.base/ending-run.exp: Restrict regular expression matching
12778 line number to require closing brace following.
12779
146b9145
DE
127802009-09-03 Doug Evans <dje@google.com>
12781
12782 * gdb.base/store.exp (check_set): Fix typo in expected value message.
12783
787d21e1
TT
127842009-09-02 Tom Tromey <tromey@redhat.com>
12785
12786 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12787
e7802207
TT
127882009-09-02 Tom Tromey <tromey@redhat.com>
12789
12790 * gdb.dwarf2/callframecfa.exp: New file.
12791 * gdb.dwarf2/callframecfa.S: New file.
12792
817aadd2
JK
127932009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12794
12795 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12796 gdb.base/solib-overlap-main.c: New.
12797
4a76eae5
DJ
127982009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
12799
12800 PR gdb/10565
12801
12802 * gdb.base/bitfields.c (struct container, container): New.
12803 (main): Initialize it and call break5.
12804 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12805
d4b96c9a
JK
128062009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12807
12808 Support constant DW_AT_data_member_location by GCC PR debug/40659.
12809 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12810
4e22772d
JK
128112009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12812
12813 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12814
2efab443
MS
128152009-08-26 Michael Snyder <msnyder@vmware.com>
12816
12817 * gdb.base/i386-reverse.c: New file.
12818 * gdb.base/i386-reverse.exp: New file.
12819 * gdb.base/Makefile.in: Add new files to be removed.
12820
07ab73a0
JM
128212009-08-26 Joseph Myers <joseph@codesourcery.com>
12822
12823 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12824 environment-pwd for remote host.
12825 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12826
676accff
KS
128272009-08-24 Keith Seitz <keiths@redhat.com>
12828
12829 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12830 Add two new C++ completer tests which limit the output to a
889bf7c5 12831 given class.
676accff 12832
f9f7ad22
MS
128332009-08-24 Michael Snyder <msnyder@vmware.com>
12834
12835 * gdb.base/del.exp: Fix typo in comment.
12836 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12837
81ecdfbb
RW
128382009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12839
12840 * configure: Regenerate.
12841 * gdb.hp/configure: Likewise.
12842 * gdb.hp/gdb.aCC/configure: Likewise.
12843 * gdb.hp/gdb.base-hp/configure: Likewise.
12844 * gdb.hp/gdb.compat/configure: Likewise.
12845 * gdb.hp/gdb.defects/configure: Likewise.
12846 * gdb.hp/gdb.objdbg/configure: Likewise.
12847 * gdb.stabs/configure: Likewise.
12848
cab0c772
UW
128492009-08-19 Doug Evans <dje@google.com>
12850
12851 * gdb.base/gdbvars.c: New file.
12852 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12853
b8fa0bfa
PA
128542009-08-14 Pedro Alves <pedro@codesourcery.com>
12855
12856 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12857 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12858
b84aa90a
PA
128592009-08-13 Pedro Alves <pedro@codesourcery.com>
12860
12861 * gdb.base/default.exp: Adjust "set language test": it's now an
12862 enum command. Larger help string moved to "help set language".
12863 * gdb.base/help.exp: Adjust "help set language" expected output,
12864 now lists all known languages.
12865
0d8f9b2c
NF
128662009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12867
12868 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12869 all frame arguments.
12870 * gdb.arch/altivec-regs.exp: Likewise.
12871
bda180e0
TT
128722009-08-07 Tom Tromey <tromey@redhat.com>
12873
12874 * gdb.base/setshow.exp: Add tests for changes to set language, set
12875 check range, and set check type.
12876
48cb2d85
VP
128772009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12878
12879 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12880 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 12881 Call it.
48cb2d85 12882
1ea34204
UW
128832009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12884
12885 * configure.ac: Run gdb.cell tests when appropriate.
12886 * configure: Regenerate.
12887 * lib/cell.exp: New file.
12888 * gdb.cell: New directory.
12889 * gdb.cell/configure.ac: New file.
12890 * gdb.cell/configure: New file.
12891 * gdb.cell/Makefile.in: New file.
12892 * gdb.cell/arch.exp: New file.
12893 * gdb.cell/break.c: New file.
12894 * gdb.cell/break.exp: New file.
12895 * gdb.cell/break-spu.c: New file.
12896 * gdb.cell/bt.c: New file.
12897 * gdb.cell/bt2-spu.c: New file.
12898 * gdb.cell/bt-spu.c: New file.
12899 * gdb.cell/bt.exp: New file.
12900 * gdb.cell/coremaker.c: New file.
12901 * gdb.cell/coremaker-spu.c: New file.
12902 * gdb.cell/core.exp: New file.
12903 * gdb.cell/gcore.exp: New file.
12904 * gdb.cell/data.c: New file.
12905 * gdb.cell/data.exp: New file.
12906 * gdb.cell/data-spu.c: New file.
12907 * gdb.cell/ea-cache.exp: New file.
12908 * gdb.cell/ea-cache.c: New file.
12909 * gdb.cell/ea-cache-spu.c: New file.
12910 * gdb.cell/ea-standalone.c: New file.
12911 * gdb.cell/ea-standalone.exp: New file.
12912 * gdb.cell/ea-test.c: New file.
12913 * gdb.cell/ea-test.exp: New file.
12914 * gdb.cell/f-regs.exp: New file.
12915 * gdb.cell/mem-access.c: New file.
12916 * gdb.cell/mem-access.exp: New file.
12917 * gdb.cell/mem-access-spu.c: New file.
12918 * gdb.cell/ptype.exp: New file.
12919 * gdb.cell/registers.exp: New file.
12920 * gdb.cell/size.c: New file.
12921 * gdb.cell/sizeof.exp: New file.
12922 * gdb.cell/size-spu.c: New file.
12923 * gdb.cell/solib.exp: New file.
12924 * gdb.cell/solib-symbol.exp: New file.
12925
85e747d2
UW
129262009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12927
12928 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12929
58d6951d
DJ
129302009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12931
12932 * gdb.base/float.exp: Handle VFP registers.
12933
6e0a4f15
MS
129342009-07-14 Michael Snyder <msnyder@vmware.com>
12935
dcd5da87
MS
12936 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12937 to bring gdb to the beginning of the calling line.
12938
6e0a4f15
MS
12939 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12940 confusing the i386 epilogue unwinder.
12941
782b2b07
SS
129422009-07-14 Stan Shebs <stan@codesourcery.com>
12943
12944 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12945
f662c3bc
MS
129462009-07-14 Michael Snyder <msnyder@vmware.com>
12947
12948 * gdb.reverse/step-reverse.exp (stepi into function call):
12949 Call instruction may not be first instruction in the line.
12950 (reverse stepi from a function call): Used wrong line number.
12951
8f313923
JK
129522009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12953
12954 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12955
4662c76e
JK
129562009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12957
12958 Fix gdb.base/macscp.exp when using custom inputrc.
12959 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12960 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12961 env(TERM) set.
12962 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12963 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12964
aa81e255
JK
129652009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12966
12967 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12968 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12969 Change the compilation target to match the testcase name.
12970 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12971 testcase name.
12972 * a2-run.exp: Use for setup prepare_for_testing. Change the
12973 compilation target to match the testcase name.
12974 * gdb.base/commands.exp: Likewise.
12975 * gdb.base/finish.exp: Likewise.
12976 * gdb.base/float.exp: Likewise.
12977 * gdb.base/info-target.exp: Likewise.
12978 * gdb.base/relational.exp: Likewise.
12979 * gdb.base/term.exp: Likewise.
12980 * gdb.base/until.exp: Likewise.
12981 * gdb.base/volatile.exp: Likewise.
12982 * gdb.base/whatis-exp.exp: Likewise.
12983
4c93b1d7
HZ
129842009-07-11 Hui Zhu <teawater@gmail.com>
12985
12986 * gdb.base/help.exp (disassemble): Update expected help text.
12987
812f7342
TT
129882009-07-09 Tom Tromey <tromey@redhat.com>
12989
12990 * lib/gdb.exp: Handle TRANSCRIPT.
12991 (remote_spawn, remote_close, send_gdb): New procs.
12992
fbb8f299
PM
129932009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12994
12995 * gdb.python/python-prettyprint.c: Add counted null string
12996 structure.
12997 * gdb.python/python-prettyprint.exp: Print null string. Test for
12998 embedded nulls.
12999 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13000 * gdb.python/python-value.exp (test_value_in_inferior): Add
13001 variable length string fetch tests.
13002 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13003
c0ac0ec7
JK
130042009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13005
13006 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13007
30b66ecc
TT
130082009-07-07 Tom Tromey <tromey@redhat.com>
13009
13010 * gdb.base/call-rt-st.exp: Update for change to escape output.
13011 * gdb.base/callfuncs.exp: Likewise.
13012 * gdb.base/charset.exp: Likewise.
13013 * gdb.base/constvars.exp: Likewise.
13014 * gdb.base/long_long.exp: Likewise.
13015 * gdb.base/pointers.exp: Likewise.
13016 * gdb.base/printcmds.exp: Likewise.
13017 * gdb.base/setvar.exp: Likewise.
13018 * gdb.base/store.exp: Likewise.
13019 * gdb.cp/ref-types.exp: Likewise.
13020 * gdb.mi/mi-var-child.exp: Likewise.
13021 * gdb.mi/mi-var-display.exp: Likewise.
13022 * gdb.mi/mi2-var-display.exp: Likewise.
13023 * gdb.base/charset.exp: Test octal escape sequence length.
13024 Update for change to escape output.
13025
187c4a2b
JK
130262009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13027
13028 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13029
d80a43f9
DJ
130302009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13031
13032 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13033
047427a8
JK
130342009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13035
13036 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13037 gdbserver increasing $portnum if "Can't bind address" has been seen.
13038
8b5a0f4f
PA
130392009-07-05 Pedro Alves <pedro@codesourcery.com>
13040
13041 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13042 mingw32ce.
13043
7d93ba58
PA
130442009-07-05 Pedro Alves <pedro@codesourcery.com>
13045
13046 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13047 VFP format.
13048
2277426b
PA
130492009-07-02 Pedro Alves <pedro@codesourcery.com>
13050
13051 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13052 linux. Adjust to use "inferior", "info inferiors", "detach
13053 inferior" and "kill inferior" instead of "restart", "info fork",
13054 "detach fork" and "delete fork".
13055 * gdb.base/ending-run.exp: Spell out "info".
13056 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13057 the "kill" command.
13058
5af949e3
UW
130592009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13060
13061 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13062 change to prefix TLS offset in hex with 0x.
13063
5d3729b5
UW
130642009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13065
13066 * gdb.base/default.exp: Update test case for "x" changes.
13067
af589bd0
TG
130682009-07-01 Tristan Gingold <gingold@adacore.com>
13069
13070 * gdb.base/bigcore.exp: Make darwin untested.
13071
40974f91
JK
130722009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13073
13074 * gdb.base/completion.exp (directory completion): Create the directory.
13075 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13076 escapeuniquesub.
13077 (directory completion 2): Expect now ${escapeuniquesub}.
13078 (Glob remaining of directory test): Remove one excessive newline.
13079 Expect the real output.
13080
59dd3af6
JK
130812009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13082
13083 Fix `make check//%' target after `make check' has been ran.
13084 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13085 a mkdir call.
13086 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13087 (%/.dir): Remove.
13088
f4e164aa
JK
130892009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13090
13091 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13092 the expected result record.
13093
69af2122
JK
130942009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13095
13096 Remove racy FAILs relying just on the timeouts.
13097 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13098 (annotation_level 2): Remove racy FAILs.
13099
2fd481e1
PP
131002009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13101
13102 gdb/10275
889bf7c5
PA
13103 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13104
c38f313d
DJ
131052009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13106
13107 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13108
8b777f02
VP
131092009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13110
13111 * gdb.mi/mi-stack.exp: Testing symbolic options
13112 to -stack-list-locals and -stack-list-arguments.
13113
00c7eacf
JK
131142009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13115
13116 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13117
6bc80edc
TT
131182009-06-29 Tom Tromey <tromey@redhat.com>
13119
13120 * dg-extract-results.sh: New file.
13121 * Makefile.in (FORCE_PARALLEL): New variable.
13122 (CHECK_TARGET): New conditional variable.
13123 (check): Use CHECK_TARGET.
13124 (DO_RUNTEST): New variable.
13125 (check-single): New target.
13126 (TEST_DIRS): New variable.
13127 (TEST_TARGETS): Likewise.
13128 (check-parallel): New target.
13129 (check-gdb.%): New pattern.
13130 (BASE1_FILES): New variable.
13131 (BASE2_FILES): Likewise.
13132 (check-gdb.base%): New pattern.
13133 (%/.dir): New pattern.
13134 * configure: Rebuild.
13135 * aclocal.m4 (AM_CONDITIONAL): New defun.
13136 * configure.ac: Check whether user is using GNU make.
13137 (GMAKE): New conditional.
13138
794684b6
SW
131392009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13140
13141 * gdb.cp/namespace-nested-import.cc: New test.
13142 * gdb.cp/namespace-nested-import.exp: New test.
13143
edb3359d
DJ
131442009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13145
13146 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13147 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13148 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13149 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13150 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13151 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13152 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13153 gdb.opt/inline-markers.c: New files.
13154 * lib/gdb.exp (skip_inline_frame_tests): New function.
13155 (skip_inline_var_tests): New function.
13156
cf657a0c
AS
131572009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13158
13159 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13160 backtrace.
13161
28d41a99
MS
131622009-06-27 Michael Snyder <msnyder@vmware.com>
13163
13164 * gdb.reverse: New directory.
13165 * gdb.reverse/break-reverse.c: New test.
13166 * gdb.reverse/break-reverse.exp: New test.
13167 * gdb.reverse/consecutive-reverse.c: New test.
13168 * gdb.reverse/consecutive-reverse.exp: New test.
13169 * gdb.reverse/finish-reverse.c: New test.
13170 * gdb.reverse/finish-reverse.exp: New test.
13171 * gdb.reverse/machinestate.c: New test.
13172 * gdb.reverse/ms1.c: New test.
13173 * gdb.reverse/machinestate.exp: New test.
13174 * gdb.reverse/Makefile.in: New file.
13175 * gdb.reverse/shr2.c: New test.
13176 * gdb.reverse/solib-reverse.c: New test.
13177 * gdb.reverse/solib-reverse.exp: New test.
13178 * gdb.reverse/step-reverse.c: New test.
13179 * gdb.reverse/step-reverse.exp: New test.
13180 * gdb.reverse/until-reverse.c: New test.
13181 * gdb.reverse/ur1.c: New test.
13182 * gdb.reverse/until-reverse.exp: New test.
13183 * gdb.reverse/watch-reverse.c: New test.
13184 * gdb.reverse/watch-reverse.exp: New test.
13185 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13186 * configure: Regenerate.
13187
fe3c8b0d
DE
131882009-06-26 Doug Evans <dje@google.com>
13189
13190 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13191
3a72a602
PM
131922009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13193
13194 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13195 windows problem for 'file delete $binfile'.
13196
27aa8d6a
SW
131972009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13198
13199 * gdb.cp/namespace-using.exp: New test.
13200 * gdb.cp/namespace-using.cc: New test.
13201
8ac055f8
JB
132022009-05-20 Joel Brobecker <brobecker@adacore.com>
13203
13204 * gdb.ada/variant_record_packed_array: New testcase.
13205
85e306ed
TT
132062009-06-23 Tom Tromey <tromey@redhat.com>
13207
13208 * gdb.base/charset.exp (test_combination): Regression test.
13209 * gdb.base/charset.c (my_wchar_t): New typedef.
13210 (myvar): New global.
13211 (main): Set myvar.
13212
56643c5e
PM
132132009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13214
13215 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13216 target.
13217
1fac167a
UW
132182009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13219
13220 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13221
7ccb0be9
UW
132222009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13223
13224 * gdb.mi/gdb680.exp: Update test for error message.
13225
568d6575
UW
132262009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13227
13228 * gdb.base/annota1.exp: Allow multiple occurrences of the
13229 frames-invalid annotation.
13230 * gdb.cp/annota2.exp: Likewise.
13231
7cd1089b
PM
132322009-06-15 Phil Muldoon <pmuldoon@redhat.com>
13233
13234 * gdb.cp/gdb2495.cc: New file.
13235 * gdb.cp/gdb2495.exp: New file.
13236
72c63395
JK
132372009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13238
13239 Report error on GDB crash during runto.
13240 * lib/gdb.exp (runto <eof>): New.
13241
3788363d
DJ
132422009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
13243
13244 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13245 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13246 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13247 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13248 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13249 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13250 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13251 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13252 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13253 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13254 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
13255 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
13256 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13257 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
13258 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
13259 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
13260 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
13261 gdb.server/server-mon.exp, gdb.server/server-run.exp,
13262 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13263 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13264 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
13265 gdb.trace/passcount.exp, gdb.trace/report.exp,
13266 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
13267 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
13268 gdb.trace/while-stepping.exp: Use a unique name for the compiled
13269 executable.
13270
17592de3
PA
132712009-06-07 Pedro Alves <pedro@codesourcery.com>
13272
13273 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
13274 defined before referencing it.
13275
701e355d
DE
132762009-06-03 Doug Evans <dje@google.com>
13277
13278 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
13279 * gdb.arch/i386-see.c: Ditto.
13280
f2292c65
PM
132812009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
13282
13283 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
13284 (check_macro): Return 1 if undefined.
13285 If first test fails, check if macro debug information is available,
13286 and report unsupported test if no macro information is found.
13287
5a437975
DE
132882009-05-29 Doug Evans <dje@google.com>
13289
13290 * gdb.threads/hand-call-in-threads.exp: New.
13291 * gdb.threads/hand-call-in-threads.c: New.
13292
c141c696
MS
132932009-05-29 Michael Snyder <msnyder@vmware.com>
13294
13295 * gdb.base/break-always.exp: Change "1" to "on".
13296 Add confirmation check.
13297
b3444185
PA
132982009-05-28 Pedro Alves <pedro@codesourcery.com>
13299
13300 * gdb.threads/threxit-hop-specific.c: New.
13301 * gdb.threads/threxit-hop-specific.exp: New.
13302 * gdb.threads/thread-execl.c: New.
13303 * gdb.threads/thread-execl.exp: New.
13304
b6313243
TT
133052009-05-27 Tom Tromey <tromey@redhat.com>
13306 Thiago Jung Bauermann <bauerman@br.ibm.com>
13307
13308 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
13309 (mi_child_regexp): Likewise.
13310 (mi_list_varobj_children_range): Likewise.
13311 (mi_get_features): Likewise.
13312 (mi_list_varobj_children): Rewrite.
13313 * gdb.python/python-mi.exp: New file.
13314
a6bac58e
TT
133152009-05-27 Tom Tromey <tromey@redhat.com>
13316 Thiago Jung Bauermann <bauerman@br.ibm.com>
13317 Phil Muldoon <pmuldoon@redhat.com>
13318 Paul Pluzhnikov <ppluzhnikov@google.com>
13319
13320 * gdb.python/python-prettyprint.exp: New file.
13321 * gdb.python/python-prettyprint.c: New file.
13322 * gdb.python/python-prettyprint.py: New file.
13323 * gdb.base/display.exp: print/r is now valid.
13324
2c74e833
TT
133252009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
13326 Tom Tromey <tromey@redhat.com>
13327 Pedro Alves <pedro@codesourcery.com>
13328 Paul Pluzhnikov <ppluzhnikov@google.com>
13329
13330 * gdb.python/python-template.exp: New file.
13331 * gdb.python/python-template.cc: New file.
13332 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13333 tests.
13334 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13335 Call it.
13336 (test_value_after_death): New proc.
13337 * gdb.python/python-value.c (PTR): New typedef.
13338 (main): New variable 'x'.
13339
89c73ade
TT
133402009-05-27 Tom Tromey <tromey@redhat.com>
13341
13342 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13343 tests.
13344 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13345 Call it.
13346
a75724bc
PA
133472009-05-27 Pedro Alves <pedro@codesourcery.com>
13348
13349 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
13350
e58b0e63
PA
133512009-05-24 Pedro Alves <pedro@codesourcery.com>
13352
13353 * gdb.threads/fork-thread-pending.c: New.
13354 * gdb.threads/fork-thread-pending.exp: New.
13355
4ac36638
JK
133562009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13357
13358 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
13359 * gdb.dwarf2/dw2-strp.S (a_string2): New.
13360
889bf7c5 133612009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 13362
889bf7c5 13363 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 13364
b242c3c2
PA
133652009-05-17 Pedro Alves <pedro@codesourcery.com>
13366
13367 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
13368 `gdb_get_line_number'. Call `callee' in both parent and child.
13369 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
13370 `gdb_get_line_number' instead of hardcoding line numbers.
13371 (catch_fork_unpatch_child): New procedure to test detaching
13372 breakpoints from child fork.
13373 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
13374 hardcoding line numbers.
13375 (do_fork_tests): Run `catch_fork_unpatch_child'.
13376
ee342b23
VP
133772009-05-17 Vladimir Prus <vladimir@codesourcery.com>
13378
13379 * gdb.mi/mi-cmd-var.exp: Check that when varobj
13380 of structure type enters or leaves the scope, it
13381 is reported by -var-update.
13382
e2009e98
DE
133832009-05-11 Doug Evans <dje@sebabeach.org>
13384
13385 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 13386 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
13387 * gdb.threads/schedlock.c (main): Fix off-by-one error.
13388
00903456
JK
133892009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13390
13391 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
13392
dc621c35
DE
133932009-04-30 Doug Evans <dje@google.com>
13394
13395 * gdb.threads/watchthreads2.exp: New testcase.
13396 * gdb.threads/watchthreads2.c: New testcase.
13397
9ab4e744
DE
133982009-04-29 Doug Evans <dje@google.com>
13399
13400 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
13401 * gdb.cp/mb-ctor.cc: Ditto.
13402 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
13403 * gdb.cp/mb-inline.h (multi_line_foo): New function.
13404 * gdb.cp/mb-inline1.cc: Call it.
13405 * gdb.cp/mb-inline2.cc: Ditto.
13406 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
13407 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
13408
484086b7
JK
134092009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13410
13411 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
13412 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
13413 Replace all uses of `decimal' by `nonzero'.
13414 (info macro FROM_COMMANDLINE): New test.
13415
379a77b5
TT
134162009-04-27 Tom Tromey <tromey@redhat.com>
13417
13418 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
13419
b92b73c2
DE
134202009-04-27 Doug Evans <dje@google.com>
13421
13422 * gdb.threads/watchthreads.c (main): Initialize args before starting
13423 the threads. Plus formatting cleanup.
13424 * gdb.threads/watchthreads.exp: Avoid errant failures due to
13425 biased scheduling of one thread.
13426
945a118d
JG
134272009-04-27 Jerome Guitton <guitton@adacore.com>
13428
13429 * gdb.cp/templates.cc (GetMax): New template.
13430 (main): Declare two instances of GetMax.
13431 * gdb.cp/templates.exp: Add new test.
13432
d389af10
JK
134332009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13434
13435 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
13436
e7f86de9
JM
134372009-04-22 Joseph Myers <joseph@codesourcery.com>
13438
13439 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
13440
334cc82d
TT
134412009-04-15 Tom Tromey <tromey@redhat.com>
13442
13443 * gdb.base/charset.exp: Add regression test.
13444
d12672cc
JB
134452009-04-14 Joel Brobecker <brobecker@adacore.com>
13446
13447 * gdb.base/exe-lock.exp: New testcase.
13448
18e8c3bc
TT
134492009-04-13 Tom Tromey <tromey@redhat.com>
13450
13451 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
13452 operator on Frame.
13453
5ecd5cbe
UW
134542009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13455
13456 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
13457 * gdb.server/ext-attach.exp: Likewise.
13458
7309f756
VP
134592009-04-03 Vladimir Prus <vladimir@codesourcery.com>
13460
13461 Eliminate some sleep usage.
13462
889bf7c5
PA
13463 * gdb.mi/basics.c (do_nothing): New.
13464 (main): Use do_nothing instead of printf, so that
13465 not to introduce race condition between output of
13466 inferiour and output of gdb. Do not use sleep as it
13467 is not generally available on embedded targets.
7309f756 13468
f4b95f6f
PA
134692009-04-02 Pedro Alves <pedro@codesourcery.com>
13470
13471 * gdb.server/ext-attach.exp: Expect an optional process id after
13472 "Detached from remote process".
13473
de40b933
JK
134742009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13475
13476 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
13477 gdb.dwarf2/dw2-unresolved.exp: New.
13478
2ae101a4
PA
134792009-04-02 Pedro Alves <pedro@codesourcery.com>
13480
13481 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
13482 mi_run_to_main.
13483
56a8e183
PA
134842009-04-02 Pedro Alves <pedro@codesourcery.com>
13485
13486 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
13487 mi_run_to_main. Skip thread exit test on remote targets.
13488 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
13489 mi_run_to_main.
13490 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
13491 mi_run_to_main.
13492 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
13493 when expecting ^connected. Detect when the target doesn't support
13494 non-stop mode.
13495 (mi_run_cmd): Detect if non-stop mode was requested by isn't
13496 supported. Return -1 on error, 0 on success.
13497 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
13498 (mi_runto): Return mi_runto_helper's result explicitly.
13499
c35fafde
PA
135002009-04-01 Pedro Alves <pedro@codesourcery.com>
13501
13502 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
13503
f8a8dce6
JB
135042009-04-01 Tom Tromey <tromey@redhat.com>
13505
13506 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
13507 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
13508 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
13509 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
13510
71c25dea
TT
135112009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
13512 Jan Kratochvil <jan.kratochvil@redhat.com>
13513
13514 PR gdb/931
13515 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
13516 output.
13517 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
13518 for gdb/931.
13519 * dw2-strp.S (DW_AT_language): Change to C++.
13520 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
13521
02d9a9ce
JB
135222009-03-31 Joel Brobecker <brobecker@adacore.com>
13523
13524 * gdb.ada/tasks: New testcase.
13525
1042e4c0
SS
135262009-03-30 Stan Shebs <stan@codesourcery.com>
13527
13528 * gdb.trace/actions.exp: Update to match new info trace format.
13529 * gdb.trace/deltrace.exp: Ditto.
13530 * gdb.trace/infotrace.exp: Ditto.
13531 * gdb.trace/passcount.exp: Ditto.
13532 * gdb.trace/save-trace.exp: Ditto.
13533 * gdb.trace/while-stepping.exp: Ditto.
13534 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
13535
f8f6f20b
TJB
135362009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13537
13538 * gdb.python/python-frame.c: New file.
13539 * gdb.python/python-frame.exp: New file.
13540
c0c6f777
TJB
135412009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
13542
13543 * gdb.python/python-value.exp: Add tests for the address
13544 attribute.
13545
3cb51905
AS
135462009-03-29 Andreas Schwab <schwab@linux-m68k.org>
13547
13548 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
13549
88fc996f
DE
135502009-03-26 Doug Evans <dje@google.com>
13551
13552 * gdb.mi/mi-nonstop-exit.exp: New file.
13553 * gdb.mi/non-stop-exit.c: New file.
13554
56ef84b1
TT
135552009-03-26 Tom Tromey <tromey@redhat.com>
13556
13557 Update for change to prologue skipping:
13558 * gdb.mi/mi2-simplerun.exp: Update.
13559 * gdb.mi/mi2-break.exp: Update.
13560 * gdb.mi/mi-simplerun.exp: Update.
13561 * gdb.mi/mi-break.exp: Update.
13562 * gdb.base/ending-run.exp: Update.
13563
def2b000
TJB
135642009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
13565
13566 * gdb.python/python-value.exp (test_value_in_inferior): Test
13567 gdb.Value.is_optimized_out attribute.
13568
442ddf59
JK
135692009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13570
13571 * gdb.dwarf2/dw2-noloc-main.c: New file.
13572 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13573 (.text): Remove.
13574 (.data): New.
13575 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13576 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13577 (DW_TAG_subprogram func_cu1, noloc): Remove.
13578 (main): New.
13579 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13580 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
13581 (file_symbols): New procedure.
13582
a8df5de4
TT
135832009-03-25 Tom Tromey <tromey@redhat.com>
13584
13585 * gdb.base/charset.exp (valid_target_charset): New proc.
13586 Use it to skip tests on invalid charsets.
13587
cc1d7add
PM
135882009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
13589
13590 * gdb.base/completion.exp: Add a test for directory completion.
13591
bcd5727b
JK
135922009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13593
13594 Fix a racy FAIL.
13595 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13596 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13597
cc924cad
TJB
135982009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
13599
13600 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13601 * gdb.python/python-function.exp: Add test for function returning
13602 a GDB value.
13603
bc3b79fd
TJB
136042009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
13605
13606 * gdb.python/python-function.exp: New file.
13607
6c7a06a3
TT
136082009-03-20 Tom Tromey <tromey@redhat.com>
13609
13610 * gdb.base/store.exp: Update for change to escape output.
13611 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13612 to escape output.
13613 * gdb.base/pointers.exp: Update for change to escape output.
13614 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13615 to escape output.
13616 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13617 escape output.
13618 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13619 to escape output.
13620 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13621 escape output.
13622 * gdb.base/setvar.exp: Update for change to escape output.
13623 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13624 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13625 to escape output.
13626 (test_print_string_constants): Likewise.
13627 * gdb.base/charset.exp (valid_host_charset): Check size of
13628 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13629 cases. Handle "auto"-related output.
13630 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13631 (uvar, Uvar): New globals.
13632
c31af87b
JG
136332009-03-19 Jerome Guitton <guitton@adacore.com>
13634
13635 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13636 deltas.
13637 * gdb.ada/fixed_points.exp: Ditto.
13638
51272cf2
PA
136392009-03-18 Pedro Alves <pedro@codesourcery.com>
13640
13641 * return-nodebug.c: Don't include stdio.h.
13642 (init): Delete.
13643 (func): Delete definition and provide extern declaration.
13644 (t): New.
13645 (main): Don't call printf. Call func and store its result in t.
13646 * return-nodebug1.c: New.
13647 * return-nodebug.exp: Don't expect stdio output. Instead, print
13648 the global variable t. Drop printf formatters and cast types from
13649 foreach loop. Don't use prepare_for_testing. Compile
13650 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13651 define FORMAT or CAST.
13652
d24948ac
PP
136532009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13654
13655 * gdb.base/solib-display.exp: Disable test for remote targers.
13656
61ff14c6
JK
136572009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13658
13659 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13660
cb4dce93
JK
136612009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13662
13663 Fix a racy FAIL.
13664 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13665 code from `follow parent, print pids'.
13666 (`follow child, print pids', `follow parent, print pids'): Call it.
13667 Replace `gdb_test "break..."' by gdb_breakpoint.
13668
f7c60c5e
VP
136692009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13670
13671 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 13672 sync and async modes.
f7c60c5e 13673
383ace49
JB
136742009-03-12 Joel Brobecker <brobecker@adacore.com>
13675
13676 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13677 that was checked in by mistake. Remove loading of ada.exp, since
13678 this is not necessary in this case.
13679
4ce102af
JB
136802009-03-12 Joel Brobecker <brobecker@adacore.com>
13681
13682 * gdb.ada/ptype_arith_binop.exp: New testcase.
13683
529a2aef
JB
136842009-03-12 Joel Brobecker <brobecker@adacore.com>
13685
13686 * gdb.ada/mod_from_name: New testcase.
13687
8a38181c
JB
136882009-03-12 Joel Brobecker <brobecker@adacore.com>
13689
13690 * gdb.ada/tick_last_segv: New testcase.
13691
11436dee
VP
136922009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13693
61ff14c6 13694 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 13695
1f31650a
VP
136962009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13697
61ff14c6
JK
13698 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13699 include the token in ^running and frame info in *stopped.
1f31650a 13700
a3247a22
PP
137012009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13702
13703 * solib-display.exp: New file.
13704 * solib-display-main.c: New file.
13705 * solib-display-lib.c: New file.
61ff14c6 13706
aae64587
PA
137072009-03-05 Pedro Alves <pedro@codesourcery.com>
13708
13709 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13710
44aabfbc
JK
137112009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13712
13713 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13714 (list_and_check_macro): Use more specific test name.
13715 (next to definition): Make the test names unique.
13716
c087fcd3
PM
137172009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13718
13719 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 13720
c86cf029
VP
137212009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13722
13723 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13724 notifications.
13725 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13726 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13727 * lib/mi-support.exp (library_loaded_re): New.
13728 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13729
3ea85240
VP
137302009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13731
13732 * gdb.gdb/observer.exp: Use test_notification observer, not
13733 normal_stop, everywhere.
13734 (test_normal_stop_notifications): Rename to...
13735 (test_notifications): ...this.
13736 (test_observer_normal_stop): Rename to...
13737 (test_observer): ...this.
13738
1903f0e6
DE
137392009-02-16 Doug Evans <dje@google.com>
13740
13741 * gdb.arch/amd64-disp-step.S (test_int3): New test.
13742 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13743 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13744 (test_prefixed_syscall,test_int3): New tests.
13745 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13746 (test_prefixed_syscall,test_int3): New tests.
13747
1d33d6ba
VP
137482009-02-14 Vladimir Prus <vladimir@codesourcery.com>
13749
3cb51905
AS
13750 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13751 (mi_expect_interrupt): Likewise.
13752 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13753 response.
1d33d6ba 13754
faafb047
PM
137552009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13756
13757 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13758 * gdb.base/pc-fp.exp (get_valueofx): Remove.
13759 Replace calls to get_valueofx by get_hexadecimal_valueof.
13760
417e16e2
PM
137612009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13762
13763 * lib/gdb.exp (get_valueof): Accept anything as a return value.
13764 (get_integer_valueof): New procedure.
13765 (get_sizeof): Use new get_integer_value_of.
13766 * gdb.base/sizeof.exp: Replace all uses of get_valueof
13767 by get_integer_valueof.
13768
7065b901
TT
137692009-02-13 Tom Tromey <tromey@redhat.com>
13770
13771 * gdb.base/remote.exp (get_sizeof): Remove.
13772 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13773 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13774 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13775 * lib/gdb.exp (get_valueof): Move from long_long.exp.
13776 (get_sizeof): Likewise.
13777
5d7cb8df
JK
137782009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13779
13780 PR fortran/9806
13781 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13782
b2febfff
PP
137832009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13784
13785 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13786
4aa995e1
PA
137872009-02-06 Pedro Alves <pedro@codesourcery.com>
13788
13789 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13790
d8906c6f
TJB
137912009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13792
13793 * gdb.python/python-cmd.exp: New file.
13794
ff4ab08d
TG
137952009-02-06 Tristan Gingold <gingold@adacore.com>
13796
13797 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13798
aacd552b
TG
137992009-02-05 Tristan Gingold <gingold@adacore.com>
13800
13801 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13802 pointer is dereferenced and use this signal name in regexp.
13803 * gdb.base/signull.exp: Ditto.
13804 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13805 * gdb.base/signull.c (main): Ditto.
13806
08c637de
TJB
138072009-02-04 Tom Tromey <tromey@redhat.com>
13808 Thiago Jung Bauermann <bauerman@br.ibm.com>
13809
13810 * gdb.python/python-value.exp: Use `gdb.history' instead of
13811 `gdb.value_from_history'.
13812 (test_value_numeric_ops): Add test for conversion of enum constant.
13813 * gdb.python/python-value.c (enum e): New type.
13814 (evalue): New global.
13815 (main): Use argv.
13816
20261af8
JG
138172009-02-04 Jerome Guitton <guitton@adacore.com>
13818
13819 * gdb.ada/uninitialized_vars: New test program.
13820 * gdb.ada/uninitialized_vars.exp: New testcase.
13821
52e44b43
TT
138222009-02-02 Tom Tromey <tromey@redhat.com>
13823
13824 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13825 * gdb.cp/pr2489.cc: Rename...
13826 * gdb.cp/pr9594.cc: ... to this.
13827
1c71341a
TT
138282009-02-02 Tom Tromey <tromey@redhat.com>
13829
13830 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13831 * gdb.cp/pr2489.cc: New file.
13832 * gdb.cp/cpcompletion.exp: New file.
13833
a4295225
TT
138342009-02-02 Tom Tromey <tromey@redhat.com>
13835
13836 PR exp/9059:
13837 * gdb.cp/call-c.exp: Add regression test.
13838 * gdb.cp/call-c.cc (FooHandle): New typedef.
13839 (main): New variable 'handle'.
13840
592375cd
VP
138412009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13842
13843 * lib/mi-support.exp (et_mi_thread_list)
13844 (check_mi_and_console_threads): Adjust for current thread in
13845 -thread-list-ids output.
13846
41447f92
VP
138472009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13848
889bf7c5
PA
13849 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13850 Call it.
41447f92 13851
35669430
DE
138522009-01-28 Doug Evans <dje@google.com>
13853
13854 * gdb.arch/amd64-disp-step.S: New file.
13855 * gdb.arch/amd64-disp-step.exp: New file.
13856 * gdb.arch/i386-disp-step.S: New file.
13857 * gdb.arch/i386-disp-step.exp: New file.
13858
09f00d9a
PM
138592009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13860
13861 * gdb.base/find.exp: Set newline variable
13862 using quotes instead of braces to fix cygwin failures.
13863
1e8fb976
PA
138642009-01-23 Pedro Alves <pedro@codesourcery.com>
13865
13866 * gdb.base/radix.exp: Add tests to ensure that that set
13867 input-radix 0 and set output-radix 0 are really rejected.
13868
da061712
PA
138692009-01-23 Pedro Alves <pedro@codesourcery.com>
13870
13871 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13872 copyright years.
13873
dd7e2d2b
PA
138742009-01-23 Pedro Alves <pedro@codesourcery.com>
13875
13876 PR gdb/9664:
13877 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13878
392452f6
PA
138792009-01-22 Pedro Alves <pedro@codesourcery.com>
13880
13881 PR c++/9631:
13882 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13883
8653e71c
PM
138842009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13885
13886 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13887 binfile definition to fix Windows OS failure.
13888
a12cc160
DJ
138892009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13890
13891 PR gdb/9346
13892 * gdb.base/interrupt.c (sigint_handler): New.
13893 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13894 on error.
13895 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13896 Test "signal SIGINT".
13897
b89667eb
DE
138982009-01-19 Doug Evans <dje@google.com>
13899
13900 * gdb.base/break.exp: Update expected gdb output.
13901 * gdb.base/sepdebug.exp: Ditto.
13902 * gdb.mi/mi-syn-frame.exp: Ditto.
13903 * gdb.mi/mi2-syn-frame.exp: Ditto.
13904 * gdb.base/call-signal-resume.exp: New file.
13905 * gdb.base/call-signals.c: New file.
13906 * gdb.base/unwindonsignal.exp: New file.
13907 * gdb.base/unwindonsignal.c: New file.
13908 * gdb.threads/interrupted-hand-call.exp: New file.
13909 * gdb.threads/interrupted-hand-call.c: New file.
13910 * gdb.threads/thread-unwindonsignal.exp: New file.
13911
adb483fe
DJ
139122009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13913
13914 * gdb.base/define.exp: Test defining and hooking prefix commands.
13915 * gdb.python/python.exp: Update test for "show user" output.
13916
60023297
JK
139172009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13918
13919 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13920 now the output exactly, using less wildcards. Expect also the output
13921 of gfortran-4.3. Update for the f-valprint.c modification from
13922 2008-04-22.
13923 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13924 Remove gdb_test test names where matching the command.
13925
ccc57cf9
PA
139262009-01-01 Pedro Alves <pedro@codesourcery.com>
13927
13928 PR breakpoints/9681:
13929 * gdb.base/watchpoint.exp: Add regression test.
13930
c7a6ca08
PA
139312008-12-31 Pedro Alves <pedro@codesourcery.com>
13932
13933 * gdb.threads/attach-into-signal.exp: Don't use
13934 gdb_suppress_entire_file.
13935 * gdb.threads/attach-stopped.exp: Ditto.
13936 * gdb.threads/attachstop-mt.exp: Ditto.
13937
3a031f65
PA
139382008-12-31 Pedro Alves <pedro@codesourcery.com>
13939
13940 PR gdb/8812:
13941 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13942
09e6485f
PA
139432008-12-29 Pedro Alves <pedro@codesourcery.com>
13944
13945 PR gdb/7536:
13946 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13947 and unsupported output radices are really rejected.
13948
0cd53049
JK
139492008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13950
13951 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13952
ba163c7e
TT
139532008-12-22 Tom Tromey <tromey@redhat.com>
13954
13955 * gdb.cp/punctuator.exp: New file.
13956
6f4de6c9
JK
139572008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13958
13959 * gdb.base/completion.exp (Completing non-existing component): New test.
13960
0f34d0b4
JK
139612008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13962
13963 Fix for PR gdb/8648.
13964 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13965 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13966 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13967 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13968
db2ad4c3
JK
139692008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13970
13971 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13972
bb5ef15e
DP
139732008-12-16 Christophe Lyon <christophe.lyon@st.com>
13974
13975 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13976 compiler actually generate code at the expected line number.
13977
90142adc
JZ
139782008-12-15 Jie Zhang <jie.zhang@analog.com>
13979
13980 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13981
fad6eecd
TT
139822008-12-12 Tom Tromey <tromey@redhat.com>
13983
13984 * gdb.base/commands.exp (redefine_hook_test): New proc.
13985 Call it.
13986
17c8aaf5
TT
139872008-12-11 Tom Tromey <tromey@redhat.com>
13988
13989 * gdb.base/macscp.exp: New regression test.
13990
7c8adf68
TT
139912008-12-11 Tom Tromey <tromey@redhat.com>
13992
13993 * gdb.base/macscp.exp: Print "address.addr".
13994 * gdb.base/macscp1.c (struct outer): New struct.
13995 (address): New global.
13996
b05dcbb7
TT
139972008-12-09 Tom Tromey <tromey@redhat.com>
13998
13999 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14000 Call it.
14001
2d476de1
DE
140022008-12-04 Doug Evans <dje@google.com>
14003
14004 * gdb.server/ext-run.exp: Relax regexp for init program.
14005
87bdc959
TG
140062008-12-03 Tristan Gingold <gingold@adacore.com>
14007
14008 * gdb.base/macscp.exp: Generate an object file during compilation
14009 to work around Darwin dsymutil limitations.
14010
e0740f77
JK
140112008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14012
14013 Test resolving external references to TLS variables.
14014 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14015 FILE2_THREAD_LOCAL.
14016 (testfile2, srcfile2): New variables.
14017 * gdb.threads/tls.c (file2_thread_local)
14018 (function_referencing_file2_thread_local): New.
14019 * gdb.threads/tls2.c: New file.
14020
67f0aac5
JB
140212008-11-28 Joel Brobecker <brobecker@adacore.com>
14022
14023 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
14024 rather than integer, as integer might not be big enough when
14025 on 64bit targets.
67f0aac5 14026
c332165e
JG
140272008-11-27 Jerome Guitton <guitton@adacore.com>
14028
14029 * gdb.cp/formatted-ref.exp: Add equality test.
14030 * gdb.ada/formatted_ref.exp: Ditto.
14031
fc9b693c
JK
140322008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14033
14034 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14035 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14036
a9c64011
AS
140372008-11-20 Andreas Schwab <schwab@suse.de>
14038
14039 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14040 matching syscall entry point.
14041 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14042 (tcatch_vfork_then_child_follow): Likewise. Finish through
14043 vfork even if we stopped at the syscall trampoline.
14044
e2fd701e
DE
140452008-11-20 Doug Evans <dje@google.com>
14046
14047 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14048
69abc51c
TJB
140492008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14050
14051 * gdb.arch/ppc-dfp.exp: New file.
14052 * gdb.arch/ppc-dfp.c: New file.
14053
c14c28ba
PP
140542008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14055
14056 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 14057
2e74121d
DE
140582008-11-17 Doug Evans <dje@google.com>
14059
14060 * gdb.mi/mi-syn-frame.exp: Update expected output.
14061 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14062
66bb093b
VP
140632008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14064
14065 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
14066 "thread N" results in =thread-selected.
14067 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14068 (mi_send_resuming_command_raw): Be prepared for
14069 =thread-selected.
14070
3d043ef6
VP
140712008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14072
a9c64011
AS
14073 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14074 * lib/mi-support.exp: Likewise.
3d043ef6 14075
808104c8
JB
140762008-11-16 Joel Brobecker <brobecker@adacore.com>
14077
14078 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14079 commands from the expected output for "help catch".
14080
00b22944
JB
140812008-11-15 Joel Brobecker <brobecker@adacore.com>
14082
14083 * gdb.ada/int_deref.exp: New testcase.
14084
59669435
TT
140852008-11-14 Nick Roberts <nickrob@snap.net.nz>
14086
14087 * gdb.mi/gdb2549.exp: New file.
14088
de04a248
DE
140892008-11-11 Doug Evans <dje@google.com>
14090
14091 * gdb.base/callexit.exp: New file.
14092 * gdb.base/callexit.c: New file.
14093
6b8ce727
DE
140942008-11-10 Doug Evans <dje@google.com>
14095
14096 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14097 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14098 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14099 (default_gdb_start,default_gdb_exit): Ditto.
14100 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14101 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14102 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14103 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14104 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14105 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14106
1b14b8aa
AS
141072008-11-03 Andreas Schwab <schwab@suse.de>
14108
14109 * gdb.base/hashline2.exp: Fix typo.
14110 * gdb.base/hashline3.exp: Likewise.
14111
f3134b88
TT
141122008-10-30 Tom Tromey <tromey@redhat.com>
14113
14114 * gdb.base/pointers.exp: Add test.
14115 * gdb.base/pointers.c (k, S): New typedefs.
14116 (instance): New global.
14117
c2226152
AS
141182008-10-30 Andreas Schwab <schwab@suse.de>
14119
14120 * gdb.base/args.exp: Add tests for newlines.
14121
462f405c
JB
141222008-10-30 Joel Brobecker <brobecker@adacore.com>
14123
14124 gdb.base/foll-exec.exp: Update the expected output of a couple
14125 of "info breakpoints" tests.
14126
79a45b7d
TT
141272008-10-28 Tom Tromey <tromey@redhat.com>
14128
14129 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14130
adc13a14
PA
141312008-10-24 Pedro Alves <pedro@codesourcery.com>
14132
14133 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14134 gdb_start_cmd.
14135 Use runto_main before any test that requires execution.
14136
252fbfc8
PA
141372008-10-23 Pedro Alves <pedro@codesourcery.com>
14138
14139 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14140 instead of SIGINT.
14141
28148e3d
JB
141422008-10-22 Joel Brobecker <brobecker@adacore.com>
14143
14144 * gdb.base/completion.exp: Update expected output following
14145 the addition of the "info tasks" command.
14146
c209f847
TT
141472008-10-22 Tom Tromey <tromey@redhat.com>
14148
14149 * gdb.base/exprs.exp (test_expr): Add test for string
14150 concatenation.
14151
f177e350
PA
141522008-10-19 Pedro Alves <pedro@codesourcery.com>
14153
14154 * configure.ac: Output gdb.python/Makefile.
14155 * configure: Regenerate.
14156 * gdb.python/Makefile.in: New.
14157
cce89356
JB
141582008-10-16 Joel Brobecker <brobecker@adacore.com>
14159
14160 * gdb.base/foll-fork.exp: Adjust the expected output to match
14161 the new description for fork/vfork catchpoints in the "info
14162 breakpoints" output.
14163
176d289d
TJB
141642008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14165
14166 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14167
a08702d6
TJB
141682008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14169
14170 * gdb.python/python-value.c: New file.
14171 * gdb.python/python-value.exp: New file.
14172
1c5cfe86
PA
141732008-10-15 Pedro Alves <pedro@codesourcery.com>
14174
14175 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14176
5a98ad69
DP
141772008-10-15 Denis Pilat <denis.pilat@st.com>
14178
41702f1b 14179 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 14180
dcb1a1e2
TT
141812008-10-09 Tom Tromey <tromey@redhat.com>
14182
14183 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14184 'fprintf' and 'stderr'.
14185
9124fe48
JB
141862008-10-07 Joel Brobecker <brobecker@adacore.com>
14187
14188 * gdb.ada/ref_tick_size.exp: New testcase.
14189
45452591
DE
141902008-10-06 Doug Evans <dje@google.com>
14191
14192 * gdb.dwarf2/dw2-cu-size.exp: New file.
14193 * gdb.dwarf2/dw2-cu-size.S: New file.
14194
14195 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14196 .Ltype_int for clarity.
14197
4fc5b208
PP
141982008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14199
14200 PR gdb/2384:
14201 * gdb.cp/gdb2384.exp: Extended to test more cases.
14202 * gdb.cp/gdb2384.cc: Likewise.
14203 * gdb.cp/gdb2384-base.h: Likewise.
14204 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 14205
d78df370
JK
142062008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14207
14208 * gdb.base/maint.exp (maint print type): Remove printing
14209 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14210
9a044a89
TT
142112008-09-30 Tom Tromey <tromey@redhat.com>
14212
14213 * gdb.base/macscp.exp: Add completion tests.
14214 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14215 (TWENTY_THREE): Likewise.
14216 (FORTY_EIGHT): Likewise.
14217
506800a9
TT
142182008-09-30 Tom Tromey <tromey@redhat.com>
14219
14220 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14221 everywhere.
14222 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14223
1a6f01b5
JK
142242008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14225
14226 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14227 testcase is derived from. Fix racy dependency on an expected PID
14228 number. No longer support the testcase on Linux kernel 2.4.x.
14229
2fae03e8
TT
142302008-09-27 Tom Tromey <tromey@redhat.com>
14231
14232 * gdb.base/macscp.exp: Add tests for stringification, splicing,
14233 and varargs.
14234
1ad15515
PA
142352008-09-22 Pedro Alves <pedro@codesourcery.com>
14236
14237 * lib/mi-support.exp (mi_expect_interrupt): New.
14238 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14239 from gdb.mi/mi-nonstop.exp.
14240 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14241 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14242 lib/mi-support.exp.
14243 Use mi_check_thread_states throughout. Avoid ".*" and do not
14244 require an anchor after -exec-run.
14245
d0b76dc6
DJ
142462008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
14247
14248 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14249 stop is pending. Avoid ".*" when two stops are pending.
14250 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14251 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14252 newlines in fullnames.
14253 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14254 (mi_expect_stop): Update comments. Only anchor in sync mode.
14255 Do not match newlines.
14256 (mi_send_resuming_command_raw): Always return status.
14257 (mi_get_stop_line): Do not match more than one line by accident.
14258 Only anchor in sync mode.
14259 (mi_run_inline_test): If -exec-next fails, give up.
14260
9990c830
UW
142612008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14262
14263 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
14264 on SPU.
14265
ebcf6f00
JB
142662008-09-10 Joel Brobecker <brobecker@adacore.com>
14267
14268 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
14269
b6db24e5
JB
142702008-09-10 Joel Brobecker <brobecker@adacore.com>
14271
14272 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
14273 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
14274 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
14275 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
14276 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
14277 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
14278 gdb.ada/interface.exp, gdb.ada/null_array.exp,
14279 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
14280 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
14281 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
14282 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
14283 Include the "= " sequence in the expected output of print tests.
14284
2bf448e0
JB
142852008-09-10 Joel Brobecker <brobecker@adacore.com>
14286
14287 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
14288 description for boolean types.
14289
d51fd4c8
PA
142902008-09-09 Pedro Alves <pedro@codesourcery.com>
14291
14292 * gdb.base/hook-stop-continue.c: New.
14293 * gdb.base/hook-stop-continue.exp: New.
14294
694182d2
DJ
142952008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
14296
14297 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
14298
3b8a7fc0
JG
142992008-09-08 Jerome Guitton <guitton@adacore.com>
14300
14301 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
14302 (stack_check_probe_2, stack_check_probe_loop_1)
14303 (stack_check_probe_loop_2): New functions.
14304 (main): Add call to these new functions.
14305 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
14306 functions, check that the breakpoint is inserted at the appropriate
14307 location.
14308 (insert_breakpoint): Slightly refine this procedure so that it can
14309 be called several times in the test.
14310
96cc0ae8
JG
143112008-09-08 Jerome Guitton <guitton@adacore.com>
14312
14313 * gdb.base/stack-checking.c: New file.
14314 * gdb.base/stack-checking.exp: New file.
14315
1f08b409
TJB
143162008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14317
14318 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
14319 * gdb.arch/altivec-regs.exp: Likewise.
14320 * gdb.arch/vsx-regs.exp: Likewise.
14321
3099e1c4
TJB
143222008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14323
14324 * gdb.arch/ppc-fp.exp: New file.
14325 * gdb.arch/ppc-fp.c: New file.
14326
cc69bfc1
PP
143272008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14328
14329 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
14330 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 14331
b02a33db
MS
143322008-09-04 Michael Snyder <msnyder@vmware.com>
14333
14334 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
14335 as "at" (for non-debug functions such as _start).
14336
2992cbe0
UW
143372008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14338
14339 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
14340 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
14341 software watchpoints.
14342 * gdb.base/watch_thread_num.exp: Likewise.
14343
514f746b
AR
143442008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
14345
14346 * gdb.arch/i386-bp_permanent.exp: New test.
14347
876cecd0
TT
143482008-08-24 Tom Tromey <tromey@redhat.com>
14349
14350 * gdb.base/maint.exp: Update "maint print type".
14351
80f73d71
VP
143522008-08-21 Vladimir Prus <vladimir@codesourcery.com>
14353
14354 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
14355 support. Adjust the order of "*running" notifications.
14356 * gdb.mi/non-stop.c: Don't cast from int to void* and
14357 back.
14358
d9c78d7d
MK
143592008-08-20 Mark Kettenis <kettenis@gnu.org>
14360
14361 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
14362 expect to find it in the "info frame" output.
14363
97a2d1d3
DJ
143642008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
14365
14366 * gdb.base/interp.exp: Always consume both prompts.
14367
b96e2927
PA
143682008-08-20 Pedro Alves <pedro@codesourcery.com>
14369
14370 * gdb.base/pending.exp: Test pending breakpoints without symbols
14371 loaded.
14372
8cf6e61a
VP
143732008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14374
14375 * lib/mi-support.exp (mi_expect_stop): Produce
14376 more details on failures.
14377 * gdb.mi/mi-nonstop.exp: New.
14378 * gdb.mi/non-stop.c: New.
14379
c6ebd6cf
VP
143802008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14381
a9c64011
AS
14382 * gdb.mi/mi-async.exp: Use 'set target-async'.
14383 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 14384
46a9b8ed
DJ
143852008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
14386
14387 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
14388
44feb3ce
TT
143892008-08-17 Tom Tromey <tromey@redhat.com>
14390
14391 * gdb.base/help.exp (help catch): Rewrite.
14392
311a4e6b
TJB
143932008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14394
14395 * gdb.base/define.exp: Test indented command documentation.
14396 * gdb.python/python.exp: Test indented multi-line command.
14397
604c2f83
LM
143982008-08-15 Luis Machado <luisgpm@br.ibm.com>
14399
14400 * testsuite/gdb.arch/vsx-regs.c: New source file.
14401 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
14402 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
14403
886a217c
TT
144042008-08-14 Tom Tromey <tromey@redhat.com>
14405
14406 * gdb.base/macscp.exp: Add regression test for "macro define" or
14407 "macro undef" with no arguments.
14408
c814a4f3
PP
144092008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14410
14411 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 14412
12ab8a60
UW
144132008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14414
14415 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
14416
d57a3c85
TJB
144172008-08-06 Tom Tromey <tromey@redhat.com>
14418
14419 * gdb.python/python.exp: New file.
14420
c7b778ff
JK
144212008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14422
14423 Fix for PR gdb/1543.
14424 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
14425 $LOCATION.
14426 (location): New variable.
14427 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
14428 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
14429 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
14430 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
14431 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
14432 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
14433 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
14434 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
14435 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
14436 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
14437 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
14438 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
14439 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
14440 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
14441 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14442 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
14443 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
14444 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
14445 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
14446 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14447 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
14448 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
14449 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
14450 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
14451 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
14452 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
14453 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
14454 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
14455 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
14456 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
14457 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
14458 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
14459 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
14460 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
14461 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
14462 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
14463 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
14464 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14465 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
14466 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
14467 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
14468 gdb.base/type-opaque.exp, gdb.base/until.exp,
14469 gdb.base/value-double-free.c, gdb.base/varargs.exp,
14470 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
14471 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
14472 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
14473 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
14474 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
14475 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
14476 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
14477 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
14478 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
14479 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
14480 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
14481 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
14482 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
14483 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
14484 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
14485 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14486 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
14487 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
14488 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
14489 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14490 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
14491 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
14492 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
14493 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
14494 gdb.pascal/types.exp, gdb.stabs/weird.exp,
14495 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
14496 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
14497 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
14498 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
14499 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
14500 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
14501 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14502 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14503 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14504 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14505 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14506 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14507 lib/mi-support.exp, lib/trace-support.exp: Remove reference
14508 to bug-gdb@prep.ai.mit.edu .
14509
5e06a3d1
VP
145102008-07-31 Vladimir Prus <vladimir@codesourcery.com>
14511
14512 * lib/mi-support.exp (mi_load_shlibs): New.
14513 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
14514
9d81d21b
VP
145152008-07-30 Vladimir Prus <vladimir@codesourcery.com>
14516
14517 * lib/mi-support.exp (get_mi_thread_list)
14518 (check_mi_and_console_threads): New, moved from ...
14519 * gdb.mi/mi-pthread.exp: ...here.
14520 * gdb.mi/gdb669.exp (get_mi_thread_list)
14521 (check_mi_and_console_threads): Delete.
14522 * gdb.mi/mi2-pthread.exp: Likewise.
14523
bae98fe0
TT
145242008-07-28 Tom Tromey <tromey@redhat.com>
14525
14526 * Makefile.in (just-check): Remove. Move body to...
14527 (check): ... here.
14528
57380f4e
DJ
145292008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14530
14531 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
14532 Add a test for duplicated SIGINTs.
14533
e09490f1
DJ
145342008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14535
14536 * gdb.threads/schedlock.exp (get_args): Update to work for any
14537 value of NUM.
14538 (Top level): Report the number of threads that did not resume.
14539
6387b45f
DJ
145402008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14541
14542 * gdb.dwarf2/dw2-compressed.S: Also define __start.
14543
62f64ff2
DJ
145442008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14545
14546 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
14547 non-MI prompt.
14548
fa8de41e
TT
145492008-07-26 Tom Tromey <tromey@redhat.com>
14550
14551 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
14552 (function_struct, function_struct_ptr): New globals.
14553 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
14554 function pointer in a struct.
14555
ccb3ac8a
TT
145562008-07-26 Tom Tromey <tromey@redhat.com>
14557
14558 * gdb.base/macscp.exp: Add test for macro lexing bug.
14559
d7d9f01e
TT
145602008-07-18 Tom Tromey <tromey@redhat.com>
14561
14562 * gdb.base/macscp.exp: Add macro tests.
14563
9bf07184
PP
145642008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14565
14566 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
14567
becf6477
PP
145682008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14569
14570 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14571
0709f7d3
PP
145722008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14573
14574 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 14575
7093c834
PP
145762008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14577
14578 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 14579
b432ffe3
JK
145802008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14581
14582 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14583
b1a268e5
VP
145842008-07-12 Vladimir Prus <vladimir@codesourcery.com>
14585
14586 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14587
e2995f8e
KB
145882008-07-11 Kevin Buettner <kevinb@redhat.com>
14589
14590 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14591 of regexp to account for changes made to GDB in the printing of
14592 byte vectors.
14593
14032a66
TT
145942008-07-11 Tom Tromey <tromey@redhat.com>
14595
14596 * gdb.base/completion.exp: Add 'help' completion test.
14597
981505ef
JK
145982008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14599
14600 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14601
10568435
JK
146022008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14603
14604 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14605
4487aabf
PA
146062008-07-09 Pedro Alves <pedro@codesourcery.com>
14607
14608 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14609
a4a9b1c4
PA
146102008-07-09 Pedro Alves <pedro@codesourcery.com>
14611
14612 * gdb.base/fullname.exp: Restore pwd if compiling failed.
14613
3c3185ac
JK
146142008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14615
14616 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14617
7ebd49dc
VP
146182008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14619
14620 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14621 previous commit. Add a comment.
14622
84e46146
PA
146232008-06-28 Pedro Alves <pedro@codesourcery.com>
14624
14625 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14626
0f8d4a2f
VP
146272008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14628
14629 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14630
f747e0ce
PA
146312008-06-27 Pedro Alves <pedro@codesourcery.com>
14632
14633 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14634 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14635 compiling an executable, link in an object that forces unbuffered
14636 output.
14637 * lib/set_unbuffered_mode.c: New file.
14638
734a5c36
JK
146392008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14640
14641 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14642
a2840c35
VP
146432008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14644
a9c64011
AS
14645 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14646 mi_expect_stop.
14647 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14648 Demand that *running is output.
14649 (detect_async): Perform checking every time.
14650 (mi_send_resuming_command): Extract everything into...
14651 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
14652 (mi_expect_stop): Don't accept any output before *stopped.
14653
6ae37fef
VP
146542008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14655
14656 Robustify mi-simplerun.
a9c64011
AS
14657 * gdb.mi/basics.c (main): Add a call to sleep.
14658 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14659 * gdb.mi/mi2-cli.exp: Likewise.
14660 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 14661
b4aa76f0 146622008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
14663
14664 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14665
e1ac3328
VP
146662008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14667
a9c64011
AS
14668 * gdb.mi/mi-console.exp: Adjust.
14669 * gdb.mi/mi-syn-frame.exp: Adjust.
14670 * gdb.mi/mi2-console.exp: Adjust.
14671 * gdb.mi/mi2-syn-frame.exp: Adjust.
14672 * lib/mi-support.exp (mi_run_cmd): Adjust.
14673 (mi_send_resuming_command): Adjust.
e1ac3328 14674
f7f9a841
VP
146752008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14676
14677 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
14678 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14679 testing of stopped.
14680 * gdb.mi/mi2-syn-frame.exp: Likewise.
14681 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14682 (async, detect_async): New.
14683 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14684 depending on if we're running in sync or async mode.
f7f9a841 14685
37cd5d19
TT
146862008-06-09 Tom Tromey <tromey@redhat.com>
14687
14688 * gdb.base/completion.exp: New tests for field name completion
14689 with spaces, and field name completion with '->'.
14690
65d12d83
TT
146912008-06-06 Tom Tromey <tromey@redhat.com>
14692
14693 * gdb.base/break1.c (struct some_struct): New struct.
14694 (values): New global.
14695 * gdb.base/completion.exp: Add field name completion test.
14696
ebfe2e3f
PP
146972008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14698
14699 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14700 to pointer.
14701 * gdb.cp/call-c.cc: Likewise.
14702
bcf6fc3a
NR
147032008-06-06 Nick Roberts <nickrob@snap.net.nz>
14704
14705 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14706 annotation.
14707
49fd4a42 147082008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 14709 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
14710
14711 * gdb.threads/execl.c, gdb.threads/execl1.c,
14712 gdb.threads/execl.exp: New tests.
a9c64011 14713
8a34ac3f
AR
147142008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14715 Daniel Jacobowitz <dan@codesourcery.com>
14716
14717 * gdb.cp/exception.exp: Activate test, make it work with pending
14718 catchpoints.
14719
86ae69ef
JK
147202008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14721
14722 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14723
f7f9ae2c
VP
147242008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14725
a9c64011
AS
14726 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14727 now printed.
14728 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 14729
2a2d4dc3
AS
147302008-05-27 Andreas Schwab <schwab@suse.de>
14731
14732 * gdb.base/frame-args.exp: Handle arguments that are optimized
14733 out.
14734
5099e4d9
LM
147352008-05-26 Luis Machado <luisgpm@br.ibm.com>
14736
14737 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14738 quiet for ppc32 and group options into a single variable.
14739
d9c36a91
JB
147402008-05-23 Joel Brobecker <brobecker@adacore.com>
14741
14742 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14743 of zero-size elements.
14744 * gdb.ada/null_array.exp: Test printing this new array.
14745
103a8671
JK
147462008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14747
14748 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14749
07a4cc1a 147502008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
14751
14752 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14753 of the "finish" command.
14754
55f996a7
NR
147552008-05-21 Nick Roberts <nickrob@snap.net.nz>
14756
14757 * gdb.base/annota1.exp: Test for new annotation.
14758
907fc202
UW
147592008-05-16 Pedro Alves <pedro@codesourcery.com>
14760
14761 * gdb.base/fixsection.exp: New file.
14762 * gdb.base/fixsection0.c: New file.
14763 * gdb.base/fixsection1.c: New file.
14764
e8f97270
UW
147652008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14766
14767 * gdb.base/annota1.exp: Accept printf@... in place of printf.
14768 * gdb.base/annota3.exp: Likewise.
14769
ac0bb574
NF
147702008-05-13 Nathan Froyd <froydnj@codesourcery.com>
14771
14772 * gdb.base/watch_thread_num.exp: Don't run tests that require
14773 watchpoints if the target doesn't support them.
14774
6fadd07a
DE
147752008-05-12 Doug Evans <dje@google.com>
14776
14777 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14778
6e9a4a30
JB
147792008-05-09 Joel Brobecker <brobecker@adacore.com>
14780
14781 * gdb.ada/assign_1.exp: New testcase.
14782
08388c79
DE
147832008-05-09 Doug Evans <dje@google.com>
14784
a3c83fae
DE
14785 * gdb.base/find.exp: New file.
14786 * gdb.base/find.c: New file.
08388c79 14787
bd5ddfe8
DJ
147882008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
14789
14790 * gdb.base/commands.exp (watchpoint_command_test): Handle
14791 gdb,no_hardware_watchpoints.
14792 * gdb.base/float.exp: Allow ARM targets without floating point.
14793 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14794
b5dd68e2 147952008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 14796 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
14797
14798 * gdb.ada/lang_switch: New test program.
14799 * gdb.ada/lang_switch.exp: New testcase.
14800
382d13d1
DE
148012008-05-05 Doug Evans <dje@google.com>
14802
14803 * gdb.base/help.exp (disassemble): Update expected help text.
14804
9dd789d0
PA
148052008-05-04 Pedro Alves <pedro@codesourcery.com>
14806
14807 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14808
611c83ae
PA
148092008-05-04 Pedro Alves <pedro@codesourcery.com>
14810
14811 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14812 different times.
14813
ff013f42
JK
148142008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14815
14816 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14817 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14818 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14819 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14820
96dff6a2
VP
148212008-05-04 Vladimir Prus <vladimir@codesourcery.com>
14822
14823 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14824 notification to appear.
14825
55cd6f92
DJ
148262008-05-04 Daniel Jacobowitz <dan@debian.org>
14827
14828 * gdb.base/fullname.c: New file.
14829 * gdb.base/fullname.exp: New file.
14830 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14831
d705c43c
PA
148322008-05-03 Pedro Alves <pedro@codesourcery.com>
14833
14834 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14835 expressions with macros.
14836
333222e1
JK
148372008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14838
14839 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14840
5ac01682
DJ
148412008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
14842
14843 * gdb.base/completion.exp: Handle lack of other symbols beginning
14844 with "a".
14845
14846 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14847
237fc4c9
PA
148482008-05-02 Jim Blandy <jimb@codesourcery.com>
14849
14850 * gdb.asm/asmsrc1.s: Add scratch space.
14851
ed5e9466
DJ
148522008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14853 Daniel Jacobowitz <dan@codesourcery.com>
14854
14855 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14856 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14857 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14858
b39cc962
DJ
148592007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14860
14861 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14862
36d520f5
JB
148632008-05-01 Joel Brobecker <brobecker@adacore.com>
14864
14865 * gdb.base/info-target.exp: New testcase.
14866
8d4e3071
DJ
148672008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14868
14869 * gdb.cp/hang.exp: Use .cc instead of .C.
14870 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14871 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14872
6f3f3097
DJ
148732008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14874
14875 * gdb.base/gdb1250.exp: Remove perror.
14876 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14877
5550a914
PA
148782008-04-30 Pedro Alves <pedro@codesourcery.com>
14879
14880 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14881 .2byte.
14882
d848e687
DJ
148832008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14884
14885 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14886 (maybe_kfail): New.
14887
93b5768b
PA
148882008-04-25 Pedro Alves <pedro@codesourcery.com>
14889
14890 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14891
721c02de
VP
148922008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14893
a9c64011
AS
14894 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14895 * gdb.mi/mi2-syn-frame.exp: Likewise.
14896 * lib/mi-support.exp: Likewise.
721c02de 14897
74960c60
VP
148982008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14899
14900 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14901 to specify regexp for the location to stop at.
14902 * gdb.base/break-always.c: New.
14903 * gdb.base/break-always.exp: New.
14904
d24317b4
VP
149052008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14906
14907 * lib/mi-support.exp (mi_runto_helper): Adjust
14908 for the original-location field.
14909 (mi_create_breakpoint, mi_list_breakpoints): New.
14910 * gdb.mi/mi-break.exp: Adjust.
14911 * gdb.mi/mi2-break.exp: Adjust.
14912 * gdb.mi/mi-pending.exp: Adjust.
14913 * gdb.mi/mi-simplerun.exp: Adjust.
14914 * gdb.mi/mi2-simplerun.exp: Adjust.
14915 * gdb.mi/mi-syn-frame.exp: Adjust.
14916 * gdb.mi/mi2-syn-frame.exp: Adjust.
14917 * gdb.mi/mi-until.exp: Adjust.
14918 * gdb.mi/mi2-until.exp: Adjust.
14919 * gdb.mi/mi-var-display.exp: Adjust.
14920 * gdb.mi/mi2-var-display.exp: Adjust.
14921 * gdb.mi/mi-watch.exp: Adjust.
14922 * gdb.mi/mi2-watch.exp: Adjust.
14923
fdc59709 149242008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 14925
a9c64011
AS
14926 * aclocal.m4: Add override.m4.
14927 * configure: Regenerate.
fdc59709 14928
8e91f023
VP
149292008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14930
14931 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14932 '-var-update --all-values' reports new value even the type
14933 of a variable object has changed.
14934
233a11ab
CS
149352008-04-18 Craig Silverstein <csilvers@google.com>
14936
14937 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14938 files.
d24317b4 14939
9c1137ad
JB
149402008-04-18 Joel Brobecker <brobecker@adacore.com>
14941
14942 * gdb.ada/atomic_enum: New test program.
14943 * gdb.ada/atomic_enum.exp: New testcase.
14944
66d0bbc7
DE
149452008-04-17 Doug Evans <dje@google.com>
14946
14947 * gdb.opt/Makefile.in: Fix whitespace.
14948
100906b0
UW
149492008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14950
14951 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14952
4584e32e
DE
149532008-04-17 Doug Evans <dje@google.com>
14954
14955 * gdb.base/hashline1.exp: New testcase.
14956 * gdb.base/hashline2.exp: New testcase.
14957 * gdb.base/hashline2.exp: New testcase.
14958
0a320680
PA
149592008-04-17 Pedro Alves <pedro@codesourcery.com>
14960
14961 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14962
18ac113b
AR
149632008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14964
14965 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14966 temporary breakpoint to match "Temporary breakpoint".
14967 * gdb.base/break.exp (delete_breakpoints): Likewise.
14968 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14969 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14970 * gdb.base/display.exp: Likewise.
14971 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14972 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14973 * gdb.base/restore.exp (restore_tests): Likewise.
14974 * gdb.base/sepdebug.exp: Likewise.
14975 * gdb.base/watchpoint.exp: Likewise.
14976 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14977 * gdb.mi/mi-pending.exp: Likewise.
14978 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14979 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14980 * gdb.mi/mi-var-cmd.exp: Likewise.
14981 * gdb.mi/mi-var-display.exp: Likewise.
14982 * gdb.mi/mi2-cli.exp: Likewise.
14983 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14984 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14985 * gdb.mi/mi2-var-display.exp: Likewise.
14986 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14987 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14988 new "disp" field.
a9c64011 14989 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
14990 reason. This is to support fix for PR2424.
14991
add38693
JK
149922008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14993
14994 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14995
fcacd99f
VP
149962008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14997
14998 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 14999 field. Add more floating varobj tests.
fcacd99f 15000 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
15001 field.
15002 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15003 (main): Call do_at_tests.
15004 * lib/mi-support.exp (mi_create_floating_varobj)
15005 (mi_varobj_update_with_type_change): New.
fcacd99f 15006
de051565
MK
150072008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15008
15009 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15010 option of -var-evaluate-expression.
15011 * gdb.mi/mi2-var-display.exp: Likewise.
15012
dbc52822
VP
150132008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15014
15015 Introduce test setup helpers.
a9c64011
AS
15016 * lib/gdb.exp (build_executable, clean_restart)
15017 (prepare_for_testing): New.
15018 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15019 * gdb.base/return.exp: Likewise.
15020 * gdb.base/ending-run.exp: Likewise.
dbc52822 15021
473591da
NR
150222008-04-07 Nick Roberts <nickrob@snap.net.nz>
15023
15024 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15025 Interface (MI) responses.
15026
2b2d9e11
VP
150272008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15028
a9c64011
AS
15029 * gdb.cp/breakpoint.cc: New code to test conditions involving
15030 member variables.
15031 * gdb.cp/breakpoint.exp: Test condition involving member
15032 variables.
2b2d9e11 15033
bb378428
VP
150342008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15035
15036 * lib/mi-support.exp (mi_expect_stop): New.
15037 (mi_run_cmd): Change the
15038 token. Use mi_send_resuming_command, use
15039 mi_expect_stop.
15040 (mi_execute_to_helper): Rename to mi_execute_to.
15041 (mi_send_resuming_command): Add more error patterns.
15042 (mi_wait_for_stop): Renamed to...
15043 (mi_get_stop_line): ...this.
15044 (mi_run_inline_test): Adjust.
15045
15046 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15047 * gdb.mi/mi-console.exp: Likewise.
15048 * gdb.mi/mi-pending.exp: Likewise.
15049 * gdb.mi/mi-simplerun.exp: Likewise.
15050 * gdb.mi/mi-stack.exp: Likewise.
15051 * gdb.mi/mi-stepi.exp: Likewise.
15052 * gdb.mi/mi-syn-frame.exp: Add comment.
15053 * gdb.mi/mi-until.exp: Likewise.
15054 * gdb.mi/mi-var-display.exp: Likewise.
15055 * gdb.mi/mi-watch.exp: Likewise.
15056 * gdb.mi/mi2-cli.exp: Likewise.
15057 * gdb.mi/mi2-console.exp: Likewise.
15058 * gdb.mi/mi2-simplerun.exp: Likewise.
15059 * gdb.mi/mi2-stack.exp: Likewise.
15060 * gdb.mi/mi2-stepi.exp: Likewise.
15061 * gdb.mi/mi2-until.exp: Likewise.
15062 * gdb.mi/mi2-var-display.exp: Likewise.
15063 * gdb.mi/mi2-watch.exp: Likewise.
15064
62172bb9
UW
150652008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15066
15067 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15068
15069 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15070
a13e061a
PA
150712008-04-04 Pedro Alves <pedro@codesourcery.com>
15072
15073 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15074 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15075 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15076 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15077 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15078 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15079 expect an mi error duplicated in stderr.
15080
eae06beb
JB
150812008-04-03 Joel Brobecker <brobecker@adacore.com>
15082
15083 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15084 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15085 Add a couple of tests that verify the behavior when the new setting
15086 is set to "cancel" and "all".
15087 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15088 "ask" before we start the testing.
15089
79c6ced6
AR
150902008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15091
15092 * gdb.cp/casts.cc: Add class reference variables.
15093 * gdb.cp/casts.exp: New test cases for up/down casting references.
15094
6c2d1a6b
MK
150952008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15096
15097 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15098 instead of beginning to make an extra test pass.
15099 * gdb.mi/mi2-var-display.exp: Likewise.
15100
55b411d9
MR
151012008-03-31 Maciej W. Rozycki <macro@mips.com>
15102
15103 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15104
c6140da2
MD
151052008-03-31 Markus Deuling <deuling@de.ibm.com>
15106 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15107
15108 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15109 value. Add xfail for older kernels.
15110
79732189
AR
151112008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15112
15113 Bring mi-support in line with gdb.exp.
15114 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15115 (mi_gdb_start): New function.
15116
33c3676e
MR
151172008-03-28 Maciej W. Rozycki <macro@mips.com>
15118
15119 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15120
92e28119
VP
151212008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15122
15123 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15124 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 15125
9e8e3afe
VP
151262008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15127
15128 * lib/mi-support.exp (mi_create_varobj_checked): New.
15129 (mi_list_varobj_children): Allow to check for a
15130 value.
15131 (mi_list_array_varobj_children): New.
15132
15133 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15134 and mi_list_varobj_children, as opposed to hardcoding
15135 expected strings.
15136 * gdb.mi/gdb701.exp: Likewise.
15137 * gdb.mi/gdb792.exp: Likewise.
15138 * gdb.mi/mi-var-block.exp: Likewise.
15139 * gdb.mi/mi-var-cmd.exp: Likewise.
15140 * gdb.mi/mi-var-invalidate.exp: Likewise.
15141 * gdb.mi/mi2-var-block.exp: Likewise.
15142 * gdb.mi/mi2-var-child.exp: Likewise.
15143 * gdb.mi/mi2-var-cmd.exp: Likewise.
15144 * gdb.mi/mi2-var-display.exp: Likewise.
15145
9df50351
JK
151462008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15147
15148 Fix random false FAILs on i386.
15149 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15150
31e5d73a
DJ
151512008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15152
15153 PR gdb/544
15154 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15155
12f4afab
DJ
151562008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15157
15158 PR gdb/544
15159 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15160
b562a0cb
DJ
151612008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15162
15163 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15164 fixed PR gdb/544.
15165
17faa917
DJ
151662008-03-21 Pedro Alves <pedro@codesourcery.com>
15167
15168 * gdb.threads/fork-child-threads.exp: Test next over fork.
15169
6214f497
DJ
151702008-03-21 Chris Demetriou <cgd@google.com>
15171
15172 * gdb.base/break.exp (rbreak junk): New test for rbreak
15173 "Junk at end of arguments" issue.
15174
63092375
DJ
151752008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15176
15177 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15178 *& to work on created array elements.
15179 (Top level): Test print $pc with a file. Test string operations
15180 without a target.
15181 * gdb.base/ptype.exp: Do not expect *& to work on created array
15182 elements.
15183
b21991b0
DJ
151842008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15185
15186 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15187 gdb.threads/staticthreads.exp: Update exit query.
15188
c4b347c7
SL
151892008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15190
15191 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15192
fa4727a6
DJ
151932008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15194
15195 * gdb.base/watchpoint.c (global_ptr, func4): New.
15196 (main): Call func4.
15197 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15198 (test_inaccessible_watchpoint): New.
15199
2f34202f
MR
152002008-02-29 Maciej W. Rozycki <macro@mips.com>
15201
15202 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15203 select the largest.
15204
0d6ba1b1
DJ
152052008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15206
15207 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15208 frames-invalid annotations.
15209
e691325a
PM
152102008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15211
a9c64011 15212 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 15213
f85b5ecc
DE
152142008-02-27 Doug Evans <dje@google.com>
15215
15216 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15217 for bug 1738.
15218 (breakpoint_to_handler_entry): Ditto.
15219
b40e7bf3
JB
152202008-02-27 Joel Brobecker <brobecker@adacore.com>
15221
15222 * gdb.base/ending-run.exp: Use the first line of code inside
15223 function body to test breakpoints.
15224 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15225 location where the breakpoint is inserted when using the line
15226 where a function is declared. Fix typo in the description of
15227 one of the tests.
15228 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15229
2faca73a
PM
152302008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15231
15232 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 15233 tests.
2faca73a 15234
6f439c36
PM
152352008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15236
15237 * gdb.base/args.exp: avoid same output for tests
15238 with single quotes.
15239
54e52265
VP
152402008-02-26 Vladimir Prus <vladimir@codesourcery.com>
15241
a9c64011
AS
15242 * gdb.base/annota1.exp: Adjust for 'info break'
15243 format changes.
15244 * gdb.base/annota3.exp: Likewise.
15245 * gdb.base/break.exp: Likewise.
15246 * gdb.base/condbreak.exp: Likewise.
15247 * gdb.base/pending.exp: Likewise.
15248 * gdb.base/sepdebug.exp: Likewise.
15249 * gdb.base/unload.exp: Likewise.
15250 * gdb.cp/ovldbreak.exp: Likewise.
15251 * gdb.mi/mi-pending.exp: Likewise.
54e52265 15252
897b09ca
DE
152532008-02-07 Doug Evans <dje@google.com>
15254
15255 * gdb.cp/mb-inline.exp: New.
15256 * gdb.cp/mb-inline.h: New.
15257 * gdb.cp/mb-inline1.cc: New.
15258 * gdb.cp/mb-inline2.cc: New.
15259
b1c32d35
PM
152602008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
15261
15262 * gdb.pascal/floats.pas: New test program.
15263 * gdb.pascal/floats.exp: New testcase.
15264
1a4ca44a
TJB
152652008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15266
15267 * gdb.base/callfuncs.c (t_float_many_args): New function.
15268 (t_double_many_args): New function.
15269 * gdb.base/callfuncs.exp: Add tests for exceeding float
15270 and double parameters passed through the stack.
15271
439048e8
JB
152722008-02-05 Joel Brobecker <brobecker@adacore.com>
15273
15274 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
15275 gdb.ada/complete/foo.adb: New files.
15276 * gdb.ada/complete.exp: New testcase.
15277
81fe8080
DE
152782008-02-03 Doug Evans <dje@google.com>
15279
301f0ecf
DE
15280 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
15281
81fe8080
DE
15282 * gdb.cp/gdb2384.exp: New file.
15283 * gdb.cp/gdb2384.cc: New file.
15284 * gdb.cp/gdb2384-base.h: New file.
15285 * gdb.cp/gdb2384-base.cc: New file.
15286
4b071aec
DE
152872008-02-02 Doug Evans <dje@google.com>
15288
15289 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
15290
61137ba6
JB
152912007-02-01 Joel Brobecker <brobecker@adacore.com>
15292
15293 * gdb.ada/sym_print_name: New test program.
15294 * gdb.ada/sym_print_name.exp: New testcase.
15295
152962007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
15297
15298 * gdb.ada/nested/hello.adb: New file.
15299 * gdb.ada/nested.exp: New testcase.
15300 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15301
98deb0da
VP
153022008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15303
15304 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
15305 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
15306 don't cause future evaluations of function to report
15307 creation of internal breakpoints.
98deb0da 15308
723a2275
VP
153092008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15310
15311 * gdb.mi/mi-break.exp (test_error): New.
15312 Call it.
15313
fb546a2f
LM
153142008-01-31 Luis Machado <luisgpm@br.ibm.com>
15315
15316 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
15317 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
15318
2d8fd90a
PM
153192008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15320
15321 * gdb.pascal/integers.pas: New test program.
15322 * gdb.pascal/integers.exp: New testcase.
15323
a7fa0ded
PM
153242008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15325
15326 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
15327
5e1a1926
TJB
153282008-01-30 Luis Machado <luisgpm@br.ibm.com>
15329
15330 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
15331 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
15332
8d04f9f0
JB
153332008-01-30 Paul Hilfinger <hilfinger@adacore.com>
15334
15335 * gdb.ada/formatted_ref: New test program.
15336 * gdb.ada/formatted_ref.exp: New testcase.
15337
15338 * gdb.cp/formatted-ref.cc: New file.
15339 * gdb.cp/formatted-ref.exp: New testcase.
15340
ce75a98f
JB
153412008-01-30 Joel Brobecker <brobecker@adacore.com>
15342
15343 * gdb.base/ptype.exp: Add testing of "ptype $pc".
15344
e835f6bf
NR
153452008-01-30 Nick Roberts <nickrob@snap.net.nz>
15346
15347 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
15348 (test_file_list_exec_source_file): Update to new macro-info field.
15349
d118ef87
PH
153502008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
15351
15352 * gdb.ada/exprs: New test program.
15353 * gdb.ada/exprs.exp: New testcase.
15354
7d35ab09
TJB
153552008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15356
15357 * dfp-test.c (DELTA, DELTA_B): New definitions.
15358 (double_val1, double_val2, double_val3, double_val4, double_val5,
15359 double_val6, double_val7, double_val8, double_val9, double_val10,
15360 double_val11, double_val12, double_val13, double_val14, dec32_val1,
15361 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
15362 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
15363 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
15364 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
15365 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
15366 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
15367 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
15368 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
15369 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
15370 dec128_val16): New global variables.
15371 (decimal_dec128_align): New function.
15372 (decimal_mixed): Likewise.
15373 (decimal_many_args_dec32): Likewise.
15374 (decimal_many_args_dec64): Likewise.
15375 (decimal_many_args_dec128): Likewise.
15376 (decimal_many_args_mixed): Likewise.
15377 * dfp-test.exp: Add tests calling new inferior functions.
15378
2d717e4f
DJ
153792008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15380
15381 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
15382 gdb.server/ext-run.exp: New files.
15383 * lib/gdbserver-support.exp (gdbserver_download): New.
15384 (gdbserver_start): New. Update gdbserver expected
15385 output.
15386 (gdbserver_spawn): Use them.
15387 (gdbserver_start_extended): New.
15388
e85a822c
DJ
153892008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15390
15391 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
15392 Run on GNU/Linux.
15393 (do_exec_tests): Check for systems which do not support catchpoints.
15394 Do not match START.
15395 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
15396 Run on GNU/Linux. Enable verbose output.
15397 (check_fork_catchpoints): New.
15398 (explicit_fork_child_follow, catch_fork_child_follow)
15399 (tcatch_fork_parent_follow): Update expected messages.
15400 (do_fork_tests): Use check_fork_catchpoints.
15401 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
15402 Run on GNU/Linux. Enable verbose output.
15403 (check_vfork_catchpoints): New.
15404 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
15405 expected messages.
15406 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
15407
401ea829
JB
154082008-01-29 Jim Blandy <jimb@red-bean.com>
15409
15410 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
15411 host' errors.
15412 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
15413
aceaf3ad
JB
154142008-01-29 Jim Blandy <jimb@red-bean.com>
15415
15416 * gdb.threads/sigthread.c: Use barriers to ensure that
15417 child_thread and child_thread_two are always initialized before we
15418 start to use them.
15419
a5606eee
VP
154202008-01-29 Vladimir Prus <vladimir@codesourcery.com>
15421
15422 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
15423 * gdb.base/watchpoint-solib.c: New.
15424 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 15425
c55a82bb
PM
154262008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
15427
15428 * gdb.base/gdb1056.exp: Add unsigned integer test.
15429
0993fe05
DE
154302008-01-28 Doug Evans <dje@google.com>
15431
15432 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
15433
4fe42e7f
JB
154342008-01-27 Jim Blandy <jimb@codesourcery.com>
15435
c7a69933
JB
15436 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
15437
4fe42e7f
JB
15438 * gdb.base/expand-psymtabs.exp: Doc fix.
15439
5def8285
MK
154402008-01-26 Mark Kettenis <kettenis@gnu.org>
15441
15442 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
15443
5313c911
NR
154442008-01-24 Nick Roberts <nickrob@snap.net.nz>
15445
a9c64011 15446 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
15447 -var-set-format.
15448
93815fbf
VP
154492008-01-23 Chris Demetriou <cgd@google.com>
15450
15451 * gdb.threads/thread_events.c: New testcase source file.
15452 * gdb.threads/thread_events.exp: New testcase expect file.
15453
467a88ee
NR
154542008-01-23 Nick Roberts <nickrob@snap.net.nz>
15455
15456 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
15457
15458 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
15459 -var-set-format.
15460
d8f82aba
DJ
154612008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15462 Vladimir Prus <vladimir@codesourcery.com>
15463
15464 * gdb.base/float.exp: Allow missing floating point for m68k and
15465 PowerPC.
15466
60c46647
VP
154672008-01-22 Vladimir Prus <vladimir@codesourcery.com>
15468
15469 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
15470 ignore count.
15471 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
15472 * gdb.mi/mi-cli.exp: Adjust.
15473 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 15474
c7dd36a1
PA
154752008-01-17 Pedro Alves <pedro@codesourcery.com>
15476
15477 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
15478 and 'dummy_ptr' integer pointer. Initialize struct_declarations
15479 with dummy_ptr's address.
15480 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
15481 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
15482 all targets.
15483 * gdb.mi/mi2-var-child.exp: Likewise.
15484
39d5313e
JB
154852008-01-09 Joel Brobecker <brobecker@adacore.com>
15486
15487 * gdb.ada/null_array: New test program.
15488 * gdb.ada/null_array.exp: New testcase.
15489
0aea4bf3
LM
154902008-01-09 Luis Machado <luisgpm@br.ibm.com>
15491
15492 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
15493 with required float modifiers.
15494
0b354900
JB
154952008-01-08 Joel Brobecker <brobecker@adacore.com>
15496
15497 * gdb.ada/funcall_param: New test program.
15498 * gdb.ada/funcall_param.exp: New testcase.
15499
cdb7f5d4
JB
155002008-01-08 Joel Brobecker <brobecker@adacore.com>
15501
15502 * gdb.ada/arrayparam: New test program.
15503 * gdb.ada/arrayparam.exp: New testcase.
15504
88e2547f
JB
155052008-01-08 Joel Brobecker <brobecker@adacore.com>
15506
15507 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
15508 landed. Should also fix random failures in the test following it.
15509
f6867ce0
TJB
155102008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
15511
15512 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
15513 for expressions with decimal float values.
15514 (test_dfp_conversions): New function to test casts to and from
15515 decimal float types.
15516 Call test_dfp_conversions.
15517 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
15518 elements.
15519 (main): Initialize ds.float4 and ds.double8 elements.
15520 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
15521 string to new error message.
15522 (d64_set_tests): Likewise.
15523 (d128_set_tests): Likewise.
15524 Add tests for expressions with decimal float variables. Add tests for
15525 conversions to and from decimal float types.
15526
f9c11282
JB
155272008-01-05 Joel Brobecker <brobecker@adacore.com>
15528
15529 * gdb.ada/packed_tagged/comp_bug.adb: New file.
15530 * gdb.ada/packed_tagged.exp: New testcase.
15531
0ecbca72
JB
155322008-01-04 Joel Brobecker <brobecker@adacore.com>
15533
15534 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
15535 gdb.ada/homonym/homonym_main.adb: New files.
15536 * gdb.ada/homonym.exp: New testcase.
15537
c18d3d89
JB
155382008-01-04 Joel Brobecker <brobecker@adacore.com>
15539
15540 * gdb.ada/packed_array.exp: Add testing of references to
15541 a packed array.
15542
ecc7085b
JB
155432008-01-04 Joel Brobecker <brobecker@adacore.com>
15544
15545 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
15546 New files.
15547 * gdb.ada/type_coercion.exp: New testcase.
15548
c474c922
JB
155492008-01-04 Joel Brobecker <brobecker@adacore.com>
15550
15551 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
15552 gdb.ada/tagged/foo.adb: New file.
15553 * gdb.ada/tagged.exp: New testcase.
15554
9005b927
JB
155552008-01-04 Joel Brobecker <brobecker@adacore.com>
15556
15557 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
15558 gdb.ada/ptype_field/foo.adb: New files.
15559 * gdb.ada/ptype_field.exp: New testcase.
15560
1a6aaad8
JB
155612008-01-03 Joel Brobecker <brobecker@adacore.com>
15562
15563 * gdb.ada/print_pc.exp: New testcase.
15564
0ef22f53
JB
155652008-01-03 Joel Brobecker <brobecker@adacore.com>
15566
15567 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
15568 gdb.ada/taft_type/p.adb: New files.
15569 * gdb.ada/taft_type.exp: New testcase.
15570
1689ecf8
JB
155712008-01-03 Joel Brobecker <brobecker@adacore.com>
15572
15573 * gdb.ada/array_bounds/bar.adb: New file.
15574 * gdb.ada/array_bounds.exp: New testcase.
15575
a4d0b9c3
JB
155762008-01-03 Joel Brobecker <brobecker@adacore.com>
15577
15578 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15579 gdb.ada/arrayptr/foo.adb: New files.
15580 * gdb.ada/arrayptr.exp: New testcase.
15581
a31ace00
JB
155822008-01-03 Joel Brobecker <brobecker@adacore.com>
15583
15584 * gdb.base/set-lang-auto.exp: New testcase.
15585
a97fced3
JB
155862008-01-03 Joel Brobecker <brobecker@adacore.com>
15587
15588 * gdb.ada/fun_addr/foo.adb: New file.
15589 * gdb.ada/fun_addr.exp: New testcase.
15590
ef29ce1a
JK
155912008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15592
15593 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15594 New files
15595
0fafefe3
JB
155962008-01-02 Joel Brobecker <brobecker@adacore.com>
15597
15598 * array_subscript_addr/p.adb: New file.
a9c64011 15599 * array_subscript_addr.exp: New testcase.
0fafefe3 15600
c4359f8d
JB
156012008-01-02 Joel Brobecker <brobecker@adacore.com>
15602
a9c64011 15603 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
15604 New files.
15605 * gdb.ada/str_cmp_ref.exp: New testcase.
15606
1aa1b15b
JB
156072008-01-01 Joel Brobecker <brobecker@adacore.com>
15608
15609 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15610 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 15611 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 15612
81c9b2cf
JB
156132008-01-01 Joel Brobecker <brobecker@adacore.com>
15614
15615 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15616 gdb.ada/ref_param/pck.ads: New files.
15617 * gdb.ada/ref_param.exp: New testcase.
15618
319e4674
JB
156192008-01-01 Joel Brobecker <brobecker@adacore.com>
15620
15621 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15622 gdb.ada/interface/foo.adb: New files.
15623 * gdb.ada/interface.exp: New testcase.
15624
ef682c56
JB
156252007-12-31 Jim Blandy <jimb@codesourcery.com>
15626
15627 * gdb.base/multi-forks.exp: Consume all output from child
15628 processes before proceeding to next test.
15629
f6f3eb6c
JB
156302007-12-29 Jim Blandy <jimb@codesourcery.com>
15631
15632 * configure: Regenerated.
15633
f652e42f
JB
156342007-12-27 Joel Brobecker <brobecker@adacore.com>
15635
15636 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15637 gdb.ada/fixed_cmp/fixed.adb: New files.
15638 * gdb.ada/fixed_cmp.exp: New testcase.
15639
6943e596
JB
156402007-12-27 Joel Brobecker <brobecker@adacore.com>
15641
15642 * gdb.ada/boolean_expr.exp: New testcase.
15643
aad9a193
JB
156442007-12-26 Jim Blandy <jimb@codesourcery.com>
15645
15646 * gdb.base/multi-forks.exp: Doc fix.
15647
fb5f3683
JB
156482007-12-26 Joel Brobecker <brobecker@adacore.com>
15649
15650 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15651 * gdb.ada/char_param.exp: Do not compile our test program with
15652 -gnata, this is unnecessary.
15653 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15654
384e4a9c
JB
156552007-12-24 Joel Brobecker <brobecker@adacore.com>
15656
15657 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15658 gdb.ada/print_chars/foo.adb: New files.
15659 * gdb.ada/print_chars.exp: New testcase.
15660
01e044f7
JB
156612007-12-24 Joel Brobecker <brobecker@adacore.com>
15662
15663 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15664 gdb.ada/char_param/foo.adb: New files.
15665 * gdb.ada/char_param.exp: New testcase.
15666
0ce17860
JB
156672007-12-22 Jim Blandy <jimb@codesourcery.com>
15668
15669 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15670 hard-coding source line numbers into the test.
15671 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15672 gdb_get_line_number to find.
15673
919809b9
JB
156742007-12-22 Joel Brobecker <brobecker@adacore.com>
15675
15676 * gdb.base/ptype.c (highest): New struct type.
15677 (the_highest): New variable of that type.
15678 (main): Add dummy assignment to a field of variable the_highest.
15679 * gdb.base/ptype.exp: Test type printing of our new variable.
15680
abc8a88d
PM
156812007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15682
15683 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 15684 and record first explicitly generated thread number.
abc8a88d
PM
15685 Use that thread number for thread specific watchpoint test.
15686 Add iteration number to repetitive tests.
15687
5158f3e3
CES
156882007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15689 Jim Blandy <jimb@codesourcery.com>
15690
15691 * gdb.base/expand-psymtabs.c: New testcase
15692 source file.
15693 * gdb.base/expand-psymtabs.exp: New testcase
15694 expect file.
15695
37e4754d
LM
156962007-12-17 Luis Machado <luisgpm@br.ibm.com>
15697
15698 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15699 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15700
551e5d04
JB
157012007-12-17 Joel Brobecker <brobecker@adacore.com>
15702
15703 * gdb.ada/frame_args/foo.adb: New file.
15704 * gdb.ada/frame_args/pck.ads: New file.
15705 * gdb.ada/frame_args/pck.adb: New file.
15706 * gdb.ada/frame_args.exp: New testcase.
15707
a05ee097
JB
157082007-12-17 Joel Brobecker <brobecker@adacore.com>
15709
15710 * gdb.base/frame-args.c: New file.
15711 * gdb.base/frame-args.exp: New testcase.
15712
c162e8c9 157132007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 15714 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
15715
15716 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15717
afe8ab22 157182007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15719
afe8ab22
VP
15720 * gdb.mi/mi-pending.exp: New.
15721 * gdb.mi/mi-pending.c: New.
15722 * gdb.mi/mi-pendshr.c: New.
15723
dfdfb3ca
JB
157242007-12-06 Jim Blandy <jimb@codesourcery.com>
15725
15726 * gdb.base/default.exp: Update expected output for 'info catch'.
15727
b7fca990
JK
157282007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15729
15730 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15731 must be set to binary.
15732
6a1afc1e
PA
157332007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
15734
15735 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15736
a6b151f1
DJ
157372007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
15738
15739 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15740 gdb.mi/mi-file-transfer.exp: New.
15741
43039443
JK
157422007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15743
15744 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15745
0ef2251b
MR
157462007-11-22 Maciej W. Rozycki <macro@mips.com>
15747
15748 * gdb.trace/backtrace.exp: Fix a typo.
15749 * gdb.trace/circ.exp: Likewise.
15750 * gdb.trace/collection.exp: Likewise.
15751 * gdb.trace/limits.exp: Likewise.
15752 * gdb.trace/report.exp: Likewise.
15753 * gdb.trace/tfind.exp: Likewise.
15754 * gdb.trace/while-dyn.exp: Likewise.
15755
5443631e
NR
157562007-11-21 Nick Roberts <nickrob@snap.net.nz>
15757
15758 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15759 objects of pointers that can't be dereferenced are now
15760 "noneditable".
15761
a4ce5b0d
UW
157622007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15763
15764 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15765 (target_cpu): Remove.
15766
d6e956e5
VP
157672007-10-15 Vladimir Prus <vladimir@codesourcery.com>
15768
15769 * gdb.base/ending-run.exp: Expect the list of cleared
15770 breakpoint to come in natural order, not the reversed one.
a9c64011 15771
214270ab
VP
157722007-11-07 Vladimir Prus <vladimir@codesourcery.com>
15773
15774 * gdb.mi/mi-var-child.c (do_child_deletion): New.
15775 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 15776
1a619819
LM
157772007-11-05 Luis Machado <luisgpm@br.ibm.com>
15778
15779 * gdb.base/printcmds.exp: New function
15780 test_printf_with_dfp.
15781
5b01a6fa
DE
157822007-11-02 Doug Evans <dje@google.com>
15783
15784 * gdb.disasm/t01_mov.s: Remove carriage returns.
15785 * gdb.disasm/t02_mova.s: Ditto.
15786 * gdb.disasm/t03_add.s: Ditto.
15787 * gdb.disasm/t04_sub.s: Ditto.
15788 * gdb.disasm/t05_cmp.s: Ditto.
15789 * gdb.disasm/t06_ari2.s: Ditto.
15790 * gdb.disasm/t07_ari3.s: Ditto.
15791 * gdb.disasm/t08_or.s: Ditto.
15792 * gdb.disasm/t09_xor.s: Ditto.
15793 * gdb.disasm/t10_and.s: Ditto.
15794 * gdb.disasm/t11_logs.s: Ditto.
15795 * gdb.disasm/t12_bit.s: Ditto.
15796 * gdb.disasm/t13_otr.s: Ditto.
15797
ec33ab7f
JK
157982007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15799
15800 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15801
ae0d01ff
UW
158022007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15803
15804 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15805 provide DFP support.
15806
55eddb0f
DJ
158072007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
15808
15809 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15810 Test "set powerpc vector-abi". Skip auto-detection tests for old
15811 toolchains.
15812
7020f05c
PA
158132007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15814
15815 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15816 with [string compare].
15817
84bc3db9
PA
158182007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15819
15820 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15821 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15822
5876dc88
LM
158232007-10-25 Luis Machado <luisgpm@br.ibm.com>
15824
15825 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15826 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15827 * gdb.opt/Makefile.in: New makefile.
15828 * Makefile.in: Create new directory "gdb.opt".
15829 * configure.ac: Add "gdb.opt" directory.
15830 * configure: Regenerated.
a9c64011 15831
c3ea9a14
DE
158322007-10-25 Doug Evans <dje@google.com>
15833
15834 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15835 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15836
a9c64011 158372007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
15838 Thiago Jung Bauermann <bauerman@br.ibm.com>
15839
15840 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15841 Floating Point expressions.
15842 * gdb.base/dfp-test.exp: new file adding tests for Decimal
15843 Floating Point variables.
15844 * gdb.base/dfp-test.c: new file containing program with Decimal
15845 Floating variables, used by gdb.base/dfp-test.exp.
15846
62a24a2b
DJ
158472007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
15848
15849 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15850
e7b1eae6
UW
158512007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15852
15853 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15854 compiling test case with GCC.
15855 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15856
c641edcc
UW
158572007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15858
15859 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15860 format changes.
15861
5e5ebfe6
MS
158622007-10-18 Michael Snyder <msnyder@specifix.com>
15863
15864 * gdb.base/dbx.exp: Add missing "-re " operator.
15865
e831e7b6
GM
158662007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15867
15868 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15869 * configure.ac: Removed trailing spaces after backslash.
15870 * gdb.modula2: New directory.
15871 * gdb.modula2/Makefile.in: New file.
15872 * gdb.modula2/unbounded-array.exp: New file.
15873 * gdb.modula2/unbounded1.c: New file.
15874
7cc46491
DJ
158752007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15876
15877 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15878
158792007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
15880
15881 * gdb.base/sigstep.c (main): Add checks for
15882 return values for setitimer call.
15883 Call setitimer again with itimer = ITIMER_REAL
15884 if first call to setitimer fails.
15885
e91528f0
KH
158862007-10-11 Kazu Hirata <kazu@codesourcery.com>
15887
15888 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15889 of $timeout.
15890
2ec9a4f8
DJ
158912007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15892
15893 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15894
158952007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
15896
15897 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15898 of gdb_expect call, to avoid interruption.
15899
64b2fa04
PA
159002007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15901
15902 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15903 (v_unsigned_long_long, v_long_long_array)
15904 (v_signed_long_long_array, v_unsigned_long_long_array)
15905 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15906 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15907 [!NO_LONG_LONG]: New.
15908 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15909 v_long_long_member.
15910
15911 (v_long_long_func, v_signed_long_long_func)
15912 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15913 (main) [!NO_LONG_LONG]: Initialize long long variants.
15914
15915 * gdb.base/whatis.exp: If board file requests no_long_long, build
15916 test with NO_LONG_LONG defined. Test long long, signed long long,
15917 and unsigned long long variants but only if board file doesn't
15918 disable it.
15919
a912286e 159202007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 15921 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
15922
15923 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15924 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15925 * configure: Regenerated.
15926 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15927 gdb.pascal/types.exp, lib/pascal.exp: New files.
15928
471ba8c9
DJ
159292007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15930
15931 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15932 call.
15933 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15934 to return to the call.
15935 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15936 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15937 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15938 * gdb.mi/mi-until.exp (test_until): Likewise.
15939 * gdb.mi/mi2-until.exp (test_until): Likewise.
15940
fef8a650
DJ
159412007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15942
15943 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15944 two-char array.
15945 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15946
d983da9c
DJ
159472007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15948
15949 * gdb.threads/watchthreads.c (thread_function): Sleep between
15950 iterations.
15951 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15952 at once for S/390. Generate matching fails and passes.
15953
17f62551
VP
159542007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15955
15956 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15957 the 'struct_declarations' variable to zeros.
a9c64011 15958
ed0616c6
VP
159592007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15960
15961 * gdb.cp/mb-ctor.cc: New.
15962 * gdb.cp/mb-ctor.exp: New.
15963 * gdb.cp/mb-templates.cc: New.
15964 * gdb.cp/mb-templates.exp: New.
15965
41f1b697
DJ
159662007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15967
15968 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15969
3f213f78
PA
159702007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15971
15972 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15973 targets.
15974 * configure: Regenerate.
15975
0d381245 159762007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15977
0d381245
VP
15978 * gdb.base/annota1.exp: Adjust for 'info break'
15979 format changes.
15980 * gdb.base/annota3.exp: Likewise.
15981 * gdb.base/break.exp: Likewise.
15982 * gdb.base/condbreak.exp: Likewise.
15983 * gdb.base/pending.exp: Likewise.
15984 * gdb.base/sepdebug.exp: Likewise.
15985 * gdb.base/unload.exp: Likewise.
15986 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 15987
fe3f5fa8
VP
159882007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15989
15990 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15991 messages.
15992 * gdb.base/chng-syms.exp: Likewise.
15993 * gdb.base/unload.exp: Likewise.
a9c64011 15994
a75cf6c0
DJ
159952007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15996
15997 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15998
18ecae38
DJ
159992007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16000
16001 * schedlock.c (NUM): Change to 1.
16002 (main): Use args[0] for the main thread.
16003 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16004 regardless of the number of threads.
16005
5509918f
MR
160062007-09-14 Maciej W. Rozycki <macro@mips.com>
16007
4a543daf
MR
16008 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16009 type down.
16010 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16011 test.
16012 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16013 watchpoint type down.
16014 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16015 test.
16016
160172007-09-14 Maciej W. Rozycki <macro@mips.com>
16018
5509918f
MR
16019 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16020 Move all the tests here and run them twice, once using software
16021 watchpoints and once using hardware watchpoints.
16022 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16023
40b53987
DJ
160242007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16025
16026 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16027 test.
16028
695e2681
MK
160292007-09-10 Mark Kettenis <kettenis@gnu.org>
16030
8b3fc8d8
MK
16031 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16032 build-id.
16033
695e2681
MK
16034 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16035 know about $ORIGIN. Calculate output dir from $dest instead of
16036 using ${objdir}/{$subdir}.
16037
58d69f29
MK
160382007-09-09 Mark Kettenis <kettenis@gnu.org>
16039
16040 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16041 gcore, before continuing with the test.
16042
3e347599
DJ
160432007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16044
16045 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16046 * gdb.mi/mi-watch.exp: Likewise.
16047
ea37ba09
DJ
160482007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16049 Jim Blandy <jimb@codesourcery.com>
16050
16051 * gdb.arch/i386-sse.exp: Do not expect character constants.
16052 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16053 * gdb.base/display.exp: Allow print/s.
16054 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16055 and unsigned char array changes.
16056
2025a643
DJ
160572007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16058
16059 * gdb.base/display.exp: Add tests for printf %p.
16060
26669a27
PA
160612007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16062
16063 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16064 the dll name to unicode.
16065
c8f021f8
JK
160662007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16067
16068 * gdb.base/default.exp (show version): Update the version text.
16069 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16070
4cf31eea
JK
160712007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16072
16073 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16074 New files.
16075
4935890f
JK
160762007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16077
16078 * lib/gdb.exp (build_id_debug_filename_get): New function.
16079 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16080 Remove the generate DEBUG file for the future testcase runs.
16081 New testcase for the NT_GNU_BUILD_ID retrieval.
16082 Move the final testing step to ...
16083 (test_different_dir): ... a new function.
16084 New parameter XFAIL to XFAIL all the tests performed.
16085 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16086 New parameter TYPE to PF_PREFIX all the tests performed.
16087
02142340
VP
160882007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16089
16090 * gdb.mi/mi-var-cp.cc (path_expression): New
16091 function.
16092 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16093
36acd84e
UW
160942007-08-27 Markus Deuling <deuling@de.ibm.com>
16095
16096 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16097 to fit into SPU Local Store memory.
16098
a896d121
JB
160992007-08-23 Joel Brobecker <brobecker@adacore.com>
16100
16101 * gdb.base/default.exp: Adjust the expected output of "info
16102 warranty" after the switch to GPLv3.
16103
7b433602
JB
161042007-08-23 Joel Brobecker <brobecker@adacore.com>
16105
16106 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16107 to 30000 (from 20000).
16108
e22f8b7c
JB
161092007-08-23 Joel Brobecker <brobecker@adacore.com>
16110
16111 Switch the license of all .exp files to GPLv3.
16112 Switch the license of all .f and .f90 files to GPLv3.
16113 Switch the license of all .s and .S files to GPLv3.
16114
5a0e3bd0
JB
161152007-08-23 Joel Brobecker <brobecker@adacore.com>
16116
16117 * configure.ac: Switch license to GPLv3.
16118
cc00619d
JB
161192007-08-23 Joel Brobecker <brobecker@adacore.com>
16120
16121 Switch the licensing to GPLv3 for all .ads and .adb files.
16122
8d26208a
DJ
161232007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16124
16125 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16126 and t_int_double.
16127 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16128
4fcb9948
JB
161292007-08-17 Joel Brobecker <brobecker@adacore.com>
16130
16131 * gdb.base/step-line.c: Switch license to GPL version 3, and
16132 update copyright year.
16133 * gdb.base/step-line.inp: Likewise.
16134
b9c34f67
JB
161352007-08-17 Joel Brobecker <brobecker@adacore.com>
16136
16137 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16138 changes inside gdb1555.c.
16139 * gdb.base/pending.exp: Likewise.
16140
2cc17678
DJ
161412007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16142
16143 * config/default.exp: New file.
16144
e48883f7
DJ
161452007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16146
16147 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16148 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16149
1ab80e5b
MR
161502007-07-30 Maciej W. Rozycki <macro@mips.com>
16151
16152 * gdb.base/dump.exp: Force the correct endianness for binary
16153 formats not carrying this information.
16154
aba471f5
DJ
161552007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16156
16157 * gdb.threads/staticthreads.exp: Match .*sem_post.
16158
d4e07204
DJ
161592007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16160
16161 * gdb.base/readline.exp (operate_and_get_next): Match the final
16162 prompt.
16163
2b97317d
KB
161642007-07-23 Kevin Buettner <kevinb@redhat.com>
16165
16166 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16167 to restarting SID.
16168
44efa07a
KB
161692007-07-18 Kevin Buettner <kevinb@redhat.com>
16170
16171 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16172 prior to `gdb_start'.
16173
7b5ebade
KB
161742007-07-18 Kevin Buettner <kevinb@redhat.com>
16175
16176 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16177 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16178 Remove call to gdb_unload.
16179
255e7678
DJ
161802007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16181 Daniel Jacobowitz <dan@codesourcery.com>
16182
16183 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16184 for __WIN32__.
16185 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16186 * gdb.base/unload.exp: Use shared library test routines.
16187
3a40aaa0
UW
161882007-07-03 Markus Deuling <deuling@de.ibm.com>
16189
16190 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16191 * gdb.base/solib-symbol-lib.c: Likewise.
16192 * gdb.base/solib-symbol-main.c: Likewise.
16193
b0f4b84b
DJ
161942007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16195
16196 * config/gdbserver.exp (gdb_reconnect): New.
16197 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16198 gdb.base/solib-disc.exp: New files.
16199 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16200 remote debugging".
16201 (gdb_compile): Add shlib_load flag.
16202 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16203 port.
16204 (gdbserver_reconnect): New.
16205
1b05479a
DJ
162062007-07-01 Nick Roberts <nickrob@snap.net.nz>
16207 Daniel Jacobowitz <dan@codesourcery.com>
16208
16209 * gdb.base/annota3.exp: Test for if construct.
16210
86f78eb2
DJ
162112007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16212
16213 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16214
6a2eb474 162152007-06-21 Chris Dearman <chris@mips.com>
a9c64011 16216 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
16217
16218 * gdb.base/display.exp: Allow a newline after display/i.
16219 * gdb.base/pc-fp.exp: Likewise.
16220 * gdb.base/sigbpt.exp: Likewise.
16221
f8b73d13
DJ
162222007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16223
16224 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16225 required features to be included.
16226
4339e69e
DJ
162272007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16228
16229 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16230 in info threads output.
16231
23d964e7
UW
162322007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16233 Markus Deuling <deuling@de.ibm.com>
16234
16235 * gdb.arch/spu-info.exp: New testcase.
16236 * gdb.arch/spu-info.c: New file.
16237
fd20f75b
DJ
162382007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
16239
16240 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16241 tpcs_offset. Restore lr after the call.
16242 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16243
2226f861
DJ
162442007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
16245
16246 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16247 (gdbserver_run): Kill any running gdbserver.
16248 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16249
d12371a9
MR
162502007-05-17 Maciej W. Rozycki <macro@mips.com>
16251
16252 * gdb.base/sigbpt.exp: Preset segv_addr.
16253
93f02886
DJ
162542007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
16255
16256 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
16257 (gdb_compile_shlib): Likewise.
16258 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
16259 (default_gdb_init): Clear cleanfiles.
16260 (gdb_finish): Delete recorded cleanfiles.
16261 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
16262
16263 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
16264 Do not use isnative.
16265 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
16266 gdb.base/so-impl-ld.exp: Likewise.
16267 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
16268 * gdb.base/unload.exp: Likewise. Do not pass empty option to
16269 gdb_compile.
16270
b04e06d7
VP
162712007-05-15 Vladimir Prus <vladimir@codesourcery.com>
16272
16273 * config/unknown.exp: Remove.
16274
069ed931
UW
162752007-05-15 Markus Deuling <deuling@de.ibm.com>
16276
16277 * gdb.base/info-proc.exp: Check is_remote.
16278
09db0d03
UW
162792007-05-14 Markus Deuling <deuling@de.ibm.com>
16280
16281 * gdb.base/gcore.exp: Initialize variable core_supported.
16282
af2cbe8c
DJ
162832007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16284
16285 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
16286
027c0295
DJ
162872007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16288
16289 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
16290 * gdb.threads/print-threads.exp (test_all_threads): Allow
16291 negative and hexadecimal thread IDs.
16292
dc5000e7
DJ
162932007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16294
16295 * gdb.java/jprint.java (public): Avoid invalid call to static
16296 method.
16297
2e74ed18
DP
162982007-05-14 Denis Pilat <denis.pilat@st.com>
16299
16300 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
16301 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
16302 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16303 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
16304 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
16305
83547f02
UW
163062007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16307
16308 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 16309 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
16310 this mode.
16311 * gdb.base/ovlymgr.c: Provide stubs for spu target.
16312 * gdb.base/spu.ld: New file.
16313
b18be20d
DJ
163142007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
16315
16316 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
16317
be444858
DJ
163182007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
16319
16320 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
16321
b1d53152
DJ
163222007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16323
16324 * gdb.java/jmain.exp: Handle demangled names with and without method
16325 signatures.
16326
d084b331
DJ
163272007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16328
16329 * gdb.mi/mi-syn-frame.c (main, foo, bar)
16330 (have_a_very_merry_interrupt): Remove calls to puts.
16331 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
16332 inferior output.
16333 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
16334 test names.
16335
db9d7fc5
DJ
163362007-04-29 Markus Deuling <deuling@de.ibm.com>
16337 Daniel Jacobowitz <dan@codesourcery.com>
16338
16339 * gdb.base/auxv.exp (core_works): Also check is_remote.
16340 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
16341
ef783a7d 163422007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16343
ef783a7d
VP
16344 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
16345 message, not the undefined 'module' variable.
16346 * gdb.base/siginfo.exp: Likewise.
16347 * gdb.base/sigstep.exp: Likewise.
16348 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
16349 serialport.
16350 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
16351
b7b73cae
CV
163522007-04-25 Corinna Vinschen <vinschen@redhat.com>
16353
16354 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
16355 target sim fails. Return 0 otherwise.
16356 (gdb_load): Return prematurely if gdb_target_sim fails.
16357
7d90fdfa
DP
163582007-04-16 Denis Pilat <denis.pilat@st.com>
16359
16360 * gdb.base/setshow.exp: Reset height after having set it to 100.
16361
5d3e9c85
DP
163622007-04-16 Denis Pilat <denis.pilat@st.com>
16363
16364 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
16365
18e75969
DP
163662007-04-16 Denis Pilat <denis.pilat@st.com>
16367
16368 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
16369
25d5ea92
VP
163702007-04-14 Vladimir Prus <vladimir@codesourcery.com>
16371
16372 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
16373 tests. Run the frozen varobjs test.
16374 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 16375 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 16376
0b49cb80
JK
163772007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16378
16379 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
16380 gdb.base/type-opaque.exp: New files.
16381
a73bafbc 163822007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
16383
16384 * gdb.mi/mi-var-child.c
a73bafbc
VP
16385 (do_children_tests): User char[2] instead of
16386 char so that automatic printing of pointers to char
16387 don't give unpredicable result.
16388 * gdb.mi/var-cmd.c (do_locals_test): Initialize
16389 local variables.
16390 * gdb.mi/mi-var-child.exp: Step to right line
16391 of do_children_tests.
16392 * gdb.mi/mi2-var-child.exp: Likewise.
16393 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 16394 do_locals_tests.
a73bafbc
VP
16395 (do_children_tests): User char[2] instead of
16396 char so that automatic printing of pointers to char
a9c64011 16397 don't give unpredicable result.
a73bafbc 16398 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16399 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
16400 Pass test name to mi_wait_for_stop.
16401
7ce59000
DJ
164022007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16403
16404 * gdb.asm/asm-source.exp: Remove d10v case.
16405 * lib/gdb.exp (skip_cplus_tests): Likewise.
16406 * gdb.asm/d10v.inc: Deleted.
16407
20389057
DJ
164082007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16409
16410 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
16411
8807d78b
DJ
164122007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16413
16414 * config/netware.exp: Delete file.
16415
aa3edb8e
JB
164162007-03-29 Joel Brobecker <brobecker@adacore.com>
16417
16418 * gdb.dwarf2/dw2-noloc.S: New file.
16419 * gdb.dwarf2/dw2-noloc.exp: New file.
16420
297561ac
PA
164212007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
16422
16423 * gdb.cp/method2.cc: New test.
16424 * gdb.cp/method2.exp: New test.
16425 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
16426
1f81bd39
DJ
164272007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
16428
16429 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
16430
9453113a
DJ
164312007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
16432
16433 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
16434
b741e217
DJ
164352007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
16436
16437 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
16438 (gdb_load): Delete, replace with...
16439 (gdb_reload): ...this.
16440 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
16441 * gdb.server/server-mon.exp: Likewise.
16442 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
16443 (gdb_start_cmd): New.
16444 (gdb_file_cmd): Save the last loaded file.
16445 (gdb_reload): New.
16446 (gdb_gnu_strip_debug): Use transform.
16447 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
16448 support here. Use new $last_loaded_file. Check mtime.
16449 (gdb_target_cmd): Handle ObjC failure case.
16450 (infer_host_exec): Delete.
16451 (gdbserver_load): Rename to...
16452 (gdbserver_run): ...this. Simplify.
16453 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
16454 (mi_gdb_load): Move most contents to a new function...
16455 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
16456 (mi_run_cmd): Use mi_gdb_target_load.
16457 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
16458 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
16459 Use gdb_run_cmd.
16460 * gdb.base/charsign.exp: Remove incorrect comment.
16461 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
16462 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
16463 gdb.base/start.exp: Use gdb_start_cmd.
16464
446ab585 164652007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 16466 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
16467
16468 * gdb.base/sigbpt.exp: Fix the message when skipping test.
16469 * gdb.base/signull.exp: Similarly.
16470
bbb88ebf
UW
164712007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16472
16473 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
16474 messages available to test cases (like chng-sym.exp).
16475
cb8c4a99
AS
164762007-03-14 Andreas Schwab <schwab@suse.de>
16477
16478 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16479 format changes.
16480
4e463ff5
DJ
164812007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
16482
16483 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
16484 (optimized_1): New.
16485 (main): Call optimized_1.
16486 (gdb2029): Correct typos. Call gdb2029_marker.
16487 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
16488 for gdb2029.
16489
b6db2c47
MK
164902007-03-12 Mark Kettenis <kettenis@gnu.org>
16491
16492 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
16493 as tabs. Remove redundant test pattern.
16494
70ed3737
UW
164952007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16496
16497 * gdb.base/long_long.exp: Accept optional symbol name in <...>
16498 for /a format output.
16499
47b67b60
DJ
165002007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
16501
16502 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
16503 collect output incrementally.
16504
b8953b0e
UW
165052007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16506
16507 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
16508 for -var-create lpcharacter test.
16509 * gdb.mi/mi2-var-cmd.exp: Likewise.
16510
7acd5c40
UW
165112007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16512
16513 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
16514 pass on targets where address zero is readable.
16515
9c6759c1
UW
165162007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16517
16518 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
16519 just a single architecture.
16520
a2f1aeb4
UW
165212007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16522
16523 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
16524 (fetch_all_registers): New function, uses gdb_test_multiple and
16525 exp_continue to fetch inferior output line-by-line.
16526 Replace all uses of do_get_all_registers by fetch_all_registers.
16527
46579ac2
UW
165282007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16529
16530 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
16531 in target_info.
16532
fc133f24
MS
165332007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16534
a9c64011 16535 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
16536 consistancy; add a default (timeout) case.
16537
7646a51d
MS
165382007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16539
16540 * gdb.base/watchpoint.exp: Fix truncated comment.
16541
dcfff61f
MS
165422007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16543
16544 * Makefile.in: Remove spurious single-quotes from sed command.
16545
664e3ee9
DJ
165462007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16547
16548 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
16549 func.
16550 * gdb.mi/mi2-var-cmd.exp: Likewise.
16551
d7cc6f2f
JB
165522007-02-27 Joel Brobecker <brobecker@adacore.com>
16553
a9c64011
AS
16554 * gdb.dwarf2/dw2-producer.S: New file.
16555 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
16556
165572007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
16558
16559 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16560 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16561 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16562 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16563 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16564 Revert tests to use mi_gdb_test and include value field in output
16565 of -var-create.
16566
93d42b30
DJ
165672007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16568
16569 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
16570
c499ed39
DJ
165712007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16572
16573 * gdb.base/maint.exp: Remove full paths from test names.
16574 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16575 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16576
9836f81b
JB
165772007-02-27 Joel Brobecker <brobecker@adacore.com>
16578
16579 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16580
c74d0ad8
DJ
165812007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16582
16583 * gdb.server/server-mon.exp: New test.
16584
2711e456
DJ
165852007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16586
16587 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16588
ff6f572f
DJ
165892007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16590
16591 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16592 register capitalization.
16593
fada3feb
DP
165942007-02-13 Denis Pilat <denis.pilat@st.com>
16595
16596 * gdb.mi/mi-var-invalidate.exp: New file.
16597
fb1e4ffc
DJ
165982007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16599
16600 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16601
3da939d7
DJ
166022007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16603
16604 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16605
123dc839
DJ
166062007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16607
16608 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16609 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16610
877e3645 166112007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
16612
16613 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16614 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16615 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16616 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16617 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 16618 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 16619 Update tests to include value field in output of -var-create.
a9c64011 16620
3c0a2960
AS
166212007-02-08 Andreas Schwab <schwab@suse.de>
16622
16623 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16624
108546a0
DJ
166252007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16626
16627 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16628 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16629
d701dcab
DP
166302007-02-02 Denis Pilat <denis.pilat@st.com>
16631
16632 * gdb.threads/threadapply.exp: check that frame is not changed by
16633 the thread apply all command.
16634
783e3e2f
AS
166352007-01-31 Andreas Schwab <schwab@suse.de>
16636
6d9c3a87
AS
16637 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16638
3c50d7b9
AS
16639 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16640 in the dwarf sections.
16641 * gdb.dwarf2/mac-fileno.S: Likewise.
16642
783e3e2f
AS
16643 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16644 bspstore register on ia64.
16645
78ff580e
AS
166462007-01-29 Andreas Schwab <schwab@suse.de>
16647
cc8e9b12
AS
16648 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16649 "frame-begin" annotation.
16650
78ff580e
AS
16651 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16652 number of "frames-invalid" annotations.
16653
704a4f78
DJ
166542007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16655
16656 * gdb.base/commands.exp: Call if_commands_test.
16657 (gdb_test_no_prompt, if_commands_test): New.
16658
e741bf94
MK
166592007-01-28 Mark Kettenis <kettenis@gnu.org>
16660
16661 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16662
474d0ad3
AS
166632007-01-27 Andreas Schwab <schwab@suse.de>
16664
16665 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16666 .short/.int/.quad in the dwarf sections.
16667 * gdb.dwarf2/dw2-intercu.S: Likewise.
16668 * gdb.dwarf2/dw2-intermix.S: Likewise.
16669
e784b426
JK
166702007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16671
16672 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
16673 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16674 array.
e784b426
JK
16675 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16676 * gdb.base/setvar.exp: Likewise.
16677
37f08e04
AS
166782007-01-26 Andreas Schwab <schwab@suse.de>
16679
9a01813a
AS
16680 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16681 test.
16682
37f08e04
AS
16683 * gdb.base/multi-forks.exp ("restart $i"): Also match
16684 __kernel_syscall_via_break.
16685
6e2a9270
VP
166862007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16687
16688 * lib/mi-support.exp (mi_delete_varobj): New.
16689 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16690 testcase.
16691 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16692 (main): Call the above.
16693 (reference_update_test, base_in_reference_test)
16694 (reference_to_pointer): Delete the created varobjs.
a9c64011 16695
e515b470
DJ
166962007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16697
16698 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16699 * configure: Regenerated.
16700 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16701 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16702 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16703 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16704 * lib/gdb.exp (gdb_skip_xml_test): New function.
16705
08d8bcd7
DJ
167062007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16707
16708 * gdb.base/sigrepeat.exp: Correct error message.
16709
167102007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
16711 Daniel Jacobowitz <dan@codesourcery.com>
16712
16713 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16714 gdb.arch/i386-gnu-cfi-asm.S: New files.
16715
97c3f1f3
JK
167162007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16717
16718 * lib/gdb.exp: Abort on missing `site.exp'.
16719
cb1df416
DJ
167202007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16721 Daniel Jacobowitz <dan@codesourcery.com>
16722
16723 * gdb.base/included.c, gdb.base/included.exp,
16724 gdb.base/included.h: New files.
16725
35990120
DJ
167262007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16727
16728 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16729 (maximize_rlimit): Reduce limits on 64-bit systems.
16730
6e81a116 167312007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
16732
16733 From Marcus Deuling <deuling@de.ibm.com>:
16734 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16735 every case.
16736
6c3c41f3
NR
167372007-01-13 Nick Roberts <nickrob@snap.net.nz>
16738
16739 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16740 (test_path_specification): Use objdir instead of srcdir to always
16741 get an absolute filename.
16742
2f12c312
DJ
167432007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
16744
16745 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16746
81121995
VP
167472007-01-11 Vladimir Prus <vladimir@codesourcery.com>
16748
16749 * gdb.mi/mi-var-cp.cc (reference_update_tests):
16750 Make sure the variable we're using is in scope.
16751 (reference_to_pointer): Likewise.
16752
4741b737
DJ
167532007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16754
16755 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16756 has no debug information.
16757
054410c3
DJ
167582007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16759
16760 * gdb.base/annota1.exp: Remove extra send_gdb.
16761
818f79f6
DJ
167622007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16763
16764 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16765
f7a6bb70
DJ
167662007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16767
16768 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16769
57e66780
DJ
167702007-01-08 Nick Roberts <nickrob@snap.net.nz>
16771 Daniel Jacobowitz <dan@codesourcery.com>
16772
16773 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16774 lcharacter or linteger change. Correct duplicated test name.
16775 * gdb.mi/mi2-var-cmd.exp: Likewise.
16776
3d799a95
DJ
167772007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
16778
16779 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16780
167812007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 16782
a9c64011
AS
16783 * gdb.base/nofield.c: New file.
16784 * gdb.base/nofield.exp: New testcase.
51679ba9 16785
eafb94e8
NR
167862007-01-05 Nick Roberts <nickrob@snap.net.nz>
16787
16788 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16789
16790 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16791 test.
16792
5e572bb4
DJ
167932007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16794
16795 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16796
74a44383
DJ
167972007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16798
16799 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16800 when continuing.
16801
1b572db9
DJ
168022007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16803
16804 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16805 Expect ".exe" extension.
16806
381bc39b
DJ
168072007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16808
16809 * gdb.base/charset.exp: Add explicit filename to break.
16810 * gdb.base/dbx.exp: Add explicit filename to breaks.
16811
2b70e4c6
DJ
168122007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16813
16814 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16815 * gdb.mi/mi2-file.exp: Likewise.
16816
303b6f5d
DJ
168172007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16818
16819 Implement specification of MI tests as comments
16820 in C and C++ sources.
16821 * lib/mi-support.exp (mi_autotest_data): New variable.
16822 (mi_autotest_source): New variable.
16823 (count_newlines, mi_prepare_inline_tests)
16824 (mi_get_inline_test, mi_continue_to_line)
16825 (mi_run_inline_test, mi_tbreak)
16826 (mi_send_resuming_command, mi_wait_for_stop): New functions.
16827 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16828 Run inline tests.
16829 * gdb.mi/mi-var-cp.cc: Define tests here.
16830
23da0d94
VP
168312007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16832
16833 Simplify usage of mi_continue_to.
16834 * lib/mi-support.exp (mi_runto_helper): Renamed
16835 from mi_runto, added new parameter 'run_or_continue'.
16836 (mi_runto): Use mi_runto_helper.
16837 (mi_continue_to): Accept just function name as parameter.
16838 Use mi_runto_helper.
16839 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16840 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16841
f9e18282
JB
168422006-01-04 Joel Brobecker <brobecker@adacore.com>
16843
16844 Make this testcase a bit more realistic. The current code
16845 is too simplistic, and allows the compiler to optimize out
16846 some of the entities we need for this testcase.
16847 * gdb.ada/null_record/bar.ads (Void_Star): New type.
16848 (Do_Nothing): Add extra parameter.
16849 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16850 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16851 by using a variable of type Void_Star.
16852
fd678c65
JB
168532006-01-04 Joel Brobecker <brobecker@adacore.com>
16854
16855 * gdb.ada/catch_ex/foo.adb: New file.
16856 * gdb.ada/catch_ex.exp: New testcase.
16857
05cfdb42
DJ
168582007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16859
16860 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16861 pass --image-base to linker.
16862
2e03ee74
DJ
168632007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16864 Daniel Jacobowitz <dan@codesourcery.com>
16865
16866 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16867 secondary prompts.
16868
0d5de010
DJ
168692007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16870
16871 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16872 output. Test the types of members and member pointers.
16873 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16874 gdb/2092.
16875 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16876 statement. Enable for GCC. Update expected output for some tests
16877 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16878 layout.
16879 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16880 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16881 (Diamond::vget_base): New.
16882 (main): Add new tests.
16883 * gdb.cp/printmethod.exp: Update expected output for member functions.
16884 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16885 print pEe->D::vg().
16886
61a771aa
DJ
168872007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16888
16889 * gdb.threads/tls.exp: Allow stops in sem_post.
16890
2fa63963
DJ
168912006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16892
16893 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16894 * gdb.base/annota3.exp: Likewise.
16895 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16896 again (instead of timing out).
16897 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16898 GCC bug 26475.
16899 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16900 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16901 test from jmisc1.exp.
16902 * gdb.java/jmisc1.exp: Delete.
16903 * gdb.java/jprint.exp: Adjust to work with method signatures including
16904 return types.
16905 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16906 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16907 * lib/java.exp (compile_java_from_source): Pass the correct type
16908 to target_compile.
16909
5eefc2b7
JB
169102006-12-31 Joel Brobecker <brobecker@adacore.com>
16911
16912 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16913 (stack_align_edx): New function.
16914 (stack_align_eax): New function.
16915 (main): Add calls to stack_align_edx and stack_align_eax.
16916 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16917 Add testing for the cases where the register used during a stack
16918 realignment is edx. Same for eax.
16919
227c54da
DJ
169202006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16921
16922 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16923 and generic PE targets.
16924
cab8ac94
JB
169252006-12-29 Joel Brobecker <brobecker@adacore.com>
16926
16927 * gdb.ada/array_return.exp: Update copyright date list.
16928
ba54f318
JB
169292006-12-27 Joel Brobecker <brobecker@adacore.com>
16930
16931 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16932 (Create_Small_Float_Vector): New function.
16933 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16934 function body.
16935 * gdb.ada/array_return/p.adb: Use new type and function from
16936 package Pck.
16937 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16938 able to print the value returned by a function returning an
16939 array of float.
16940
6b7a35dd
JB
169412006-12-20 Joel Brobecker <brobecker@adacore.com>
16942
16943 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16944 The associated tests should be PASSing.
16945
038224f6
VP
169462006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16947
16948 Test for base in references.
16949 * gdb.mi/mi-var-cp.cc: Add test code.
16950 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16951 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16952 * gdb.mi/mi2-watch.exp: Likewise.
16953 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16954 (mi_list_varobj_children): New function.
16955
b26ed50d
VP
169562006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16957
16958 * lib/mi-support.exp
16959 (mi_runto): Accept "()" after function name.
16960 (mi_create_varobj): New function.
16961 (mi_varobj_update): New function.
16962 (mi_Check_varobj_value): New function.
16963 * gdb.mi/mi-var-cp.exp: New file.
16964 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 16965
08232497
DJ
169662006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16967
16968 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16969 gdb.base/weaklib2.c: New files.
16970
d394c993 169712006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 16972
ac6c2fba
NS
16973 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16974 info. Adjust test names.
16975
8ec659a0 16976 * gdb.base/break.c (main): Move position of malloc.
d394c993 16977 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 16978
acd65feb
VP
169792006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16980
16981 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16982 assignement of arrays and function pointers.
16983 * gdb.mi/var-cmd.c: Add declaration necessary for above
16984 tests.
16985
f556d5e5
NS
169862006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16987
16988 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
16989
16990 * gdb.threads/linux-dp.exp: Read thread table before and after
16991 creating each philosopher and verify it.
16992
697bc68d
NS
169932006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16994 Paul Brook <paul@codesourcery.com>
16995 Daniel Jacobowitz <dan@codesourcery.com>
16996
16997 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 16998 main to remove duplication. Add start function of the form
697bc68d
NS
16999 '_*start[1-9]*'. Add RVDS start function.
17000
29d73ae4
DJ
170012006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17002
17003 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17004
c1d88655
UW
170052006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17006
17007 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17008 * gdb.asm/spu.inc: New file.
17009 * gdb.base/term.exp: Disable if [target_info exists noargs].
17010 * gdb.gdb/complaints.exp: Disable if ![isnative].
17011 * gdb.gdb/selftest.exp: Likewise.
17012 * gdb.gdb/observer.exp: Likewise.
17013 * gdb.gdb/xfullpath.exp: Likewise.
17014 * gdb.base/attach.exp: Disable on SPU target.
17015 * gdb.cp/bs145503.exp: Likewise.
17016 * gdb.cp/exception.exp: Likewise.
17017 * gdb.cp/userdef.exp: Likewise.
17018
32a13b1a
DJ
170192006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17020
17021 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17022
d8295fe9
VP
170232006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17024
17025 * gdb.base/completion.exp: Fix completion tests for
17026 'info' and 'info '.
17027 * gdb.base/help.exp (help_test_raw, test_class_help)
17028 (test_prefix_command_help): Move...
17029 * lib/gdb.exp: Here.
17030 * gdb.base/main.exp: Adjust.
17031 * gdb.cp/maint.exp: Adjust.
17032 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 17033
8c394015
VP
170342006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17035
17036 * gdb.stabs/weird.exp (print_weird_var): Use
17037 gdb_test_multiple instead of gdb_expect.
17038
027fc1bc
VP
170392006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17040
17041 * gdb.base/help.exp (help_test_raw): New.
17042 (test_class_help): New.
17043 (test_prefix_command_help): New.
17044 Adjust testcases.
17045
67609209
FR
170462006-11-09 Christophe Lyon <christophe.lyon@st.com>
17047
17048 * gdb.base/constvars.c (main): Write to crass and crips, so that
17049 they are allocated by the compiler.
17050
f73adfeb
AS
170512006-10-27 Andreas Schwab <schwab@suse.de>
17052
17053 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17054 "detach-fork".
17055
2f83a18e
DJ
170562006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17057
17058 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17059 of patterns.
17060
94277a38
DJ
170612006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17062
17063 * gdb.base/sepdebug.exp: Remove debug format test.
17064 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17065 Handle no-symtab.
17066 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17067
5bd2f6e2
DJ
170682006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17069
17070 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17071 int to pointer or pointer to int.
17072 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17073
8c008720
DJ
170742006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17075
17076 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17077
9e35dae4
DJ
170782006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17079
17080 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17081
d9639e13
DJ
170822006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17083
17084 PR c++/2116
17085 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17086
390a1bd0
JB
170872006-10-06 Joel Brobecker <brobecker@adacore.com>
17088
17089 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17090 the corresponding bug has been fixed in GDB (PR/2018).
17091
dd920c33
JB
170922006-10-06 Joel Brobecker <brobecker@adacore.com>
17093
17094 * gdb.base/subst.exp: New testcase.
17095
53bbefe9
JB
170962006-10-06 Joel Brobecker <brobecker@adacore.com>
17097
17098 * gdb.ada/array_return/pck.ads: Add copyright notice.
17099 * gdb.ada/array_return/pck.adb: Likewise.
17100 * gdb.ada/array_return/p.adb: Likewise.
17101 * gdb.ada/exec_changed/first.adb: Likewise.
17102 * gdb.ada/exec_changed/second.adb: Likewise.
17103
09851417
JB
171042006-10-06 Joel Brobecker <brobecker@adacore.com>
17105
17106 * gdb.ada/watch_arg/watch.adb: New file.
17107 * gdb.ada/watch_arg.exp: New testcase.
17108
041bf30d
VP
171092006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17110
17111 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 17112 via string_to_regexp.
041bf30d 17113 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 17114
f286fbdd 171152006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
17116
17117 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17118 Remove unused / obsolete files.
17119
7c07f349
NR
171202006-09-19 Nick Roberts <nickrob@snap.net.nz>
17121
17122 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17123
cd5ff84a
VP
171242006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17125
17126 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17127 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 17128 the number of frames.
cd5ff84a 17129
ae018d1a
DJ
171302006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17131
17132 * gdb.base/args.c (main): Add breakpoint marker.
17133 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17134 really test empty arguments.
17135 (args_load): Delete.
17136 (args_test): New.
17137
b399c549
NR
171382006-09-13 Nick Roberts <nickrob@snap.net.nz>
17139
17140 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 17141 check for one file.
b399c549 17142
2ab1eb7a
VP
171432006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17144
17145 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17146 HIGH_FRAME argument to -stack-list-locals can be larger than
17147 the number of frames.
a9c64011 17148
476308bf
FF
171492006-08-18 Fred Fish <fnf@specifix.com>
17150
17151 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17152 '$' in front of skip_vmx_tests_saved when setting that.
17153
8625200f
AS
171542006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17155
17156 * gdb.base/trace-commands.exp: New file.
17157
089ec8f1
DJ
171582006-08-10 Joel Brobecker <brobecker@adacore.com>
17159 Daniel Jacobowitz <dan@codesourcery.com>
17160
17161 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17162 expected output of the backtrace commands.
17163
b60f0898
JB
171642006-08-09 Joel Brobecker <brobecker@adacore.com>
17165
17166 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17167 untested followed by return combination.
17168 * gdb.arch/altivec-regs.exp: Likewise.
17169 * gdb.arch/e500-abi.exp: Likewise.
17170 * gdb.arch/e500-regs.exp: Likewise.
17171 * gdb.arch/gdb1291.exp: Likewise.
17172 * gdb.arch/gdb1431.exp: Likewise.
17173 * gdb.arch/gdb1558.exp: Likewise.
17174 * gdb.arch/i386-prologue.exp: Likewise.
17175 * gdb.arch/i386-unwind.exp: Likewise.
17176 * gdb.asm/asm-source.exp: Likewise.
17177 * gdb.base/a2-run.exp: Likewise.
17178 * gdb.base/advance.exp: Likewise.
17179 * gdb.base/all-bin.exp: Likewise.
17180 * gdb.base/annota1.exp: Likewise.
17181 * gdb.base/annota3.exp: Likewise.
17182 * gdb.base/args.exp: Likewise.
17183 * gdb.base/arithmet.exp: Likewise.
17184 * gdb.base/assign.exp: Likewise.
17185 * gdb.base/async.exp: Likewise.
17186 * gdb.base/attach.exp: Likewise.
17187 * gdb.base/bang.exp: Likewise.
17188 * gdb.base/bigcore.exp: Likewise.
17189 * gdb.base/bitfields.exp: Likewise.
17190 * gdb.base/bitfields2.exp: Likewise.
17191 * gdb.base/break.exp: Likewise.
17192 * gdb.base/call-sc.exp: Likewise.
17193 * gdb.base/call-strs.exp: Likewise.
17194 * gdb.base/callfuncs.exp: Likewise.
17195 * gdb.base/checkpoint.exp: Likewise.
17196 * gdb.base/chng-syms.exp: Likewise.
17197 * gdb.base/code-expr.exp: Likewise.
17198 * gdb.base/commands.exp: Likewise.
17199 * gdb.base/completion.exp: Likewise.
17200 * gdb.base/cond-expr.exp: Likewise.
17201 * gdb.base/condbreak.exp: Likewise.
17202 * gdb.base/consecutive.exp: Likewise.
17203 * gdb.base/constvars.exp: Likewise.
17204 * gdb.base/corefile.exp: Likewise.
17205 * gdb.base/cvexpr.exp: Likewise.
17206 * gdb.base/dbx.exp: Likewise.
17207 * gdb.base/define.exp: Likewise.
17208 * gdb.base/detach.exp: Likewise.
17209 * gdb.base/display.exp: Likewise.
17210 * gdb.base/dump.exp: Likewise.
17211 * gdb.base/ena-dis-br.exp: Likewise.
17212 * gdb.base/ending-run.exp: Likewise.
17213 * gdb.base/environ.exp: Likewise.
17214 * gdb.base/eval-skip.exp: Likewise.
17215 * gdb.base/exprs.exp: Likewise.
17216 * gdb.base/fileio.exp: Likewise.
17217 * gdb.base/finish.exp: Likewise.
17218 * gdb.base/float.exp: Likewise.
17219 * gdb.base/foll-exec.exp: Likewise.
17220 * gdb.base/foll-fork.exp: Likewise.
17221 * gdb.base/foll-vfork.exp: Likewise.
17222 * gdb.base/freebpcmd.exp: Likewise.
17223 * gdb.base/funcargs.exp: Likewise.
17224 * gdb.base/gcore.exp: Likewise.
17225 * gdb.base/gdb1090.exp: Likewise.
17226 * gdb.base/gdb1250.exp: Likewise.
17227 * gdb.base/huge.exp: Likewise.
17228 * gdb.base/info-proc.exp: Likewise.
17229 * gdb.base/interrupt.exp: Likewise.
17230 * gdb.base/jump.exp: Likewise.
17231 * gdb.base/langs.exp: Likewise.
17232 * gdb.base/lineinc.exp: Likewise.
17233 * gdb.base/list.exp: Likewise.
17234 * gdb.base/logical.exp: Likewise.
17235 * gdb.base/long_long.exp: Likewise.
17236 * gdb.base/macscp.exp: Likewise.
17237 * gdb.base/maint.exp: Likewise.
17238 * gdb.base/mips_pro.exp: Likewise.
17239 * gdb.base/miscexprs.exp: Likewise.
17240 * gdb.base/multi-forks.exp: Likewise.
17241 * gdb.base/opaque.exp: Likewise.
17242 * gdb.base/overlays.exp: Likewise.
17243 * gdb.base/pc-fp.exp: Likewise.
17244 * gdb.base/pointers.exp: Likewise.
17245 * gdb.base/printcmds.exp: Likewise.
17246 * gdb.base/psymtab.exp: Likewise.
17247 * gdb.base/ptype.exp: Likewise.
17248 * gdb.base/recurse.exp: Likewise.
17249 * gdb.base/relational.exp: Likewise.
17250 * gdb.base/relocate.exp: Likewise.
17251 * gdb.base/remote.exp: Likewise.
17252 * gdb.base/reread.exp: Likewise.
17253 * gdb.base/restore.exp: Likewise.
17254 * gdb.base/return.exp: Likewise.
17255 * gdb.base/return2.exp: Likewise.
17256 * gdb.base/scope.exp: Likewise.
17257 * gdb.base/sect-cmd.exp: Likewise.
17258 * gdb.base/sep.exp: Likewise.
17259 * gdb.base/sepdebug.exp: Likewise.
17260 * gdb.base/setshow.exp: Likewise.
17261 * gdb.base/setvar.exp: Likewise.
17262 * gdb.base/sigall.exp: Likewise.
17263 * gdb.base/sigbpt.exp: Likewise.
17264 * gdb.base/signals.exp: Likewise.
17265 * gdb.base/signull.exp: Likewise.
17266 * gdb.base/sizeof.exp: Likewise.
17267 * gdb.base/solib.exp: Likewise.
17268 * gdb.base/step-line.exp: Likewise.
17269 * gdb.base/step-test.exp: Likewise.
17270 * gdb.base/structs.exp: Likewise.
17271 * gdb.base/structs2.exp: Likewise.
17272 * gdb.base/term.exp: Likewise.
17273 * gdb.base/twice.exp: Likewise.
17274 * gdb.base/until.exp: Likewise.
17275 * gdb.base/varargs.exp: Likewise.
17276 * gdb.base/volatile.exp: Likewise.
17277 * gdb.base/watchpoint.exp: Likewise.
17278 * gdb.base/whatis-exp.exp: Likewise.
17279 * gdb.base/whatis.exp: Likewise.
17280 * gdb.cp/ambiguous.exp: Likewise.
17281 * gdb.cp/annota2.exp: Likewise.
17282 * gdb.cp/annota3.exp: Likewise.
17283 * gdb.cp/bool.exp: Likewise.
17284 * gdb.cp/breakpoint.exp: Likewise.
17285 * gdb.cp/casts.exp: Likewise.
17286 * gdb.cp/class2.exp: Likewise.
17287 * gdb.cp/classes.exp: Likewise.
17288 * gdb.cp/cplusfuncs.exp: Likewise.
17289 * gdb.cp/ctti.exp: Likewise.
17290 * gdb.cp/derivation.exp: Likewise.
17291 * gdb.cp/exception.exp: Likewise.
17292 * gdb.cp/gdb1355.exp: Likewise.
17293 * gdb.cp/hang.exp: Likewise.
17294 * gdb.cp/inherit.exp: Likewise.
17295 * gdb.cp/local.exp: Likewise.
17296 * gdb.cp/m-data.exp: Likewise.
17297 * gdb.cp/m-static.exp: Likewise.
17298 * gdb.cp/member-ptr.exp: Likewise.
17299 * gdb.cp/method.exp: Likewise.
17300 * gdb.cp/misc.exp: Likewise.
17301 * gdb.cp/namespace.exp: Likewise.
17302 * gdb.cp/overload.exp: Likewise.
17303 * gdb.cp/ovldbreak.exp: Likewise.
17304 * gdb.cp/pr-1023.exp: Likewise.
17305 * gdb.cp/pr-1210.exp: Likewise.
17306 * gdb.cp/pr-574.exp: Likewise.
17307 * gdb.cp/printmethod.exp: Likewise.
17308 * gdb.cp/psmang.exp: Likewise.
17309 * gdb.cp/ref-params.exp: Likewise.
17310 * gdb.cp/ref-types.exp: Likewise.
17311 * gdb.cp/rtti.exp: Likewise.
17312 * gdb.cp/templates.exp: Likewise.
17313 * gdb.cp/try_catch.exp: Likewise.
17314 * gdb.cp/userdef.exp: Likewise.
17315 * gdb.cp/virtfunc.exp: Likewise.
17316 * gdb.disasm/am33.exp: Likewise.
17317 * gdb.disasm/h8300s.exp: Likewise.
17318 * gdb.disasm/mn10300.exp: Likewise.
17319 * gdb.disasm/sh3.exp: Likewise.
17320 * gdb.disasm/t01_mov.exp: Likewise.
17321 * gdb.disasm/t02_mova.exp: Likewise.
17322 * gdb.disasm/t03_add.exp: Likewise.
17323 * gdb.disasm/t04_sub.exp: Likewise.
17324 * gdb.disasm/t05_cmp.exp: Likewise.
17325 * gdb.disasm/t06_ari2.exp: Likewise.
17326 * gdb.disasm/t07_ari3.exp: Likewise.
17327 * gdb.disasm/t08_or.exp: Likewise.
17328 * gdb.disasm/t09_xor.exp: Likewise.
17329 * gdb.disasm/t10_and.exp: Likewise.
17330 * gdb.disasm/t11_logs.exp: Likewise.
17331 * gdb.disasm/t12_bit.exp: Likewise.
17332 * gdb.disasm/t13_otr.exp: Likewise.
17333 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
17334 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
17335 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17336 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
17337 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
17338 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17339 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17340 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17341 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
17342 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
17343 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17344 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17345 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17346 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17347 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17348 * gdb.mi/gdb701.exp: Likewise.
17349 * gdb.mi/gdb792.exp: Likewise.
17350 * gdb.mi/mi-basics.exp: Likewise.
17351 * gdb.mi/mi-break.exp: Likewise.
17352 * gdb.mi/mi-cli.exp: Likewise.
17353 * gdb.mi/mi-console.exp: Likewise.
17354 * gdb.mi/mi-disassemble.exp: Likewise.
17355 * gdb.mi/mi-eval.exp: Likewise.
17356 * gdb.mi/mi-file.exp: Likewise.
17357 * gdb.mi/mi-read-memory.exp: Likewise.
17358 * gdb.mi/mi-regs.exp: Likewise.
17359 * gdb.mi/mi-return.exp: Likewise.
17360 * gdb.mi/mi-simplerun.exp: Likewise.
17361 * gdb.mi/mi-stack.exp: Likewise.
17362 * gdb.mi/mi-stepi.exp: Likewise.
17363 * gdb.mi/mi-syn-frame.exp: Likewise.
17364 * gdb.mi/mi-until.exp: Likewise.
17365 * gdb.mi/mi-var-block.exp: Likewise.
17366 * gdb.mi/mi-var-child.exp: Likewise.
17367 * gdb.mi/mi-var-cmd.exp: Likewise.
17368 * gdb.mi/mi-var-display.exp: Likewise.
17369 * gdb.mi/mi-watch.exp: Likewise.
17370 * gdb.mi/mi2-basics.exp: Likewise.
17371 * gdb.mi/mi2-break.exp: Likewise.
17372 * gdb.mi/mi2-cli.exp: Likewise.
17373 * gdb.mi/mi2-console.exp: Likewise.
17374 * gdb.mi/mi2-disassemble.exp: Likewise.
17375 * gdb.mi/mi2-eval.exp: Likewise.
17376 * gdb.mi/mi2-file.exp: Likewise.
17377 * gdb.mi/mi2-read-memory.exp: Likewise.
17378 * gdb.mi/mi2-regs.exp: Likewise.
17379 * gdb.mi/mi2-return.exp: Likewise.
17380 * gdb.mi/mi2-simplerun.exp: Likewise.
17381 * gdb.mi/mi2-stack.exp: Likewise.
17382 * gdb.mi/mi2-stepi.exp: Likewise.
17383 * gdb.mi/mi2-syn-frame.exp: Likewise.
17384 * gdb.mi/mi2-until.exp: Likewise.
17385 * gdb.mi/mi2-var-block.exp: Likewise.
17386 * gdb.mi/mi2-var-child.exp: Likewise.
17387 * gdb.mi/mi2-var-cmd.exp: Likewise.
17388 * gdb.mi/mi2-var-display.exp: Likewise.
17389 * gdb.mi/mi2-watch.exp: Likewise.
17390 * gdb.stabs/exclfwd.exp: Likewise.
17391 * gdb.stabs/weird.exp: Likewise.
17392 * gdb.threads/gcore-thread.exp: Likewise.
17393 * gdb.trace/actions.exp: Likewise.
17394 * gdb.trace/backtrace.exp: Likewise.
17395 * gdb.trace/circ.exp: Likewise.
17396 * gdb.trace/collection.exp: Likewise.
17397 * gdb.trace/deltrace.exp: Likewise.
17398 * gdb.trace/infotrace.exp: Likewise.
17399 * gdb.trace/limits.exp: Likewise.
17400 * gdb.trace/packetlen.exp: Likewise.
17401 * gdb.trace/passc-dyn.exp: Likewise.
17402 * gdb.trace/passcount.exp: Likewise.
17403 * gdb.trace/report.exp: Likewise.
17404 * gdb.trace/save-trace.exp: Likewise.
17405 * gdb.trace/tfind.exp: Likewise.
17406 * gdb.trace/tracecmd.exp: Likewise.
17407 * gdb.trace/while-dyn.exp: Likewise.
17408 * gdb.trace/while-stepping.exp: Likewise.
17409
f4b618d1
JB
174102006-08-08 Joel Brobecker <brobecker@adacore.com>
17411
17412 * gdb.base/step-bt.c: New file.
17413 * gdb.base/step-bt.exp: New testcase.
17414
3d00d119
DJ
174152006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
17416
17417 * config/monitor.exp (gdb_load): Remove support for obsolete
17418 download-write-size.
17419 * gdb.base/remote.exp: Likewise. Update all callers of
17420 gdb_timed_load.
17421
017b5bd4
DJ
174222006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
17423
17424 * cursal.exp: Pass binfile to gdb_load.
17425
837c599d
DJ
174262006-08-01 Nathan Sidwell <nathan@codesourcery.com>
17427
17428 * gdb.base/cursal.exp: Add "" to gdb_load call.
17429
8dd4540b
MK
174302006-07-29 Mark Kettenis <kettenis@gnu.org>
17431
17432 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
17433 NetBSD/ELF targets.
17434
ab5c9f60
DJ
174352006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
17436
17437 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
17438 operator*.
17439
4c42eaff
DJ
174402006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
17441
17442 * gdb.base/completion.exp: Update for change in "file" behavior.
17443 * gdb.stabs/weird.exp: Likewise.
17444 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
17445 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
17446
0155cc76
NS
174472006-07-24 Nathan Sidwell <nathan@codesourcery.com>
17448
17449 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
17450 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
17451
16026cd7
AS
174522006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
17453
17454 * gdb.base/default.exp: Update source command error message.
17455 * gdb.base/help.exp: Update 'help source' message.
17456
16963cb6
DJ
174572006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
17458
17459 * gdb.cp/bs15503.exp: Update comment for no longer crashing
17460 test.
17461
6d7fd486
AS
174622006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
17463
17464 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
17465
29e8a844
DJ
174662006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
17467
17468 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
17469
6afcfa39
DJ
174702006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
17471
17472 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
17473
267a692b
MK
174742006-07-17 Mark Kettenis <kettenis@gnu.org>
17475
17476 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
17477 *-*-openbsd* from targets for wich we expect ARM FPA floating
17478 point format.
17479
85d2fec4
NR
174802006-07-17 Nick Roberts <nickrob@snap.net.nz>
17481
17482 * gdb.cp/annota3.exp: Expect frame-begin annotation.
17483
174842006-07-17 Mark Kettenis <kettenis@gnu.org>
17485
17486 * gdb.base/annota3.exp: Expect frame-begin annotation.
17487
85b4c6e8
JB
174882006-07-14 Joel Brobecker <brobecker@adacore.com>
17489
17490 * gdb.base/help.exp: Adjust "help unset" test to accept
17491 any list of unset commands.
17492
fb933624
DJ
174932006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
17494 Daniel Jacobowitz <dan@codesourcery.com>
17495
17496 * gdb.cp/ref-params.exp: New test.
17497 * gdb.cp/ref-params.cc: New source file.
17498 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
17499
1dff4b64
MK
175002006-07-08 Mark Kettenis <kettenis@gnu.org>
17501
17502 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
17503 spaces/tabs in regular expressions since they might not be there.
17504
40d2e0e3
AS
175052006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
17506
17507 * gdb.base/ifelse.exp: New file.
17508
f6c957d2
NS
175092006-07-04 Nathan Sidwell <nathan@codesourcery.com>
17510
17511 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
17512 line.
17513 * gdb.base/huge.exp: Loop over compilation to find a size that
17514 is acceptable.
17515 * gdb.base/remote.exp: Correct expected strings.
17516 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
17517
b9c5a23d
DJ
175182006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17519
17520 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
17521
9af2e58d
DJ
175222006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17523
17524 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
17525 native.
17526
30930ca5
DJ
175272006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17528
17529 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
17530 enable stabs testing.
17531
aa32fa1d
DJ
175322006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17533
bd4a4c80 17534 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
17535 gdb_test_multiple does.
17536
321fef15
DJ
175372006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17538
17539 * Makefile.in (host_alias): Remove.
17540 (target_alias): Use @target_noncanonical@.
17541 (site.exp): Don't set host_alias.
17542 * aclocal.m4: Remove contents. Include acx.m4.
17543 * configure: Regenerated.
17544 * configure.ac: Use ACX_NONCANONICAL_TARGET.
17545
e1c2defa
NS
175462006-06-13 Nathan Sidwell <nathan@codesourcery.com>
17547
e63b55d1
NS
17548 * lib/gdb.exp (gdb_load_cmd): New.
17549
5600ea19
NS
17550 * gdb.base/fileio.c: Add system(NULL) test.
17551 * gdb.base/fileio.exp: Check it.
17552
e1c2defa
NS
17553 * gdb.base/break.c: Add 10a breakpoint at }
17554 * gdb.base/break.exp: Add test for breakpoint at }
17555 * gdb.cp/anon-union.cc: Add code at end of function.
17556 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
17557 * gdb.mi/var-cmd.c: Add code at end of function.
17558 * gdb.mi/mi-var-display.exp: Adjust end of next.
17559 * gdb.mi/mi2-var-display.exp: Likewise.
17560 * gdb.base/fileio.c: Add stop function and insert calls at
17561 stopping places.
17562 * gdb.base/fileio.exp: Breakpoint stop function and remove
17563 explicit line number references.
17564
6c0112ec
JB
175652006-05-19 Joel Brobecker <brobecker@adacore.com>
17566
a9c64011
AS
17567 * gdb.base/del.exp (test_delete_alias): New function.
17568 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 17569
154189a4
FF
175702006-05-18 Fred Fish <fnf@specifix.com>
17571
17572 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17573 required. Check for spurious output after program exits normally.
17574
582e64c2
FF
175752006-05-17 Fred Fish <fnf@specifix.com>
17576
17577 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17578 gdb_load, so it works in the simulator.
17579
8ef6493a
FF
175802006-05-11 Fred Fish <fnf@specifix.com>
17581
17582 * gdb.base/bang.exp: Ignore unexpected output between the
17583 "program exited normally" and the gdb prompt, as many other
17584 tests do.
17585
692b141c
MK
175862006-05-07 Mark Kettenis <kettenis@gnu.org>
17587
17588 * gdb.base/help.exp: Make "delete checkpoint" part option for
17589 "help d" and "help delete" tests.
17590
540b8a30
UW
175912006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17592
a9c64011 17593 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
17594 expected output in some mi_gdb_test statements.
17595 * gdb.mi/mi2-basics.exp: Likewise.
17596
9b6462d9
JB
175972006-05-05 Joel Brobecker <brobecker@adacore.com>
17598
17599 * gdb.base/del.c: New file.
17600 * gdb.base/del.exp: New testcase.
17601
954de43b
DM
176022006-05-05 David S. Miller <davem@sunset.davemloft.net>
17603
17604 * gdb.base/break.exp: Do not assume a breakpoint on
17605 main will actually be in $srcfile when optimizing.
1303f75e
DM
17606 * gdb.base/savedregs.exp: Do not require that the dummy
17607 frame location match up to a symbol and source file location.
c3242428
DM
17608 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17609 will get printed without a mi_cmd_data_list_register_values prefix.
17610 (*-data-list-register-*): Correct regular expressions to expect the new
17611 pseudo d? floating point registers.
17612 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 17613
c7e64c9a
DJ
176142006-05-05 Christophe Lyon <christophe.lyon@st.com>
17615
17616 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17617 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17618 is allocated by the compiler.
17619 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17620 anons, e, anone to force their allocation by the compiler.
17621
176222006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
17623
17624 * gdb.base/help.exp: Update expected text for help d and
17625 help delete.
17626
27ce9a6d
MK
176272006-05-02 Mark Kettenis <kettenis@gnu.org>
17628
17629 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17630 NetBSD/ELF targets.
17631
8608915f
MK
176322006-04-30 Mark Kettenis <kettenis@gnu.org>
17633
17634 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17635 single-step breakpoint fails; make this a KFAIL on
17636 sparc*-*-openbsd*.
17637 * gdb.base/siginfo.exp: Likewise.
17638 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17639
b8db102d
MS
176402006-04-26 Michael Snyder <msnyder@redhat.com>
17641
17642 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17643 which may have to consume output from other forks.
17644 Add tests to make sure that "delete fork" succeeded.
17645
c702009a
MS
176462006-04-20 Michael Snyder <msnyder@redhat.com>
17647
17648 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17649 Add support for the Renesas M32C and M16C.
17650
17651 * gdb.asm/asm-source.exp: Add m32c target.
17652 * gdb.asm/m32c.inc: Support for m32c target.
17653
e28493f2
AS
176542006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17655
17656 * gdb.base/commands.exp (recursive_source_test): New test.
17657
880da185
DM
176582006-04-04 David S. Miller <davem@sunset.davemloft.net>
17659
17660 * gdb.base/float.exp: Add pattern for sparc targets.
17661
61d9b92f
DJ
176622006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17663
17664 * gdb.base/commands.exp (stray_arg0_test): New test.
17665
bd717df8
PB
176662006-03-30 Paul Brook <paul@codesourcery.com>
17667
17668 * gdb.mi/mi-until.exp: kfail broken until command.
17669 * gdb.mi/mi2-until.exp: Ditto.
17670
ec793d3c
NR
176712006-03-27 Nick Roberts <nickrob@snap.net.nz>
17672
17673 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17674
831004b7
AO
176752006-03-08 Alexandre Oliva <aoliva@redhat.com>
17676
17677 * gdb.base/prelink.exp: Anchor tested-for regular expression
17678 on gdb prompt.
17679
effe49a0
PB
176802006-03-07 Paul Brook <paul@codesourcery.com>
17681
17682 * gdb.base/assign.exp: Correct fail message.
17683
e5461016
PB
176842006-03-07 Paul Brook <paul@codesourcery.com>
17685
17686 * lib/compiler.c: Extract armcc version number.
17687 * lib/compiler.cc: Ditto.
17688
fc91c6c2
PB
176892006-03-07 Paul Brook <paul@codesourcery.com>
17690
17691 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17692 additional_flags=-w.
17693 * gdb.arch/altivec-regs.exp: Ditto.
17694 * gdb.arch/e500-abi.exp: Ditto.
17695 * gdb.arch/e500-regs.exp: Ditto.
17696 * gdb.base/all-bin.exp: Ditto.
17697 * gdb.base/annota1.exp: Ditto.
17698 * gdb.base/annota3.exp: Ditto.
17699 * gdb.base/args.exp: Ditto.
17700 * gdb.base/arithmet.exp: Ditto.
17701 * gdb.base/assign.exp: Ditto.
17702 * gdb.base/async.exp: Ditto.
17703 * gdb.base/bang.exp: Ditto.
17704 * gdb.base/break.exp: Ditto.
17705 * gdb.base/call-rt-st.exp: Ditto.
17706 * gdb.base/completion.exp: Ditto.
17707 * gdb.base/cond-expr.exp: Ditto.
17708 * gdb.base/condbreak.exp: Ditto.
17709 * gdb.base/consecutive.exp: Ditto.
17710 * gdb.base/define.exp: Ditto.
17711 * gdb.base/display.exp: Ditto.
17712 * gdb.base/ena-dis-br.exp: Ditto.
17713 * gdb.base/environ.exp: Ditto.
17714 * gdb.base/eval-skip.exp: Ditto.
17715 * gdb.base/info-proc.exp: Ditto.
17716 * gdb.base/jump.exp: Ditto.
17717 * gdb.base/logical.exp: Ditto.
17718 * gdb.base/long_long.exp: Ditto.
17719 * gdb.base/maint.exp: Ditto.
17720 * gdb.base/miscexprs.exp: Ditto.
17721 * gdb.base/pc-fp.exp: Ditto.
17722 * gdb.base/pointers.exp: Ditto.
17723 * gdb.base/relational.exp: Ditto.
17724 * gdb.base/reread.exp: Ditto.
17725 * gdb.base/sect-cmd.exp: Ditto.
17726 * gdb.base/sep.exp: Ditto.
17727 * gdb.base/sepdebug.exp: Ditto.
17728 * gdb.base/until.exp: Ditto.
17729 * gdb.base/whatis-exp.exp: Ditto.
17730 * gdb.cp/annota2.exp: Ditto.
17731 * gdb.cp/annota3.exp: Ditto.
17732 * gdb.trace/actions.exp: Ditto.
17733 * gdb.trace/backtrace.exp: Ditto.
17734 * gdb.trace/circ.exp: Ditto.
17735 * gdb.trace/collection.exp: Ditto.
17736 * gdb.trace/deltrace.exp: Ditto.
17737 * gdb.trace/infotrace.exp: Ditto.
17738 * gdb.trace/limits.exp: Ditto.
17739 * gdb.trace/packetlen.exp: Ditto.
17740 * gdb.trace/passc-dyn.exp: Ditto.
17741 * gdb.trace/passcount.exp: Ditto.
17742 * gdb.trace/report.exp: Ditto.
17743 * gdb.trace/save-trace.exp: Ditto.
17744 * gdb.trace/tfind.exp: Ditto.
17745 * gdb.trace/tracecmd.exp: Ditto.
17746 * gdb.trace/while-dyn.exp: Ditto.
17747 * gdb.trace/while-stepping.exp: Ditto.
17748 * lib/gdb.exp: Ditto.
17749 (gdb_compile): Handle nowarning option.
17750
5f4a23d9
AO
177512006-03-07 Alexandre Oliva <aoliva@redhat.com>
17752
17753 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17754 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
17755 Rename executable to prelinkt. Don't re-prelink if we didn't
17756 get a core file. Test prelink -u exit status to tell whether
17757 prelinking failed. Use gdb_test_multiple.
17758
9733fc94
DJ
177592006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
17760
17761 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17762 (do_tests): Call it.
17763
cc10cae3
AO
177642006-02-28 Alexandre Oliva <aoliva@redhat.com>
17765
17766 * gdb.base/prelink.exp: New test.
17767 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17768
15c46491
WZ
177692006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
17770
17771 * gdb.fortran/derived-type.f90: New file.
17772 * gdb.fortran/derived-type.exp: New testcase.
17773
5c9f7ded
DJ
177742006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
17775
17776 * gdb.base/default.exp: Allow ';' as a directory separator.
17777
5b96932b
AS
177782006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17779
17780 * gdb.base/help.exp (help add-symbol-file): Update.
17781
1986bccd
AS
177822006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17783
17784 * gdb.base/help.exp (help load): Update expected results.
17785
a8b7528f
FF
177862006-02-19 Fred Fish <fnf@specifix.com>
17787
17788 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17789 specifix hex value as part of results.
17790 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 17791
f8261448
FF
177922006-02-16 Fred Fish <fnf@specifix.com>
17793
17794 * gdb.base/whatis.c: Define variables using typedefs char_addr,
17795 ushort_addr, and slong_addr, so the typedefs are not optimized
17796 away.
17797 * gdb.base/whatis.exp: Add tests using type name for struct type,
17798 union type, enum type, and typedef.
a9c64011 17799
31d8bdd2
MK
178002006-02-13 Mark Kettenis <kettenis@gnu.org>
17801
17802 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17803
34e41e63
JB
178042006-02-13 Jim Blandy <jimb@redhat.com>
17805
17806 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17807 case where it takes two "next" commands to skip past the init
17808 call.
17809
ac6e4f31
FF
178102006-02-12 Fred Fish <fnf@specifix.com>
17811
17812 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17813 to handle cases where it takes two "next" commands to skip
17814 past the init call.
17815
2db2d571
JB
178162006-02-07 Joel Brobecker <brobecker@adacore.com>
17817
17818 * gdb.ada/array_return.exp: Mark the last test as expected to fail
17819 on hppa32 targets.
17820
38fcd64c
DJ
178212006-02-06 Vladimir Prus <ghost@cs.msu.su>
17822
17823 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17824 field.
17825
1315ad46
MK
178262006-01-29 Mark Kettenis <kettenis@gnu.org>
17827
17828 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17829
5625b943
DJ
178302006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17831
17832 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17833 files.
17834
80df1bbe
DJ
178352006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17836
17837 * gdb.cp/maint.exp: Set complaints to a positive value.
17838
9078e690
DJ
178392006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17840
17841 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
17842 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
17843 function name.
17844
9c903399
DJ
178452006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17846
17847 * gdb.base/checkpoint.c: Update copyright notice. Include
17848 <stdlib.h>.
17849
761ae4d6
JB
178502006-01-04 Jim Blandy <jimb@redhat.com>
17851
17852 * gdb.asm/asm-source.exp: Independently provide default values for
17853 asm-flags and debug-flags. Use 'string equal' to do the
17854 comparison, not the implicit expr's '==' operator. Remove
17855 now-unneeded assignments to asm-flags. In h8300 case, place
17856 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17857
099ac3dd
MS
178582006-01-04 Michael Snyder <msnyder@redhat.com>
17859
17860 * gdb.base/checkpoint.c: New file.
17861 * gdb.base/checkpoint.exp: New file.
17862 * gdb.base/multi-fork.c: New file.
17863 * gdb.base/multi-fork.exp: New file.
17864 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17865
f4d85314
FF
178662006-01-04 Fred Fish <fnf@specifix.com>
17867
17868 * gdb.base/ptype.c (foo): Add typedef.
17869 (intfoo): Add function.
17870 * gdb.base/ptype1.c: New file.
17871 * gdb.base/ptype.exp: Handle compilation and linking with two
17872 source files. Test that proper type for "foo" is found based
17873 on source context rather than first match found in symtabs.
17874
a1b06f35
MK
178752005-12-28 Mark Kettenis <kettenis@gnu.org>
17876
17877 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17878 * gdb.asm/openbsd.inc: Indent commands.
17879
d082a1e2
MK
178802005-12-26 Mark Kettenis <kettenis@gnu.org>
17881
c65016bd
MK
17882 * gdb.base/freebpcmd.exp: Increase timeout.
17883
d082a1e2
MK
17884 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17885
d3c32a0e
DJ
178862005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17887
17888 * gdb.base/default.exp: Update check for "show version".
17889
9fdb1f50
RC
178902005-12-09 Randolph Chung <tausq@debian.org>
17891
17892 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17893 * gdb.asm/pa64.inc: New file.
17894
5f2c56f7
RC
178952005-12-09 Randolph Chung <tausq@debian.org>
17896
17897 * gdb.asm/common.inc: Indent commands.
17898 * gdb.asm/asmsrc1.s: Likewise.
17899 * gdb.asm/asmsrc2.s: Likewise.
17900
8117349c
RC
179012005-12-09 Randolph Chung <tausq@debian.org>
17902
17903 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17904 (get_addr_of_sym): Remove duplicate print.
17905 (gen_core): xfail hppa*-*-hpux*, update expected output.
17906 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17907 * gdb.arch/pa64-nullify.s: New file.
17908
8f07f25a
RC
179092005-12-09 Randolph Chung <tausq@debian.org>
17910
17911 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17912
55b39184
DJ
179132005-12-07 Christophe Lyon <christophe.lyon@st.com>
17914
17915 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17916 code generation for these functions.
17917 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17918 error message.
17919
31e2b00f
AS
179202005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17921
17922 * gdb.base/help.exp (help b, help br, help bre, help brea)
17923 (help break): Update the expected message.
17924
c3d0b56e
SC
179252005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17926
17927 * gdb.asm/m68hc11.inc: Setup the data section.
17928 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17929 script for this test.
17930 (m6812-*-*): Likewise.
17931
36ae0ea9
RC
179322005-11-09 Randolph Chung <tausq@debian.org>
17933
17934 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17935
9d6f42e9
WZ
179362005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17937
17938 * gdb.base/break.exp: Fix a comment typo.
17939
e2126a14
EZ
179402005-11-03 Jim Blandy <jimb@redhat.com>
17941
a9c64011
AS
17942 Checked in by Elena Zannoni <ezannoni@redhat.com>
17943
889bf7c5 17944 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 17945
e0ac7199
CV
179462005-11-02 Corinna Vinschen <vinschen@redhat.com>
17947
17948 * gdb.arch/gdb1558.c: Include stdio.h.
17949
31d3fb18
MK
179502005-10-31 Mark Kettenis <kettenis@gnu.org>
17951
17952 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17953
e52b687c
MK
179542005-10-31 Mark Kettenis <kettenis@gnu.org>
17955
17956 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17957
f4711d79
PG
179582005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17959
a9c64011
AS
17960 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17961 vscr" tests to better match output.
f4711d79 17962
987a9106
JB
179632005-10-12 Jim Blandy <jimb@redhat.com>
17964
17965 * gdb.base/structs.exp (any): New function.
17966 (test_struct_returns): Don't make any assumptions at all about
17967 what value the function returns when GDB can't set the return
17968 value.
17969
2336bb58
JB
179702005-10-09 Joel Brobecker <brobecker@adacore.com>
17971
17972 * gdb.ada/arrayidx/p.adb: New file.
17973 * gdb.ada/arrayidx.exp: New testcase
17974
179752005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
17976
17977 * gdb.ada/array_return/pck.ads: New file.
17978 * gdb.ada/array_return/pck.adb: New file.
17979 * gdb.ada/array_return/p.adb: New file.
17980 * gdb.ada/array_return.exp: New testcase.
17981
705335ea
JB
179822005-10-03 Joel Brobecker <brobecker@adacore.com>
17983
a9c64011
AS
17984 * gdb.base/arrayidx.c: New file.
17985 * gdb.base/arrayidx.exp: New testcase.
705335ea 17986
11ee9940
NR
179872005-09-29 Nick Roberts <nickrob@snap.net.nz>
17988
17989 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17990 frames-invalid and breakpoints-invalid are no longer generated
17991 with level 3 so don't expect them in the output.
17992
39fb8e9e
BR
179932005-09-27 Bob Rossi <bob@brasko.net>
17994
a9c64011 17995 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
17996 from test. Escape the | in mi_gdb_test call.
17997 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17998 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17999 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18000 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18001 expected regex's in mi_gdb_test calls.
18002 * lib/mi-support.exp: Remove arbitrary .* from tests.
18003 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18004 Fully anchor GDB/MI expected results in mi_gdb_test.
18005 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18006 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18007
2af48f68
PB
180082005-09-26 Paul Brook <paul@codesourcery.com>
18009
18010 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18011
f34502bc
WZ
180122005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18013
18014 * bfp-test.c: New file.
18015 * bfp-test.exp: New testcase.
18016
ca929517
WZ
180172005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18018
18019 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18020 of subarray and substring variable.
18021 * gdb.fortran/subarray.f: New source file for the test of subarray
18022 and substring variable evaluation.
18023 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18024 of string constant.
18025
c761af65
DJ
180262005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18027
18028 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18029 copyright dates.
18030
561d7a1d
PG
180312005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18032
18033 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18034 powerpc altivec' test with an almost identical 'info vector' test.
18035
b2b64cc9
PG
180362005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18037
a9c64011
AS
18038 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18039 vscr" tests to match output.
b2b64cc9 18040
6ac4d15a
PG
180412005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18042
a9c64011
AS
18043 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18044 output.
6ac4d15a 18045
40e55bef
BR
180462005-09-11 Bob Rossi <bob@brasko.net>
18047
889bf7c5
PA
18048 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18049 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18050 commands that return an MI output command and an asyncronous MI output
18051 command.
40e55bef
BR
18052 * gdb.mi/mi-console.exp: Ditto.
18053
3c7385ec
BR
180542005-09-11 Bob Rossi <bob@brasko.net>
18055
18056 * gdb.mi/mi-var-child.c: Include <string.h>.
18057
a6cd0eb3
DJ
180582005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18059
18060 * killed.exp: Correct gdb_expect syntax.
18061
2f168eed
CV
180622005-08-09 Corinna Vinschen <vinschen@redhat.com>
18063
18064 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18065
ecd3fd0f
BR
180662005-08-02 Bob Rossi <bob@brasko.net>
18067
18068 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18069 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18070 Change tests to inferior-tty-set/show.
18071 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18072 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18073 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18074 inferior. Use mi_gdb_test to get GDB and Inferior output.
18075 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18076 descriptor.
18077 (mi_inferior_tty_name): Add inferior PTY file name.
18078 (mi_gdb_start): Add INFERIOR_PTY parameter.
18079 (mi_gdb_test): Add IPATTERN parameter.
18080
f1ea48cb 180812005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 18082
f1ea48cb
BR
18083 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18084 parameter to mi_gdb_test.
18085 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18086
6e650a67
DJ
180872005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18088
18089 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18090 struct_declarations.
18091 * gdb.mi/mi-var-child.exp: Step over the initialization of
18092 struct_declarations.
18093
8be260b6
DJ
180942005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18095
18096 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18097 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18098 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18099 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18100 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18101 file.
18102
4e660f07
NR
181032005-07-27 Nick Roberts <nickrob@snap.net.nz>
18104
18105 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18106 (do_children_tests): Assign values to the extra elements.
18107
18108 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18109 them for tests for "-var-update --no-values" and
a9c64011 18110 "-var-update --all-values".
4e660f07
NR
18111 Add test for "-var-list-children --simple-values".
18112
18113 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18114
18115 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18116 "-stack-list-locals --simple-values" Improve doc strings and
18117 comments.
18118
6bdae935
MK
181192005-07-18 Mark Kettenis <kettenis@gnu.org>
18120
598b7a6f
MK
18121 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18122 *-*-openbsd*.
18123 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18124
6bdae935
MK
18125 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18126 sigaltsatck'.
18127
1323e929 181282005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 18129
1323e929
BR
18130 * gdb.base/default.exp (tty): Changed output of command.
18131 * gdb.base/help.exp (help tty): Ditto.
18132
b1a9c082
MK
181332005-07-12 Mark Kettenis <kettenis@gnu.org>
18134
18135 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18136
10a844a2
MK
181372005-07-10 Mark Kettenis <kettenis@gnu.org>
18138
18139 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18140 -stack-select-frame without arguments.
18141 (test_stack_frame_listing): Add test for newly implemented command
18142 -stack-info-frame.
18143
3cb3b8df
BR
181442005-07-06 Bob Rossi <bob@brasko.net>
18145
18146 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18147 command.
18148 (Copyright): Update copyright.
18149
a0c5fbcf
WZ
181502005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18151
18152 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18153 tests to evaluate exponentiation expression.
18154
984971d0
AS
181552005-06-29 Andreas Schwab <schwab@suse.de>
18156
18157 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18158 main to avoid warnings.
18159
18160 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18161
fe03833f
NR
181622005-06-20 Nick Roberts <nickrob@snap.net.nz>
18163
18164 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18165 -stack-select-frame without arguments.
18166 (test_stack_frame_listing): Add test for newly implemented command
18167 -stack-info-frame.
a9c64011 18168
7a55f279
WZ
181692005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18170
0ffa0ea5
DJ
18171 * gdb.fortran/array-element.f: New file.
18172 * gdb.fortran/array-element.exp: New testcase.
7a55f279 18173
26585198
DJ
181742005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18175
18176 * gdb.base/bigcore.exp: Correct checks for systems which can
18177 not dump a large core file.
18178
c1bd25fd
DJ
181792005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18180
18181 * gdb.base/relocate.c: Add a copyright notice.
18182 (dummy): Remove.
18183 * gdb.base/relocate.exp: Test printing the values of variables
18184 from a relocatable file.
18185
589e074d
DJ
181862005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18187
18188 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18189 excess MI output after an error.
18190
0915f927
JB
181912005-05-29 Joel Brobecker <brobecker@adacore.com>
18192
18193 * gdb.arch/alpha-step.c: New file.
18194 * gdb.arch/alpha-step.exp: New testcase.
18195
76ff342d
DJ
181962005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18197 Dennis Brueni <dennis@slickedit.com>
18198
18199 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18200 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18201 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18202 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18203 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18204 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18205 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18206
96b0c7ac
DJ
182072005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18208 Wu Zhou <woodzltc@cn.ibm.com>
18209
18210 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18211 IBM's xlc compiler.
18212 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18213 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18214
f21565d2
JB
182152005-05-13 Jim Blandy <jimb@redhat.com>
18216
18217 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18218 calling gdb_suppress_entire_file.
18219 * gdb.base/charset.exp: Same.
18220 * gdb.base/call-rt-st.exp: Same.
18221
6006a3a1
BR
182222005-05-05 Bob Rossi <bob_rossi@cox.net>
18223
18224 * lib/gdb.exp (fullname_syntax): Added global regex.
18225 (fullname_syntax_POSIX): Ditto.
18226 (fullname_syntax_UNC): Ditto.
18227 (fullname_syntax_DOS_CASE): Ditto.
18228 (fullname_syntax_DOS): Ditto.
18229 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18230 fullname_syntax variable to scope and use it.
18231 (test_file_list_exec_source_files): Ditto.
18232 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18233
c3b69c04
DJ
182342005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
18235
18236 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18237
3c95e6af
PG
182382004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
18239
a9c64011
AS
18240 * lib/gdb.exp (skip_altivec_tests): New function, based on
18241 check_vmx_hw_available from the GCC testsuite.
18242 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18243 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 18244
78df6c56
JB
182452005-05-02 Jim Blandy <jimb@redhat.com>
18246
18247 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18248 calling gdb_suppress_entire_file.
18249
1690f9cf
DJ
182502005-04-30 Randolph Chung <tausq@debian.org>
18251
18252 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18253 Slightly relax "sem_post" name checking.
18254
5ea106f7
PG
182552005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18256
18257 * gdb.base/unload.exp: Use new shared library infrastructure.
18258
bf7234cf
PG
182592005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18260
18261 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 18262 infrastructure.
bf7234cf 18263
547b869a
CV
182642005-04-29 Corinna Vinschen <vinschen@redhat.com>
18265
18266 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
18267 * gdb.asm/h8300.inc: New file.
18268
f07e55f0
PG
182692005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18270
18271 * gdb.base/shlib-call.exp: Change to use new shared library
18272 infrastructure.
18273
3cbba3d1
PG
182742005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18275
a9c64011
AS
18276 * gdb.base/pending.exp: Change to use new shared library
18277 infrastructure.
3cbba3d1 18278
ed6df200
PG
182792005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18280
a9c64011
AS
18281 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
18282 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 18283
8c8f4ebe
PG
182842005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
18285
a9c64011
AS
18286 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
18287 shared objects being adjusted and update copyright years.
8c8f4ebe 18288
607fbc54
DJ
182892005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
18290
18291 * ChangeLog: Correct some 2003-01-13 dates.
18292 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
18293 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
18294 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
18295 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
18296 gdb.trace/tfind.exp: Update copyright years.
18297
57bf0e56
DJ
182982005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
18299 Daniel Jacobowitz <dan@codesourcery.com>
18300
18301 * lib/gdb.exp (gdb_compile): Handle shlib=.
18302 (gdb_compile_shlib): New function.
18303
9b593790
PG
183042005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
18305
a9c64011 18306 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 18307
9494c6a5
DJ
183082005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18309
18310 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
18311 gdb.server.
18312 * configure.ac: Likewise.
18313 * configure: Regenerated.
18314 * gdb.gdbserver/Makefile.in: Moved to...
18315 * gdb.server/Makefile.in: ... here.
18316 * gdb.gdbserver/server.c: Moved to...
18317 * gdb.server/server.c: ... here.
18318 * gdb.gdbserver/server-run.exp: Moved to...
18319 * gdb.server/server-run.exp: ... here.
18320
6f8eac0e
DJ
183212005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18322
18323 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
18324 * configure.ac: Create gdb.gdbserver/Makefile.
18325 * configure: Regenerated.
18326 * lib/gdbserver-support.exp: New file, derived from
18327 config/gdbserver.exp.
18328 * config/gdbserver.exp: Use gdbserver-support.exp.
18329 * gdb.gdbserver/Makefile.in: New file.
18330 * gdb.gdbserver/server.c: New file.
18331 * gdb.gdbserver/server-run.exp: New file.
18332
6e87504d
PG
183332005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
18334
a9c64011
AS
18335 * lib/gdb.exp (test_compiler_info): Return compiler_info
18336 if no arguments are given.
6e87504d 18337
d1779be4
PG
183382005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
18339
18340 * gdb.arch/altivec-abi.exp: Check for compiler and set
18341 use altivec' flag accordingly.
18342 * gdb.arch/altivec-regs.exp: Likewise.
18343
88750304
DJ
183442005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
18345
18346 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
18347
f3fb768d
AS
183482005-03-27 Andreas Schwab <schwab@suse.de>
18349
18350 * gdb.base/bigcore.c (main): Add missing mode argument in open
18351 call.
18352
7e813ac5
DJ
183532005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
18354
18355 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
18356 downloads.
18357 * config/gdbserver.exp (gdb_load): Likewise.
18358
8e3049aa
PB
183592005-03-14 Paul Brook <paul@codesourcery.com>
18360
18361 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
18362 targets.
18363
a9df7c44
JB
183642005-03-09 Joel Brobecker <brobecker@adacore.com>
18365
18366 * gdb.dwarf2/dup-psym.S: New file.
18367 * gdb.dwarf2/dup-psym.exp: New testcase.
18368
9f0d94e8
JB
183692005-03-09 Joel Brobecker <brobecker@adacore.com>
18370
18371 * gdb.ada/exec_changed/first.adb: New file.
18372 * gdb.ada/exec_changed/second.adb: New file.
18373 * gdb.ada/exec_changed.exp: New testcase.
18374
5f579bc5
NS
183752005-03-08 Nathan Sidwell <nathan@codesourcery.com>
18376
36e9969c
NS
18377 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
18378 (A2): New class.
18379 (main): Test operator+.
18380 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
18381 breakpoint test.
18382
5f579bc5
NS
18383 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
18384 * gdb.base/signull.exp: Disable if gdb,nosignals.
18385 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
18386 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
18387 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
18388 * gdb.mi/mi2-console.exp: Likewise.
18389 * gdb.trace/collection.exp (run_trace_experiment): Consume the
18390 continue output at start.
18391 (gdb_collect_locals_test): Robustify regexp.
18392 * gdb.trace/passc-dyn.exp: Fix comment typo.
18393 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
18394
be46087e
CV
183952005-03-08 Corinna Vinschen <vinschen@redhat.com>
18396
18397 * gdb.asm/asm-source.exp: Add iq2000 case.
18398 * gdb.asm/iq2000.inc: New file.
18399
384e1a61 184002005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 18401
384e1a61
MI
18402 * gdb.base/command.exp: Change hardcoded value to regular expression.
18403 * gdb.base/float.exp: Add powerpc to the list of targets checked.
18404
584b6e9e
DJ
184052005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
18406
18407 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
18408 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
18409 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
18410 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
18411 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
18412
ab5b5d61
MK
184132005-03-05 Mark Kettenis <kettenis@gnu.org>
18414
18415 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
18416 changes.
18417
ae051c1b
PG
184182004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
18419
a9c64011
AS
18420 * lib/compiler.c: Add test for IBM's xlc compiler.
18421 * lib/compiler.cc: Likewise.
ae051c1b 18422
3f0f6ed2
JB
184232004-02-24 Joel Brobecker <brobecker@adacore.com>
18424
18425 * gdb.ada/fixed_points.exp: Create compilation object directory
18426 before running the test.
18427 * gdb.ada/null_record.exp: Likewise.
18428 * gdb.ada/packed_array.exp: Likewise.
18429 * gdb.ada/start.exp: Likewise.
18430
724f452b
JB
184312005-02-15 Joel Brobecker <brobecker@adacore.com>
18432
18433 * gdb.ada/packed_array/pa.adb: New file.
18434 * gdb.ada/packed_array.exp: New testcase.
18435
57f5cdfb 184362005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 18437
1f393151
MK
18438 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
18439 files.
18440
ebdda337
MK
18441 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
18442 on *-*-openbsd*. Correctly match whitespace in regukar
18443 expressions.
18444
cf309262
DJ
184452005-02-10 Daniel Jacobowitz <dan@debian.org>
18446
18447 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
18448 PR exp/1821
18449 * gdb.base/gdb1821.c: New test file.
18450 * gdb.base/gdb1821.exp: New test file.
18451
3be49e7a
JB
184522005-02-09 Joel Brobecker <brobecker@adacore.com>
18453
18454 * gdb.base/start.c: New file.
18455 * gdb.base/start.exp: New testcase.
18456
e292e67d
JB
184572005-02-09 Joel Brobecker <brobecker@adacore.com>
18458
18459 * gdb.ada/start/dummy.adb: New file.
18460 * gdb.ada/start.exp: New testcase.
18461
dbdfa66c
CV
184622005-02-09 Corinna Vinschen <vinschen@redhat.com>
18463
18464 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
18465 for printing symbols and statistics.
18466 Add test for using relative pathnames in "maint print msymbols" test.
18467 Mark "maint info sections DATA" XFAIL on Cygwin.
18468 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
18469 tests.
18470
d7941671
AC
184712005-02-09 Andreas Schwab <schwab@suse.de>
18472
18473 Committed by Andrew Cagney <cagney@gnu.org>
18474 * gdb.base/remotetimeout.exp: New file.
18475
74e5ef44
MK
184762005-02-07 Mark Kettenis <kettenis@gnu.org>
18477
18478 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
18479
464dd14d
JB
184802005-02-03 Joel Brobecker <brobecker@adacore.com>
18481
18482 * gdb.ada/gnat_ada.gpr: New file.
18483 * gdb.ada/gnat_ada.gin: Delete, no longer used.
18484 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
18485 * configure.ac: No longer generate gnat_ada.gpr.
18486 * configure: Regenerate.
18487 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
18488 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
18489 * gdb.ada/null_record/bar.ads: Likewise.
18490 * gdb.ada/null_record/bar.adb: Likewise.
18491 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
18492 * gdb.ada/null_record.exp (testdir): New variable.
18493 (testfile): executable is now in testdir subdirectory.
18494 (srcfile): Use full path to the main compilation unit.
18495 * gdb.ada/fixed_points.exp: Same changes as above.
18496
30d756ae
NR
184972005-02-03 Nick Roberts <nickrob@snap.net.nz>
18498
18499 * gdb.base/interp.exp: New test.
18500
9d799f85
AC
185012005-01-24 Andrew Cagney <cagney@gnu.org>
18502
18503 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
18504
15656118
AC
185052005-01-19 Andrew Cagney <cagney@gnu.org>
18506
a892c31b
AC
18507 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
18508 configure.ac not configure.in.
18509
15656118
AC
18510 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
18511 of powerpc*-*-*.
18512 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 18513 * gdb.base/list.exp (test_list_function)
15656118
AC
18514 (test_list_filename_and_function): Ditto.
18515 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
18516
a7b01baf
AC
185172005-01-16 Andrew Cagney <cagney@gnu.org>
18518
17d92a02
AC
18519 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
18520
a7b01baf
AC
18521 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
18522
bc8332bb
AC
185232005-01-14 Andrew Cagney <cagney@gnu.org>
18524
18525 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
18526 * gdb.mi/mi2-var-cmd.exp: Ditto.
18527
4d074752
CV
185282005-01-10 Corinna Vinschen <vinschen@redhat.com>
18529
18530 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
18531
bec39cab
AC
185322005-01-07 Andrew Cagney <cagney@gnu.org>
18533
18534 * configure.ac: Rename configure.in, require autoconf 2.59.
18535 * configure: Re-generate.
18536 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
18537 * gdb.stabs/configure: Re-generate.
18538 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
18539 * gdb.hp/configure: Re-generate.
18540 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
18541 autoconf 2.59.
18542 * gdb.hp/gdb.objdbg/configure: Re-generate.
18543 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
18544 autoconf 2.59.
18545 * gdb.hp/gdb.defects/configure: Re-generate.
18546 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
18547 autoconf 2.59.
18548 * gdb.hp/gdb.compat/configure: Re-generate.
18549 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
18550 autoconf 2.59.
18551 * gdb.hp/gdb.base-hp/configure: Re-generate.
18552 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
18553 autoconf 2.59.
18554 * gdb.hp/gdb.aCC/configure: Re-generate.
18555
f10b16d4
JB
185562004-12-15 Jim Blandy <jimb@redhat.com>
18557
18558 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
18559 under NPTL when there is debugging info available for libpthread.
18560
fb6e1814
JG
185612004-12-13 Jerome Guitton <guitton@gnat.com>
18562
18563 * gdb.ada/fixed_points.c: New file.
18564 * gdb.ada/fixed_points.exp: New file.
18565
fe46cd3a
RC
185662004-12-03 Randolph Chung <tausq@debian.org>
18567
18568 * gdb.arch/pa-nullify.exp: New file.
18569 * gdb.arch/pa-nullify.s: New file.
18570
8de0841b
RC
185712004-11-30 Randolph Chung <tausq@debian.org>
18572
18573 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18574 instead of "tbug". Fix regexp to work properly with gdb_test.
18575
c8170782
PH
185762004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
18577
18578 * gdb.base/bitfields2.exp: New test.
18579 * gdb.base/bitfields2.c: New file.
18580
954269c2
RE
185812004-11-28 Richard Earnshaw <rearnsha@arm.com>
18582
18583 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18584
0107feed
RC
185852004-11-16 Randolph Chung <tausq@debian.org>
18586
18587 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18588
f073ae8c
DJ
185892004-11-14 Daniel Jacobowitz <dan@debian.org>
18590
18591 * gdb.threads/threadapply.exp: Correct "macro details" test.
18592
19ad59e7
JJ
185932004-11-11 Jeff Johnston <jjohnstn@redhat.com>
18594
18595 * gdb.threads/threadapply.exp: New test.
18596 * gdb.threads/threadapply.c: New file.
18597
9cf0961b
MK
185982004-11-07 Mark Kettenis <kettenis@gnu.org>
18599
18600 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18601 frames.
18602
c789492a
FL
186032004-11-05 Felix Lee <felix+log1@specifixinc.com>
18604
18605 * gdb.base/cursal.exp: New file.
18606 * gdb.base/cursal.c: New file.
18607
a1e167bb
AC
186082004-11-03 Andrew Cagney <cagney@gnu.org>
18609
18610 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18611
b7cbf173
MK
186122004-10-30 Mark Kettenis <kettenis@gnu.org>
18613
18614 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18615 NetBSD/ELF targets.
18616
88f9d34f
JB
186172004-10-29 Joel Brobecker <brobecker@gnat.com>
18618
18619 * gdb.threads/bp_in_thread.c: New file, copied from
18620 pthread_cond_wait.c.
18621 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18622 file, rather than reusing the .c file from another testcase.
18623
ca7d6a0c
JB
186242004-10-20 Joel Brobecker <brobecker@gnat.com>
18625
18626 * gdb.ada/null_record.exp: Check where we stopped after
18627 sending the start command, instead of where the associated
18628 temporary breakpoint was inserted.
18629
0d863d03
AC
186302004-10-14 Andrew Cagney <cagney@gnu.org>
18631
18632 * gdb.mi/gdb701.c (main): Return 0.
18633
d11e72cb
DJ
186342004-10-13 Daniel Jacobowitz <dan@debian.org>
18635
d40539a4 18636 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 18637
e1923096
JJ
186382004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18639
18640 * gdb.threads/schedlock.c: Add comment markers to use to find
18641 line numbers.
18642 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18643 comments.
18644 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18645 breakpoint lines.
18646
ec8ba2c9
DJ
186472004-10-12 Daniel Jacobowitz <dan@debian.org>
18648
18649 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18650
0eb3658b
DJ
186512004-10-12 Daniel Jacobowitz <dan@debian.org>
18652
18653 * configure.in: Add gdb.dwarf2.
18654 * configure: Regenerated.
18655 * Makefile.in: Add gdb.dwarf2.
18656 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18657 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18658 gdb.dwarf2/file1.txt: New files.
18659
a271cc33
OF
186602004-10-11 Orjan Friberg <orjanf@axis.com>
18661
a9c64011 18662 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
18663 of "run", since the latter doesn't work with remote targets. Adjust
18664 the breakpoint numbering accordingly.
18665 * gdb.threads/pthread_cond_wait.exp: Ditto.
18666
895ce074
MC
186672004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18668
18669 * gdb.base/overlays.exp: Update copyright years.
18670
6be3092d
KI
186712004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18672
18673 * gdb.base/overlays.exp: Disable if target is Linux.
18674
e05389b8
FL
186752004-10-06 Felix Lee <felix+log1@specifixinc.com>
18676
18677 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18678
73cb587d
KI
186792004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18680
18681 * gdb.asm/asm-source.exp: Add m32r-linux target.
18682 * gdb.asm/m32r-linux.inc: New file.
18683
3c0edcdc
AC
186842004-09-24 Andrew Cagney <cagney@redhat.com>
18685 David Anderson <anderson@redhat.com>
18686
18687 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18688 command fails, assume things will work.
18689 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18690 (_GNU_SOURCE): Define.
18691 (print_unsigned, print_hex): Change parameter to "long long".
18692 (print_byte_count): New function, use to print byte counts.
18693 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18694 O_LARGEFILE.
18695 (main): Compute an upper bound on a corefile in max_core_size.
18696 Limit memory chunk size to max_core_size. Limit total memory
18697 allocated to max_core_size.
18698
4bb3667f
AC
186992004-09-23 Andrew Cagney <cagney@gnu.org>
18700
18701 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18702 from a separate process with code that creates a corefile by
18703 making the inferior dump core.
18704
60fe1a51
MK
187052004-09-23 Mark Kettenis <kettenis@gnu.org>
18706
18707 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18708 block.
18709
8e937346
MC
187102004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18711
18712 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18713 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18714 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18715 Likewise.
18716
7213f6d6
JJ
187172004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18718
18719 * gdb.java/jprint.exp: New test case for java inferior call.
18720 * gdb.java/jprint.java: Ditto.
18721
eac69dca
JB
187222004-09-15 Joel Brobecker <brobecker@gnat.com>
18723
18724 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18725
22227696
MC
187262004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18727
18728 * gdb.threads/killed.c: Include <stdlib.h>.
18729 * gdb.threads/pthreads.c: Likewise.
18730
7dd403a4
MC
187312004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18732
18733 * gdb.threads/killed.c: Add copyright notice.
18734
33f2d567
JM
187352004-09-10 Jason Molenda (jmolenda@apple.com)
18736
a9c64011
AS
18737 * gdb.base/define.exp: Two new tests to verify zero space chars
18738 after 'if' and 'while' commands in a user-defined command is correctly
18739 parsed.
33f2d567 18740
e05b62ac
AC
187412004-09-08 Andrew Cagney <cagney@gnu.org>
18742
18743 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
18744 delivery test with duplicate at end of file.
18745
9cbe82da
MK
187462004-09-06 Mark Kettenis <kettenis@jive.nl>
18747
18748 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18749
564803d9
MC
187502004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18751
18752 * config/hppro.exp: Removed.
18753
7c6807ce
MC
187542004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18755
18756 * config/sparclet.exp: Removed.
18757
bf7e26dd
MC
187582004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18759
18760 * config/udi.exp: Removed.
18761
714e341b
MC
187622004-09-02 Michael Chastain <mec.gnu@mindspring.com>
18763
18764 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18765 of "exp_continue".
18766 (advancei): Likewise.
18767
1236e623
JJ
187682004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18769
18770 * gdb.base/unload.exp: Fix so messages aren't duplicated.
18771
3bdcad15
MI
187722004-09-01 Manoj Iyer <manjo@austin.ibm.com>
18773
228af206 18774 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
18775 to check for nodebug in executable.
18776 * gdb.gdb/observer.exp (setup_test): Likewise.
18777 * gdb.gdb/selftest.exp (test_with_self): Likewise.
18778 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18779
c72b934c
AC
187802004-09-01 Andrew Cagney <cagney@gnu.org>
18781
18782 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18783 files.
18784
edd9b715
JJ
187852004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18786
18787 * gdb.base/unload.exp: Fix expected warning message to match
18788 latest format.
18789
fb4ce06b
CV
187902004-09-01 Corinna Vinschen <vinschen@redhat.com>
18791
18792 * gdb.base/call-rt-st.exp: Fix typos.
18793
ce78e7c3
MI
187942004-08-31 Manoj Iyer <manjo@austin.ibm.com>
18795
18796 * gdb.threads/thread_check.exp: New testcase.
18797 * gdb.threads/thread_check.c: New testcase.
18798
2dedb159
AC
187992004-08-31 Andrew Cagney <cagney@gnu.org>
18800
18801 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18802 (skip_to_handler_entry): New procedures. Test stepping into a
18803 handler when the breakpoint is at the handler's entry point.
18804
68f53502
AC
188052004-08-30 Andrew Cagney <cagney@gnu.org>
18806
18807 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18808 gdb/1757.
18809
3e3ffd2b
MC
188102004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18811
18812 With code from Manoj Iyer <manjo@austin.ibm.com>:
18813 * lib/gdb.exp (gdb_file_cmd): Return more information in the
18814 return value. Add an arm for "no debugging symbols found".
18815 Change a stray "error" to "perror".
18816 (gdb_run_cmd): Adapt to new return value.
18817 * gdb.base/remote.exp: Adapt to new return value.
18818 * gdb.gdb/complaints.exp: Likewise.
18819 * gdb.gdb/observer.exp: Likewise.
18820 * gdb.gdb/selftest.exp: Likewise.
18821 * gdb.gdb/xfullpath.exp: Likewise.
18822
4b6f5fd2
JB
188232004-08-27 Joel Brobecker <brobecker@gnat.com>
18824
18825 * gdb.threads/bp_in_thread.exp: New testcase.
18826
e5b25496
MC
188272004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18828
18829 Fix PR testsuite/1735.
18830 * gdb.threads/schedlock.c (thread_function): Add a cast
18831 to suppress a gcc warning.
18832 * gdb.threads/thread-specific.c (thread_function): Likewise.
18833
934353d6
MC
188342004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18835
18836 * gdb.base/unload.c: Include <stdlib.h>.
18837
f98a0aef 188382004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 18839
f98a0aef 18840 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
18841 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18842 synchronized after the "return".
18843
5a2e8882
MC
188442004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18845
18846 * gdb.mi/basics.c: Include <stdio.h>.
18847 * gdb.mi/pthreads.c: Include <stdlib.h>.
18848 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18849
a9640423
MC
188502004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18851
18852 * gdb.threads/schedlock.c: Add copyright notice.
18853
b04e311d
AC
188542004-08-25 Andrew Cagney <cagney@gnu.org>
18855
18856 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18857 (skip_over_handler, breakpoint_over_hander): New test procedures.
18858 (advance, advancei): Add a proper prefix, do not use
18859 rerun_to_main.
18860 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18861
7c27f15b
MC
188622004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18863
18864 * gdb.mi/basics.c: Add copyright notice.
18865 * gdb.mi/var-cmd.c: Add copyright notice.
18866
fffc87ae
MC
188672004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18868
18869 * lib/gdb.exp: Remove signed_keyword_not_used.
18870 * lib/compiler.c: Likewise.
18871 * lib/compiler.cc: Likewise.
18872
d782e0bf
MC
188732004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18874
18875 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18876 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18877
96033e83
MC
188782004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18879
18880 * gdb.base/whatis.c: Add copyright notice.
18881
cf38c229
MK
188822004-08-20 Mark Kettenis <kettenis@gnu.org>
18883
18884 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18885 it to skip the breakpoints encoded in the inline assembly.
18886
f4b49756
MC
188872004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18888
18889 * Makefile.in: Add gdb.fortran.
18890
2f193b69
MC
188912004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18892
18893 * gdb.base/call-sc.exp (test_scalar_returns):
18894 Fix cut-and-paste glitch in "Make fun return now".
18895
89a237cb
MC
188962004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18897
18898 * configure.in: Add gdb.fortran.
18899 * configure: Regenerate.
18900 * gdb.fortran/Makefile.in: New file.
18901 * lib/gdb.exp (skip_fortran_tests): New procedure.
18902
469aff8e
MC
189032004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18904
18905 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18906 reference to bug-gnu@prep.ai.mit.edu.
18907 * gdb.mi/mi-var-child.exp: Likewise.
18908 * gdb.mi/mi-var-cmd.exp: Likewise.
18909 * gdb.mi/mi-var-display.exp: Likewise.
18910 * gdb.mi/mi2-var-block.exp: Likewise.
18911 * gdb.mi/mi2-var-child.exp: Likewise.
18912 * gdb.mi/mi2-var-cmd.exp: Likewise.
18913 * gdb.mi/mi2-var-display.exp: Likewise.
18914
00b51b9f
MK
189152004-08-15 Mark Kettenis <kettenis@gnu.org>
18916
18917 * gdb.base/unload.c (main): Make local variable msg const.
18918
45f07fef
MC
189192004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18920
18921 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18922 to bug-gnu@prep.ai.mit.edu.
18923 * gdb.mi/mi-disassemble.exp: Likewise.
18924 * gdb.mi/mi-eval.exp: Likewise.
18925 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18926 default line number.
18927 * gdb.mi/mi-return.exp: Likewise.
18928 * gdb.mi/mi-simplerun.exp: Likewise.
18929 * gdb.mi/mi-stack.exp: Likewise.
18930 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18931 number with explicit range test.
18932 * gdb.mi/mi-watch.exp: Likewise.
18933 * gdb.mi/mi2-break.exp: Likewise.
18934 * gdb.mi/mi2-cli.exp: Likewise.
18935 * gdb.mi/mi2-disassemble.exp: Likewise.
18936 * gdb.mi/mi2-eval.exp: Likewise.
18937 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18938 default line number.
18939 * gdb.mi/mi2-return.exp: Likewise.
18940 * gdb.mi/mi2-simplerun.exp: Likewise.
18941 * gdb.mi/mi2-stack.exp: Likewise.
18942 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18943 number with explicit range test.
18944 * gdb.mi/mi2-watch.exp: Likewise.
18945
dd8c8ee7
MC
189462004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18947
18948 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18949 * gdb.cp/m-static.exp: Likewise.
18950 * gdb.cp/rtti.exp: Likewise.
18951
4e838464
MK
189522004-08-14 Mark Kettenis <kettenis@gnu.org>
18953
18954 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18955
8d8cb839
EZ
189562004-08-14 Eli Zaretskii <eliz@gnu.org>
18957
18958 * ChangeLog: Prefix Local Variables with semi-colons and indent
18959 the reference to older ChangeLog files, to fix fontification in
18960 Emacs.
18961
deea8bb0
MC
189622004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18963
18964 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18965 * gdb.mi/mi2-break.exp: Likewise.
18966
c3297504
MC
189672004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18968
18969 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18970
25808999
MC
189712004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18972
18973 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18974
226a8d71
MC
189752004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18976
18977 * gdb.cp/classes.exp: Remove unused declarations. Just let
18978 test names default instead of providing special names. Remove
18979 extraneous demangler test.
18980
37fdf854
JJ
189812004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18982
18983 * gdb.base/unload.exp: New test for breakpoints in dynamically
18984 loaded libraries.
18985 * gdb.base/unload.c: Ditto.
18986 * gdb.base/unloadshr.c: Ditto.
18987
2d3a7986
MC
189882004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18989
18990 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18991 cp_test_ptype_class.
18992 (test_enums): Likewise.
18993
c72b934c
AC
189942004-08-10 Andrew Cagney <cagney@gnu.org>
18995
18996 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18997 files.
18998
cc503c8a
AC
189992004-08-10 Andrew Cagney <cagney@gnu.org>
19000
19001 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19002 init_malloc call.
19003
902f2ccb
MC
190042004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19005
19006 * ChangeLog: Add copyright notice. The notice is copied
19007 from emacs 21.3 top level ChangeLog.
19008
78c90502
MC
190092004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19010
19011 * lib/cp-support.exp: New file.
19012 * lib/cp-support.exp (cp_test_type_class): New function.
19013 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19014 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19015 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19016 cp_test_ptype_class.
19017
88e5ea78
MC
190182004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19019
19020 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19021 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19022 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19023 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19024 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19025 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19026 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19027 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19028 gdb.mi/mi2-watch.exp: Update copyright years.
19029
6a89fc9c
MK
190302004-08-09 Mark Kettenis <kettenis@gnu.org>
19031
19032 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19033
1482e0de
MC
190342004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19035
19036 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19037 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19038 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19039 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19040 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19041 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19042 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19043 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19044 gdb.mi/mi-watch.exp: Update copyright years.
19045
1a5ce3f3
DJ
190462004-08-08 Daniel Jacobowitz <dan@debian.org>
19047
19048 PR gdb/1738
19049 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19050 from a breakpoint with a pending signal.
19051
04f6ecf2
DJ
190522004-08-08 Daniel Jacobowitz <dan@debian.org>
19053
19054 PR gdb/1736
19055 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19056 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19057 the prompt.
19058 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19059
54d90d35
DJ
190602004-08-08 Daniel Jacobowitz <dan@debian.org>
19061
19062 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19063
d2f6abb0
DJ
190642004-08-08 Daniel Jacobowitz <dan@debian.org>
19065
19066 PR gdb/1736
19067 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19068 for i?86-*-linux*.
19069
5598c03d
DJ
190702004-08-08 Daniel Jacobowitz <dan@debian.org>
19071
19072 * gdb.arch/i386-prologue.exp: Compile without debug information.
19073
c6fee705
MC
190742004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19075
19076 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19077 rather than asking gdb to search.
19078
dd90efdb
MC
190792004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19080
19081 * gdb.base/gcore.c: Include <string.h>.
19082
1e84bec1
MC
190832004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19084
19085 * gdb.base/gcore.c: Add copyright notice.
19086
e425eb2b
MC
190872004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19088
19089 * gdb.base/freebpcmd.c: Include <stdio.h>.
19090 * gdb.base/long_long.c: Include <string.h>.
19091 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19092 * gdb.base/siginfo.c: Include <string.h>.
19093 * gdb.base/sigstep.c: Include <string.h>.
19094
cb9aaed5
MC
190952004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19096
19097 * gdb.base/complex.c: Include <stdlib.h>.
19098
55944f3d
MC
190992004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19100
19101 * gdb.base/complex.c: Add copyright notice.
19102
7b2953d9
MC
191032004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19104
19105 * gdb.base/charset.c: Include <stdlib.h>.
19106
c9133d23
MC
191072004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19108
19109 * gdb.base/auxv.c: Include <stdlib.h>.
19110
0a8490ad
MC
191112004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19112
19113 * gdb.base/auxv.c: Add copyright notice.
19114
3426d5ec
MC
191152004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19116
19117 * gdb.base/coremaker.c: Add copyright notice.
19118 * gdb.base/coremaker2.c: Add copyright notice.
19119
8da195dd
AC
191202004-08-04 Andrew Cagney <cagney@gnu.org>
19121
19122 * gdb.base/store.exp: Update copyright.
19123 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19124 names, do not import gdb_prompt.
19125
8d394f98
AC
191262004-08-01 Andrew Cagney <cagney@gnu.org>
19127
19128 Fix PR testsuite/1729.
19129 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19130 not use capture_value with value 4.
19131 (capture_value): Add optional test name parameter.
19132 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19133 the prefix, pass to capture_value.
19134
b6702b23
MK
191352004-08-01 Mark Kettenis <kettenis@gnu.org>
19136
19137 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19138 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19139 (main): Call new function.
19140
c203e0ca
MC
191412004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19142
19143 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19144
a7995a30
MC
191452004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19146
19147 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19148
9366563b
MC
191492004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19150
b6eeaf26 19151 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
19152 Accept more values of vtbl pointer. Remove some messages
19153 about "obsolete gcc or gdb".
19154
2fc1f950
MC
191552004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19156
19157 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19158
c724d49b
MC
191592004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19160
19161 * gdb.base/asm-source.exp: Properly convert target board
19162 debug flags from gcc format to binutils format.
19163
736b0fce
MK
191642004-07-28 Mark Kettenis <kettenis@gnu.org>
19165
19166 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19167 gdb1718". PR backtrace/1718 partially fixed.
19168
5633ea5c
JJ
191692004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19170
19171 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19172
575eebb1
NC
191732004-07-26 Nick Clifton <nickc@redhat.com>
19174
19175 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19176 good default value for a specific architecture is available then
19177 set it to that value. Otherwise default to the -gstabs switch.
19178 Remove the -g... switches from the asm-flags variable. Allow the
19179 target board info to override the value if it wants to. Pass the
19180 switch on the assembler command line.
19181
62104619
MK
191822004-07-23 Mark Kettenis <kettenis@gnu.org>
19183
19184 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19185 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19186 (main): Call new function.
19187
4a1135b8
MC
191882004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19189
19190 Test for PR exp/1715.
19191 * gdb.base/radix.exp: Refactor common procedures. Make all
19192 test names unique. Change XFAIL to KFAIL.
19193
8a12c1f0
MC
191942004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19195
19196 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19197 * gdb.ada/gnat_ada.gin: ... to here.
19198 * configure.in: Use gnat_ada.gin.
19199 * configure: Regenerate.
19200
23b451cf
AC
192012004-07-20 Andrew Cagney <cagney@gnu.org>
19202
19203 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19204 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19205 XFAILs. Clean up test messages and comments. Check backtraces.
19206 Delete re-sync code.
19207
ab618a02
MC
192082004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19209
19210 Fix PR cli/740.
19211 * gdb.base/annota1.exp: Honor gdb,nosignals.
19212 * gdb.base/annota3.exp: Likewise.
19213
46dad340
MC
192142004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19215
19216 * lib/java.exp: Update copyright notice.
19217
756d8c70
AC
192182004-07-19 Andrew Cagney <cagney@gnu.org>
19219
19220 * gdb.base/selftest.exp: Copy file from here ...
19221 * gdb.gdb/selftest.exp: ... to here.
19222
586027e6
AC
192232004-07-16 Andrew Cagney <cagney@redhat.com>
19224
19225 * lib/insight-support.exp: Delete file.
19226 * lib/java.exp (java_init): Fix copyright.
19227
029d2200
AC
192282004-07-16 Andrew Cagney <cagney@gnu.org>
19229
19230 * gdb.base/restore.c: Append "prologue" to comments marking the a
19231 function's prologue.
19232 * gdb.base/restore.exp: Update copyright, re-indent.
19233 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
19234 callerN" prefix where needed. Update patterns that match a
19235 function's prologue.
19236
653b62c5
MC
192372004-07-16 Michael Chastain <mec.gnu@mindspring.com>
19238
19239 * gdb.base/restore.c: Add copyright notice.
19240
f7d690e5
AC
192412004-07-16 Andrew Cagney <cagney@gnu.org>
19242
19243 * gdb.base/logical.exp: Update copyright.
19244 (evaluate): New procedure. Use to re-implement tests using
19245 several tables.
19246
d629a7cb
MH
192472004-07-14 Martin Hunt <hunt@redhat.com>
19248
19249 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19250 which fixes some problems where init.tcl was not found.
19251
9c7bb332
AC
192522004-07-13 Andrew Cagney <cagney@gnu.org>
19253
6bf46641
AC
19254 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
19255 (check_sizeof, check_valueof): Do not include the output in the
19256 test name. Use gdb_test.
19257 (get_valueof): Use gdb_test_multiple.
19258
c4ffd4c0
AC
19259 * gdb.base/step-test.exp: Update copyright. Use
19260 gdb_test_multiple. Ensure that test names do not include
19261 architecture dependent output.
19262
ab89363a
AC
19263 * gdb.gdb/observer.exp: Update copyright.
19264 (setup_test): Use gdb_test_multiple.
19265 (attach_first_observer, attach_second_observer)
19266 (attach_third_observer, detach_first_observer)
19267 (detach_second_observer, detach_third_observer)
19268 (reset_counters, check_counters): Make $message a prefix.
19269 (test_normal_stop_notifications): Add "args" parameter - a list of
19270 init functions to be called. Make $message a prefix,
19271 (test_observer_normal_stop): Change the message prefixes so that
19272 they are unique, pass the attach / detach procedures to
19273 test_normal_stop_notifications.
19274
ec58997a
AC
19275 * gdb.base/signull.exp (test_segv): Prefix all tests with
19276 "${name}". Clean up test messages.
19277
b475183b
AC
19278 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
19279
9c7bb332
AC
19280 * gdb.base/ena-dis-br.exp: Update copyright.
19281 (break_at): New function. Replace send_gdb with gdb_test,
19282 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
19283 ignore count, not stopped at bpt", with KFAIL.
19284
2dd95497
CV
192852004-07-13 Corinna Vinschen <vinschen@redhat.com>
19286
19287 * gdb.base/attach.exp: Remove cleanupfile handling.
19288
419e626b
AC
192892004-07-12 Andrew Cagney <cagney@gnu.org>
19290
19291 * gdb.base/annota1.exp: Cleanup corefile test name.
19292 * gdb.base/annota3.exp: Ditto.
19293
8b1b3228
AC
192942004-07-12 Andrew Cagney <cagney@gnu.org>
19295
78650829
AC
19296 * gdb.base/signals.exp: Clean up copyright, re-indent.
19297
8b1b3228
AC
19298 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
19299 gdb_test and gdb_test_multiple.
19300
935c2760
JJ
193012004-07-08 Jeff Johnston <jjohnstn@redhat.com>
19302
19303 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 19304 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
19305 provide line number info for first statement in main.
19306
1544280f
AC
193072004-07-08 Andrew Cagney <cagney@gnu.org>
19308
1279f4ff
AC
19309 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
19310
1544280f
AC
19311 * gdb.base/sigbpt.exp: Make the common part of each test name a
19312 prefix instead of suffix.
19313
bcc82369
BR
193142004-07-07 Bob Rossi <bob_rossi@cox.net>
19315
19316 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
19317 test from test_tbreak_creation_and_listing to
19318 test_file_list_exec_source_file
19319 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
19320 Changed name of test from test_tbreak_creation_and_listing to
19321 test_file_list_exec_source_file
19322
23f4b0aa
JJ
193232004-07-07 Jeff Johnston <jjohnstn@redhat.com>
19324
19325 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
19326 the jmisc() constructor instead of <init>.
19327 * gdb.java/jmisc1.exp: Ditto.
19328
56401cd5
AC
193292004-07-07 Andrew Cagney <cagney@gnu.org>
19330
19331 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
19332 corrupting the PC.
19333
44ae2f6a
MC
193342004-07-06 Michael Chastain <mec.gnu@mindspring.com>
19335
19336 * gdb.cp/templates.exp: Accept whitespace change in demangler
19337 output.
19338
45a83408
AC
193392004-07-06 Andrew Cagney <cagney@gnu.org>
19340
19341 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
19342
d205ad70
MC
193432004-07-02 Michael Chastain <mec.gnu@mindspring.com>
19344
19345 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
19346 * lib/compiler.cc: Likewise.
19347
06ea1a61
MC
193482004-06-30 Michael Chastain <mec.gnu@mindspring.com>
19349
19350 * lib/compiler.cc: Work around string preprocessing problem
19351 with old hp c++ compiler.
19352 * lib/compiler.c: Likewise.
19353
daab1251
CV
193542004-06-29 Corinna Vinschen <vinschen@redhat.com>
19355
19356 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
19357 directives to conditionalize symbol prefixing.
19358 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
19359 additional_flags handling. Add underscore prefix for Cygwin.
19360 * gdb.arch/i386-unwind.c: Use preprocessor directives to
19361 conditionalize symbol prefixing.
19362 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
19363 additional_flags handling. Add underscore prefix for Cygwin.
19364
cc984116
CV
193652004-06-29 Corinna Vinschen <vinschen@redhat.com>
19366
19367 * gdb.base/bigcore.exp: Skip test on Cygwin.
19368
c279b077
MC
193692004-06-28 Michael Chastain <mec.gnu@mindspring.com>
19370
19371 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
19372 formats for "info register". Use gdb_test_multiple. Fix
19373 the "invalid register" test.
19374
0e915747
CV
193752004-06-28 Corinna Vinschen <vinschen@redhat.com>
19376
19377 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
19378 PID for Cygwin. Add Cygwin specific strings to check for in some
19379 tests.
19380 (do_attach_tests): Add a test for user interaction when attaching
19381 to a process with no matching symbol table already loaded.
19382
11422c86
AC
193832004-06-26 Andrew Cagney <cagney@gnu.org>
19384
19385 Test PR java/1567 and PR java/1565.
19386 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
19387 * gdb.java/jmisc2.exp: Delete file.
19388
cefbce26
MC
193892004-06-26 Michael Chastain <mec.gnu@mindspring.com>
19390
19391 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
19392
e19f872c
CV
193932004-06-25 Corinna Vinschen <vinschen@redhat.com>
19394
19395 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
19396 attach process.
19397
d931ba3b
MC
193982004-06-23 Michael Chastain <mec.gnu@mindspring.com>
19399
19400 * gdb.cp/pr-1553.exp: Remove.
19401
aef68c48
MC
194022004-06-22 Michael Chastain <mec.gnu@mindspring.com>
19403
19404 * gdb.cp/pr-1553.cc: Remove.
19405 * gdb.cp/pr-1553.exp: Disable this test.
19406
8d5df71a
JB
194072004-06-20 Jim Blandy <jimb@redhat.com>
19408
a9c64011 19409 Fix PR testsuite/1680.
8d5df71a
JB
19410 * gdb.arch/i386-sse.exp: Properly quote curly braces in
19411 regular expressions.
19412
4ac6f39d
MC
194132004-06-19 Michael Chastain <mec.gnu@mindspring.com>
19414
19415 Fix PR testsuite/1679.
19416 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
19417 Issue an UNSUPPORTED result instead.
19418
1b413552
JB
194192004-06-18 Jim Blandy <jimb@redhat.com>
19420
19421 * gdb.base/charset.exp: Only send a control-C if we see a new
19422 prompt and incomplete command.
19423
6daa6ebd
MC
194242004-06-18 Michael Chastain <mec.gnu@mindspring.com>
19425
19426 * gdb.cp/pr-574.cc: Add copyright notice.
19427
51fa4ae0
JB
194282004-06-17 Jim Blandy <jimb@redhat.com>
19429
19430 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
19431 cases where the regexp has no groups; this grabs random text from
19432 the previous test suite, whatever that was.
19433
8fea26c5
MC
194342004-06-17 Michael Chastain <mec.gnu@mindspring.com>
19435
19436 * gdb.cp/printmethod.cc: Add copyright notice.
19437
1e3aeb41
MC
194382004-06-16 Michael Chastain <mec.gnu@mindspring.com>
19439
19440 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
19441
9d9030bc
AC
194422004-06-16 Andrew Cagney <cagney@gnu.org>
19443
19444 * gdb.base/signull.c: Update copyright. Include <string.h>.
19445 (bowler): Replace data_pointer with data_read
19446 and data_write cases. Add code_descriptor case.
19447 (zero, desc): New array and pointer.
19448 (data, code): Change to simple pointers.
19449 * gdb.base/signull.exp: Fix probe pattern matching a function
19450 descriptor SIGSEGV. Replace data_pointer with data_read and
19451 data_write tests.
19452
acd4ad44
AC
194532004-06-16 Andrew Cagney <cagney@gnu.org>
19454
19455 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
19456
08fd625c
MC
194572004-06-15 Michael Chastain <mec.gnu@mindspring.com>
19458
19459 * gdb.base/long_long.c: Add copyright notice.
19460
1903502c
MC
194612004-06-15 Michael Chastain <mec.gnu@mindspring.com>
19462
19463 * gdb.base/long_long.exp: Remove reference to
19464 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
19465 to gdb_breakpoint and gdb_continue_to_breakpoint.
19466
83313cb1
JB
194672004-06-14 Jim Blandy <jimb@redhat.com>
19468
19469 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
19470 endian case.
19471
1bf404ef
AC
194722004-06-14 Andrew Cagney <cagney@gnu.org>
19473
19474 * gdb.base/gcore.exp (capture_command_output): Delete the always
19475 passing tests containing inferior values.
19476 * gdb.base/ending-run.exp: Do not include the breakpoint address
19477 in the test message. Update copyright.
19478 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
19479 size in the test name, use gdb_test_multiple. Update copyright.
19480
ef220b33
MC
194812004-06-14 Michael Chastain <mec.gnu@mindspring.com>
19482
19483 * gdb.cp/ref-types.cc: Add copyright notice.
19484
4f70a4c9
MC
194852004-06-14 Michael Chastain <mec.gnu@mindspring.com>
19486
19487 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
19488 hp_aCC_compiler.
19489 * lib/compiler.cc: Likewise.
19490 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
19491 'set' commands. Log diagnostics for other lines. Set
19492 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
19493
335928ac
MC
194942004-06-13 Michael Chastain <mec.gnu@mindspring.com>
19495
19496 * gdb.cp/try_catch.cc: Add copyright notice.
19497
2efb12e8
MC
194982004-06-12 Michael Chastain <mec.gnu@mindspring.com>
19499
19500 * gdb.cp/userdef.cc: Add copyright notice.
19501
0bbed51a
MC
195022004-06-11 Michael Chastain <mec.gnu@mindspring.com>
19503
19504 * gdb.cp/virtfunc.cc: Add copyright notice.
19505
e12a46c9
RC
195062004-06-11 Randolph Chung <tausq@debian.org>
19507
19508 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
19509 problem.
19510
338e05af
AC
195112004-06-10 Andrew Cagney <cagney@gnu.org>
19512
19513 * lib/compiler.cc, lib/compiler.c: Append either
19514 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
19515 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
19516 instead of gcc-3-3.
19517
dc3f10cb
AC
195182004-06-09 Andrew Cagney <cagney@gnu.org>
19519
b4d946af
AC
19520 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
19521 gdb/1455, bug is specific to "long long" and "double".
a9c64011 19522
dc3f10cb
AC
19523 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
19524 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
19525 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
19526 fixed.
19527
b5c0bfa2
AC
195282004-06-09 Andrew Cagney <cagney@gnu.org>
19529
19530 * gdb.base/structs.exp (test_struct_returns): Replace
19531 "return_value_unknown" and "finish_value_unknown" by
19532 "return_value_known" and "finish_value_known". Instead of
19533 "return_value_unknown" iff "finish_value_unknown", check
19534 "return_value_known" implies "finish_value_known".
19535
caeb605f
MH
195362004-06-08 Martin Hunt <hunt@redhat.com>
19537
19538 * gdb.base/float.exp: Add pattern for mips targets.
19539
c892bb64
RC
195402004-06-08 Randolph Chung <tausq@debian.org>
19541
19542 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
19543 message for unknown architectures more clear.
19544
48306d3e
JB
195452004-06-08 Joel Brobecker <brobecker@gnat.com>
19546
19547 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
19548 start the execution of the program.
19549
83ecb59f
JB
195502004-06-07 Jim Blandy <jimb@redhat.com>
19551
19552 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
19553 * gdb.arch/i386-cpuid.h: New helper file.
19554
55264cb4
RC
195552004-06-07 Randolph Chung <tausq@debian.org>
19556
19557 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
19558 has started.
19559
23cadb28
RM
195602004-06-04 Roland McGrath <roland@redhat.com>
19561
19562 Fix PR gdb/1647.
19563 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
19564 differently to be robust to output buffering differences.
19565
51d01eda
MC
195662004-06-04 Michael Chastain <mec.gnu@mindspring.com>
19567
19568 * gdb.threads/pthreads.exp: Update copyright years.
19569 (check_control_c): Change asynchronous 'after' to synchronous.
19570
f4fc3b93
RM
195712004-06-04 Roland McGrath <roland@redhat.com>
19572
19573 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19574 next gdb prompt.
19575
4013522b
MC
195762004-06-02 Michael Chastain <mec.gnu@mindspring.com>
19577
19578 Fix PR gdb/1636.
19579 * gdb.threads/manythreads.exp: Change asynchronous 'after'
19580 calls to synchronous.
19581
7a8f1e6b
JB
195822004-05-26 Jim Blandy <jimb@redhat.com>
19583
19584 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19585
81bb3443
RC
195862004-05-24 Randolph Chung <tausq@debian.org>
19587
19588 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19589 * gdb.asm/pa.inc: New file.
19590
8f5a3103
MK
195912004-05-22 Mark Kettenis <kettenis@gnu.org>
19592
19593 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19594
734b8fe8 195952004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 19596 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
19597
19598 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19599 GDB prompt.
19600
725603e1
UW
196012004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19602
f4fc3b93 19603 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
19604 setjmp/longjmp. Use sigaction instead of signal.
19605
8b923272 196062004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 19607 Michael Snyder <msnyder@redhat.com>
8b923272
JB
19608
19609 * gdb.threads/pthread_cond_wait.c: New file.
19610 * gdb.threads/pthread_cond_wait.exp: New testcase.
19611
8bfabb04
AC
196122004-05-13 Andrew Cagney <cagney@redhat.com>
19613
19614 * gdb.base/signull.exp, gdb.base/signull.c: New files.
19615 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19616
42edda50
AC
196172004-05-11 Andrew Cagney <cagney@redhat.com>
19618
19619 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19620 fixed but revealed gdb/1639.
19621
d303a6c7
AC
196222004-05-10 Andrew Cagney <cagney@redhat.com>
19623
19624 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19625 func1" and "next to 2nd alarm", kernel bug avoided.
19626
bf08c2a1
DJ
196272004-05-10 Daniel Jacobowitz <dan@debian.org>
19628
19629 PR external/1568
19630 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19631 XFAIL if it is smaller than bytes_allocated.
19632 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19633 (main): Make chunks_allocated unsigned. Correct comment.
19634
c0586a34
JB
196352004-05-07 Joel Brobecker <brobecker@gnat.com>
19636
19637 * gdb.arch/powerpc-aix-prologue.c: New file.
19638 * gdb.arch/powerpc-aix-prologue.exp: New file.
19639
f2785d12
JB
196402004-05-07 Jim Blandy <jimb@redhat.com>
19641
19642 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19643 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19644
bd7f6e30
JB
196452004-05-06 Joel Brobecker <brobecker@gnat.com>
19646
19647 * gdb.base/sep.exp: No longer setup_kfail when the program was
19648 built with dwarf2.
19649
0a5e7efe
JI
196502004-05-05 Jim Ingham <jingham@apple.com>
19651
19652 * gdb.base/pending.exp: Make sure pending breakpoints
19653 preserve the ignore count.
f4fc3b93 19654
a8958849
MK
196552004-04-27 Jerome Guitton <guitton@gnat.com>
19656
19657 * i386-prologue.exp: Add testcase for jump instruction as first
19658 instruction of the real code.
19659 * i386-prologue.c (jump_at_beginning): New function.
19660
7e103f5b
MK
196612004-04-28 Mark Kettenis <kettenis@gnu.org>
19662
19663 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19664 x86_64-*-*.
19665
5d38b224
MK
196662004-04-28 Mark Kettenis <kettenis@gnu.org>
19667
19668 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19669 i*86-*-*.
19670
0ef32fd9
MK
196712004-04-25 Mark Kettenis <kettenis@gnu.org>
19672
19673 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19674 expression that checks the return type.
19675
71d7dd7c
AC
196762004-04-23 Andrew Cagney <cagney@redhat.com>
19677
19678 * gdb.base/call-sc.exp: New test of scalar call/return values.
19679 * gdb.base/call-sc.c: Ditto.
19680
1e9f977e
JJ
196812004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19682
19683 * gdb.threads/manythreads.c: Reduce thread stack size.
19684
899d9e3a
JJ
196852004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19686
19687 * gdb.threads/manythreads.c: Add copyright notice.
19688
61bcae62
AC
196892004-04-23 Andrew Cagney <cagney@redhat.com>
19690
19691 * gdb.base/siginfo.exp: Better handle step out of signal.
19692 * gdb.base/sigstep.exp: Ditto.
19693
7339a42e 196942004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 19695 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
19696
19697 * gdb.threads/manythreads.c: New testcase.
19698 * gdb.threads/manythreads.exp: Ditto.
19699
5c98409b
JB
197002004-04-22 Jim Blandy <jimb@redhat.com>
19701
19702 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19703 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19704
3b611f1a
MC
197052004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19706
19707 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19708
f0fd9238
AC
197092004-04-21 Andrew Cagney <cagney@redhat.com>
19710
19711 * gdb.base/sigstep.c: New file.
19712 * gdb.base/sigstep.exp: New file.
19713
90990674
JB
197142004-04-16 Joel Brobecker <brobecker@gnat.com>
19715
19716 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19717 call to observer_notify_normal_stop.
19718
78cef34b
AC
197192004-04-15 Andrew Cagney <cagney@redhat.com>
19720
19721 * gdb.base/siginfo.c: New file.
19722 * gdb.base/siginfo.exp: New file.
19723
d2343407
JB
197242004-04-12 J. Brobecker <brobecker@gnat.com>
19725
19726 * gdb.base/sep.exp: Fix typo in comment.
19727
a2dba3c8
JB
197282004-04-12 J. Brobecker <brobecker@gnat.com>
19729
19730 * gdb.base/sep.c: New file.
19731 * gdb.base/sep-proc.c: New file.
19732 * gdb.base/sep.exp: New testcase.
19733
15f7b60e
MK
197342004-04-09 Mark Kettenis <kettenis@gnu.org>
19735
19736 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19737 support.
19738
44f4de1a
AC
197392004-04-05 Andrew Cagney <cagney@redhat.com>
19740
19741 * gdb.base/sigaltstack.c: New file.
19742 * gdb.base/sigaltstack.exp: New file.
19743
ef04f396
JB
197442004-04-04 Joel Brobecker <brobecker@gnat.com>
19745
19746 * gdb.base/foll-fork.exp: Update the expected output for
19747 "help set follow-fork-mode", to match a change that was made
19748 to the help of this variable on 2004-01-13.
19749
d40d2c92
JB
197502004-04-01 Joel Brobecker <brobecker@gnat.com>
19751
19752 * lib/ada.exp: Add copyright notice.
19753 * bar.ads: Likewise.
19754 * bar.adb: Likewise.
19755 * null_record.adb: Likewise.
19756 * null_record.exp: Likewise.
19757 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19758
f86ef5a3
JB
197592004-04-01 Joel Brobecker <brobecker@gnat.com>
19760
19761 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19762 * configure: Regenerate.
19763
414e70e3
JB
197642004-04-01 Joel Brobecker <brobecker@gnat.com>
19765
19766 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19767 to build the application. Remove the message printed when in
19768 verbose mode, redundant with the UNSUPPORTED message above.
19769
f0aaee49
JB
197702004-03-31 Joel Brobecker <brobecker@gnat.com>
19771
19772 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19773 * gdb.ada (null_record.exp): New testcase.
19774
ac81cb54
JB
197752004-03-31 Joel Brobecker <brobecker@gnat.com>
19776
19777 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19778
854af2f7
JB
197792004-03-31 Joel Brobecker <brobecker@gnat.com>
19780
19781 * gdb.ada: New subdirectory.
19782 * gdb.ada/Makefile.in: New file.
19783 * gdb.ada/gnat_ada.gpr.in: New file.
19784
034cb681
JB
197852004-03-31 Joel Brobecker <brobecker@gnat.com>
19786
19787 * lib/ada.exp: New file.
19788
78a1a894
DJ
197892004-03-24 Daniel Jacobowitz <drow@mvista.com>
19790
19791 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19792 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19793
4b2b3b3e
AC
197942004-03-22 Andrew Cagney <cagney@redhat.com>
19795
19796 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19797 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19798 Problem identified by Ulrich Weigand.
19799
23c73aa3
DC
198002004-03-17 David Carlton <carlton@kealia.com>
19801
19802 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19803 PR c++/826.
19804
d63a86f8
RM
198052004-03-16 Roland McGrath <roland@redhat.com>
19806
19807 * gdb.base/auxv.exp: New file.
19808 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19809
0e02aa50
DC
198102004-03-12 David Carlton <carlton@kealia.com>
19811
19812 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
19813 * gdb.cp/pr-1553.cc: Ditto.
19814 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19815 pass branch.
19816
c20b71be
MC
198172004-03-12 Michael Chastain <mec.gnu@mindspring.com>
19818
19819 * gdb.cp/templates.exp: Accept more template types.
19820
c7414a01
MC
198212004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19822
19823 From Corinna Vinschen with modifications.
19824 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19825 local variable obj_with_enum.
19826 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19827 results with obj_with_enum.
19828
ed69573c
MC
198292004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19830
19831 * gdb.cp/classes.cc: New file, copied from misc.cc.
19832 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19833
28301461
MC
198342004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19835
19836 * gdb.cp/misc.cc: Add copyright notice.
19837
1198ecbe
DC
198382004-03-05 David Carlton <carlton@kealia.com>
19839
19840 * gdb.cp/rtti.exp: Add 'print *obj3' test.
19841 * gdb.cp/rtti.h: Update copyright.
19842 (namespace n2::n3): New.
19843 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19844 (n2::n3::func3): New.
19845 (main): Call n2::n3::func3.
19846 * gdb.cp/rtti2.cc: Update copyright.
19847 (n2::create3): New.
19848
9e08c470
MK
198492004-03-04 Mark Kettenis <kettenis@gnu.org>
19850
19851 * gdb.asm/openbsd.inc: Fix typo.
19852
4bebc3aa
FF
198532004-03-03 Fred Fish <fnf@redhat.com>
19854
19855 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19856 "val" instead of unused "size". Update copyright year.
19857
6ea9fb37
DJ
198582004-02-29 Daniel Jacobowitz <drow@mvista.com>
19859
19860 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19861 to use unsigned char.
19862 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19863 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19864
23b23974
DJ
198652004-02-29 Daniel Jacobowitz <drow@mvista.com>
19866
19867 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19868 line of output.
19869
7574fd53
DJ
198702004-02-28 Daniel Jacobowitz <drow@mvista.com>
19871
19872 * gdb.base/relocate.c (dummy): Initialize.
19873
a195357f
DJ
198742004-02-28 Daniel Jacobowitz <drow@mvista.com>
19875
19876 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19877 a breakpoint at exit.
19878
72fd54a9
FF
198792004-02-27 Fred Fish <fnf@redhat.com>
19880
19881 * gdb.base/chng-syms.exp: Add expect condition to match failing
19882 case that isn't a timeout.
19883
b9d23137
AC
198842004-02-27 Andrew Cagney <cagney@redhat.com>
19885
19886 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19887 support.
19888
15d208f6 198892004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 19890
15d208f6
FF
19891 * gdb.arch/gdb1431.c: Remove.
19892 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19893 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19894 of "until" incorrectly.
19895
98f9cd2d
JB
198962004-02-26 J. Brobecker <brobecker@gnat.com>
19897
19898 * gdb.cp/class2.cc (empty): New class.
19899 (refer): New function.
19900 (main): Declare an object of type empty and use it.
19901 * gdb.cp/class2.exp: Print the value of an object of type empty.
19902
9b50c11b
JJ
199032004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19904
19905 * gdb.base/langs.exp: Update query string to match the
19906 new nquery format used for pending breakpoints.
19907
0dcd613f
AC
199082004-02-26 Andrew Cagney <cagney@redhat.com>
19909
19910 Fix PR i18n/1570.
19911 * gdb.base/charset.c: Update copyright notice.
19912 (main, init_string): Remove the escape character '\e' tests.
19913 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19914 * gdb.base/charset.exp (valid_host_charset): Ditto.
19915 * gdb.base/setvar.exp: Ditto.
19916
b8a56647
AC
199172004-02-24 Andrew Cagney <cagney@redhat.com>
19918
90d59e34
AC
19919 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19920 mmapped data in core file" PASS and FAIL messages consistent.
19921
b8a56647
AC
19922 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19923 setting a breakpoint. Work around PR java/1565.
19924
9f27c604
JJ
199252004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19926
19927 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19928 new nquery format.
19929 * gdb.base/pending.exp: Ditto.
19930
3224a706
MK
199312004-02-22 Mark Kettenis <kettenis@gnu.org>
19932
19933 * configure.in: Run stabs tests on *BSD.
19934 * configure: Regenerated.
19935
41e0a9ca
MK
199362004-02-21 Mark Kettenis <kettenis@gnu.org>
19937
19938 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19939
1e1b3428
FF
199402004-02-20 Fred Fish <fnf@redhat.com>
19941
19942 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19943 blank in test for "returns short", for consistency with other
19944 "returns xxx" tests. Update copyright year.
19945
f9a7572a
FF
199462004-02-19 Fred Fish <fnf@redhat.com>
19947
19948 New testcase for PR breakpoint/1558.
19949 * gdb.arch/gdb1558.exp: New file.
19950 * gdb.arch/gdb1558.c: New file.
19951
b2ce2854
EZ
199522004-02-19 Elena Zannoni <ezannoni@redhat.com>
19953
19954 * gdb.base/nodebug.exp: Fix typo.
19955
e7c9ff01
JB
199562004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19957
19958 Committed by Jim Blandy <jimb@redhat.com>.
19959
62f4b920
JB
19960 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19961
2db536a1
JB
19962 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19963
e7c9ff01
JB
19964 * gdb.base/float.exp: Support s390*-*-* targets.
19965
f3205b34
AF
199662004-02-17 Adam Fedor <fedor@gnu.org>
19967
19968 * gdb.base/gdb1555.exp: New file.
19969 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19970
9d62932d
EZ
199712004-02-17 Elena Zannoni <ezannoni@redhat.com>
19972
19973 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19974
344c9711
FF
199752004-02-16 Fred Fish <fnf@redhat.com>
19976
19977 * gdb.arch/gdb1291.c: Remove
19978 * gdb.arch/gdb1291.s: New test input file.
19979 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19980 fail. Test for correct result, known incorrect result, other
19981 failures and timeouts.
19982
2d822687
AC
199832004-02-16 Andrew Cagney <cagney@redhat.com>
19984
19985 * gdb.base/bigcore.exp: New file.
19986 * gdb.base/bigcore.c: New file.
19987
dac15b66
AC
199882004-02-13 Andrew Cagney <cagney@redhat.com>
19989
19990 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19991 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19992 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19993 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19994 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19995 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19996 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19997 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19998 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19999 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20000
6bdfc2c4
JJ
200012004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20002
20003 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20004 executed is an alloc instruction.
20005
87b3ede8
DC
200062004-02-11 David Carlton <carlton@kealia.com>
20007
20008 * gdb.cp/breakpoint.exp: New.
20009 * gdb.cp/breakpoint.cc: New.
20010
6e19e2bf
MC
200112004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20012
20013 Partial fix for PR gdb/1543.
20014 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20015 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20016 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20017 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20018 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20019 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20020 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20021 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20022 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20023 to bug-gdb@prep.ai.mit.edu .
20024 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20025 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20026 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20027 Likewise.
20028
5c5455dc
AC
200292004-02-10 Andrew Cagney <cagney@redhat.com>
20030
20031 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20032 using gdb_internal_error_resync.
20033
9cf689d7
DJ
200342004-02-09 Daniel Jacobowitz <drow@mvista.com>
20035
20036 * gdb.threads/thread-specific.exp: Stop early if no threads are
20037 found.
20038
d2dc51db
MC
200392004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20040
20041 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20042
14b1a056
DJ
200432004-02-08 Daniel Jacobowitz <drow@mvista.com>
20044
20045 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20046 breakpoints.
20047
83f66e8f
DJ
200482004-02-07 Daniel Jacobowitz <drow@mvista.com>
20049
20050 * config/sim.exp (gdb_load): Handle $arg == "".
20051 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20052 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20053
30fc0091
EZ
200542004-02-07 Elena Zannoni <ezannoni@redhat.com>
20055
a9c64011
AS
20056 * gdb.base/maint.exp: Update test to reflect
20057 obstack changes.
30fc0091 20058
4d806929
JJ
200592004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20060
20061 * gdb.base/pendshr.c (pendfunc): New function that calls
20062 pendfunc1.
20063 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20064
7bfdd688
FF
200652004-02-04 Fred Fish <fnf@redhat.com>
20066
20067 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20068 function symbols and update copyright years.
20069 * gdb.arch/gdb1291.c: Ditto.
20070
aaa08ee4
MC
200712004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20072
20073 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20074
dbad7755
MC
200752004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20076
20077 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20078
ec4646ef
MC
200792004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20080
20081 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20082
1b802196
FF
200832004-02-02 Fred Fish <fnf@redhat.com>
20084
20085 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20086 remote targets. Update copyright years.
20087
18fe2033
JJ
200882004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20089
20090 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20091 support.
20092 * gdb.base/langs.exp: Fix test which attempts to create
20093 breakpoint on non-existent function to handle new pending
20094 support.
20095 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20096 a breakpoint.
20097 * gdb.base/pending.exp: New test.
20098 * gdb.base/pending.c: New file.
20099 * gdb.base/pendshr.c: Ditto.
20100
8d577d32
DC
201012004-02-02 David Carlton <carlton@kealia.com>
20102
20103 * gdb.cp/overload.exp: Add overloadNamespace tests.
20104 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20105 (overloadNamespace, XXX): New.
20106 (main): Call XXX::marker2.
20107
3ad13771
FF
201082004-02-01 Fred Fish <fnf@redhat.com>
20109
20110 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20111 * gdb.base/finish.exp: Ditto.
20112 * gdb.base/gcore.exp: Ditto.
20113 * gdb.base/huge.exp: Ditto.
20114 * gdb.base/info-proc.exp: Ditto.
20115 * gdb.base/return2.exp: Ditto.
20116 * gdb.threads/gcore-thread.exp: Ditto.
20117
44c75849
DJ
201182004-02-01 Daniel Jacobowitz <drow@mvista.com>
20119
20120 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20121
005bc093
MK
201222004-02-01 Mark Kettenis <kettenis@gnu.org>
20123
20124 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20125 that opening the file succeeds on OpenBSD.
20126
c47cebdb
DJ
201272004-02-01 Daniel Jacobowitz <drow@mvista.com>
20128
20129 * gdb.threads/thread-specific.c: New file.
20130 * gdb.threads/threads-specific.exp: New test script.
20131 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20132 to expect_out.
20133
5a01311c
MK
201342004-02-01 Mark Kettenis <kettenis@gnu.org>
20135
20136 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20137 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20138 only on the "print_small_structs from print_long_arg_list" test.
20139
ce22a4f1
DJ
201402004-02-01 Daniel Jacobowitz <drow@mvista.com>
20141
20142 * gdb.base/completion.exp: Kill a stray backslash.
20143
20144 From Jim Ingham <jingham@apple.com>:
20145 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20146 agrees with the result from sending a tab.
20147
abbab9d3
DJ
201482004-01-31 Daniel Jacobowitz <drow@mvista.com>
20149
20150 * gdb.base/chng-syms.exp: Remove stray newline.
20151
53904d1e
MK
201522004-01-31 Mark Kettenis <kettenis@gnu.org>
20153
20154 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20155 *-*-openbsd*.
20156 * gdb.asm/openbsd.inc: New file.
20157
3a4b3aac
MK
201582004-01-30 Mark Kettenis <kettenis@gnu.org>
20159
20160 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20161 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20162 *-*solaris2*. Remove commented out default settings for
20163 asm-flags. Replace gdb_compile with target_link.
20164
ebac27b4
MC
201652004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20166
20167 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20168 for all tests. Remove old hp-ux and cygnus xfail cases.
20169
d8679d84
PH
201702004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20171
20172 * gdb.base/chng-syms.exp: New file.
20173 * gdb.base/chng-syms.c: New file.
20174
0a55bc22
MC
201752004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20176
20177 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20178 Provide arms for current output in all my configurations.
20179
94b8e876
MC
201802004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20181
20182 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20183 * lib/compiler.cc: Likewise.
20184 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20185 get the right preprocessor. Eval the output directly. Remove
20186 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20187 hp_f77_compiler and hp_f90_compiler completely.
20188 (gdb_preprocess): Delete.
20189 (get_compiler): Delete.
20190
7cf03d44
MK
201912004-01-24 Mark Kettenis <kettenis@gnu.org>
20192
20193 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20194 <string.h>.
20195
68b6dce9
NR
201962004-01-24 Nick Roberts <nick@nick.uklinux.net>
20197
20198 * gdb.mi/mi-stack.exp: Update copyright.
20199
b368761e
DC
202002004-01-23 David Carlton <carlton@kealia.com>
20201
20202 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20203 test for cp_lookup_transparent_type.
20204 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20205 call them.
20206
f2061b53
DJ
202072004-01-23 Daniel Jacobowitz <drow@mvista.com>
20208
20209 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20210 after -var-update.
20211
37fc574a
DC
202122004-01-23 David Carlton <carlton@kealia.com>
20213
20214 * gdb.cp/namespace.cc (C::ensureRefs): New.
20215 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20216
8e94b928
NR
202172004-01-20 Nick Roberts <nick@nick.uklinux.net>
20218
20219 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20220 case "-stack-list-locals 2".
20221 * gdb.mi/mi-var-child.exp: Test for case
20222 "-var-list-children --all-values NAME".
20223
997b0952
MC
202242004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20225
20226 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20227
52470da3
MK
202282004-01-18 Mark Kettenis <kettenis@gnu.org>
20229
7049b4b8
MK
20230 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20231 used with gdb_test_multiple.
20232
52470da3
MK
20233 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20234 read at address 0. This fixes PR testsuite/1504.
20235
da6012e5
DJ
202362004-01-18 Daniel Jacobowitz <drow@mvista.com>
20237
20238 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20239 Remove downloading, guessing the host executable, the calls to
20240 gdb_file_cmd and gdb_target_cmd, and "load" support.
20241 (infer_host_exec): New function broken out from gdb_load.
20242 (gdb_load): New wrapper for gdbserver_gdb_load.
20243 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20244 gdb_target_cmd. Use -target-select.
20245 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20246 Download binaries to the host. Clear last_mi_remote_file when
20247 we load a new binary.
20248 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
20249 call gdbserver_gdb_load and mi_gdb_target_cmd.
20250
32c70722
MC
202512004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20252
20253 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20254 type patterns.
20255
b0cecf36
MC
202562004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20257
20258 * gdb.cp/templates.exp: Fix typo in test name of
20259 "print Foo<volatile char*>::foo".
20260
4120d7e6
MC
202612004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20262
20263 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
20264
f679e530
BE
202652004-01-16 Ben Elliston <bje@wasabisystems.com>
20266
20267 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
20268 (clean mostlyclean): Remove empty rm.
20269
091c48f6
MC
202702004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20271
20272 * gdb.base/setvar.exp: Add copyright years.
20273
3e5fc8d2
DC
202742004-01-14 David Carlton <carlton@bactrian.org>
20275
20276 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
20277 PR c++/1511 and update coment.
20278 * gdb.cp/templates.exp: Update patterns to match current output.
20279 If changes involve something other than whitespace, KFAIL
20280 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
20281
63d06c5c
DC
202822004-01-14 David Carlton <carlton@kealia.com>
20283
20284 * gdb.cp/namespace.exp: Add tests involving classes defined within
20285 namespaces.
20286 * gdb.cp/namespace.cc (C::CClass): New.
20287 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
20288
a51dab88
EZ
202892004-01-14 Elena Zannoni <ezannoni@redhat.com>
20290
20291 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
20292 what debug info we have. Print a better message if something goes
20293 wrong while producing the separate debug info file.
20294
a476ccc9
MC
202952004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20296
20297 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
20298
f453692c
MC
202992004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20300
20301 * gdb.base/callfuncs.c: Add copyright notice.
20302
f40063a5
MC
203032004-01-13 Michael Chastain <mec.gnu@mindspring.com>
20304
20305 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
20306 inheritance. PR gdb/1498, PR gcc/13539.
20307
19ac3974
EZ
203082004-01-13 Elena Zannoni <ezannoni@redhat.com>
20309
a9c64011
AS
20310 * gdb.threads/gcore-thread.exp: Prefix name of binary with
20311 test specific name.
20312 * gdb.mi/gdb669.exp: Ditto.
20313 * gdb.mi/mi-pthreads.exp: Ditto.
20314 * gdb.mi/mi1-pthreads.exp: Ditto.
20315 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 20316
56c97c6e
MC
203172004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20318
20319 * gdb.cp/member-ptr.cc: Add copyright notice.
20320
a0644324
MC
203212004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20322
20323 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
20324 some patterns for recent versions of gcc and hpacc. Delete
20325 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
20326 Delete tests that access a NULL pointer-to-member-data. This
20327 script is still disabled for gcc.
20328
32fabe09
EZ
203292004-01-12 Elena Zannoni <ezannoni@redhat.com>
20330
20331 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 20332 escaped correctly.
32fabe09 20333
1f8a6abb
EZ
203342004-01-12 Elena Zannoni <ezannoni@redhat.com>
20335
20336 * gdb.base/sepdebug.exp: New file.
20337 * gdb.base/sepdebug.c: New file.
20338 * lib/gdb.exp (separate_debug_filename): New procedure.
20339 (gdb_gnu_strip_debug): New procedure.
20340
48efe704
AC
203412004-01-12 Andrew Cagney <cagney@redhat.com>
20342
20343 * gdb.mi/ChangeLog: Delete file. Renamed to ...
20344 * gdb.mi/ChangeLog-1999-2003: New file.
20345
a9415475
AC
203462004-01-12 Andrew Cagney <cagney@redhat.com>
20347
20348 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
20349 "Renaming a directory to a non-empty directory returns ENOTEMPTY
20350 or EEXIST", treat EBUSY as an XFAIL.
20351
83b8cf9d
MC
203522004-01-11 Michael Chastain <mec.gnu@mindspring.com>
20353
20354 * gdb.base/scope.exp: Remove obsolete setup_xfail for
20355 hp_cc_compiler.
20356
9939d2a8
MC
203572004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20358
20359 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
20360 decorations.
20361
1ff8cadf
MC
203622004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20363
20364 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
20365 and "(aCC)" decorations. Remove obsolete doco about old
20366 test results.
20367
6fa9022e
MC
203682004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20369
20370 * gdb.cp/exception.exp: Fix typo in doco.
20371
209721fe
MK
203722004-01-09 Mark Kettenis <kettenis@gnu.org>
20373
20374 * gdb.base/gdb1476.exp: Fix typo.
20375
ef11303e
MC
203762004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20377
20378 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
20379 file.
20380
041ab88c
MC
203812004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20382
20383 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
20384 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
20385 Use gdb_compile. Remove restriction on gcc. Add some patterns
20386 for recent version of gdb. Delete second half, which was a copy
20387 of the first half with different build flags. This test is
20388 still disabled because it is still not ready for production.
20389
e36d075a
MC
203902004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20391
20392 * gdb.cp/exception.cc: Add copyright notice.
20393 * gdb.cp/exception.exp: Add a notice that this file is broken
20394 because of line number changes caused by addition of copyright
20395 notice.
20396
42b190ad
MC
203972004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20398
20399 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
20400 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
20401
8f25f06b
MC
204022004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20403
20404 * gdb.cp/classes.exp: Accept gnu abi 2.
20405 * gdb.cp/derivation.exp: Likewise.
20406 * gdb.cp/overload.exp: Likewise.
20407 * gdb.cp/virtfunc.exp: Likewise.
20408
06ded8b8
MC
204092004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20410
20411 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
20412 semicolon after end of function.
20413
77c26ae3
MC
204142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20415
20416 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
20417 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
20418 boilerplate code for compiling and running the program under
20419 test. Add some string method tests.
20420
20757486
MC
204212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20422
20423 * gdb.cp/bs15503.cc: Add copyright notice.
20424 * gdb.cp/bs15503.exp: Adjust line number.
20425
0fd3b503
MC
204262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20427
20428 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
20429 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
20430
10d1bea8
MC
204312004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20432
20433 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
20434 hp_cc_compiler.
20435
2789202a
MC
204362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20437
20438 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
20439 * gdb.cp/ctti.exp: Use the marker instead of "next".
20440 With gcc, run further before bailing.
20441
b862f14c
MC
204422004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20443
20444 * gdb.cp/cttiadd.cc: Add copyright notice.
20445 * gdb.cp/cttiadd1.cc: Likewise.
20446 * gdb.cp/cttiadd2.cc: Likewise.
20447 * gdb.cp/cttiadd3.cc: Likewise.
20448
96da2469
MC
204492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20450
20451 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
20452 Use gdb_test, gdb_test_multiple. Use floating-point values that
20453 have exact representations in IEEE-ish formats.
20454
053248ff
MC
204552004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20456
20457 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
20458 compilers. Delete duplicate call to get_compiler_info.
20459 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
20460 * gdb.base/volatile.exp: Likewise.
20461
84acecdd
MK
204622004-01-07 Mark Kettenis <kettenis@gnu.org>
20463
20464 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
20465 memory at address 0.
20466
fe11a27f
MC
204672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20468
20469 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
20470 to test for hp-ux assembler. Fix copyright years.
20471
60ad077b
AC
204722004-01-07 Andrew Cagney <cagney@redhat.com>
20473
20474 * gdb.base/fileio.c (strerrno): Add "EBUSY".
20475
1c9b8f33
AC
204762004-01-07 Andrew Cagney <cagney@redhat.com>
20477
20478 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
20479 when creating the read-only file. From analysis by Roland McGrath
20480 and Elena Zannoni.
20481
753ccc7a
MC
204822004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20483
20484 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
20485
eca3e36b
MC
204862004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20487
20488 * gdb.base/cvexpr.c: Be type-safe with function pointers and
20489 data pointers.
20490
f8d4bac4
MC
204912004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20492
20493 * gdb.cp/m-static.exp: Compile one source file at a time.
20494 Delete unused call to get_compiler_info.
20495
9b4e0f94
MC
204962004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20497
20498 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
20499 * gdb.base/call-rt-st.exp: Likewise.
20500 * gdb.base/nodebug.exp: Likewise.
20501 * gdb.base/volatile.exp: Likewise.
20502 * gdb.cp/ref-types.exp: Likewise.
20503 * gdb.cp/templates.exp: Likewise.
20504
023c1024
MK
205052004-01-05 Mark Kettenis <kettenis@gnu.org>
20506
20507 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
20508
19703c4a
MC
205092004-01-05 Michael Chastain <mec.gnu@mindspring.com>
20510
20511 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
20512 hppa*-hp-hpux*.
20513
18b67037
MK
205142004-01-04 Mark Kettenis <kettenis@gnu.org>
20515
ba6219c8
MK
20516 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20517 x86_64-*-*.
20518
18b67037
MK
20519 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20520 sparc64-*-* and sparc*-solaris2*.
20521
1bfbbb9d
MK
205222004-01-04 Mark Kettenis <kettenis@gnu.org>
20523
20524 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
20525 return ${tests}" test. The ${tests} already mentions the
20526 filename.
20527
06846494
MC
205282004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20529
20530 * gdb.cp/local.exp: Accept gcc abi 2.
20531
3b0cb202
MC
205322004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20533
20534 * gdb.cp/templates.exp: Accept gcc abi 2.
20535
0643ec3f
MC
205362004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20537
20538 * lib/compiler.cc: Remove supports_template_debugging.
20539 * gdb.cp/templates.exp: Do not test supports_template_debugging.
20540
d231d0b1
MC
205412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20542
20543 * gdb.cp/namespace.exp: Accept gcc abi 2.
20544
44ffb27c
MC
205452004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20546
20547 * gdb.cp/method.exp: Accept gcc abi 2.
20548
184ad485
MC
205492004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20550
20551 * gdb.cp/classes.exp: Generate identical results as old version.
20552 * gdb.cp/derivation.exp: Likewise.
20553 * gdb.cp/overload.exp: Likewise.
20554 * gdb.cp/virtfunc.exp: Likewise.
20555
116f09e7
MC
205562004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20557
20558 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
20559 mysterious bug with sourceware version of expect.
20560
b1379776
MC
205612004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20562
20563 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
20564 current versions of gcc, including gcc abi 2. Remove gratuitous
20565 restart of test program. Use gdb_test_multiple and gdb_test for
20566 all tests. Add patterns to xfail missing "const" in "const char *"
20567 and kfail PR gdb/1155.
20568
6b7a4c0e
MC
205692004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20570
20571 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
20572 current versions of gcc, including gcc abi 2. Remove gratuitous
20573 restart of test program. Use gdb_test_multiple and gdb_test for
20574 all tests. Add patterns to kfail PR gdb/1498.
20575
51615d72
MC
205762003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20577
20578 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
20579 current versions of gcc, including gcc abi 2. Use "breakpoint"
20580 and "continue" instead of restarting the target program. Use
20581 gdb_test_multiple and gdb_test for all tests.
20582
7b79a9d7
MK
205832004-01-01 Mark Kettenis <kettenis@gnu.org>
20584
20585 * gdb.asm/asm-source.exp: Update copyright year. Link statically
20586 for *-*-solaris2*.
20587
1cd3489f
MC
205882003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20589
20590 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
20591 current versions of gcc, including gcc abi 2. Use "breakpoint"
20592 and "continue" instead of restarting the target program several
20593 times. Use gdb_test_multiple and gdb_test for all tests.
20594
850742db
MC
205952003-12-18 Michael Chastain <mec.gnu@mindspring.com>
20596
20597 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20598 source files.
20599
eb4bbda8
MC
206002003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20601
20602 * gdb.base/environ.exp: Handle compiling test case from multiple
20603 source files.
20604
e42c7771
MC
206052003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20606
20607 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20608
80e4b428
JB
206092003-12-17 Jim Blandy <jimb@redhat.com>
20610
5f06973a
JB
20611 * gdb.base/freebpcmd.c: Add copyright notice.
20612
80e4b428
JB
20613 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20614
0ab84fb7
MC
206152003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20616
20617 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20618
1b3bb3d0
JB
206192003-12-13 Jim Blandy <jimb@redhat.com>
20620
20621 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20622
3a4c9371
KB
206232003-12-12 Kevin Buettner <kevinb@redhat.com>
20624
20625 * gdb.asm/frv.inc: New file.
20626 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20627
a1dea79a
FF
206282003-12-09 Fred Fish <fnf@redhat.com>
20629
20630 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20631 functions to break1.c and leave prototypes behind. Add more
20632 "set breakpoint NN here" comments.
20633 * gdb.base/break1.c: New file.
20634
20635 * gdb.base/break.exp: Handle compiling test case from multiple
20636 source files and change source file references as needed.
20637 * gdb.base/completion.exp: Ditto.
20638 * gdb.base/condbreak.exp: Ditto.
20639 * gdb.base/define.exp: Ditto.
20640 * gdb.base/ena-dis-br.exp: Ditto.
20641 * gdb.base/info-proc.exp: Ditto.
20642 * gdb.base/maint.exp: Ditto.
20643 * gdb.base/until.exp: Ditto.
20644
20645 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20646 hardcoded line numbers.
20647 * gdb.base/define.exp: Ditto.
20648 * gdb.base/ena-dis-br.exp: Ditto.
20649 * gdb.base/maint.exp: Ditto.
20650 * gdb.base/until.exp: Ditto.
20651
20652 * gdb.base/completion.exp: Use "break1" for completion tests since
20653 "break" is no longer a unique prefix.
20654
5266b69c
AC
206552003-12-06 Andrew Cagney <cagney@redhat.com>
20656
20657 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20658 "return_value_unimplemented". When an unimplemented struct return
20659 architecture, report incorrect values as a KFAIL
20660
374451f0
MC
206612003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20662
20663 * gdb.cp/rtti.exp: Accept new wording of warning from
20664 cp_lookup_rtti_type.
20665
ba9b20a7
MC
206662003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20667
20668 Partial fix for PR testsuite/1456.
20669 * gdb.base/scope.exp (test_at_main): Replace references to
20670 gcc_compiled with calls to test_compiler_info.
20671 (test_at_foo): Likewise.
20672 (test_at_bar): Likewise.
20673
b74b6d0b
MC
206742003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20675
20676 Partial fix for PR testsuite/1456.
20677 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20678 to test_compiler_info.
20679
ccfa3402
MC
206802003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20681
20682 * gdb.base/so-impl-ld.exp: Update copyright notice.
20683
f6246aba
MC
206842003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20685
20686 Partial fix for PR testsuite/1456.
20687 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20688 to test_compiler_info.
20689
13ae734a
MC
206902003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20691
20692 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20693 from current versions of gdb. Clean up regular expressions.
20694 Delete redundant timeout case.
20695
d8e1cdee
MC
206962003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20697
20698 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20699 from current versions of gdb. Clean up regular expressions.
20700 Delete redundant timeout case.
20701
96457b64
MC
207022003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20703
20704 Partial fix for PR testsuite/1456.
20705 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20706 gcc_compiled with call to test_compiler_info.
20707
f35309fc
MC
207082003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20709
20710 Partial fix for PR testsuite/1456.
20711 * gdb.base/list.exp (test_list_function): Delete unused declaration
20712 of gcc_compiled.
20713
d7afdf9b
MC
207142003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20715
20716 Partial fix for PR testsuite/1456.
20717 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20718 call to test_compiler_info.
20719
71507b56
MK
207202003-11-29 Mark Kettenis <kettenis@gnu.org>
20721
20722 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20723 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20724 it to create the appropriate note.inc.
20725 * gdb.asm/asmsrc1.s: Include "note.inc".
20726 * gdb.asm/netbsd.inc: New file.
20727 * gdb.asm/empty.inc: New file.
20728
f81f93f7
MC
207292003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20730
20731 Partial fix for PR testsuite/1456.
20732 * gdb.base/constvars.exp: Replace references to gcc_compiled with
20733 calls to test_compiler_info.
20734
9a77938e
MC
207352003-11-27 Michael Chastain <mec.gnu@mindspring.com>
20736
20737 Partial fix for PR testsuite/1456.
20738 * gdb.base/volatile.exp: Replace references to gcc_compiled with
20739 calls to test_compiler_info.
20740
e8367dc7
MK
207412003-11-27 Mark Kettenis <kettenis@gnu.org>
20742
20743 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20744 pattern for the KFAILs.
20745
526c61ee
AF
207462003-11-25 Adam Fedor <fedor@gnu.org>
20747
20748 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20749 * gdb.objc/objcdecode.m: New file.
20750
28f2d600
AF
207512003-11-25 Adam Fedor <fedor@gnu.org>
20752
20753 * gdb.objc/nondebug.exp: Test for PR objc/1236.
20754 * gdb.objc/nondebug.m: New file.
20755
a3895cee
BE
207562003-11-26 Ben Elliston <bje@wasabisystems.com>
20757
20758 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20759 NetBSD as it does on FreeBSD. Modelled on a similar change by
20760 Mark Kettenis on 2003-05-30.
20761 (link-flags): Set to "--entry _start" regardless of target.
20762 Special linker flags are to be appended to $link-flags.
20763 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20764
c9f2c8a3
MC
207652003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20766
20767 * gdb.cp/method.exp: Accept output of new demangler.
20768
15a0587a 207692003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
20770
20771 * gdb/class2.exp: New file.
20772 * gdb/class2.cc: New file.
20773
3c00b570
MC
207742003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20775
20776 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20777 of new demangler.
20778
7027acc7
MK
207792003-11-23 Mark Kettenis <kettenis@gnu.org>
20780
20781 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20782 of gdb_test "run".
20783
b0e1598a
MK
207842003-11-23 Mark Kettenis <kettenis@gnu.org>
20785
20786 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
20787 "continue" into "run".
20788
4d9eda44
MC
207892003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20790
20791 Partial fix for PR testsuite/1456.
20792 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20793 call to test_compiler_info.
20794 * gdb.cp/ctti.exp: Likewise.
20795 * gdb.cp/derivation.exp: Likewise.
20796 * gdb.cp/member-ptr.exp: Likewise.
20797 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20798 reference to gcc_compiled.
20799
208002003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
20801
20802 Fix PR testsuite/1463.
20803 * gdb.base/structs.exp (start_structs_test): Call
20804 get_debug_format before using the debug format.
20805
d422fe19
AC
208062003-11-22 Andrew Cagney <cagney@redhat.com>
20807
20808 * lib/gdb.exp (gdb_test_multiple): Add simple example.
20809 * gdb.base/structs.exp: Use gdb_test_multiple.
20810
039cf96d
AC
208112003-11-20 Andrew Cagney <cagney@redhat.com>
20812
6882279b
AC
20813 * gdb.base/structs.exp: Handle and recover from internal errors.
20814 Replace "foo${n}" with "foo<n>" in test messages.
20815
e53890ae
AC
20816 * gdb.base/structs.exp: Update copyright. Rewrite.
20817 * gdb.base/structs.c: Update copyright. Rewrite.
20818
2b211c59
AC
20819 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20820 resync count exceeded.
d63a86f8 20821
039cf96d
AC
20822 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20823 from the internal error.
20824 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20825 Original from Jim Blandy.
20826 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 20827
eac98b22
AC
208282003-11-19 Andrew Cagney <cagney@redhat.com>
20829
20830 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20831 KFAIL.
20832
67455b2a
MK
208332003-11-17 Mark Kettenis <kettenis@gnu.org>
20834
20835 New testcase for PR backtrace/1435.
20836 * gdb.arch/i386-unwind.exp: New file.
20837 * gdb.arch/i386-unwind.c: New file.
20838
853d6e5b
AC
208392003-11-17 Andrew Cagney <cagney@redhat.com>
20840
20841 * lib/gdb.exp (compiler_info): New global.
20842 (test_compiler_info): New function.
20843 (get_compiler_info): Set compiler_info.
20844 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
20845 "compiler_info" to gcc-<major>-<minor>.
20846
38cf6e11
MC
208472003-11-15 Michael Chastain <mec.gnu@mindspring.com>
20848
20849 * gdb.trace/configure: Remove.
20850
a50d3602
EZ
208512003-11-13 Elena Zannoni <ezannoni@redhat.com>
20852
20853 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 20854 breakpoints.
a50d3602
EZ
20855 * gdb.base/break.exp: Remove all references to explicit line
20856 numbers.
20857
d9407aaa
NC
208582003-11-11 Nick Clifton <nickc@redhat.com>
20859
20860 * gdb.base/shreloc.exp: Do not run for targets which do not
20861 support shared objects.
20862
db488fc1
CV
208632003-11-10 Corinna Vinschen <vinschen@redhat.com>
20864
20865 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20866 Don't run tests if nofileio flag is given.
20867
6a90a18e
EZ
208682003-11-07 Elena Zannoni <ezannoni@redhat.com>
20869
20870 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 20871 as well as 'Watchpoint'.
6a90a18e 20872
0b915e9c
EZ
208732003-11-06 Elena Zannoni <ezannoni@redhat.com>
20874
20875 Reported by Jim Ingham <jingham@apple.com>:
20876 * gdb.base/annota1.exp: Match at least one occurrence of the
20877 signal handler annotation.
20878
d7e4b55f
EZ
208792003-11-06 Elena Zannoni <ezannoni@redhat.com>
20880
a9c64011
AS
20881 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20882 as well as 'Watchpoint'.
d7e4b55f 20883
2fe4e8d0
MC
208842003-11-05 Michael Chastain <mec@shout.net>
20885
20886 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20887
6ef88553
KW
208882003-11-03 Kris Warkentin <kewarken@qnx.com>
20889
20890 * gdb.arch/gdb1291.c: New test file.
20891 * gdb.arch/gdb1291.exp: New test script.
20892 * gdb.arch/gdb1431.c: New test file.
20893 * gdb.arch/gdb1431.exp: New test script.
20894
ae7dc4d8
MC
208952003-10-22 Michael Chastain <mec@shout.net>
20896
20897 * gdb.mi/pthreads.c: Add copyright notice.
20898
c39d7427
MC
208992003-10-22 Michael Chastain <mec@shout.net>
20900
20901 * gdb.threads/pthreads.c: Add copyright notice.
20902
8b7d96c1
MC
209032003-10-20 Michael Chastain <mec@shout.net>
20904
20905 * gdb.base/gdb1056.exp: New test script.
20906
d1d69fdd
DJ
209072003-10-13 Daniel Jacobowitz <drow@mvista.com>
20908
20909 * gdb.threads/killed.exp: Use gdb_run_cmd.
20910
7d605576
DJ
209112003-10-13 Daniel Jacobowitz <drow@mvista.com>
20912
20913 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20914 create a core file.
20915 * gdb.threads/gcore-thread.exp: Likewise.
20916
618ec112
CV
209172003-10-13 Corinna Vinschen <vinschen@redhat.com>
20918
20919 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20920 type, based on char type.
20921 (struct bit_flags_short_t): New bitfield type, based on short type.
20922 (init_bit_flags_char): New fuction.
20923 (init_bit_flags_short): Ditto.
20924 (print_bit_flags_char): Ditto.
20925 (print_bit_flags_short): Ditto.
20926 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20927
9367a73c
MC
209282003-10-11 Michael Chastain <mec@shout.net>
20929
20930 * gdb.base/call-rt-st.exp: Update copyright year.
20931
1decf120
KI
209322003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20933
20934 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20935 * gdb.disasm/sh3.s: Ditto.
20936
5445b2ae
DJ
209372003-10-07 Daniel Jacobowitz <drow@mvista.com>
20938
20939 * gdb.threads/switch-threads.exp: New test.
20940 * gdb.threads/switch-threads.c: New source file.
20941
aec24853
CV
209422003-10-07 Corinna Vinschen <vinschen@redhat.com>
20943
20944 * gdb.base/ending-run.exp: Add sh specific case.
20945
adc7428d
AC
209462003-10-06 Andrew Cagney <cagney@redhat.com>
20947
20948 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20949 * gdb.disasm/mn10200.exp: Delete obsolete file.
20950
c9d37158
DJ
209512003-09-29 Daniel Jacobowitz <drow@mvista.com>
20952
20953 * ChangeLog: Correct an entry command.exp -> commands.exp.
20954 * gdb.base/commands.exp (bp_deleted_in_command_test)
20955 (temporary_breakpoint_commands): Check noargs.
20956
79c2c32d
DC
209572003-09-25 David Carlton <carlton@kealia.com>
20958
20959 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20960 of some print tests, where appropriate. Add tests for C::D::cd,
20961 E::ce, F::cXfX, G::XgX.
20962 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20963
594e6d67
RE
209642003-09-25 Richard Earnshaw <rearnsha@arm.com>
20965
20966 * lib/java.exp (java_init): Import target_alias before using it.
20967
10f0d451
DC
209682003-09-25 David Carlton <carlton@kealia.com>
20969
20970 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20971
274bcba0
EZ
209722003-09-23 Elena Zannoni <ezannoni@redhat.com>
20973
d63a86f8 20974 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 20975 weirdness.
274bcba0 20976
cdbf20f7
MC
209772003-09-17 Michael Chastain <mec@shout.net>
20978
20979 * gdb.cp/gdb1355.exp: New file.
20980 * gdb.cp/gdb1355.c: New file.
20981
71e06f80
CV
209822003-09-15 Corinna Vinschen <vinschen@redhat.com>
20983
20984 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20985 * gdb.asm/sh.inc: New file.
20986
5c4e30ca
DC
209872003-09-11 David Carlton <carlton@kealia.com>
20988
bd45b7af
DC
20989 * gdb.cp/namespace.exp: Add tests for namespace types.
20990 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
20991 (test_namespace): New.
20992
1c199746
EZ
209932003-09-11 Elena Zannoni <ezannoni@redhat.com>
20994
a9c64011 20995 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 20996 * gdb.stabs/weird.exp: Ditto.
1c199746 20997
04ed252f
MC
209982003-09-08 Michael Chastain <mec@shout.net>
20999
21000 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21001
d8a2d9e7
MC
210022003-09-07 Michael Chastain <mec@shout.net>
21003
21004 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21005 'parse error'.
21006
161afb24
MK
210072003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21008
21009 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21010
49f2741a
MC
210112003-08-30 Michael Chastain <mec@shout.net>
21012
21013 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21014 * gdb.gdb/observer.exp: Ditto.
21015 * gdb.gdb/xfullpath.exp: Ditto.
21016
8afa723e
MK
210172003-08-29 Mark Kettenis <kettenis@gnu.org>
21018
21019 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21020 *-*-*bsd*.
21021
f31dfe3b
JJ
210222003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21023
21024 * gdb.base/dump.exp: Skip for ia64.
21025
4630e498
JJ
210262003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21027
21028 * gdb.asm/asm-source.exp: Add ia64 support.
21029 * gdb.asm/ia64.inc: New file.
21030
1105b7ef
MC
210312003-08-22 Michael Chastain <mec@shout.net>
21032
21033 * gdb.cp: New directory.
21034 * gdb.cp/*: Copy from gdb.c++/*.
21035 * gdb.c++/*: Remove.
21036 * Makefile.in: Change gdb.c++ to gdb.cp.
21037 * configure.in: Ditto.
21038 * configure: Regnerate.
21039
c945b932
MK
210402003-08-18 Mark Kettenis <kettenis@gnu.org>
21041
21042 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21043 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21044
2b66634b
DJ
210452003-08-17 Daniel Jacobowitz <drow@mvista.com>
21046
21047 * mi-var-display.exp (-var-list-children weird): Accept function
21048 pointers with argument types.
21049 * mi1-var-display.exp (-var-list-children weird): Likewise.
21050 * mi2-var-display.exp (-var-list-children weird): Likewise.
21051
a356f73b
DJ
210522003-08-17 Daniel Jacobowitz <drow@mvista.com>
21053
21054 * gdb.base/annota3.exp: Add missing newline.
21055
483417b8
MC
210562003-08-06 Michael Chastain <mec@shout.net>
21057
21058 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21059
c99c59c3
MS
210602003-08-12 Michael Snyder <msnyder@redhat.com>
21061
21062 * gdb.base/float.exp: Add test for SH.
21063
55ed7501
MK
210642003-08-10 Mark Kettenis <kettenis@gnu.org>
21065
21066 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21067
1a371f2e
EZ
210682003-08-07 Elena Zannoni <ezannoni@redhat.com>
21069
21070 * gdb.base/completion.exp: Remove reduntant completion test
21071 on filename.
21072
e0f353ce
EZ
210732003-08-07 Elena Zannoni <ezannoni@redhat.com>
21074
a9c64011
AS
21075 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21076 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21077 gdb.trace/save-trace.exp: Make sure that full pathnames are
21078 escaped correctly.
e0f353ce 21079
5710a1af 210802003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 21081
a9c64011
AS
21082 * configure.in: Don't generate config.h from config.hin.
21083 * configure: Regenerate.
21084 * config.hin: Remove file.
21085 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21086 * gdb.threads/pthreads.c: Ditto.
5710a1af 21087
dcd81ce9
DJ
210882003-08-07 Daniel Jacobowitz <drow@mvista.com>
21089
21090 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21091 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21092 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21093 Replace ld24 with seth/add3.
21094
6009d884
AC
210952003-08-02 Andrew Cagney <cagney@redhat.com>
21096
21097 * gdb.base/annota3.exp: New file.
21098 * gdb.base/annota3.c: New file.
21099 * gdb.c++/annota3.exp: New file.
21100 * gdb.c++/annota3.cc: New file.
21101
51514e06
MC
211022003-07-29 Michael Chastain <mec@shout.net>
21103
21104 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21105 actually failed.
21106 (do_pass): Likewise.
21107 * gdb.threads/tls.exp: Always initialize no_of_threads.
21108
4ee6625b
DJ
211092003-07-27 Daniel Jacobowitz <drow@mvista.com>
21110
21111 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21112 pattern.
21113 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21114 * gdb.threads/tls.exp: Recognize one case of the host library not
21115 supporting TLS.
21116
225f2bf6
AC
211172003-07-27 Andrew Cagney <cagney@redhat.com>
21118
21119 * gdb.base/fileio.exp: Use SH when running commands using
21120 remote_exec.
21121
bcb27c9f
DJ
211222003-07-24 Daniel Jacobowitz <drow@mvista.com>
21123
21124 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21125 * gdb.base/relocate.c (dummy): New padding array.
21126
3d67be83
MS
211272003-07-22 Michael Snyder <msnyder@redhat.com>
21128
d63a86f8 21129 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
21130
21131 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21132 patterns to be more general, accepting old and new output.
21133 Some output chars (such as '+') also must be quoted.
d63a86f8 21134 Some addresses are displayed numerically instead of
3d67be83
MS
21135 symbolically.
21136
57ba3b85
MS
211372003-07-23 Michael Snyder <msnyder@redhat.com>
21138
686d097c
MS
21139 * gdb.base/return2.exp: Don't test long-long return.
21140
57ba3b85
MS
21141 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21142 * gdb.disasm/t01_mov.exp: Ditto.
21143 * gdb.disasm/t02_mova.s: Ditto.
21144 * gdb.disasm/t02_mova.exp: Ditto.
21145 * gdb.disasm/t03_add.s: Ditto.
21146 * gdb.disasm/t03_add.exp: Ditto.
21147 * gdb.disasm/t04_sub.s: Ditto.
21148 * gdb.disasm/t04_sub.exp: Ditto.
21149 * gdb.disasm/t05_cmp.s: Ditto.
21150 * gdb.disasm/t05_cmp.exp: Ditto.
21151 * gdb.disasm/t06_ari2.s: Ditto.
21152 * gdb.disasm/t06_ari2.exp: Ditto.
21153 * gdb.disasm/t07_ari3.s: Ditto.
21154 * gdb.disasm/t07_ari3.exp: Ditto.
21155 * gdb.disasm/t08_or.s: Ditto.
21156 * gdb.disasm/t08_or.exp: Ditto.
21157 * gdb.disasm/t09_xor.s: Ditto.
21158 * gdb.disasm/t09_xor.exp: Ditto.
21159 * gdb.disasm/t10_and.s: Ditto.
21160 * gdb.disasm/t10_and.exp: Ditto.
21161 * gdb.disasm/t11_logs.s: Ditto.
21162 * gdb.disasm/t11_logs.exp: Ditto.
21163 * gdb.disasm/t12_bit.s: Ditto.
21164 * gdb.disasm/t12_bit.exp: Ditto.
21165 * gdb.disasm/t13_otr.s: Ditto.
21166 * gdb.disasm/t13_otr.exp: Ditto.
21167
e00759ef
EZ
211682003-07-22 Elena Zannoni <ezannoni@redhat.com>
21169
21170 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21171
8bc2021f
EZ
211722003-07-22 Elena Zannoni <ezannoni@redhat.com>
21173
a9c64011
AS
21174 * gdb.threads/tls.c : New file.
21175 * gdb.threads/tls.exp : New file.
21176 * gdb.threads/tls-main.c : New file.
21177 * gdb.threads/tls-shared.c : New file.
21178 * gdb.threads/tls-shared.exp : New file.
8bc2021f 21179
89320c4c
AS
211802003-07-22 Andreas Schwab <schwab@suse.de>
21181
21182 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21183
180dea7c
AS
211842003-07-20 Andreas Schwab <schwab@suse.de>
21185
21186 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21187 due to insn reordering.
21188
0714963c
AC
211892003-07-15 Andrew Cagney <cagney@redhat.com>
21190
21191 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21192
98a23b3f
MC
211932003-07-15 Michael Chastain <mec@shout.net>
21194
21195 * gdb.base/gdb1250.exp: New file.
21196 * gdb.base/gdb1250.c: New file.
21197
27e417a2
ML
211982003-07-09 Michal Ludvig <mludvig@suse.cz>
21199
21200 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21201 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21202
8bc2021f
EZ
212032003-07-09 Elena Zannoni <ezannoni@redhat.com>
21204
a9c64011
AS
21205 * gdb.threads/tls.c: New file.
21206 * gdb.threads/tls.exp: New file.
21207 * gdb.threads/tls-main.c: New file.
21208 * gdb.threads/tls-shared.c: New file.
21209 * gdb.threads/tls-shared.exp: New file.
8bc2021f 21210
d99968dc
EZ
212112003-07-09 Elena Zannoni <ezannoni@redhat.com>
21212
21213 * gdb.base/annota1.exp: Make sure that we properly escape the
21214 full path of the source file. Xfail more permissive patterns,
d63a86f8 21215 due to a compiler debug info problem.
d99968dc 21216
83876b3b
AS
212172003-07-07 Andreas Schwab <schwab@suse.de>
21218
2705e972
AS
21219 * gdb.asm/m68k.inc: New file.
21220 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21221
83876b3b
AS
21222 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21223 arguments"): Also match negative number.
21224
21225 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21226
3a871b37
DJ
212272003-07-03 Daniel Jacobowitz <drow@mvista.com>
21228
21229 * gdb.base/store.c (charest): New typedef.
21230 (add_char): Rename to add_charest, update.
21231 (wack_char): Rename to wack_charest, update types. Return l + r
21232 to keep r live across the call.
21233 (wack_short, wack_int, wack_long, wack_longest, wack_float)
21234 (wack_double, wack_doublest): Return l + r to keep r live across
21235 the call.
21236 * gdb.base/store.exp: Accomodate store.c changes.
21237
b2a7f303
DC
212382003-06-30 David Carlton <carlton@kealia.com>
21239
21240 * gdb.c++/maint.exp (test_invalid_name): New.
21241 (test_first_component): Add tests for invalid names.
21242
3c6cb4a1
MC
212432003-06-29 Michael Chastain <mec@shout.net>
21244
21245 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21246 output of '<VTT for class>' for virtual base classes.
21247
f1c2644b
DJ
212482003-06-29 Daniel Jacobowitz <drow@mvista.com>
21249
21250 * gdb.base/completion.exp: Tab-complete "complet" instead of
21251 "compl".
21252 * gdb.base/complex.exp, gdb.base/complex.c: New files.
21253
18080350
DJ
212542003-06-29 Daniel Jacobowitz <drow@mvista.com>
21255
21256 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
21257 * gdb.base/volatile.exp: Likewise.
21258
f56973f8
DJ
212592003-06-29 Daniel Jacobowitz <drow@mvista.com>
21260
21261 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
21262 gdb/1265.
21263
212642003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
21265 Daniel Jacobowitz <drow@mvista.com>
21266
21267 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
21268 initial line count of 'captured_main' from 26 to 32.
21269 (test_with_self): Allow xmalloc call to be interleaved with the
21270 preceding two lines.
21271
e766d4d6
JB
212722003-06-24 Joel Brobecker <brobecker@gnat.com>
21273
21274 * gdb.base/bang.exp: New testcase.
21275
f125c9a4
JB
212762003-06-23 Joel Brobecker <brobecker@gnat.com>
21277
21278 * gdb.base/langs.exp: Add some tests for the "minimal" language
21279 support.
21280
6e25beaf
EZ
212812003-06-23 Elena Zannoni <ezannoni@redhat.com>
21282
21283 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
21284 the testcase.
21285
2f816dda
DJ
212862003-06-22 Daniel Jacobowitz <drow@mvista.com>
21287
21288 * gdb.base/relocate.exp: Test add-symbol-file with a variable
21289 offset.
21290
db5a5748
DJ
212912003-06-22 Daniel Jacobowitz <drow@mvista.com>
21292
21293 * gdb.c++/pr-1210.cc: New file.
21294 * gdb.c++/pr-1210.exp: New file.
21295
1df0c130
DJ
212962003-06-21 Daniel Jacobowitz <drow@mvista.com>
21297
21298 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
21299 000-exec-continue.
21300
a92feac0
MK
213012003-06-15 Mark Kettenis <kettenis@gnu.org>
21302
21303 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
21304 on *-*-*bsd* instead of *-*-freebsd*.
21305
81a58f5b
AC
213062003-06-14 Andrew Cagney <cagney@redhat.com>
21307
21308 * gdb.base/store.exp: Test longest and doublest. Test all
21309 parameters. Weaken return statement match.
21310 * gdb.base/store.c: Add longest and doublest - aka long long and
21311 long double functions. Put all parameters into local register
21312 variables. Use negative values.
21313
b257a0d3
AC
213142003-06-14 Andrew Cagney <cagney@redhat.com>
21315
21316 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
21317 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
21318 exit status.
21319 * gdb.base/fileio.exp: Disable target when nointerrupts and
21320 noinferiorio, instead of limiting it to remote. Use remote_exec
21321 instead of system.
d63a86f8 21322
21c38304
JJ
213232003-06-12 Jeff Johnston <jjohnstn@redhat.com>
21324
21325 * gdb.base/float.exp: Add ia64 support.
21326
1bcdb424
CV
213272003-06-12 Corinna Vinschen <vinschen@redhat.com>
21328
21329 * gdb.base/fileio.exp: Run only on remote targets.
21330
6aeb981f
CV
213312003-06-10 Corinna Vinschen <vinschen@redhat.com>
21332
21333 * gdb.base/fileio.c: New file, testing File-I/O.
21334 * gdb.base/fileio.exp: Ditto.
21335
53df362e
RG
213362003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
21337
21338 * gdb.base/shreloc.exp: New file, check symbol values obtained from
21339 shared objects after relocation at load time (gdb PR/1132).
21340 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 21341 as above, part of the shared object relocation test.
53df362e 21342
ffee1b46
MK
213432003-06-08 Mark Kettenis <kettenis@gnu.org>
21344
b5ca3722
MK
21345 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
21346 fully filled history list.
21347 * gdb.base/gdb_history: New file.
21348
03ed860d
MK
21349 * gdb.base/signals.exp: XFAIL "continue to func1" on
21350 i*86-*-freebsd*.
21351
ffee1b46
MK
21352 * gdb.base/attach.exp: When trying to attach to a nonexistent
21353 process, make it possible to specify the PID based on the target,
21354 and do so for *-*-freebsd*.
21355
d80dbb52
RH
213562003-06-02 Richard Henderson <rth@redhat.com>
21357
21358 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
21359
6dd77b81
RH
213602003-06-02 Richard Henderson <rth@redhat.com>
21361
21362 * gdb.base/selftest.exp: Next over lim_at_start initialization.
21363
f6347e16
RH
213642003-06-02 Richard Henderson <rth@redhat.com>
21365
21366 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
21367
2c161407
DJ
213682003-06-01 Daniel Jacobowitz <drow@mvista.com>
21369
21370 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
21371 of globalvar.
21372
572eb746
MK
213732003-06-01 Mark Kettenis <kettenis@gnu.org>
21374
21375 * gdb.asm/asm-source.exp: Check for memory read errors in
21376 disassembler test on *BSD too.
21377
9e9617a5
RH
213782003-06-01 Richard Henderson <rth@redhat.com>
21379
21380 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
21381 for .frame.
21382 (gdbasm_call): Lose ldgp.
21383 (gdbasm_startup): Add frame information.
21384 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
21385
7b34ad4e
MK
213862003-05-31 Mark Kettenis <kettenis@gnu.org>
21387
21388 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
21389 i?86-*-*.
21390
10059fdf
MK
213912003-05-30 Mark Kettenis <kettenis@gnu.org>
21392
21393 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21394 FreeBSD.
21395
acf4b816
RH
213962003-05-29 Richard Henderson <rth@redhat.com>
21397
21398 * gdb.asm/alpha.inc: New file.
21399 * gdb.asm/asm-source.exp: Use it.
21400
e9ecd949
JB
214012003-05-29 Jim Blandy <jimb@redhat.com>
21402
21403 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
21404 'core.PID'.
21405
e3e5a4f3
JB
214062003-05-22 Jim Blandy <jimb@redhat.com>
21407
21408 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
21409 backtrace.
d63a86f8 21410
72fe3d25
DC
214112003-05-20 David Carlton <carlton@math.stanford.edu>
21412
21413 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
21414 this time.
21415
58da2eb2
DC
214162003-05-19 David Carlton <carlton@bactrian.org>
21417
21418 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
21419 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
21420
1fcb5155
DC
214212003-05-19 David Carlton <carlton@bactrian.org>
21422
21423 * gdb.c++/namespace.exp: Add namespace scope and anonymous
21424 namespace tests.
21425 Bump copyright date.
21426 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
21427 (main): Call C::D::marker2.
21428 * gdb.c++/namespace1.cc: New file.
21429
85e85163
JJ
214302003-05-14 Jeff Johnston <jjohnstn@redhat.com>
21431
21432 Roland McGrath <roland@redhat.com>
d63a86f8 21433 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
21434 there is no manager thread.
21435
a25fbfec
JJ
214362003-05-08 Jeff Johnston <jjohnstn@redhat.com>
21437
d63a86f8
RM
21438 * gdb.threads/schedlock.exp: Remove assumption that all threads
21439 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
21440 in one of the child threads rather than the main thread.
21441
be375bae
JB
214422003-05-07 Jim Blandy <jimb@redhat.com>
21443
09bf6082
JB
21444 Add support for assembly source testing on the s390x.
21445 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
21446 architecture.
21447 * gdb.asm/s390x.inc: New file.
21448
be375bae
JB
21449 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
21450 succession of 'if' statements.
21451
00905d52
AC
214522003-05-05 Andrew Cagney <cagney@redhat.com>
21453
21454 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
21455
b1e29e33
AC
214562003-05-05 Andrew Cagney <cagney@redhat.com>
21457
21458 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
21459 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
21460
e33d66ec
EZ
214612003-05-02 Elena Zannoni <ezannoni@redhat.com>
21462
21463 * gdb.base/charset.exp: Update based on new behavior of set/show
21464 charset commands.
21465
2b6fd0d8
AC
214662003-05-01 Andrew Cagney <cagney@redhat.com>
21467
21468 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
21469 variable do not give memory errors.
21470
130cacce
AF
214712003-04-30 Adam Fedor <fedor@gnu.org>
21472
21473 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
21474 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
21475 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
21476 gdb.objc/basicclass.m: : New files
21477
21478 * lib/gdb.exp (gdb_compile_objc): New procedure.
21479
bea71854
DJ
214802003-04-27 Daniel Jacobowitz <drow@mvista.com>
21481
21482 * gdb.base/signals.exp: Make backtrace tests more specific.
21483
0f20eeea
DC
214842003-04-23 David Carlton <carlton@bactrian.org>
21485
21486 * gdb.c++/maint.exp (test_first_component): Add tests for
21487 'operator' in more locations.
21488
c8c4d8dc
KB
214892003-04-16 Kevin Buettner <kevinb@redhat.com>
21490
21491 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
21492
3fe60e3c
EZ
214932003-04-16 Elena Zannoni <ezannoni@redhat.com>
21494
21495 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 21496 func marke' instead. Update test name.
3fe60e3c 21497
9219021c
DC
214982003-04-15 David Carlton <carlton@math.stanford.edu>
21499
21500 * gdb.c++/maint.exp: New file.
21501
5dd55bdd
EZ
215022003-04-14 Elena Zannoni <ezannoni@redhat.com>
21503
21504 * gdb.threads/schedlock.c: Change type of thread function argument
21505 to long, to avoid warnings on 64-bit platforms.
21506
00890572
EZ
215072003-04-14 Elena Zannoni <ezannoni@redhat.com>
21508
a9c64011
AS
21509 * gdb.base/attach.exp: Add new message from ptrace in case of
21510 attaching to nonexistent process.
d63a86f8 21511
93201743
JB
215122003-04-11 Jim Blandy <jimb@redhat.com>
21513
21514 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21515 gdb.c++/userdef.cc: Place comments on the lines to which the
21516 marker function might return.
21517 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21518 gdb.c++/userdef.exp: Look for those comments to check that we've
21519 returned to the right place, instead of checking line numbers.
21520
2a11c64d
EZ
215212003-04-11 Elena Zannoni <ezannoni@redhat.com>
21522
a9c64011
AS
21523 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
21524 match on sourcefile name, instead of directory name.
2a11c64d 21525
68ab8fc5
EZ
215262003-04-10 Elena Zannoni <ezannoni@redhat.com>
21527
d63a86f8 21528 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
21529 working directory name.
21530
5624293a
JB
215312003-04-09 Jim Blandy <jimb@redhat.com>
21532
21533 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21534 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
21535 after an inferior function call, report the failure, but allow the
21536 test to continue.
21537
f1f02ee4
SC
215382003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21539
21540 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21541 with -DPROTOTYPES.
21542
6eb79af0
SC
215432003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21544
21545 * gdb.base/break.exp: Revert last patch.
21546
8dfb4cf0
SC
215472003-04-04 Stephane Carrez <stcarrez@nerim.fr>
21548
21549 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21550 with -DPROTOTYPES.
21551
ed4c619a
AC
215522003-04-02 Andrew Cagney <cagney@redhat.com>
21553
21554 * gdb.base/callfuncs.exp: Make "print add" messages unique.
21555 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
21556 matching directories by the name breakpoint.
21557 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
21558 Make "continue to marker1" consistent.
21559 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
21560 message consistent.
21561 * lib/gdb.exp: Put "the program is no longer running", and "the
21562 program exited" in parenthesis.
21563 * lib/mi-support.exp: Ditto.
d63a86f8 21564
4e35d5f0 215652003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 21566
4e35d5f0
BR
21567 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
21568
71900fe8
AC
215692003-03-29 Andrew Cagney <cagney@redhat.com>
21570
21571 * gdb.base/sizeof.c (main): Print the value of '\377'.
21572 * gdb.base/sizeof.exp: Check the sign of '\377'.
21573
c0655a16
MC
215742003-03-27 Michael Chastain <mec@shout.net>
21575
21576 * gdb.base/gdb1090.exp: New file.
21577 * gdb.base/gdb1090.cc: New file.
21578
5b2a3989
JB
215792003-03-27 J. Brobecker <brobecker@gnat.com>
21580
21581 * gdb.gdb/observer.exp: New regression test.
21582
79876890
MC
215832003-03-27 Michael Chastain <mec@shout.net>
21584
21585 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21586 * gdb.base/ptype.exp: Likewise.
21587
6eac95e3
CV
215882003-03-27 Corinna Vinschen <vinschen@redhat.com>
21589
21590 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21591
e8c71839
MC
215922003-03-26 Michael Chastain <mec@shout.net>
21593
21594 * gdb.base/ptype.exp: Actually use some typedef'd types.
21595
71b10041
SC
215962003-03-21 Stephane Carrez <stcarrez@nerim.fr>
21597
21598 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21599 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21600
2512cf80
CV
216012003-03-20 Corinna Vinschen <vinschen@redhat.com>
21602
21603 * gdb.base/default.exp: Fix regular expression.
21604
0d195a4f
CV
216052003-03-20 Corinna Vinschen <vinschen@redhat.com>
21606
21607 * gdb.base/args.exp: Fix regular expression.
21608
8a2dbca8
CV
216092003-03-20 Corinna Vinschen <vinschen@redhat.com>
21610
21611 * gdb.base/help.exp: Allow Win32 child process.
21612
bf028682
CV
216132003-03-20 Corinna Vinschen <vinschen@redhat.com>
21614
21615 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21616 when stepping out of main().
21617
182dbe85
CV
216182003-03-20 Corinna Vinschen <vinschen@redhat.com>
21619
21620 * gdb.base/default.exp: Check for win32 specific message when calling
21621 "run" without executable.
21622
d67a6ba5
CV
216232003-03-20 Corinna Vinschen <vinschen@redhat.com>
21624
21625 * gdb.base/args.exp: Expect .exe in output.
21626
a955b5bb
CV
216272003-03-20 Corinna Vinschen <vinschen@redhat.com>
21628
21629 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21630 Cygwin native.
21631
bf6bad4b
AC
216322003-03-17 Andrew Cagney <cagney@redhat.com>
21633
21634 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21635 vector registes.
21636 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21637 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21638
293e9a31
DC
216392003-03-17 David Carlton <carlton@math.stanford.edu>
21640
21641 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21642 test, for PR breakpoints/38.
21643 Call test_watchpoint_and_breakpoint.
21644 * gdb.base/watchpoint.c (func3): New function.
21645 (main): Call func3.
21646
5330f2db
DC
216472003-03-04 David Carlton <carlton@math.stanford.edu>
21648
21649 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21650 Garply<Garply<char> >:: garply".
21651 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21652 with respect to PR c++/1111; note also PR c++/1113.
21653 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21654 respect to PR c++/1062.
21655 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21656
6ece72da
DC
216572003-03-03 David Carlton <carlton@math.stanford.edu>
21658
21659 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21660 with respect to PR c++/57.
21661 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21662 c++/826.
21663 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21664 respect to PR c++/57.
21665
85ca1584
DC
216662003-03-03 David Carlton <carlton@math.stanford.edu>
21667
21668 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21669 respect to PR c++/33 into FAILs.
21670
98e9c5b8
MC
216712003-03-03 Michael Chastain <mec@shout.net>
21672
7bedbf27
MC
21673 * configure.in: Update copyright years.
21674
216752003-03-03 Michael Chastain <mec@shout.net>
21676
21677 * Makefile.in: Update copyright years.
98e9c5b8 21678
f683e100
DC
216792003-02-28 David Carlton <carlton@math.stanford.edu>
21680
21681 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21682 print class instead of struct and/or superfluous protection
21683 specifiers, as long as the resulting output is equivalent to the
21684 source code.
21685 Delete FIXME from end of messages on tests that don't need
21686 fixing.
21687
a9e0cf2c
DC
216882003-02-28 David Carlton <carlton@math.stanford.edu>
21689
21690 * gdb.c++/templates.exp (do_tests): Allow const in the two
21691 Foo<volatile char *>::foo tests.
21692
e8d359df
MS
216932003-02-27 Michael Snyder <msnyder@redhat.com>
21694
d63a86f8 21695 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
21696 will be consistant.
21697
0b71dc91
DC
216982003-02-26 David Carlton <carlton@math.stanford.edu>
21699
21700 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21701 char *>::foo" test with respect to PR c++/33. Create a new test
21702 which is identical to that one except that it doesn't put the
21703 space between the "char" and the "*"; KFAIL it, too.
21704
dd14ab43
DC
217052003-02-26 David Carlton <carlton@math.stanford.edu>
21706
21707 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21708 template types into either PASSes or KFAILs (corresponding to PR
21709 c++/57). Tweak indentation. Update copyright.
21710
1146c7f1
SC
217112003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21712
21713 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21714
74641dfb
MC
217152003-02-13 Michael Chastain <mec@shout.net>
21716
21717 * gdb.base/exprs.exp: Remove i960 remnants.
21718 * gdb.base/funcargs.exp: Likewise.
21719 * gdb.base/list.exp: Likewise.
21720 * gdb.base/ptype.exp: Likewise.
21721
559cd2d0
DC
217222003-02-14 David Carlton <carlton@math.stanford.edu>
21723
21724 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21725 pEe->D::vg()" from XFAIL to KFAIL.
21726
c4f90d87
JM
217272003-02-13 Jason Molenda (jmolenda@apple.com)
21728
21729 * gdb.base/maint.exp: Update maint print statistics regexp to include
21730 new entries.
21731
cbc4d97c
MC
217322003-02-13 Michael Chastain <mec@shout.net>
21733
21734 * gdb.c++/inherit.exp: Remove call to get_debug_format.
21735
40f235b7
MC
217362003-02-12 Michael Chastain <mec@shout.net>
21737
21738 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21739 * gdb.c++/inherit.exp: Likewise.
21740 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21741 * gdb.c++/templates.exp: Likewise.
21742 * gdb.c++/virtfunc.exp: Likewise.
21743
c56716b0
JM
217442003-02-06 Jason Molenda (jason-cl@molenda.com)
21745
21746 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21747 why the code is written that way.
21748
070afcf8
MC
217492003-02-05 Michael Chastain <mec@shout.net>
21750
21751 * gdb.base/dump.exp: Add missing copyright line.
21752
5d0331e5
JM
217532003-02-05 Jason Molenda (jason-cl@molenda.com)
21754
f7ae6d3e 21755 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
21756 at the beginning so the breakpoint doesn't get set on the loop.
21757
92851186
MC
217582003-02-05 Michael Chastain <mec@shout.net>
21759
21760 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21761 output for configurations with gcc 2.95.3.
21762
cbf1e085
AC
217632003-02-05 Keith Seitz <keiths@redhat.com>
21764 Andrew Cagney <ac131313@redhat.com>
21765
21766 * gdb.mi/mi-cli.exp: New file.
d63a86f8 21767
29518e1e
MC
217682003-02-04 Michael Chastain <mec@shout.net>
21769
21770 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21771 Call perror and then continue.
21772
5af1d5f3
MC
217732003-02-03 Michael Chastain <mec@shout.net>
21774
21775 * gdb.c++/pr-1023.cc: New file.
21776 * gdb.c++/pr-1023.exp: New file.
21777
6b549786
JB
217782003-02-05 Jim Blandy <jimb@redhat.com>
21779
21780 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21781 it's local to foobar. Check for it there, and check that it's not
21782 present in main.
21783 * gdb.c++/local.cc (marker2): New function.
21784 (foobar): Call marker1.
21785 (main): Call marker2 instead of marker1.
21786
67f16606
AC
217872003-02-04 Andrew Cagney <ac131313@redhat.com>
21788
21789 * gdb.disasm/mn10200.exp: Obsolete file.
21790 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21791 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21792 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21793
1c5cb38e
DC
217942003-02-04 David Carlton <carlton@math.stanford.edu>
21795
21796 * gdb.c++/overload.exp: Test intToChar(1).
21797 * gdb.c++/overload.cc (intToChar): New.
21798 (main): Call intToChar.
21799
d1fe6965
DC
218002003-02-03 David Carlton <carlton@math.stanford.edu>
21801
21802 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21803 'might_kfail' arg.
21804 KFAIL some of the continue_to_bp_overloaded calls, according to
21805 PR c++/1025.
21806
9ba61c5d
MC
218072003-02-01 Michael Chastain <mec@shout.net>
21808
21809 * gdb.base/advance.c (marker1): New marker function.
21810 * gdb.base/advance.exp: When the 'advance' command lands on the
21811 return breakpoint, it can legitimately stop on either the
21812 current line or the next line. Accommodate both outcomes.
21813 * gdb.base/until.exp: Likewise.
21814
e7494ffb
AC
218152003-02-02 Andrew Cagney <ac131313@redhat.com>
21816
21817 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21818 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21819 now a list, not a tuple.
21820 * gdb.mi/mi-var-display.exp: Ditto.
21821 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 21822
075559bc
AC
218232003-02-01 Andrew Cagney <ac131313@redhat.com>
21824
21825 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21826 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21827 stack backtraces.
21828 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 21829
2bd4c7b1
MK
218302003-02-01 Mark Kettenis <kettenis@gnu.org>
21831
21832 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21833 gdb.mi/mi1-pthreads.exp: Return instead of calling
21834 gdb_suppress_entire_file.
21835
eabd8992
MS
218362003-02-01 Mark Salter <msalter@redhat.com>
21837
21838 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21839
71469e2f
MS
218402003-01-31 Mark Salter <msalter@redhat.com>
21841
21842 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21843 Support empty arg.
21844
38a94d44
MC
218452003-01-30 Michael Chastain <mec@shout.net>
21846
21847 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21848 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21849 has been fixed in gdb/readline on 2003-01-09.
21850
19ea9e73
MS
218512003-01-29 Michael Snyder <msnyder@redhat.com>
21852
e8d359df
MS
21853 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21854 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
21855 * gdb.base/args.exp: Skip if target does not support args passing.
21856
2307bd6a
DJ
218572003-01-22 Daniel Jacobowitz <drow@mvista.com>
21858
19ea9e73 21859 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
21860 gdb_test. Accept a list of expect arguments as the third
21861 parameter.
21862 (gdb_test): Use it.
21863
f2dd3617
EZ
218642003-01-20 Elena Zannoni <ezannoni@redhat.com>
21865
21866 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21867 allow for different test tree configurations. Update some
21868 tescases accordingly.
21869 * gdb.arch/altivec-regs.exp: Ditto.
21870 * gdb.asm/asm-source.exp: Ditto.
21871 * gdb.base/advance.exp: Ditto.
21872 * gdb.base/display.exp: Ditto.
d63a86f8 21873 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
21874 * gdb.base/mips_pro.exp: Ditto.
21875 * gdb.base/overlays.exp: Ditto.
21876 * gdb.base/relocate.exp: Ditto.
21877 * gdb.base/setshow.exp: Ditto.
21878 * gdb.base/step-line.exp: Ditto.
21879 * gdb.base/step-test.exp: Ditto.
21880 * gdb.base/until.exp: Ditto.
21881 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21882
c71cdefd
DC
218832003-01-17 David Carlton <carlton@math.stanford.edu>
21884
21885 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21886 corresponding to PR c++/945.
21887 Update copyright.
21888
fdba05d7
DC
218892003-01-17 David Carlton <carlton@math.stanford.edu>
21890
21891 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21892 corresponding to PR c++/68.
21893
218942003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
21895
21896 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21897 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21898 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21899
c362c33a
EZ
219002003-01-15 Elena Zannoni <ezannoni@redhat.com>
21901
0fbc361c
EZ
21902 * gdb.base/break.exp: Fix change of default location, because of
21903 removal of until tests.
21904 * gdb.base/help.exp: Update test for new 'until' help message.
21905 Add test for help on 'advance'.
a9c64011 21906 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 21907
dabf8a35
MK
219082003-01-15 Mark Kettenis <kettenis@gnu.org>
21909
21910 * gdb.base/default.exp: Adapt "info float" test for recent changes
21911 to that command. Add test for "info vector".
21912 * gdb.base/float.exp: New file. Add test for "info float" that
21913 resembles the old test in gdb.base/default.exp.
21914
a1769aca
DC
219152003-01-15 David Carlton <carlton@math.stanford.edu>
21916
21917 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21918
82025e13
EZ
219192003-01-15 Elena Zannoni <ezannoni@redhat.com>
21920
21921 * gdb.base/break.exp: Move the tests of until command from here...
21922 * gdb.base/until.exp: ... to here. New file. Add other tests.
21923 * gdb.base/advance.c: New file.
21924 * gdb.base/advance.exp: New file.
21925
8f9ab801
EZ
219262003-01-14 Elena Zannoni <ezannoni@redhat.com>
21927
a9c64011
AS
21928 * gdb.base/args.c: New file.
21929 * gdb.base/args.exp: New file.
8f9ab801 21930
9ae66589
DJ
219312003-01-14 Daniel Jacobowitz <drow@mvista.com>
21932
21933 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21934
8d77e5c3
DJ
219352003-01-14 Daniel Jacobowitz <drow@mvista.com>
21936
21937 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21938
12d2f0a1
DJ
219392003-01-14 Daniel Jacobowitz <drow@mvista.com>
21940
21941 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21942 dates.
21943
6ca37014
DJ
219442003-01-13 Daniel Jacobowitz <drow@mvista.com>
21945
21946 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21947
b0023472
DJ
219482003-01-13 Daniel Jacobowitz <drow@mvista.com>
21949
21950 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21951 (ptype &*"foo").
21952 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21953
607fbc54 219542003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
21955
21956 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21957 * gdb.mi/mi1-console.exp: Likewise.
21958
607fbc54 219592003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
21960
21961 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21962 * gdb.mi/mi1-console.exp: Likewise.
21963
a1fb14a2
DJ
219642003-01-13 Daniel Jacobowitz <drow@mvista.com>
21965
21966 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21967
c4cf40b7
DJ
219682003-01-09 Daniel Jacobowitz <drow@mvista.com>
21969
21970 * gdb.base/detach.exp: New test.
21971
696d5a5b
DJ
219722003-01-09 Daniel Jacobowitz <drow@mvista.com>
21973
21974 * Makefile.in (ALL_SUBDIRS): New variable.
21975 (subdirs, clean, distclean): Use it.
21976 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21977 regenerating Makefile, since it is generated from the top level.
21978 * gdb.asm/Makefile.in: Likewise.
21979 * gdb.base/Makefile.in: Likewise.
21980 * gdb.c++/Makefile.in: Likewise.
21981 * gdb.disasm/Makefile.in: Likewise.
21982 * gdb.java/Makefile.in: Likewise.
21983 * gdb.mi/Makefile.in: Likewise.
21984 * gdb.threads/Makefile.in: Likewise.
21985 * gdb.trace/Makefile.in: Likewise.
21986
754533e4
DC
219872003-01-09 David Carlton <carlton@math.stanford.edu>
21988
21989 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21990 Add copyright year 2003.
21991
d8b3e9ee
MC
219922003-01-06 Michael Chastain <mec@shout.net>
21993
21994 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21995 When selecting a thread, 'line' and 'file' are optional.
21996 * gdb.mi/mi1-pthreads.exp: Likewise.
21997
8e9e0fe6
AS
219982003-01-06 Andreas Schwab <schwab@suse.de>
21999
22000 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22001 failures.
22002
b5ab8ff3
DJ
220032003-01-04 Daniel Jacobowitz <drow@mvista.com>
22004
22005 Fix PR gdb/844
22006 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22007 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22008
22009 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22010 instead of calling gdb_suppress_entire_file.
22011 * gdb.threads/print-threads.exp: Likewise.
22012 * gdb.threads/schedlock.exp: Likewise.
22013
22014 * gdb.threads/killed.exp: Return instead of calling
22015 gdb_suppress_entire_file.
22016 * gdb.threads/linux-dp.exp: Likewise.
22017 * gdb.threads/pthreads.exp: Likewise.
22018
1e698235
DJ
220192003-01-04 Daniel Jacobowitz <drow@mvista.com>
22020
22021 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22022 stabs.
22023 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22024 * gdb.base/whatis.exp: Always allow (void) after function names.
22025
147ff08c
DJ
220262003-01-04 Daniel Jacobowitz <drow@mvista.com>
22027
22028 * gdb.c++/casts.exp: Correct regexp.
22029
dc62bfc2
MK
220302003-01-04 Mark Kettenis <kettenis@gnu.org>
22031
22032 * configure.in: Call AC_CONFIG_HEADER. Don't call
22033 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22034 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22035 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22036 aforementioned directories in the AC_OUPUT call.
22037 * config.hin: New file.
22038 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22039 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22040 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22041 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22042 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22043 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22044 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22045 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22046 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22047 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22048 gdb.threads/configure.in, gdb.threads/configure,
22049 gdb.threads/config.in, gdb.trace/configure.in,
22050 gdb.trace/configure: Removed.
22051
77afa639
MC
220522003-01-03 Michael Chastain <mec@shout.net>
22053
22054 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22055 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22056
7634bb6e
DJ
220572003-01-03 Daniel Jacobowitz <drow@mvista.com>
22058
22059 * gdb.base/store.exp: Fix regular expressions.
22060
b39c905e
MK
220612002-12-28 Mark Kettenis <kettenis@gnu.org>
22062
22063 * configure.in: Rewrite.
22064 * configure: Regenerated.
22065
0a8551dd
DC
220662003-01-03 David Carlton <carlton@math.stanford.edu>
22067
22068 * gdb.base/psymtab.exp: New file.
22069 * gdb.base/psymtab1.c: Ditto.
22070 * gdb.base/psymtab2.c: Ditto.
22071
c60b7188
AF
220722002-12-23 Adam Fedor <fedor@gnu.org>
22073
22074 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22075
ee73db83
DC
220762002-12-23 David Carlton <carlton@math.stanford.edu>
22077
22078 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22079 and current_directory initialization.
22080
d6c1774e
JB
220812002-12-22 Jim Blandy <jimb@redhat.com>
22082
f0a847b8
JB
22083 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22084 rather than as part of the output file name.
22085
d6c1774e
JB
22086 * gdb.base/attach.exp: There's no need to copy the test program to
22087 /tmp; that was only ever necessary on HP/UX, and this test is
22088 entirely disabled there anyway.
22089
f0708dbb
JB
220902002-12-21 Jim Blandy <jimb@redhat.com>
22091
4c2acfea
JB
22092 * gdb.c++/psmang.exp: Doc fix.
22093
f0708dbb
JB
22094 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22095 test.
22096
9579e000
DC
220972002-12-20 David Carlton <carlton@math.stanford.edu>
22098
22099 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22100
d1810171
MC
221012002-12-18 Michael Chastain <mec@shout.net>
22102
22103 * gdb.c++/annota2.exp: Add copyright year 2002.
22104
76565097
DC
221052002-12-17 David Carlton <carlton@math.stanford.edu>
22106
22107 * gdb.c++/try_catch.cc: Add marker comments.
22108 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22109 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22110 * gdb.c++/m-static.cc: Ditto.
22111 * gdb.c++/m-static1.cc: Ditto.
22112 * gdb.c++/try_catch.cc: Ditto.
22113
da81390b
JJ
221142002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22115
22116 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22117 to see whether we are using the new -environment-directory
22118 command which resets via -r or the old version of the command
22119 which may prompt the user. Part of fix for gdb/741.
22120
b304d130
AC
221212002-12-13 Andrew Cagney <ac131313@redhat.com>
22122
22123 * gdb.fortran/types.exp: Update obsolete comment.
22124 * gdb.fortran/exprs.exp: Ditto.
22125 * lib/gdb.exp: Delete obsolete code.
22126 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22127 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22128 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22129 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22130 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22131 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22132 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22133 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22134 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22135 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22136 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22137 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22138 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22139 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22140 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22141 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22142 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22143 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22144 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22145 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22146 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22147 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22148 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22149 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22150 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22151 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22152 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22153 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22154 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22155 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22156 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22157 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22158 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22159 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22160 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22161 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22162 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22163
a23b6e6a
DC
221642002-12-11 David Carlton <carlton@math.stanford.edu>
22165
22166 * gdb.c++/m-data.exp: Add test for members that shadow global
22167 variables: see PR gdb/804.
22168 * gdb.c++/m-data.cc: Ditto.
22169
6604731b
DJ
221702002-12-10 Daniel Jacobowitz <drow@mvista.com>
22171
22172 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22173
de46ecd7
DC
221742002-12-06 David Carlton <carlton@math.stanford.edu>
22175
22176 * gdb.base/store.c: Don't declare functions static.
22177
27e829d0
AC
221782002-12-04 Andrew Cagney <ac131313@redhat.com>
22179
22180 * gdb.base/store.exp, gdb.base/store.c: New files.
22181
92806416
DJ
221822002-12-03 Daniel Jacobowitz <drow@mvista.com>
22183
22184 * gdb.base/selftest.exp: Update for current gdb.
22185
3bcbaac5
DJ
221862002-12-03 Daniel Jacobowitz <drow@mvista.com>
22187
22188 * gdb.base/maint.exp: Only dump symbols from one source file
22189 or objfile.
22190
f4f00b1f
DJ
221912002-12-03 Daniel Jacobowitz <drow@mvista.com>
22192
22193 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22194 function call.
22195
f1c8a949
JB
221962002-11-25 Jim Blandy <jimb@redhat.com>
22197
22198 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22199 function appearing in error message.
22200
9e297a97
DJ
222012002-11-21 Daniel Jacobowitz <drow@mvista.com>
22202
22203 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22204
1f312e79
JJ
222052002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22206
d63a86f8
RM
22207 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22208 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
22209 should be in mi console format. This is part of fix for PR gdb/604.
22210
83c31e7d
FN
222112002-09-18 Fernando Nasser <fnasser@redhat.com>
22212
22213 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22214 which explicitly prints the zero offset as "+0".
22215
322b3f65
DJ
222162002-10-22 Daniel Jacobowitz <drow@mvista.com>
22217
22218 * gdb.threads/schedlock.c (args): Make unsigned.
22219
222202002-10-21 Daniel Jacobowitz <drow@mvista.com>
22221
22222 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22223 numbers. Allow "foo2|selected stack frame".
22224 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22225 * gdb.asm/asmsrc2.s: Likewise.
22226 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
22227 comments.
22228 * gdb.asm/mips.inc: New file.
22229
5e2fe5b8
AF
222302002-10-18 Adam Fedor <fedor@gnu.org>
22231
22232 * gdb.base/default.exp: Update expected output to include 'ObjC'.
22233 * gdb.base/help.exp: Likewise.
22234
abe1a5d0
KB
222352002-10-17 Kevin Buettner <kevinb@redhat.com>
22236
22237 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22238 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22239
10abb1d4
JB
222402002-10-02 Jim Blandy <jimb@redhat.com>
22241
22242 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22243
1f609b42
AC
222442002-10-01 Andrew Cagney <ac131313@redhat.com>
22245
22246 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22247 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22248 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22249 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22250 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22251 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22252 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22253
0aee02e4
AC
222542002-09-29 Andrew Cagney <ac131313@redhat.com>
22255
22256 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
22257 * mi0-disassemble.exp, mi0-eval.exp: Delete.
22258 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
22259 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
22260 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
22261 * mi0-var-block.exp, mi0-var-child.exp: Delete.
22262 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 22263
6fde09ad
KB
222642002-09-27 Kevin Buettner <kevinb@redhat.com>
22265
22266 * gdb.base/annota1.exp (info break): Make directory components of
22267 path optional since not all compilers emit this debug information.
22268
889bf7c5
PA
22269 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
22270 step ends up stepping out of the function instead of stopping on
22271 the epilogue.
6fde09ad 22272
9e8aab75
KS
222732002-09-26 Keith Seitz <keiths@redhat.com>
22274
22275 * lib/insight-support.exp (gdbtk_start): Figure out where
22276 the insight executable is based on where gdb is. Use this
22277 executable to start insight instead of gdb.
22278
e36180d7
AC
222792002-09-25 Andrew Cagney <cagney@redhat.com>
22280
22281 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
22282
9dd34b2b
AC
222832002-09-24 Andrew Cagney <ac131313@redhat.com>
22284
22285 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
22286 test_isolated_complaints.
22287 (test_empty_complaint): New function.
22288 (test_empty_complaints): New function. Check no output when no
22289 complaints.
d63a86f8 22290
dea97812
KB
222912002-09-19 Jim Blandy <jimb@redhat.com>
22292
a9c64011 22293 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 22294
54951bd7
AC
222952002-09-19 Andrew Cagney <ac131313@redhat.com>
22296
22297 * gdb.gdb/complaints.exp: New file.
22298
dec43320
AC
222992002-09-18 Andrew Cagney <ac131313@redhat.com>
22300
22301 * gdb.base/maint.exp: Check `help maint internal-warning'.
22302
e70d6e3f
DC
223032002-09-18 David Carlton <carlton@math.stanford.edu>
22304
22305 * gdb.c++/m-static.exp: Remove breakpoints depending on line
22306 numbers, and replace them by a single breakpoint after the
22307 constructors are all finished.
22308 Add test 4.
22309 * gdb.c++/m-static.cc: Add test 4.
22310 * gdb.c++/m-static.h: New file.
22311 * gdb.c++/m-static1.cc: New file.
22312
22313 * gdb.c++/printmethod.exp: New file.
22314 * gdb.c++/printmethod.cc: New file.
22315
22316 * gdb.c++/pr-574.exp: New file.
22317 * gdb.c++/pr-574.cc: New file.
22318
afb5c968
CV
223192002-09-18 Corinna Vinschen <vinschen@redhat.com>
22320
22321 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
22322 embedded targets which never actually exit.
22323
31e45dee
FN
223242002-09-18 Fernando Nasser <fnasser@redhat.com>
22325
22326 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
22327 "don't step after run" as unresolved or unsupported, instead of xfail.
22328
a283c5a1
CV
223292002-09-18 Corinna Vinschen <vinschen@redhat.com>
22330
22331 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
22332 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
22333 Add newline to expected string in "step out of main (status wrapper)"
22334 case.
22335
11350d2a
CV
223362002-09-18 Corinna Vinschen <vinschen@redhat.com>
22337
22338 * lib/gdb.exp (rerun_to_main): Allow restarting application.
22339 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
22340
0deec7d6
TT
223412002-09-17 Tom Tromey <tromey@redhat.com>
22342
22343 * gdb.base/printcmds.exp (test_print_string_constants): Expect
22344 \000, not \0, in double-quoted string.
22345
b2b4a1b5
CV
223462002-09-14 Corinna Vinschen <vinschen@redhat.com>
22347
c9d37158 22348 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
22349 string after running the commands execution on breakpoint tests.
22350
1c56143a
CV
223512002-09-13 Corinna Vinschen <vinschen@redhat.com>
22352
22353 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
22354
37f8da45
JB
223552002-09-12 Joel Brobecker <brobecker@gnat.com>
22356
22357 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
22358
08b468e0
KS
223592002-09-10 Keith Seitz <keiths@redhat.com>
22360
22361 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
22362 runto proc.
22363 (mi_run_to_main): Use mi_runto.
22364 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
22365
dc360f58
KS
223662002-09-10 Keith Seitz <keiths@redhat.com>
22367
22368 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
22369 regexp for stopping at main. Could have multiple event notifications.
22370 Don't assume that main was declared with no parameters.
22371 (mi_next): Use mi_step_to.
22372 (mi_step): Use mi_next_to.
22373
ce3abcfb
CV
223742002-09-09 Corinna Vinschen <vinschen@redhat.com>
22375
22376 * gdb.base/default.exp: Fix expected string in `info float' test.
22377
d1f5b980
BE
223782002-09-09 Ben Elliston <bje@redhat.com>
22379
22380 * config/mips.exp: Update comments.
22381 * config/mips-idt.exp: Likewise.
22382 * config/nind.exp: Likewise.
22383 * config/slite.exp: Likewise.
22384 * config/sparclet.exp: Likewise.
22385 * config/udi.exp: Likewise.
22386 * config/vx.exp: Likewise.
22387 * config/vxworks29k.exp: Likewise.
22388
2f71430b
JB
223892002-09-05 Jim Blandy <jimb@redhat.com>
22390
22391 * gdb.threads/killed.exp: Fix test failure message.
22392
7ddebc7e
KS
223932002-09-04 Keith Seitz <keiths@redhat.com>
22394
22395 * lib/mi-support.exp: Update copyright.
22396 (mi_gdb_test): Increase the priority of the expected pattern
22397 so that it matches gdb_test.
22398
0ae67eb3
KS
223992002-09-03 Keith Seitz <keiths@redhat.com>
22400
22401 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
22402 Use integer comparison instead of string comparison for testing
22403 whether binary was built.
22404
38fc42c8
JB
224052002-09-03 Jim Blandy <jimb@redhat.com>
22406
22407 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
22408
b6ff0e81
JB
224092002-08-29 Jim Blandy <jimb@redhat.com>
22410
22411 * gdb.threads/pthreads.exp: Move the portable thread compilation
22412 code into a function in lib/gdb.exp, and call that from here.
22413 * lib/gdb.exp (gdb_compile_pthreads): New function.
22414
07c98896
KS
224152002-08-29 Keith Seitz <keiths@redhat.com>
22416
22417 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
22418 expect_out so that callers can get at it.
22419
0312286c
DJ
224202002-08-23 Daniel Jacobowitz <drow@mvista.com>
22421
22422 * gdb.threads/print-threads.c: New file.
22423 * gdb.threads/print-threads.exp: New file.
22424 * gdb.threads/schedlock.c: New file.
22425 * gdb.threads/schedlock.exp: New file.
22426
dd039bc4
EZ
224272002-08-22 Elena Zannoni <ezannoni@redhat.com>
22428
a9c64011
AS
22429 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
22430 not altivec.c.
dd039bc4 22431
1f36144c
MK
224322002-08-17 Mark Kettenis <kettenis@gnu.org>
22433
22434 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
22435 targets. The problem should be fixed now.
22436
16057ec7 224372002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
22438
22439 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
22440 2002-07-24 change that removes final dots from error messages.
22441
3c1499ad
TT
224422002-08-13 Tom Tromey <tromey@redhat.com>
22443
22444 * gdb.base/readline.exp: New file.
22445
a20ce2c3
AC
224462002-08-01 Andrew Cagney <ac131313@redhat.com>
22447
22448 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
22449 supress message.
22450
db034ac5
AC
224512002-08-01 Andrew Cagney <cagney@redhat.com>
22452
22453 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
22454 CHILL_FOR_TARGET and CHILL_LIB.
22455 * configure.in (configdirs): Remove gdb.chill.
22456 * configure: Regenerate.
22457 * lib/gdb.exp: Obsolete references to chill.
22458 * gdb.fortran/types.exp: Ditto.
22459 * gdb.fortran/exprs.exp: Ditto.
22460
3e000b18
KB
224612002-07-30 Kevin Buettner <kevinb@redhat.com>
22462
22463 * gdb.base/shlib-call.exp (additional_flags): Conditionally
22464 set Irix-specific compile and link flags.
22465
28f4966b
KB
224662002-07-29 Kevin Buettner <kevinb@redhat.com>
22467
22468 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
22469 source files. The ``-o'' option doesn't work with the ``-E'' option
22470 when using the Irix compiler.
22471
46c0d5a6
DJ
224722002-07-19 Daniel Jacobowitz <drow@mvista.com>
22473
22474 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
22475 Improve support for reusing an exec file. Copy exec file
22476 to target, and run gdbserver on the target instead of on the host.
22477
eecf4bed
JB
224782002-07-18 Jim Blandy <jimb@redhat.com>
22479
0f815cdf
JB
22480 * gdb.base/ending-run.exp: Don't expect to see the program end in
22481 some orderly fashion when we're running on a real stand-alone
22482 board.
22483
eecf4bed
JB
22484 * gdb.base/interrupt.exp: Correct logic for skipping tests on
22485 targets that don't support interrupts.
22486
52d309e4
JB
224872002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
22488
22489 * gdb.base/attach.exp: Add patterns to match output from /proc-based
22490 systems.
22491 Move comments in expect statements to inside the actions, so that they
22492 don't get matched against.
22493
ff683d9e
MK
224942002-07-10 Mark Kettenis <kettenis@gnu.org>
22495
22496 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
22497 function when asleep" test.
22498
b5356753
AC
224992002-07-10 Andrew Cagney <ac131313@redhat.com>
22500
22501 * gdb.base/page.exp: Rewrite to handle problems with very long
22502 `info set' output. Update copyright.
22503
6aa4d13a
AC
225042002-06-26 Andrew Cagney <ac131313@redhat.com>
22505
22506 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
22507 gdb.threads-hp.
22508 * gdb.hp/configure: Regenerate.
22509 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
22510 * gdb.hp/gdb.threads-hp/configure: Delete file.
22511 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
22512
8cf8c2b8
AC
225132002-06-22 Andrew Cagney <ac131313@redhat.com>
22514
22515 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
22516 setlocale, bindtextdomain and textdomain.
22517
6827a8f8
JB
225182002-06-11 Jim Blandy <jimb@redhat.com>
22519
919d772c
JB
22520 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
22521 preprocessor macro information is present.
22522
6827a8f8
JB
22523 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
22524 tests.
22525
c15b0d21
MS
225262002-06-06 Michael Snyder <msnyder@redhat.com>
22527
c5984d70
MS
22528 * gdb.base/overlays.exp: Record addresses of overlay
22529 functions in TCL variables rather than in GDB variables,
22530 to avoid having GDB convert them to pointers (with loss
22531 of information).
22532
d63a86f8 22533 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 22534 default linker script changes.
c15b0d21
MS
22535 * gdb.base/long_long.exp: Add check for sizeof (long double).
22536
be26fe0d
ML
225372002-06-06 Michal Ludvig <mludvig@suse.cz>
22538
22539 * gdb.asm/asm-source.exp: Add x86-64 target.
22540 * gdb.asm/x86_64.inc: New.
d63a86f8 22541
258093ca 225422002-05-30 Michael Chastain <mec@shout.net>
258093ca 22543
4b3153f1 22544 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
22545 * gdb.c++/m-static.cc: New file.
22546 * gdb.c++/m-static.exp: New file.
22547
241264c6
MS
225482002-05-28 Michael Snyder <msnyder@redhat.com>
22549
22550 * gdb.base/call-ar-st.exp: Allow for reduced floating point
22551 precision.
22552
9bba8c8f 225532002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 22554
4b3153f1 22555 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
22556 * gdb.c++/m-data.cc: New file.
22557 * gdb.c++/m-data.exp: New file.
22558
225592002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 22560
4b3153f1 22561 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 22562 * gdb.c++/try_catch.cc: New file.
d63a86f8 22563 * gdb.c++/try_catch.exp: New file.
9bba8c8f 22564
def1b996
MC
225652002-05-27 Michael Chastain <mec@shout.net>
22566
22567 * gdb.c++/local.exp: Accept more nested types in output.
22568
522ba268
MC
225692002-05-26 Michael Chastain <mec@shout.net>
22570
22571 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22572
277254ba
MS
225732002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
22574
22575 * lib/gdb.exp (gdb_wrapper_init): Just because
22576 gdb_wrapper_file exists, this does not mean that the file
22577 should not be rebuilt. That is what gdb_wrapper_initialized
22578 is for.
22579 (default_gdb_init): Reset gdb_wrapper_initialized.
22580
b61a8733
MS
225812002-05-23 Michael Snyder <msnyder@redhat.com>
22582
d63a86f8 22583 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
22584 the precision of the floating point test results.
22585 * gdb.base/call-rt-st.exp: Ditto.
22586
b61a8733
MS
22587 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22588 * gdb.base/call-rt-st.exp: Ditto.
22589
56f6e910
MC
225902002-05-19 Michael Chastain <mec@shout.net>
22591
22592 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22593
ad0b0016
EZ
225942002-05-19 Elena Zannoni <ezannoni@redhat.com>
22595
a9c64011
AS
22596 * configure.in (configdirs): Add gdb.arch.
22597 * configure: Regenerate.
ad0b0016 22598
f617d2b6
JB
225992002-05-17 Jim Blandy <jimb@redhat.com>
22600
22601 * gdb.base/completion.exp: Recognize the more detailed error
22602 messages produced by the macro expander's lexical analyzer.
22603
eac2a696
EZ
226042002-05-14 Elena Zannoni <ezannoni@redhat.com>
22605
a9c64011
AS
22606 * gdb.arch/altivec-abi.c: New file.
22607 * gdb.arch/altivec-abi.exp: New file.
22608 * gdb.arch/altivec-regs.c: New file.
22609 * gdb.arch/altivec-regs.exp: New file.
eac2a696 22610
2fdde8f8
DJ
226112002-05-14 Daniel Jacobowitz <drow@mvista.com>
22612
22613 * gdb.base/maint.exp (maint print type): Update for new type
22614 structure.
d63a86f8 22615
e31f1a7c
EZ
226162002-05-14 Elena Zannoni <ezannoni@redhat.com>
22617
22618 * gdb.arch: New directory.
22619 * gdb.arch/configure.in: New file.
22620 * gdb.arch/configure: New file.
22621 * gdb.arch/Makefile.in: New file.
22622
db589741
CV
226232002-05-13 Corinna Vinschen <vinschen@redhat.com>
22624
22625 * gdb.asm/asm-source.exp: Add v850 as supported target.
22626 * gdb.asm/v850.inc: New file.
22627
8ce2a7dc
DJ
226282002-05-13 Daniel Jacobowitz <drow@mvista.com>
22629
22630 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22631
df763c7f
DJ
226322002-05-12 Daniel Jacobowitz <drow@mvista.com>
22633
22634 * gdb.base/break.exp: Check 'break "marker2"'.
22635
377daeed
MS
226362002-05-10 Michael Snyder <msnyder@redhat.com>
22637
22638 * gdb.base/long_long.exp: Fix typo.
22639
c4b7bc2b
JB
226402002-05-10 Jim Blandy <jimb@redhat.com>
22641
ecac9a4e
JB
22642 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22643 a bug.
22644
c4b7bc2b
JB
22645 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22646 Recognize more detailed error message produced by the macro
22647 expander's lexical analyzer.
22648 * lib/gdb.exp (test_print_reject): Same.
22649
e71019a1
MK
226502002-05-09 Mark Kettenis <kettenis@gnu.org>
22651
22652 * gdb.c++/method.exp: Fix typo.
22653
fedfc8e6
MS
226542002-05-08 Michael Snyder <msnyder@redhat.com>
22655
166a1957
MS
22656 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22657 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 22658 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
22659 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22660 Add iftarget clause for strongarm.
d63a86f8 22661
f1c47eb2
MS
226622002-05-06 Michael Snyder <msnyder@redhat.com>
22663
cb9a9d3e
MS
22664 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22665 (gdb_continue_to_end): Accept output from status wrapper.
22666 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22667 Clean up fail messages to match pass messages.
22668
f1c47eb2
MS
22669 Enable the "needs_status_wrapper" testsuite feature.
22670 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22671 (gdb_compile): Conditionally call gdb_wrapper_init.
22672 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22673 * gdb.c++/method.exp: Recognize output from status wrapper.
22674
6079c749
BE
226752002-05-06 Ben Elliston <bje@redhat.com>
22676From Graydon Hoare <graydon@redhat.com>
22677
22678 * config/sid.exp: Include support for "rawsid" protocol.
22679
188baff3
JB
226802002-05-03 Jim Blandy <jimb@redhat.com>
22681
22682 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22683 * gdb.c++/hang3.C: New file.
22684
b9c07f0f
AC
226852002-05-04 Andrew Cagney <ac131313@redhat.com>
22686
22687 * gdb.base/default.exp: Remove obsolete code.
22688 * gdb.c++/misc.exp: Ditto. Update copyright.
22689 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22690 * gdb.base/whatis.exp: Ditto. Update copyright.
22691 * gdb.base/scope.exp: Ditto. Update copyright.
22692 * gdb.base/ptype.exp: Ditto. Update copyright.
22693 * gdb.base/printcmds.exp: Ditto. Update copyright.
22694 * gdb.base/opaque.exp: Ditto. Update copyright.
22695 * gdb.base/list.exp: Ditto.
22696 * gdb.base/funcargs.exp: Ditto. Update copyright.
22697 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22698 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22699 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22700 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22701 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22702 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22703
5c7a0397
MS
227042002-05-02 Michael Snyder <msnyder@redhat.com>
22705
d6dcc264 22706 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
22707 * gdb.base/long_long.exp: Add xscale target.
22708 * gdb.base/default.exp: Add xscale target.
22709
eb7f1c48
JB
227102002-05-01 Jim Blandy <jimb@redhat.com>
22711
22712 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22713 gdb.c++/hang.exp: New test.
22714
a6befae8
FF
227152002-05-01 Fred Fish <fnf@redhat.com>
22716
22717 * gdb.base/completion.exp: Handle completions of "./Make" for
22718 more than one completion possibility, as is the case when we
22719 build and test in the source tree.
22720
0a310277
AG
227212002-04-29 Anthony Green <green@redhat.com>
22722
22723 * gdb.java/jmisc1.exp: New file.
22724 * gdb.java/jmisc2.exp: New file.
22725
6ff9af88
DJ
227262002-04-24 Daniel Jacobowitz <drow@mvista.com>
22727
22728 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22729
96b3d632
EZ
227302002-04-23 Elena Zannoni <ezannoni@redhat.com>
22731
22732 * gdb.base/help.exp: Change 'help status' to allow for target
22733 dependent output differences.
22734
5019bb54
MC
227352002-04-22 Michael Chastain <mec@shout.net>
22736
22737 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22738
a805a116
MC
227392002-04-22 Michael Chastain <mec@shout.net>
22740
22741 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22742
a1706bfd
DM
227432002-04-17 David S. Miller <davem@redhat.com>
22744
22745 * gdb.asm/sparc64.inc: New file.
22746 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22747
a73a20a2
EZ
227482002-04-19 Elena Zannoni <ezannoni@redhat.com>
22749
22750 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22751 instruction file directly into the build tree. Clean up at end of
22752 test.
22753
ba678339
DM
227542002-04-18 David S. Miller <davem@redhat.com>
22755
22756 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22757 handle 64-bit platforms correctly.
22758 * gdb.base/maint.exp: Likewise.
22759
b03399da
KB
227602002-04-18 Kevin Buettner <kevinb@redhat.com>
22761
22762 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22763 ``-fpic'' when compiling files comprising a shared library, but
22764 it does need additional linker flags in order to find shared
22765 libraries at run time.
22766
e2004992
KB
227672002-04-18 Kevin Buettner <kevinb@redhat.com>
22768
22769 * gdb.base/cvexpr.c (use): New function.
22770 (main): Invoke use() on all global variables to prevent
22771 some linkers from deleting these otherwise unused symbols.
22772
d8937120
MC
227732002-04-17 Michael Chastain <mec@shout.net>
22774From David S. Miller <davem@redhat.com>
22775
22776 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22777 handle 64-bit platforms correctly.
22778
ffd61a58
MS
227792002-04-12 Michael Snyder <msnyder@redhat.com>
22780From Jim Blandy <jimb@redhat.com>
a9c64011 22781 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
22782 script can handle this instead.
22783 * gdb.base/bar.c (barx): Same.
22784 * gdb.base/baz.c (bazx): Same.
22785 * gdb.base/grbx.c (grbxx): Same.
22786
22787 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22788 manager doesn't automatically unmap overlays unnecessarily.
22789
6b8426a6
MH
227902002-04-10 Martin M. Hunt <hunt@redhat.com>
22791
22792 * gdb.base/ending-run.exp: Fix pattern for Mips targets
22793 stepping out of main.
22794
34af4875
MC
227952002-04-09 Michael Chastain <mec@shout.net>
22796
22797 * gdb.c++/local.cc (main): Move call to marker1() inside nested
22798 scope so that the nested scope tests will make sense.
22799 * gdb.c++/local.exp: Write patterns that actually work with gcc
22800 (the HP patterns "were never known to work with gcc").
22801 Keep the old aCC patterns too.
22802
2d1676a0
DJ
228032002-04-09 Daniel Jacobowitz <drow@mvista.com>
22804
22805 * gdb.base/attach.exp: Correct target board test.
22806
3a63e3f9
MC
228072002-04-08 Michael Chastain <mec@shout.net>
22808
22809 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22810 in a const method. Add some xfail and fail cases for configurations
22811 that do not emit the "const ...".
22812
f18dabd2
MC
228132002-04-07 Michael Chastain <mec@shout.net>
22814
22815 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22816 Accept "A * const" and "const A * const" as type of "this".
22817 Fix spelling of getFunky throughout. Make messages uniform.
22818
0fcddd82
EZ
228192002-04-07 Elena Zannoni <ezannoni@redhat.com>
22820
a9c64011 22821 Work around for PR gdb/285:
0fcddd82
EZ
22822 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22823
16a8534a
EZ
228242002-04-07 Elena Zannoni <ezannoni@redhat.com>
22825
22826 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22827 instructions file at run time instead of configure time.
22828 Sometimes we run the test in a directory that is not the one we
22829 configured in.
22830 * gdb.asm/configure.in: Delete creation of symlink.
22831 * gdb.asm/configure: Regenerate.
22832
24181d81
JB
228332002-04-05 J. Brobecker <brobecker@gnat.com>
22834
22835 * gdb.gdb/xfullpath.exp: New test, to exercise the new
22836 xfullpath () function.
22837
7cdb7107
DJ
228382002-04-04 Daniel Jacobowitz <drow@mvista.com>
22839
22840 * gdb.asm/Makefile.in: Correct dependencies.
22841
22842 * gdb.asm/powerpc.inc: New file.
22843 * gdb.asm/asm-source.exp: Add PowerPC.
22844 * gdb.asm/configure.in: Likewise.
22845 * gdb.asm/configure: Regenerated.
22846
a7d17088
DJ
228472002-04-04 Daniel Jacobowitz <drow@mvista.com>
22848
22849 * gdb.base/relocate.exp: New file.
22850 * gdb.base/relocate.c: New file.
22851
cd721503
FF
228522002-04-04 Fred Fish <fnf@redhat.com>
22853
22854 * gdb.base/step-test.exp: Update comment regarding stopping in
22855 memcpy/bcopy calls inserted as part of the compiler runtime.
22856
b22ad7a7
MS
228572002-04-04 Michael Snyder <msnyder@redhat.com>
22858
22859 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22860
5f279fa6
DJ
228612002-04-03 Daniel Jacobowitz <drow@mvista.com>
22862
22863 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22864 (gdb_expect): Remove $notransfer hack.
22865
dd0fd3ce
DJ
228662002-04-02 Daniel Jacobowitz <drow@mvista.com>
22867
22868 * gdb.c++/classes.exp ("calling method for small class"): Match
22869 updated register output.
22870
1e50cda1
DJ
228712002-03-30 Daniel Jacobowitz <drow@mvista.com>
22872
22873 Fix PR gdb/452
22874 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22875 when finished. Make gdb_file_cmd send "exec-file" when
22876 appropriate.
22877
24015922
DJ
228782002-03-30 Daniel Jacobowitz <drow@mvista.com>
22879
22880 * gdb.base/attach.exp: Remove extra setup_xfail.
22881
dd7dfd64
MS
228822002-03-26 Michael Snyder <msnyder@redhat.com>
22883
22884 * gdb.base/default.exp: Add tests for dump, append, and restore.
22885 * gdb.base/help.exp: Add tests for dump, append, and restore.
22886 * gdb.base/dump.exp: New file, test dump, append and restore.
22887 * gdb.base/dump.c: New file.
22888
48b2f8d7
MS
228892002-03-27 Michael Snyder <msnyder@redhat.com>
22890
d63a86f8 22891 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
22892 clean-ups in help messages.
22893
05b4d525
FF
228942002-03-26 Fred Fish <fnf@redhat.com>
22895
22896 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22897 have debugging info for those functions and the compiler uses them
22898 internally to copy structs around.
22899
d7679631
FF
229002002-03-26 Fred Fish <fnf@redhat.com>
22901
22902 * gdb.base/list.exp: Revert the change made yesterday and add note
22903 about why we don't list the default lines for remote targets.
22904
523ac3f9
MS
229052002-03-25 Michael Snyder <msnyder@redhat.com>
22906
22907 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22908
754b2b8d
FF
229092002-03-25 Fred Fish <fnf@redhat.com>
22910
22911 * gdb.base/list.exp: This test works on remote targets so remove
22912 the short circuit for remote targets. Update copyright.
22913
33c3e192
FF
229142002-03-25 Fred Fish <fnf@redhat.com>
22915
22916 * gdb.base/attach.exp: Fix logic error that was suppressing this
22917 test for all non hppa*-*-hpux* targets, instead of the hp target.
22918 Move comments closer to the suppression point. Also now need to
22919 check that we are running natively.
22920
d43e73ee
MS
229212002-03-22 Michael Snyder <msnyder@redhat.com>
22922
882c8f02
MS
22923 * gdb.base/default.exp: Add test for gcore. Update copyright.
22924 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 22925
04c12f60
FF
229262002-03-06 Fred Fish <fnf@redhat.com>
22927
22928 * gdb.base/funcargs.c: Remove extraneous ';' character.
22929 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22930
b43df995
MC
229312002-03-04 Michael Chastain <mec@shout.net>
22932
22933 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22934 accommodate gcc v3 function signature.
22935 * gdb.mi/mi0-var-cmd-exp: Ditto.
22936
92362027
AC
229372002-02-24 Andrew Cagney <ac131313@redhat.com>
22938
22939 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22940 ``GNU/Linux'' or ``Linux kernel''
22941 * testsuite/gdb.threads/pthreads.c: Ditto.
22942
258ad32d
MC
229432002-02-24 Michael Chastain <mec@shout.net>
22944
22945 * gdb.threads/pthreads.c (thread1): Add a return statement.
22946 (thread2): Likewise.
22947 (foo): Likewise.
22948
04c3b3d4
MC
229492002-02-23 Michael Chastain <mec@shout.net>
22950
22951 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22952 to placate gcc.
22953
5a2a0a20
MC
229542002-02-23 Michael Chastain <mec@shout.net>
22955
22956 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22957 test "ptype bint". The test passes on all my stabs configurations.
22958
a640f7fc
JB
229592002-02-21 Jim Blandy <jimb@redhat.com>
22960
27924826
JB
22961 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22962 filename at a time, and watch for the ones we want to see.
22963
a640f7fc
JB
22964 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22965 types of pointers to prototyped functions.
22966
edcc8c75
AC
229672002-02-20 Andrew Cagney <ac131313@redhat.com>
22968
22969 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22970 signed, unsigned and straight char.
22971 (padding_char, padding_short, padding_int, padding_long,
22972 padding_long_long, padding_float, padding_double,
22973 padding_long_double): New global variables.
22974 (fill, fill_structs): New functions.
22975
22976 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22977 for correctly sized writes. Update copyright.
22978 (get_valueof): New procedure.
22979 (get_sizeof): Call get_valueof.
22980 (check_valueof): New procedure.
22981 (check_padding): New procedure.
22982
ac57ea44
MC
229832002-02-20 Michael Chastain <mec@shout.net>
22984
22985 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22986 to setup_xfail. Document some of the remaining calls.
22987
7a10c941
MC
229882002-02-18 Michael Chastain <mec@shout.net>
22989
22990 * gdb.c++/userdef.exp: Update copyright year.
22991
fb8acdcc
DJ
229922002-02-18 Daniel Jacobowitz <drow@mvista.com>
22993
22994 * gdb.c++/userdef.exp: Test overloaded operators properly.
22995 Remove xfails.
22996
fda6ae12
MS
229972002-02-14 Michael Snyder <msnyder@redhat.com>
22998
22999 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23000
676a0442
DJ
230012002-02-14 Daniel Jacobowitz <drow@mvista.com>
23002
23003 * gdb.base/a2-run.exp: Check for a remote target properly.
23004 * gdb.base/annota1.exp: Likewise.
23005 * gdb.base/list.exp: Likewise.
23006 * gdb.base/reread.exp: Likewise.
23007 * gdb.base/scope.exp: Likewise.
23008 * gdb.base/shlib-call.exp: Likewise.
23009 * gdb.base/term.exp: Likewise.
23010 * gdb.c++/annota2.exp: Likewise.
23011
78b4f468
RE
230122002-02-13 Richard Earnshaw <rearnsha@arm.com>
23013
23014 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23015
9a81ba51
MC
230162002-02-10 Michael Chastain <mec@shout.net>
23017
23018 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23019 (call_after_alloca): Ditto.
23020
004af6c7
DJ
230212002-02-10 Daniel Jacobowitz <drow@mvista.com>
23022
23023 * gdb.base/ending-run.exp: Guard "cont" test with
23024 gdb_skip_stdio_test.
23025
37225f62
JB
230262002-02-06 Jim Blandy <jimb@redhat.com>
23027
23028 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23029 from here...
23030 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23031 To here. Disable this test on non-HP platforms. Add big comment.
23032
fe6fdd96
MS
230332002-02-04 Michael Snyder <msnyder@redhat.com>
23034
23035 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23036 other than d10v and m32r.
23037
036fad3f
RE
230382002-02-02 Richard Earnshaw <rearnsha@arm.com>
23039
23040 * gdb.base/default.exp: Rewrite test patterns to reduce time
23041 taken to match them.
23042
7148ab62
DJ
230432002-01-30 Daniel Jacobowitz <drow@mvista.com>
23044
23045 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23046 Allow a start function above main.
23047 * gdb.threads/linux-dp.exp: Fix copyright date.
23048
396cc255
DJ
230492002-01-30 Daniel Jacobowitz <drow@mvista.com>
23050
a9c64011
AS
23051 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23052 (check_philosopher_stack): Check for manager thread before checking
23053 for a just-starting thread.
396cc255 23054
f038d31b
DJ
230552002-01-30 Daniel Jacobowitz <drow@mvista.com>
23056
23057 From Neil Booth <neil@daikokuya.demon.co.uk>:
23058 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23059 warnings.
23060
b3ff9d9a
FF
230612002-01-21 Fred Fish <fnf@redhat.com>
23062
23063 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23064 not caller.
23065
39ad761d
JB
230662002-01-21 Jim Blandy <jimb@redhat.com>
23067
23068 * gdb.base/reread.exp: Check that GDB properly re-reads the
23069 executable file when it changes while no inferior is running.
23070
aaf320fa
FF
230712002-01-21 Fred Fish <fnf@redhat.com>
23072
a9c64011
AS
23073 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23074 optionally accept the "shlib events" variation.
aaf320fa 23075
808a31f5
JB
230762002-01-21 Jim Blandy <jimb@redhat.com>
23077
23078 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23079 call `fflush' after every `printf', so that the output is produced
23080 at predictable points, regardless of whatever buffering does (or
23081 doesn't) take place.
23082 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23083 at different points.
23084
4420d5e2
DJ
230852002-01-20 Daniel Jacobowitz <drow@mvista.com>
23086
23087 * gdb.c++/inherit.exp: Update copyright years.
23088 * gdb.c++/method.exp: Likewise.
23089
3e36a0f4
DJ
230902002-01-20 Daniel Jacobowitz <drow@mvista.com>
23091
23092 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23093 artificial methods/arguments.
23094 * gdb.c++/derivation.exp: Likewise.
23095 * gdb.c++/inherit.exp: Likewise.
23096 * gdb.c++/method.exp: Likewise.
23097 * gdb.c++/virtfunc.exp: Likewise.
23098
b4ceaee6
AC
230992002-01-18 Andrew Cagney <ac131313@redhat.com>
23100
23101 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23102 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23103 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23104 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23105 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23106 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23107
ecace851
JB
231082002-01-17 Jim Blandy <jimb@redhat.com>
23109
23110 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23111 anchoring the pattern matching the entry point symbol's name.
23112
375fc983
AC
231132002-01-17 Andrew Cagney <ac131313@redhat.com>
23114
23115 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23116 continue/quit query. Update copyright.
23117
fe6fdd96
MS
231182002-01-14 Michael Snyder <msnyder@redhat.com>
23119
23120 * gdb.base/gcore.exp: Remove extra debugging output.
23121
e017c81f
DJ
231222002-01-13 Daniel Jacobowitz <drow@mvista.com>
23123
23124 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23125 for slightly dubious v2 mangled string.
23126
37ab3bf8
DJ
231272002-01-13 Daniel Jacobowitz <drow@mvista.com>
23128
23129 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23130
1bc05c3a 231312002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 23132
1bc05c3a 23133 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 23134
1bc05c3a
JM
23135 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23136 constructors.
23137 * gdb.c++/derivation.exp: Likewise.
23138 * gdb.c++/templates.exp: Likewise.
23139 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 23140
1bc05c3a
JM
231412002-01-10 Michael Snyder <msnyder@redhat.com>
23142
23143 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 23144
a911c360
MS
231452002-01-08 Michael Snyder <msnyder@redhat.com>
23146
23147 * gdb.base/gcore.exp: New test for generate-core-file command.
23148 * gdb.base/gcore.c: Testcase for above.
23149 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23150
ea2119ec
JM
231512002-01-08 Jason Merrill <jason@redhat.com>
23152
23153 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23154
68203136
FF
231552002-01-07 Fred Fish <fnf@redhat.com>
23156
23157 * gdb.c++/overload.exp: Remove unconditional xfails for:
23158 print foo_instance1.overloadargs(1)
23159 print foo_instance1.overloadargs(1, 2)
23160 print foo_instance1.overloadargs(1, 2, 3)
23161 print foo_instance1.overloadargs(1, 2, 3, 4)
23162 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23163 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23164 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23165 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23166 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23167 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23168 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23169 print foo_instance1.overload1arg()
23170 print foo_instance1.overload1arg((char)arg2)
23171 print foo_instance1.overload1arg((signed char)arg3)
23172 print foo_instance1.overload1arg((unsigned char)arg4)
23173 print foo_instance1.overload1arg((int)arg7)
23174 print foo_instance1.overload1arg((unsigned int)arg8)
23175 print foo_instance1.overload1arg((float)arg11)
23176 print foo_instance1.overload1arg((double)arg12)
d63a86f8 23177
21b9b5b1
MS
231782002-01-07 Michael Snyder <msnyder@redhat.com>
23179
23180 * gdb.base/huge.exp: New test. Print a very large target data object.
23181 (skip_huge_test): New test variable. Define if you want to skip this
23182 test. The test reads an 8 megabyte data object from the target, so it
23183 might be very time consuming on remote targets with a slow connection.
23184 * gdb.base/huge.c: New file. Test case for above.
23185
725f922e
FF
231862002-01-07 Fred Fish <fnf@redhat.com>
23187
23188 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23189 g_instance.bfoo, and g_instance.cfoo.
23190
889bf7c5 231912002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 23192
889bf7c5
PA
23193 * gdb.base/break.c (multi_line_if_conditional): New function.
23194 (multi_ilne_while_conditional): Likewise.
23195 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23196 IF or WHILE condition puts the breakpoint at the start of
23197 the condition.
f286b2c3 23198
634d57ec
JL
23199 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23200 hppa*-*-hpux* expected failure.
23201 * gdb.base/structs.exp (do_function_calls): Similarly.
23202
23203 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23204 watchpoints.
23205
9fbfe2dc
AC
232062002-01-06 Andrew Cagney <ac131313@redhat.com>
23207
23208 Fix PR gdb/66.
23209 * gdb.base/structs.exp: Replace skip for a29k with skip for
23210 gdb,cannot_call_functions.
23211 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23212 * gdb.base/callfuncs.exp: Ditto.
23213 * gdb.base/call-rt-st.exp: Ditto.
23214 * gdb.base/call-strs.exp: Ditto.
23215 * gdb.base/callfwmall.exp: Ditto.
23216 * gdb.base/scope.exp: Obsolete xfail a29k.
23217 * gdb.c++/misc.exp: Ditto.
23218 * gdb.c++/cplusfuncs.exp: Ditto.
23219 * gdb.base/ptype.exp: Ditto.
23220 * gdb.base/printcmds.exp: Ditto.
23221 * gdb.base/opaque.exp: Ditto.
23222 * gdb.base/list.exp: Ditto.
23223 * gdb.base/funcargs.exp: Ditto.
23224 * gdb.base/default.exp: Ditto.
23225
8ddad156
MS
232262002-01-04 Michael Snyder <msnyder@redhat.com>
23227
ca4976a6 23228 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
23229 * gdb.base/maint.exp: Add tests for maint info sections options.
23230
1b074332
JL
23231Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
23232
23233 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23234
7d159115
CV
232352001-12-20 Corinna Vinschen <vinschen@redhat.com>
23236
23237 * gdb.asm/arm.inc: New file.
23238 * gdb.asm/asm-source.exp: Add arm targets.
23239 * gdb.asm/configure.in: Ditto.
23240 * gdb.asm/configure: Recreated from configure.in.
23241
8fb87725
JL
23242Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
23243
afabe08c
JL
23244 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23245 with HP's compiler.
23246 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23247 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23248 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23249 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23250
23251 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23252 either HP's compilers or GCC.
23253
db521deb
JL
23254 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
23255 a SIGBUS or SIGSEGV.
23256
23257 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
23258
23259 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
23260 can be compiled with either HP's compiler or GCC.
23261
cfa88ab7
JL
23262 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
23263 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
23264 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
23265
ca344dff
JL
23266 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
23267 to match current gdb output. Update due to using auto-solib-limit
23268 for limiting instead of overloading auto-solib-add.
23269 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
23270 test program.
23271
3f3c6e55 23272 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
23273 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
23274 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
23275 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
23276 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
23277 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
23278 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
23279 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
23280 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
23281 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
23282 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
23283 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
23284 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 23285
8fb87725
JL
23286 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
23287 a SIGTRAP to the inferior.
23288
cf599fa7
CV
232892001-12-19 Corinna Vinschen <vinschen@redhat.com>
23290
23291 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
23292 Substitute call to target_link by call to gdb_compile.
23293
2cd045cd
JL
23294Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
23295
a9c64011
AS
23296 * gdb.base/break.exp: Fix HP specific search string when testing
23297 backtracing in a called function.
2cd045cd 23298
a9c64011
AS
23299 * gdb.base/constvars.exp: Only set lang to C++ if we're
23300 compiling the test with HP's compilers.
23301 * gdb.base/volatile.exp: Similarly.
2cd045cd 23302
99ebe9ac
JB
233032001-12-19 Jim Blandy <jimb@redhat.com>
23304
23305 * gdb.base/printcmds.exp: Expect the null character to be printed
23306 as '\0', and the '\013' to be printed as '\v'.
23307 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
23308 * gdb.base/setvar.exp: Same.
23309
b9891b29
JB
233102001-12-17 Jim Blandy <jimb@redhat.com>
23311
0eba65ab
JB
23312 * gdb.base/completion.exp: Rather than completing very long
23313 filenames, which can make the readline library produce output we
23314 don't recognize, cd to the directory first, and then complete
23315 using nice, short relative paths.
23316
6970b5b1
JB
23317 * gdb.base/completion.exp: On some systems, there is, in fact, a
23318 variable named `b' in scope, since GDB treats all static
a9c64011
AS
23319 variables as being in scope. So use `no_var_named_this'
23320 instead of `b'.
6970b5b1 23321
b9891b29 23322 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 23323 can't find the core file's registers as a failure.
b9891b29 23324
e6ccd35f
JSC
233252001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
23326
a9c64011
AS
23327 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
23328 test expect string more specific.
e6ccd35f 23329
105ba819
CV
233302001-12-13 Corinna Vinschen <vinschen@redhat.com>
23331
23332 * gdb.asm/asm-source.exp: Add support for xstormy16.
23333 * gdb.asm/configure.in: Ditto.
23334 * gdb.asm/configure: Rebuild.
23335 * gdb.asm/xstormy16.inc: New file.
23336
e9e79dd9
FF
233372001-12-10 Fred Fish <fnf@redhat.com>
23338
23339 * gdb.base/maint.exp: Update to match changes in type dumping code.
23340
347dc97d
JB
233412001-12-10 Jim Blandy <jimb@redhat.com>
23342
23343 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
23344 matching the entry point symbol's name at the beginning of the
23345 line.
347dc97d 23346
5178b9d6
DJ
233472001-12-07 Daniel Jacobowitz <drow@mvista.com>
23348
23349 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
23350 gdb.c++/inherit.exp, gdb.c++/method.exp,
23351 gdb.c++/namespace.exp, gdb.c++/templates.exp,
23352 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
23353 and class layout support.
23354
af890c52
DJ
233552001-12-07 Daniel Jacobowitz <drow@mvista.com>
23356
23357 * gdb.c++/classes.exp: Add test for static member function.
23358 * gdb.c++/misc.cc: Add class with static member function.
23359
7a345fb3
JB
233602001-12-07 Jim Blandy <jimb@redhat.com>
23361
f2e54a80 23362 If GDB says it can't find the struct the function returned, report
8032bf31
JB
23363 those tests as `unsupported'.
23364 * gdb.base/call-rt-st.exp (print_struct_call): New function.
23365 Rewrite subsequent tests to use it.
23366
23367 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
23368 those tests as `unsupported'.
23369 * gdb.base/structs.exp (call_struct_func): New function.
23370 (do_function_calls): Use call_struct_func to call the functions
23371 returning structs.
23372
0bc69509
JB
23373 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
23374 whether functions are prototyped or not, so we can't possibly pass
23375 arguments to t_float_values2 properly.
23376
7a345fb3
JB
23377 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
23378 value of `timeout' for targets other than the mips*tx39-*.
23379
edb6ede1
MS
233802001-12-06 Michael Snyder <msnyder@redhat.com>
23381
d63a86f8 23382 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
23383 and detect whether the start symbol has a leading underscore.
23384
2d842f13
JB
233852001-12-04 Jim Blandy <jimb@redhat.com>
23386
23387 * gdb.base/completion.exp: Clarify indentation.
23388
68550daf
JB
233892001-12-03 Jim Blandy <jimb@redhat.com>
23390
23391 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
23392 variables on the S/390, not `.word'.
23393
cd5195a8
JB
233942001-11-30 Jim Blandy <jimb@redhat.com>
23395
23396 Add assembly-source tests for s390-ibm-linux.
23397 * gdb.asm/s390.inc: New file.
23398 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
23399 the S/390 architecture.
a9c64011 23400 * gdb.asm/configure: Regenerated.
cd5195a8 23401
ca9efc90
MS
234022001-11-30 Michael Snyder <msnyder@redhat.com>
23403
23404 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
23405 next, info source, info sources, info line, global and static
23406 variables, and static functions.
23407 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
23408 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
23409 * gdb.asm/asmsrc1.s: Add a static function and some variables.
23410 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
23411 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
23412 (gdbasm_leave): Restore frame pointer.
23413 (gdbasm_startup): Copy stack set-up from crt0.S.
23414
d0e66976
FN
234152001-11-26 Fernando Nasser <fnasser@redhat.com>
23416
23417 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
23418 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
23419 to a local (non-static) variable. Copy tstruct.a to a static buffer
23420 and return a pointer to that buffer.
23421 * gdb.base/callfwmall.c (t_structs_a): Ditto.
23422
e2334072
MK
234232001-11-24 Mark Kettenis <kettenis@gnu.org>
23424
23425 * gdb.asm/configure.in: Fix recognition of ix86 target.
23426 * gdb.asm/configure: Regenerate.
23427
756caa3d
MS
234282001-11-21 Michael Snyder <msnyder@redhat.com>
23429
23430 * gdb.asm/sparc.inc: New file.
23431 * gdb.asm/asm-source.exp: Recognize sparc target.
23432 * gdb.asm/configure.in: Recognize sparc target.
23433 * gdb.asm/configure: Regenerate.
d63a86f8 23434
9a4d72d5
MS
234352001-11-21 Michael Snyder <msnyder@redhat.com>
23436
23437 * gdb.asm/m32r.inc: New file.
23438 * gdb.asm/asm-source.exp: Recognize m32r target.
23439 * gdb.asm/configure.in: Recognize m32r target.
23440 * gdb.asm/configure: Regenerate.
23441
a773d1cd
MS
234422001-11-20 Michael Snyder <msnyder@redhat.com>
23443
017ac23d
MS
23444 * gdb.asm/i386.inc: New file.
23445 * gdb.asm/asm-source.exp: Recognize ix86 target.
23446 * gdb.asm/configure.in: Recognize ix86 target.
23447 * gdb.asm/configure: Regenerate.
23448
a773d1cd
MS
23449 * gdb.c++/namespace.exp: Fix quotes in output messages.
23450
bb632afb
MS
234512001-11-14 Michael Snyder <msnyder@redhat.com>
23452
25d559ca 23453 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
23454 qualifier in a type cast expression, to designate an address
23455 in the instruction space (Harvard architecture).
23456
4749e309
MS
234572001-11-13 Michael Snyder <msnyder@redhat.com>
23458
23459 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
23460 Tests for expressions using 'const' and 'volatile'.
23461
25050984
CV
234622001-11-13 Corinna Vinschen <vinschen@redhat.com>
23463
23464 * gdb.asm/asm-sources.exp: Allow defining linker flags.
23465
1902c51f
DJ
234662001-11-12 Daniel Jacobowitz <drow@mvista.com>
23467
23468 * lib/mi-support.exp (mi_run_to_helper): Move comments
23469 outside of gdb_expect.
23470
dcf95b47
DJ
234712001-11-11 Daniel Jacobowitz <drow@mvista.com>
23472
23473 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
23474 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
23475 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
23476 mi0_run_to): New functions.
23477 * gdb.mi/mi-simplerun.exp: Use them.
23478 * gdb.mi/mi0-simplerun.exp: Likewise.
23479 * gdb.mi/mi-var-cmd.exp: Likewise.
23480 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 23481
45b074e1
AC
234822001-11-10 Andrew Cagney <ac131313@redhat.com>
23483
23484 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
23485 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
23486
bf50d346
AC
234872001-11-09 Andrew Cagney <ac131313@redhat.com>
23488
23489 * gdb.base/restore.exp: Include $expected value in restored test
23490 message.
23491
9383332c
AC
234922001-11-09 Andrew Cagney <ac131313@redhat.com>
23493
23494 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
23495 implemented.
23496
db62520a
MS
234972001-11-08 Michael Snyder <msnyder@redhat.com>
23498
23499 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
23500 Add pass/fail message for stop at breakpoint in call dummy function.
23501
b5703437
MS
235022001-11-07 Michael Snyder <msnyder@redhat.com>
23503
d63a86f8
RM
23504 * gdb.c++/templates.exp (test_template_breakpoints):
23505 If we get an overload menu, but it does not match what
760f6330 23506 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
23507 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
23508 making the whitespace optional. Argument for "new" may be
23509 "unsigned" as well as "unsigned int/long".
d63a86f8 23510 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
23511 making the whitespace optional. Also replace "(void) with
23512 "((void|)), making the keyword "void" optional.
d63a86f8 23513 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
23514 making the whitespace optional. Also replace "(void) with
23515 "((void|)), making the keyword "void" optional.
3bf40917
MS
23516 * gdb.base/callfuncs.c (t_float_values): This function must
23517 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 23518 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
23519 can be tested against both cases. Usually one case involves
23520 promotion of float to double, while the other does not.
23521 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
23522 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
23523 includes a stack frame for "start".
23524
c8ab4e6d
JB
235252001-11-05 Jim Blandy <jimb@redhat.com>
23526
23527 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
23528 pointers are 32 bits long, and that offsets of relocs are always
23529 stored in the data (REL-style), and not in the reloc entry itself
23530 (RELA-style).
23531 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
23532 stabs.
23533
3f08ced9
MS
235342001-11-01 Michael Snyder <msnyder@redhat.com>
23535
23536 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
23537 and regular expression operators by using quoting.
23538
cbfa24cd
MS
235392001-10-31 Michael Snyder <msnyder@redhat.com>
23540
23541 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
23542 depending on what the symbol table contains.
23543 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
23544 the output of the ptype command. Similarly, accept both "const &"
23545 and "const&".
23546
aaa68313
CV
235472001-10-31 Corinna Vinschen <vinschen@redhat.com>
23548
23549 * gdb.base/miscexprs.c (main): Add usage of preprocessor
23550 symbol `STORAGE' to allow to choose the storage class of
23551 the local datastructures.
23552 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
23553 compiler directive.
23554
91740388
MS
235552001-10-30 Michael Snyder <msnyder@redhat.com>
23556
23557 * gdb.base/jump.exp: Allow it to run for all targets.
23558
1b7c05e7
CV
235592001-10-29 Corinna Vinschen <vinschen@redhat.com>
23560
23561 * gdb.base/call-ar-st.c (print_double_array): Match for loop
23562 with new double_array size.
23563 (main): Change storage class of all local variables to static.
23564 Reduce size of double_array to 9.
23565 * gdb.base/call-ar-st.exp: Increase timeout value.
23566 Change expected output for double array to match new size in
23567 call-ar-st.c.
23568
36a22261
CV
235692001-10-29 Corinna Vinschen <vinschen@redhat.com>
23570
23571 * gdb.base/ending-run.exp: Create identical output when passing
23572 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 23573 Stormy16 target.
36a22261 23574
92b8ae91
MK
235752001-10-28 Mark Kettenis <kettenis@gnu.org>
23576
23577 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23578 that we catch the expected failure under Linux/x86.
23579
cb135b83
OF
235802001-10-29 Orjan Friberg <orjanf@axis.com>
23581
23582 * gdb.base/setvar.exp: Escape curly braces.
23583 * gdb.stabs/weird.exp: Ditto.
23584
6884aa54
DJ
235852001-10-27 Daniel Jacobowitz <drow@mvista.com>
23586
23587 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23588 * gdm.mi/mi0-hack-cli.exp: Likewise.
23589
0398c9aa
AC
235902001-10-25 Andrew Cagney <ac131313@redhat.com>
23591
23592 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23593 messages.
23594
d20bf2e8
AC
235952001-10-21 Andrew Cagney <ac131313@redhat.com>
23596
23597 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23598 checking MI enabled.
23599
03dd63aa
CV
236002001-10-09 Corinna Vinschen <vinschen@redhat.com>
23601
23602 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23603
1d9d99f3
FCE
236042001-10-04 Frank Ch. Eigler <fche@redhat.com>
23605
23606 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23607 if gdb child process crashes, just signal an error.
23608
838ae6c4
JB
236092001-10-02 Jim Blandy <jimb@redhat.com>
23610
23611 * lib/gdb.exp (test_xfail_format): Simplify.
23612
23613 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23614 front of the variable name `format'. Simplify `if'.
23615
8f0cbc1c
DJ
236162001-10-01 Daniel Jacobowitz <drow@mvista.com>
23617
23618 * gdb.threads/pthreads.exp: Wait for output and delay
23619 before sending ^C.
23620
1f08dafd
DJ
236212001-10-01 Daniel Jacobowitz <drow@mvista.com>
23622
23623 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23624 some incorrect output instead of timing out.
23625 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23626
674f90ff
CV
236272001-09-28 Corinna Vinschen <vinschen@redhat.com>
23628
23629 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23630 check to allow additional `int'.
23631
9b284272
DJ
236322001-09-27 Daniel Jacobowitz <drow@mvista.com>
23633
23634 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23635 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23636
b55a4771
MS
236372001-09-27 Michael Snyder <msnyder@redhat.com>
23638
23639 * lib/gdb.exp (test_debug_format): New proc.
23640 (setup_xfail_format): Use new proc test_debug_format.
23641 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23642 proc; use new service proc test_debug_format.
23643 Replace all other "gcc_compiled" tests with this test.
23644 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23645 proc; use new service proc test_debug_format.
23646 Replace all other "gcc_compiled" tests with this test.
23647
236482001-09-27 Michael Snyder <msnyder@redhat.com>
23649
23650 * gdb.base/cvexpr.exp: New file.
23651 * gdb.base/cvexpr.c: New file
23652 Test for expressions using const and volatile keywords.
23653
4e6667ac
CV
236542001-09-26 Corinna Vinschen <vinschen@redhat.com>
23655
23656 * gdb.base/constvars.exp: Check for different orders of keywords
23657 and additional "int" strings in output.
23658
4f337972
AC
236592001-09-22 Andrew Cagney <ac131313@redhat.com>
23660
23661 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23662 responses from "help maint".
23663
2015650d
FCE
236642001-09-19 Frank Ch. Eigler <fche@redhat.com>
23665
23666 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23667 to localhost:NNN instead of :NNN, in case Xvfb is listening
23668 only on TCP.
23669
f3bcedc1
CV
236702001-09-19 Corinna Vinschen <vinschen@redhat.com>
23671
23672 * gdb.base/recurse.exp: When checking leaving the watchpoint
23673 scope, recognize when gdb is in function's epilogue and pass.
23674
6b819c92
KS
236752001-09-18 Keith Seitz <keiths@redhat.com>
23676
23677 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23678 support for running tests against sid targets.
23679 (gdbtk_done): Ditto.
23680
a10c9419
CV
236812001-09-18 Corinna Vinschen <vinschen@redhat.com>
23682
23683 * gdb.base/ending-run.c (main): Set stdout buffersize
23684 to the same reasonable value for any target.
23685 * gdb.base/ending-run.exp: Add a regular expression
23686 to make testsuite happy on Sanyo Stormy16 target.
23687
739d0d99
CV
236882001-09-17 Corinna Vinschen <vinschen@redhat.com>
23689
23690 * gdb.base/display.c (do_loops): Add float variable `f'.
23691 Increment f in loop.
23692 * gdb.base/display.exp: Increment timeout by 60 seconds.
23693 Change float display test to use variable `f'.
23694
1b8947f0
JB
236952001-09-17 Jim Blandy <jimb@redhat.com>
23696
23697 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23698 overflowing the limited breakpoint tables on some ROM monitors
23699 (like the ROM68K).
23700
9890ac81
FCE
237012001-09-15 Frank Ch. Eigler <fche@redhat.com>
23702
23703 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23704 the "-ac" (disable access control) flag.
23705
6db765ea
JH
237062001-08-30 Jeff Holcomb <jeffh@redhat.com>
23707
23708 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23709 ints.
23710
4c32cc04
KS
237112001-08-30 Keith Seitz <keiths@redhat.com>
23712
23713 * lib/gdb.exp: Move all insight-related functionality into
23714 separate file.
23715 * lib/insight-support.exp: New file.
23716
8d6e6f81
FCE
237172001-08-29 Frank Ch. Eigler <fche@redhat.com>
23718
23719 * config/sid.exp (sid_start): Never set sid verbosity; disable
23720 expect_background {} that consumed its stdout; tolerate </dev/null.
23721 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23722
6a90e1d0
AC
237232001-08-18 Andrew Cagney <ac131313@redhat.com>
23724
23725 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23726 CLI jump command to start it.
23727 (mi_run_to_main): Fail immediatly when unexpected output.
23728
1759b3c3
AC
237292001-08-18 Andrew Cagney <ac131313@redhat.com>
23730
23731 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23732 beginning of function. Fix PR gdb/191.
23733
61d11d80
FCE
237342001-08-16 Frank Ch. Eigler <fche@redhat.com>
23735
23736 * config/sid.exp (sid_start): Don't warn if we cannot figure out
23737 what to force sid endianness to.
23738
942a4df2
KS
237392001-08-15 Keith Seitz <keiths@redhat.com>
23740
23741 * lib/gdb.exp (gdbtk_start): Don't set environment
23742 variables for TCL_LIBRARY and friends. Insight will
23743 now figure these out for itself.
23744
0521c418
MS
237452001-08-02 Michael Snyder <msnyder@redhat.com>
23746
23747 * gdb.base/completion.exp: Remove the symbol "a64l" from
23748 the expect string; this is target-specific, and not related
23749 to what is being tested.
23750
74a9a58a
DB
237512001-08-02 Dave Brolley <brolley@redhat.com>
23752
23753 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23754
c70819fa
MS
237552001-07-25 Michael Snyder <msnyder@redhat.com>
23756
c2b8fa57
MS
23757 * gdb.base/consecutive.exp: New file. Test stepping over
23758 breakpoints on consecutive instructions.
23759 * gdb.base/consecutive.c: New file.
23760
c70819fa
MS
23761 * gdb.base/call-rt-st.exp: Use double-backslash to quote
23762 curly braces in regular expressions.
23763
2b1a1355
MS
237642001-07-25 Michael Snyder <msnyder@redhat.com>
23765
23766 * gdb.base/ending-run.exp: Accept "Program exited normally" as
23767 legitimate output from stepping out of main.
23768
413eca6f
KS
237692001-07-22 Keith Seitz <keiths@redhat.com>
23770
23771 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23772 the empty string, do not run the tests.
23773
7e5a9322
SC
237742001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23775
23776 * gdb.base/long_long.exp: Detect size of pointer. Take into
23777 account 2-byte pointers when testing for p/a results.
23778
de58f10f
SC
237792001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23780
d63a86f8 23781 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
23782 and defined to 1K for m68hc11.
23783 (random_data): Reduce table to 1K for embedded platforms (68hc11).
23784 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23785 (sizeof_random_data): New variable to tell the size of the data table;
23786 don't test past this size; always run to main.
23787
d6f5fea1
SC
237882001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23789
23790 * gdb.base/return2.exp: return of long long and double fails for
23791 68HC11; don't execute these tests on that platform.
23792 * gdb.base/return.exp: Return of a double fails for 68hc11.
23793
c477543d
SC
237942001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23795
23796 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23797 tests that print a float.
23798 * call-rt-st.exp: Likewise.
23799
63cf1c79
MK
238002001-07-12 Mark Kettenis <kettenis@gnu.org>
23801
23802 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23803 running this test on Linux.
23804
112f9ab5
MC
238052001-06-24 Michael Chastain <chastain@redhat.com>
23806
23807 * gdb.base/arithmet.exp: Remove some tests to make all test names
23808 unique.
23809
4970cb0f
MS
238102001-07-03 Michael Snyder <msnyder@redhat.com>
23811
23812 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23813 the output of the ptype command.
23814
d85da69f
MS
238152001-07-02 Michael Snyder <msnyder@redhat.com>
23816
4c8a82de
MS
23817 * gdb.base/completion.exp: Don't assume that break.c is the only
23818 source file that may contain functions named "marker".
d85da69f
MS
23819 * gdb.base/corefile.exp: Quote the curly braces in regexp.
23820
8afc772b
AC
238212001-06-28 Andrew Cagney <ac131313@redhat.com>
23822
23823 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23824 of files to delete.
23825
23826 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23827 * gdb.disasm/h8300s.exp: New file.
23828 gdb.disasm/h8300s.s: Likewise.
23829
cff22675
AC
238302001-06-27 Andrew Cagney <ac131313@redhat.com>
23831
23832 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23833 empty breakpoint tables.
23834
68c81b54
AC
238352001-06-25 Andrew Cagney <ac131313@redhat.com>
23836
23837 * lib/mi-support.exp: Update args=... part of stop-reason
23838 patterns. Accept either a list or a tuple.
23839
2dd62704
AC
238402001-06-23 Andrew Cagney <ac131313@redhat.com>
23841
23842 * lib/mi-support.exp: Remove local emacs variable defining
23843 change-log-default-name.
23844
b4127474
MC
238452001-06-22 Michael Chastain <chastain@redhat.com>
23846
23847 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23848 This is operationally compatible with the previous version.
23849
8dbfb380
JB
238502001-06-13 Jim Blandy <jimb@redhat.com>
23851
23852 * lib/gdb.exp (gdb_test): Doc fix.
23853
f2d8c86d
MC
238542001-06-10 Michael Chastain <chastain@redhat.com>
23855
23856 * gdb.base/exprs.exp: Remove a duplicate test.
23857
81564d34
JB
238582001-06-06 Jim Blandy <jimb@redhat.com>
23859
23860 * gdb.base/return2.exp (main): Use values to test float and double
23861 returns that are not NaN's, to avoid being confused by IEEE
23862 comparison rules.
23863
da55addb
MS
238642001-06-04 Michael Snyder <msnyder@redhat.com>
23865
23866 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 23867 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
23868 rather than wait for 12 more tests to time out.
23869
42c65987
JB
238702001-06-06 Jim Blandy <jimb@redhat.com>
23871
b18bced9 23872 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 23873 Don't forget to match the GDB prompt.
b18bced9 23874
42c65987
JB
23875 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23876
5b41e5f0
JB
238772001-06-04 Jim Blandy <jimb@redhat.com>
23878
23879 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23880 command.
23881
015e046f
KB
238822001-05-31 Kevin Buettner <kevinb@redhat.com>
23883
23884 * gdb.base/annota1.exp (info break): Match four or more spaces
23885 after "Address".
23886
fb1ffbbe
MC
238872001-05-31 Michael Chastain <chastain@redhat.com>
23888
23889 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23890 (dm_type_int_star): Likewise.
23891 (dm_type_long_star): Likewise.
23892 (dm_type_void_star): Likewise.
23893
5ea2a32c
KB
238942001-05-29 Kevin Buettner <kevinb@redhat.com>
23895
23896 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23897 to a known value in order to get consistent results regardless
23898 of the setting of INPUTRC or the presence or contents of .inputrc.
23899
ae23c492
MS
239002001-05-24 Michael Snyder <msnyder@redhat.com>
23901
ac55707e
MS
23902 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23903 Don't require that the main thread and the manager thread are the
23904 first in the list.
23905
ae23c492
MS
23906 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23907 debugging. If test fails, issue an "unsupported" not a "fail".
23908
400071f1
JB
239092001-05-24 Jim Blandy <jimb@redhat.com>
23910
23911 Don't assume that short is shorter than int.
23912 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23913 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 23914 this isn't true.
400071f1
JB
23915 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23916 an int, is not equal to ~0 stored in an unsigned char. This tests
23917 the same thing that the previous test meant to, but works on
23918 16-bit machines, too.
23919 ("print unsigned char != (~0)"): Same test, complemented.
23920
0816a3e5
MS
239212001-05-24 Michael Snyder <msnyder@redhat.com>
23922
23923 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 23924 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
23925 and prevents dejagnu getting out of step.
23926
f6dc23a9
KB
239272001-05-23 Kevin Buettner <kevinb@redhat.com>
23928
23929 * gdb.base/finish.exp (finish_void): Revise pattern for
23930 stopping on the call statement to not permit stopping at
23931 the start of the instructions comprising the call sequence.
23932
7dbd117d
MC
239332001-05-19 Michael Chastain <chastain@redhat.com>
23934
23935 * gdb.base/callfuncs.exp: Make all test names unique.
23936 * gdb.base/commands.exp: Make all test names unique.
23937 * gdb.base/condbreak.exp: Make all test names unique.
23938 * gdb.base/dbx.exp: Make all test names unique.
23939 * gdb.base/default.exp: Make all test names unique.
23940 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23941 and TIMEOUT messages to their corresponding PASS message.
23942 * gdb.base/ending-run.exp: Make all test names unique.
23943 * gdb.base/long_long.exp: Remove duplicate test.
23944
6b0b0a9e
KB
239452001-05-21 Kevin Buettner <kevinb@redhat.com>
23946
23947 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23948 stop on the call statement as well as the statement after the
23949 call.
23950
2caa35cb
MS
239512001-05-21 Michael Snyder <msnyder@redhat.com>
23952
23953 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23954
40713331
EZ
239552001-05-10 Elena Zannoni <ezannoni@redhat.com>
23956
a9c64011
AS
23957 * gdb.base/completion.exp: Revamp test. Make it execute on all
23958 platforms.
40713331 23959
c2c1be8d
EZ
239602001-05-10 Elena Zannoni <ezannoni@redhat.com>
23961
a9c64011
AS
23962 * config/gdbserver.exp (gdb_load): Handle the case
23963 in which the arguments to gdbserver are given in the
23964 baseboard configuration file.
23965 Also handle the case in which the server needs to do a
23966 load.
2c9cd303 23967
9671de48
KS
239682001-05-07 Keith Seitz <keiths@cygnus.com>
23969
a9c64011
AS
23970 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23971 set up the display for testing.
23972 (gdbtk_start): Convert all paths to paths that tcl will like.
23973 Export target information to environment.
23974 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23975 necessary.
23976 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23977 (to_tcl_path): New proc to convert a given pathname into
23978 a path acceptible as an argument to a tcl command.
23979 (_gdbtk_export_target_info): New proc to export target info
23980 into the environment for gdbtk testing.
23981 (gdbtk_done): New proc to signal end-of-test.
9671de48 23982
5a360f47
JB
239832001-05-06 Jim Blandy <jimb@redhat.com>
23984
23985 * restore.c: Make the code of caller0 correspond to its comment.
23986
66c756c6
MS
239872001-05-03 Michael Snyder <msnyder@redhat.com>
23988
23989 * config/sid.exp (gdb_target_sid): Check for error messages.
23990 On error or timeout, don't make expect exit (which will terminate
23991 all subsequent tests); instead just make gdb exit.
d63a86f8 23992 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
23993 return a negative value.
23994
a966fde5
JB
239952001-04-24 Jim Blandy <jimb@redhat.com>
23996
851c18e0
JB
23997 * gdb.c++/templates.exp: If we see the prompt for the overload
23998 list, but we haven't recognized any of the longer patterns,
23999 arrange for this test to fail, not hang.
24000
a966fde5
JB
24001 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24002 variations.
24003
db144853
MC
240042001-04-22 Michael Chastain <chastain@redhat.com>
24005
24006 * gdb.c++/local.exp: Use the 'runto' library function.
24007 * gdb.c++/namespace.exp: Likewise.
24008 * gdb.c++/overload.exp: Likewise.
24009
3207ec21
KB
240102001-03-26 Kevin Buettner <kevinb@redhat.com>
24011
24012 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24013 * gdb.base/step-line.exp: New file. Test step/next in presence of
24014 #line directives.
24015 * gdb.base/step-line.c: New file. Test program for the above.
24016 * gdb.base/step-line.inp: New file. We pretend that this file has
24017 been transformed by some other tool into step-line.c.
24018
13b57657
JB
240192001-03-21 Jim Blandy <jimb@redhat.com>
24020
24021 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24022 unmangled operator names.
24023
754cbe1c
JB
240242001-03-20 Jim Blandy <jimb@redhat.com>
24025
24026 * gdb.threads/linux-dp.exp: Recognize an additional message
24027 generated by GDB when it doesn't understand how to debug threads
24028 on the target system.
24029
177495c9
AC
240302001-03-19 Andrew Cagney <ac131313@redhat.com>
24031
24032 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24033
f266096b
MC
240342001-03-12 Michael Chastain <chastain@redhat.com>
24035
24036 * gdb.c++/derivation.exp: Use the 'runto' library function.
24037
cac3c2ff
MC
240382001-03-12 Michael Chastain <chastain@redhat.com>
24039
24040 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24041
b6c11a24
MC
240422001-02-24 Michael Chastain <chastain@redhat.com>
24043
24044 * gdb.c++/ref-types.exp: Change handwritten code to library
24045 function 'runto'.
24046
6bae5bce
OF
240472001-03-16 Orjan Friberg <orjanf@axis.com>
24048
24049 * gdb.base/signals.exp: Set count to 0 explicitly.
24050
0015fd9a
MS
240512001-03-15 Mark Salter <msalter@redhat.com>
24052
24053 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24054 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
24055 (gdb_load): Add support for additional target_info: gdb_download_size
24056 and gdb_load_timeout.
0015fd9a 24057
fc33412a
DT
24058Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24059
24060 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
24061 file -- to prevent failing when the compile fails but we have no
24062 intention of running the tests anyway.
fc33412a
DT
24063
24064 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24065 tests if set.
24066
24067 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 24068 integers.
fc33412a
DT
24069
24070 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24071 * gdb.c++/namespace.exp: Ditto.
24072
115f06de
OF
240732001-03-07 Orjan Friberg <orjanf@axis.com>
24074
24075 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24076 * gdb.base/pointers.exp: Relax pattern match of decimals.
24077
b6ba6518
KB
240782001-03-06 Kevin Buettner <kevinb@redhat.com>
24079
24080 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24081 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24082 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24083 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24084 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24085 config/sh.exp, config/sid.exp, config/slite.exp,
24086 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24087 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24088 config/vxworks.exp, config/vxworks29k.exp,
24089 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24090 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24091 gdb.base/arithmet.exp, gdb.base/assign.exp,
24092 gdb.base/async.exp, gdb.base/attach.exp,
24093 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24094 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24095 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24096 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24097 gdb.base/commands.exp, gdb.base/completion.exp,
24098 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24099 gdb.base/constvars.exp, gdb.base/corefile.exp,
24100 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24101 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24102 gdb.base/ending-run.exp, gdb.base/environ.exp,
24103 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24104 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24105 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24106 gdb.base/funcargs.exp, gdb.base/help.exp,
24107 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24108 gdb.base/logical.exp, gdb.base/long_long.exp,
24109 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24110 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24111 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24112 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24113 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24114 gdb.base/regs.exp, gdb.base/relational.exp,
24115 gdb.base/remote.exp, gdb.base/reread.exp,
24116 gdb.base/restore.exp, gdb.base/return2.exp,
24117 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24118 gdb.base/selftest.exp, gdb.base/setshow.exp,
24119 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24120 gdb.base/sigall.exp, gdb.base/signals.exp,
24121 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24122 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24123 gdb.base/step-test.exp, gdb.base/structs.c,
24124 gdb.base/structs.exp, gdb.base/structs2.exp,
24125 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24126 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24127 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24128 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24129 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24130 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24131 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24132 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24133 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24134 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24135 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24136 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24137 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24138 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24139 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24140 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24141 gdb.trace/circ.exp, gdb.trace/collection.exp,
24142 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24143 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24144 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24145 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24146 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24147 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24148 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24149 notices.
24150
dc96c6c7 241512001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
24152
24153 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24154 first arg is int not float.
24155
dc96c6c7 241562001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
24157
24158 * gdb.base/reread.exp: Unsupported for non-native targets;
24159 doesn't work for remote debugging.
24160
9b0c4aeb
FN
241612001-02-19 Fernando Nasser <fnasser@redhat.com>
24162
24163 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
24164 * gdb.base/ending-run.exp: Properly handle the BSP state when
24165 stepping past the end of main.
9b0c4aeb 24166
02aa71d5
MC
241672001-02-19 John Moore <jmoore@redhat.com>
24168
24169 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24170 Converted HPUX fix for non-expected items following multiple
24171 step commands into general solution for all platforms.
24172
1fa449a4
MC
241732001-02-18 Michael Chastain <chastain@redhat.com>
24174
24175 * gdb.c++/classes.exp (do_tests): Change runto statements
24176 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24177 statements demangler agnostic.
24178 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24179 (gdb_virtfunc_restart): Likewise.
24180
b2f9ec70
MC
241812001-02-14 Michael Chastain <chastain@redhat.com>
24182
24183 * gdb.c++/inherit.exp (do_tests): Change runto statements
24184 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24185 statements demangler agnostic.
24186
cf74b8ca
AC
24187Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24188
24189 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
24190 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24191 before calling common_routine 15 times'' tests.
cf74b8ca 24192
99f78f56
MC
241932001-02-11 Michael Chastain <chastain@redhat.com>
24194
24195 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24196 Helps the test script figure out which demangler is in use.
24197 (dm_type_foo_ref): Ditto.
24198 (dm_type_int_star): Ditto.
24199 (dm_type_long_star): Ditto.
24200 (dm_type_unsigned_int): Ditto.
24201 (dm_type_void): Ditto.
24202 (dm_type_void_star): Ditto.
99707966 24203 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
24204 Probe the gdb demangler and set variables to accommodate
24205 formatting differences.
24206 (info_func_regexp): New function. Same as info_func, but
24207 matches against a regexp.
24208 (info_func): Match against a literal string.
24209 (print_addr_2): New function. Match against a literal string,
24210 which can be different from the input to gdb.
24211 (print_addr): Simply call print_addr_2 with the same argument twice.
24212 (test_lookup_operator_functions): Use demangler formatting variables.
24213 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24214 the tests in the same order as the C++ class declaration.
24215 (test_paddr_operator_functions): Ditto.
24216 (test_paddr_overloaded_functions): Ditto.
24217 (test_paddr_hairy_functions): Use demangler formatting variables.
24218 Add reference to gdb/19 for related tests.
24219 (do_tests): Call probe_demangler.
24220
1de8f023
KB
242212001-01-30 Kevin Buettner <kevinb@redhat.com>
24222
24223 * gdb.c++/templates.cc (printf): Remove unused function definition.
24224
ca3f91ed
MS
242252001-01-26 Felix Lee <flee@redhat.com>
24226
24227 * sid.exp (sid_exit): Pass host, not target, to remote_close.
24228
242292001-01-25 matthew green <mrg@redhat.com>
24230
24231 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24232 up sid.
24233 (sid_exit): Call `remote_pop_conn' after GDB is gone.
24234
242352001-01-25 matthew green <mrg@redhat.com>
24236
24237 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 24238 Deprecate $sid_spawn_id.
ca3f91ed
MS
24239 (sid_exit): Remove code necessary only for `spawn.'
24240
242412001-01-25 matthew green <mrg@redhat.com>
24242
24243 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24244
fb18ec4a
MC
242452001-01-28 Michael Chastain <chastain@redhat.com>
24246
24247 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24248 to call when tests fail. It takes gdb out of the overloaded
24249 function choice menu back to the main prompt, so that the test
24250 program stays synchronized.
24251 (set_bp_overloaded): New proc to collect all the common
24252 code for setting a breakpoint on an overloaded name. Calls
24253 take_gdb_out_of_choice_menu when needed.
24254 (menu_overload1arg): New variable to collect the repeated
24255 instances of the expected menu for an overloaded name. Change
24256 the regular expression to handle changes in g++ type encoding:
24257 "void" can be either "void" or "", and "unsigned int" can be
24258 either "unsigned int" or "unsigned".
24259 (continue_to_bp_overloaded): Change regular expressions to handle
24260 changes in g++ type encoding.
24261 (no proc): Call take_gdb_out_of_choice_menu when needed.
24262 Remove redundant calls to "info break". Accept either "canceled"
24263 or "cancelled". Change regular expressions in "info break"
24264 calls to handle changes in g++ type encoding. Give all tests
24265 unique strings.
24266
9c646a6e
BE
242672001-01-17 Ben Elliston <bje@redhat.com>
24268
24269 * config/sid.exp: New file.
24270
9549d9c1
AC
24271Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
24272
24273 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
24274
dc96c6c7 242752000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
24276
24277 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
24278 Add a RE to accept a non-ascii char if one is ever presented.
24279
b4df4f68
FN
242802000-12-20 Fernando Nasser <fnasser@redhat.com>
24281
297dd0fd 24282 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 24283
dc96c6c7 242842000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 24285
d63a86f8 24286 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
24287 in regexp. One '\' does not suffice on Linux.
24288
4a7bddb6
MC
242892000-12-09 Michael Chastain <chastain@redhat.com>
24290
24291 * gdb.base/break.exp (test_clear_command): Use a marker function
24292 rather than 'main' for the test function. Also move this
24293 test to an execution point where the marker function names are
24294 guaranteed to be bound to functions. (Executing tests after a
24295 'finish' from main runs into name conflicts with local names
24296 in __libc_start_main).
24297
dc96c6c7 242982000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
24299
24300 * gdb.base/finish.exp: New test for gdb's "finish" command.
24301 * gdb.base/return2.exp: New test for gdb's "return" command.
24302 * gdb.base/return2.c: New source file for above.
24303
dc96c6c7 243042000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
24305
24306 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
24307 * gdb.base/miscexprs.exp: Ditto.
24308 * gdb.base/pointers.exp: Ditto.
24309 * gdb.c++/derivation.exp: Ditto.
24310 * gdb.c++/local.exp: Ditto.
24311 * gdb.c++/namespace.exp: Ditto.
24312 * gdb.c++/overload.exp: Ditto.
24313 * gdb.c++/ref-types.exp: Ditto.
24314
dc96c6c7 243152000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
24316
24317 * gdb.base/constvars.exp: Test result of "up" command.
24318 * gdb.base/miscexprs.exp: Ditto.
24319 * gdb.base/pointers.exp: Ditto.
24320 * gdb.base/scope.exp: Ditto.
24321 * gdb.c++/derivation.exp: Ditto.
24322 * gdb.c++/local.exp: Ditto.
24323 * gdb.c++/namespace.exp: Ditto.
24324 * gdb.c++/overload.exp: Ditto.
24325 * gdb.c++/ref-types.exp: Ditto.
24326
44097287
FN
243272000-11-22 Michael Chastain <chastain@redhat.com>
24328
24329 * mips_pro.exp: Accept either "middle -> top -> main" or
24330 "middle -> main" in the backtrace, because gcc can optimize
24331 tail calls to jumps. Remove setup_xfail for the hppa case.
24332 Add a comment with the original warning messages from PR 3016,
24333 which was filed in 1993, to preserve them for posterity.
24334
9d2e1bab
ND
243352000-11-17 Nick Duffek <nsd@redhat.com>
24336
24337 * lib/gdb.exp (gdb_test): Override timeout with board info.
24338
1aca8eb7
ND
243392000-11-17 Nick Duffek <nsd@redhat.com>
24340
24341 * gdb.base/display.exp: Don't kill running stub. Add "again" to
24342 the second kill and detach messages.
24343
93076499
ND
243442000-11-17 Nick Duffek <nsd@redhat.com>
24345
24346 * configure.in: Add AC_EXEEXT.
24347 * configure: Regenerate.
24348 * Makefile.in (just-check): Export EXEEXT.
24349 * lib/gdb.exp ($EXEEXT): Import from environment.
24350 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
24351 expect "maint dump-me" on Cygwin.
24352 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
24353 $EXEEXT.
24354
30e87cd3
ND
243552000-11-17 Nick Duffek <nsd@redhat.com>
24356
24357 * gdb.base/break.exp: Test backtrace and finish from called
24358 function on all platforms, not just HP-UX.
24359
dc96c6c7 243602000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
24361
24362 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
24363 code from gdb_target_monitor, so it can be used independantly
24364 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 24365
dc96c6c7 243662000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
24367
24368 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
24369 * gdb.base/corefile.exp: Expect the message "Program is being
24370 debugged already" when we send the "corefile" command, since
24371 the preceeding gdb_load may have connected gdb to a remote target.
24372 * gdb.base/display.exp: Disable hardware watchpoints if new
24373 board info variable "no_hardware_watchpoints" is true.
24374 Replace single-letter commands with more readable ones.
24375 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
24376 if new board info variable "no_hardware_watchpoints" is true.
24377 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
24378 to see if stdio (printf) testing is possible.
24379 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
24380 board info variable "no_hardware_watchpoints" is true. Use new
24381 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
24382
39124dea
FN
243832000-11-13 Fernando Nasser <fnasser@redhat.com>
24384
24385 From Orjan Friberg <orjanf@axis.com>:
24386 * gdb.base/printcmds.exp: Escape curly braces followed by a number
24387 in array print pattern match.
24388
a9e2e984
FN
243892000-11-09 Fernando Nasser <fnasser@redhat.com>
24390
24391 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
24392 spelling "cancelled" to U.S. spelling "canceled" to match changes
24393 made to gdb.
24394 * gdb.c++/ovldbreak.exp: Ditto.
24395
c7db355b
PS
243962000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24397
24398 * gdb.base/callfuncs.c (main): Moved to end of file, call
24399 t_double_values to initialize the FPU before inferior calls are made.
24400 * gdb.base/callfuncs.exp: Test for register preservation after calling
24401 inferior functions. Add tests for continuining, finishing and
24402 returning from a stop in a call dummy.
24403
dc96c6c7 244042000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
24405
24406 * gdb.base/commands.exp: Break up long lines, and re-indent.
24407
dc96c6c7 244082000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
24409
24410 * config/gdbserver.exp: Rewritten from the ground up, to make it
24411 compatible with the current dejagnu tree, and to make it work with
24412 the new "gdbserver" in libremote.
24413
dc96c6c7 244142000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
24415
24416 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
24417 * gdb.base/varargs.exp: Skip entire test if no printf support.
24418 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
24419 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
24420
dc96c6c7 244212000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
24422
24423 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
24424 no floating point support.
24425 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
24426 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
24427 * gdb.base/call-rt-st.exp: Ditto.
24428 * gdb.base/call-strs.exp: Ditto.
24429
bac5fc66
JG
244302000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
24431
24432 * gdb.base/sizeof.c: include <stdio.h>.
24433
24434 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
24435 'finish', otherwise uncaptured gdb_prompt would potentially
24436 throw remaining test points out of sync.
bac5fc66 24437
b22a6027
SB
244382000-07-26 Scott Bambrough <scottb@netwinder.org>
24439
24440 * gdb.base/recurse.exp: Run tests for all targets.
24441 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
24442 gnu-oldld case on ARM.
24443 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
24444 for ARM targets.
d63a86f8 24445
d8231941
AG
24446Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
24447
24448 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
24449 * gdb.java/configure: Rebuild.
24450
8caabe69
AG
24451Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
24452
24453 * gdb.java/jv-exp.exp: New file.
24454
9d273ca3
AG
24455Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
24456
24457 * configure: Rebuilt.
24458 * configure.in (configdirs): Add gdb.java.
24459 * gdb.java/jmisc.java: New file.
24460 * gdb.java/jmisc.exp: New file.
24461 * gdb.java/Makefile.in: New file.
24462 * gdb.java/configure: Rebuilt.
24463 * gdb.java/configure.in: New file.
24464 * lib/java.exp: New file.
24465
4f823a66
AC
24466Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
24467
24468 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 24469 underflow.
4f823a66 24470
2391e11d
AC
24471Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
24472
24473 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 24474 and the compilers sizes.
2391e11d 24475
54602222
ND
244762000-07-09 Nick Duffek <nsd@redhat.com>
24477
24478 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
24479 (use_methods): New function.
24480 (main): Call use_methods().
24481 * gdb.c++/classes.exp (test_method_param_class): New procedure.
24482 (do_tests): Call test_method_param_class.
24483
2bec0572
ND
244842000-07-09 Nick Duffek <nsd@redhat.com>
24485
24486 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
24487 spelling.
24488 (test_enums): New procedure. Move enum tests from end of script
24489 to here. Set breakpoint on function name instead of line number.
24490 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
24491 (enums2): New marker function.
24492 (enums1): New function.
24493 (main): Call enums1(). Move enum tests to enums1().
24494
78492fde
AC
24495Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
24496
24497 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 24498 compile/link program. Update line numbers.
78492fde
AC
24499 * gdb.asm/d10v.inc: Define ``startup''.
24500 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 24501
49a2cef8
AC
24502Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
24503
24504 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
24505
3e6c8688
EZ
245062000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24507
24508 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 24509 of 'help maint print' command.
3e6c8688 24510
9ff5cbe9
AC
24511Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
24512
24513 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 24514 they use gdb_expect_list.
9ff5cbe9 24515
17c579bd
AC
24516Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
24517
24518 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
24519 memory-read-packet-size'' instead of ``set endian big'' to test
24520 long commands.
17c579bd 24521
e6d71bf3
DB
245222000-06-03 Daniel Berlin <dan@cgsoftware.com>
24523
24524 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 24525 g++, and stop skipping them.
e6d71bf3
DB
24526
24527 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
24528 work under g++.
24529
d63a86f8 24530 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
24531 initialization.
24532
dc96c6c7 245332000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
24534
24535 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
24536 the regular expression: accept an (almost) arbitrary sequence of
24537 "frames-invalid" and "breakpoints-invalid" messages both before
24538 and after the "starting" message.
24539
dc96c6c7 245402000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
24541
24542 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 24543
dc96c6c7 245442000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
24545
24546 * gdb.base/annota1.exp (annotate-signal-handler-caller):
24547 Relax the regular expression a little, make it pass on Solaris 8.
24548
8216cda9
KB
245492000-05-12 Kevin Buettner <kevinb@redhat.com>
24550
24551 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 24552 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
24553 Instead, it is permissible for gdb to stop on the line of the
24554 call itself.
24555
1a570b2f
MS
245562000-05-12 Michael Snyder <msnyder@.cygnus.com>
24557
24558 * gdb.base/break.exp (bp on small function, optimized file):
24559 Add a second pass pattern. The behavior differs here between stabs
24560 and dwarf for one-line functions. Stabs preserves two line symbols
24561 (one before the prologue and one after) with the same line number,
24562 but dwarf regards these as duplicates and discards one of them.
24563 Therefore the address after the prologue (where the breakpoint is)
24564 has no exactly matching line symbol, and GDB reports the breakpoint
24565 as if it were in the middle of a line rather than at the beginning.
24566
dc96c6c7 245672000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 24568
d63a86f8 24569 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
24570 rather than "send_gdb" (for consistancy).
24571
7d418785
AC
24572Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
24573
24574 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
24575 * gdb.c++/templates.cc: Properly check for GCC version number.
24576 * lib/compiler.cc: Likewise
24577
dc96c6c7 245782000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 24579
d63a86f8 24580 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
24581 gdb may not stop at the first line of main, due to code motion.
24582
dc96c6c7 245832000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
24584
24585 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24586 This test depends on parsing the printf output from the target.
24587 Since the sparclet stub doesn't do stdio, this will never work.
24588 * gdb.base/call-rt-st.exp: ditto.
24589 * gdb.base/call-strs: ditto.
24590
dc96c6c7 245912000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
24592
24593 * gdb.base/miscexprs.exp: make sizeof long array test portable.
24594
24595 * gdb.base/ending-run.exp: After connecting to a remote target,
24596 but before running, the target will appear to be in a random
24597 location. Specify both a file and a line for breakpoints.
24598 Also, the function that calls main may be called 'init'
24599 rather than 'start'.
24600
a5a51225
EZ
246012000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24602
24603 * gdb.base/help.exp: Update output for add-symbol-file command.
24604
7930cc7c
FN
246052000-04-10 Fernando Nasser <fnasser@cygnus.com>
24606
24607 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24608 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24609
23e37ab1
C
246102000-04-07 J.T. Conklin <jtc@redback.com>
24611
e93c542c
C
24612 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24613
23e37ab1
C
24614 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24615
591b8fa3
PDM
24616Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24617
24618 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 24619 values that can be represented exactly.
591b8fa3
PDM
24620 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24621 above change, and to not check against the directory part of the source
24622 file name.
24623 (step into print_long_arg_list): Likewise.
24624 (print print_small_structs from print_long_arg_list): Likewise.
24625 (print print_long_arg_list): Likewise.
24626
7a495180
EZ
246272000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24628
30b53638 24629 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 24630
beb998c6
AC
24631Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24632
24633 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24634
1c689132
DB
246352000-03-25 Daniel Berlin <dan@cgsoftware.com>
24636
24637 * gdb.base/commands.exp (deprecated_command_test): Add test for
24638 deprecate with no arguments.
24639
c1790a9d
JL
246402000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24641
24642 * gdb.base/break.exp: Add new test for setting breakpoints on
24643 optimized code so we can test breakpoints work even when function
24644 prologues may be optimized away
24645
003ba290
FN
246462000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24647
24648 From David Whedon <dwhedon@gordian.com>
a9c64011 24649 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 24650
6837a0a2
DB
246512000-03-22 Daniel Berlin <dan@cgsoftware.com>
24652
24653 * gdb.base/help.exp: Added test for new apropos command.
24654
b9593231
KB
246552000-03-21 Kevin Buettner <kevinb@redhat.com>
24656
24657 * gdb.base/pointers.c (usevar): New function.
24658 (main): Make sure that global variables v_int_pointer2, rptr,
24659 and y are all referenced someplace in the program by calling
24660 usevar() on them. [Some linkers delete symbols which are
24661 never referenced. The space remains, but there's no way to
24662 get a (symbolic) handle on the variable from the debugger.]
24663
751a959b
EZ
246642000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24665
24666 * gdb.base/printcmds.c: Add typedeffed arrays.
24667
24668 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 24669 procedure to test arrays that are typedef'd.
751a959b 24670
73a93a32
JI
246712000-03-13 James Ingham <jingham@leda.cygnus.com>
24672
24673 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 24674 the library directories.
73a93a32 24675
fb40c209
AC
24676Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24677
24678 * configure.in (configdirs): Add sub directory gdb.mi.
24679 * configure: Re-generate.
24680
24681 * gdb.mi: New directory.
d63a86f8 24682
ee4dd2c9
AC
246832000-02-25 Scott Bambrough <scottb@netwinder.org>
24684
24685 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 24686 a long long value as a double on ARM platforms.
ee4dd2c9 24687
70f0cc22
JB
246882000-02-16 Jim Blandy <jimb@redhat.com>
24689
24690 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24691 default source file is set properly before running this test.
24692
853819b8
EZ
246932000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24694
24695 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 24696 gdbtk/library directory, not in gdbtcl2.
853819b8 24697
dfcd3bfb
JM
246982000-02-04 Jim Blandy <jimb@redhat.com>
24699
24700 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24701 backslash from regexp pattern.
24702
24703 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24704 procedure. Use it to run all the "continue to bp overloaded"
24705 tests. Note that this changes the names of the tests slightly.
24706 If the breakpoint hit message includes a hex PC value, because
24707 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24708 from the real source code, still consider that a pass.
24709
24710 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24711 XFAIL here if the breakpoint message contains a hex address. Note
24712 similar change on 1999-11-02.
24713
24714 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24715
24716 * gdb.base/ptype.exp: Establish a default source file before
24717 calling get_debug_format.
24718
247192000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24720
24721 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24722
8b93c638
JM
247232000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24724
24725 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24726 of successive stepi commands -- while in the prologue we should see
24727 the function entry bracket.
24728
247292000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24730
24731 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24732 reach __change_mode() when stepping through the end of main().
24733
c5394b80
JM
247342000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
24735
24736 * gdb.base/default.exp: Fix expected pattern.
24737 * gdb.base/help.exp: Same.
24738
0d06e24b
JM
247392000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24740
24741 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 24742 Don't use xfail's because that affects only the following test.
d63a86f8 24743
0d06e24b 24744 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 24745 solaris or linux.
0d06e24b
JM
24746
24747 * gdb.base/selftest.exp: Update to reflect changes to main.c.
24748
dc96c6c7 247492000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 24750
d63a86f8 24751 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
24752 "A syntax error" rather than "A parse error". Accept both.
24753
247542000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
24755
24756 * gdb.base/default.exp: Remove OS dependent string from "target
24757 remote" test.
24758 * gdb.base/help.exp: Same for "help target remote" test.
24759
c3f6f71d
JM
247602000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24761
24762 From Jim Kingdon <kingdon@redhat.com>:
24763
24764 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
24765 prompt (cleanup rather than necessity, but still might keep output
24766 from spilling to next test).
c3f6f71d
JM
24767
247682000-01-02 Fred Fish <fnf@cygnus.com>
24769
24770 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24771 AIX, which defines them in <sys/types.h>.
24772
ed9a39eb 247731999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 24774
ed9a39eb 24775 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 24776 float" test.
ed9a39eb
JM
24777
247781999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 24779
ed9a39eb 24780 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
24781
24782 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24783 outermost frame disallowed".
24784
247851999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
24786
24787 * gdb.base/setvar.exp: New tests for setting the value of a struct
24788 with a constant list.
24789
247901999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24791
24792 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24793 require the user to type a cast before setting the value of a struct.
24794
de57eccd
JM
247951999-12-06 Jim Blandy <jimb@cygnus.com>
24796
24797 * gdb.base/default.exp: Expect the new 'info float' command on
24798 all i386 platforms.
24799
24800 * gdb.threads/linux-dp.exp: Expand our ability to recognize
24801 LinuxThreads libraries that don't support debugging.
24802
c2d11a7d
JM
24803Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24804
24805 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
24806 Change the buffer type to ``unsigned char'' to simplify size
24807 arithmetic.
c2d11a7d
JM
24808
24809 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
24810 stub only handles 400-1 byte packets. Verify that the download
24811 worked.
c2d11a7d
JM
24812
248131999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
24814
24815 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24816 tests, using UNRESOLVED for the untested cases. Also, does not wait
24817 for a timeout if the prompt was received before a recognizable pattern.
24818
248191999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
24820
24821 * lib/gdb.exp (gdb_expect_list): Fix spelling.
24822
248231999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24824
24825 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 24826 watchpoints.
c2d11a7d
JM
24827
248281999-11-24 Jason Merrill <jason@casey.cygnus.com>
24829
24830 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24831
24832 * gdb.c++/local.exp: Be more flexible in recognizing local class
24833 name mangling. Don't allow horribly truncated method names.
24834 * gdb.c++/derivation.exp: Expect protected inheritance.
24835 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24836 * gdb.c++/virtfunc.exp: Likewise.
24837 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
24838 when printing a nested enum.
24839
248401999-11-22 Jim Blandy <jimb@cygnus.com>
24841
24842 * gdb.base/step-test.exp: Properly await GDB's response to setting
24843 a breakpoint on the call to large_struct_by_value.
24844
24845 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24846 just because we have debug info for the `start' function.
24847
248481999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24849
24850 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24851 "Unknown signal" messages, which indicate (on LinuxThreads) that
24852 GDB doesn't know how to debug threads on this system. This is
24853 better than hanging while philosopher 0 dumps chatter into gdb.log.
24854
248551999-11-18 Tom Tromey <tromey@cygnus.com>
24856
24857 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24858
248591999-11-18 Fred Fish <fnf@cygnus.com>
24860
24861 * gdb.base/coremaker2.c: Add sample program for generating
24862 cores that is more self contained than coremaker.c. Eventually
24863 I'll add more code to this and tie it into the testsuite.
24864
4ce44c66
JM
248651999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24866
24867 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24868
248691999-11-10 Jimmy Guo <guo@cup.hp.com>
24870
24871 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 24872 from $srcdir/lib/.
4ce44c66 24873 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 24874 and gdb.c++/.
4ce44c66
JM
24875
24876 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24877
d63a86f8 24878 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
24879 'continue with watch' test point.
24880
248811999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24882
24883 Merged from p2linux-990323-branch:
d63a86f8 24884
4ce44c66
JM
24885 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24886
11cf8741
JM
24887Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24888
24889 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 24890 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
24891
24892Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24893
24894 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 24895 gdb_expect_list.
11cf8741
JM
24896
24897Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24898
24899 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24900
249011999-11-03 Mark Salter <msalter@cygnus.com>
24902
24903 * gdb.base/break.exp: Fix "stub continue" pattern.
24904
249051999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24906
24907 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24908
249091999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24910
24911 * gdb.base/display.exp ("finish"): Add timeout clause.
24912
24913 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24914 plain prompt clause, so this doesn't have to time out in order to
24915 fail.
24916
24917 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 24918 breakpoint hit messages include an address.
11cf8741
JM
24919
24920 * gdb.base/display.exp: Don't forget to escape parens in regular
24921 expressions. Unix regexp notatation sucks.
24922
249231999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24924
24925 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 24926 order for 'signalled' message.
11cf8741 24927
5c44784c
JM
249281999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24929
24930 From Jimmy Guo <guo@cup.hp.com>:
24931 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24932 * gdb.base/annota1.c: Add code for tests to work with.
24933
249341999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24935
24936 * gdb.base/remote.exp: New test for remote downloading settings.
24937 * gdb.base/remote.c: New file with large .data.
24938
917317f4
JM
249391999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24940
24941 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24942 for LinuxThreads support, merged from the Code Fusion branch.
24943
24944Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24945
24946 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
24947 containing exp_continue into a while within an expect. Don't
24948 attempt a start more than three times. Check return value from
24949 gdb_load.
d63a86f8 24950
2df3850c
JM
24951Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24952
24953 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 24954 a pass case.
2df3850c 24955
2acceee2
JM
249561999-10-01 Kevin Buettner <kevinb@cygnus.com>
24957
24958 * gdb.base/break.c (main): Added a statement that we can step
24959 off of.
24960 * gdb.base/break.exp: Added tests for setting a breakpoint
24961 at an offset and stepping onto a breakpoint.
24962
249631999-10-01 Fred Fish <fnf@cygnus.com>
24964
d63a86f8 24965 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
24966 gdb output.
24967
c2c6d25f
JM
249681999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24969
24970 * gdb.base/break.exp: Code locations are in hex, don't forget!
24971 (For HP-UX.)
24972
249731999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24974
24975 * condbreak.exp: Use break.c as test program.
24976 * condbreak.c: Remove, redundant with break.c.
24977
249781999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24979
24980 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 24981 Z-packets if the target needs it.
c2c6d25f
JM
24982
249831999-09-13 James Ingham <jingham@leda.cygnus.com>
24984
24985 * gdb.c++/overload.exp: Added tests for listing overloaded
24986 functions with function pointers in the arg, explicitly calling
24987 out the version you want.
24988
cff3e48b
JM
249891999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24990
24991 * long_long.exp: Add variations of test cases that work for
24992 targets with 16-bit ints and 32-bit doubles.
24993
d4f3574e
SS
249941999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24995
24996 * break.c (main): Compare a possibly-uninitialized argc with an
24997 unlikely value that fits in 16 bits.
24998
249991999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25000
25001 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25002 0xfeeb, don't want negative numbers if ints are 16 bits.
25003
25004 * lib/gdb.exp (skip_cplus_tests): New proc.
25005 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
25006 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25007 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25008 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25009 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25010 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25011 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25012 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
25013
25014 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25015
25016Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25017
25018 * gdb.base/corefile.exp (up): Allow a parameter to appear
25019 in the frame that we're going up to.
25020
25021 From Jim Blandy <jimb@cygnus.com>:
25022
25023 * gdb.base/default.exp (info float): Expect some output now.
25024
25025 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25026 returning floating-point values to fail on the x86.
25027 * gdb.base/callfwmall.exp (do_function_calls): Same.
25028
25029 * gdb.base/list.exp (test_listsize): Correct expectations for
25030 listing line 1 with listsize 2. Also, listing a single line
25031 works now, as does listing three lines. [Kevin's note: There
25032 were a number of other cases fixed too where the expectations
25033 differed...]
25034
250351999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25036
25037 * gdb.base/selftest.exp: Add case for when version prints as
25038 constant string instead of char pointer.
25039
104c1213
JM
250401999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25041
25042 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 25043 stepping out of main.
104c1213
JM
25044
25045 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25046 G++ used.
25047
25048 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 25049 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
25050
25051 * gdb.c++/ovldbreak.exp: Update match string in test that
25052 includes a warning of multiple breakpoints.
25053
250541999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25055
25056 * gdb.base/display.exp: Improve precision of step-after-finish
25057 added yesterday.
25058
25059 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 25060 test.
104c1213
JM
25061
25062 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25063 configs when using G++, not just hppa*.
25064
250651999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25066
25067 * gdb.base/async.c: New file.
25068 * gdb.base/async.exp: New file.
25069
25070Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25071
25072 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25073 PA64.
25074
53a5351d
JM
25075Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25076
104c1213
JM
25077 * gdb.base/display.exp: "finish" can leave us mid-line on many
25078 targets, deal with it. Add a small constant to main, instead of
25079 1000 since main+1000 may not be a valid address in the target.
25080
53a5351d
JM
25081 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25082 on hpux11.
25083
25084 * gdb.base/attach.exp: Handle another hpux11 error message variant
25085 when attaching to a process that does not exist.
25086
250871999-08-19 J.T. Conklin <jtc@redback.com>
25088
25089 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 25090 characters in 'continue to 1241' test.
53a5351d
JM
25091
250921999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25093
25094 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25095 stop in print_long_arg_list, define and use a whitespace
25096 variable in print_small_structs test, add an XFAIL for Solaris.
25097 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25098 interested enough to fix.
25099
7be570e7
JM
251001999-08-13 Keith Seitz <keiths@cygnus.com>
25101
25102 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25103 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25104 proc knows about targets other than the natives.
25105 (test_assign): Use "gdb_run_cmd" to "run" the target.
25106 Check that we've actually hit the breakpoint at main.
25107 When we attempt to assign a value to a local variable, check
25108 that the variable is in the current scope, i.e., don't use
25109 a test with an empty result.
25110
25111Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25112
25113 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 25114 command.
7be570e7
JM
25115
251161999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25117
25118 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25119 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25120 gdb.compat, gdb.threads-hp.
25121 gdb.hp/configure, gdb.hp/configure.in: New files.
25122 gdb.hp/Makefile.in: Recurse into new subdirs.
25123 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25124 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25125 in object files.
25126 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25127
96baa820
JM
251281999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25129
25130 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 25131 funky printf, remove a bogus p/a test.
96baa820
JM
25132
251331999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25134
25135 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
25136 connected to the target. This is necessary when running not
25137 natively.
96baa820
JM
25138
251391999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25140
25141 * gdb.base/step-test.exp: Removed some extraneous messages.
25142
25143 * gdb.base/long_long.exp: Don't run memory examination tests
25144 on little-endian targets (they will need a different set of
25145 results to match).
25146
251471999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25148
25149 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25150 until somebody decides to fix GDB.
25151
25152 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 25153 constant as "ULL".
96baa820
JM
25154 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25155 matches for a couple x/2 commands.
25156
a0b3c4fd
JM
251571999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25158
25159 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25160 by merging in ref-types2 tests.
25161 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25162
25163 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25164 * gdb.c++/Makefile.in: Add standard actions.
25165 (EXECUTABLES): Rename from PROGS, update list.
25166 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25167 from gdb.hp.
25168 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25169 foo and bar locals.
25170 * gdb.c++/anon-union.exp: Fix tests to match.
25171 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25172 expect matches to handle output variations.
25173 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25174 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 25175 output, add HP alternatives for new and delete prints.
a0b3c4fd 25176 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 25177 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
25178 * gdb.c++/demangle.exp: Use $style when reporting failure.
25179 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25180 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25181 match alternatives.
25182 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 25183 compilers.
a0b3c4fd
JM
25184 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25185 * gdb.c++/method.exp: Add match alternatives.
25186 * gdb.c++/misc.cc: Add bool types.
25187 * gdb.c++/misc.exp: Add tests for bool types.
25188 * gdb.c++/overload.exp: Add xfails.
25189 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25190 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25191 add some more template parameter tests (only for HP currently).
25192 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25193 * gdb.c++/virtfunc.cc: Add return type and value for main.
25194 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25195 match alternatives.
d63a86f8 25196
a0b3c4fd
JM
251971999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25198
25199 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25200
252011999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25202
25203 * gdb.base/signals.exp: Don't expect getting a backtrace from
25204 within a signal handler to fail on Linux.
25205
252061999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25207
25208 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25209 * lib/gdb.exp: Remove some gratuitious semicolons.
25210 (delete_breakpoints): Increase timeout.
25211 (gdb_expect): Add -notransfer option.
25212 (gdb_test): Use -notransfer option.
25213 (get_compiler_info): Add f77 case.
25214 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 25215 case.
a0b3c4fd
JM
25216 (gdb_preprocess): Call get_compiler.
25217
25218 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25219 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
25220 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25221 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25222 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25223 third arg to gdb_test.
a0b3c4fd
JM
25224 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25225 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 25226 HP-UX xfails, add others.
a0b3c4fd
JM
25227 * gdb.base/completion.exp: Reflect name change of self-test.
25228 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
25229 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25230 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25231 HP failure number.
a0b3c4fd
JM
25232 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25233 useless HP-UX 10.30 references.
25234 * gdb.base/maint.exp: Loosen matches.
25235 * gdb.base/pointers.c (main): Declare more_code.
25236 * gdb.base/pointers.exp: Match on output of a `next'.
25237 * gdb.base/structs.c: Add prototypes.
25238 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25239 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25240
252411999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25242
25243 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 25244 command.
a0b3c4fd
JM
25245
252461999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25247
25248 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25249 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
25250
25251 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
25252 debug info. Deal with lack of signal hanlder info in stack.
25253
a9c64011 25254 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
25255 * gdb.base/annota1.exp: If printf has debug info, deal with it.
25256
5a2468f5
JM
252571999-07-19 Stan Shebs <shebs@andros.cygnus.com>
25258
25259 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 25260 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 25261
adf40b2e
JM
25262Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25263
25264 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 25265 a1-selftest.exp.
adf40b2e
JM
25266 * gdb.base/configure: Re-generate.
25267
252681999-07-12 Stan Shebs <shebs@andros.cygnus.com>
25269
25270 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
25271 in trying to run first and name is too long.
25272
25273 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
25274 pointers2.c and pointers2.exp, respectively.
25275 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
25276 doschk happier.
25277
43e526b9
JM
252781999-07-08 Stan Shebs <shebs@andros.cygnus.com>
25279
25280 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
25281 callfuncs2.c and callfuncs2.exp.
25282
25283 * gdb.base/list.exp: Remove mistaken xfails.
25284 * gdb.base/list0.h: Add optional prototypes.
25285
9846de1b
JM
25286Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
25287
a9c64011 25288 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 25289 calling malloc.
a9c64011
AS
25290 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
25291 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 25292 use.
9846de1b
JM
25293
252941999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25295
25296 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
25297 * gdb.base/annota2.cc, annota2.exp: Move from here.
25298 * gdb.c++/annota2.cc, annota2.exp: To here.
25299 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
25300
43ff13b4
JM
25301Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
25302
25303 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 25304 a consistent format.
43ff13b4 25305
085dd6e6
JM
253061999-06-25 Stan Shebs <shebs@andros.cygnus.com>
25307
25308 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25309 * lib/gdb.exp (get_compiler_info): Add detection for assorted
25310 HP compilers, also set the globals $true and $false.
25311
25312 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
25313 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
25314 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
25315 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
25316 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
25317 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
25318 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
25319 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
25320 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
25321 whatis.c} Add C++ compatible function definitions and return
25322 types, add includes for library functions.
085dd6e6
JM
25323 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
25324 * gdb.base/step-test.c (myglob): Rename from glob.
25325 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
25326 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
25327 files, move here from gdb.hp.
085dd6e6 25328 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
25329 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
25330 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
25331 Adjust line numbers in regexps.
085dd6e6
JM
25332
25333 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
25334 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
25335 instead of 0/1.
25336
25337 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
25338 foll-vfork.exp: New files, move here from gdb.hp.
25339 * gdb.base/page.exp: New file, test of pagination command.
25340
25341 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
25342 recursion test.
25343 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
25344
25345 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 25346 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
25347
25348 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 25349 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 25350 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 25351 watchpoint test.
085dd6e6
JM
25352 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
25353 them work.
25354 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
25355 expressions properly.
25356 * gdb.base/corefile.exp: Loosen the match slightly.
25357 * gdb.base/default.exp: Allow "Error accessing memory" message
25358 also.
25359 * gdb.base/display.exp: Skip over x/0 j if PA64.
25360 * gdb.base/funcargs.exp: Add xfails for HP-UX.
25361 * gdb.base/interrupt.exp: Ditto.
25362 * gdb.base/langs.exp: Add symbolic matches governed by compiler
25363 in use.
25364 * gdb.base/list.exp: Add xfails for HP-UX.
25365 * gdb.base/long_long.exp: Refine some of the numeric matches.
25366 * gdb.base/mips_pro.exp: Xfail on HP-UX.
25367 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
25368 * gdb.base/nodebug.exp: Succeed on more varieties of output.
25369 * gdb.base/opaque.exp: Remove some HP-UX xfails.
25370 * gdb.base/ptype.exp: Succeed on more varieties of output.
25371 * gdb.base/scope.exp: Add xfails for HP-UX.
25372 * gdb.base/sect-cmd.exp: Add more cases.
25373 * gdb.base/setvar.exp: Add xfails for HP-UX.
25374 * gdb.base/shlib-call.exp: Loosen some matches slightly.
25375 * gdb.base/signals.exp: Match on void symbolically.
25376 * gdb.base/step-test.exp: Add case for PA64.
25377 * gdb.base/term.exp: Add exit and restart.
25378 * gdb.base/twice.exp: Clean up after self.
25379 * gdb.base/varargs.exp: Disable overload resolution explicitly.
25380 * gdb.base/whatis.exp: Allow more ways to pass tests.
25381
25382 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 25383 no longer useful.
085dd6e6
JM
25384
25385Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
25386
25387 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 25388 list of patterns.
085dd6e6 25389 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
25390 print_double_array(double_array)", "continuing to breakpoint
25391 1018", "print print_double_array(array_d)" and "continuing to
25392 1034" tests.
d63a86f8 25393
085dd6e6
JM
253941999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
25395
a9c64011 25396 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
25397
253981999-06-24 Stan Shebs <shebs@andros.cygnus.com>
25399
25400 * config/mt-*: Remove, these haven't been used since 1996.
25401
254021999-06-22 Stan Shebs <shebs@andros.cygnus.com>
25403
25404 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 25405 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
25406 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
25407
9e0b60a8
JM
254081999-06-18 Stan Shebs <shebs@andros.cygnus.com>
25409
25410 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
25411 simpler match case for the ptype of the big class.
25412
254131999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25414
25415 * gdb.exp: Fix test for gdb_prompt existence.
25416
254171999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25418
25419 * gdb.exp (gdb_test): Add fail after calls to perror.
25420
254211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25422
25423 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
25424
254251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25426
25427 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
25428
0f71a2f6
JM
25429Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
25430
25431 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 25432 malloc() is linked in.
0f71a2f6
JM
25433
254341999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25435
25436 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
25437 step at end.
25438
25439 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
25440
254411999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
25442
25443 * gdb.java/jv-print.exp: New file. (Our first Java test!)
25444
cce74817
JM
25445Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
25446
25447 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
25448 * gdb.base/mips_pro.exp: Likewise.
25449
254501999-06-02 Keith Seitz <keiths@cygnus.com>
25451
25452 * gdb.c++/templates.cc: Change all "new" operators to throw
25453 an exception.
25454 * gdb.c++/cplusfuncs.cc: Likewise.
25455
25456 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
25457
25458Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
25459
25460 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
25461 * gdb.base/ending-run.exp: When stepping out of main, accept a
25462 step into an arbitrary assembler file.
cce74817 25463
392a587b
JM
254641999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25465
d63a86f8 25466 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 25467 "breakpoint-invalid" to be printed.
6fdff2c5
PA
25468 * gdb.base/annota2.exp: Revise line number for main
25469 breakpoint. Allow any number of "frames-invalid" and
25470 "breakpoint-invalid" to be printed.
392a587b
JM
25471 * gdb.base/annota2.cc: Initialize a.x to 0.
25472
9e086581
JM
254731999-05-17 Keith Seitz <keiths@cygnus.com>
25474
6fdff2c5
PA
25475 * gdb.base/call-ar-st.exp: Skip
25476 "print print_double_array (double_array)" when "skip_float_tests" set.
25477 Ditto for "print print_double_array(array_d)",
25478 "print print_small_structs", "print print_ten_doubles", and
25479 "step into print_long_arg_list".
25480 Don't assume we can step into "print_long_arg_list": we could step
25481 into memcpy.
25482 * gdb.base/call-rt-st.exp: Don't run float-related tests when
25483 "skip_float_tests" is set: "print print_one_double(*d1)"
25484 and "print print_two_floats(*f3)".
9e086581
JM
25485 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
25486 "skip_float_tests" is set.
6fdff2c5
PA
25487 * gdb.base/varargs.exp: Skip
25488 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
25489 "skip_float_tests" set.
d63a86f8 25490
cd0fc7c3
SS
254911999-05-06 Keith Seitz <keiths@cygnus.com>
25492
25493 * gdb.base/annota2.cc: Include stdio.h.
25494
25495Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
25496
25497 * gdb.base/crossload.exp: Remove, this has been disabled ever
25498 since BFD stopped including all targets, and cross-GDB gets
25499 plenty of testing anyway.
25500 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
25501 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
25502 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
25503 * gdb.base/README: Remove, was doc for this.
25504 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 25505 needed.
cd0fc7c3 25506
b83266a0
SS
255071999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25508
25509 * gdb.base/call-ar-st.exp: Fix one regular expression in test
25510 output.
25511
25512 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
25513 * gdb.base/annota2.exp: New file. More annotation tests.
25514 * gdb.base/annota1.c: New file. Source file for annota1.exp.
25515 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
25516
255171999-04-23 Angela Marie Thomas <angela@cygnus.com>
25518
25519 * config/cfdbug.exp: New file.
25520
7a292a7a
SS
255211999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
25522
25523 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
25524 Marcus Daniel's and Dale Hawkins's demangler crashes.
25525
25526 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
25527 test_lucid_style_demangling, test_arm_style_demangling,
25528 test_hp_style_demangling): Try Tom Tromey's core-dumping
25529 identifier under each demangling style.
7a292a7a
SS
25530
255311999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
25532
25533 * gdb.c++/demangle.exp: Include the current demangling style
25534 in all test names.
25535 (current_demangling_style): New global variable.
25536 (set_demangling_style, test_demangling_core, test_demangling,
25537 test_demangling_exact): New functions.
25538 (test_gnu_style_demangling, test_lucid_style_demangling,
25539 test_arm_style_demangling, test_hp_style_demangling): Use those,
25540 instead of calling gdb_test and gdb_test_exact directly.
25541 (catch_demangling_errors): New function, which reports errors
25542 signalled by the demangling test functions in an orderly way.
25543 (do_tests): Use catch_demangling_errors.
25544
255451999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
25546
25547 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 25548 grouping in expressions, not {}.
7a292a7a
SS
25549
25550 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 25551 initialized yet.
7a292a7a
SS
25552
255531999-04-01 Stan Shebs <shebs@andros.cygnus.com>
25554
25555 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
25556 are listed.
25557
255581999-03-26 Stan Shebs <shebs@andros.cygnus.com>
25559
25560 * gdb.stabs/weird.exp: Test for CC being defined before
25561 looking at its value.
25562
255631999-03-25 Stan Shebs <shebs@andros.cygnus.com>
25564
25565 * gdb.base/call-ar-st.exp: Remove stray '#'.
25566 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
25567 "short int" and "long int".
25568 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 25569 change, to mollify finicky HP compiler.
7a292a7a
SS
25570 * gdb.hp/reg-test.exp (testfile): Fix file name.
25571 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 25572
7a292a7a
SS
25573 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25574 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25575 alternate form of enum ptype.
25576
c906108c
SS
255771999-03-23 Stan Shebs <shebs@andros.cygnus.com>
25578
7a292a7a
SS
25579 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25580 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
25581 passing skip_hp_tests, so as not to waste time on guaranteed
25582 failure.
7a292a7a 25583
c906108c
SS
25584 * gdb.c++/overload.cc: Pass string instead of char addr, always
25585 init ccpfoo.
25586 * gdb.c++/templates.cc: Fix syntax error.
25587
7a292a7a
SS
25588Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25589
25590 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 25591 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
25592 command.
25593
255941999-03-18 James Ingham <jingham@cygnus.com>
25595
25596 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25597
25598 * gdb.c++/method.exp: It was testing an uninitialized int on the
25599 stack and assuming it was positive.
25600
25601 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25602
25603 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 25604 keep it from killing the rest of the tests.
7a292a7a
SS
25605 Use gdb_continue_to_end.
25606
25607 * gdb.base/sigall.exp: use gdb_continue_to_end.
25608
25609 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25610
25611 * gdb.base/display.exp: use runto_main, not run.
25612
d63a86f8
RM
25613 * gdb.base/default.exp: Check for the current error message in the
25614 r abbreviation test.
7a292a7a
SS
25615 Add strongarm to the targets that know info float.
25616
d63a86f8 25617 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
25618 run which doesn't work with monitors.
25619
6fdff2c5
PA
25620 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25621 1034 test.
7a292a7a
SS
25622
25623 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25624
6fdff2c5
PA
25625 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25626 end of a program. Traps the case (in Cygmon) when the program
25627 never really exits. Same as Mark's continue_to_exit, but I had
25628 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
25629
25630 * config/monitor.exp (gdb_target_monitor): added another
25631 target_info parameter: remotebinarydownload. This will set the
25632 remotebinarydownload flag if this is causing some boards trouble.
25633
256341999-03-18 Mark Salter <msalter@cygnus.com>
25635
25636 * lib/gdb.exp (continue_to_exit): New function.
25637
25638 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25639 * gdb.base/ending-run.exp: Ditto.
25640 * gdb.base/step-test.exp: Ditto.
25641
256421999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25643
25644 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25645 (suggested by Art Haas <ahaas@neosoft.com>).
25646
256471999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25648
889bf7c5 25649 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
25650
25651Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25652
25653 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 25654 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
25655
256561999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25657
25658 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25659 a call to strlen; sometimes we do have sources.
25660
256611999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
25662
25663 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 25664 character, so GDB won't print garbage after its end.
d63a86f8 25665
c906108c
SS
25666 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25667 breakpoint there instead. Sometimes GCC emits memcpy to handle
25668 the large structures being passed by value, so we step into that
25669 instead of sum_array_print, which obscures what we're really testing.
25670 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
25671 the bizarre steps into memcpy, so do that here. Add check for
25672 stepping into function calls that pass large structures by value.
25673 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
25674 Remove all references to specific line numbers.
25675 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25676 New type and function.
25677 (main): Call large_struct_by_value, passing it a large struct by value.
25678 * lib/gdb.exp (gdb_get_line_number): New function.
25679
25680 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25681 more portable.
25682
7a292a7a
SS
256831999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25684
c906108c
SS
25685 * lib/gdb.exp: Doc fixes.
25686
7a292a7a
SS
256871999-03-05 Nick Clifton <nickc@cygnus.com>
25688
d63a86f8 25689 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
25690
256911999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25692
c906108c 25693 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
25694 commands. They're not germane to this test, and they don't work
25695 that way on remote targets.
c906108c 25696
3fc11d3e
JM
256971999-03-01 James Ingham <jingham@cygnus.com>
25698
25699 * Changelog entries merged over from gdb development branch.
25700
3fc11d3e
JM
25701 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25702
25703 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25704 for outputting results of test run.
25705
2d4a1622 25706 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
25707
25708 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 25709
7a292a7a
SS
257101999-02-25 Felix Lee <flee@cygnus.com>
25711
25712 * lib/gdb.exp (debug_format): initialize
25713
c906108c
SS
257141999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25715
25716 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25717 * gdb.base/call-rt-st.c: Ditto.
25718
c906108c
SS
257191999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25720
25721 * gdb.threads/pthreads.exp (horiz): New variable.
25722 (test_startup): Fix regexps that capture thread numbers.
25723
257241999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25725
25726 * gdb.base/smoke.exp: Disambiguate two test case names (both
25727 called ``print'').
25728
25729Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25730
25731 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 25732 compilation.
c906108c
SS
25733
257341999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25735
25736 * gdb.base/miscexprs.exp: Change patterns to match GDB's
25737 actual output formatting.
25738 * gdb.base/smoke.exp: GDB removes leading 0's.
25739 * gdb.base/volatile.exp: Don't check type of remuneration;
25740 that variable is no longer defined in constvars.c.
25741 * gdb.base/step-test.c (main): Exit with explicit exit code.
25742 * gdb.base/step-test.exp: Remove two nexti checks--they are
25743 not portable.
25744
257451999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25746
25747 * gdb.base/help.exp ("help delete display"): Fix test to match
25748 gdb's output.
25749
25750 * gdb.base/long_long.c (known_types): Initialize values to zero.
25751 * gdb.base/long_long.exp: Step one more line
25752 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
25753 leading zeros. Explicitly ask for hex formatting. Use
25754 unique test case names.
c906108c
SS
25755
25756Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25757
d63a86f8 25758 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
25759
25760 * gdb.c++/method.exp: Add missing close brace.
25761
257621999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
25763
25764 * gdb.base/maint.exp: Use 'set height 0' to disable page
25765 prompting, not 'set height 400'.
25766
25767 Fix a bunch of timeouts.
25768 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25769 four separate tests, so expect doesn't take forever to match a ton
25770 of text against a regexp with lots of .* forms.
25771 ("maint print psymbols", "maint print symbols"): Make some of
25772 these greps more selective, so that expect doesn't try to wade
25773 through huge piles of output and time out.
25774
25775 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25776
25777 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
25778 tests: one which doesn't expect shlib events to be reported, and
25779 another which does, but is XFAIL for all platforms other than
25780 HP/UX.
c906108c
SS
25781
25782 * gdb.base/break.exp: Teach the test suite that the `catch
25783 fork', `catch vfork', and `catch exec' commands produce error
25784 messages on platforms that don't provide these features.
25785
25786Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25787
25788 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
25789 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25790 (shortening names from solib_threshold.exp etc), won't run on
25791 anything but HP-UX for the foreseeable future.
c906108c 25792 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 25793 reflect move.
c906108c
SS
25794
25795Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
25796
25797 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 25798 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
25799
25800Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
25801
25802 * gdb.base/shlib-call.exp: add test cases to verify that gdb
25803 successfully re-sets breakpoints in shared libraries.
25804 * gdb.base/shmain.c (main): return 0, don't fall off the end.
25805
25806Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25807
d63a86f8
RM
25808 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25809 and compiled w/o GCC.
c906108c
SS
25810
25811 * gdb.hp/watch-cmd.exp: ditto.
25812
25813 * gdb.hp/watch-hp.exp: ditto.
25814
25815 * gdb.hp/xdb1.exp: ditto.
25816
25817 * gdb.hp/xdb2.exp: ditto.
25818
25819 * gdb.hp/dbx.exp: ditto.
25820
25821Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
25822
25823 * constvars.c: Remove C++-isms.
25824 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 25825 with GCC.
c906108c
SS
25826
25827Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
25828
25829 The following changes are part of the HP merge.
25830
25831 * gdb.base/break.exp: new tests to verify that catchpoints for
25832 fork, vfork, and exec don't trigger inappropriately.
25833
25834 * gdb.base/opaque.exp: compile one file at a time, then link.
25835
25836 * gdb.base/signals.exp: be more restrictive about which hppa
25837 systems receive a setup_xfail. new tests.
25838
25839 * gdb.base/solib_threshold.build: new file.
25840 * gdb.base/solib_threshold.exp: new file.
25841 * gdb.base/solib_threshold.link_opts: new file.
25842 * gdb.base/solib_threshold.mk: new file.
25843 * gdb.base/gen_solib_threshold.c: new file.
25844
25845 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25846 tests. New tests for enums inside classes.
25847
25848 * gdb.c++/compiler.cc: indicate support of template debugging.
25849
25850 * gdb.c++/demangle.exp: run hp style demangling tests.
25851
25852 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25853 tests.
25854
25855 * gdb.c++/misc.cc: changes to support new tests.
25856
25857 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25858 to support new tests.
25859
25860 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25861 gcc, then skip these tests.
25862
25863Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25864
25865 The following files are part of the HP merge; some had longer
25866 names at HP, but have been renamed to be no more than 14
25867 characters in length.
25868
25869 * gdb.hp/ambiguous.cc: new file.
25870 * gdb.hp/ambiguous.exp: new file.
25871 * gdb.hp/attach.exp: new file.
25872 * gdb.hp/attach2.exp: new file.
25873 * gdb.hp/classes-hp.exp: new file.
25874 * gdb.hp/ctti.exp: new file.
25875 * gdb.hp/ctti-add.cc: new file.
25876 * gdb.hp/ctti-add1.cc: new file.
25877 * gdb.hp/ctti-add2.cc: new file.
25878 * gdb.hp/ctti-add3.cc: new file.
25879 * gdb.hp/dbx.exp: new file.
25880 * gdb.hp/exception.cc: new file.
25881 * gdb.hp/exception.exp: new file.
25882 * gdb.hp/foll-exec.c: new file.
25883 * gdb.hp/foll-exec.exp: new file.
25884 * gdb.hp/foll-fork.c: new file.
25885 * gdb.hp/foll-fork.exp: new file.
25886 * gdb.hp/foll-vfork.c: new file.
25887 * gdb.hp/foll-vfork.exp: new file.
25888 * gdb.hp/inherit-hp.exp: new file.
25889 * gdb.hp/more-steps.exp: new file.
25890 * gdb.hp/namespace.cc: new file.
25891 * gdb.hp/namespace.exp: new file.
25892 * gdb.hp/optimize.exp: new file.
25893 * gdb.hp/pxdb.c: new file.
25894 * gdb.hp/pxdb.exp: new file.
25895 * gdb.hp/quicksort.exp: new file.
25896 * gdb.hp/reg-test.exp: new file.
25897 * gdb.hp/reg-test.s: new file.
25898 * gdb.hp/sized-enum.c: new file.
25899 * gdb.hp/sized-enum.exp: new file.
25900 * gdb.hp/start-stop.exp: new file.
25901 * gdb.hp/templ-hp.cc: new file.
25902 * gdb.hp/templ-hp.exp: new file.
25903 * gdb.hp/thr-lib.c: new file.
25904 * gdb.hp/thr-lib.exp: new file.
25905 * gdb.hp/thr-lib.h: new file.
25906 * gdb.hp/thr-liblib.c: new file.
25907 * gdb.hp/virtfun-hp.c: new file.
25908 * gdb.hp/virtfun-hp.exp: new file.
25909 * gdb.hp/watch-cmd.exp: new file.
25910 * gdb.hp/watch-hp.exp: new file.
25911 * gdb.hp/xdb1.exp: new file.
25912 * gdb.hp/xdb2.exp: new file.
25913 * gdb.hp/xdb3.exp: new file.
25914
25915Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25916
25917 The following files are part of the HP merge; some had longer
25918 names at HP, but have been renamed to be no more than 14
25919 characters in length.
25920
25921 * gdb.base/ss.h: new file.
25922 * gdb.base/call-ar-st.c: new file.
25923 * gdb.base/call-ar-st.exp: new file.
25924 * gdb.base/call-rt-st.c: new file.
25925 * gdb.base/call-rt-st-exp: new file.
25926 * gdb.base/call-strs.exp: new file.
25927 * gdb.base/ena-dis-br.exp: new file.
25928 * gdb.base/environ.exp: new file.
25929 * gdb.base/long_long.exp: new file.
25930 * gdb.base/sect-cmd.exp: new file.
25931 * gdb.base/shlib-cl2.exp: new file.
25932 * gdb.base/smoke.exp: new file.
25933 * gdb.base/so-impl-ld.c: new file.
25934 * gdb.base/so-impl-ld.exp: new file.
25935 * gdb.base/so-indr-cl.c: new file.
25936 * gdb.base/so-indr-cl.exp: new file.
25937 * gdb.base/varargs.exp: new file.
25938 * gdb.base/volatile.exp: new file.
25939 * gdb.base/whatis-exp.exp: new file.
7a292a7a 25940 * gdb.base/display.exp: new file.
c906108c
SS
25941 * gdb.c++/derivation.exp: new file.
25942 * gdb.c++/local.exp: new file.
25943 * gdb.c++/member-ptr.exp: new file.
25944 * gdb.c++/overload.exp: new file.
25945 * gdb.c++/ovldbreak.exp: new file.
25946 * gdb.c++/ref-types.exp: new file.
25947 * gdb.c++/ref-types2.exp: new file.
25948 * gdb.c++/userdef.exp: new file.
d63a86f8 25949
c906108c
SS
25950Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25951
25952 * gdb.base/default.exp: Reflect wording change in remote.c.
25953
dc96c6c7 25954Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25955
25956 * gdb.base/help.exp: Update to reflect current text.
25957
25958Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25959
25960 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25961 they're stack variables and contain garbage.
25962 * gdb.c++/anon-union.exp: new file.
25963
25964 The following changes were made by David Taylor
889bf7c5
PA
25965 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25966 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25967 in changes by HP.
c906108c
SS
25968
25969 * gdb.base/bitops.exp: new file.
25970 * gdb.base/default.exp: change expected messages for catch and
25971 info catch tests to reflect HP merge changes.
25972 * gdb.base/enable-disable-break.exp
25973 * gdb.base/ending-run.c: new file.
25974 * gdb.base/long_long.c: new file.
25975 * gdb.base/maint.exp: new file.
25976 * gdb.base/pointers2.exp: new file.
25977 * gdb.base/shlib-call2.exp: new file.
25978 * gdb.base/solib.exp: new file.
25979 * gdb.base/step-test.c: new file.
25980 * gdb.c++/anon-union.cc: new file.
25981 * gdb.c++/local.cc: new file.
25982 * gdb.c++/member-pointer.cc: new file.
25983 * gdb.c++/method.cc: new file.
25984 * gdb.c++/ref-types.cc: new file.
25985 * gdb.c++/ref-types2.cc: new file.
25986 * gdb.c++/userdef.cc: new file.
d63a86f8 25987
c906108c
SS
25988 * gdb.base/scope.exp: compile one file at a time, then link.
25989 * gdb.base/langs.exp: ditto.
25990 * gdb.base/list.exp: ditto.
d63a86f8 25991
c906108c
SS
25992Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25993
25994 The following changes were made by David Taylor
889bf7c5
PA
25995 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25996 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25997 in changes by HP.
d63a86f8 25998
c906108c
SS
25999 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26000 skip tests. When compiling pass c++ flag to gdb_compile.
26001 * gdb.c++/
d63a86f8 26002
c906108c
SS
26003 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26004 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26005 (skip_hp_tests): new function.
26006 (gdb_preprocess): new function.
26007
26008 * configure.in (hpdir): decide whether to configure gdb.hp.
26009 * configure: regenerated.
26010
26011 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26012 to delete on clean.
26013 (EXECUTABLES): update to reflect new additions.
26014 * gdb.base/commands.exp: update message expected.
26015 * gdb.base/default.exp: add copyright notice.
26016 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26017 * gdb.base/help.exp: update messages to reflect current text.
26018 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26019 targets for recurse tests.
26020 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26021 skip this file.
26022
26023 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26024 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26025 compilation.
26026 * gdb.c++/misc.exp: ditto.
26027 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26028 run the tests. tell gdb_compile that it's a c++ compilation.
26029
26030 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 26031
c906108c
SS
26032 * gdb.base/all-bin.exp: new file.
26033 * gdb.base/arithmet.exp: new file.
26034 * gdb.base/assign.exp: new file.
26035 * gdb.base/completion.exp: new file.
26036 * gdb.base/cond-expr.exp: new file.
26037 * gdb.base/condbreak.exp: new file.
26038 * gdb.base/define.exp: new file.
26039 * gdb.base/dollar.exp: new file.
26040 * gdb.base/environment.exp: new file.
26041 * gdb.base/eval-skip.exp: new file.
26042 * gdb.base/jump.exp: new file.
26043 * gdb.base/logical.exp: new file.
26044 * gdb.base/pointers.exp: new file.
26045 * gdb.base/relational.exp: new file.
26046 * gdb.base/section_command.exp: new file.
26047 * gdb.base/whatis-expr.exp: new file.
26048
26049 * gdb.base/all-types.c: new file.
26050 * gdb.base/call-array-struct.c: new file.
26051 * gdb.base/call-return-struct.c: new file.
26052 * gdb.base/call-strings.c: new file.
26053 * gdb.base/callfuncs2.c: new file.
26054 * gdb.base/condbreak.c: new file.
26055 * gdb.base/constvars.c: new file.
26056 * gdb.base/display.c: new file.
26057 * gdb.base/int-type.c: new file.
26058 * gdb.base/jump.c: new file.
26059 * gdb.base/miscexprs.c: new file.
26060 * gdb.base/pointers.c: new file.
26061 * gdb.base/pointers2.c: new file.
26062 * gdb.base/shmain.c: new file.
26063 * gdb.base/shr1.c: new file.
26064 * gdb.base/shr2.c: new file.
26065 * gdb.base/solib.c: new file.
26066 * gdb.base/solib1.c: new file.
26067 * gdb.base/solib2.c: new file.
26068 * gdb.base/varargs.c: new file.
26069 * gdb.c++/derivation.cc: new file.
26070 * gdb.c++/overload.cc: new file.
26071 * gdb.c++/ovldbreak.cc: new file.
26072 * gdb.hp/attach.c: new file.
26073 * gdb.hp/attach2.c: new file.
26074 * gdb.hp/average.c: new file.
26075 * gdb.hp/compiler.c: new file.
26076 * gdb.hp/compiler.cc: new file.
26077 * gdb.hp/execd-program.c: new file.
26078 * gdb.hp/follow-exec.c: new file.
26079 * gdb.hp/follow-fork.c: new file.
26080 * gdb.hp/follow-vfork-and-exec.c: new file.
26081 * gdb.hp/misc-hp.cc: new file.
26082 * gdb.hp/more-steps.c: new file.
26083 * gdb.hp/optimize.c: new file.
26084 * gdb.hp/quicksort.c: new file.
26085 * gdb.hp/run-hp.c: new file.
26086 * gdb.hp/start-stop.c: new file.
26087 * gdb.hp/sum.c: new file.
26088 * gdb.hp/templates-hp.cc: new file.
26089 * gdb.hp/thread-local-in-lib.c: new file.
26090 * gdb.hp/thread-local-in-lib.h: new file.
26091 * gdb.hp/thread-local-in-lib.lib.c: new file.
26092 * gdb.hp/vforked-program.c: new file.
26093 * gdb.hp/virtfunc-hp.cc: new file.
26094 * gdb.hp/watchpoint-hp.c: new file.
26095 * gdb.hp/xdb.c: new file.
26096 * gdb.hp/xdb0.c: new file.
26097 * gdb.hp/xdb0.h: new file.
26098 * gdb.hp/xdb1.c: new file.
26099
26100Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26101
26102 The following change was made by Edith Epstein
889bf7c5
PA
26103 <eepstein@cygnus.com> as part of a project to merge in changes
26104 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
26105
26106 * gdb.c++/demangle.exp: changed the expected output for some
26107 ARM-style mangling -- removed second reference to datatype.
889bf7c5 26108 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 26109 T1<char>::~T1<char>(void)
c906108c 26110 becomes,
a9c64011
AS
26111 maint demangle __dt__11T1__pt__2_cFv
26112 T1<char>::~T1(void)
c906108c 26113
889bf7c5 26114 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 26115
c906108c
SS
26116Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26117
26118 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26119 * gdb.trace/backtrace.exp: Likewise.
26120 * gdb.trace/circ.exp: Likewise.
26121 * gdb.trace/collection.exp: Likewise.
26122 * gdb.trace/deltrace.exp: Likewise.
26123 * gdb.trace/infotrace.exp: Likewise.
26124 * gdb.trace/limits.exp: Likewise.
26125 * gdb.trace/packetlen.exp: Likewise.
26126 * gdb.trace/passc-dyn.exp: Likewise.
26127 * gdb.trace/passcount.exp: Likewise.
26128 * gdb.trace/report.exp: Likewise.
26129 * gdb.trace/save-trace.exp: Likewise.
26130 * gdb.trace/tfind.exp: Likewise.
26131 * gdb.trace/tracecmd.exp: Likewise.
26132 * gdb.trace/while-dyn.exp: Likewise.
26133 * gdb.trace/while-stepping.exp: Likewise.
26134
261351998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26136
26137 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26138
26139Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26140
26141 From Brendan Kehoe:
26142 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26143 int return types.
26144
26145Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26146
26147 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 26148 remote dos host testing right.
c906108c
SS
26149
26150Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26151
26152 * gdb.base/corefile.exp: remove some xfails.
26153
26154Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26155
26156 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 26157 have different timestamps.
c906108c
SS
26158
26159Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26160
26161 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 26162 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
26163
26164Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26165
26166 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 26167 delta.
c906108c
SS
26168
26169Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26170
26171 * gdb.base/default.exp: Add brace missing from previous delta.
26172
26173Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26174
26175 * gdb.base/default.exp: Support test for info float for all
26176 varieties of arm toolchain.
26177
dc96c6c7 26178Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26179
26180 * gdb.trace/*.exp: remove "remote_download" command.
26181
dc96c6c7 26182Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26183
26184 * gdb.trace/*.exp: remove -gdwarf from compile.
26185
26186Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26187
26188 * gdb.trace/configure.in(AC_INIT): typo
26189 * gdb.trace/configure: regenerated
26190
dc96c6c7 26191Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26192
26193 * config/m68k-emc.exp: New file.
26194 * lib/<emc-support.exp trace-support.exp}: New files.
26195 * configure.in: add new test directory gdb.trace.
26196 * gdb.trace/{configure configure.in Makefile.in}: New files.
26197 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26198 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26199 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26200 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26201 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26202 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26203 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 26204
dc96c6c7 26205Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26206
26207 * gdb.c++/classes.exp: Change all regular expressions to match
26208 arbitrary combinations of newline/carriage-return, so that they
26209 will work equally well on Unix and Windows.
26210 * gdb.c++/inherit.exp: ditto.
26211 * gdb.c++/virtfunc.exp: ditto.
26212
262131998-08-11 Dawn Perchik <dawn@cygnus.com>
26214
26215 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26216
c2d11a7d
JM
26217Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26218
26219 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26220 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26221 to use a0-a3/d0-d3 as needed.
26222
26223Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26224
26225 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26226 * gdb.disasm/am33.exp: Corresponding changes.
26227
c906108c
SS
262281998-07-11 Felix Lee <flee@cygnus.com>
26229
26230 * gdb.base/callfuncs.exp: add cmp10 test.
26231 * gdb.base/callfuncs.c (cmp10): new function.
26232
26233Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
26234
d63a86f8 26235 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
26236 into two parts to get around a synchronization problem in expect.
26237
3fc11d3e
JM
26238Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
26239
26240 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26241
26242 * configure.in: Add options for gdbtk testsuite.
26243
26244 * configure: Regenerate.
26245
26246 * gdb.gdbtk: New directory to hold gdbtk tests.
26247
c906108c
SS
26248Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26249
26250 * gdb.fortran/types.exp: Escape brackets in expect patterns
26251 for test_float_literal_types_accepted tests.
26252 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
26253 before run test.
26254
c2d11a7d
JM
26255Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
26256
26257 * am33.exp: Just compile, do not link the testcase.
26258 * am33.s: Add ".am33" pseudoop to force am33 mode.
26259
c906108c
SS
262601998-06-25 Felix Lee <flee@cygnus.com>
26261
26262 * gdb.base/setshow.exp: make sure $pc is sane.
26263
26264 * gdb.stabs/weird.exp: split expect patterns properly.
26265
c2d11a7d
JM
26266Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
26267
26268 * gdb.disasm/am33.s: New disassembler testfile for the am33.
26269 * gdb.disasm/am33.exp: Run it.
26270
dc96c6c7 26271Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26272
26273 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
26274 match processing (and eliminate spurious timeouts when running).
26275
dc96c6c7 26276Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26277
26278 * gdb.base/signals.exp (test_handle_all_print): put back Mach
26279 exception test, but conditionalize it on target [mach | gnu].
26280
dc96c6c7 26281Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26282
26283 * gdb.base/overlays.exp: fixup compile line for linker script.
26284
26285Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
26286
26287 * gdb.fortran/types.exp: don't guess at float size.
26288
26289Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
26290
26291 * gdb.base/exprs.exp: delete test that depends on int size.
26292
26293Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
26294
26295 * config/sim.exp: Removed checks for target triplets.
26296 (gdb_target_sim): Use gdb,target_sim_options.
26297
26298Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
26299
26300 * gdb.base/reread.exp: New file.
26301 * gdb.base/reread1.c: New file.
26302 * gdb.base/reread2.c: New file.
26303
26304Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
26305
26306 * config/sim.exp: Use 'target sim -sparclite' when running
26307 SPARClite programs.
26308
26309Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
26310
26311 * gdb.base/structs2.exp: New file.
26312 * gdb.base/structs2.c: New file.
26313
26314Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
26315
26316 * gdb.asm/common.inc: New file.
26317 * gdb.asm/d10v.inc: New file.
26318 * asm-source.exp: Pass -I's to gas to find .inc files.
26319 Update line numbers in expected output.
26320 * asmsrc1.s: Rewrite.
26321 * asmsrc2.s: Rewrite.
26322 * configure.in: Create arch.inc symlink.
26323 * configure: Regenerate.
26324 * Makefile.in (distclean): Delete arch.inc.
26325
26326Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
26327
26328 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
26329 (t_enum_value2): ditto
26330 (t_enum_value3): ditto
26331 (main): ditto
c906108c
SS
26332Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26333
26334 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
26335 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
26336 change.
26337 Use gdb_test instead of send_gdb/gdb_expect sequences.
26338
26339Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
26340
26341 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
26342 not void.
26343
26344Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
26345
26346 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
26347 subroutines. Used to test gdbs ability to single step through PC
26348 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
26349
26350Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
26351
26352 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
26353 more rigorous EGCS C++ error checking.
26354
26355Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26356
a9c64011
AS
26357 * gdb.base/help.exp: Clean up `help set args' and `help show args'
26358 tests.
26359 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
26360 function when asleep.
26361 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
26362 for i*86 Linux and SVR4 signal handling problems.
26363 Remove linux xfail for `next to handler in signals_tests_1', fixed
26364 by recent infrun.c change.
26365 Limit backtrace to 10 frames to avoid timeout problems with infinite
26366 stack backtraces.
26367 Adjust expect pattern in `handle all print' test to match Apr 28 1997
26368 target.[ch] change.
c906108c
SS
26369
26370Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
26371
26372 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
26373 for a newline from gdb before continuing.
26374 (default_gdb_exit): Just look for y or n.
26375 (gdb_test): Detect abnormal exit from GDB running on DOS; if
26376 it does, fail the rests of the tests in the file.
26377
26378Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
26379
26380 * config/cygmon.exp: New file.
26381
26382Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
26383
26384 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 26385 main" test on remote targets.
c906108c
SS
26386
26387 * gdb.base/scope.exp: Fix problem with filelocal_bss before
26388 run test on remote targets.
26389
26390Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
26391
26392 * gdb.asm: New directory.
26393 * configure.in: Configure it.
26394 * configure: Regenerate.
26395 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
26396 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
26397
26398Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
26399
26400 * config/mn10300-eval.exp: New file to support MN10300 eval board.
26401
dc96c6c7 26402Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 26403
a9c64011
AS
26404 * gdb.base/overlays (several files): Merge the two overlay
26405 managers into one. Change variables (foox, barx, bazx, grbxx)
26406 back into ints but force them to load in their proper sections.
c906108c
SS
26407
26408Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
26409
26410 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 26411 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
26412 (D10VCopy): Handle memory regions crossing 16k boundaries.
26413 (D10VCopy): Transfer data in 32 bit chunks.
26414
26415Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
26416
26417 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 26418 correct.
c906108c
SS
26419
26420 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 26421 map. Include space for printf in .text segment.
c906108c
SS
26422
26423 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 26424 updated d10v memory VMA/LMA map.
c906108c 26425 (D10VCopy): Call D10VTranslate.
d63a86f8 26426
c906108c
SS
26427Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
26428
26429 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
26430
26431 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
26432 that it won't be put into the .sdata - small data -
26433 section. Update reference.
c906108c
SS
26434 * gdb.base/baz.c (bazx, baz): Ditto.
26435 * gdb.base/foo.c (foox, foo): Ditto.
26436 * gdb.base/grbx.c (grbxx, grbx): Ditto.
26437
26438 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 26439 to be arrays.
d63a86f8 26440
dc96c6c7 26441Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 26442
a9c64011
AS
26443 * gdb.base/overlays.exp: fix up and get working again.
26444 Add tests for backtraces from an overlay function.
d63a86f8 26445
c906108c
SS
26446Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
26447
26448 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
26449 "calling function with watchpoint enabled".
26450
26451Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
26452
26453 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 26454 gdb_suppress_tests for d10v-*-*.
c906108c
SS
26455 * lib/gdb.exp (gdb_suppress_tests): Disable this function
26456 pending review of whether it is useful or not.
26457
26458Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
26459
26460 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
26461
26462Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
26463
26464 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
26465 * config/dve.exp: New file to support Densan boards.
26466
26467Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
26468
26469 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 26470 reads and BSD.
c906108c
SS
26471
26472Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
26473
26474 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
26475 response.
26476
26477 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
26478
26479Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
26480
26481 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 26482 test.
c906108c
SS
26483
26484 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 26485 target_sizeof_long and target_bigendian_p.
c906108c 26486 (structs_by_value, structs_by_reference): Check values according
889bf7c5 26487 to targets word size and endianess.
d63a86f8 26488
c906108c
SS
26489Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
26490
26491 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 26492 output.
c906108c
SS
26493
26494Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
26495
26496 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 26497 Update test of set args help to match source change.
c906108c
SS
26498
26499Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
26500
26501 * gdb.base/default.exp: Expect help system output to be in
26502 alphabetical order.
26503 * gdb.base/help.exp: Ditto.
26504
26505Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
26506
26507 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
26508 "i*86-pc-linux-gnu*".
26509 * gdb.base/interrupt.exp: Ditto.
26510 * gdb.base/corefile.exp: Ditto.
26511
26512 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 26513 define vxworks when building the testcase.
c906108c
SS
26514
26515 * gdb.base/ptype.exp: Fix testnames to be unique.
26516 * gdb.base/radix.exp: Ditto.
26517 * gdb.base/term.exp: Ditto.
26518 * gdb.base/whatis.exp: Ditto.
26519 * gdb.c++/classes.exp: Ditto.
26520
26521Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
26522
26523 * gdb.base/callfuncs.exp: Fix indentation.
26524
26525 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
26526 suppress_flag has been set.
26527 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
26528 target feature.
26529
26530Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
26531
26532 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
26533 the testcase.
26534
26535 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 26536 set_debug_traps() and breakpoint().
c906108c
SS
26537 * gdb.c++/misc.cc (main): Ditto.
26538 * gdb.c++/templates.cc (main): Ditto.
26539 * gdb.c++/virtfunc.cc (main): Ditto.
26540
26541Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
26542
26543 * lib/gdb.exp(gdb_step_for_stub): New function.
26544 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
26545 exists, reload the executable and do a "continue" instead of
26546 doing a jump.
26547 (runto_main): Use gdb_step_for_stub.
d63a86f8 26548
c906108c 26549 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 26550 tests to have unique names.
c906108c
SS
26551 * gdb.base/callfuncs.exp: Ditto.
26552 * gdb.base/commands.exp: Ditto.
26553 * gdb.base/default.exp: Ditto.
26554 * gdb.base/help.exp: Ditto.
26555 * gdb.base/list.exp: Ditto.
26556 * gdb.base/opaque.exp: Ditto.
26557 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
26558 similar tests.
d63a86f8 26559
c906108c
SS
26560 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
26561 * gdb.c++/cplusfuncs.cc: Ditto.
26562 * gdb.c++/virtfunc.cc: Ditto.
26563
26564 * config/monitor.exp: Keep track of the last file we saw, rather
26565 than trying to get the info from gdb.
26566
26567 * gdb.fortran/types.exp: Move comment to previous line.
26568
26569Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
26570
26571 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 26572 target mode.
c906108c
SS
26573
26574Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
26575
26576 From Bob Manson:
26577 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 26578 string from GDB when it connects.
c906108c
SS
26579
26580 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26581
26582Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
26583
26584 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
26585 if we can't get a debug format from GDB (we may be testing an
26586 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
26587
26588 * gdb.stabs/weird.exp: Fix quoting.
26589
26590 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26591
26592Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
26593
26594 * config/arm-ice.exp: New file.
26595
26596Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
26597
26598 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 26599 until it has been modified to work with the new testsuite.
c906108c 26600
99707966 26601 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
26602 testcase won't compile, cause all of the testcases in the file to
26603 fail instead.
c906108c
SS
26604
26605 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26606 (gdb_clear_suppressed): New procedure.
26607 (gdb_stop_suppressing_tests): Only clear suppress_flag if
26608 it contains a positive value.
26609
26610Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
26611
26612 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26613
26614 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26615
26616Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26617
26618 * lib/gdb.exp (setup_xfail_format): New function.
26619 (get_debug_format): New function to get debug format.
26620 (debug_format): New global variable to hold last value set
26621 by get_debug_format.
26622 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 26623 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
26624 * gdb.c++/ptype.exp: Ditto.
26625 * gdb.c++/classes.exp: Ditto.
26626 * gdb.c++/cplusfuncs.exp: Ditto.
26627 * gdb.c++/inherit.exp: Ditto.
26628 * gdb.c++/templates.exp: Ditto.
26629 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 26630
c906108c
SS
26631Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26632
26633 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26634 host doesn't have a currently-open connection.
26635
26636 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
26637 any gdb stub target. Handle cases where gdb doesn't respond when
26638 interrupted in a sane fashion.
c906108c
SS
26639
26640 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 26641 same thing in a totally different way.
c906108c
SS
26642
26643 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 26644 setting "timeout".
c906108c 26645 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 26646 default_gdb_init now.
c906108c
SS
26647
26648Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26649
26650 * gdb.base/printcmds.exp: Fix "check for floating addition"
26651 regexp to accept results within approx +/- .01 of exact value.
26652 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26653
26654Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26655
26656 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 26657 properly.
c906108c
SS
26658 (gdb_expect): Add optional timeout parameter, and add timeout
26659 value to various calls.
26660 (gdb_suppress_tests): Only give one warning message per group.
26661
26662Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26663
26664 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
26665 global variables. Handle getting a value for $timeout more
26666 gracefully.
c906108c
SS
26667
26668Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26669
26670 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 26671 initialize.
c906108c 26672 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 26673 by a target configuration file.
c906108c
SS
26674 (gdb_expect): Pass the timeout to remote_expect.
26675
26676 * config/monitor.exp(gdb_load): Fix typo in regexp.
26677
26678Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26679
26680 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26681
26682Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26683
26684 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
26685 here. Call gdb_target_exec before rebooting the target, to make
26686 sure the connection to the target is closed.
c906108c
SS
26687 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26688 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26689 Also detect "Timeout reading from remote" error.
26690
26691 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
26692 gdb_target_monitor. Don't call gdb_file_cmd here; let
26693 gdb_target_monitor do it.
c906108c
SS
26694
26695 * gdb.disasm/hppa.exp: Don't use exec_output.
26696
26697Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26698
26699 * gdb.base/list.exp: If we're debugging a non-native target,
26700 try to set the pc register to point to the start of the
26701 program before doing the first list command.
26702
26703 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 26704 test_calls after restarting.
c906108c
SS
26705
26706 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 26707 reloading.
c906108c
SS
26708
26709 * gdb.base/watchpoint.exp: Fix typo.
26710
26711 * gdb.base/setshow.exp: Check for use_gdb_stub.
26712
26713 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 26714 stub case.
c906108c
SS
26715 * gdb.base/langs.exp: Ditto.
26716
26717 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
26718 gdb_load_offset. If we weren't given a file to load, figure out
26719 what the current file is and use it.
c906108c
SS
26720
26721 * config/i386-bozo.exp: New file.
26722
26723Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26724
26725 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26726 feature.
26727
26728 * config/proelf.exp: New entry.
26729
26730Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26731
26732 * lib/gdb.exp: Remove spurious .* patterns at the beginning
26733 of regexps.
26734
26735 * gdb.base/watchpoint.exp: Don't run the test_stepping
26736 tests if gdb can't call functions on the target.
26737
26738 * gdb.base/setshow.exp: Don't run the set prompt tests if
26739 the board has gdb_prompt set.
26740
26741Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
26742
26743 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26744 * gdb.base/commands.exp: Likewise.
26745 * gdb.base/setshow.exp: Likewise.
26746
26747Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
26748
26749 * config/monitor.exp(gdb_start): Look for gdb_prompt target
26750 feature.
26751
26752 * config/i960.exp: New file.
26753
26754Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
26755
26756 * gdb.base/funcargs.exp: Check for gdb,short_int target
26757 feature instead of looking for explicit target triplets.
26758
dc96c6c7 26759Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 26760
d63a86f8 26761 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
26762 "p 123DEADBEEF", to check parse_number.
26763 * top.c: change "to enable to enable" to "to enable" in a couple
26764 of help strings.
26765
26766Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
26767
26768 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26769 on the mn10300.
d63a86f8 26770
c906108c
SS
26771Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
26772
26773 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26774 where the test executable is run with explicit args.
26775 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26776
26777Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
26778
26779 * gdb.base/run.c: Use FAKEARGV to build test executable that
26780 does not require a command line arg, since most simulators
26781 don't currently support passing such an arg into the simulated
26782 program.
26783 * gdb.base/commands.exp: Change tests to insert the proper
26784 value as the arg to the first recursive factorial call. Change
26785 compilation line to define FAKEARGV at compile time.
26786
26787Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
26788
26789 * gdb.base/recurse.exp: Enable these tests for the mn10300.
26790 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26791 function with watchpoint enabled" test.
26792
26793Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
26794
26795 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 26796 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
26797
26798 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 26799 "Tests restarted" messages.
c906108c
SS
26800
26801Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
26802
26803 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26804
dc96c6c7 26805Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26806
26807 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26808 for INFO SYMBOL; add help tests for OVERLAY commands.
26809 * gdb.base/default.exp: add tests for INFO SYMBOL command;
26810 add tests for OVERLAY commands
26811 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26812 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26813 * gdb.base/sigall.c: add usestubs code frag
26814 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 26815
c906108c
SS
26816Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
26817
26818 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26819 failures.
26820 (gdb_stop_suppressing_tests): Note that tests have restarted.
26821
26822Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
26823
26824 * config/h8300.exp: New file.
26825
26826Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
26827
26828 * gdb.base/setshow.exp: Check for the existence of a
26829 feature, not its value.
26830
26831Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
26832
26833 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26834
26835 * gdb.base/scope.exp: It's now init0(), not init().
26836
26837 * gdb.base/scope0.c: For now, change init() to be init0().
26838
26839 * config/monitor.exp: Use gdb_serial in preference to serial
26840 or netport.
26841
26842 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 26843 and it's not already set.
c906108c
SS
26844
26845Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
26846
26847 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 26848 isn't using a stub and if it supports argument passing.
c906108c
SS
26849
26850Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26851
26852 * config/udi.exp(gdb_start): Make sure UDICONF is set
26853 properly before starting gdb.
26854
26855Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26856
26857 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26858 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26859 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26860
26861Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26862
26863 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 26864 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
26865
26866 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26867
26868 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26869
26870 * config/monitor.exp: Make sure we disconnect from the target.
26871 Also, try a reboot/reload cycle instead of failing if the
26872 load fails.
26873
26874Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26875
26876 * gdb.base/default.exp: Don't set match_max.
26877 * gdb.base/help.exp: Ditto.
26878 * gdb.base/list.exp: Ditto.
26879 * gdb.base/signals.exp: Ditto.
26880
26881 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26882 set, use remote_ld to download the testcase instead of
26883 the GDB loader.
26884
26885Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26886
26887 * config/vr5000.exp: New file.
26888
26889 * config/monitor.exp(gdb_target_monitor): Add pattern for
26890 "Ending remote" to detect errors in connecting.
26891
26892 * gdb.base/setshow.exp: Add .* within auto language test.
26893
26894 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26895 target feature.
26896
26897 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 26898 and reboot the board if necessary.
c906108c
SS
26899
26900 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26901 a set of tests. Remove print.* from the patterns being checked.
26902
26903Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26904
26905 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26906 refer to gdb_spawn_id.
26907
26908 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26909 longer used.
26910 * config/sparclet.exp: Ditto.
26911 * config/sparclet-old.exp: Ditto.
26912 * config/slite.exp: Ditto.
26913 * config/sim.exp: Ditto.
26914 * gdb.base/funcargs.exp: Ditto.
26915
26916 * lib/gdb.exp:Remove references to gdb_spawn_id.
26917 (gdb_expect): Move to remote.exp.
26918
26919Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26920
26921 * config/monitor.exp: Detect the "Couldn't establish connection"
26922 message from GDB.
26923
26924Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26925
26926 * gdb.base/bitfields.exp: Use runto instead of explicit
26927 gdb_run_cmd/gdb_expect sequences.
26928
26929 * gdb.base/break.exp(text_next_with_recursion): Add match for
26930 gdb_expect call.
26931
26932 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26933 We also need to handle the "A program is being debugged already"
26934 prompt from gdb. Use gdb_test to set the baud rate.
26935
26936 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26937 to 20000. Really. I mean it.
26938
26939Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26940
26941 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
26942 fails. If suppress_flag is set, skip perror message about not
26943 being able to send to GDB.
c906108c 26944 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 26945 GDB.
c906108c
SS
26946 (gdb_expect): If suppress_flag is set, always fail immediately.
26947 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26948 (gdb_init): Call gdb_stop_suppressing_tests.
26949 (default_gdb_exit): Ditto.
26950 (default_gdb_start): Ditto.
26951
26952 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 26953 gdb_stop_suppressing_tests as appropriate.
c906108c 26954 * gdb.base/break.exp: Ditto.
889bf7c5 26955 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
26956 * gdb.base/commands.exp: Ditto.
26957 * gdb.base/exprs.exp: Ditto.
889bf7c5 26958 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
26959 * gdb.base/list.exp: Ditto.
26960 * gdb.base/recurse.exp: Ditto.
889bf7c5 26961 * gdb.base/scope.exp: Ditto.
c906108c
SS
26962 * gdb.base/structs.exp: Ditto.
26963 * gdb.c++/inherit.exp: Ditto.
26964
26965Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26966
26967 * config/vr4300.exp: New file.
26968
99707966 26969 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 26970
99707966 26971 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
26972
26973Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26974
26975 * lib/gdb.exp(gdb_init): New function.
26976
26977 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 26978 for each individual variable set.
c906108c
SS
26979
26980 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26981 name.
26982
26983 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26984
26985 * gdb.base/scope.exp: Use gdb_test.
26986
26987 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26988 aborting; the testsuite driver will do that for us (see
26989 gdb_finish). Also, use gdb_test in a few more places.
26990
26991Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26992
26993 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26994
26995Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26996
26997 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26998 and "add_tests" are not at the same address.
26999
27000Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27001
27002 * gdb.base/ptype.exp: Use gdb_test.
27003
27004Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27005
27006 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27007 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27008 left in. No longer expect them to fail.
27009
27010 * gdb.stabs/*.mt; Deleted, no longer used.
27011 * gdb.stabs/configure.in: Remove references to target makefile
27012 frags.
27013 * gdb.stabs/configure: Rebuilt.
27014
27015 * gdb.disasm/*.mt: Deleted, no longer used.
27016 * gdb.disasm/configure.in: Remove references to target makefile
27017 frags. Use "sh3.s" as the unique filename for this directory.
27018 * gdb.disasm/configure: Rebuilt.
27019
27020 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27021 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27022 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27023
27024Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27025
27026 * config/udi.exp: Use mondfe,name instead of remote_host.
27027
27028Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27029
27030 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27031 a function with a watchpoint enabled on the mn10200.
27032
27033 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27034 before trying to create it!
27035
27036Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27037
27038 * config/vx.exp: Use hostname instead of netport.
27039
27040 * config/vxworks.exp: New file.
27041
27042 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27043
27044 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 27045 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
27046 occurs.
27047
27048 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27049 $gdb_spawn_id directly.
27050 (gdb_run_cmd): Try _start as well as start. Use the target feature
27051 gdb,start_symbol as the symbol to start from when jumping.
27052
27053Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27054
27055 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27056 redundant) test.
27057
27058 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27059 it doesn't lose for 16bit integer systems.
27060
27061Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27062
27063 * gdb.fortran/types.exp: If the target doesn't support "double"
27064 data types, then expect "real" types to only be 4 bytes.
27065
27066 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27067 call tests if the target doesn't support inferior function calls.
27068
27069 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27070 in printf tests.
27071
27072Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27073
27074 * gdb.base/help.exp: Disable "help set", "help show", and
27075 "help support". Simplify regexp for "help stack".
27076
27077 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27078 to 60 seconds. Temporarily set match_max to 15000 around the
27079 "info copying" test.
27080
27081 * gdb.base/nodebug.exp: Don't try to do an inferior function
27082 call if the target doesn't support them.
27083 * gdb.base/printcmds.exp: Likewise.
27084 * gdb.base/setvar.exp: Likewise.
27085 * gdb.base/structs.exp: Likewise.
27086 * gdb.c++/templates.exp: Likewise.
27087 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27088
27089 * gdb.base/recurse.exp: Enable for the mn10200.
27090
27091 * configure.in: Do configure gdb.stabs directory for *-*-elf
27092 targets.
27093 * configure: Rebuilt.
27094
27095 * gdb.base/break.exp: Check for gdb,noresults before testing
27096 exit status and/or results from the target.
27097 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27098 * lib/gdb.exp: Remove old (now bogus) initialization of
27099 noinferior, noargs, noresults and nosignals.
27100
27101Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27102
27103 * config/sh.exp: New file.
27104
27105 * config/slite.exp: Try to connect multiple times to the board
27106 before rebooting. Only send a "monitor run" if need_monitor_run
27107 is set.
27108
27109 * gdb.base/break.exp: Don't do the "stub continue" test if
27110 the target has gdb_stub set.
27111
27112 * gdb.base/callfuncs.exp: Increase the timeout.
27113
27114 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27115 if the target has gdb,noinferiorio set.
27116
27117 * gdb.base/list.exp: Increase match_max to 10000 characters.
27118
27119 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27120
27121 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27122 target.
27123
27124 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27125
27126Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27127
27128 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
27129 trying to delete the copy of gdb. Catch the file delete so we
27130 don't die if the delete fails; also, the file should be copied to
27131 the host, not to the build.
c906108c
SS
27132
27133Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27134
27135 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 27136 parenthesis in case it contains multiple regexps separated
c906108c
SS
27137 with |.
27138
27139 * gdb.base/watchpoint.exp: Use gdb_test.
27140 * gdb.base/default.exp: Ditto.
27141
27142Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27143
99707966 27144 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 27145
c906108c
SS
27146 * gdb.base/scope.exp: Use gdb_test.
27147 * gdb.c++/classes.exp: Ditto.
27148 * gdb.c++/inherit.exp: Ditto.
27149
27150Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27151
27152 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27153 remote_exec instead.
27154 * gdb.base/corefile.exp: Don't be ridiculous.
27155 * gdb.base/*.c: Add missing stub invocations.
27156
27157Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27158
27159 * config/slite.exp: Miscellaneous fixes.
27160
27161 * lib/gdb.exp: Fix runto.
27162
27163 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27164 the target.
27165
27166 * gdb.base/watchpoint.exp: Fix regexp.
27167
27168 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27169 close and wait commands, as the descriptor may now be
27170 invalid. Always call "remote_close host".
27171
27172Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27173
27174 Major rewrite for testsuite revision.
d63a86f8 27175
c906108c
SS
27176 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27177 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27178 instead of relying on spawn_id to always contain a valid
27179 spawn id.
27180 (get_compiler_info): New procedure to build the ${binfile}.ci
27181 file, instead of replicating this in N different places.
27182 (gdb_compile): New procedure.
d63a86f8 27183
c906108c 27184 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
27185 appropriate arguments) instead of compile. Use gdb_test in a lot
27186 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
27187 at the start of a testcase, as this is no longer done magically.
27188
27189 config/*-gdb.exp: Rename without the -gdb suffix.
27190
27191 config/mips.exp: Use remote_close instead of exit_remote_shell.
27192 config/monitor.exp: Use target_info instead of looking at
27193 baud, timeout, etc.
27194 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27195
27196Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27197
27198 * gdb.c++/templates.exp (test_ptype_of_templates),
27199 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27200 Update expect patterns for destructors and assignment operators
27201 to match corresponding c-typeprint.c changes.
27202 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27203 to destructor breakpoint test, GDB should be able to set the
27204 destructor breakpoint without specifying arguments.
27205
27206Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27207
27208 * gdb.threads/pthreads.exp: Change result for failure to compile due
27209 to lack of pthreads runtime support from an error to simply an
27210 unsupported test, per dejagnu standards.
27211
27212Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27213
27214 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27215 where GDB exits to reduce pattern match time.
27216 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27217
27218 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27219
dc96c6c7 27220Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27221
27222 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27223 * gdb.base/default.exp: ditto.
27224 * gdb.base/nodebug.exp: ditto.
27225 * gdb.base/printcmds.exp: ditto.
27226 * gdb.base/ptype.exp: ditto.
27227 * gdb.base/setvar.exp: ditto.
27228 * gdb.base/structs.exp: ditto.
27229 * gdb.base/setshow.c: Guard against uninitialized values of argc.
27230
27231Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
27232
27233 * configure, */configure: Rebuild with autoconf 2.12.
27234
27235Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
27236
27237 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27238 use new i*86-pc-linux*-gnu quads.
27239 * gdb.base/corefile.exp: Ditto.
27240 * gdb.base/signals.exp: Ditto.
27241 * gdb.base/sigall.exp: Ditto.
27242 * gdb.base/interrupt.exp: Ditto.
27243
27244 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27245 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
27246 RedHat 4.0.
d63a86f8 27247
c906108c 27248 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
27249 linux. This allows the test case to at least compile on latest
27250 linux, but still not run due to missing the threads runtime library.
c906108c
SS
27251
27252Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27253
27254 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
27255 directory to search gdb directory. Accept and step over conditional
27256 stack alignment code. Consume $prompt in failure cases.
27257 Reset timeout to $oldtimeout instead of some arbitrary value.
27258 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
27259 timeout problems with infinite stack backtraces.
27260 * gdb.base/ptype.exp (ptype struct link, union tu_link):
27261 Accept function parameters for linkfunc member.
27262
27263Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
27264
27265 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
27266 (CXXFLAGS): Remove, unreferenced.
27267 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
27268 previous -B options and also add -B option to pick up cross compiled
27269 runtime.
c906108c
SS
27270 (TARGET_INCLUDES): Add for -I options and add code to initialize when
27271 doing cross compiles.
27272 (target_alias): Declare global.
27273 (xgcc): Set variable to full path of gcc in build tree. Use findfile
27274 to verify that gcc exists in build tree, and if so set CC to that
27275 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 27276
c906108c
SS
27277Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
27278
27279 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
27280 ptype test for anonymous union. Fixup testcase to match
27281 current gcc debug output.
27282
27283Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
27284
27285 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
27286 force argument to an unsigned long type.
27287
27288Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
27289
27290 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 27291 tests and anonymous union print/ptype tests.
c906108c
SS
27292 * gdb.base/list.exp (test_forward-search): Increase timeout by
27293 5 minutes for the "search extremely long line" case.
27294 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
27295 completely optional and that the pass/fail messages use the command as
27296 the message if that third arg is a null string.
27297 (gdb_test_exact): Arrange that a null string pattern means match a
27298 null string output rather than any output, which might include random
889bf7c5 27299 errors.
c906108c
SS
27300 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
27301 backtrace test.
27302 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
27303 always failing and failure is now exposed by gdb.exp changes.
27304
27305Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
27306
27307 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
27308 weren't being noted.
27309
27310Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27311
27312 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
27313 * gdb.stabs/weird.exp: Remove v_comb xfails.
27314
dc96c6c7 27315Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27316
27317 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 27318 list.exp scope.exp watchpoint.exp]
c906108c 27319 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 27320
dc96c6c7 27321Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27322
27323 * config/monitor.exp: Increase download timeout to 1000 seconds.
27324
dc96c6c7 27325Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27326
27327 * config/m32r.exp: Increase timeout to 120 seconds.
27328
27329Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
27330
27331 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
27332 and accept older ordering as obsolescent gcc or gdb.
27333 * gdb.c++/templates.exp: Ditto.
27334 * gdb.c++/virtfunc.exp: Ditto.
27335
27336Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
27337
27338 * gdb.base/coremaker.c: Add code to mmap some data so we
27339 can check that it ends up in the core file.
27340 * gdb.base/corefile.exp: Add test to read mmapped data
27341 from core file.
27342
dc96c6c7 27343Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27344
27345 * config/m32r.exp: New file.
27346
27347Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
27348
27349 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
27350 that cflags can contains -gstabs, and work correctly for other tests.
27351
dc96c6c7 27352Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27353
27354 * gdb.base/setshow.exp: New file, tests show and set.
27355 * gdb.base/setshow.c: New file, tests show and set.
27356 * gdb.base/help.exp: Add test for help set|show annotate.
27357 * gdb.base/default.exp: Add test for set|show annotate.
27358
27359Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
27360
27361 * testsuite/gdb.base/break.exp: Make backtrace from factorial
27362 errors unique.
27363 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
27364 explicitly.
27365
27366Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
27367
27368 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
27369 and width commands. This is done elsewhere.
27370 * (gdb_start): Don't call gdb_start_sim here. That's already
27371 done in gdb_load. This fixes lots of failures in default.exp.
27372
27373Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
27374
27375 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
27376 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
27377 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
27378 in the same we we treat other failures (since it may be an expected
889bf7c5 27379 condition), rather than as an error.
c906108c
SS
27380 * gdb.base/signals.exp (test_handle_all_print): Revert back to
27381 old test format.
27382
27383Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
27384
27385 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
27386 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 27387 twice. Nuke the duplicates.
c906108c 27388 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 27389 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
27390 Remove config.h along with other config files.
27391
27392Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
27393
27394 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
27395 "p func1 ()" and note that rests of tests are skipped.
27396 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 27397 setup_xfails for "print func2::coremaker_local".
c906108c
SS
27398 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
27399 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
27400 affected by the previous run test.
27401 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
27402 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
27403 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
27404 "pass int powerset tuple" and "pass modeless int powerset tuple".
27405 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
27406 "real write 4" and "real write 8".
27407 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 27408 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
27409 "print \$i after tuple assign 2", and
27410 "print vs2 after tuple assign 2".
27411 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
27412 meaningful error message and return -1 so the caller can
27413 suppress further tests and avoid a cascade of errors.
d63a86f8 27414
c906108c
SS
27415Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
27416
27417 * gdb.base/a1-selftest.exp: Tweak tests to account for new
27418 format for printing version.
27419 * gdb.base/default.exp: Ditto.
27420 * gdb.base/interrupt.exp: Fix problem with cascade of
27421 errors if child process dies while calling a function.
d63a86f8 27422
c906108c
SS
27423Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
27424
27425 * Makefile.in (VPATH): Add
27426 * Makefile.in (Makefile, config.status): Fix rules so things get
27427 remade when necessary.
27428
27429Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
27430
27431 * Makefile.in (just-check): Add path to sibling expect dir
27432 to environment variable specified by RPATH_ENVVAR.
27433
27434Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
27435
27436 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
27437 (just-check): Add shared library paths for libstdc++, tk,
27438 tcl, bfd, and opcodes to the environment variable specified
27439 in RPATH_ENVVAR.
27440 * configure.in: Add support to recognize --enable-shared flag
27441 and generate correct value for RPATH_ENVVAR.
27442 * configure: Regenerated with autoconf.
27443
27444Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
27445
27446 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 27447 include all osf versions.
c906108c
SS
27448 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
27449 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
27450 when target is linux. When failing to build pthreads test
27451 executable, give more meaningful message.
27452 * gdb.threads/pthreads.c: Hpux also uses old definition of second
27453 arg for pthread_create.
d63a86f8 27454
c906108c
SS
27455Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
27456
27457 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 27458 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 27459 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 27460 and -lpthreads (everybody else).
c906108c
SS
27461 (test_startup): Fail gracefully if threads are not supported.
27462 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
27463 "p/c array_index("abcdef",2)" when not gcc compiled.
27464 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
27465 "print func2::coremaker_local" when not gcc compiled.
27466 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
27467 "ptype on opaque struct tagname (statically)",
27468 "ptype on opaque struct tagname (dynamically) 1", and
27469 "ptype on opaque struct tagname (dynamically) 2"
27470 for not compiled with gcc.
27471 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
27472 backtrace when compiled with gcc.
d63a86f8 27473 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
27474 than always return success.
27475
27476Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
27477
27478 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
27479
27480Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
27481
27482 * gdb.base/structs.exp: Undo last change.
27483
27484Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
27485
27486 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
27487 encapsulate all the steps/nexts done during self test, starting
27488 at main, and makes them less sensitive to optimization issues.
27489 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
27490 signal handler" test.
27491 * gdb.threads/pthreads.exp: Only run this for native configs.
27492 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
27493 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
27494 tests.
27495 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
27496 for "runto test_calls(void)" test.
d63a86f8 27497
c906108c
SS
27498Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
27499
27500 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
27501 and don't expect address info in breakpoint confirmations.
27502
27503Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
27504
27505 * gdb.base/list.exp (test_forward_search): Increase timeout
27506 temporarily by 60 seconds for searching extremely long line,
889bf7c5 27507 and then reset to old value when done. Increase expect input
c906108c
SS
27508 buffer to 10000.
27509
27510Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
27511
27512 * gdb.base/list.exp (test_forward_search): Fix to handle very
27513 long source line without overflowing expect's input buffer.
27514
27515Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
27516
27517 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
27518 "buffer_full".
27519
27520 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
27521 "buffer_full".
27522
27523 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
27524 "buffer_full".
27525
27526 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
27527 "buffer_full".
27528
27529Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
27530
27531 * configure.in (configdirs): Add gdb.threads.
27532 * configure: Regenerated with autoconf.
27533 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
27534 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
27535 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 27536
c906108c
SS
27537Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
27538
27539 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
27540
27541Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
27542
27543 * gdb.base/signals.exp (test_handle_all_print): Test separately for
27544 each signal's status in the output of "handle all print".
27545 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
27546 the \r\n sequence that immediately precedes the gdb prompt.
27547 * gdb.base/a1-selftest.exp: Save original timeout and restore
27548 after test.
27549
27550Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
27551
27552 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
27553 symbol.
27554
27555Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
27556
27557 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
27558
27559Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
27560
27561 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
27562 timeout by 60 seconds.
27563
27564Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
27565
27566 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
27567 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
27568 error return.
27569
27570Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
27571
27572 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27573 gdb initialization, also report how long dejagnu waited. Restore
27574 old timeout before doing error return. Temporarily increase timeout
889bf7c5 27575 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
27576
27577Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
27578
27579 * lib/gdb.exp: Report timeout value for verbosity level 2.
27580 * config/gdbserver.exp: Ditto.
27581 * config/hppro.exp: Ditto.
27582 * config/mips-gdb.exp: Ditto.
27583 * config/monitor.exp: Ditto.
27584 * config/netware.exp: Ditto.
27585 * config/sim-gdb.exp: Ditto.
27586 * config/slite-gdb.exp: Ditto.
27587 * config/udi-gdb.exp: Ditto.
27588 * config/unix-gdb.exp: Ditto.
27589 * config/vx-gdb.exp: Ditto.
27590 * gdb.base/a1-selftest.exp: Ditto.
27591 * gdb.base/a2-run.exp: Ditto.
27592 * gdb.base/break.exp: Ditto.
27593 * gdb.base/corefile.exp: Ditto.
27594 * gdb.base/list.exp: Ditto.
27595 * gdb.base/recurse.exp: Ditto.
27596 * gdb.base/scope.exp: Ditto.
27597 * gdb.base/signals.exp: Ditto.
27598
27599Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27600
27601 * gdb.threads/Makefile.in (docdir): Removed.
27602
27603Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27604
27605 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 27606 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 27607 @srcdir@.
d63a86f8 27608 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
27609 autoconf 2.5 or higher.
27610 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27611
27612Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
27613
27614 * configure: Regenerated.
27615 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27616 avoid name clashes with SunOS headers.
27617
27618Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27619
27620 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27621
27622Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27623
27624 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27625 prototype information ends up in the compiler info file.
27626
27627Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27628
27629 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27630 attempting to regenerate it. Eliminate use of a temporary file
27631 and just generate the info file directly. Source it immediately,
27632 for consistency of use.
27633 * gdb.base/corefile.exp: Ditto
27634 * gdb.base/exprs.exp: Ditto.
27635 * gdb.base/funcargs.exp: Ditto.
27636 * gdb.base/langs.exp: Ditto.
27637 * gdb.base/list.exp: Ditto.
27638 * gdb.base/mips_pro.exp: Ditto.
27639 * gdb.base/nodebug.exp: Ditto.
27640 * gdb.base/opaque.exp: Ditto.
27641 * gdb.base/ptype.exp: Ditto.
27642 * gdb.base/scope.exp: Ditto.
27643 * gdb.base/setvar.exp: Ditto.
27644 * gdb.base/signals.exp: Ditto.
27645 * gdb.base/whatis.exp: Ditto.
27646 * gdb.c++/templates.exp: Ditto.
27647 * gdb.c++/virtfunc.exp: Ditto.
27648 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 27649 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
27650
27651Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27652
27653 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27654 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27655 Increase timeout, a lot of single stepping might be needed if the
27656 target has no hardware watchpoints.
27657
27658Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27659
27660 * gdb.base/break.exp: Ignore compiler warnings when compiling
27661 break.c.
27662 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27663 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27664 from remote-sim.
27665 * gdb.base/exprs.exp: Add h8300 xfails.
27666 * gdb.base/funcargs.exp: Likewise.
27667 * gdb.base/nodebug.exp: Likewise.
27668 * gdb.base/printcmds.exp: Likewise.
27669 * gdb.base/ptype.exp: Likewise.
27670 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27671 h8300 xfails.
d63a86f8 27672 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
27673 on the h8300.
27674 * gdb.base/funcargs.c: Explicitly make last constant argument to
27675 call_after_alloca_subr an unsigned long type.
27676 * gdb.base/return.c: Include stdio.h.
27677
27678Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27679
27680 * config/abug.exp: New file for the older Motorola Bug monitor
27681 that runs on the mvme13x series VME boards.
27682 * config/monitor.exp: Use the new config array for target settings
27683 if they exist.
27684
27685Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27686
27687 * sim-gdb.exp: Make the SH simulator allocate less space when
27688 it is targeted.
27689
27690Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27691
27692 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27693 test.
27694
27695Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27696
27697 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27698 "rs6000-*-*" for "list function in include file" when gcc compiled.
27699 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27700 for "p ctable1[120]".
27701 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27702 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27703 Remove setup_xfail for "rs6000-*-*" for
27704 "print 'scope0.c'::filelocal before run".
27705 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27706 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27707 since some compilers don't allow both options to be given
27708 on the same command line. Create object file and move it.
d63a86f8 27709
c906108c
SS
27710Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27711
27712 * gdb.base/corefile.exp: Always regenerate the core file, since
27713 we always regenerate the coremaker program. Detect special case
27714 where registers cannot be read from core file.
d63a86f8 27715
c906108c
SS
27716Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27717
27718 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27719 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27720 * gdb.c++/templates.exp: Only match on basename of file since
27721 some formats like xcoff don't encode directory information.
27722 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27723 and rs6000 AIX xcoff targets.
27724 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27725 * configure: Regenerate.
27726 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27727 here, rather than in distclean.
d63a86f8 27728
c906108c
SS
27729Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27730
27731 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27732 defined, and use it to compile the test case with -O2. The
27733 native compilation still uses no optimization.
27734 * gdb.base/mips_pro.c: Remove inline assembly code since
27735 it is compiled PIC by default, which results in assembler
27736 warnings that make the testsuite think the compilation
27737 was unsuccessful.
27738
27739Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
27740
27741 * gdb.c++/misc.exp: Add note to message for
27742 "print s.a for foo struct" that this is a known gcc 2.7.2
27743 and earlier bug.
27744
27745Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
27746
27747 * gdb.base/break.exp: Fix pattern for matching "Delete all
27748 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
27749 setup_xfail for deleting all breakpoints test. Fix various
27750 timeout messages to include "(timeout)".
27751 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27752 for "p t_float_values2(3.14159,float_val2)".
27753 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27754 for "continue to call2g" when gcc compiled.
27755 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27756 "up to foo in langs.exp", "show language at foo in langs.exp",
27757 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27758 and "show language at fsub in langs.exp".
27759 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27760 "list line 1 in include file", "list message for lines past EOF",
27761 "list function in include file", "list list0.h:foo", and
27762 "list filename:function; nonexistant function".
27763 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27764 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27765 and "ptype t_char_array" to be for native cc only.
d63a86f8 27766
c906108c
SS
27767Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
27768
d63a86f8 27769 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 27770 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 27771 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
27772
27773Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
27774
27775 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27776 "bt in signals.exp". This problem only appears when running
27777 the testsuite, and then only intermittently.
27778
27779Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
27780
27781 * gdb.base/return.exp (return_tests): Differentiate between
27782 two tests of continuing.
27783
27784Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
27785
27786 * */Makefile.in (maintainer-clean): Remove config.log.
27787 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27788 * gdb.c++/Makefile.in (PROGS): Add inherit.
27789 (clean): Remove *.ci.
27790
27791Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
27792
27793 * gdb.c++/misc.cc: Add test code from Mike Stump.
27794 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27795
27796Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
27797
27798 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27799 to "alpha-*-osf2*" and add comment.
27800 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
27801 setup_xfail for "step over execarg initialization" and
27802 "step over corearg initialization".
c906108c
SS
27803 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27804 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27805 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 27806 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
27807 "print func2::coremaker_local", and "backtrace in corefile.exp".
27808 * gdb.base/signals.exp: Build and source signals.ci.
27809 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27810 to be for gcc only.
27811 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 27812
c906108c
SS
27813Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27814
27815 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
27816 Feb 3 procfs.c change.
27817
27818Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
27819
27820 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27821
27822Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
27823
27824 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27825 from dejagnu's apparent default of 10 seconds, which gives random
27826 results when running the tests over NFS on moderately loaded systems.
27827 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27828
27829Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
27830
27831 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
27832 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 27833 result reports.
c906108c
SS
27834
27835Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
27836
27837 * configure.in (CY_AC_PATH_TCLH): Remove.
27838 * configure: Regenerate.
27839
27840Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
27841
27842 * gdb.c++/Makefile.in (clean): Add missing '{'.
27843
27844Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
27845
27846 * lib/gdb.exp: Provide a default value for noinferior.
27847
27848 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27849 Load libgloss.exp.
27850
27851Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27852
27853 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27854 the executable, not the .o to run the tests from.
27855
27856Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27857
27858 * gdb.base/break.exp: Don't test for program exit or exit status
27859 if $noresults if nonzero.
27860 * gdb.base/langs.exp: Likewise.
27861 * gdb.base/watchpoint.exp: Likewise.
27862
27863 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27864 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27865 trying to compile the testcase.
27866
27867Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27868
27869 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27870 * gdb.base/signals.exp (continue to handler): Likewise.
27871
27872Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27873
27874 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27875
27876 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27877
27878Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27879
27880 * gdb.base/corefile.exp: Recognize "not found" as failure
27881 when trying to determine if a core file was generated.
27882 If no core file was generate the first time, try again without
27883 the ulimit -c to work around braindamaged shells.
27884
27885Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27886
27887 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27888 [] tests with "test" and enclose string in quotes.
27889 * gdb.stabs/configure: Rebuild
d63a86f8 27890
c906108c
SS
27891Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27892
27893 Changes in sync with expect:
27894 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27895 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27896 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27897 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27898 argument to AC_REQUIRE.
27899 * configure: Regenerated.
27900
27901Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27902
27903 * gdb.base/corefile.exp: When generating a core, discard any
27904 error messages about ulimit not found and the "core dumped"
27905 message from the shell that runs the coredumper.
27906
27907Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27908
27909 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27910
27911 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27912 which sed script to run. Expect failure for v_comb test
27913 on PA targets too.
d63a86f8 27914
c906108c
SS
27915Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27916
27917 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 27918 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
27919
27920Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27921
27922 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27923 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 27924 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
27925 * lib/gdb.exp (default_gdb_start): Fix typo.
27926 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27927 messages to not include the full program name that caused
27928 the core dump since some systems (such as solaris) apparently
27929 truncate this path to about 80 characters.
27930 When generating a core file first try increasing the core file
27931 size limit to unlimited since some systems may default it to
27932 zero, and it is harmless to try it. Move the test for failing
27933 to generate a core file to where it will actually get executed.
27934 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27935 new gdb result from g++ debug info improvements and make old
27936 pattern obsolescent. Also account for size_t differences
27937 (may be int or long).
27938 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27939 initialization before function call is placed in the delay slot
27940 and thus appears to be skipped over by commands such as "next".
27941
27942Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27943
27944 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27945
27946Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27947
27948 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27949 input source file; fix code to compile test to deal with this
27950 convention.
27951 * gdb.c++/*.exp: Likewise.
27952
27953Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27954
27955 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27956 "bt in signals.exp".
27957
27958Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27959
27960 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27961 "step over execarg initialization" and
889bf7c5 27962 "step over corearg initialization".
c906108c
SS
27963
27964Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27965
27966 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27967 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27968
27969Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27970
27971 From Rob Savoye (rob@poseidon.cygnus.com)
27972 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27973 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
27974 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27975 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27976 configure.in}: Major reworking for autoconfig.
c906108c
SS
27977 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27978 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 27979 New files.
c906108c
SS
27980 * config/unix-gdb.exp: Make GDB global.
27981 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
27982 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27983 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27984 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27985 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27986 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 27987 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
27988 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27989 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27990 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27991 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 27992 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
27993 to returns as necessary, arrange for test to compile own testcase
27994 executable.
c906108c 27995 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 27996
c906108c
SS
27997Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27998
27999 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 28000 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
28001 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28002 "backtrace through signal handler".
28003
28004Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28005
28006 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28007 continuing from a job control stop signal.
28008 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28009
28010Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28011
28012 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28013 * gdb.base/corefile.exp: Likewise.
28014 * gdb.base/funcargs.exp: Likewise.
28015
28016Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28017
28018 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28019 * config/monitor.exp: Add support for setting baud rate.
28020
28021Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28022
28023 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28024 i*86-*-linux* xfails for "backtrace through signal handler".
28025 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28026 "print func2::coremaker_local".
28027 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 28028 alpha-dec-osf2* xfail for
c906108c
SS
28029 "delete all breakpoints when none".
28030
28031Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28032
28033 * gdb.base/break.exp: Change test that deletes all breakpoints
28034 when no user breakpoints are installed. A post 4.15 change
28035 causes gdb to no longer prompt in this case.
28036
28037Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28038
28039 * gdb.base/return.exp (return_tests): Change xfail for test
28040 "correct value returned double test" to stop xfailing at
28041 Solaris 2.5. Apparently the bug has been fixed.
28042
28043Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28044
28045 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28046 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28047
28048Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28049
28050 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28051 * gdb.disasm/hppa.s: Corresponding changes.
28052
28053Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28054
28055 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28056 makefile fragment.
28057 * config/mt-hpux: Deleted.
28058
28059Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28060
d63a86f8 28061 * Many files: When warning about suppressed tests due to a
c906108c
SS
28062 nonexistant test binary, avoid incrementing the warning count.
28063
28064Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28065
28066 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 28067
c906108c
SS
28068Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28069
28070 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28071 "sparc-*-solaris2*".
28072
28073Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28074
28075 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28076 Add global and local variables and initialize them.
28077 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28078 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28079 extracts the file name and terminating signal from the core file.
28080 * TODO: Remove note about tests for correct mapping of corefile.
28081 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28082 from optimizing it away.
28083 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28084 handles common blocks.
28085
28086Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28087
28088 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28089 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28090
28091Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28092
28093 * Makefile.in (maintainer-clean): New target, synonym for
28094 realclean.
28095 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28096 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28097 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28098 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28099 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28100 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28101
28102Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28103
28104 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28105 xfails when not gcc compiled for "print foo::funclocal".
28106 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28107 "print foo::funclocal at foo",
28108 "print 'scope1.c'::foo::funclocal at foo",
28109 "print foo::funclocal_bss at foo",
28110 "print 'scope1.c'::foo::funclocal_bss at foo",
28111 "print foo::funclocal_ro at foo",
28112 "print 'scope1.c'::foo::funclocal_ro at foo",
28113 "print bar::funclocal at foo" and
28114 "print 'scope1.c'::bar::funclocal at foo".
28115 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28116 gcc compiled for "print foo::funclocal at bar".
28117 Expand all messages to ensure that they identify that
28118 the test is at bar().
28119 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28120 gcc compiled for:
28121 "ptype on opaque struct pointer (statically)",
28122 "ptype on opaque struct tagname (statically)",
28123 "ptype on opaque struct pointer (dynamically) 1",
28124 "ptype on opaque struct tagname (dynamically) 1",
28125 "ptype on opaque struct pointer (dynamically) 2" and
28126 "ptype on opaque struct tagname (dynamically) 2
28127 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28128 gcc compiled for:
28129 "p datalocal"
28130 "whatis datalocal",
28131 "ptype datalocal",
28132 "p bsslocal",
28133 "whatis bsslocal", and
28134 "ptype bsslocal".
28135 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28136 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28137 when not gcc compiled.
28138 * gdb.base/funcargs.exp (float_and_integral_args): Add
28139 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28140 compiled.
28141 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28142 "backtrace from call6a" when not gcc compiled.
28143 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28144 "backtrace from call7a" when not gcc compiled.
28145 * gdb.base/callfuncs.exp (do_function_calls):
28146 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28147 "p t_char_array_values(char_array_val2,char_array_val1)",
28148 "p t_char_array_values(char_array_val1,char_array_val2)",
28149 "p t_char_array_values("carray 1","carray 2")",
28150 "p t_char_array_values("carray 1",char_array_val2)",
28151 "p t_char_array_values(char_array_val1,"carray 2")",
28152 "p sum_args(1,{2})",
28153 "p sum_args(2,{2,3})",
28154 "p sum_args(3,{2,3,4})",
28155 "p sum_args(4,{2,3,4,5})"
28156 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28157 "backtrace in corefile.exp" when not gcc compiled.
28158
28159Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28160
28161 * gdb.base/signals.exp: Rewrite `handle all print' test as
28162 a procedure. Accept blanks or TABs as whitespace, increase
28163 timeout and expect input buffer size for the large output
28164 from the command. Remove "i*86-*-bsdi2.0" xfail.
28165
28166Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28167
28168 * gdb.base/setvar.exp: Add new testcases for truncation when
28169 assigning invalid values to bitfields.
28170
28171Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28172
d63a86f8 28173 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
28174 mips-sgi-irix* xfail for
28175 "call inferior func with struct - returns char *"
28176 and fix test so that an optional (unsigned char *) cast is
889bf7c5 28177 accepted in the result.
c906108c
SS
28178
28179Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28180
28181 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28182 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28183 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28184 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28185 that accidentally got checked in.
28186
28187Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28188
d63a86f8 28189 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
28190 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28191 compiled test.
28192 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28193 Add mips-sgi-irix5* xfail for not gcc compiled.
28194 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
28195 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28196 compiled for "p top", "whatis top", "p middle", and "whatis
28197 middle".
c906108c
SS
28198 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28199 "whatis signed char" for not gcc compiled.
28200 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28201 "set variable signed char=-1 (-1)" and
28202 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28203 * gdb.base/funcargs.exp (float_and_integral_args):
28204 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28205 Add mips-sgi-irix* xfail when not gcc compiled for
28206 "continue to call2b".
28207 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28208 "continue to call2g".
6fdff2c5
PA
28209 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28210 compiled for "backtrace from call6a"
28211 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28212 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28213 when not gcc compiled for "backtrace from call7a".
c906108c
SS
28214 (localvars_after_alloca): Fix gdb_test cmds for
28215 "print * after runto ...".
28216 Remove rs6000-*-* xfails for
28217 "print i after runto localvars_after_alloca" and
28218 "print l after runto localvars_after_alloca"
28219 for all compilers.
28220 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 28221 when not compiled with gcc, for:
c906108c
SS
28222 "print signed char == (minus)",
28223 "print signed char != (minus)",
28224 "print signed char < (minus)",
28225 "print signed char > (minus)".
28226 * gdb.base/callfuncs.exp (do_function_calls):
28227 Add mips-sgi-irix* xfail, when compiled with native compiler, for
28228 "call inferior func with struct - returns char *".
d63a86f8 28229 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
28230 "correct value returned double test" to include Solaris 2.4.
28231 * gdb.base/funcargs.exp (float_and_integral_args):
28232 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 28233
c906108c
SS
28234Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28235
28236 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
28237 enumeration bitfields if compiling with GNU C.
28238 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
28239 to empty' prompt.
28240
28241Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
28242
28243 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28244 test for PRO targets.
28245
28246 * gdb.base/funcargs.exp: Avoid ever setting more than 8
28247 breakpoints in the inferior at any given time by making
28248 two groups of breakpoints for call2*, call6* and call7*
28249 tests.
28250
28251Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28252
28253 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
28254 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
28255 from optimizing it away.
28256 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
28257 "call inferior func with struct".
28258
28259Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
28260
28261 * configure.in: Only configure gdb.chill for particular targets.
28262
28263Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
28264
28265 * gdb.base/Makefile.in: Add action to .c.o transformation
28266 rule that generates a .ci file for each .o file and remove
28267 explicit .c.o rules except for callfuncs.o.
28268 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
28269 generates a .ci file for each .o file and remove explicit
28270 .cc.o rules.
28271 (clean): Remove *.tmp *.ci files.
28272 (EXECUTABLES): Remove templ-info.exp.
28273 * gdb.base/compiler.c: New file.
28274 * gdb.c++/compiler.cc: New file
28275 * gdb.base/scope.exp: Source gdb.base/scope.ci.
28276 Change rs6000-*-* xfail for
28277 "print 'scope0.c'::filelocal_ro" and
28278 "print 'scope1.c'::filelocal" and
28279 "print 'scope1.c'::filelocal_bss" and
28280 "print 'scope1.c'::filelocal_ro" and
28281 "print 'scope1.c'::foo::funclocal" and
28282 "print 'scope1.c'::foo::funclocal_ro" and
28283 "print 'scope1.c'::bar::funclocal" and
28284 "print 'scope0.c'::filelocal_ro" and
28285 "print 'scope1.c'::filelocal at foo" and
28286 "print 'scope1.c'::filelocal_bss at foo" and
28287 "print 'scope1.c'::filelocal_ro at foo" and
28288 "print 'scope1.c'::foo::funclocal at foo" and
28289 "print 'scope1.c'::foo::funclocal_bss at foo" and
28290 "print 'scope1.c'::foo::funclocal_ro at foo" and
28291 "print 'scope1.c'::bar::funclocal at foo" and
28292 "print 'scope0.c'::filelocal_ro" and
28293 "print 'scope1.c'::filelocal" and
28294 "print 'scope1.c'::filelocal_bss" and
28295 "print 'scope1.c'::filelocal_ro" and
28296 "print 'scope1.c'::foo::funclocal" and
28297 "print 'scope1.c'::foo::funclocal_bss" and
28298 "print 'scope1.c'::foo::funclocal_ro" and
28299 "print 'scope1.c'::bar::funclocal" and
28300 "print 'scope1.c'::bar::funclocal_bss"
28301 to only be xfail'd when not compiled with gcc.
d63a86f8 28302 Add rs6000-*-* xfail for
c906108c
SS
28303 "print 'scope0.c'::filelocal_bss before run"
28304 when compiled with gcc.
28305 (test_at_main): Add rs6000-*-* xfail for
28306 "print filelocal_ro in test_at_main"
28307 when compiled with gcc.
28308 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 28309 Add rs6000-*-aix* xfail for
c906108c
SS
28310 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
28311 "ptype t_char_array", not compiled with gcc.
28312 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
28313 xfail for "list foo (in include file)" when gcc compiled.
28314 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 28315 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
28316 "run to call0a" if not compiled with gcc.
28317 (unsigned_integral_args): Add rs6000-*-* xfail for
28318 "run to call1a" if not compiled with gcc.
28319 (float_and_integral_args): Add rs6000-*-* xfail for
28320 "run to call2a" if not compiled with gcc and for
28321 "continue to call2b" for any compiler.
28322 Add rs6000-*-* xfail to
28323 "print f1 after run to call2a" for gcc compiled.
28324 (discard_and_shuffle): Add rs6000-*-* xfail for
28325 "run to call6a".
28326 (shuffle_round_robin): Add rs6000-*-* xfail for
28327 "backtrace from call7a" if not compiled with gcc.
28328 Add rs6000-*-* xfail for
28329 "backtrace from call7b" if compiled with gcc.
28330 (call_after_alloca): Add rs6000-*-* xfail for
28331 "print c in call_after_alloca" and
28332 "print s in call_after_alloca" and
28333 "backtrace from call_after_alloca_subr"
28334 if not compiled with gcc.
28335 (localvars_in_indirect_call): Add rs6000-*-* xfail for
28336 "print c in localvars_in_indirect_call" and
28337 "print c in localvars_in_indirect_call" and
28338 "backtrace in indirectly called function" and
28339 "stepping into indirectly called function"
28340 if not compiled with gcc.
28341 (localvars_after_alloca): Add rs6000-*-* xfail for
28342 "print c after runto localvars_after_alloca" and
28343 "print s after runto localvars_after_alloca" and
28344 "print i after runto localvars_after_alloca" and
28345 "print l after runto localvars_after_alloca"
28346 for all compilers.
28347 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
28348 than whatis-info.exp.
28349 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
28350 than opaque-info.exp.
28351 Setup rs6000-*-* xfail for
d63a86f8 28352 "ptype on opaque struct pointer (statically)" and
c906108c
SS
28353 "ptype on opaque struct pointer (dynamically)" when
28354 not compiled with gcc.
28355 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
28356 rather than callf-info.exp.
28357 (do_function_calls): Add clear_xfail for rs6000-*-* for
28358 "p t_float_values2(3.14159,float_val2)". Seems to work
28359 fine there, both with xlc and gcc. Need to find out what
28360 it is doing right and fix other platforms.
28361 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
28362 "call inferior func with struct - returns int",
28363 "call inferior func with struct - returns long",
28364 "call inferior func with struct - returns float",
28365 "call inferior func with struct - returns double",
28366 "call inferior func with struct - returns char *",
28367 but only if not gcc compiled (presumes xlc compiled).
28368 Change rs6000-*-* xfails for
28369 "call inferior func with struct - returns char" and
28370 " call inferior func with struct - returns short" to only
28371 xfail if not using gcc.
28372 (clean mostlyclean): Remove *.ci and *.tmp files.
28373 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
28374 than templ-info.exp.
28375 * gdb.base/langs.exp: Source gdb.base/langs.ci.
28376 Add rs6000-*-* xfail for "up to foo in langs.exp"
28377 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 28378 when not gcc compiled.
d63a86f8 28379
c906108c
SS
28380Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28381
28382 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
28383 * gdb.base/corefile.exp: Likewise.
28384 * gdb.base/list.exp: Likewise.
28385 * gdb.base/scope.exp: Likewise.
28386 * gdb.base/siganls.exp: Likewise.
28387
28388 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
28389 compiler output.
28390 * gdb.base/whatis.exp: Likewise.
28391
28392Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
28393
28394 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
28395 failure (opcode table has been fixed to match reality).
28396
28397Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
28398
28399 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
28400 "call inferior func with struct - returns char",
28401 "call inferior func with struct - returns short"
28402
28403 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
28404 "print 'scope0.c'::filelocal at main",
28405 "print 'scope0.c'::filelocal_bss in test_at_main",
28406 "print 'scope0.c'::filelocal at foo",
28407 "print 'scope0.c'::filelocal_bss in test_at_foo",
28408 "print 'scope0.c'::filelocal at bar",
28409 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 28410
c906108c
SS
28411 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
28412 in source file 1". This bug seems to have been fixed with both
28413 gcc and native cc (was native assembler bug?).
28414
28415Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
28416
28417 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
28418 "backtrace through signal handler" to "i*86-*-sysv4*".
28419 * gdb.base/signals.exp: Add xfail for "'next' behaved as
28420 continue" case. Add "known SVR4 bug" to fail message.
28421 Add "i*86-*-bsdi2.0" xfail for "handle all print".
28422 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
28423 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
28424 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
28425 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
28426 "up to foo in langs.exp", "show language at foo in
28427 langs.exp", "up to cppsub_ in langs.exp", "show
28428 language at cppsub_ in langs.exp", "up to fsub in
28429 langs.exp", and "show language at fsub in langs.exp".
28430 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
28431 "bactrace in corefile.exp".
28432 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
28433 "call inferior function with struct - returns float" and
28434 "call inferior function with struct - returns double".
d63a86f8 28435
c906108c
SS
28436Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
28437
28438 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
28439 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
28440 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
28441 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
28442
28443Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
28444
28445 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
28446 (or overriden) "CHILL" macro rather then bare "gcc".
28447 Also look for ../../gcc/xgcc since that is what we will
28448 actually need, not "Makefile". Remove following assignment
28449 of CHILL to CHILL_FOR_TARGET because that results in
28450 recursive definition.
28451
28452Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
28453
28454 * gdb.base/corefile.exp: Change xfail for backtrace in
28455 corefile.exp from linuxaout to all linux.
28456 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
28457 cases where we miss the breakpoint at the signal handler
28458 for some reason. Setup xfail for linuxoldld/linuxaout and
28459 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
28460 hitting SIGURG breakpoint.
28461 * gdb.base/signals.exp: Setup xfail for "next" acting like
28462 continue to add linuxoldld. Setup xfail for all linux for
28463 "next to handler in signals_tests_1", "backtrace in
28464 signals_tests_1", "continue to func1", "pass SIGUSR1",
28465 and continue to handler".
28466
28467Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
28468
28469 * Update all FSF addresses except those in COPYING* files.
28470
28471Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
28472
28473 * gdb.base/a2-run.exp: Change messages to be more explicit about
28474 the status of args, and quote binfile in results.
28475
28476Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
28477
28478 * gdb.base/callfuncs.exp: Add tests for passing structs to
28479 inferior functions and return various types.
28480 * gdb.base/callfuncs.c: Add functions to receive a struct
28481 and return a member of the struct, in various types.
28482
28483Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28484
28485 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
28486
28487Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
28488
28489 * config/vxworks29k.exp: New file, sources vxworks.exp.
28490
28491Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28492
28493 * config/gdbremote.exp: New file. Testing framework using
28494 gdbserver.
28495
28496Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
28497
28498 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
28499 "call function when asleep" and "send end of file".
28500 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
28501 for "backtrace in corefile.exp".
28502 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
28503 for "backtrace through signal handler".
28504 * gdb.base/corefile.exp: Make sure we actually generate a core file
28505 before trying the core tests. Some systems allow the user to suppress
28506 generation of core files and default to that (linux for example).
28507 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
28508 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
28509
28510Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28511
28512 * gdb.threads: New directory with some crude multi-threaded
28513 gdb tests (step.exp and step2.exp).
28514 * config/mt-lynx (STEP_EXECUTABLE): Define.
28515 (THREADFLAGS): Define.
28516
28517Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
28518
28519 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
28520
28521 * gdb.base/signals.exp: Disable whole file for lynx until
28522 further notice.
28523
28524 * gdb.base/signals.exp: xfail test where "next" acts like
28525 "continue" for lynx.
28526
28527 * gdb.base/interrupt.exp: xfail test for calling function while
28528 inferior is asleep for lynx.
28529
28530 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
28531 than one cr-lf after each command.
28532
28533Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28534
28535 * configure.in: Reinstate setting of stabsdirs variable, fix
28536 typo in setting up configdirs for native builds.
28537
28538 * gdb.base/return.exp: Fix typo in return double test.
28539 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
28540 compiler from optimizing them away.
28541
28542Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
28543
28544 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
28545 sequences to be echo'd by gdb when using gdb_test.
28546 * gdb.chill/chexp.exp: Likewise.
28547 * gdb.fortran/exprs.exp: Likewise
28548
28549Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28550
28551 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
28552 after the inferior gdb has started.
28553
28554 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
28555 after each command.
28556 * gdb.base/funcargs.exp: Likewise.
28557 * gdb.base/gdbvars.exp: Likewise.
28558 * gdb.base/interrupt.exp: Likewise.
28559 * gdb.base/list.exp: Likewise.
28560 * gdb.base/watchpoint.exp: Likewise.
28561 * gdb.c++/demangle.exp: Likewise.
28562 * gdb.c++/inherit.exp: Likewise.
28563 * gdb.chill/chexp.exp: Likewise.
28564 * gdb.fortran/exprs.exp: Likewise.
28565
28566 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
28567 test if we can't handle IO to/from the inferior.
28568
28569 * gdb.c++/misc.exp: Always check for a program already being
28570 started after sending a "run" command to gdb.
28571
28572 * gdb.base/twice.exp: Start with a fresh gdb.
28573
28574 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28575 only depend on gdb's expression code, not the chill runtime.
28576
28577 * gdb.base/return.c: Put return values into variables so we
28578 can have gdb print them rather than depending on the program
28579 to print them.
28580 * gdb.base/return.exp: Corresponding changes.
28581
28582 * lib/gdb.exp: Provide default value for noinferiorio.
28583 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28584 the inferior.
28585
28586 * gdb.base/break.exp: Always check for a program already being
28587 started after sending a "run" command to gdb.
28588 (text_next_with_recursion): Don't check the output from the
28589 program's printf statement. Instead just make sure the program
28590 exited.
28591
28592 * gdb.base/commands.exp: Protect tests which need arguments with
28593 $noargs conditionals.
28594
28595Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28596
28597 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
28598 of structure member arrays to match gdb/valops.c:value_addr change.
28599
28600Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
28601
28602 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28603 cases.
28604
28605Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
28606
28607 * configure.in (configdirs): Remove gdb.chill from default list
28608 of subdirs and then add it back in only if doing a native build.
28609 The current chill compiler does not yet work in any cross build.
28610 * Revert all signal changes from Jul 6.
28611 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
28612 for sh-hms targets, allowing these tests to link, with no other
28613 changes. Testing is suppressed by setting "nosignals" in site.exp.
28614
28615Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28616
28617 * configure.in (signaldirs): Define and add to configdirs for all
28618 targets except some specific ones that are known to not support signals.
28619 Also clean up formatting.
28620 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28621 (signals, sigall): Remove rules to build.
28622 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28623 Moved to new gdb.signals directory.
28624 * gdb.signals: New test directory.
28625 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28626 signals.c signals.exp}: New or moved files.
28627
28628Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28629
28630 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28631
28632Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28633
28634 * gdb.base/return.exp: Xfail `return double' test failure
28635 on at least Solaris 2.3 and handle future/past versions on
28636 a case by case basis as appropriate. Also update message
28637 to include i*86 failures.
28638
28639Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28640
28641 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28642
28643 * lib/gdb.exp: Fix comment which erroneously identified
28644 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28645 gdb_file_cmd not gdb_load).
28646 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28647
28648 * gdb.base/setvar.exp: Make test names consistent between pass and
28649 fail cases. Use gdb_test more.
28650
28651Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28652
28653 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28654
28655Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28656
28657 * gdb.base/help.exp: Fix expected help string for `show commands'.
28658
28659Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28660
28661 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28662
28663 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28664 of a text section.
28665
28666Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28667
28668 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28669 that loop eventually terminates. Fix Connection refused logic so
28670 that testsuite will expire nicely.
28671
28672Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28673
28674 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28675 config/rom68k.exp: New tcl glue for the appropriate monitors.
28676 These all just end up calling monitor.exp.
28677 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28678 refused' by retrying. Cleanup some timeout issues.
28679 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28680 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28681 callers don't have to set/restore global timeout variable.
28682
28683 * The following set of changes centralizes management of the global
28684 timeout variable. This way, it can be set in one target dependent
28685 place instead of dozens of places scattered throughout the test suite.
28686 If you need to lengthen a timeout, then you should either set timeout
28687 in one of the config/{target}.exp files, or multiply it by a factor.
28688 Setting it to an absolute value is always going to lose for some
28689 targets.
28690 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28691 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28692 * gdb.base/funcargs.exp: Don't set timeout.
28693 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28694 * gdb.base/printcmds.exp (test_print_string_constants
28695 test_print_array_constants): Don't set timeout.
28696 * gdb.base/ptype.exp: Don't set timeout.
28697 * gdb.base/recurse.exp: Don't set timeout.
28698 * gdb.base/return.exp: Don't set timeout.
28699 * gdb.base/watchpoint.exp: Don't set timeout.
28700 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28701 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28702
28703Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28704
28705 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28706
28707Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28708
28709 * lib/gdb.exp: Disable chill tests for irix5.
28710
28711Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28712
28713 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28714 each test pass or fail.
28715
28716Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28717
28718 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28719 xlc not gcc.
28720
28721Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28722
28723 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28724
28725Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28726
28727 * config/est.exp: Fix copyright and comments. Remove dead code.
28728 Use targetname, serialport and baud variables instead of fixed
28729 constants.
28730 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28731 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28732
28733Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28734
28735 * gdb.base/watchpoint.exp: Don't run
28736 test_watchpoint_triggered_in_syscall for sunos.
28737
28738Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28739
28740 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28741 they don't seem to exist. Do include stdio.h.
28742
28743Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28744
28745 * gdb.base/a1-selftest.exp: Add alpha xfail.
28746
28747Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28748
28749 * gdb.base/watchpoint.c (main): Prompt before calling read().
28750 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28751 Revise accordingly. Remove cruft about sending "123" several
28752 times, until it gets noticed. Clean up the "print buf[0]" stuff
28753 so that it passes or fails, and waits for prompts in the usual way.
28754
28755Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28756
28757 * gdb.base/recurse.exp: Fix comment.
28758
28759 * TODO: Remove item about printing variables in nodebug.exp. Add
28760 item about enabling tests which are only run on some targets.
28761
28762 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28763 fail, make test names unique, use new gdb_test convention
28764 regarding pattern, use gdb_test more, etc.).
28765
28766 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28767 fail, make test names unique, etc.).
28768
28769Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28770
28771 * gdb.base/nodebug.c: Change return type of top and middle to
28772 short.
28773 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
28774 are fixed by the recent mdebugread.c changes. Allow `short ()'
28775 as type for top and middle.
28776
28777Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28778
28779 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
28780 nearly as I can tell, the whole thing was an accident in Stu's
28781 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28782 to replace a send/expect pair with gdb_test, but ended up only
28783 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
28784 of 30 Mar 1995 took care of it, but left this vestigial comment
28785 which I am now nuking.
28786
28787Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28788
28789 * gdb.base/break.exp: Look for different line number for
28790 breakpoint at main depending on usestubs.
28791
28792Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28793
28794 * gdb.base/list.exp: Adjust some alternate expect patterns to
28795 match recent list0.c change. Add alternate expect pattern for
28796 output from `list default lines around main' for optimizing
28797 compilers.
28798
28799Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28800
28801 * lib/gdb.exp: If nosignals is not set, set it to 0.
28802
28803Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
28804
28805 * config/slite-gdb.exp: Responds to load symbol table prompt.
28806 * gdb.base/break.exp: Adjust line number, fix rerun.
28807 * gdb.base/langs0.c: Add #ifdef usestubs.
28808
28809Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
28810
28811 * gdb.base/list.exp: Adjust line contents after adding new lines in
28812 list0.c. Also fix a syntax error.
28813
28814 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28815 * gdb.base/break.exp: ditto.
28816 * gdb.base/list.exp: ditto.
28817 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28818 * gdb.base/run.c: ditto.
28819 * gdb.base/list0.c: ditto.
28820 * gdb.base/funcargs.c: ditto.
28821
28822Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
28823
28824 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
28825 $targetname, $serialport and $baud instead of hardwired variables.
28826 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
28827 target doesn't support signals.
28828
28829Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
28830
28831 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28832
28833Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28834
28835 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
28836 Don't rely on the value of an auto variable before it has been
28837 initialized. Use gdb_test more.
28838
28839Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28840
28841 * lib/gdb.exp (default_gdb_version): A version number must start
28842 with a digit, but other than that contains all characters up to
28843 the first whitespace character.
28844
28845Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28846
28847 * gdb.base/commands.exp (breakpoint_command_test): New tests.
28848
28849Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28850
28851 * gdb.c++/*.exp: Warn if executable does not exist. The original
28852 reason for skipping the warning was that configure.in sometimes
28853 intentionally skipped building the executables but the tcl code
28854 had no way of knowing. That (a) was always bogus with respect to
28855 error handling, (b) is no longer true (right now there is no way
28856 to skip C++ tests).
28857
28858 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28859
28860Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28861
28862 * gdb.base/list.exp: Add expect patterns for output from
28863 SunPRO compiled executables.
28864 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28865 types.
28866
28867Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28868
28869 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28870 number (we are already testing that the correct source line text
28871 gets printed).
28872
28873 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28874 that is what is intended, but something needed to be done to get
28875 sunos4 native working again.
28876
28877 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28878
28879 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28880 apparently went with a (very) old xfail.
28881
28882Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28883
28884 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28885 runto_main is a proc in gdb.exp that will do 'step' for target use
28886 stubs.
28887 * gdb.base/exprs.exp: ditto.
28888 * gdb.base/interrupt.exp: ditto.
28889 * gdb.base/opaque.exp: ditto.
28890 * gdb.base/printcmds.exp: ditto.
28891 * gdb.base/ptype.exp: ditto.
28892 * gdb.base/scope.exp: ditto.
28893 * gdb.base/setvar.exp: ditto.
28894 * gdb.base/signals.exp: ditto.
28895 * gdb.base/twice.exp: ditto.
28896 * gdb.c++/classes.exp: ditto.
28897 * gdb.c++/inherit.exp: ditto.
28898 * gdb.c++/templates.exp: ditto.
28899 * gdb.base/break.exp: no run and hit main for stubs. Change line
28900 numbers for breakpoints and info breakpoint.
28901 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28902 breakpoint().
28903 * gdb.base/callfuncs.c: ditto.
28904 * gdb.base/exprs: ditto.
28905 * gdb.base/interrupt.c: ditto.
28906 * gdb.base/opaque0.c: ditto.
28907 * gdb.base/printcmds.c: ditto.
28908 * gdb.base/ptype.c: ditto.
28909 * gdb.base/scope0.c: ditto.
28910 * gdb.base/setvar.c: ditto.
28911 * gdb.base/signals.c: ditto.
28912 * gdb.base/twice.c: ditto.
28913 * gdb.c++/misc.cc: ditto.
28914 * gdb.c++/templates.cc: ditto.
28915
28916Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28917
28918 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28919
28920 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28921 somewhere between `read' and `main.c'. I'm pretty sure the
28922 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28923 and it isn't particularly useful.
28924
28925 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28926
28927Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28928
28929 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28930
28931Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28932
28933 * config/mt-slite: add LIBS and -nostdlib.
28934 * config/slite-gdb.exp: add this new file to support sparclite target.
28935
28936Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28937
28938 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28939
28940 * gdb.base/a2-run.exp: Change argument to istarget from
28941 "*-*-vxworks" to "*-*-vxworks*".
28942 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28943
28944Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28945
28946 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28947 will not runto main but do a 'step' to step out of breakpoint().
28948 * config/mt-slite: add -Dusestubs.
28949
28950Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28951
28952 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28953 instead of just @.
28954
28955 * gdb.base/signals.exp: Add test for "handle all print".
28956 * TODO: Remove "handle all print". Also remove item about
28957 checking copyright date (I don't like the idea of a spurious FAIL
28958 based on when we run the tests).
28959
28960 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28961 for SunOS4 (reason for failure not investigated). Remove
28962 redundant test for $binfile.
28963
28964 * gdb.base/nodebug.c (array_index): Call malloc.
28965
28966 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28967
28968Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28969
28970 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28971 conventions and slightly simplify the matching regexp.
28972
28973Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28974
28975 * gdb.base/break.exp: Update gdb_test invocation to use new
28976 convention.
28977
28978 * lib/gdb.exp: If noargs is not set, set it to 0.
28979
28980 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28981 tests unique.
28982
28983 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28984
28985Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28986
28987 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28988 one argument of type "<non-float parameter>".
28989
28990Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28991
28992 * config/rom68k.exp: New file to support Motorola IDP board.
28993 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28994 * gdb.base/break.c: Change things around so that this program
28995 doesn't depend upon args. This is necessary to make remote
28996 targets work (in general, they can't take args).
28997 * gdb.base/break.exp: Don't try to send args to program. Don't
28998 expect output. Also, replace lots of code with gdb_test.
28999
29000Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29001
29002 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29003 printing of '\'' (which is what the comment says we are testing,
29004 even though we were not), not '''.
29005 (test_integer_literals_rejected): Test that printing ''' is an error.
29006
29007 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29008 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29009 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29010 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29011 Use gdb_test not test_print_accept.
29012 * lib/gdb.exp: Remove test_print_accept.
29013
29014 * gdb.base/signals.exp (signal_tests_1): Make pass message
29015 consistent with fail message.
29016
29017 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29018 unsigned char; the bug (PR 1821) is fixed.
29019
29020 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29021
29022 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29023 successful tests--makes xfailing them work right.
29024
29025Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29026
29027 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29028 only \r\n, not .*. The test can pass .* as the last thing in
29029 $pattern if that is what it wants. In addition to providing this
29030 flexibility, this change should speed up pattern matching in cases
29031 where the pattern already ended with .* (there were a number of
29032 them). This change also helps catch bad patterns--in the old
29033 scheme the typo "char \*" instead of "char \\*" would pass. Now
29034 it is caught.
29035 * Many .exp files: Update callers.
29036
29037 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29038 clearer and does not spuriously match multiple ('s. Likewise for
29039 ) and *.
29040
29041 * gdb.base/nodebug.exp: Test ability to call a function and pass
29042 it a string (even with no debugging info).
29043
29044 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29045 "p '\'", which is the same as "p ''" once tcl gets done with
29046 quoting, to "p '\\'", which I suspect is what is intended (one
29047 backslash gets sent to GDB).
29048
29049 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29050
29051Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29052
29053 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29054 1817) was fixed literally years ago.
29055
29056Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29057
29058 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29059 test, it causes stepping out of call_after_alloca_subr with
29060 optimizing compilers.
29061 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29062 fails.
29063
29064 * gdb.c++/templates.exp: Source templ-info.exp only if
29065 the templates executable exists.
29066
29067 * gdb.c++/misc.cc (class Contains_static_instance,
29068 class Contains_nested_static_instance),
29069 gdb.c++/classes.exp (test_static_members): Test printing of
29070 a class that contains a static instance of the class.
29071
29072Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29073
29074 * gdb.base/langs2.c (cppsub_): Don't prototype.
29075 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29076 only, I believe).
29077
29078Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29079
29080 * lib/gdb.exp (skip_chill_tests): New procedure.
29081
29082 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29083
29084Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29085
29086 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29087 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29088
29089Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29090
29091 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29092
29093 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29094 disassemble 8, not 16, instructions for part 4.
29095
29096 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29097 support the latter anymore.
29098
29099 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29100 -DNO_PROTOTYPES.
29101 * gdb.base/callfuncs.c: Control use of prototypes based on
29102 NO_PROTOTYPES, not __STDC__.
29103 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29104 t_float_values2 tests if prototypes in use.
29105
29106 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29107 t_double_values): When checking differences against DELTA, check
29108 that difference is within the range (-DELTA,DELTA), not just
29109 (-infinity,DELTA).
29110
29111Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29112
29113 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29114 'file' command firts, then 'target', then 'load', this is due to gdb
29115 target set up.
29116 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29117
29118Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29119
29120 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29121 FP load/store variants.
29122 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29123
29124Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29125
29126 * gdb.base/term.exp: Do not give a warning if not native, it is
29127 not an abnormal condition.
29128
29129Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29130
29131 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29132 t_char_array".
29133
29134Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29135
29136 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29137 are getting the version number.
29138
29139 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29140 if not native, it is not an abnormal condition.
29141
29142Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29143
29144 * lib/gdb.exp: Just use "file exists", rather than undocumented
29145 dejagnu procedure "findfile".
29146
29147Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29148
29149 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29150 (LDFLAGS): Set to -Xlinker -Ur.
29151
29152 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29153 Removed, these values are set by lib/gdb.exp.
29154
29155 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29156
29157Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29158
29159 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29160 of replicating gdb startup code.
29161
29162 * config/mt-vxworks (LDFLAGS): Set to -r.
29163 (CFLAGS_FOR_TARGET): Removed.
29164
29165 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29166 (gdb) and gdb for vxworks uses (vxgdb).
29167
29168 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29169 executable is not in the tree and host != target, use sed and
29170 program_transform_name to determine the gdb name used by the
29171 target.
29172
29173 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29174 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29175
29176Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29177
29178 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29179 floats, chars, and shorts where there are ANSI-style function
29180 definitions.
29181
29182 * gdb.base/langs.exp, gdb.base/langs*: New test.
29183 * gdb.base/Makefile.in: Build it.
29184 * TODO: Remove item about checking that C names don't get C++
29185 demangling applied; this test tests it.
29186
29187Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29188
29189 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29190 went with the const70 xfail. The xfail went away a year ago.
29191
29192 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29193
29194 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29195 for hp300.
29196
29197 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29198
29199 * gdb.base/a1-selftest.exp: Don't run on hp300.
29200
29201Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29202
29203 * Makefile.in (site.exp): Set host_alias and target_alias as well
29204 as host_triplet and target_triplet.
29205
29206Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29207
29208 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29209
29210 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29211 places as other ecoff systems).
29212
29213 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29214 ultrix.
29215
29216Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29217
29218 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29219 remove them.
29220 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29221 variable and "variable" in addition to "data variable".
29222 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29223
29224 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29225 2.
29226 * gdb.base/list1.c (long_line): Add additional statement at start
29227 of function.
29228 * gdb.base/list.exp (test_forward_search): Update line number to
29229 reflect new statement.
29230
29231Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29232
29233 * gdb.base/signals.exp: Reinitialize searched source directories
29234 after gdb_start call.
29235
29236Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
29237
29238 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29239 * gdb.stabs/Makefile.in: Likewise.
29240
29241 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29242 change. Instead split the tests into smaller pieces.
29243 * gdb.disasm/hppa.s: Corresponding changes.
29244
29245Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29246
29247 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29248 Quote ^C when passing it to stty. For some shells ^ is a pipe.
29249
29250 * gdb.base/funcargs.exp: Modify many tests so that every test
29251 either passes or fails. Make some test names unique.
29252
29253Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29254
29255 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29256 Call stty to set interrupt character.
29257
29258 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
29259 for HP assembler versus GNU assembler based on actual behavior of
29260 $(CC), rather than assuming that $(AS) is always the GNU assembler.
29261
29262 * TODO: Suggest a few more stepping tests.
29263
29264Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
29265
29266 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
29267 restart GDB for h8300 after a continue.
29268 (return): Add pattern to match a29k-udi behavior.
29269 * gdb.base/nodebug.exp: Remove obsolete comment.
29270 * gdb.base/regs.exp: New file, testing of register displays.
29271 * gdb.base/return.exp: Fix typo in reference to $objdir.
29272 * gdb.base/whatis.exp: Always start with a fresh GDB.
29273
29274Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29275
29276 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
29277 higher, these tests generate a lot of output.
29278
29279Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29280
29281 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
29282 code following the catch silently ignored some errors; without the
29283 catch they should be thrown like any other tcl error. Also, the
29284 catch used "" instead of {} which meant all the callers who wanted
29285 to include one of the characters "[]$ had to quote it an extra time.
29286 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
29287 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
29288 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
29289 Remove extra quoting.
29290
29291Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
29292
29293 * gdb.base/commands.exp: Make test names unique; every test either
29294 passes or fails. Update some comments.
29295
29296 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
29297
29298Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29299
29300 The following fixes a FAIL caused by the fact that the alpha stabs
29301 configuration didn't use the ".if alpha" code in weird.def.
29302 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
29303 bit pointer, so the 32 bit version works even on the alpha.
29304 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
29305 Remove the stuff which allowed us to have separate versions for
29306 alpha and everything else.
29307
29308 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
29309 regexp which "info func operator\[\](" is supposed to match. Fix
29310 string to send to GDB. Note that GDB still doesn't work right. Add a
29311 new test for "info func .perator\[\](" which GDB does handle correctly.
29312
29313 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
29314
29315Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29316
29317 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
29318 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
29319 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
29320 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
29321 it makes the tests harder to understand and confuses test-o-matic.
29322 The preferred style is that each test provides a PASS or a FAIL,
29323 and has a unique message (e.g. "continue #54" not just "continue")
29324 which is the same for the pass and the fail.
29325 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29326 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
29327 to lib/gdb.exp.
29328 * gdb.base/printcmds.exp: Use test_print_accept. Remove
29329 prt_accept which was basically the same thing. Likewise for
29330 test_print_reject and prt_reject.
29331 * lib/gdb.exp (test_print_reject): Add some more error message
29332 patterns to match from the former printcmds.exp (prt_reject).
29333 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
29334 One defect of the passcount stuff is that some of it failed to
29335 report XPASS where appropriate.
29336 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
29337 stuff before and after arg in expected pattern.
29338 (test_paddr_operator_functions): Re-do test without print_addr_of;
29339 this is the only test which seems to want extra stuff there.
29340
29341Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29342
29343 * gdb.base/nodebug.exp: Update new tests to reflect improved
29344 wording of gdb output.
29345
29346 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
29347 and "ptype" work on variables in files compiled without -g.
29348 Replaces commented out "maint print msymbol" tests.
29349
29350Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29351
29352 * gdb.base/setvar.c (dummy): Call malloc.
29353
29354 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
29355 losing with the irix4 sed.
29356
29357 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
29358 ALRM" on irix4.
29359
29360Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29361
29362 * TODO: Remove items about corefile.exp testing new exec-file and
29363 backtrace; both are now done. Add items about printing enums.
29364
29365Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29366
29367 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
29368 "get signal $thissig" test fails.
29369
29370 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
29371
29372Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29373
29374 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
29375 compiler warning with dec alpha compiler.
29376
29377 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
29378 extra \n from gdb_test call (this explains why the prompt test
29379 that I removed yesterday was there).
29380 (user_defined_command_test): Remove extra \n and prompt test.
29381
29382 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
29383 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
29384 doesn't exist.
29385 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
29386 Also remove alpha workaround, which turns out to be because
29387 SIGABRT == SIGLOST.
29388
29389 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
29390
29391 * gdb.base/help.exp: Don't test "help show".
29392
29393Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29394
29395 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
29396 "set print address" is on.
29397 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
29398 pass prompt to gdb_test; gdb_test already looks for the prompt.
29399
29400 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
29401
29402 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
29403 was a vestige of the manual TESTSTRATEGY, and the purpose of it
29404 was to make sure that gdb can read a core file. But (a) the "read
29405 the corefile" part didn't make it to a1-selftest.exp, we just
29406 delete the corefile after creating it, and (b) we test reading
29407 corefiles in corefile.exp anyway. Also, this test left around a
29408 xgdb process on Solaris.
29409
29410 * gdb.base/corefile.exp: Also test backtrace.
29411
29412Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
29413
29414 * gdb.base/commands.exp: Test a simple user defined command with
29415 arguments and if/while statements; verify the full user command is
29416 printed by "show user".
29417
29418 * gdb.base/commands.exp: Test if/while commands as part of a
29419 breakpoint command list; verify they appear in breakpoint
29420 information.
29421
29422Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29423
29424 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
29425 than by dividing by zero.
29426
29427Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
29428
29429 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
29430 performing an inferior call with watchpoints enabled.
29431 * gdb.base/watchpoint.c (main): Delete second unnecessary read
29432 call.
29433
29434Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29435
29436 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
29437 of "file" command.
29438
29439 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
29440 Add additional pattern for when "int operator int(void);" appears
29441 in a different order.
29442
29443Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29444
29445 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
29446
29447 * gdb.base/help.exp: Replace most of docstrings for "info signals"
29448 and "signal" with ".*".
29449
29450Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29451
29452 * TODO: Add note about "handle all nostop".
29453
29454 * gdb.base/{sigall.c, sigall.exp}: New test.
29455 * gdb.base/Makefile.in: Add it.
29456
29457Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
29458
29459 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
29460 when invoking GDB, suppresses any windowing interface.
29461
29462Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
29463
29464 * config/sim-gdb: New file, simulator testing support.
29465
29466Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
29467
29468 * gdb.base/interrupt.exp: Test calling func1 twice.
29469
29470Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
29471
29472 * gdb.base/list.exp (test_forward_search): Set timeout higher
29473 when we'll be getting lots of output from gdb.
29474
29475 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
29476 "init_malloc" to after the expect statement. Run it if that
29477 regexp is taken, but also for two others which happen if source
29478 cannot be found.
29479
29480Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29481
29482 * gdb.base/printcmds.exp: New test, for printing register before
29483 program is running.
29484
29485Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29486
29487 * gdb.base/list.exp: Correct some alternate expect patterns
29488 to reflect changes in list1.c.
29489
29490Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29491
29492 * TODO: Add item regarding large frames.
29493
29494 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
29495
29496 * TODO: Remove item about enabling return.exp; it
29497 is enabled. Suggest a few more "return" tests.
29498
29499Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29500
29501 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
29502 anonymous unions.
29503
29504Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29505
29506 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
29507 and pr-5646.o, so "make" is the same as "make all", not "make
29508 pr-4975.o".
29509
29510Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
29511
29512 * gdb.base/list.exp: Adjust expectations to reflect changes in
29513 list1.c.
29514 (test_forward_search): New test proc.
29515 * gdb.base/list1.c (long_line): New function, has long source line.
29516
29517Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
29518
29519 * gdb.base/a1-selftest.exp: Change initial stepping to know about
29520 additional line of code that was added.
29521
29522Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
29523
29524 * gdb.disasm/hppa.s: Break the large branching tests into smaller
29525 tests so as not to overflow expect's input buffers.
29526 * gdb.disasm/hppa.exp: Corresponding changes.
29527
29528Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29529
29530 Beginnings of template debugging tests.
29531 * gdb.c++/templ-info.cc: New file to test for template
29532 debugging capability of the compiler.
29533 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
29534 templ-info.cc.
29535 * gdb.c++/templates.cc: Add explicit template instantiations
29536 to enable compiling with -fno-implicit-templates. Add destructor
29537 and 'value' method to T5 class for template tests.
29538 * gdb.c++/templates.exp: Add testcases for printing of template
29539 types, setting breakpoints on template methods and calling a
d63a86f8 29540 template method.
c906108c
SS
29541
29542Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
29543
29544 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
29545 branch target since some assemblers (gas-2.5) may emit a
29546 relocation for the branch instead of resolving it in the
29547 assembler.
29548
29549Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29550
29551 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
29552 through signal handler.
29553
29554Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29555
29556 * configure.in (*-*-netware): Use config/mt-netware.
29557
29558 * config/mt-netware: New file.
29559 * config/mt-i386-netware: Removed, separate configs for different
29560 netware architectures are no longer needed now that we have
29561 --with-headers.
29562
29563Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29564
29565 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
29566 by the recent changes to use ANSI C arithmetic conversions.
29567
29568Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29569
29570 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29571 bug involving using inferior_pid to figure out whether to select a
29572 frame.
29573
29574Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
29575
29576 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29577 match the current disassembler output.
29578
29579Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
29580
29581 * gdb.fortran/exprs.exp: Expect VOID instead of void.
29582 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29583 types, expect "int" as type of integer values (for now).
29584
29585Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
29586
29587 * gdb.base/commands.exp: New tests for if/while commands.
29588
29589Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
29590
29591 * lib/gdb.exp (runto): Replace sub-pattern for hex value
29592 by .*, since hex values have different syntax in Chill mode.
29593
29594Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29595
29596 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
29597 linefeed from expect pattern for repeated types with indices > 9.
29598
29599Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
29600
29601 First part of Fortran test suite.
29602 * gdb.fortran: New directory.
29603 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29604
29605Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29606
29607 * gdb.base/default.exp: Update expect pattern for load command
29608 without arguments.
29609
29610Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
29611
29612 * configure.in: Change i386 to i[345]86.
29613 * gdb.base/configure.in: Likewise.
29614 * gdb.c++/configure.in: Likewise.
29615 * gdb.chill/configure.in: Likewise.
29616
29617Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29618
29619 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29620 patterns, since that is not a valid context for comments.
29621
29622Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29623
29624 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29625 repeated types and repeated types with indices > 9.
29626
29627Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29628
29629 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29630 2417; old bug has been fixed.
29631
29632Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29633
29634 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29635 send the newline ourselves instead of assuming gdb_test will do
29636 so when passed an empty input string.
29637
29638 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29639 stabs testcode.
29640
29641Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29642
29643 * lib/gdb.exp (gdb_test): Don't send anything if the first
29644 argument is an empty string. This makes cases where we want to
29645 match output that is already in expect's buffers (for example,
29646 matching a breakpoint after gdb_run_cmd has been called) work
29647 reliably.
29648
29649Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29650
29651 * config/netware.exp: New file.
29652
29653Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29654
29655 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29656 the -B and -L prefixes so we can find the debugging stub.
29657
29658 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29659 there and we are using the gcc from the tree.
29660
29661 * gdb.base/types.c: Removed.
29662
29663 * gdb.base/configure.in: Look for makefile fragments in ../config.
29664 Recognize i386-*-netware.
29665 * gdb.c++/configure.in: Likewise.
29666
29667Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29668
29669 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29670 the correct TCL syntax.
29671
29672Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29673
29674 * gdb.base/opaque.exp: use runto instead of messing around with
29675 breakpoints. Simplify by using gdb_test.
29676
29677 * gdb.base/bitfields.exp: restart between tests on netware targets
29678 because breakpoints aren't relocated after target death. Run
29679 processes to completion.
29680
29681 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29682
29683Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29684
29685 * Makefile.in: Remove extra tabs that confuse some versions
29686 of "make". Use the newly built gdb to test with by default,
29687 rather than the first one in the tester's search path.
29688
29689Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29690
29691 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29692
29693 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29694 condition help.
29695
29696Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29697
29698 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29699
29700 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29701 running.
29702 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29703 * gdb.base/funcargs.exp: Likewise.
29704
29705 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29706 * gdb.base/funcargs.exp: Likewise.
29707
29708 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29709 message is "".
29710
29711Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29712
29713 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29714 return,signals,twice}.exp: Handle non-existant binaries
29715 consistantly.
29716
29717 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29718 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29719 might testing a cross development system.
29720
29721Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29722
29723 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29724 runtest script is relative to ${srcdir}, not ${rootdir}.
29725
29726Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29727
29728 * gdb.base/signals.exp: Allow for optionality of breakpoint
29729 address.
29730
29731Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29732
29733 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29734
29735Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29736
29737 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29738 for size_t definition.
29739 * gdb.c++/templates.cc: Likewise
29740
29741 * config/mt-i386-netware: New file.
29742
29743 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29744 defined.
29745
29746 * gdb.base/Makefile.in: Added support for systems that name core
29747 files by appending "core" to the program name.
29748 * gdb.base/a1-selftest.exp: Likewise.
29749
29750Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29751
29752 * gdb.base/return.exp: Add comment and message for `return double'
29753 test failure on Sparc Solaris.
29754
29755Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
29756
29757 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29758
29759Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29760
29761 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
29762 from optimizing them away.
29763 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
29764 patterns to include default constructors and assignment operators,
29765 to match gcc versions beyond 2.5.8. Accept any cplus demangling
29766 character in the output of the virtual base pointer.
29767
29768Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29769
29770 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
29771 expression match in print_addr_of to avoid unintented matches.
29772 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
29773 versions up to 2.5.8.
29774
29775Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29776
29777 * gdb.base/list.exp: Tweak alternate pattern for listing of an
29778 included file to run under newer versions of expect.
29779 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
29780 consecutive >'s in templates to accomodate recent cplus-dem.c change.
29781 Remove xfail for the virtual table of BDDHookV.
29782
29783Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
29784
29785 * lib/gdb.exp (string_to_regexp): Set a default result.
29786 (default_gdb_start): Fix misleading message.
29787
29788Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
29789
29790 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29791 Remove all CC, etc definitions.
29792 * config/mt-hpux: New file.
29793 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29794 (CFLAGS, LDFLAGS): Define.
29795 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29796
29797 * Makefile.in (site.exp): Don't insert host_os, etc.
29798 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29799 (distclean): Check existence of subdir.
29800 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29801 * gdb.base/Makefile.in: General cleanup and simplification.
29802 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29803 to build executables. Use default rule to build .o files.
29804 (EXPECT, RUNTEST, CC): Fix relative pathname.
29805 (site.exp): Don't insert host_os, etc.
29806 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29807 and/or SIGUSR1 defined.
29808 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29809 * gdb.c++/Makefile.in: General cleanup and simplification.
29810 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29811 (CFLAGS): Remove.
29812 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29813
29814Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
29815
29816 * gdb.base/recurse.exp: Misc changes to get tests running again
29817 after Kung's changes to the watchpoint code.
29818 * gdb.base/watchpoint.exp: Likewise.
29819
29820Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
29821
29822 * lib/gdb.exp (string_to_regexp): Convert {\} also.
29823
29824Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
29825
29826 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29827 * lib/gdb.exp (default_gdb_start): Define.
29828 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29829 gdb.base/funcargs.exp, gdb.base/opaque.exp,
29830 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29831 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29832 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29833 Don't call gdb_target_udi in between tests.
29834
29835Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29836
29837 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29838 (which was basically just a local version of the same thing). In
29839 addition to avoiding duplication, gdb_test_exact is faster.
29840 * lib/gdb.exp (gdb_test_exact): Fix typo.
29841
29842 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29843 don't give an error.
29844
29845 * gdb.base/term.exp: Call delete_breakpoints before starting.
29846
29847 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29848 (t10): Add comment.
29849
29850Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29851
29852 Reorganization of the GDB Test Suite.
29853
29854 * gdb.base: New directory, contains all the basic tests.
29855 * gdb.c++: New directory, tests specific to C++.
29856 * gdb.chill: New directory, tests specific to Chill.
29857 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29858 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29859 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29860 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29861 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29862 t30-31 to chill).
29863 * */gdbme.*: Rename to match appropriate expect scripts.
29864 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29865 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29866 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29867 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29868 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29869 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29870 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29871 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29872 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29873 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29874 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29875 gdb.c++/virtfunc.cc: New names of C++ files.
29876 * gdb.chill/chillvars.ch: New name of Chill file.
29877 * gdb.base/configure.in, gdb.c++/configure.in,
29878 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29879 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29880 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29881 * configure.in (configdirs): Update to reflect directory changes.
29882 (target_abbrev): No longer define for any configuration.
29883 * Makefile.in: Cosmetic improvements to header comments.
29884
29885Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29886
29887 Various changes to gdb.t31:
29888
29889 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29890 * gdbme.ch: Make all key-words and predefineds be upper-case.
29891 * chillvars.exp: Expect key-words and predefinds in upper-case.
29892
29893 * chillvars.exp: Use gdb_test_exact many places.
29894 Change expected output for arrays (which now includes index labels).
29895
29896 * pr-5020.exp, gdme.ch (module PR_5020):
29897 New test, for PR-5020.
29898
29899Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29900
29901 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29902 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29903
29904Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29905
29906 * Makefile.in: Fix bit-rot in definitions of CHILL,
29907 CHILL_FOR_TARGET and Chill_LIB.
29908 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29909 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29910 CHILL, and CHILL_LIB.
29911
29912Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29913
29914 * Revert the previous changes. Please see Rob's directory
29915 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29916
29917Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29918
29919 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
29920 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29921 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29922 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
29923 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29924 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29925 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29926 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29927 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29928 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29929 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29930 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29931 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29932 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29933 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29934 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29935 changes from 94Q1.
29936
29937Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29938
29939 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29940 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29941 Rob's new testing fragments.
29942
29943Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29944
29945 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 29946 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
29947
29948Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29949
29950 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29951 version also, match on casted version strings, and match on
29952 gdb startup case where the line numbers might be messed up.
29953
29954Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29955
29956 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 29957 (CFLAGS): Delete it from here.
c906108c
SS
29958
29959Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29960
29961 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29962
29963Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29964
29965 * Makefile.in (RUNTEST): Default to just "runtest".
29966
29967Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29968
29969 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29970 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29971 the code has been restructured.
29972
29973Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29974
29975 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29976 \n, not just one of each.
29977
29978 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29979 /bin/cc gives a warning if you do.
29980
29981Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29982
d63a86f8 29983 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
29984 __t10ListS_link1ZUiRCUiPT0
29985
29986Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29987
29988 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29989 on local variables in recursive functions.
29990
29991 * gdb.t07/Makefile.in: Build the new test.
29992
29993Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29994
29995 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29996 directly. Instead compare the return values from actual calls.
29997
29998Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29999
30000 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30001
30002Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30003
30004 * From Peter Schauer with minor modifications.
a9c64011
AS
30005 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30006 stops in mid-line in the caller. Add xfail for returning a float
30007 value on X86 targets.
c906108c
SS
30008
30009Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30010
30011 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30012 to avoid expect lossage.
30013 (fmem_LRbug_tests): Likewise.
30014 * gdb.disasm/hppa.s: Corresponding changes.
30015
30016 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30017 conditions to work with latest dejagnu/expect.
30018
30019 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30020 expected to fail on the PA.
30021 (backtrace in call with trampolines): Explicitly require main
30022 to be frame #1 (no trampolines should show up in backtrace).
30023
30024 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30025 "continue -expect".
30026 * gdb.t06/break.exp: Likewise.
30027 * gdb.t07/watchpoint.exp: Likewise.
30028 * gdb.t13/bitfields.exp: Likewise.
30029 * gdb.t15/{funcargs,return}.exp: Likewise.
30030 * gdb.stabs/weird.exp: Likewise.
30031 * config/{mips,udi}-gdb.exp: Likewise.
30032
30033 * hppa.sed: Enclose comments within a sed command to avoid
30034 losing with the old OSF1 sed.
30035
30036Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30037
30038 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30039 sequent dynix.
30040 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30041 * gdb.t15/funcargs.exp: Conditionally step again to really
30042 finish from marker_call_with_trampolines. Handle the case where
30043 the first step from within call_with_trampolines already steps
30044 us back to main.
30045 * gdb.t15/gdbme.c: Add comment to closing brace of
30046 call_with_trampolines for funcargs.exp.
30047
30048Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30049
d63a86f8 30050 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
30051 Fix typo(s).
30052
30053Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30054
30055 * gdb.t07/gdbme.c: More code for watchpoint testing.
30056
30057 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30058 "Hardware watchpoint" throughout file.
30059 (test_watchpoint_triggered_in_syscall): New test.
30060 (test_complex_watchpoint): New test.
30061
30062Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30063
30064 * gdbme.c (call_with_trampolines): New function to try and step
30065 into. Tests trampoline problems on the PA.
30066
30067 * funcargs.exp (localvars_in_indirect_call): No longer expect
30068 stepping into indirect call to fail on PAs.
30069 (test_stepping_over_trampolines): New test.
30070
30071Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30072
30073 * TODO: Add suggestions for static member function tests, and
30074 completion tests.
30075
30076Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30077
30078 * TODO: Add suggestions for "p/a" tests.
30079
30080 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30081 (default_gdb_exit): Replace all the hair with sending "quit" to
30082 the process with a simple close.
30083
30084Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30085
30086 * TODO: Add suggestions for shared library tests.
30087
30088Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30089
30090 * TODO: Add suggestions for x/s tests.
30091
30092Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30093
30094 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30095 "enable once", and "enable breakpoints once" with ".*".
30096
30097Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30098
30099 * TODO: Add suggestions about structure passing tests.
30100
30101Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30102
30103 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30104 the primary1 test, use work around if __GNUC__ < 2.
30105 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30106 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30107 Test for bad output rather than waiting for timeout. Issue
30108 second continue only if first continue failed.
30109
30110Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30111
30112 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30113 operator[] test with gdb_test because the old code didn't seem to
30114 be getting the quoting right with the new dejagnu.
30115
30116Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30117
30118 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30119 one from the path.
30120 * Makefile.in: Use a fresh expect if there is one, use runtest
30121 from the src tree if there is one.
d63a86f8 30122
c906108c
SS
30123Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30124
30125 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30126 next over recursive call. Revise the tests from that point on
30127 (which had been skipped) to match GDB's actual (correct) output.
30128
30129 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30130 with next over a breakpoint whose condition is false.
30131
30132 * gdb.t00/help.exp: Comment out "help set print" tests just like
30133 (and for same reason as) "help set" test.
30134
30135Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30136
30137 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30138 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30139
30140Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30141
30142 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30143 necessary gdb_target_udi.
30144
30145 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30146
30147 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30148 1838 and 2417; they are fixed.
30149
30150 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30151 gdb.t03/ptype.exp (ptype structure, ptype union):
30152 Remove xfails; the test is looser than when the xfails were added.
30153
30154 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30155 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30156
30157 * gdb.t01/run.exp: Only run shell test if isnative.
30158
30159 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30160 since "run" automatically loads if necessary. Call gdb_target_udi
30161 after the "file" since "file" kills any execution target.
30162
30163 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30164 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30165 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30166 argument for UDI.
30167
30168Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30169
30170 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30171
30172 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30173
30174Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30175
30176 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30177 properly quoting regexps. This makes the second argument to
30178 demangle a fixed string, which matches the callers, instead of a
30179 shell-style pattern which is what the previous implementation
30180 used. Update some of the callers.
30181
30182Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30183
30184 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30185 (comib_nullified_tests): Fix typo.
30186 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30187 strings. No longer expected to fail.
30188
30189 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30190 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30191 strings. No longer expected to fail.
30192
30193 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30194 string. No longer expected to fail.
30195
30196Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30197
30198 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30199 No longer expected to fail.
30200
30201 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30202 string. No longer expected to fail.
30203
30204Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30205
30206 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30207 only in the names (I probably got most of them). I was even
30208 generous with some which differed in underscores in names, and
30209 probably missed a few, and I *still* was able to remove almost a
30210 third of the file with almost no impact on testsuite coverage.
30211
30212Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30213
30214 * gdb.t00/default.exp: Match udi_attach error message as well as
30215 the one from child_attach.
30216
30217 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30218
30219 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30220
30221 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30222 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30223
30224 * Move test with enums and partial symbols back to
30225 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30226 Reverts the change of 26 May 93. Per today's change to
30227 stabs.texinfo, the behavior that weird.exp was expecting was
30228 unreasonable; what is important is that the compiler+gdb get
30229 things right, which happens with a recent gcc. Also fix the test
30230 to deal with native compilers which put out the stab gdb can't
30231 deal with.
30232
30233Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30234
30235 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30236 in the names. The main thing these accomplish is to slow things down.
30237 Many more such duplicates surely remain.
30238
30239 * gdb.t00/help.exp: Comment out "help support" test just like
30240 (and for same reason as) "help set" test.
30241
30242Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
30243
30244 * gdb.t06/break.exp: Remove setup_xfails for
30245 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30246 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
30247 about known bug in gcc to include up through 2.5.8.
30248 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
30249 well as "_vb$".
30250 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30251 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30252 with latest gcc and gdb.
30253 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
30254 well as "_vb$".
30255
30256Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30257
30258 * configure.in (hppa*-*-*): Also configure and build stabs-only
30259 tests.
30260
30261Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30262
30263 * gdb.t10/hppa.mt: A makefile fragment for the PA.
30264 * gdb.t10/configure.in (hppa*-*-*): Use it.
30265
30266Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30267
30268 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
30269
30270Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30271
30272 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
30273 versions prior to 1.13.5.
30274
30275Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30276
30277 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
30278 the prompt is at the start of a line.
30279
30280Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30281
30282 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
30283 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
30284 in the copr tests now.
30285 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
30286 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
30287 expected to fail.
30288
30289Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
30290
30291 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
30292 gdb.t31/chillvars.exp, lib/gdb.exp:
30293 Tweak to run under either version of expect.
30294 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
30295 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
30296 * gdb.t11/list.exp: Remove extraneous whitespace.
30297
30298Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30299
30300 * gdb.t16/printcmds.exp (test_print_strings): Accept
30301 "(unsigned char *) " before the string.
30302
30303 * TODO: Add notes about printing of fancy types and GDB expressions.
30304
30305Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
30306
30307 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
30308 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 30309 if doing mips-idt-ecoff.
c906108c
SS
30310
30311Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
30312
30313 * Most .exp files: Tweak to run under either version of expect.
30314
30315Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30316
30317 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
30318 xfails; I'm not sure why they are failing, but not because of PR 1806.
30319
30320Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
30321
30322 * config/unix-gdb.exp: Remove gdb_unload cause it's already
30323 defined in lib/gdb.exp.
30324
30325Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30326
30327 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
30328 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
30329 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
30330 have to be typeless.
30331
30332Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30333
30334 * TODO: Add suggestion for copyright year test.
30335
30336Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
30337
30338 * configure.in (*-*-lynxos*): Add stabs tests.
30339
30340Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30341
30342 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
30343 so insert a tab before any assembler directive in column zero.
30344
30345 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
30346 stores.
30347 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
30348 stores.
30349 (fpu_short_memory_tests): Likewise.
30350
30351Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30352
30353 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
30354 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
30355 .stabs directives in comments.
30356
30357Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30358
30359 * TODO: New file, describing tests we could write.
30360 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
30361
30362Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30363
30364 * gdb.t06/signals.exp: Add kludge to force re-sync.
30365
30366 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
30367 to xgdb instead of gdb, get out of gdb.
30368
30369Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
30370
30371 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
30372 for info.
30373
30374Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30375
30376 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
30377 * gdb.stabs/configure.in (hppa*-*-*): Use it.
30378 * gdb.stabs/hppa.sed: New sed script for the PA.
30379
30380Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30381
30382 * gdb.stabs: Re-write weird.def and configuration to use sed
30383 instead of cpp. sed is portable and POSIX; cpp is neither.
30384
30385Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30386
30387 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
30388
30389Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30390
30391 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
30392
30393Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30394
30395 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
30396 "_vb$".
30397 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
30398 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
30399
30400Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30401
30402 * lib/gdb.exp: Comment out code which depends on non-existent
30403 `transform' procedure.
30404
30405Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
30406
30407 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
30408 * lib/gdb.exp: Transform tool name.
30409 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
30410 1.1's new error handling system.
30411
30412Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30413
30414 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
30415
30416Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30417
30418 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
30419 They made pattern matching so slow that timeouts happened on
30420 heavily loaded systems. Now any output from "show print" which
30421 gets us back to the GDB prompt is a PASS.
30422
30423Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
30424
30425 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
30426
30427Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30428
30429 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
30430
30431 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
30432 It is not from PR 3220.
30433
30434Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30435
30436 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
30437 just started failing because they depended on the order the
30438 subcommands are presented, or exact docstring text. This kind of
30439 test is a pain and has minimal benefit.
30440
30441Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30442
30443 * gdb.t09/corefile.exp: At end of test, use "core" command with
30444 no arguments.
30445
30446Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
30447
30448 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
30449 17}/Makefile.in: Make it possible to run the testsuite with Sun
30450 make and CC = cross gcc by adding explicit build rules for .o
30451 files.
30452
30453Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30454
30455 * gdb.t15/funcargs.exp: Don't put comments on same line as
30456 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 30457
c906108c
SS
30458Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30459
30460 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
30461
30462Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
30463
30464 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
30465 * gdb.t20/inherit.exp: remove three dumplicate entries.
30466
30467Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30468
30469 * gdb.t06/break.exp: For "next over recursive call", fail on any
30470 incorrect output, not just on "factorial (value=2)".
30471
30472Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30473
30474 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
30475 working now. Add an xfail if accesing a bss variable causes
30476 a memory error if the target is not yet run.
30477
30478Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30479
30480 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
30481 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
30482 name of __st* demangling (2 strings). Did Kung really get the
30483 more than 95 others right without testing them?
30484
30485Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
30486
30487 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
30488
30489Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
30490
30491 * configure.in (configdirs): Add gdb.disasm
30492 * gdb.disasm: New directory for GDB disassembler tests.
30493 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
30494
30495Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30496
30497 * gdb.t00/help.exp: Don't test "help set".
30498
30499 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
30500 from within expect statements. None of these happen anymore and
30501 they cause regressions to be silently unnoticed.
30502
30503 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
30504 messages) about known failures with gcc cygnus-2.4.5-930417.
30505
30506 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
30507 comp-info.exp so it gets built if it doesn't exist.
30508
30509 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
30510 it is no longer used.
30511 * gdb.t13/comp-info.c: Removed.
30512
30513Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30514
30515 * gdb.t06/signals.exp: Add xfail for sun3.
30516
30517Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30518
30519 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
30520 relevant because ^C doesn't get sent but failure can be reproduced
30521 interactively).
30522
30523Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30524
30525 * gdb.stabs/alpha.mt: New configuration file for alpha.
30526 * gdb.stabs/configure.in: Use it.
30527 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
30528 sharing with alpha.mt, redefine long to word via preprocessor.
30529 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
30530 for alpha.
30531 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
30532 native cc.
30533 * gdb.t00/teststrategy.exp: Change expect string so that we
30534 consume the `(xgdb)' from the command echo and from the gdb prompt.
30535 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
30536 gdb currently compares all values as long, so this failure probably
30537 applies to any configuration where LONGEST is bigger than a target int.
30538 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
30539 with gcc.
30540 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
30541 to handle opaque pointers, gcc is.
30542 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
30543 as first argument. Include <sys/types.h> and change all operator
30544 new definitions to use size_t.
30545 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
30546 now that we use size_t.
30547
30548Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30549
a9c64011 30550 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 30551 a long or float array cast all array members to the same type.
a9c64011 30552 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 30553 with 64 bit longs.
a9c64011 30554 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 30555 on alpha.
a9c64011 30556 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
30557
30558Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30559
30560 * gdb.t24 (demangle.exp): Constructors of templates have names like
30561 vector<int>::vector(int) not vector<int>::vector<int>(int). See
30562 section 14.6 of the ARM.
30563
30564 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
30565 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
30566 accomplish little and slow down the testsuite.
30567
30568 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
30569 Accept spaces various places.
30570
30571Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30572
30573 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30574 with watchpoint enabled.
30575
30576 * Makefile.in: Remove definition of CC and remove the second
30577 definition of CXX (the "CXX = gcc" one remains). These definitions
30578 were causing backquotes to be expanded within backquotes, which
30579 doesn't work.
30580
30581Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
30582
30583 * gdb.t17/callfuncs.exp: Add "return 0" to end.
30584
30585Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30586
a9c64011
AS
30587 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
30588 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
30589 by mips cc and contains no stabs entries.
30590
30591Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
30592
30593 * config/vx-gdb.exp: Use fake device to load files rather than
30594 NFS.
30595 * lib/gdb.exp: New proc to do "file" command.
30596 * config/unix-gdb.exp: Use new "file" proc.
30597
30598Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
30599
30600 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30601 Rework board rebooting slightly.
30602 (gdb_exit): Don't exit from the remote shell; there isn't one.
30603 * gdb.stabs/weird.exp: If a program is being debugged already,
30604 kill it.
30605 * gdb.t04/setvar.exp: Stop and restart gdb.
30606 * gdb.t05/expr.exp: Likewise.
30607 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30608 restart gdb and reload the program.
30609 * gdb.t08/opaque.exp: Likewise.
30610 * gdb.t12/scope.exp: Likewise.
30611 * gdb.t13/bitfields.exp: Likewise.
30612 * gdb.t15/funcargs.exp: Likewise.
30613 * gdb.t20/classes.exp: Likewise.
30614 * gdb.t03/ptype.exp: Increase timeout.
30615 * gdb.t16/printcmds.exp (test_print_string_constants,
30616 test_print_array_constants): Likewise.
30617 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30618 * gdb.t20/classes.exp (do_tests): Likewise.
30619 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30620
30621Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30622
30623 * gdb.stabs: Renamed *wierd* to *weird*.
30624
30625Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30626
30627 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30628 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30629
30630Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30631
30632 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30633 (do_tests): Remove xfail for whatis on one_var and two_var.
30634
30635Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30636
30637 * Makefile.in: Made cross building work better by adding
30638 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30639
30640Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30641
30642 * gdb.t15/{return.c,return.exp,Makefile.in}:
30643 New test, currently commented out.
30644
30645Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30646
30647 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30648 still running and removes the leftover named socket so GDb can do
30649 clean restarts.
30650
30651Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30652
30653 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30654 console, not GDB.
30655 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30656 cross testing works better with "make check"
30657 * config/unix-gdb: Use default procedures for exit and version.
30658 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30659 with the newest VxWorks.
30660
30661Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30662
30663 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30664 old form.
30665
30666 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30667 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30668
30669 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30670
30671 * config/unix-gdb.exp: Remove this version of gdb_exit
30672 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30673 Rob says he'll look at it when he gets back to testing boards.
30674
30675Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30676
30677 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30678 an expected fail for certain ptype commands.
30679
30680 * gdb.t20/classes.exp: Update expected results of "ptype class
30681 Base1" to account for the constructor that now appears in the type.
30682
30683Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30684
30685 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30686 disappeared from list.
30687 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30688 "alldone" proc with call to cleanup and exit.
30689 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30690 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30691 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30692 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30693 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30694 "alldone" proc with simple returns that suppress remaining
30695 tests. The alldone proc went away many months ago.
30696
30697Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30698
30699 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30700
30701 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30702
30703Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30704
30705 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30706 as vax gdb will display them.
30707
30708Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30709
30710 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30711 optimizers.
30712
30713 * scope.exp: Change "bad value for localval" messages so each one
30714 is unique.
30715
30716 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30717 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30718
30719 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30720
30721Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30722
30723 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30724 doesn't exist (due to optimization).
30725
30726Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30727
30728 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30729 contains \r because the filename is long.
30730
30731 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30732 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30733
30734Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30735
30736 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30737 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
30738 Ultrix.
30739 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
30740 int tests.
30741 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
30742
30743Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
30744
30745 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
30746
30747 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 30748 to match does not match the passing case but still matches the
c906108c
SS
30749 failing case.
30750
30751Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30752
30753 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30754
30755Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
30756
30757 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
30758 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30759 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30760 Remove various versions of gdb_exit.
30761 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30762 gdb_exit.
30763 * config/unix-gdb.exp: gdb_exit remains here, and should override
30764 the generic version, since it's doing a lot of wierd stuff that
30765 the other versions aren't. FIXME, fold it in, or abandon this
30766 version.
30767
30768Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30769
30770 * gdb.t24/demangle.exp: Add tests for PR 3220.
30771
30772Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30773
30774 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30775
30776Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
30777
30778 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
30779 "i386-*-*". Works for i486 as well.
30780
30781 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
30782 bug, and expand domain of xfail to all SVR4 systems, since the
30783 actual problem is likely to be in generic SVR4 /proc support.
30784
30785Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30786
30787 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30788
30789Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
30790
30791 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
30792 xfails for other systems. Match a missing 'Continuing.' as an
30793 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30794
30795 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30796 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30797 Only issue warning for missing executables if -all option is used.
30798
30799 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
30800 file if -all option is used. It's like an unpredictable XFAIL.
30801
30802Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30803
30804 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30805 for dynamically linked binaries.
30806
30807 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30808
30809Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30810
30811 * gdb.t20/inherit.exp: Change message for "print tagless struct"
30812 to state that this is a known bug in old versions of g++.
30813
30814Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30815
30816 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
30817 while waiting for `Continuing'.
30818
30819Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
30820
30821 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
30822 in text, data, and bss.
30823 * gdb.t10/nodebug.c: Add local and global test variables for
30824 initialized and uninitialized data.
30825
30826Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30827
30828 * config/unix-gdb.exp (gdb_exit): Add "wait".
30829
30830Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30831
30832 * gdb.t06/signals.exp: xfail the continue from the handler for all
30833 targets.
30834
30835 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
30836 function with watchpoints enabled, the i386 call dummy starts with
30837 a call.
30838
30839 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
30840 386 bsd names its corefiles.
30841
30842Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
30843
30844 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
30845 compilers don't grok it.
30846 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
30847 with small octal ints rather than character constants, which
30848 are signed and might not fit if first promoted to int.
30849
30850Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30851
30852 * gdb.t09/Makefile.in (clean): Remove corefile.
30853
30854Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30855
30856 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30857
30858Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30859 and Jim Kingdon (kingdon@cygnus.com)
30860
30861 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30862 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30863 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30864
30865Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30866
30867 * gdb.t17/interrupt.exp: Add xfail for hppa.
30868
30869Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30870
30871 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30872 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30873 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30874 to determine signed-ness of bitfields and use the result to setup
30875 the xfail.
30876 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30877 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30878 call line is reached if necessary.
30879
30880Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30881
30882 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30883
30884Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30885
30886 * gdb.t06/break.exp: Also test `clear' command.
30887
30888Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30889
30890 * gdb.t00/teststrategy.exp: Remove extra quote.
30891
30892 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30893 watchpoint enabled to be for all non-68k machines.
30894
30895 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30896
30897Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30898
30899 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30900 targets use aout.mt instead of ecoff.mt as gas understands
30901 standard aout format.
30902
30903Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30904
30905 * lib/gdb.exp (runto): Don't insist that function we are running to
30906 was compiled with -g.
30907
30908 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30909
30910 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30911 to get back into the read system call.
30912 Accept leading newline in case where we woke it up.
30913
30914Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30915
30916 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30917 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30918 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30919 enable ecoff configuration.
30920
30921Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30922
30923 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30924
30925Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30926
30927 * gdb.t16/printcmds.exp: Add another printf test.
30928
30929Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30930
30931 * configure.in: If configured -with-stabs on any target, add
30932 stabsdirs to configdirs.
30933
30934Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30935
30936 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30937 fun" so pattern does not match the command itself.
30938
30939Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30940
30941 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30942
30943Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30944
30945 * gdb.t17/interrupt.exp: Test for more things.
30946
30947Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30948
30949 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30950 compiler arranges the code and line numbers.
30951
30952 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30953
30954Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30955
30956 * gdb.t00/help.exp: Increase expect input buffer size.
30957
30958Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30959
30960 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30961
30962 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30963
30964 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30965
30966 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30967 [0-9]*, not just [0-9].
30968
30969Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30970
30971 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30972
30973 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30974
30975Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30976
30977 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30978
30979Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30980
30981 * gdb.t06/signals.c: Add xfails for sun3.
30982
30983 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30984
30985 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30986 test_stepping tests.
30987
30988Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30989
30990 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30991
30992 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30993
30994 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30995 rather than actually putting it through cpp twice.
30996
30997 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30998
30999Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31000
31001 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31002 no longer needed.
31003
31004Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31005
31006 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31007
31008 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31009 C++ features prints as "struct", make it a pass, not an xfail.
31010
31011Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31012
31013 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31014 Don't require VA to print as "class" rather than "struct".
31015
31016Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31017
31018 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31019
31020Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31021
31022 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31023
31024Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31025
31026 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31027 order.
31028
31029Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31030
31031 * gdb.t16/printcmds.exp: Add printf tests.
31032
31033 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31034
31035 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31036
31037Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31038
31039 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31040 pass counts, to counteract any existing or future setup_xfails.
31041
31042Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31043
31044 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31045 {BEGIN,END}_COMMON for common block instead of STAB.
31046 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31047
31048 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31049 intp_var should be N_GSYM not N_LSYM.
31050 wierd-aout.S: Use a label for the value of the N_SO.
31051 wierd.def: Remove all backslashes.
31052 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31053
31054Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31055
31056 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31057 get the expected next to inheritance3.
31058
31059Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31060
31061 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31062 now that gcc-2.4 gets it right.
31063
31064Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31065
31066 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31067
31068 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31069 generating comp-info.exp which works for cross-compilation.
31070
31071Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31072
31073 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31074 "*-*-sysv4.*".
31075
31076Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31077
31078 * gdb.t01/run.exp: Start with a fresh gdb.
31079 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31080 SVR4.x.
31081
31082Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31083
31084 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31085 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31086 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31087 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31088 things to remove.
31089
31090Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31091
31092 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31093 test cases from bug reports.
31094
31095Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31096
31097 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31098 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31099 avoid spurious xfails.
31100 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31101 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31102 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31103
31104Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31105
31106 * gdb.t00/teststrategy.exp: Rework to provide more useful
31107 description of each test, fix problem with systems that define
31108 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31109 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31110 results for "next over recursive call" so timeouts aren't taken
31111 by error.
31112
31113Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31114
31115 * gdb.t12/scope.exp: Test printing of variables before run.
31116
31117 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31118 printed in wrong order due to sorting.
31119
31120Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31121
31122 * gdb.t00/teststrategy.exp: Fix expected results for printing
31123 user entered string constant. Is array of char, prints with no
31124 address.
31125
31126 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31127 commands.
31128 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31129 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31130 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31131 of struct of char arrays.
31132 * gdb.t00/radix.exp: New tests for radix commands.
31133
31134Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31135
31136 * gdb.t16/printcmd.exp: Print a variable before running program
31137 (with xfail for AIX).
31138
31139Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31140
31141 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31142
31143 * gdb.t16/printcmd.exp: Don't print variables before running program.
31144
31145 * gdb.t06/break.exp: Don't require envp argument to main.
31146
31147 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31148
31149 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31150 Add xfails for rs6000.
31151
31152 * gdb.t02/whatis.exp: Change other tests not to re-test something
31153 we already tested.
31154
31155 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31156 each type used has a variable of that type.
31157
31158Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31159
31160 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31161
31162Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31163
31164 * configure.in: change srctrigger to be a file, not a directory
31165
31166Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31167
31168 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31169
31170 * gdb.t11/list.exp: Fixed a couple of typos.
31171
31172Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31173
31174 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31175 is fixed and PR is closed.
31176 * gdb.t16 (gdbme.c): Add simple test string variable.
31177 * gdb.t16 (printcmds.exp): Add tests with simple test string
31178 variable, primarily for boundaries on "set print elements".
31179
31180Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31181
31182 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31183 Make leading 0's optional and don't expect a tab in the middle
31184 of the number.
31185
31186 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31187
31188 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31189 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31190 don't end command passed to gdb_test with newline.
31191
31192 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31193 signed keyword away, don't expect signed bitfields to be signed.
31194
31195 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31196 printing with only as many 1's as are in the field as well as printing
31197 with 32 1's (see comment).
31198
31199Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31200
31201 * gdb.t00/default.exp: Start with a fresh gdb.
31202 * configure.in (configdirs): Remove gdb.t31 until the chill
31203 compiler works again. It no longer is able to find chillrt0
31204 since it isn't in libchill.a anymore.
31205 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31206 wierd.o, make more modular.
31207 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31208 spurious newlines that caused problems.
31209
31210Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31211
31212 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31213 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31214 gdb.stabs/wierd.{exp,def}: Many new tests.
31215
31216 * gdb.t00/default.exp: update info line for new message.
31217
31218 * gdb.t02/{whatis.exp,gdbme.c}:
31219 Test that "char *" doesn't print as "caddr_t".
31220
31221Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31222
31223 * gdb.t00/help.exp: Use .* in place of some help messages which
31224 just changed.
31225 gdb.t00/default.exp: Update "info frame" test for new message.
31226 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31227 Remove some xfails
31228
31229Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31230
31231 * gdb.t03/{gdbme.c,ptype.exp}:
31232 Add tests for typedef'd struct and union without tags.
31233 Also check "whatis" on a variable of a typedef'd enum without a tag.
31234
31235 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31236 PRMS 1823; the bug still exists but isn't reproduced by this test
31237 anymore), and remove rs6000 XFAIL (the bug is fixed).
31238
31239 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31240 duplicated from whatis.exp. For those that are left, accept
31241 "long", "long int", or "int" for long variables (whatis.exp already
31242 has an XFAIL for "int", so no need to fail it here).
31243
31244 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31245 Deal with GCC's names for types now that GDB uses the compiler's names.
31246
31247 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
31248 setup_xfail's for sunos4. If we #defined the signed keyword away,
31249 don't expect GDB to know that char it is signed.
31250
31251 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31252
31253Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
31254
31255 * configure.in (configdirs): Add gdb.t24 for C++ tests that
31256 should work on any system, regardless of debugging format.
31257 * gdb.t21/demangle.exp: Move to gdb.t24.
31258 * gdb.t24/demangle.exp: Move from gdb.t21.
31259 * gdb.t24/{Makefile.in, configure.in}: New files.
31260
31261Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31262
31263 * configure.in: Do gdb.stabs and C++ tests only for stabs.
31264 * gdb.stabs: New directory.
31265
31266Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31267
31268 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
31269 not just "Quit anyway?".
31270
31271Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
31272
31273 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
31274 that all setup_xfails are immediately followed by clear_xfails.
31275
31276Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
31277
31278 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
31279 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
31280 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
31281 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
31282 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
31283 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31284 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31285 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
31286 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
31287 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
31288 gdb.t31/chillvars.exp, lib/gdb.exp:
31289 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
31290 bug-gdb@prep.ai.mit.edu.
31291
31292Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
31293
31294 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
31295 with 0.0, not integer 0.
31296
31297Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
31298
31299 * gdb.t06/break.exp: Update for "Kill the program" message change.
31300
31301Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
31302
31303 * Makefile.in (GDBFLAGS): Set to -nx.
31304 * Makefile.in (site.exp): Use GDBFLAGS.
31305
31306Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31307
31308 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
31309 Makefiles.
31310 (check): depend on just-check.
31311 (just-check): added so that tests can be run without a noop
31312 build pass.
31313
31314Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31315
31316 Switch to using configure's configdirs.
31317 * Makefile.in (Makefile): add configure.in dependency.
31318 (SUBDIRS): removed redundant assignment.
31319 * configure.in: switch subdirs assignment to configdirs.
31320 * gdb.t*/configure.in: new files.
31321
31322Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
31323
31324 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
31325 works.
31326
31327Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
31328
31329 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
31330 in explicit rules. Apparently this is not supported by some makes.
31331
31332Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
31333
31334 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
31335
31336Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31337
31338 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
31339 disappeared.
31340
31341Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
31342
31343 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
31344
31345Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
31346
31347 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
31348 watchpoint problem that is now fixed.
31349 * gdb.t30/chexp.exp: Remove setup_xfail for printing
31350 uninitialized convenience variables.
31351 * gdb.t31/chillvars.exp: Fix expected patterns for printing
31352 structures.
31353
31354Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31355
31356 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
31357 which causes expect to get out of sync with gdb on long output
31358 from help set.
31359 * gdb.t09/corefile.exp: Make expected pattern for core file
31360 failing signal and frame output format less sun specific.
31361
31362Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
31363
31364 * gdb.t31/chillvars.exp: Add and remove initial dummy
31365 breakpoint, so that symbol table is forced in.
31366 (Needed at least on Sunos4, though it seems not SVR4.)
31367 * gdb.t31/chillvars.exp: Update for changed output format.
31368
31369Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
31370
a9c64011 31371 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
31372
31373Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
31374
31375 * Makefile.in: Added --srcdir when invoking runtest, removed the
31376 need for a local config file. (optional now)
31377
31378Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
31379
31380 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
31381 failure count used to force early termination. Add some more
31382 expected failures for gnu style demangling.
31383
31384Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31385
31386 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
31387 pmi variable from gdb.t20/gdbme to get optimized away.
31388 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
31389 Check for written corefile upon timeout _and_ eof.
31390
31391Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31392
31393 * config/unix-gdb.exp: Add missing return 0.
31394
31395Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31396
31397 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
31398 test termination.
31399
31400Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
31401
31402 * configure.in (subdirs): Put back gdb.t17 which mysteriously
31403 disappeared.
31404
31405Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
31406
31407 * gdb.t10/crossload.exp: Disable the i860-elf test until such
31408 time as i860 support works.
31409
d63a86f8 31410 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
31411 "backtrace 100\r" rather than just "backtrace\r", to match last
31412 change.
31413
31414Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
31415
31416 * config/udi-gdb.exp (gdb_exit): Remove close command.
31417 (gdb_target_udi): New procedure to set the UDI target.
31418 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
31419 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
31420 Added waits for prompts after several question responses. Added
31421 some more responses used by a29k-amd-udi-gdb.
31422 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
31423 pass different arguments, restart UDI connection after program
31424 completion.
31425 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
31426 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31427 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
31428 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
31429 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
31430 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
31431 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31432 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
31433 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
31434 after program completion.
31435 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
31436 compiled with a SELECT_VECS setting.
31437 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
31438 infinite recursion.
31439
31440 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
31441 Added checks for COFF results, and made them expected failures for
31442 all targets. It would be better to make them expected failures
31443 for COFF targets only.
31444
31445Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
31446
31447 * Makefile.in: add null dvi target, don't bother to recurse
31448 through test directories for info and install-info; rename
31449 $(datadir) to be dejagnu instead of deja-gnu
31450
31451Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
31452
31453 * gdb.t31/gdbme.ch: Re-enable code that previously caused
31454 compiler to coredump.
31455 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
31456 code.
31457
31458Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
31459
31460 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
31461 coredump.
31462 * gdb.t31/chillvars.exp: Comment out tests that depend on that
31463 code.
31464
31465Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
31466
31467 * gdb.t03/ptype.exp: tests for return code from gdb_test.
31468 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
31469 which in a shell. Deletes xgdb when done.
31470 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
31471 Tests the return from the "set height" or "set width" commands.
31472 Added a few return codes where needed.
31473
31474Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
31475
31476 * Makefile.in (SUBDIRS): Add gdb.t17.
31477 * configure.in (subdirs): Add gdb.t17.
31478 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
31479 files to test gdb's calling of functions in the inferior with
31480 the correct arguments and gdb's ability to retrieve any
31481 result returned.
31482
31483Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
31484
31485 * config/unix-gdb.exp (gdb_exit): Remove close commands that
31486 may be called after gdb goes away. Previous versions of expect
31487 needed these to avoid file descriptor leaks, but they cause
31488 errors with the current revision of expect.
31489 * gdb.t00/gdbvars.exp: Use -re on expected output after
31490 setting sevenbit-strings.
31491 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
31492 to set sevenbit-strings consistent across tests.
31493 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
31494 set sevenbit-strings consistent across tests.
31495
31496Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
31497
31498 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
31499 expected output to match current "expect" expectations.
31500
31501Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
31502
31503 * gdb.t00/default.exp: Change expected output for default "source"
31504 command, to match new gdb behavior which requires a filename to
31505 source.
31506
31507Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
31508
31509 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
31510 expected fail for i486-*-* that misses the marker2 function.
31511 * gdb.t10/crossload.exp (bfddefault): Allow successful
31512 recognition of a format to pass even if no symbols are found.
31513 Explicitly catch failures where the format is not recognized
31514 or is ambiguous, and add the reason to the fail message.
31515 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
31516 the cause is and invalid target and add reason to failure message.
31517 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
31518 elf32-i386, elf32-sparc, and elf32-i860.
31519 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
31520 Set up expected failure for 'filename'::variable scope resolution,
31521 which is now apparently broken on all targets.
31522 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
31523 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
31524 gdb.t23/templates.exp: Change failure for missing binfile into
31525 just a warning.
31526 gdb.t21/demangle.exp: Change all cfront references to 'arm'
31527 references.
31528
31529Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
31530
31531 * gdb.t00/default.exp: Add expected output for default "source"
31532 command, to match new gdb behavior.
31533 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
31534
31535Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
31536
31537 * config/*-gdb.exp: returns an error, rather than exiting on
31538 internal errors.
31539
31540Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
31541
31542 * gdb.t03/gdbme.c: Add pointer to struct variable.
31543 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
31544 referencing struct members.
31545
31546Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
31547
31548 * configure.in (mips-idt-ecoff): New target.
31549 * config/mips-gdb.exp: New file for remote board using MIPS remote
31550 debugging protocol.
31551
31552 * Redid configuration scheme. Removed gdb.t*/configure.in.
31553 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
31554 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
31555 distclean targets. Built executables via .o files. Adjusted
31556 tests to account for source files in $(srcdir) rather than
31557 $(objdir).
31558 * lib/gdb.exp (runto): Don't expect () after the function name,
31559 because it may have arguments.
31560
31561Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
31562
31563 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
31564 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
31565 expected failures for mips-idt-* and mips-sgi-*.
31566 * gdb.t00/default.exp (attach): Kill process if requested.
31567 * gdb.t00/help.exp (help target core, help target): Accept a gdb
31568 that does not read core files.
31569 * gdb.t01/run.exp: Removed checks for exit status code.
31570 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31571 it is linked in.
31572 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31573 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31574 appropriate, rather than doing it by hand.
31575 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31576 execution.
31577 * gdb.t10/crossload.exp: Kill existing program if needed.
31578 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31579 appropriate, rather than doing it by hand. Always increase
31580 timeout for this test, not just for VxWorks.
31581
31582Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
31583
31584 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
31585 of Chill STRUCT types and STRUCT values.
31586 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
31587 than "char".
31588 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 31589 struct2): New struct definitions and initializations to test
c906108c
SS
31590 simple Chill STRUCT types.
31591
31592Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
31593
31594 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
31595 the null byte at the end of strings.
31596 * gdb.t00/default.exp: Make show version insensitive to copyright
31597 date.
31598 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
31599 to avoid dependencies on target char signedness.
31600 * gdb.t16/printcmds.exp: Update expected results for explicitly
31601 unsigned char.
31602 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
31603 now work.
31604 * gdb.t21/demangle.exp: Add many more patterns for template
31605 demangling, most of them being expected failures.
31606 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
31607 string we are matching for, to match on the whole string.
31608 * gdb.t21/demangle.exp: Add many new test strings to demangle,
31609 and fix a whole bunch that had incorrect expected output but were
31610 passing anyway because of the bug in "proc demangle".
31611 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
31612 type.
31613 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
31614
31615Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31616
a9c64011
AS
31617 * gdb/testsuite: made modifications to testcases, etc., to allow
31618 them to work properly given the reorganization of deja-gnu and the
31619 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
31620
31621Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31622
31623 * gdb/testsuite: Initial creation of gdb/testsuite.
31624 Migrated dejagnu testcases and support files for testing nm to
31625 gdb/testsuite from deja-gnu. These files were moved "as is"
31626 with no modifications. This migration is part of a major overhaul
31627 of dejagnu. The modifications to these testcases, etc., which
31628 will allow them to work with the new version of dejagnu will be
31629 made in a future update.
48efe704 31630
8d8cb839 31631 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 31632\f
8d8cb839
EZ
31633;; Local Variables:
31634;; mode: change-log
31635;; left-margin: 8
31636;; fill-column: 74
31637;; version-control: never
31638;; End:
902f2ccb 31639
28e7fd62 31640 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
31641 Copying and distribution of this file, with or without modification,
31642 are permitted provided the copyright notice and this notice are preserved.