2013-06-04 Gary Benson <gbenson@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
62a813cc
YQ
12013-05-30 Yao Qi <yao@codesourcery.com>
2
3 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
4 Add a test that no MI notification is emitted when executing
5 -exec-arguments.
6
8f56dad4
JK
72013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8
9 PR testsuite/12649
10 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
11 $mi_gdb_prompt expectation by mi_expect_stop.
12 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
13 (mi info dprintf second time): Replace them by mi_send_resuming_command
14 and mi_expect_stop.
15
c588eb20
GB
162013-05-24 Gary Benson <gbenson@redhat.com>
17
18 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
19 backslash.
20 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
21 backslashes.
22 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
23 backslash.
24
c0ea94eb
YQ
252013-05-24 Yao Qi <yao@codesourcery.com>
26
27 * gdb.trace/tfile.exp: Test inferior and thread.
28
db1ac436
YQ
292013-05-24 Yao Qi <yao@codesourcery.com>
30 Pedro Alves <palves@redhat.com>
31
32 * gdb.base/range-stepping.exp: Skip the rest of tests if the
33 test fails.
34 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
35 Return 0 if the test passes, otherwise return 1.
36
b6abb10c
DE
372013-05-23 Doug Evans <dje@google.com>
38
39 * boards/fission-dwp.exp: New file.
40
bc5065a7
PA
412013-05-23 Yao Qi <yao@codesourcery.com>
42 Pedro Alves <palves@redhat.com>
43
44 * gdb.base/range-stepping.c: New file.
45 * gdb.base/range-stepping.exp: New file.
46 * gdb.trace/range-stepping.c: New file.
47 * gdb.trace/range-stepping.exp: New file.
48 * lib/range-stepping-support.exp: New file.
49
5f2e6b00
TT
502013-05-22 Tom Tromey <tromey@redhat.com>
51
52 * gdb.cp/class2.cc (main): New local 'aref'.
53 * gdb.cp/class2.exp: Check printing of 'aref'.
54
e6ba475a
DE
552013-05-22 Doug Evans <dje@google.com>
56
57 * gdb.threads/wp-replication.c (main): Insert some code at the start
58 to ensure the breakpoint on main is only hit once. Fix comment.
59
52c935b6
KS
602013-05-21 Keith Seitz <keiths@redhat.com>
61 Pedro Alves <palves@redhat.com>
62
63 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
64 gdb_expect.
65 Add test to flush the remaining input buffer so that this
66 file passes testsuite/12649.
67
bd9673a4
PW
682013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
69
70 * gdb.base/catch-signal-fork.exp: New file.
71 * gdb.base/catch-signal-fork.c: New file.
72
69a97597
SA
732013-05-21 Sterling Augustine <saugustine@google.com>
74
75 * boards/remote-stdio-gdbserver.exp: New file.
76
44e97363
JK
772013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
78
79 PR testsuite/12649
80 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
81 racy matches.
82
02392865
CG
832013-05-21 Christian Groessler <chris@groessler.org>
84
85 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
86 since it's not supported in all shells.
87
c5867ab6
HZ
882013-05-21 Hui Zhu <hui@codesourcery.com>
89
90 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
91 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
92
6c9e2db4
DE
932013-05-20 Doug Evans <dje@google.com>
94
95 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
96 (_handle_DW_TAG): Use it.
97 (cu, tu): Replace parameters is_64, version, addr_size with options.
98 All callers updated. Add Fission support.
99 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
100 * gdb.dwarf2/method-ptr.exp: Ditto.
101 * gdb.dwarf2/nostaticblock.exp: Ditto.
102 * gdb.dwarf2/subrange.exp: Ditto.
103 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
104
4a6e676c
TT
1052013-05-20 Tom Tromey <tromey@redhat.com>
106
107 * gdb.gdb/python-selftest.exp: New file.
108
e19d3afb
DE
1092013-05-20 Doug Evans <dje@google.com>
110
111 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
112 -fdebug-types-section.
113
4d804846
JB
1142013-05-20 Joel Brobecker <brobecker@adacore.com>
115
116 * gdb.ada/float_param: New testcase.
117
8d324e83
DE
1182013-05-17 Doug Evans <dje@google.com>
119
7d0c9981
DE
120 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
121 Add tests for "maint check-symtabs", "maint expand-symtabs".
122
8d324e83
DE
123 * gdb.base/maint.exp: Remove testing of individual maint command
124 help output.
125
177aadc4
PA
1262013-05-16 Pedro Alves <palves@redhat.com>
127
128 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
129 comment. Use gdb_test_no_output.
130
b8fea896
JB
1312013-05-16 Joel Brobecker <brobecker@adacore.com>
132
133 * gdb.ada/complete.exp: Add test verifying completion using
134 the "tab" key.
135
52c935b6
KS
1362013-05-15 Keith Seitz <keiths@redhat.com>
137
138 * gdb.base/filesym.exp: New completer test.
139 * gdb.base/filesym.c: New file.
140
ed0f00b8
PA
1412013-05-15 Pedro Alves <palves@redhat.com>
142
143 * gdb.base/fixsection.c: Remove attribution.
144 * gdb.base/watch-read.exp: Ditto.
145
55fb6d27
TT
1462013-05-13 Tom Tromey <tromey@redhat.com>
147
148 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
149 size and change type sizes to 4 bytes.
150
ac1ca910
TT
1512013-05-13 Tom Tromey <tromey@redhat.com>
152
153 * gdb.base/exprs.exp (test_expr): Add regression test.
154 * gdb.base/exprs.c (null_t_struct): New global.
155
8414efef
MB
1562013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
157
158 * gdb.base/default.exp: Disable history saving.
159 * gdb.base/setshow.exp: Likewise.
160
9779ab84
PA
1612013-05-10 Pedro Alves <palves@redhat.com>
162
163 PR remote/15455
164
165 * gdb.trace/qtro.c: New file.
166 * gdb.trace/qtro.exp: New file.
167
1e611234
PM
1682013-05-10 Phil Muldoon <pmuldoon@redhat.com>
169
170 * gdb.python/py-framefilter.py: New File.
171 * gdb.python/py-framefilter-mi.exp: Ditto.
172 * gdb.python/py-framefilter.c: Ditto.
173 * gdb.python/py-framefilter-mi.exp: Ditto.
174 * gdb.python/py-framefilter-mi.c: Ditto,
175 * gdb.python/py-framefilter-gdb.py.in: Ditto.
176
5e4c3ac4
TT
1772013-05-08 Tom Tromey <tromey@redhat.com>
178
179 * gdb.base/solib-search.exp: Set test name for "set
180 solib-search-path" test.
181
993654a9
HAQ
1822013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
183
184 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
185 (set_a_tracepoint): Set tracepoint before prologue.
186 (run_trace_experiment): Test setup_tracepoints and 'break end'
187 in it.
188 (trace_buffer_normal): Remove.
189 (gdb_trace_circular_tests): Remove. Move tests to...
190 (top level): ...here. Call 'runto_main' before checking for
191 trace support. Use commands to check the support for circular
192 trace buffer and changing of trace buffer size. Add test
193 to calculate size of single frame. Use this size to
194 calculate the size of trace buffer. Use 'tfind pc func9'
195 instead of 'tfind 9'. Use 'with_test_prefix'.
196
c95aea6b
TT
1972013-05-07 Tom Tromey <tromey@redhat.com>
198
199 * lib/selftest-support.exp: New file.
200 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
201 do_self_tests.
202 (setup_test, find_gdb): Remove.
203 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
204 do_self_tests.
205 (setup_test, find_gdb): Remove.
206 (test_observer): Don't call setup_test. Remove argument.
207 * gdb.gdb/selftest.exp: Load selftest-support.exp.
208 (find_gdb): Remove.
209 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
210 do_self_tests.
211 (setup_test, find_gdb): Remove.
212 (test_with_self): Don't call setup_test. Remove argument.
213
1f031429
PA
2142013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
215
216 * gdb.arch/system-gcore.exp: Remove.
217 * gdb.arch/gcore.c: Remove.
218 * gdb.base/gcore.exp: Add "info reg system".
219
58ce7251
SDJ
2202013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
221
222 PR breakpoints/15413:
223 * gdb.base/pending.exp: Add test for completion of the "condition"
224 command for pending breakpoints.
225 * gdb.linespec/linespec.ex: Add test for completion of the
226 "condition" command when dealing with multiple locations.
227
aacbb8a5
LM
2282013-05-07 Luis Machado <lgustavo@codesourcery.com>
229
230 * gdb.threads/wp-replication.c: New file.
231 * gdb.threads/wp-replication.exp: New file.
232
2dd6254d
SL
2332013-05-06 Sandra Loosemore <sandra@codesourcery.com>
234
235 * gdb.xml/tdesc-regs.exp: Add case for nios2.
236
c2a96e8c
DE
2372013-05-06 Doug Evans <dje@google.com>
238
b903e17e
DE
239 * gdb.base/solib-search-lib1.c: New file.
240 * gdb.base/solib-search-lib2.c: New file.
241 * gdb.base/solib-search.c: New file.
242 * gdb.base/solib-search.h: New file.
243 * gdb.base/solib-search.exp: New file.
244
fac51dd9
DE
245 * lib/gdb.exp (gdb_core_cmd): New function.
246 * gdb.arch/system-gcore.exp: Use it.
247 * gdb.arch/vsx-regs.exp: Ditto.
248 * gdb.base/gcore.exp: Ditto.
249 * gdb.threads/gcore-thread.exp: Ditto.
250
c2a96e8c
DE
251 * gdb.reverse/shr.h: New file.
252 * gdb.reverse/shr1.c: New file.
253 * gdb.reverse/shr2.c: #include "shr.h".
254 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
255 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
256 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
257 Update tests using sleep/printf to use shr2.sl instead.
258 * gdb.reverse/solib-reverse.exp: Ditto.
259
b6807d98
TT
2602013-05-06 Tom Tromey <tromey@redhat.com>
261
262 * gdb.dwarf2/implptrconst.c: New file.
263 * gdb.dwarf2/implptrconst.exp: New file.
264 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
265 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
266 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
267
96f7d3f1
PW
2682013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
269
270 * gdb.base/catch-sig.c (main): Raise SIGINT.
271 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
272
1ebff1fd
HAQ
2732013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
274
275 * status-stop.exp (test_tstart_tstart): Check for error
276 returned by the second 'tstart' command.
277
f92b06da
WT
2782013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
279
280 * gdb.xml/maint_print_struct.exp: New file.
281 * gdb.xml/maint_print_struct.xml: New file.
282
ff546935
TT
2832013-04-25 Tom Tromey <tromey@redhat.com>
284
285 * gdb.dwarf2/nostaticblock.exp: New file.
286
bf9e4d0c
MB
2872013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
288
289 PR gdb/10462
290 * gdb.base/setshow.exp: Add test case.
291
a11cfd87
HZ
2922013-04-23 Hui Zhu <hui@codesourcery.com>
293
294 PR gdb/15293
a11cfd87
HZ
295 * gdb.base/dprintf.exp: Add ignore command.
296
2d9442cc
HZ
2972013-04-23 Hui Zhu <hui@codesourcery.com>
298
299 PR gdb/15165
2d9442cc
HZ
300 * gdb.base/save-bp.exp: Add test for dprintf.
301
0f3305ed
TT
3022013-04-22 Tom Tromey <tromey@redhat.com>
303
304 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
305 notice_open_fds.
306
d504301e
SDJ
3072013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
308
309 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
310 ldflags.
311
9991b207
SDJ
3122013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
313
314 * gdb.arch/arm-bl-branch-dest.c: New file.
315 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
316
433730c9
PA
3172013-04-19 Vladimir Kargov <kargov@gmail.com>
318 Pedro Alves <palves@redhat.com>
319
320 * gdb.arch/i386-float.S: New file.
321 * gdb.arch/i386-float.exp: New file.
322
9a908334
LM
3232013-04-18 Luis Machado <lgustavo@codesourcery.com>
324
325 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
326 type void *.
327
4f22ed5c
DE
3282013-04-17 Doug Evans <dje@google.com>
329
330 * lib/dwarf.exp (Dwarf): New proc "tu".
331 * gdb.dwarf2/missing-sig-type.exp: New file.
332
a0d3f2f5
SCR
3332013-04-15 Siva Chandra Reddy <sivachandra@google.com>
334
335 Add option to link testcases with Pthreads library when
336 using 'prepare_for_testing' in tests.
337
338 * lib/gdb.exp (build_executable_from_specs): Use
339 gdb_compile_pthreads to compile if option "pthreads" is
340 specified.
341
cc16e6c9
TT
3422013-04-15 Tom Tromey <tromey@redhat.com>
343
344 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
345
72f1fe8a
TT
3462013-04-15 Tom Tromey <tromey@redhat.com>
347
348 * gdb.base/default.exp: Update for $_exception.
349 * gdb.cp/exceptprint.cc: New file.
350 * gdb.cp/exceptprint.exp: New file.
351 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
352
6e72ca20
TT
3532013-04-15 Tom Tromey <tromey@redhat.com>
354
355 * gdb.cp/typeid.cc: New file.
356 * gdb.cp/typeid.exp: New file.
357
591f19e8
TT
3582013-04-15 Tom Tromey <tromey@redhat.com>
359
360 * gdb.cp/exception.exp: Add "catch rethrow" tests.
361
da9160e4
YQ
3622013-04-13 Yao Qi <yao@codesourcery.com>
363
364 * gdb.base/completion.exp: Test completion of command
365 'target ctf' if target ctf is supported.
366
f81d1120
PA
3672013-04-10 Pedro Alves <palves@redhat.com>
368
369 * gdb.base/completion.exp: Test "set height", "set listsize" and
370 "set trace-buffer-size" completion.
371 * gdb.base/setshow.exp: Test "set height unlimited".
372 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
373 unlimited".
374
393fd4c3
YQ
3752013-04-10 Yao Qi <yao@codesourcery.com>
376
377 * gdb.trace/actions.exp: Save trace data to CTF.
378 Change to ctf target if GDB supports, read CTF data in ctf
379 target, and check the actions of tracepoints.
380 * gdb.trace/while-stepping.exp: Likewise.
381 * gdb.trace/report.exp: Test GDB saves trace data to CTF
382 format and read CTF trace file if GDB supports.
383 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
384 target is supported, change to ctf target, read trace data and
385 check output of command "tstatus".
386 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
387 read CTF data by target ctf and call check_tsv.
388
b7a273f8
YQ
3892013-04-10 Yao Qi <yao@codesourcery.com>
390
391 * gdb.trace/actions.exp (check_tracepoint): New.
392 (top level): Start the tracing and check the actions of
393 tracepoints. Save trace data to tfile format. Restart GDB
394 and read trace file in tfile target. Check the actions of
395 tracepoints again.
396 * gdb.trace/while-stepping.exp: Likewise.
397
f3786771
YQ
3982013-04-10 Yao Qi <yao@codesourcery.com>
399
400 * gdb.trace/report.exp: Use standard_output_file for saved
401 trace file.
402
5c2b4418
HZ
4032013-04-10 Hui Zhu <hui@codesourcery.com>
404
405 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
406 (MISCELLANEOUS): Add dprintf-pendshr.sl.
407 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
408
f7543f0a
JK
4092013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
410
411 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
412 response.
413
f6de8ec2
PA
4142013-04-08 Pedro Alves <palves@redhat.com>
415
416 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
417 the location.
418
b8abfd58
SL
4192013-04-04 Sandra Loosemore <sandra@codesourcery.com>
420
421 * gdb.cp/cplabel.exp: Allow empty directory in file reported
422 for breakpoint location.
423
156bffd0
SL
4242013-04-04 Sandra Loosemore <sandra@codesourcery.com>
425
426 * gdb.linespec/linespec.exp: Make dir/file:line tests
427 conditional for non-remote hosts only.
428
c9a6ce02
PA
4292013-04-04 Stan Shebs <stan@codesourcery.com>
430 Pedro Alves <palves@redhat.com>
431
432 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
433 * gdb.trace/actions-changed.c: New file.
434 * gdb.trace/actions-changed.exp: New file.
435 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
436 (gdb_trace_setactions_command): ... this. Add "actions_command"
437 parameter, and handle it.
438 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
439
4bd05f24
YQ
4402013-04-04 Yao Qi <yao@codesourcery.com>
441
442 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
443 'step'.
444
3758b5ce
YQ
4452013-04-03 Yao Qi <yao@codesourcery.com>
446
447 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
448 "tfile-basic.tf".
449 (test_tfind_tfile): Likewise.
450
1dcaed0d
YQ
4512013-04-03 Yao Qi <yao@codesourcery.com>
452
453 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
454 "tfile-basic.tf" instead of "basic.tf".
455 (write_error_trace_file): Pass argument "tfile-error.tf"
456 instead of "error.tf".
457 * gdb.trace/tfile.exp: Update tfile names to
458 "tfile-basic.tf" and "tfile-error.tf".
459
0e7a53fc
SL
4602013-04-02 Sandra Loosemore <sandra@codesourcery.com>
461
462 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
463 empty directory in file for breakpoint hit.
464
9852c492
YQ
4652013-03-29 Yao Qi <yao@codesourcery.com>
466
467 * gdb.base/completion.exp: Test completion of commands
468 "target core", "target tfile" and "target exec".
469 * gdb.trace/tfile.exp: Test completion of command
470 "target tfile".
471
af312be7
JB
4722013-03-28 Joel Brobecker <brobecker@adacore.com>
473
474 * gdb.ada/win_fu_syms: New testcase.
475
e4a48d9d
DE
4762013-03-28 Doug Evans <dje@google.com>
477
478 * gdb.base/maint.exp (maint print statistics): Update expected output.
479
7f7cc265
PA
4802013-03-28 Pedro Alves <palves@redhat.com>
481
482 PR gdb/15294
483
484 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
485 mean unlimited instead of $arg < 0.
486 (test_listsize): Remove "listsize of 0 suppresses output" test.
487 Test that "set listsize 0" ends up with an unlimited listsize.
488
fc0da894
PA
4892013-03-28 Pedro Alves <palves@redhat.com>
490
491 * gdb.base/list.exp (last_line): New global.
492 (last_line_re): New global.
493 (test_listsize, test_list_function, test_list_forward)
494 (test_repeat_list_command, test_list_range)
495 (test_list_filename_and_function): Use them.
496 * gdb.base/list0.c: Comment the last line of the file with "last
497 line".
498
abe7b711
PA
4992013-03-28 Pedro Alves <palves@redhat.com>
500
501 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
502 list the whole file.
503
15b3979c
PA
5042013-03-28 Pedro Alves <palves@redhat.com>
505
506 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
507 "set listsize".
508
96811e3b
KS
5092013-03-26 Keith Seitz <keiths@redhat.com>
510
511 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
512 from passing.
513
4043f22b
PA
5142013-03-26 Pedro Alves <palves@redhat.com>
515
516 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
517 until after GDB has run.
518
14a1aa17
YQ
5192013-03-26 Yao Qi <yao@codesourcery.com>
520
521 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
522 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
523
99c819ee
MM
5242013-03-26 Markus Metzger <markus.t.metzger@intel.com>
525
526 * gdb.btrace/enable.exp: Add regression test.
527
24955f63
TT
5282013-03-25 Tom Tromey <tromey@redhat.com>
529
530 * gdb.cp/m-static.exp: Add destructor-printing tests.
531
fce632b6
TT
5322013-03-25 Tom Tromey <tromey@redhat.com>
533
534 * gdb.cp/m-static.exp: Add constructor ptype tests.
535 * gdb.cp/m-static.cc (single_constructor): New class.
536 (main): Make instance of single_constructor.
537
598d3636
JK
5382013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
539 Pedro Alves <palves@redhat.com>
540
541 * gdb.server/server-kill.c: New file.
542 * gdb.server/server-kill.exp: New file.
543
c12440c9
PA
5442013-03-21 Pedro Alves <palves@redhat.com>
545
546 * gdb.trace/trace-buffer-size.exp (get default buffer size):
547 Expect $gdb_prompt in gdb_test_multiple.
548
bd712aed
DE
5492013-03-21 Doug Evans <dje@google.com>
550
551 * gdb.base/maint.exp: Update tests for per-command stats.
552
b2f83c08
TT
5532013-03-21 Tom Tromey <tromey@redhat.com>
554
555 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
556 * gdb.cp/misc.exp: Add test for FILENAME:: case.
557
ef0026f0
PA
5582013-03-20 Pedro Alves <palves@redhat.com>
559
560 PR gdb/15289
561
562 * gdb.base/remote.exp: Test
563 "set remote hardware-watchpoint-limit -1",
564 "set remote hardware-breakpoint-limit -1",
565 "set remote hardware-watchpoint-limit 2147483647" and
566 "set remote hardware-breakpoint-limit 2147483647".
567
3f1175a9
PA
5682013-03-20 Pedro Alves <palves@redhat.com>
569 Yao Qi <yao@codesourcery.com>
570
571 * gdb.trace/tfile.c: Add comments.
572 (nonconstglob): New global.
573 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
574 global that is not covered by the trace frame. Test
575 disassembling.
576
a09ae1c1
JK
5772013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
578
579 * gdb.base/valgrind-infcall.exp
580 (continue #$continue_count) <remote connection closed>
581 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
582 $valgrind_pid.
583
9ce98649
TT
5842013-03-15 Tom Tromey <tromey@redhat.com>
585
586 * gdb.cp/overload.cc (intintfunc): New.
587 * gdb.cp/overload.exp: Add regression test.
588
0a251e08
YQ
5892013-03-15 Yao Qi <yao@codesourcery.com>
590
591 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
592 using with_test_prefix.
593 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
594 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
595 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
596 * gdb.threads/watchpoint-fork.exp (test): Likewise.
597 * gdb.base/break-interp.exp (test_core): Likewise.
598 (test_attach_gdb): Likewise.
599 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
600 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
601 Likewise.
602 * gdb.base/jit-so.exp (one_jit_test): Likewise.
603 * gdb.base/jit.exp (one_jit_test): Likewise.
604 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
605 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
606 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
607 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
608 Likewise.
609 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
610 Likewise.
611 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
612 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
613 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
614 (tracepoint_change_loc_2): Likewise.
615 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
616 Likewise.
617 (disconnected_tfind): Likewise.
618 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
619 Likewise.
620 (test_tfind_remote): Likewise.
621 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
622 Likewise.
623 (test_pending_resolved): Likewise.
624 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
625 Likewise.
626 (test_upload_tsv): Likewise.
627 * gdb.trace/pending.exp (pending_tracepoint_resolved):
628 Likewise.
629 (pending_tracepoint_works): Likewise.
630 * gdb.trace/report.exp (use_collected_data): Likewise.
631 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
632 Likewise.
633 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
634 * gdb.trace/strace.exp (strace_info_marker): Likewise.
635 (strace_trace_on_same_addr): Likewise.
636 (strace_trace_on_diff_addr): Likewise.
637 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
638 (gdb_collect_locals_test): Likewise.
639 (gdb_unavailable_registers_test): Likewise.
640 (gdb_collect_globals_test): Likewise.
641
2c415c0f
YQ
6422013-03-15 Yao Qi <yao@codesourcery.com>
643
644 * gdb.base/condbreak.exp: Add semicolon back which was removed
645 by my previous commit.
646
ae59b1da
YQ
6472013-03-14 Yao Qi <yao@codesourcery.com>
648
649 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
650 'return'.
651 (gdb_target_monitor, gdb_load): Likewise.
652 * config/sid.exp (gdb_load): Likewise.
653 * config/slite.exp (gdb_load): Likewise.
654 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
655 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
656 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
657 (single_step_until): Likewise.
658 * gdb.arch/powerpc-d128-regs.exp: Likewise.
659 * gdb.arch/system-gcore.exp: Likewise.
660 * gdb.base/bigcore.exp (extract_heap): Likewise.
661 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
662 * gdb.base/call-ar-st.exp: Likewise.
663 * gdb.base/call-rt-st.exp: Likewise.
664 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
665 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
666 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
667 * gdb.base/corefile.exp: Likewise.
668 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
669 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
670 * gdb.base/fixsection.exp: Likewise.
671 * gdb.base/funcargs.exp: Likewise.
672 * gdb.base/gcore-buffer-overflow.exp: Likewise.
673 * gdb.base/gcore-relro.exp: Likewise.
674 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
675 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
676 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
677 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
678 * gdb.base/list.exp: Likewise.
679 (set_listsize): Likewise.
680 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
681 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
682 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
683 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
684 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
685 * gdb.base/setvar.exp: Likewise.
686 (test_set): Likewise.
687 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
688 * gdb.base/solib-overlap.exp: Likewise.
689 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
690 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
691 * gdb.base/watchpoint.exp (initialize): Likewise.
692 (test_simple_watchpoint): Likewise.
693 (test_disabling_watchpoints): Likewise.
694 (test_watchpoint_triggered_in_syscall): Likewise.
695 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
696 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
697 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
698 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
699 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
700 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
701 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
702 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
703 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
704 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
705 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
706 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
707 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
708 * gdb.mi/gdb792.exp: Likewise.
709 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
710 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
711 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
712 * gdb.threads/gcore-thread.exp: Likewise.
713 (load_core): Likewise.
714 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
715 (test_startup, check_control_c): Likewise.
716 * gdb.threads/sigstep-threads.exp: Likewise.
717 * gdb.threads/thread_check.exp: Likewise.
718 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
719 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
720 (set_a_tracepoint, trace_buffer_normal): Likewise.
721 (gdb_trace_circular_tests): Likewise.
722 * gdb.trace/collection.exp: Likewise.
723 * gdb.trace/disconnected-tracing.exp: Likewise.
724 * gdb.trace/infotrace.exp: Likewise.
725 * gdb.trace/mi-traceframe-changed.exp: Likewise.
726 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
727 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
728 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
729 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
730 * gdb.trace/stap-trace.exp: Likewise.
731 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
732 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
733 * gdb.trace/trace-buffer-size.exp: Likewise.
734 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
735 * gdb.trace/unavailable.exp: Likewise.
736 * gdb.trace/while-dyn.exp: Likewise.
737 * lib/fortran.exp (set_lang_fortran): Likewise.
738 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
739 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
740 (default_gdb_start, get_compiler_info): Likewise.
741 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
742 (get_debug_format, setup_xfail_format): Likewise.
743 (rerun_to_main, gdb_skip_float_test): Likewise.
744 (build_id_debug_filename_get, get_remotetimeout): Likewise.
745 * lib/java.exp (set_lang_java): Likewise.
746 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
747 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
748 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
749 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
750 * lib/objc.exp (set_lang_objc): Likewise.
751 * lib/pascal.exp (set_lang_pascal): Likewise.
752 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
753 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
754 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
755
bb869963
SDJ
7562013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
757
758 PR c++/15203
759 PR c++/15210
760 * gdb.cp/m-static.cc (keepalive_int): New function.
761 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
762 * gdb.cp/m-static.exp: New test for `sintvar'.
763
e2be70a0
YQ
7642013-03-14 Yao Qi <yao@codesourcery.com>
765
766 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
767 of 'tstatus' into tstatus_output.
768 (top level): Save the trace data to tfile. Read trace file in
769 tfile target. Check the trace status.
770
8ddb1965
YQ
7712013-03-13 Yao Qi <yao@codesourcery.com>
772
773 * gdb.trace/tsv.exp (check_tsv): New.
774 (top level): Save a tfile on current trace session. Call
775 check_tsv on live target. Load the tfile with target tfile
776 and call check_tsv again.
777
045dd51f
YQ
7782013-03-13 Yao Qi <yao@codesourcery.com>
779
780 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
781 Replace some "gdb_test" with "gdb_test_no_output".
782
82d049ab
PH
7832013-03-12 Paul Hilfinger <hilfingr@adacore.com>
784
785 * gdb.ada/expr_delims.exp: New file.
786 * gdb.ada/expr_delims/foo.adb: New file.
787 * gdb.ada/expr_delims/pck.ads: New file.
788 * gdb.ada/expr_delims/pck.adb: New file.
789
cb8ea32b
KS
7902013-03-11 Keith Seitz <keiths@redhat.com>
791
792 * watchpoint.exp (test_no_hw_watchpoints): Add test using
793 both condition and thread. Then delete the watchpoint.
794
2f1d9bdd
MM
7952013-03-11 Christian Himpel <christian.himpel@intel.com>
796
797 * Makefile.in: Add btrace testsuite.
798 * configure: Regenerated.
799 * configure.ac: Add btrace testsuite.
800 * gdb.btrace/Makefile.in: New file.
801 * gdb.btrace/enable.c: New file.
802 * gdb.btrace/enable.exp: New file.
803 * gdb.btrace/function_call_history.c: New file.
804 * gdb.btrace/function_call_history.exp: New file.
805 * gdb.btrace/instruction_history.c: New file.
806 * gdb.btrace/instruction_history.exp: New file.
807 * gdb.btrace/instruction_history.S: New file.
808 * lib/gdb.exp: Add btrace skip proc.
809
05c56a9d
JK
8102013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
811
812 Fix entry-values if the callee called a noreturn function.
813 * gdb.arch/amd64-tailcall-noret.S: New file.
814 * gdb.arch/amd64-tailcall-noret.c: New file.
815 * gdb.arch/amd64-tailcall-noret.exp: New file.
816
9112db09
JK
8172013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
818
819 Fix entry-values in C++ across CUs.
820 * gdb.arch/amd64-tailcall-cxx.exp: New file.
821 * gdb.arch/amd64-tailcall-cxx1.S: New file.
822 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
823 * gdb.arch/amd64-tailcall-cxx2.S: New file.
824 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
825
be9a119c 8262013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
827 Hafiz Abid Qadeer <abidh@codesourcery.com>
828
829 gdb/testsuite/
830 * gdb.trace/trace-buffer-size.exp: New file.
831 * gdb.trace/trace-buffer-size.c: New file.
832
049109b0
PA
8332013-03-06 Pedro Alves <palves@redhat.com>
834
835 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
836 doesn't support the tested optional feature, call "unsupported"
837 with the same test message as the "pass" case, instead of calling
838 "pass" with a different message. Use the same text for the "fail"
839 cases too.
840
4aa54120
YQ
8412013-03-06 Yao Qi <yao@codesourcery.com>
842
843 * gdb.trace/tstatus.exp: Remove the invocation of
844 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
845 (test_tracepoints): Don't set fast tracepoint.
846 (top level): Don't check agent library is loaded or not.
847
b8b71e63
YQ
8482013-03-06 Yao Qi <yao@codesourcery.com>
849
850 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
851 parentheses by "\\".
852
33f448b1
JK
8532013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
854
855 * gdb.linespec/base/one/thefile.cc (twodup): New.
856 (m): Call it.
857 * gdb.linespec/base/two/thefile.cc (dupname): New.
858 (n): Call it.
859 * gdb.linespec/break-ask.exp: New file.
860 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
861
1c942fb9
YQ
8622013-02-28 Yao Qi <yao@codesourcery.com>
863
864 * gdb.trace/report.exp: Move some code to ...
865 (use_collected_data): New.
866 (top level): Call use_collected_data once on the live target.
867 Save at file of the current trace session, load it with target
868 tfile, and call use_collected_data again.
869
5b967901
JK
8702013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
871
872 * gdb.threads/fork-thread-pending.c (main): Add alarm.
873
6447023f
JK
8742013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
875
876 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
877 Add final kill of ${valgrind_pid}.
878
9f44fbc0
SCR
8792013-02-20 Siva Chandra Reddy <sivachandra@google.com>
880
881 * gdb.python/py-arch.c: New test case
882 * gdb.python/py-arch.exp: New tests to test
883 gdb.Architecture.disassemble
884 * gdb.python/Makefile.in: Add py-arch to the list of
885 EXECUTABLES.
886
4c9ad8c2
TT
8872013-02-18 Tom Tromey <tromey@redhat.com>
888
889 * gdb.dwarf2/subrange.exp: New file.
890
f5911ea1
HAQ
8912013-02-15 Pedro Alves <pedro@codesourcery.com>
892 Hafiz Abid Qadeer <abidh@codesourcery.com>
893
894 * gdb.trace/tfile.exp: Add test for -trace-status command.
895
420f4384
JK
8962013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
897
898 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
899 nanosleep by sleep.
900
4819b3f8
PA
9012013-02-14 Pedro Alves <palves@redhat.com>
902
903 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
904
1773c82c
HAQ
9052013-02-14 Pedro Alves <pedro@codesourcery.com>
906 Hafiz Abid Qadeer <abidh@codesourcery.com>
907
908 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
909
e234dfaf
TT
9102013-02-12 Tom Tromey <tromey@redhat.com>
911
912 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
913 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
914
6c01dd94
PA
9152013-02-12 Pedro Alves <palves@redhat.com>
916
917 * gdb.base/catch-signal.c: Update copyright years.
918 * gdb.base/catch-signal.exp: Update copyright years.
919 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
920 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
921 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
922 * gdb.dwarf2/dw2-error.S: Update copyright years.
923 * gdb.dwarf2/dw2-error.c: Update copyright years.
924 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
925 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
926 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
927
595fc67f
PA
9282013-02-12 Pedro Alves <palves@redhat.com>
929
930 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
931 message.
932 * gdb.base/sigaltstack.exp: Ditto.
933 * gdb.base/siginfo.exp: Ditto.
934 * gdb.base/sizeof.exp: Ditto.
935
17282693
PA
9362013-02-12 Pedro Alves <palves@redhat.com>
937
938 * gdb.mi/mi-basics.exp: Tweak intro comment.
939 * gdb.mi/mi-break.exp: Tweak intro comment.
940 * gdb.mi/mi-console.exp: Tweak intro comment.
941 * gdb.mi/mi-file.exp: Tweak intro comment.
942 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
943 * gdb.mi/mi-return.exp: Tweak intro comment.
944 * gdb.mi/mi-stepi.exp: Tweak intro comment.
945 * gdb.mi/mi-until.exp: Tweak intro comment.
946 * gdb.mi/mi-watch.exp: Tweak intro comment.
947
8a4ac37e
PA
9482013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
949
950 * gdb.server/no-thread-db.exp: New file.
951 * gdb.server/no-thread-db.c: New file.
952 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
953
c2792f5a
DE
9542013-02-11 Doug Evans <dje@google.com>
955
956 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
957 two decfloats.
958
d9e98382
SDJ
9592013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
960
961 * gdb.base/bitfields.c (struct internalvartest): New declaration.
962 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
963
a321661a
JK
9642013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
965
966 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
967
134a2066
YQ
9682013-02-06 Yao Qi <yao@codesourcery.com>
969
970 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
971 to ...
972 (test_create_delete_modify_tsv): ... here. New test on modifying
973 the initial value of a tsv.
974
5a2dc60a
JK
9752013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
976
977 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
978 (cd .../rdir): ... here.
979
233d95b5
JK
9802013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
981
982 * gdb.linespec/base/one/header.h: New file.
983 * gdb.linespec/base/two/header.h: New file.
984 * gdb.linespec/macro-relative.c: New file.
985 * gdb.linespec/macro-relative.exp: New file.
986
fbd9ab74
JK
9872013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
988
989 * gdb.base/fullpath-expand-func.c: New file.
990 * gdb.base/fullpath-expand.c: New file.
991 * gdb.base/fullpath-expand.exp: New file.
992 * gdb.base/realname-expand-real.c: New file.
993 * gdb.base/realname-expand.c: New file.
994 * gdb.base/realname-expand.exp: New file.
995
1b56eb55
JK
9962013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
997
998 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
999 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1000
af529f8f
JK
10012013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1002
1003 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1004 (compare_filenames_for_search does not match)
1005 (compare_filenames_for_search does match): New tests.
1006
f5b95b50
JK
10072013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1008
1009 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1010
d47921b9
JK
10112013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1012
1013 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1014
8a92335b
JK
10152013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1016
1017 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1018 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1019 ${binfile}.mini_debuginfo-debuglink and
1020 ${binfile}.mini_debuginfo-debuglink.xz.
1021
17f2157d
TT
10222013-02-01 Tom Tromey <tromey@redhat.com>
1023
1024 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1025 attributes.
1026
d65f0a9c
TT
10272013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1028 Tom Tromey <tromey@redhat.com>
1029
1030 * gdb.dwarf2/method-ptr.exp: Link with c++.
1031 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1032
f25c0135
TT
10332013-01-31 Tom Tromey <tromey@redhat.com>
1034
1035 * gdb.base/jit.exp (compile_jit_test): New proc.
1036 Add PIE tests.
1037
7078baeb
TT
10382013-01-31 Tom Tromey <tromey@redhat.com>
1039
1040 * gdb.dwarf2/method-ptr.cc: New file.
1041 * gdb.dwarf2/method-ptr.exp: New file.
1042
1d24041a
TT
10432013-01-31 Tom Tromey <tromey@redhat.com>
1044
1045 * lib/dwarf.exp (namespace Dwarf): New.
1046
8d9878a4
TT
10472013-01-29 Tom Tromey <tromey@redhat.com>
1048
1049 * gdb.dwarf2/fission-reread.exp: Add unload test.
1050
bed911e5
DE
10512013-01-28 Doug Evans <dje@google.com>
1052
1053 * gdb.dwarf2/fission-loclists.exp: New file.
1054 * gdb.dwarf2/fission-loclists.S: New file.
1055
e229648e
JK
10562013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1057
1058 Code cleanup.
1059 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1060 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1061 and prepare_for_testing.
1062 * gdb.base/store.exp: Likewise.
1063
86700f00
TT
10642013-01-25 Tom Tromey <tromey@redhat.com>
1065
1066 * gdb.python/py-explore.exp: Expect the gdb prompt.
1067
8954db33
AB
10682013-01-25 Andrew Burgess <aburgess@broadcom.com>
1069
1070 * gdb.base/gnu_vector.c: New variable for use in tests.
1071 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1072 changes in scalar to vector casting and widening.
1073 * gdb.python/py-type.c: New variables for use in tests.
1074 * gdb.python/py-type.exp: Update vector related tests to reflect
1075 changes in scalar to vector casting and widening.
1076
2077afdd
TD
10772013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1078
1079 * gdb.base/prologue-include.c: New file.
1080 * gdb.base/prologue-include.exp: New file.
1081 * gdb.base/prologue-include.h: New file.
1082
d7499464
HAQ
10832013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1084
1085 PR gdb/13443
1086 * gdb.mi/mi-var-block.exp: Make test messages unique.
1087
e2a3e0f1
TT
10882013-01-23 Tom Tromey <tromey@redhat.com>
1089
1090 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1091
152fcc9c
TT
10922013-01-23 Tom Tromey <tromey@redhat.com>
1093
1094 * gdb.cp/converts.cc (main): Initialize 'a'.
1095
bea883fd
SCR
10962013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1097
1098 * testsuite/gdb.python/frame.exp: Add a test for
1099 gdb.Frame.architecture() method.
1100
0928e93d
PA
11012013-01-22 Pedro Alves <palves@redhat.com>
1102
1103 * gdb.base/annota1.exp (signal sent): No longer expect
1104 breakpoints-invalid.
1105 * gdb.cp/annota2.exp (continue until exit)
1106 (watch triggered on a.x): Ditto.
1107
9c97429f
PA
11082013-01-22 Pedro Alves <palves@redhat.com>
1109
1110 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1111 Adjust tests to breakpoints-invalid changes.
1112 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1113 variables.
1114 Adjust tests to breakpoints-invalid changes.
1115
187d10dd
PA
11162013-01-22 Pedro Alves <palves@redhat.com>
1117
1118 * gdb.base/annota1.exp (annotate ignore count change): Add
1119 expected output for failure case.
1120
ea3aedcb
TT
11212013-01-22 Tom Tromey <tromey@redhat.com>
1122
1123 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1124 call.
1125
998580f1
MK
11262013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1127
1128 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 1129 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
1130 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1131 Also handle 'thread' field.
1132 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1133 * gdb.mi/mi-watch.exp: Ditto.
1134 * lib/mi-support.exp: Ditto.
1135
8f1d5693
MK
11362013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1137
1138 * gdb.python/py-explore.exp: Improve a test
1139
2d8c5d7c
DB
11402013-01-18  David Blaikie  <dblaikie@gmail.com>
1141
1142 * gdb.base/label.c (main): Correct the type of the second
1143 parameter.
1144
46f35228
TT
11452013-01-18 Tom Tromey <tromey@redhat.com>
1146
1147 * gdb.dwarf2/trace-crash.s: New file.
1148 * gdb.dwarf2/trace-crash.exp: New file.
1149
5965d69d
HAQ
11502013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1151
43aaf8b6
PA
1152 PR gdb/13443
1153 * gdb.base/checkpoint.exp: Update test messages to make them
1154 unique.
5965d69d 1155
5ae4861a
YQ
11562013-01-18 Yao Qi <yao@codesourcery.com>
1157
1158 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1159 output of 'info tracepoints'.
1160 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1161 Likewise.
1162 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1163 * gdb.trace/disconnected-tracing.c (struct foo): New.
1164
d84fca2c
JK
11652013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1166
1167 * gdb.dwarf2/dw2-dos-drive.S: New file.
1168 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1169
aebb1cc9
DE
11702013-01-17 Doug Evans <dje@google.com>
1171
2782d512
DE
1172 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1173 CXX_FOR_TARGET.
1174
aebb1cc9
DE
1175 * boards/cc-with-tweaks.exp: New file.
1176
db2b2972
TT
11772013-01-17 Tom Tromey <tromey@redhat.com>
1178
1179 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1180
96343774
PA
11812013-01-17 Pedro Alves <palves@redhat.com>
1182
1183 Merge dg-extract-results.sh from upstream (svn 195224).
1184
1185 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1186 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
1187
1188 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1189 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
1190
1191 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1192 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
1193
1194 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1195 * dg-extract-results.sh: Redirect grep output to /dev/null instead
1196 of grep -q.
1197
675921c0
SD
11982012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1199
1200 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1201 interface.
1202 * gdb.base/jithost.c: New file.
1203 * gdb.base/jithost.h: New file.
1204 * gdb.base/jitreader.c : New file.
1205 * gdb.base/jit-protocol.h: New file.
1206
ab04a2af
TT
12072013-01-16 Tom Tromey <tromey@redhat.com>
1208
1209 * gdb.base/catch-signal.c: New file.
1210 * gdb.base/catch-signal.exp: New file.
1211
8ac3646f
TT
12122013-01-16 Tom Tromey <tromey@redhat.com>
1213
1214 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
1215
22fc223e
JK
12162013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1217
1218 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
1219
44478ab3
TT
12202013-01-14 Tom Tromey <tromey@redhat.com>
1221
1222 * gdb.base/completion.exp: Add "set gnutarget" test.
1223
06d66ee9
TT
12242013-01-14 Tom Tromey <tromey@redhat.com>
1225
1226 * gdb.dwarf2/dw2-restrict.S: New file.
1227 * gdb.dwarf2/dw2-restrict.c: New file.
1228 * gdb.dwarf2/dw2-restrict.exp: New file.
1229
c9bf0622
TT
12302013-01-14 Tom Tromey <tromey@redhat.com>
1231
1232 * gdb.dwarf2/dw2-error.exp: New file.
1233 * gdb.dwarf2/dw2-error.c: New file.
1234 * gdb.dwarf2/dw2-error.S: New file.
1235
5b12a61c
JK
12362013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1237
1238 * gdb.cp/parse-lang.cc: New file.
1239 * gdb.cp/parse-lang.exp: New file.
1240
f0a4b570
JK
12412013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1242
1243 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
1244 (set substitute-path): New test.
1245 (fullname present): Remove content.
1246 (substituted fullname): New test.
1247
f751cc97
JB
12482013-01-13 Joel Brobecker <brobecker@adacore.com>
1249
1250 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
1251 check. Move $gdb_py_is_py24 value check right after.
1252
04164e8e
JK
12532013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1254
1255 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
1256 targets.
1257
5bf480a5
YQ
12582013-01-11 Yao Qi <yao@codesourcery.com>
1259
1260 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
1261 for dprintf.
1262 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1263 Check the fields in "=breakpoint-created" for dprintf.
1264
f35a17b5
JK
12652012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1266
1267 * gdb.mi/mi-fullname-deleted.exp: New file.
1268
85817405
JK
12692012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1270
1271 * gdb.base/skip-solib.exp (info skip with pending file): Update the
1272 expected output.
1273 (info skip with pending file): Remove.
1274 (ignoring function in solib, info skip for function multiply): Update
1275 the expected output.
1276 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
1277 (info skip (delete 1), info skip after disabling all)
1278 (info skip after enabling all, info skip after disabling 4 2-3)
1279 (info skip after enabling 2-3, info skip 2-3)
1280 (info skip after deleting 2 3): Update the expected output.
1281 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
1282 statement to its initialization and return.
1283 * gdb.linespec/skip-two.exp: New file.
1284
27210e12
DE
12852012-12-19 Doug Evans <dje@google.com>
1286
1287 * gdb.base/maint.exp: Handle testing with .gdb_index.
1288
bb627a12
JB
12892012-12-19 Joel Brobecker <brobecker@adacore.com>
1290
1291 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
1292 Cavium to FSF.
1293
7785b880
JB
12942012-12-19 Joel Brobecker <brobecker@adacore.com>
1295
1296 * dg-extract-results.sh: Update contact info in copyright notice.
1297 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
1298 GPL v3 or later. Update contact info.
1299 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
1300 gdb.threads/watchpoint-fork-mt.c,
1301 gdb.threads/watchpoint-fork-parent.c,
1302 gdb.threads/watchpoint-fork-st.c,
1303 gdb.threads/watchpoint-fork.h: Likewise.
1304
f2a8bc8a
YQ
13052012-12-15 Yao Qi <yao@codesourcery.com>
1306
1307 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
1308 'installed' field in '=breakpoint-modified'.
1309 (test_reconnect): Check 'installed' field in
1310 '=breakpoint-modified' and '=breakpoint-created'.
1311
1312 * gdb.trace/actions.exp: Update test for 'installed' field.
1313 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
1314 (tracepoint_change_loc_2): Likewise.
1315 Check 'info tracepoint' display nothing else.
1316 * gdb.trace/deltrace.exp: Likewise.
1317 * gdb.trace/infotrace.exp: Likewise.
1318 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
1319 Likewise.
1320 * gdb.trace/passcount.exp: Likewise.
1321 * gdb.trace/tracecmd.exp: Likewise.
1322 * gdb.trace/while-stepping.exp: Likewise.
1323
6592e36f
TT
13242012-12-14 Tom Tromey <tromey@redhat.com>
1325
1326 * gdb.cp/member-name.exp: New file.
1327 * gdb.cp/member-name.cc: New file.
1328
7d27a96d
TT
13292012-12-14 Tom Tromey <tromey@redhat.com>
1330
1331 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
1332
f8c05d0d
DE
13332012-12-14 Doug Evans <dje@google.com>
1334
1335 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
1336 DW_OP_GNU_implicit_pointer is section-relative.
1337
451b7c33
TT
13382012-12-14 Tom Tromey <tromey@redhat.com>
1339
43aaf8b6 1340 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 1341
10e339df
PA
13422012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
1343
6fdff2c5 1344 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 1345
e780d813
DE
13462012-12-13 Doug Evans <dje@google.com>
1347
1348 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
1349 * gdb.multi/multi-arch.exp: Ditto.
1350
ca3dbcc8 13512012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 1352
ca3dbcc8
MG
1353 * gdb.mi/mi-catch-load-so.c: New. Clone of the
1354 catch load test library source file.
1355 * gdb.mi/mi-catch-load.c: New. Clone of the catch
1356 load test source file.
1357 * gdb.mi/mi-catch-load.exp: New. Test file for
1358 basic MI -catch-load and -catch-unload tests.
1359
2960a434
PK
13602012-12-11 Paul Koning <paul_koning@dell.com>
1361
1362 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
1363 exception.
1364 (_iterator_except): New function.
1365 (ArrayPrinter): Use _iterator function instead of local _iterator
1366 class for Python 3 compatibility.
1367 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 1368 _iterator.
2960a434
PK
1369 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
1370 execfile for Python 3 compatibility.
1371 * gdb.python/python.exp: Handle Python 2.4 exception traceback
1372 format in error_prompt test.
6fdff2c5 1373
9325cb04
PK
13742012-12-10 Paul Koning <paul_koning@dell.com>
1375
1376 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 1377 compatibility.
9325cb04
PK
1378 * gdb.python/py-block.exp: Ditto.
1379 * gdb.python/py-breakpoint.exp: Ditto.
1380 * gdb.python/py-cmd.exp: Ditto.
1381 * gdb.python/py-events.py: Ditto.
1382 * gdb.python/py-finish-breakpoint.py: Ditto.
1383 * gdb.python/py-finish-breakpoint2.exp: Ditto.
1384 * gdb.python/py-finish-breakpoint2.py: Ditto.
1385 * gdb.python/py-frame-inline.exp: Ditto.
1386 * gdb.python/py-frame.exp: Ditto.
1387 * gdb.python/py-infthread.exp: Ditto.
1388 * gdb.python/py-objfile.exp: Ditto.
1389 * gdb.python/py-parameter.exp: Ditto.
1390 * gdb.python/py-progspace.exp: Ditto.
1391 * gdb.python/py-prompt.exp: Ditto.
1392 * gdb.python/py-symbol.exp: Ditto.
1393 * gdb.python/py-symtab.exp: Ditto.
1394 * gdb.python/py-template.exp: Ditto.
1395 * gdb.python/py-value-cc.exp: Ditto.
1396 * gdb.python/python.exp: Ditto.
1397 * gdb.python/source2.py: Ditto.
1398 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 1399 compatibility.
9325cb04
PK
1400 Use sorted() function rather than sort() method.
1401 Accept either int or long values for enum values.
1402 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
1403 execfile for Python 3 compatibility.
1404 * gdb.python/py-evsignal.exp: Ditto.
1405 * gdb.python/py-evthreads.exp: Ditto.
1406 * gdb.python/py-mi.exp: Ditto.
1407 * gdb.python/py-pp-maint.exp: Ditto.
1408 * gdb.python/py-prettyprint.exp: Ditto.
1409 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 1410 Python 3 compatibility.
9325cb04
PK
1411 Skip tests for Python 2.4.
1412 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 1413 Python 3 compatibility.
9325cb04
PK
1414 Use byte string rather than character string in memory write test
1415 if Python 3.
1416 * gdb.python/py-pp-maint.py: Change class declarations to "new
1417 class" syntax.
1418 * gdb.python/py-prettyprint.py: Change iterator class to generator
1419 function for Python 3 compatibility.
1420 Make all classes "new style".
1421 Fix indentation issue and stray semicolon.
1422 * gdb.python/py-shared.expChange print syntax for Python 3
1423 compatibility.
1424 Define "long" if Python 3.
1425 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 1426 compatibility.
9325cb04
PK
1427 Accept either int or long values for enum values.
1428 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 1429 compatibility.
9325cb04
PK
1430 Skip "long" and "unicode" tests if Python 3.
1431 Accept either "type" or "class" in type checks.
1432 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
1433 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
1434
8b9737bf
TT
14352012-12-10 Tom Tromey <tromey@redhat.com>
1436
1437 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
1438 (test): Add "two_cu" argument.
1439 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
1440 for types; allow two CUs.
1441
1b80a9fa
JK
14422012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1443
1444 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
1445 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
1446
f0b6d50a
YQ
14472012-12-08 Yao Qi <yao@codesourcery.com>
1448 Pedro Alves <palves@redhat.com>
1449
1450 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
1451 '=breakpoint-created' when GDB merges the tracepoints of both
1452 sides.
1453
2f68a895
TT
14542012-12-07 Tom Tromey <tromey@redhat.com>
1455
1456 * gdb.base/break1.c (enum some_enum, union some_union): New.
1457 (some_enum_global, some_union_global, some_value): New globals.
1458 * gdb.base/completion.exp: Add tag completion tests.
1459
4fc5d43e
TT
14602012-12-07 Tom Tromey <tromey@redhat.com>
1461
1462 * gdb.base/completion.exp: Add tests for ptype and whatis
1463 completion.
1464
6559e013
JB
14652012-12-07 Joel Brobecker <brobecker@adacore.com>
1466
1467 * gdb.base/stale-infcall.exp: Fix copyright line.
1468
ae2b630d
JB
14692012-12-07 Joel Brobecker <brobecker@adacore.com>
1470
1471 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
1472
0ba2eb0f
TT
14732012-12-06 Pedro Alves <palves@redhat.com>
1474 Tom Tromey <tromey@redhat.com>
1475
1476 * gdb.base/exprs.exp: Add tests for cast to void.
1477
731145cb
TT
14782012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
1479
1480 * gdb.python/py-mi.exp: Correct expected results for attribute
1481 "dynamic" returned by -var-update.
1482 Add test case for correct handling of "diplayhint" for children
1483 of dynamic varobjs.
1484 * gdb.python/py-prettyprint.c (set_itme): New function.
1485 (bug_14741) New function.
1486 (main) Add call to bug_14741().
1487 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
1488
e58fcc15
UW
14892012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
1490
1491 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
1492 ${binfile}.funcsyms list.
1493
e9eb0d14
YQ
14942012-12-04 Yao Qi <yao@codesourcery.com>
1495
1496 PR gdb/13443
1497 * gdb.trace/actions.exp: Make test messages unique.
1498
4983028c
TT
14992012-11-29 Tom Tromey <tromey@redhat.com>
1500
1501 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
1502
ea5e6b0e
UW
15032012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
1504
1505 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
1506 * gdb.opencl/datatypes.exp: Likewise.
1507 * gdb.opencl/operators.exp: Likewise.
1508 * gdb.opencl/vec_comps.exp: Likewise.
1509
cdde3dfb
JG
15102012-11-29 Jerome Guitton <guitton@adacore.com>
1511
1512 * gdb.ada/iwide: New testcase.
1513
b50d69b5
JG
15142012-11-29 Jerome Guitton <guitton@adacore.com>
1515
1516 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
1517 ptype test.
1518
c2d3fccf
JG
15192012-11-29 Jerome Guitton <guitton@adacore.com>
1520
1521 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
1522 form {VARIANT_TYPE}ADDRESS.
1523
5edf51fe
YQ
15242012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
1525
1526 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
1527 (func): New function.
1528 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
1529 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
1530 pointers to members with pointer-to-function type.
1531
608e2dbb
TT
15322012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1533 Tom Tromey <tromey@redhat.com>
1534
1535 * gdb.base/gnu-debugdata.exp: New file.
1536 * gdb.base/gnu-debugdata.c: New file.
1537 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1538 (gdb_unload): Return 0 on success.
1539
4648e588
JK
15402012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1541
1542 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1543
17d6efc4
JB
15442012-11-26 Joel Brobecker <brobecker@adacore.com>
1545
1546 * gdb.base/empty_exe.exp: New testcase.
1547
ace21957
MF
15482012-11-20 Mike Frysinger <vapier@gentoo.org>
1549
1550 * gdb.base/completion.exp: Add test for help aliases completion.
1551
5c401a0a
YQ
15522012-11-20 Yao Qi <yao@codesourcery.com>
1553
1554 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1555 Don't test 'maint set show-debug-regs'.
1556 Use command 'set remotecache' instead of
1557 'set circular-trace-buffer'.
1558
8dea366b
KS
15592012-11-16 Keith Seitz <keiths@redhat.com>
1560
1561 PR c++/13615
1562 * gdb.cp/baseenum.cc: New file.
1563 * gdb.cp/baseenum.exp: New file.
1564 * gdb.cp/derivation.cc (A): Add copyright.
1565 Add a typedef.
1566 (B): Use A::value_type instead of int. Change all references.
1567 (D): Use value_type instead of int. Change all references.
1568 (E): Likewise.
1569 (F); Likewise.
1570 (Z): New class.
1571 (ZZ): New class.
6fdff2c5 1572 (N, Base, Derived): New namespace and classes.
8dea366b
KS
1573 (main): Add instances of Z and ZZ.
1574 Make sure all symbols from N are kept.
1575 * gdb.cp/derivation.exp: Update typedef changes in tests.
1576 Add tests for class typedefs both before and after starting
1577 the inferior.
1578 Add tests for searching for a typedef while stopped in a
1579 method.
1580
5e34c6c3
LM
15812012-11-14 Luis Machado <lgustavo@codesourcery.com>
1582
1583 * gdb.mi/mi-var-create-rtti.c: New file.
1584 * gdb.mi/mi-var-create-rtti.exp: New file.
1585
5e487a5f
LM
15862012-11-14 Luis Machado <lgustavo@codesourcery.com>
1587
1588 * gdb.base/structs3.exp: Run to main before doing any tests.
1589
6d67b990
AB
15902012-11-14 Andrew Burgess <aburgess@broadcom.com>
1591
1592 * gdb.python/py-type.exp: Uniquify test names.
1593
e5d98164
YQ
15942012-11-14 Yao Qi <yao@codesourcery.com>
1595
1596 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1597 (thread_function) [DEBUG]: Call 'printf'.
1598 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1599 command line if 'DEBUG=1' is passed to test.
1600 Remove a pattern to match inferior's output.
1601
62747a60
TT
16022012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1603
1604 * gdb.mi/mi-fill-memory.exp: New test.
1605
18a9fc12
TT
16062012-11-12 Tom Tromey <tromey@redhat.com>
1607
1608 * gdb.base/completion.exp: Update for "info type-printers".
1609 * gdb.python/py-typeprint.cc: New file.
1610 * gdb.python/py-typeprint.exp: New file.
1611 * gdb.python/py-typeprint.py: New file.
1612
bd69fc68
TT
16132012-11-12 Tom Tromey <tromey@redhat.com>
1614
1615 * gdb.base/call-sc.exp: Use "ptype/r".
1616 * gdb.base/volatile.exp: Don't expect "int".
1617 * gdb.cp/ptype-flags.cc: New file.
1618 * gdb.cp/ptype-flags.exp: New file.
1619 * gdb.cp/templates.exp: Use ptype/r.
1620 (test_ptype_of_templates, test_template_typedef): Likewise.
1621 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1622 argument. Handle template names and template parameters.
1623 * gdb.mi/mi-var-cmd.exp: Accept "long".
1624 * gdb.mi/mi-var-child.exp: Accept "long".
1625 * gdb.mi/mi-var-display.exp: Accept "long".
1626 * gdb.mi/mi2-var-child.exp: Accept "long".
1627
b3720c3a
TT
16282012-11-12 Tom Tromey <tromey@redhat.com>
1629
1630 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1631 "ptype" from calls to cp_test_ptype_class.
1632 (test_enums): Likewise.
1633 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1634 cp_test_ptype_class.
1635 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1636 calls to cp_test_ptype_class.
1637 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1638 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1639 from calls to cp_test_ptype_class.
1640 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1641 command here. Change "in_command" argument to "in_exp".
1642
0d63ecda
KS
16432012-11-10 Keith Seitz <keiths@redhat.com>
1644
1645 PR gdb/14288
1646 * gdb.base/printcmds.c: Add invalid_XXX globals
1647 for repeated byte tests.
1648 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1649 * gdb.base/wchar.c (main): Add and construct a wchar_t
1650 array with repeated characters.
1651 * gdb.base/wchar.exp: Add repeated character tests.
1652
ed8a1c2d
AB
16532012-11-09 Andrew Burgess <aburgess@broadcom.com>
1654
1655 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1656 disassembly output.
1657
9107fc8d
PA
16582012-11-09 Pedro Alves <palves@redhat.com>
1659
1660 PR gdb/14306
1661
1662 * gdb.multi/multi-arch-exec.c: New file.
1663 * gdb.multi/multi-arch-exec.exp: New file.
1664
558a9d82
YQ
16652012-11-09 Yao Qi <yao@codesourcery.com>
1666
1667 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1668 (top level): Call it.
1669
e714f336
YQ
16702012-11-09 Yao Qi <yao@codesourcery.com>
1671
1672 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1673 typo.
1674
6ecd4729
PA
16752012-11-09 Pedro Alves <palves@redhat.com>
1676
1677 * gdb.multi/multi-arch.exp: New.
1678
9015683b
TT
16792012-11-08 Tom Tromey <tromey@redhat.com>
1680
1681 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1682 core files, if possible.
1683 * gdb.base/siginfo-thread.c: New file
1684 * gdb.base/siginfo-thread.exp: New file
1685
ea9f10bb
TT
16862012-11-08 Tom Tromey <tromey@redhat.com>
1687
1688 * gdb.base/comprdebug.exp: New file.
1689
f6592439
PA
16902012-11-06 Pedro Alves <palves@redhat.com>
1691
1692 PR gdb/14810
1693
1694 * gdb.base/disabled-location.c: New file.
1695 * gdb.base/disabled-location.exp: New file.
1696
2d338fa9
TT
16972012-11-06 Tom Tromey <tromey@redhat.com>
1698
1699 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1700 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1701 gdb_gcore_cmd.
1702 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1703 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1704 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1705 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1706 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1707 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1708 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1709 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1710 * lib/gdb.exp (gdb_gcore_cmd): New proc.
1711
68c9da30
PA
17122012-11-05 Pedro Alves <palves@redhat.com>
1713
1714 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1715 procedure.
1716 (do_vfork_and_follow_child_tests_exec)
1717 (do_vfork_and_follow_child_tests_exit): Call it.
1718
a7c8c931
PA
17192012-11-05 Pedro Alves <palves@redhat.com>
1720
1721 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1722 fails.
1723
6f6484cd
YQ
17242012-11-03 Yao Qi <yao@codesourcery.com>
1725
1726 Fix PR gdb/14617.
1727 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1728 Remove setup_kfail, and update test.
1729
b45627a0
TT
17302012-11-02 Tom Tromey <tromey@redhat.com>
1731
1732 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1733 test.
1734
f50f4e56
PA
17352012-11-02 Pedro Alves <palves@redhat.com>
1736
1737 PR gdb/14766
1738
1739 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1740 setup_kfail.
1741 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1742 get registers".
1743
71ce889d
PA
17442012-11-02 Pedro Alves <palves@redhat.com>
1745
1746 * gdb.base/foll-vfork-exit.c: New file.
1747 * gdb.base/foll-vfork.exp (top level): New file-describing
1748 comment.
1749 (vfork_child_follow_to_exit): New procedure.
1750 (tcatch_vfork_then_child_follow): Rename as ...
1751 (tcatch_vfork_then_child_follow_exec): ... this.
1752 (tcatch_vfork_then_child_follow_exit): New procedure.
1753 (do_vfork_and_follow_parent_tests): New procedure, factored out
1754 from do_vfork_and_exec_tests.
1755 (do_vfork_and_follow_child_tests_exec): Ditto.
1756 (do_vfork_and_exec_tests): Delete.
1757 (do_vfork_and_follow_child_tests_exit): New procedure.
1758 (top level): Run tests with both the program that has the vfork
1759 child execing, and the program has the vfork child exiting.
1760
1e35b1a9
PA
17612012-11-02 Pedro Alves <palves@redhat.com>
1762
1763 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1764 (check_vfork_catchpoints, vfork_parent_follow_through_step)
1765 (vfork_parent_follow_to_bp): Call it.
1766 (kill_child): Delete.
1767 (vfork_and_exec_child_follow_to_main_bp)
1768 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
1769 longer call kill_child.
1770 (tcatch_vfork_then_parent_follow): Call setup_gdb.
1771 (do_vfork_and_exec_tests): Don't runto_main before calling each
1772 test procedure.
1773 (top level): Don't clean restart and set verbose before running
1774 each test procedure.
1775
17762012-11-02 Pedro Alves <palves@redhat.com>
1777
1778 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1779 (vfork_parent_follow_to_bp)
1780 (vfork_and_exec_child_follow_to_main_bp)
1781 (vfork_and_exec_child_follow_through_step)
1782 (tcatch_vfork_then_parent_follow)
1783 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1784 Use with_test_prefix.
1785
17862012-11-02 Pedro Alves <palves@redhat.com>
1787
1788 * gdb.base/foll-vfork.c: Add copyright header.
1789 * gdb.base/vforked-prog.c: Add copyright header.
1790
17912012-11-02 Pedro Alves <palves@redhat.com>
1792
1793 * gdb.base/foll-vfork.exp
1794 (vfork_and_exec_child_follow_through_step): Don't skip on
1795 non-HP/UX targets. Expect the next to only step one line on
1796 non-HP/UX targets, rather than stopping only after the exec.
1797
17982012-11-02 Pedro Alves <palves@redhat.com>
1799
1800 Don't hard code line numbers.
1801
1802 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1803 Expect text from the sources instead of a line number.
1804 (vfork_parent_follow_to_bp)
1805 (vfork_and_exec_child_follow_to_main_bp)
1806 (vfork_and_exec_child_follow_through_step)
1807 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1808 Use gdb_get_line_number.
1809
18102012-11-02 Pedro Alves <palves@redhat.com>
1811
1812 Modernize.
1813
1814 * gdb.base/foll-vfork.exp: Use standard_testfile and
1815 build_executable. Pass descriptive string to untested.
1816 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1817 (vfork_and_exec_child_follow_to_main_bp)
1818 (vfork_and_exec_child_follow_through_step)
1819 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1820 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1821 of send_gdb/gdb_expect.
1822
1823 (kill_child): New procedure.
1824 (vfork_and_exec_child_follow_to_main_bp)
1825 (vfork_and_exec_child_follow_through_step): Use it.
1826
f0559fff
YQ
18272012-11-02 Yao Qi <yao@codesourcery.com>
1828
1829 * gdb.base/setvar.exp: Test setting nested struct.
1830 * gdb.base/setvar.c (v_struct3): New.
1831
c207c6da
DE
18322012-11-01 Doug Evans <dje@google.com>
1833
1834 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1835 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1836 use them.
1837
2f27adfe
AB
18382012-10-31 Andrew Burgess <aburgess@broadcom.com>
1839
1840 PR cli/14772
1841 * gdb.base/gnu_vector.c (union_with_vector_1)
1842 (struct_with_vector_1): Add new struct and union for testing
1843 ptype.
1844 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1845 structs / unions containing vectors.
1846
bb662ca6
YQ
18472012-10-25 Yao Qi <yao@codesourcery.com>
1848
1849 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1850 'setup_kfail' instead of 'setup_kfail_for_target'.
1851 * gdb.base/varargs.exp: Likewise.
1852 * lib/gdb.exp (setup_kfail_for_target): Remove.
1853
635d23ff
MK
18542012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1855
1856 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1857
afdb064f
MK
18582012-10-25 Mark Kettenis <kettenis@gnu.org>
1859
1860 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1861
d99dcf51
JB
18622012-10-24 Joel Brobecker <brobecker@adacore.com>
1863
1864 * gdb.ada/set_wstr: New testcase.
1865
32560274
JB
18662012-10-24 Joel Brobecker <brobecker@adacore.com>
1867
1868 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1869
5ded5331
JB
18702012-10-24 Joel Brobecker <brobecker@adacore.com>
1871
1872 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1873
d8d84291
MK
18742012-10-24 Mark Kettenis <kettenis@gnu.org>
1875
1876 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1877
6e933c51
JK
18782012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1879
1880 * gdb.base/callfuncs.exp (do_function_calls): Fix
1881 setup_kfail_for_target for -m32 mode.
1882
274bd000
MK
18832012-10-23 Mark Kettenis <kettenis@gnu.org>
1884
1885 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1886 are now fixed.
1887
545f743d
YQ
18882012-10-23 Yao Qi <yao@codesourcery.com>
1889
1890 * gdb.base/info-os.exp: Resume the inferior until it exits.
1891
48b56b6a 18922012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1893
99c7d5a8 1894 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1895 * gdb.base/print-file-var.exp: Likewise.
1896 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 1897
8de0566d
YQ
18982012-10-17 Yao Qi <yao@codesourcery.com>
1899
1900 * gdb.mi/mi-memory-changed.exp: New.
1901
44883546
YQ
19022012-10-16 Yao Qi <yao@codesourcery.com>
1903
1904 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1905 returns true.
1906 Call gdb_load_shlibs.
1907 * gdb.reverse/solib-reverse.exp: Likewise.
1908
345f514a
KS
19092012-10-15 Keith Seitz <keiths@redhat.com>
1910
1911 * lib/cp-support.exp (cp_test_ptype_class): Add support
1912 for class typedefs.
1913
1914 * gdb.cp/derivation.exp: Add tests for g_instance.
1915
9e3a7d65
JK
19162012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1917
1918 Fix entry values resolving in inlined frames.
1919 * gdb.arch/amd64-entry-value-inline.S: New file.
1920 * gdb.arch/amd64-entry-value-inline.c: New file.
1921 * gdb.arch/amd64-entry-value-inline.exp: New file.
1922
21a7b089
JK
19232012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1924 Doug Evans <dje@google.com>
1925
1926 Fix recent gdb_breakpoint regression.
1927 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1928 braces from the parameter.
1929 * gdb.java/jprint.exp: Likewise.
1930
2c47921e
DE
19312012-10-15 Doug Evans <dje@google.com>
1932
1933 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1934
89398707
JB
19352012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1936
1937 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1938
801e4185
TT
19392012-10-15 Tom Tromey <tromey@redhat.com>
1940
1941 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1942
74f910c8
TT
19432012-10-15 Tom Tromey <tromey@redhat.com>
1944
1945 * gdb.python/py-symbol.exp: Test symbol destructor.
1946
91567807
YQ
19472012-10-14 Yao Qi <yao@codesourcery.com>
1948
1949 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1950 * gdb.mi/mi-cli.exp: New.
1951
1952 * gdb.mi/mi2-basics.exp: Remove.
1953 * gdb.mi/mi2-break.exp: Remove.
1954 * gdb.mi/mi2-console.exp: Remove.
1955 * gdb.mi/mi2-disassemble.exp: Remove.
1956 * gdb.mi/mi2-eval.exp: Remove.
1957 * gdb.mi/mi2-file.exp: Remove.
1958 * gdb.mi/mi2-hack-cli.exp: Remove.
1959 * gdb.mi/mi2-pthreads.exp: Remove.
1960 * gdb.mi/mi2-read-memory.exp: Remove.
1961 * gdb.mi/mi2-regs.exp: Remove.
1962 * gdb.mi/mi2-return.exp: Remove.
1963 * gdb.mi/mi2-simplerun.exp: Remove.
1964 * gdb.mi/mi2-stack.exp: Remove.
1965 * gdb.mi/mi2-stepi.exp: Remove.
1966 * gdb.mi/mi2-syn-frame.exp: Remove.
1967 * gdb.mi/mi2-until.exp: Remove.
1968 * gdb.mi/mi2-watch.exp: Remove.
1969 * gdb.mi/mi2-var-block.exp: Remove.
1970 * gdb.mi/mi2-var-cmd.exp: Remove.
1971 * gdb.mi/mi2-var-display.exp: Remove.
1972
87332029
YQ
19732012-10-12 Yao Qi <yao@codesourcery.com>
1974
1975 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
1976 trail '.*' on matching patterns.
1977
11fc9057
L
19782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1979
1980 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
1981 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
1982 * gdb.arch/i386-disp-step.exp: Likewise.
1983 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1984 * gdb.arch/i386-prologue.exp: Likewise.
1985 * gdb.arch/i386-size-overlap.exp: Likewise.
1986 * gdb.arch/i386-size.exp: Likewise.
1987 * gdb.arch/i386-unwind.exp: Likewise.
1988
7d46bcdc
L
19892012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
1992 * gdb.arch/i386-word.exp: Likewise.
1993
31224d9d
L
19942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1995
1996 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
1997 is_ilp32_target to set nr_regs.
1998 * gdb.arch/i386-sse.exp: Likewise.
1999
5b7d0050
DE
20002012-10-11 Doug Evans <dje@google.com>
2001
7c09e5a0
DE
2002 PR breakpoints/14643.
2003 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2004 * gdb.linespec/thread.c: New file.
2005 * gdb.linespec/thread.exp: New file.
2006
5b7d0050
DE
2007 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2008 Recognize "message" -> print pass and fail. Add eof case.
2009 (runto): Recognize message, no-message. Print pass/fail if requested,
2010 with same treatment as gdb_breakpoint.
2011 (runto_main): Pass no-message to runto.
2012 (gdb_internal_error_resync): Add log message.
2013 (gdb_file_cmd): Tweak internal error fail text for consistency.
2014
2e24f4aa
JK
20152012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2016
2017 Fix crash during stepping on ppc32.
2018 * gdb.base/step-symless.c: New file.
2019 * gdb.base/step-symless.exp: New file.
2020
aa14df25
DE
20212012-10-03 Doug Evans <dje@google.com>
2022
2023 PR symtab/14601
2024 * gdb.cp/using-crash.exp: New file.
2025 * gdb.cp/using-crash.cc: New file.
2026
975531db
DE
20272012-10-02 Doug Evans <dje@google.com>
2028
2029 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2030 more consistent.
2031 (runto,gdb_debug_format): Ditto.
2032 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2033 Clean up logging and error messages.
2034
b3dc46ff
AB
20352012-10-01 Andrew Burgess <aburgess@broadcom.com>
2036
2037 Test find command on unmapped memory.
2038 * gdb.base/find-unmapped.c: New file.
2039 * gdb.base/find-unmapped.exp: New file.
2040
45814d45
YQ
20412012-09-29 Yao Qi <yao@codesourcery.com>
2042
2043 * gdb.trace/mi-tracepoint-changed.exp: New.
2044 * gdb.mi/mi-breakpoint-changed.exp: New.
2045 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2046 * gdb.mi/pendshr2.c: New.
2047
4c2786ba
YQ
20482012-09-28 Yao Qi <yao@codesourcery.com>
2049
2050 * gdb.mi/pr11022.exp: New.
2051 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2052
7977e5d2
TT
20532012-09-27 Tom Tromey <tromey@redhat.com>
2054
2055 * gdb.cp/derivation.exp: Add regression test.
2056 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2057 V_derived): New.
2058 (vderived): New global.
2059
0971de02
TT
20602012-09-26 Tom Tromey <tromey@redhat.com>
2061
2062 * gdb.dwarf2/dw2-common-block.S: New file.
2063 * gdb.dwarf2/dw2-common-block.exp: New file.
2064
4357ac6c
TT
20652012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2066
2067 * gdb.fortran/common-block.exp: New file.
2068 * gdb.fortran/common-block.f90: New file.
2069
6f380991
AB
20702012-09-26 Andrew Burgess <aburgess@broadcom.com>
2071
2072 * gdb.base/duplicate-bp.c: New file.
2073 * gdb.base/duplicate-bp.exp: New file.
2074
8ae551cf
YQ
20752012-09-26 Yao Qi <yao@codesourcery.com>
2076
2077 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2078
2079 Revert:
2080 2012-09-21 Yao Qi <yao@codesourcery.com>
2081
2082 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2083
318102b9
SP
20842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2085
2086 * gdb.base/longest-types.c: New test case.
2087 * gdb.base/longest-types.exp: New test case.
2088
a1e5fd69
YQ
20892012-09-25 Yao Qi <yao@codesourcery.com>
2090
2091 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2092
04e7407c
JK
20932012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2094
2095 Fix internal error on canonicalization of clang types.
2096 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2097 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2098 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2099
9bf4bce9
JK
21002012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2101
2102 Fix disassemble without parameters in tailcall frame.
2103 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2104
2603f7ee
AB
21052012-09-21 Andrew Burgess <aburgess@broadcom.com>
2106
2107 * gdb.dwarf2/dw2-op-out-param.S: New file.
2108 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2109
a3569abd
YQ
21102012-09-21 Yao Qi <yao@codesourcery.com>
2111
2112 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2113
a065d7af
YQ
21142012-09-21 Yao Qi <yao@codesourcery.com>
2115
2116 * gdb.mi/mi-cli.exp: Remove.
2117 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2118
15544bd9
YQ
21192012-09-21 Yao Qi <yao@codesourcery.com>
2120
2121 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2122 "=record-started" notification.
2123
82a90ccf
YQ
21242012-09-21 Yao Qi <yao@codesourcery.com>
2125
2126 * gdb.mi/mi-record-changed.exp: New.
2127 * gdb.mi/mi-reverse.exp: Adjust expected output.
2128
d7de8e3c
TT
21292012-09-20 Tom Tromey <tromey@redhat.com>
2130
2131 * gdb.python/python.exp: Test atexit.register.
2132
1aa99537
DE
21332012-09-20 Doug Evans <dje@google.com>
2134
05eade73
DE
2135 * boards/dwarf4-gdb-index.exp: New file.
2136
1aa99537
DE
2137 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2138 while running the tests.
2139
4ae24af0
JB
21402012-09-18 Joel Brobecker <brobecker@adacore.com>
2141
2142 * gdb.ada/bp_reset: New testcase.
2143
bb25a15c
YQ
21442012-09-18 Yao Qi <yao@codesourcery.com>
2145
2146 * gdb.trace/mi-tsv-changed.exp: New.
2147
201b4506
YQ
21482012-09-18 Yao Qi <yao@codesourcery.com>
2149
2150 * gdb.trace/mi-traceframe-changed.exp: New.
2151
6fc1c773
YQ
21522012-09-17 Yao Qi <yao@codesourcery.com>
2153
2154 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2155 when it is less than 0.
2156
1ab3b62c
JK
21572012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2158
2159 PR 14119
2160 * gdb.arch/amd64-tailcall-ret.S: New file.
2161 * gdb.arch/amd64-tailcall-ret.c: New file.
2162 * gdb.arch/amd64-tailcall-ret.exp: New file.
2163 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2164 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2165 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2166
acf9414f
JK
21672012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2168
2169 PR 14548
2170 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2171 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2172 * gdb.reverse/singlejmp-reverse.S: New file.
2173 * gdb.reverse/singlejmp-reverse.c: New file.
2174 * gdb.reverse/singlejmp-reverse.exp: New file.
2175
666b578b
JK
21762012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2177
2178 Fix compatibility with old GCC (~4.1).
2179 * gdb.cp/converts.cc (my_enum_var): New variable.
2180
42056501
AB
21812012-09-14 Andrew Burgess <aburgess@broadcom.com>
2182
2183 * gdb.xml/tdesc-regs.exp: Update expected output for new
2184 vector_size syntax of vector types.
2185
b9516fa1
YPK
21862012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
2187
2188 Refactor Python "gdb" module into a proper Python package, by
2189 introducing a new "_gdb" module for code implemented in C, and
2190 using reload/__import__ instead of exec.
2191 * gdb.python/python.exp (Test stderr location): Update module
2192 location of GDB-specific sys.stderr.
2193 (Test stdout location): Ditto for sys.stdout.
2194
18dc9ad8
JK
21952012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2196
2197 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2198
ea3a9873
KS
21992012-09-12 Keith Seitz <keiths@redhat.com>
2200
2201 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2202 conversion statement.
2203
5941debb
DE
22042012-09-12 Doug Evans <dje@google.com>
2205
2206 * gdb.base/help.exp: Remove testing of individual command help text,
2207 too much of a maintenance burden. Instead, test the functionality
2208 of "help" itself.
2209
cfc35e02
DE
22102012-09-11 Doug Evans <dje@google.com>
2211
3a0ed5d7
DE
2212 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2213 breakpoint.
2214
cfc35e02
DE
2215 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
2216 * gdb.dwarf2/fission-reread.S: Ditto.
2217 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
2218 * gdb.dwarf2/fission-reread.exp: Ditto.
2219
350b1b26
AB
22202012-09-11 Andrew Burgess <aburgess@broadcom.com>
2221
2222 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
2223
2fa15f23
JB
22242012-09-10 Joel Brobecker <brobecker@adacore.com>
2225
2226 * gdb.ada/optim_drec: New testcase.
2227
09be558e
DE
22282012-09-10 Doug Evans <dje@google.com>
2229
2230 * boards/fission.exp: Explicitly mark "board" as not remote.
2231
5b4f6e25
KS
22322012-09-10 Keith Seitz <keiths@redhat.com>
2233
2234 PR gdb/13483
2235 * gdb.cp/converts.cc (A::A): Add ctor.
2236 (A::member_): Add member.
2237 (enum my_enum): New enumeration.
2238 (main): Add calls to foo1_7 with various
2239 permitted arguments.
2240 * gdb.cp/converts.exp: Add tests for boolean
2241 conversions permitted by the standard.
2242
b4ca5ed9
YPK
22432012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
2244
2245 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
2246 avoid spurious results due to ~/.gdbinit.
2247 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
2248 $INTERNAL_GDBFLAGS in run command.
2249 * gdb.gdb/observer.exp (setup_test): Ditto.
2250 * gdb.gdb/selftest.exp (test_with_self): Ditto.
2251 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
2252
d54b30bb
DE
22532012-09-06 Doug Evans <dje@google.com>
2254
14910956
DE
2255 * boards/fission.exp: New file.
2256
d54b30bb
DE
2257 * gdb.python/py-value.exp: Use clean_restart.
2258
91b253e1
DE
22592012-09-05 Doug Evans <dje@google.com>
2260
2261 * gdb.base/info-macros.c: Fix whitespace.
2262
1292279a
PA
22632012-08-28 Pedro Alves <palves@redhat.com>
2264
2265 PR gdb/14428
2266
2267 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2268
1c8cdcb1
JK
22692012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2270
2271 * gdb.base/break-caller-line.c: New file.
2272 * gdb.base/break-caller-line.exp: New file.
2273
1e8e8b51
JK
22742012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
2277 * gdb.arch/i386-cfi-notcurrent.S: New file.
2278 * gdb.arch/i386-cfi-notcurrent.exp: New file.
2279
1591a1e8
PA
22802012-08-27 Wei-cheng Wang <cole945@gmail.com>
2281 Yao Qi <yao@codesourcery.com>
2282 Pedro Alves <palves@redhat.com>
2283
2284 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
2285 New procedures.
2286 (top level): Add overlap checking tests.
2287
4442ada7
TT
22882012-08-24 Tom Tromey <tromey@redhat.com>
2289
2290 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
2291 gdb_test_multiple fails for other reasons.
2292
e7d50cc9
YQ
22932012-08-24 Yao Qi <yao@codesourcery.com>
2294
2295 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
2296
dfbd5e7b
PA
22972012-08-23 Pedro Alves <palves@redhat.com>
2298
2299 * gdb.base/help.exp: Adjust to "handle" help text change.
2300
8d735b87
YQ
23012012-08-23 Yao Qi <yao@codesourcery.com>
2302
2303 * gdb.trace/disconnected-tracing.c (start, end): New.
2304 (main): Call start and end.
2305 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
2306 existing tests into this proc.
2307 (disconnected_tfind): New.
2308
61b1d759
YQ
23092012-08-23 Yao Qi <yao@codesourcery.com>
2310
2311 * boards/native-gdbserver.exp (${board}_upload): New.
2312 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
2313 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
2314 Execute tfile on remote target.
2315 Copy trace file from target to host.
2316
6ca1b147
JM
23172012-08-22 Joseph Myers <joseph@codesourcery.com>
2318
2319 * gdb.arch/thumb-bx-pc.S: New file.
2320 * gdb.arch/thumb-bx-pc.exp: New file.
2321
706e3705
TT
23222012-08-22 Tom Tromey <tromey@redhat.com>
2323
2324 * gdb.base/maint.exp: Update.
2325
b4893d48
TT
23262012-08-22 Tom Tromey <tromey@redhat.com>
2327
2328 * lib/gdb.exp (skip_unwinder_tests): New proc.
2329 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
2330 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
2331
45b7da81
TT
23322012-08-21 Tom Tromey <tromey@redhat.com>
2333
2334 * gdb.hp/gdb.aCC/exception.exp: Remove.
2335
f94363d7
AP
2336012-08-19 Andrew Pinski <apinski@cavium.com>
2337
2338 * gdb.arch/mips-octeon-bbit.c: New file.
2339 * gdb.arch/mips-octeon-bbit.exp: New Test.
2340
e5afdbd7
KS
2341012-08-19 Keith Seitz <keiths@redhat.com>
2342
2343 PR c++/14365
2344 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
2345 * gdb.dwarf2/dw2-anon-mptr.S: New file.
2346
c29e8b64
JK
23472012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2348
2349 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
2350 verbose -log by more specific untested call.
2351
15a7e7bc
YQ
23522012-08-18 Yao Qi <yao@codesourcery.com>
2353
2354 * gdb.trace/tfind.exp: Move tests on various command help before
2355 checking target supports trace.
2356 Fix the expected output of 'help tfind end'.
2357
a451cb65
KS
23582012-08-17 Keith Seitz <keiths@redhat.com>
2359
2360 PR c++/13356
2361 * gdb.base/default.exp: Update all "check type" tests.
2362 * gdb.base/help.exp: Likewise.
2363 * gdb.base/setshow.exp: Likewise.
2364 * gdb.cp/converts.cc (foo1_type_check): New function.
2365 (foo2_type_check): New function.
2366 (foo3_type_check): New function.
2367 (main): Call new functions.
2368 * converts.exp: Add tests for integer-to-pointer conversions
2369 with/without strict type-checking.
2370
dbf6a605
MF
23712012-08-16 Mike Frysinger <vapier@gentoo.org>
2372
2373 * gdb.base/help.exp: Update expected output.
2374
0c92d8c1
JB
23752012-08-16 Joel Brobecker <brobecker@adacore.com>
2376
2377 * gdb.ada/rdv_wait: New testcase.
2378
e56f7f42
JK
23792012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2380
2381 * gdb.base/attach-twice.exp: Remove excessive ps exec.
2382
f47f77df
DE
23832012-08-13 Doug Evans <dje@google.com>
2384
e202d6e8 2385 * gdb.base/help.exp: Update expected output.
f47f77df
DE
2386 * gdb.base/default.exp: Update expected output of "show convenience".
2387
a72c3253
DE
23882012-08-10 Doug Evans <dje@google.com>
2389
2390 * gdb.python/py-strfns.c: New file.
2391 * gdb.python/py-strfns.exp: New file.
2392 * gdb.python/py-type.exp (test_fields): Add vector tests.
2393
de0bea00
MF
23942012-08-10 Mike Frysinger <vapier@gentoo.org>
2395
2396 PR cli/10436:
2397 * gdb.base/completion.exp: Add tests for handle completion.
2398
5b9afe8a
YQ
23992012-08-09 Yao Qi <yao@codesourcery.com>
2400
2401 * gdb.mi/mi-cmd-param-changed.exp: New.
2402 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
2403 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
2404 * gdb.mi/mi2-prompt.exp: Likewise.
2405
4f485ebc
DE
24062012-08-08 Doug Evans <dje@google.com>
2407
2408 * gdb.base/debug-expr.c: New file.
2409 * gdb.base/debug-expr.exp: New file.
2410 * gdb.base/exprs.exp: Test {type} casts.
2411 * gdb.cp/debug-expr.exp: New file.
2412
5888842d
JK
24132012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2414
2415 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
2416 global variable loop, not a 'break'. Add loop count limit to 100.
2417 Add new fail case for terminated vgdb.
2418
4f69f4c2
JK
24192012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2420 Jean-Marc Saffroy <saffroy@gmail.com>
2421
2422 PR 11804
2423 * gdb.base/gcore-relro.exp: New file.
2424 * gdb.base/gcore-relro-main.c: New file.
2425 * gdb.base/gcore-relro-lib.c: New file.
2426
e2de5390
JK
24272012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2428
2429 Do not false FAIL with old GCCs.
2430 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
2431 GCC < 4.5 in $no_hw mode.
2432
606603c5
JK
24332012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2434
2435 * gdb.base/default.exp (cd): Accept new directory with no arguments.
2436
777f26c2
JK
24372012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2438
2439 * gdb.base/list.exp (test_only_end): New function.
2440 Call it.
2441
2c12abee
TT
24422012-08-06 Tom Tromey <tromey@redhat.com>
2443
2444 * gdb.python/py-mi.exp: Add test for printer whose children
2445 are a list.
2446 * gdb.python/py-prettyprint.c (struct children_as_list): New.
2447 (main): New variable children_as_list.
2448 * gdb.python/py-prettyprint.py (class pp_children_as_list):
2449 New.
2450 (register_pretty_printers): Register new printer.
2451
0eae2cf4
EBM
24522012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2453
2454 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
2455 symbols. Abort if vgdb remote connection is closed.
2456
09e0881d
DE
24572012-08-02 Doug Evans <dje@google.com>
2458
2459 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
2460
b40f514f
SDJ
24612012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
2462
2463 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
2464 s390x, PowerPC 64 and m68k-linux.
2465
11315ae0
UW
24662012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2467
2468 * gdb.base/annota1.exp: Accept no frames-invalid notification
2469 when starting up the program.
2470 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
2471 show a symbolic value as well.
2472 * gdb.server/server-exec-info.exp: Skip test when skipping
2473 gdbserver test and/or when skipping shared library tests.
2474 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
2475 avoid name conflicts with other tests.
2476
0547eeed
UW
24772012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2478
2479 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
2480 Fix wrong output on big-endian systems.
2481 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
2482 4-byte pointer types on 64-bit s390x.
2483
bdddb4de
UW
24842012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2485
2486 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
2487 marker comment at the beginning (after intialization).
2488 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
2489 breakpoint on marker comment instead of function begin.
2490 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
2491 PowerPC.
2492 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
2493 or 64-bit PowerPC.
2494 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
2495 gdb,no_hardware_watchpoints flag is set.
2496 (initialize): Remove now redundant can-use-hw-watchpoints change.
2497
5d206025
YQ
24982012-08-02 Yao Qi <yao@codesourcery.com>
2499 Pedro Alves <palves@redhat.com>
2500
2501 * boards/local-remote-host.exp: New.
2502
4f665099
UW
25032012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2504
2505 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
2506 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
2507 * gdb.base/print-file-var.exp: Likewise.
2508 * gdb.server/solib-list.exp: Skip on remote targets.
2509
b62e2b27
UW
25102012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2511
2512 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
2513 watchpoints on ARM. When expecting software watchpoints, tolerate
2514 (remote) targets that report unsupported hardware watchpoint only
2515 at continue time.
2516 (test_wide_location_2): Likewise.
2517
a967a851
JK
25182012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2519
2520 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
2521 valgrind versions.
2522
75d9f9ff 25232012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
2524
2525 * gdb.base/valgrind-infcall.c: New file.
2526 * gdb.base/valgrind-infcall.exp: New file.
2527
75d9f9ff
JK
2528 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2529
1c9f2ed2
KS
25302012-07-30 Keith Seitz <keiths@redhat.com>
2531
2532 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2533 linespecs.
2534
7f9b2034
DE
25352012-07-30 Doug Evans <dje@google.com>
2536
85220e01
DE
2537 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2538 * gdb.dwarf2/pr13961.S: Ditto.
2539
7f9b2034
DE
2540 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2541
4e969b4f
AB
25422012-07-30 Andrew Burgess <aburgess@broadcom.com>
2543
2544 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2545 change its format immediately after reloading the binary.
2546
e7de8362
JK
25472012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2548
2549 Fix testsuite regression after --use-deprecated-index-sections removal.
2550 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2551 string.
2552 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2553
7255706c
YQ
25542012-07-27 Yao Qi <yao@codesourcery.com>
2555
2556 KFAIL for PR remote/14161.
2557 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2558 Cleanup socket files.
2559 (strace_info_marker): Detach inferior.
2560
f2e8016f
TT
25612012-07-26 Tom Tromey <tromey@redhat.com>
2562
6fdff2c5 2563 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 2564
f66713d2
JK
25652012-07-26 Markus Metzger <markus.t.metzger@intel.com>
2566
2567 * gdb.python/py-inferior.c (thread): New function.
2568 (check_threads): New function.
2569 (test_threads): New function.
2570 * gdb.python/py-inferior.exp: Added test.
2571 Replaced runto with continue to breakpoint.
2572
8223e12c
TT
25732012-07-26 Tom Tromey <tromey@redhat.com>
2574
2575 * lib/ada.exp (standard_ada_testfile): New proc.
2576 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2577 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2578 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2579 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2580 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2581 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2582 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2583 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2584 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2585 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2586 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2587 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2588 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2589 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2590 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2591 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2592 * gdb.ada/complete.exp: Use standard_ada_testfile.
2593 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2594 standard_output_file.
2595 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2596 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2597 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2598 standard_output_file.
2599 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2600 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2601 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2602 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2603 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2604 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2605 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2606 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2607 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2608 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2609 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2610 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2611 * gdb.ada/interface.exp: Use standard_ada_testfile.
2612 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2613 standard_output_file
2614 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2615 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2616 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2617 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2618 * gdb.ada/nested.exp: Use standard_ada_testfile.
2619 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2620 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2621 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2622 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2623 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2624 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2625 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2626 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2627 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2628 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2629 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2630 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2631 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2632 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2633 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2634 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2635 * gdb.ada/start.exp: Use standard_ada_testfile.
2636 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2637 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2638 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2639 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2640 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2641 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2642 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2643 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2644 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2645 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2646 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2647 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2648 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2649 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2650
bbec57e4
JK
26512012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2652
2653 Fix testsuite regression after --use-deprecated-index-sections removal.
2654 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2655
9cc8e32c
JK
26562012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2657
2658 Fix compatibility with Tcl before 7.5.
2659 * lib/future.exp (lreverse): New function if it does not exist.
2660
ea5ca7b5
MK
26612012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2662
2663 * gdb.mi/mi-pending.c: New method to set a second pending
2664 breakpoint.
2665 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2666 condition.
2667
64776a0b
PA
26682012-07-20 Pedro Alves <palves@redhat.com>
2669
2670 PR threads/11692
2671 PR gdb/12203
2672
2673 * gdb.threads/create-fail.c: New file.
2674 * gdb.threads/create-fail.exp: New file.
2675
13e4e967
PA
26762012-07-19 Pedro Alves <palves@redhat.com>
2677
2678 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2679 * config/vx.exp (gdb_start): Likewise.
2680 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2681 * gdb.base/setvar.exp (test_set): Likewise.
2682 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2683 * gdb.reverse/sigall-precsave.exp: Likewise.
2684 * gdb.reverse/sigall-reverse.exp: Likewise.
2685
b7aefa4d
PA
26862012-07-19 Pedro Alves <palves@redhat.com>
2687
2688 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2689 handler before recording.
2690
608b4967
TT
26912012-07-19 Tom Tromey <tromey@redhat.com>
2692
2693 * gdb.cp/casts.exp: Add tests for typeof and decltype.
2694 * gdb.cp/casts.cc (decltype): New function.
2695 (main): Use it.
2696
b1e0c0fa
PA
26972012-07-19 Pedro Alves <palves@redhat.com>
2698
2699 * gdb.base/sigall.exp (signals): New list.
2700 <top level>: Loop over signals in the $signals list instead of
2701 calling a test function once per signal.
2702 * gdb.reverse/sigall-precsave.exp (signals): New list.
2703 <top level>: Loop over signals in the $signals list instead of
2704 calling a test function once per signal.
2705 * gdb.reverse/sigall-reverse.exp (signals): New list.
2706 <top level>: Loop over signals in the $signals list instead of
2707 calling a test function once per signal.
2708
6ace3df1
YQ
27092012-07-19 Yao Qi <yao@codesourcery.com>
2710
2711 * gdb.base/setshow.exp: Test 'set args ~'.
2712
263a0f8c
JK
27132012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2714
2715 * gdb.base/store.exp (check_set): Import gdb_prompt.
2716 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2717 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2718
8f043999
JK
27192012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 PR 11914
2722 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2723 (main): Call eval_sub.
2724 * gdb.python/py-prettyprint.exp:
2725 (python execfile ('py-prettyprint.py')): Move it earlier.
2726 New breakpoint for eval-break.
2727 (continue to breakpoint: eval-break, info locals): New test.
2728 (python execfile ('py-prettyprint.py')): Move it from here.
2729 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2730 (register_pretty_printers): Register pp_eval_type.
2731
725c7b66
JK
27322012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2733
2734 Fix a testcase regression by me.
2735 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2736 DW_FORM_data4.
2737
4359dff1
JK
27382012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 Doug Evans <dje@google.com>
2740
2741 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2742 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2743
61e44cfa
JK
27442012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2745
2746 Fix gdbserver run regression.
2747 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2748
93c0ef37
TT
27492012-07-12 Tom Tromey <tromey@redhat.com>
2750
2751 * lib/gdb.exp (standard_testfile): Don't declare objdir.
2752 (clean_restart): Likewise.
2753 (core_find): Use standard_output_file.
2754
76027ef5
TT
27552012-07-12 Tom Tromey <tromey@redhat.com>
2756
2757 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2758 * gdb.dwarf2/dw2-anonymous-func.exp: Use
2759 prepare_for_testing_full.
2760 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2761 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2762 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2763 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2764 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2765 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2766 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2767 prepare_for_testing_full.
2768 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2769 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2770 prepare_for_testing_full.
2771 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2772 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2773 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2774
85b4440a
TT
27752012-07-12 Tom Tromey <tromey@redhat.com>
2776
2777 * lib/gdb.exp (build_executable_from_specs): New proc, from
2778 build_executable.
2779 (build_executable): Use it.
2780 (prepare_for_testing_full): New proc.
2781
55baab26
TT
27822012-07-11 Tom Tromey <tromey@redhat.com>
2783
2784 * gdb.reverse/break-precsave.exp: Use standard_output_file.
2785 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2786 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2787 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2788 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2789 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2790 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2791 * gdb.reverse/step-precsave.exp: Use standard_output_file.
2792 * gdb.reverse/until-precsave.exp: Use standard_output_file.
2793 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2794
298a9cf0
TT
27952012-07-10 Tom Tromey <tromey@redhat.com>
2796
2797 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2798 standard_output_file.
2799 * gdb.mi/gdb2549.exp: Use standard_testfile.
2800 * gdb.mi/gdb669.exp: Use standard_testfile.
2801 * gdb.mi/gdb701.exp: Use standard_testfile.
2802 * gdb.mi/gdb792.exp: Use standard_testfile.
2803 * gdb.mi/mi-async.exp: Use standard_testfile.
2804 * gdb.mi/mi-basics.exp: Use standard_testfile.
2805 * gdb.mi/mi-break.exp: Use standard_testfile.
2806 * gdb.mi/mi-cli.exp: Use standard_testfile.
2807 * gdb.mi/mi-console.exp: Use standard_testfile.
2808 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2809 * gdb.mi/mi-eval.exp: Use standard_testfile.
2810 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2811 * gdb.mi/mi-file.exp: Use standard_testfile.
2812 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2813 * gdb.mi/mi-logging.exp: Use standard_testfile.
2814 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2815 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2816 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2817 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2818 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2819 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2820 * gdb.mi/mi-pending.exp: Use standard_testfile,
2821 standard_output_file.
2822 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2823 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2824 * gdb.mi/mi-regs.exp: Use standard_testfile.
2825 * gdb.mi/mi-return.exp: Use standard_testfile.
2826 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2827 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2828 * gdb.mi/mi-solib.exp: Use standard_testfile,
2829 standard_output_file.
2830 * gdb.mi/mi-stack.exp: Use standard_testfile.
2831 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2832 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2833 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2834 * gdb.mi/mi-until.exp: Use standard_testfile.
2835 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2836 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2837 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2838 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2839 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2840 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2841 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2842 standard_output_file.
2843 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2844 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2845 * gdb.mi/mi-watch.exp: Use standard_testfile.
2846 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2847 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2848 * gdb.mi/mi2-break.exp: Use standard_testfile.
2849 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2850 * gdb.mi/mi2-console.exp: Use standard_testfile.
2851 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2852 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2853 * gdb.mi/mi2-file.exp: Use standard_testfile.
2854 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2855 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2856 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2857 * gdb.mi/mi2-return.exp: Use standard_testfile.
2858 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2859 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2860 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2861 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2862 * gdb.mi/mi2-until.exp: Use standard_testfile.
2863 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2864 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2865 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2866 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2867 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2868
f5f3a911
TT
28692012-07-10 Tom Tromey <tromey@redhat.com>
2870
2871 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2872 * gdb.cp/ambiguous.exp: Use standard_testfile,
2873 prepare_for_testing.
2874 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2875 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2876 * gdb.cp/anon-ns.exp: Use standard_testfile.
2877 * gdb.cp/anon-struct.exp: Use standard_testfile.
2878 * gdb.cp/anon-union.exp: Use standard_testfile,
2879 prepare_for_testing.
2880 * gdb.cp/arg-reference.exp: Use standard_testfile,
2881 prepare_for_testing.
2882 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2883 * gdb.cp/breakpoint.exp: Use standard_testfile,
2884 prepare_for_testing.
2885 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2886 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2887 standard_output_file.
2888 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2889 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2890 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2891 (test_static_members): Update.
2892 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2893 * gdb.cp/converts.exp: Use standard_testfile.
2894 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2895 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2896 prepare_for_testing.
2897 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2898 * gdb.cp/cplabel.exp: Use standard_testfile.
2899 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2900 prepare_for_testing.
2901 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2902 * gdb.cp/derivation.exp: Use standard_testfile,
2903 prepare_for_testing.
2904 * gdb.cp/destrprint.exp: Use standard_testfile.
2905 * gdb.cp/dispcxx.exp: Use standard_testfile.
2906 * gdb.cp/exception.exp: Use standard_testfile,
2907 prepare_for_testing.
2908 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2909 * gdb.cp/extern-c.exp: Use standard_testfile,
2910 prepare_for_testing.
2911 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2912 prepare_for_testing.
2913 * gdb.cp/fpointer.exp: Use standard_testfile.
2914 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2915 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2916 standard_output_file.
2917 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2918 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2919 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2920 standard_output_file.
2921 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2922 (do_tests): Update.
2923 * gdb.cp/koenig.exp: Use standard_testfile.
2924 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2925 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2926 * gdb.cp/m-static.exp: Use standard_testfile,
2927 prepare_for_testing.
2928 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2929 * gdb.cp/mb-inline.exp: Use standard_testfile,
2930 prepare_for_testing.
2931 * gdb.cp/mb-templates.exp: Use standard_testfile,
2932 prepare_for_testing.
2933 * gdb.cp/member-ptr.exp: Use standard_testfile,
2934 prepare_for_testing.
2935 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2936 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2937 * gdb.cp/method2.exp: Use standard_testfile.
2938 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2939 standard_output_file.
2940 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2941 (do_tests): Update.
2942 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2943 prepare_for_testing.
2944 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2945 prepare_for_testing.
2946 * gdb.cp/namespace.exp: Use standard_testfile,
2947 prepare_for_testing.
2948 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2949 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2950 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2951 * gdb.cp/nsimport.exp: Use standard_testfile,
2952 prepare_for_testing.
2953 * gdb.cp/nsnested.exp: Use standard_testfile.
2954 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2955 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2956 prepare_for_testing.
2957 * gdb.cp/nsstress.exp: Use standard_testfile,
2958 prepare_for_testing.
2959 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
2960 * gdb.cp/operator.exp: Use standard_testfile.
2961 * gdb.cp/oranking.exp: Use standard_testfile.
2962 * gdb.cp/overload-const.exp: Use standard_testfile.
2963 * gdb.cp/overload.exp: Use standard_testfile,
2964 prepare_for_testing.
2965 * gdb.cp/ovldbreak.exp: Use standard_testfile.
2966 * gdb.cp/ovsrch.exp: Use standard_testfile.
2967 * gdb.cp/paren-type.exp: Use standard_testfile.
2968 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
2969 prepare_for_testing.
2970 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
2971 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
2972 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
2973 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
2974 * gdb.cp/pr10728.exp: Use standard_testfile,
2975 standard_output_file.
2976 * gdb.cp/pr12028.exp: Use standard_testfile.
2977 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
2978 * gdb.cp/pr9167.exp: Use standard_testfile.
2979 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
2980 * gdb.cp/printmethod.exp: Use standard_testfile,
2981 prepare_for_testing.
2982 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
2983 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
2984 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
2985 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
2986 standard_output_file.
2987 * gdb.cp/readnow-language.exp: Use standard_testfile.
2988 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
2989 (gdb_start_again): Use clean_restart.
2990 * gdb.cp/ref-types.exp: Use standard_testfile,
2991 prepare_for_testing.
2992 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
2993 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
2994 * gdb.cp/smartp.exp: Use standard_testfile.
2995 * gdb.cp/static-method.exp: Use standard_testfile.
2996 * gdb.cp/static-print-quit.exp: Use standard_testfile.
2997 * gdb.cp/temargs.exp: Use standard_testfile.
2998 * gdb.cp/templates.exp: Use standard_testfile,
2999 prepare_for_testing.
3000 (do_tests): Update.
3001 * gdb.cp/try_catch.exp: Use standard_testfile,
3002 prepare_for_testing.
3003 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3004 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3005 * gdb.cp/virtbase.exp: Use standard_testfile,
3006 prepare_for_testing.
3007 * gdb.cp/virtfunc.exp: Use standard_testfile,
3008 prepare_for_testing.
3009 (do_tests): Update.
3010 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3011 prepare_for_testing.
3012
686f09d0
TT
30132012-07-10 Tom Tromey <tromey@redhat.com>
3014
3015 * lib/gdb.exp (standard_testfile): Unset output variables from
3016 earlier invocations.
3017
9357e021
YQ
30182012-07-10 Yao Qi <yao@codesourcery.com>
3019
3020 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3021 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3022 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3023 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3024 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3025 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3026 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3027 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3028 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3029 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3030 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3031 * gdb.mi/mi-var-display.exp: Likewise.
3032 * gdb.mi/mi-var-invalidate.exp: Likewise.
3033 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3034 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3035 * gdb.mi/mi2-console.exp: Likewise.
3036 * gdb.mi/mi2-disassemble.exp: Likewise.
3037 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3038 * gdb.mi/mi2-read-memory.exp: Likewise.
3039 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3040 * gdb.mi/mi2-simplerun.exp: Likewise.
3041 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3042 * gdb.mi/mi2-syn-frame.exp: Likewise.
3043 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3044 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3045 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3046
e314d629
TT
30472012-07-09 Tom Tromey <tromey@redhat.com>
3048
3049 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3050 * gdb.base/callfuncs.exp: Add cast-based test.
3051 * gdb.base/callfuncs.c (voidfunc): New function.
3052
06928b3f
DE
30532012-07-08 Doug Evans <dje@google.com>
3054
3055 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3056
32f11bad
JK
30572012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3058
3059 Fix XFAIL compatibility with old i386 systems.
3060 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3061 Check also 'Cannot insert breakpoint 0'.
3062
76b83c51
JK
30632012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3064
3065 PR 14321
3066 * gdb.base/find.exp
3067 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3068
a6fb9c08
TT
30692012-07-06 Tom Tromey <tromey@redhat.com>
3070
3071 * gdb.base/whatis.exp: Add test.
3072
71918a86
TT
30732012-07-06 Tom Tromey <tromey@redhat.com>
3074
3075 * gdb.base/whatis.exp: Add regression test.
3076
fcde5961
TT
30772012-07-06 Tom Tromey <tromey@redhat.com>
3078
3079 * gdb.base/whatis.exp: Add tests.
3080
f9cf0f4a
JK
30812012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3082
3083 PR 12649
3084 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3085 gdb_test_multiple $gdb_prompt terminator.
3086
979ade8b
PA
30872012-07-04 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3090 supports_process_record.
3091
8a980b44
PA
30922012-07-04 Pedro Alves <palves@redhat.com>
3093
3094 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3095 endings.
3096 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3097
855ba978
SS
30982012-07-03 Stan Shebs <stan@codesourcery.com>
3099
3100 * gdb.base/info-os.c (main): Retry resource acquisition until an
3101 available one is found.
3102 * gdb.base/info-os.exp: Collect resource keys from the program
3103 and use them in matching.
3104
fcb44371
JK
31052012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3106
3107 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3108 Wrap the test into loop for corefile and core0file.
3109
08a67be6
JK
31102012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3111
3112 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3113 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3114 .note.GNU-stack.
3115
0f3c2347
JK
3116 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3117
ff4a4500
SDJ
31182012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3119
3120 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3121 break): Include help message for the new `-probe' and `-probe-stap'
3122 options.
3123
d3ce09f5
SS
31242012-07-02 Stan Shebs <stan@codesourcery.com>
3125
3126 * gdb.base/dprintf.exp: Add agent style tests.
3127
a1624241
JK
31282012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3129
3130 * gdb.base/stale-infcall.c (infcall): New label test-next.
3131 (main): New labels test-pass and test-fail.
3132 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3133 $test_fail_bpnum to test-fail.
3134 (test system longjmp tracking support): New test.
3135 Delete $test_fail_bpnum.
3136 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3137 breakpoint.
3138
42e7ad6c
DE
31392012-06-30 Doug Evans <dje@google.com>
3140
3141 * gdb.dwarf2/fission-reread.S: New file.
3142 * gdb.dwarf2/fission-reread.exp: New file.
3143
37ce89eb
SS
31442012-06-28 Stan Shebs <stan@codesourcery.com>
3145
3146 * gdb.mi/mi-logging.exp: New file.
3147
e5ef252a
PA
31482012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3149 Pedro Alves <palves@redhat.com>
3150
3151 * gdb.threads/siginfo-threads.exp: New file.
3152 * gdb.threads/siginfo-threads.c: New file.
3153 * gdb.threads/sigstep-threads.exp: New file.
3154 * gdb.threads/sigstep-threads.c: New file.
3155
22f1fbae
TT
31562012-06-28 Tom Tromey <tromey@redhat.com>
3157
3158 * gdb.go/package.exp: Partially revert earlier patch; use
3159 gdb_compile again. Use standard_output_file.
3160
2e3cf129
DE
31612012-06-27 Doug Evans <dje@google.com>
3162
3163 * gdb.dwarf2/fission-base.c: New file.
3164 * gdb.dwarf2/fission-base.S: New file.
3165 * gdb.dwarf2/fission-base.exp: New file.
3166
785fd303
JK
31672012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3168
3169 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3170
1bb9788d
TT
31712012-06-27 Tom Tromey <tromey@redhat.com>
3172
3173 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3174 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3175
c83ee902
TT
31762012-06-27 Tom Tromey <tromey@redhat.com>
3177
3178 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3179 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3180 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3181 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3182 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3183 prepare_for_testing.
3184 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3185 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3186 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3187 standard_testfile.
3188 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3189 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3190 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3191 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3192 prepare_for_testing.
3193 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3194 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3195 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3196 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3197 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3198 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3199 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3200 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3201 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3202 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3203 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3204 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3205 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3206 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3207 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3208 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3209 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3210 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3211 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3212 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3213 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3214 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
3215 standard_output_file.
3216 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
3217 standard_output_file.
3218 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
3219 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
3220 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
3221 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
3222 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
3223 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
3224 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
3225 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
3226 * gdb.dwarf2/implptr.exp: Use standard_testfile.
3227 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
3228 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
3229 * gdb.dwarf2/pieces.exp: Use standard_testfile.
3230 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
3231 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
3232 * gdb.dwarf2/valop.exp: Use standard_testfile,
3233 prepare_for_testing.
3234
5204774b
TT
32352012-06-27 Tom Tromey <tromey@redhat.com>
3236
3237 * gdb.python/python.exp: Fix regexps in pagination tests.
3238
ee0bf529
SCR
32392012-06-26 Siva Chandra Reddy <sivachandra@google.com>
3240
3241 * gdb.python/py-symtab.exp: Add tests to test the new attribute
3242 'last' of gdb.Symtab_and_line.
3243 * gdb.python/py-symbol.c: Move break point comment to enable
3244 testing of gdb.Symtab_and_line.last.
3245
14fcc022
TT
32462012-06-26 Tom Tromey <tromey@redhat.com>
3247
3248 * gdb.threads/step.c: Remove.
3249 * gdb.threads/step.exp: Remove.
3250 * gdb.threads/step2.exp: Remove.
3251
0efbbabc
TT
32522012-06-26 Tom Tromey <tromey@redhat.com>
3253
3254 * gdb.threads/watchpoint-fork.exp (test): Use
3255 standard_output_file. Don't declare objdir.
3256 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
3257 standard_output_file.
3258 * gdb.threads/attach-stopped.exp: Use standard_testfile.
3259 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
3260 clean_restart. Remove incdir.
3261 * gdb.threads/corethreads.exp: Use standard_testfile.
3262 * gdb.threads/execl.exp: Use standard_testfile,
3263 standard_output_file, clean_restart.
3264 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
3265 clean_restart.
3266 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
3267 clean_restart.
3268 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
3269 incdir.
3270 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
3271 clean_restart. Remove incdir.
3272 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
3273 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
3274 clean_restart. Remove incdir.
3275 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
3276 Remove incdir.
3277 * gdb.threads/leader-exit.exp: Use standard_testfile.
3278 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
3279 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
3280 clean_restart.
3281 * gdb.threads/manythreads.exp: Use standard_testfile,
3282 clean_restart. Remove incdir.
3283 * gdb.threads/multi-create.exp: Use standard_testfile,
3284 clean_restart.
3285 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
3286 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
3287 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
3288 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
3289 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
3290 * gdb.threads/pending-step.exp: Use standard_testfile,
3291 clean_restart. Remove incdir.
3292 * gdb.threads/print-threads.exp: Use standard_testfile,
3293 clean_restart. Remove incdir.
3294 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
3295 clean_restart. Remove incdir.
3296 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
3297 Remove incdir.
3298 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
3299 incdir.
3300 * gdb.threads/sigthread.exp: Use standard_testfile,
3301 clean_restart.
3302 * gdb.threads/staticthreads.exp: Use standard_testfile,
3303 clean_restart. Remove incdir.
3304 * gdb.threads/switch-threads.exp: Use standard_testfile,
3305 clean_restart. Remove incdir.
3306 * gdb.threads/thread-execl.exp: Use standard_testfile,
3307 clean_restart. Remove incdir.
3308 * gdb.threads/thread-find.exp: Use standard_testfile,
3309 clean_restart.
3310 * gdb.threads/thread-specific.exp: Use standard_testfile,
3311 clean_restart. Remove incdir.
3312 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
3313 clean_restart. Remove incdir.
3314 * gdb.threads/thread_check.exp: Use standard_testfile,
3315 clean_restart. Remove incdir.
3316 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
3317 incdir.
3318 * gdb.threads/threadapply.exp: Use standard_testfile,
3319 clean_restart. Remove incdir.
3320 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
3321 clean_restart. Remove incdir.
3322 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
3323 clean_restart.
3324 * gdb.threads/tls-shared.exp: Use standard_testfile,
3325 clean_restart, standard_output_file.
3326 * gdb.threads/tls-var.exp: Use standard_testfile,
3327 standard_output_file.
3328 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
3329 Remove incdir.
3330 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
3331 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
3332 incdir.
3333 * gdb.threads/watchthreads2.exp: Use standard_testfile,
3334 clean_restart. Remove incdir.
3335
497a5eb0
TT
33362012-06-26 Tom Tromey <tromey@redhat.com>
3337
3338 * gdb.trace/actions.exp: Use standard_testfile.
3339 * gdb.trace/ax.exp: Use standard_testfile.
3340 * gdb.trace/backtrace.exp: Use standard_testfile.
3341 * gdb.trace/change-loc.exp: Use standard_testfile.
3342 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
3343 * gdb.trace/collection.exp: Use standard_testfile,
3344 prepare_for_testing.
3345 * gdb.trace/deltrace.exp: Use standard_testfile.
3346 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
3347 * gdb.trace/ftrace.exp: Use standard_testfile.
3348 * gdb.trace/infotrace.exp: Use standard_testfile.
3349 * gdb.trace/packetlen.exp: Use standard_testfile.
3350 * gdb.trace/passc-dyn.exp: Use standard_testfile.
3351 * gdb.trace/passcount.exp: Use standard_testfile.
3352 * gdb.trace/pending.exp: Use standard_testfile.
3353 * gdb.trace/report.exp: Use standard_testfile.
3354 * gdb.trace/save-trace.exp: Use standard_testfile.
3355 * gdb.trace/stap-trace.exp: Use standard_testfile.
3356 * gdb.trace/status-stop.exp: Use standard_testfile.
3357 * gdb.trace/strace.exp: Use standard_testfile.
3358 * gdb.trace/tfile.exp: Use standard_testfile.
3359 * gdb.trace/tfind.exp: Use standard_testfile.
3360 * gdb.trace/trace-break.exp: Use standard_testfile.
3361 * gdb.trace/trace-mt.exp: Use standard_testfile.
3362 * gdb.trace/tracecmd.exp: Use standard_testfile.
3363 * gdb.trace/tspeed.exp: Use standard_testfile.
3364 * gdb.trace/tstatus.exp: Use standard_testfile.
3365 * gdb.trace/tsv.exp: Use standard_testfile.
3366 * gdb.trace/unavailable.exp: Use standard_testfile,
3367 prepare_for_testing.
3368 * gdb.trace/while-dyn.exp: Use standard_testfile.
3369 * gdb.trace/while-stepping.exp: Use standard_testfile.
3370
7686c074
TT
33712012-06-26 Tom Tromey <tromey@redhat.com>
3372
3373 * gdb.reverse/break-precsave.exp: Use standard_testfile.
3374 * gdb.reverse/break-reverse.exp: Use standard_testfile.
3375 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
3376 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
3377 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
3378 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
3379 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
3380 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
3381 prepare_for_testing.
3382 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
3383 prepare_for_testing.
3384 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
3385 prepare_for_testing.
3386 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
3387 prepare_for_testing.
3388 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
3389 prepare_for_testing
3390 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
3391 * gdb.reverse/machinestate.exp: Use standard_testfile.
3392 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
3393 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
3394 build_executable.
3395 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
3396 build_executable.
3397 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
3398 standard_output_file.
3399 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
3400 standard_output_file.
3401 * gdb.reverse/step-precsave.exp: Use standard_testfile.
3402 * gdb.reverse/step-reverse.exp: Use standard_testfile.
3403 * gdb.reverse/until-precsave.exp: Use standard_testfile.
3404 * gdb.reverse/until-reverse.exp: Use standard_testfile.
3405 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
3406 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
3407
481fc100
TT
34082012-06-26 Tom Tromey <tromey@redhat.com>
3409
3410 * gdb.stabs/weird.exp: Remove directory-checking code. Use
3411 standard_output_file.
3412 * gdb.stabs/exclfwd.exp: Use standard_testfile,
3413 prepare_for_testing. Remove directory-checking code.
3414
7bb18ae2
TT
34152012-06-25 Tom Tromey <tromey@redhat.com>
3416
3417 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
3418 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
3419 build_executable, not prepare_for_testing.
3420 * gdb.multi/base.exp: Use standard_output_file. Use
3421 build_executable, not prepare_for_testing.
3422
cf09b3e4
TT
34232012-06-25 Tom Tromey <tromey@redhat.com>
3424
3425 * gdb.fortran/subarray.exp: Use standard_testfile,
3426 prepare_for_testing.
3427 * gdb.fortran/multi-dim.exp: Use standard_testfile.
3428 * gdb.fortran/module.exp: Use standard_testfile.
3429 * gdb.fortran/logical.exp: Use standard_testfile.
3430 * gdb.fortran/library-module.exp: Use standard_testfile,
3431 standard_output_file.
3432 * gdb.fortran/derived-type.exp: Use standard_testfile,
3433 prepare_for_testing.
3434 * gdb.fortran/complex.exp: Use standard_testfile,
3435 prepare_for_testing.
3436 * gdb.fortran/charset.exp: Use standard_testfile.
3437 * gdb.fortran/array-element.exp: Use standard_testfile,
3438 prepare_for_testing.
3439
18b5ff1b
KS
34402012-06-25 Keith Seitz <keiths@redhat.com>
3441
3442 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
3443 Change rbreak-related tests to KFAIL and add bugzilla numbers.
3444
17b77626
TT
34452012-06-25 Tom Tromey <tromey@redhat.com>
3446
3447 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
3448 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
3449 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
3450 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
3451
f91e3dc1
TT
34522012-06-25 Tom Tromey <tromey@redhat.com>
3453
3454 * gdb.linespec/ls-errs.exp: Use standard_testfile.
3455 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
3456 * gdb.linespec/linespec.exp: Use standard_testfile.
3457
a884434d
TT
34582012-06-25 Tom Tromey <tromey@redhat.com>
3459
3460 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
3461 prepare_for_testing.
3462
efc9d70a
TT
34632012-06-25 Tom Tromey <tromey@redhat.com>
3464
3465 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
3466 prepare_for_testing.
3467 * gdb.opt/inline-break.exp: Use standard_testfile,
3468 prepare_for_testing.
3469 * gdb.opt/inline-bt.exp: Use standard_testfile,
3470 prepare_for_testing.
3471 * gdb.opt/inline-cmds.exp: Use standard_testfile,
3472 prepare_for_testing.
3473 * gdb.opt/inline-locals.exp: Use standard_testfile,
3474 prepare_for_testing.
3475
e2fc92c6
TT
34762012-06-25 Tom Tromey <tromey@redhat.com>
3477
3478 * gdb.asm/asm-source.exp: Use standard_output_file,
3479 standard_testfile. Construct .o files in proper subdir.
3480
b0963d73
TT
34812012-06-25 Tom Tromey <tromey@redhat.com>
3482
3483 * gdb.server/ext-attach.exp: Use standard_testfile,
3484 prepare_for_testing.
3485 * gdb.server/ext-run.exp: Use standard_testfile,
3486 build_executable.
3487 * gdb.server/file-transfer.exp: Use standard_testfile,
3488 prepare_for_testing.
3489 * gdb.server/server-exec-info.exp: Use standard_testfile.
3490 * gdb.server/server-mon.exp: Use standard_testfile,
3491 prepare_for_testing.
3492 * gdb.server/server-run.exp: Use standard_testfile,
3493 build_executable.
3494 * gdb.server/solib-list.exp: Use standard_testfile,
3495 standard_output_file.
3496
8a3e1f8d
TT
34972012-06-25 Tom Tromey <tromey@redhat.com>
3498
3499 * lib/gdb.exp (standard_output_file): Use "file join".
3500 * gdb.go/chan.exp: Use standard_testfile.
3501 * gdb.go/handcall.exp: Use standard_testfile.
3502 * gdb.go/hello.exp: Use standard_testfile.
3503 * gdb.integers/chan.exp: Use standard_testfile.
3504 * gdb.go/methods.exp: Use standard_testfile.
3505 * gdb.go/package.exp: Use standard_testfile.
3506 * gdb.go/strings.exp: Use standard_testfile.
3507 * gdb.go/types.exp: Use standard_testfile.
3508 * gdb.go/unsafe.exp: Use standard_testfile.
3509
944a9061
MGD
35102012-06-25 Greta Yorsh <greta.yorsh@arm.com>
3511
3512 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
3513
1c06bd58
JK
35142012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3515
3516 Fix regression by the previous commit.
3517 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
3518
b4a58790
TT
35192012-06-22 Tom Tromey <tromey@redhat.com>
3520
3521 * gdb.python/lib-types.exp: Use standard_testfile,
3522 prepare_for_testing.
3523 * gdb.python/py-block.exp: Use standard_testfile.
3524 * gdb.python/py-breakpoint.exp: Use standard_testfile.
3525 * gdb.python/py-events.exp: Use standard_testfile,
3526 standard_output_file.
3527 * gdb.python/py-evsignal.exp: Use standard_testfile.
3528 * gdb.python/py-evethreads.exp: Use standard_testfile.
3529 * gdb.python/py-explore-cc.exp: Use standard_testfile.
3530 * gdb.python/py-explore.exp: Use standard_testfile.
3531 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3532 standard_output_file.
3533 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3534 prepare_for_testing.
3535 * gdb.python/py-frame-inline.exp: Use standard_testfile.
3536 * gdb.python/py-frame.exp: Use standard_testfile.
3537 * gdb.python/py-inferior.exp: Use standard_testfile.
3538 * gdb.python/py-infthread.exp: Use standard_testfile.
3539 * gdb.python/py-mi.exp: Use standard_testfile.
3540 * gdb.python/py-objfile-script.exp: Use standard_testfile,
3541 build_executable.
3542 * gdb.python/py-objfile.exp: Use standard_testfile.
3543 * gdb.python/py-pp-maint.exp: Use standard_testfile,
3544 prepare_for_testing.
3545 * gdb.python/py-prettyprint.exp: Use standard_testfile.
3546 * gdb.python/py-progspace.exp: Use standard_testfile,
3547 build_executable.
3548 * gdb.python/py-prompt.exp: Use standard_testfile,
3549 build_executable.
3550 * gdb.python/py-section-script.exp: Use standard_testfile,
3551 build_executable.
3552 * gdb.python/py-shared.exp: Use standard_testfile,
3553 standard_output_file, clean_restart.
3554 * gdb.python/py-symbol.exp: Use standard_output_file,
3555 prepare_for_testing.
3556 * gdb.python/py-symtab.exp: Use standard_output_file,
3557 prepare_for_testing
3558 * gdb.python/py-template.exp: Use standard_testfile.
3559 * gdb.python/py-type.exp: Use standard_testfile.
3560 * gdb.python/py-value-cc.exp: Use standard_testfile.
3561 * gdb.python/py-value.exp: Use standard_testfile.
3562 * gdb.python/python.exp: Use standard_testfile, build_executable.
3563
2c44deac
TT
35642012-06-22 Tom Tromey <tromey@redhat.com>
3565
3566 * gdb.objc/basicclass.exp: Use standard_testfile.
3567 (do_objc_tests): Don't declare objdir.
3568 * gdb.objc/nondebug.exp: Use standard_testfile.
3569 (do_objc_tests): Don't declare objdir.
3570 * gdb.objc/objcdecode.exp: Use standard_testfile.
3571 (do_objc_tests): Don't declare objdir.
3572
c24ccbce
TT
35732012-06-22 Tom Tromey <tromey@redhat.com>
3574
3575 * gdb.java/jmain.exp: Use standard_testfile.
3576 * gdb.java/jmisc.exp: Use standard_testfile.
3577 * gdb.java/jnpe.exp: Use standard_testfile.
3578 * gdb.java/jprint.exp: Use standard_testfile.
3579
0a6d0306
TT
35802012-06-22 Tom Tromey <tromey@redhat.com>
3581
3582 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3583 (standard_output_file, standard_testfile): New procs.
3584 (build_executable, clean_restart): Use standard_output_file.
3585
6ea815ef
YQ
35862012-06-22 Yao Qi <yao@codesourcery.com>
3587
3588 * boards/native-gdbserver.exp: New proc ${board}_exec.
3589 * boards/native-stdio-gdbserver.exp: Likewise.
3590
4c93b1db
TT
35912012-06-21 Tom Tromey <tromey@redhat.com>
3592
3593 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3594 (build_executable): Update.
3595 (get_compiler_info): Remove 'binfile' argument.
3596 * gdb.ada/arrayidx.exp: Update.
3597 * gdb.ada/null_array.exp: Update.
3598 * gdb.arch/altivec-abi.exp: Update.
3599 * gdb.arch/altivec-regs.exp: Update.
3600 * gdb.arch/amd64-byte.exp: Update.
3601 * gdb.arch/amd64-dword.exp: Update.
3602 * gdb.arch/amd64-word.exp: Update.
3603 * gdb.arch/i386-avx.exp: Update.
3604 * gdb.arch/i386-byte.exp: Update.
3605 * gdb.arch/i386-sse.exp: Update.
3606 * gdb.arch/i386-word.exp: Update.
3607 * gdb.arch/ppc-dfp.exp: Update.
3608 * gdb.arch/ppc-fp.exp: Update.
3609 * gdb.arch/vsx-regs.exp: Update.
3610 * gdb.base/all-bin.exp: Update.
3611 * gdb.base/annota1.exp: Update.
3612 * gdb.base/async.exp: Update.
3613 * gdb.base/attach.exp: Update.
3614 * gdb.base/break-interp.exp: Update.
3615 * gdb.base/call-ar-st.exp: Update.
3616 * gdb.base/call-rt-st.exp: Update.
3617 * gdb.base/call-sc.exp: Update.
3618 * gdb.base/callfuncs.exp: Update.
3619 * gdb.base/catch-load.exp: Update.
3620 * gdb.base/completion.exp: Update.
3621 * gdb.base/complex.exp: Update.
3622 * gdb.base/condbreak.exp: Update.
3623 * gdb.base/consecutive.exp: Update.
3624 * gdb.base/constvars.exp: Update.
3625 * gdb.base/corefile.exp: Update.
3626 * gdb.base/eval-skip.exp: Update.
3627 * gdb.base/expand-psymtabs.exp: Update.
3628 * gdb.base/exprs.exp: Update.
3629 * gdb.base/fileio.exp: Update.
3630 * gdb.base/fixsection.exp: Update.
3631 * gdb.base/funcargs.exp: Update.
3632 * gdb.base/gdb11530.exp: Update.
3633 * gdb.base/gdb1555.exp: Update.
3634 * gdb.base/gnu-ifunc.exp: Update.
3635 * gdb.base/gnu_vector.exp: Update.
3636 * gdb.base/info-macros.exp: Update.
3637 * gdb.base/jit-simple.exp: Update.
3638 * gdb.base/jit-so.exp: Update.
3639 * gdb.base/jit.exp: Update.
3640 * gdb.base/langs.exp: Update.
3641 * gdb.base/list.exp: Update.
3642 * gdb.base/logical.exp: Update.
3643 * gdb.base/long_long.exp: Update.
3644 * gdb.base/longjmp.exp: Update.
3645 * gdb.base/macscp.exp: Update.
3646 * gdb.base/mips_pro.exp: Update.
3647 * gdb.base/miscexprs.exp: Update.
3648 * gdb.base/morestack.exp: Update.
3649 * gdb.base/nodebug.exp: Update.
3650 * gdb.base/opaque.exp: Update.
3651 * gdb.base/pc-fp.exp: Update.
3652 * gdb.base/pending.exp: Update.
3653 * gdb.base/permissions.exp: Update.
3654 * gdb.base/pointers.exp: Update.
3655 * gdb.base/prelink.exp: Update.
3656 * gdb.base/printcmds.exp: Update.
3657 * gdb.base/psymtab.exp: Update.
3658 * gdb.base/ptype.exp: Update.
3659 * gdb.base/relational.exp: Update.
3660 * gdb.base/scope.exp: Update.
3661 * gdb.base/setvar.exp: Update.
3662 * gdb.base/shlib-call.exp: Update.
3663 * gdb.base/shreloc.exp: Update.
3664 * gdb.base/signals.exp: Update.
3665 * gdb.base/sizeof.exp: Update.
3666 * gdb.base/so-impl-ld.exp: Update.
3667 * gdb.base/so-indr-cl.exp: Update.
3668 * gdb.base/solib-disc.exp: Update.
3669 * gdb.base/solib-display.exp: Update.
3670 * gdb.base/solib-nodir.exp: Update.
3671 * gdb.base/solib-overlap.exp: Update.
3672 * gdb.base/solib-symbol.exp: Update.
3673 * gdb.base/solib-weak.exp: Update.
3674 * gdb.base/solib.exp: Update.
3675 * gdb.base/store.exp: Update.
3676 * gdb.base/structs.exp: Update.
3677 * gdb.base/structs2.exp: Update.
3678 * gdb.base/type-opaque.exp: Update.
3679 * gdb.base/unload.exp: Update.
3680 * gdb.base/varargs.exp: Update.
3681 * gdb.base/volatile.exp: Update.
3682 * gdb.base/watch_thread_num.exp: Update.
3683 * gdb.base/watchpoint-solib.exp: Update.
3684 * gdb.base/watchpoint.exp: Update.
3685 * gdb.base/watchpoints.exp: Update.
3686 * gdb.base/whatis.exp: Update.
3687 * gdb.cell/arch.exp: Update.
3688 * gdb.cell/break.exp: Update.
3689 * gdb.cell/bt.exp: Update.
3690 * gdb.cell/core.exp: Update.
3691 * gdb.cell/data.exp: Update.
3692 * gdb.cell/ea-cache.exp: Update.
3693 * gdb.cell/f-regs.exp: Update.
3694 * gdb.cell/fork.exp: Update.
3695 * gdb.cell/gcore.exp: Update.
3696 * gdb.cell/mem-access.exp: Update.
3697 * gdb.cell/ptype.exp: Update.
3698 * gdb.cell/registers.exp: Update.
3699 * gdb.cell/sizeof.exp: Update.
3700 * gdb.cell/solib-symbol.exp: Update.
3701 * gdb.cell/solib.exp: Update.
3702 * gdb.cp/ambiguous.exp: Update.
3703 * gdb.cp/breakpoint.exp: Update.
3704 * gdb.cp/bs15503.exp: Update.
3705 * gdb.cp/casts.exp: Update.
3706 * gdb.cp/class2.exp: Update.
3707 * gdb.cp/cpexprs.exp: Update.
3708 * gdb.cp/cplusfuncs.exp: Update.
3709 * gdb.cp/ctti.exp: Update.
3710 * gdb.cp/dispcxx.exp: Update.
3711 * gdb.cp/gdb1355.exp: Update.
3712 * gdb.cp/gdb2384.exp: Update.
3713 * gdb.cp/gdb2495.exp: Update.
3714 * gdb.cp/infcall-dlopen.exp: Update.
3715 * gdb.cp/local.exp: Update.
3716 * gdb.cp/m-data.exp: Update.
3717 * gdb.cp/m-static.exp: Update.
3718 * gdb.cp/mb-ctor.exp: Update.
3719 * gdb.cp/mb-inline.exp: Update.
3720 * gdb.cp/mb-templates.exp: Update.
3721 * gdb.cp/member-ptr.exp: Update.
3722 * gdb.cp/method.exp: Update.
3723 * gdb.cp/namespace.exp: Update.
3724 * gdb.cp/nextoverthrow.exp: Update.
3725 * gdb.cp/nsdecl.exp: Update.
3726 * gdb.cp/nsrecurs.exp: Update.
3727 * gdb.cp/nsstress.exp: Update.
3728 * gdb.cp/nsusing.exp: Update.
3729 * gdb.cp/pr-1023.exp: Update.
3730 * gdb.cp/pr-1210.exp: Update.
3731 * gdb.cp/pr-574.exp: Update.
3732 * gdb.cp/pr9631.exp: Update.
3733 * gdb.cp/printmethod.exp: Update.
3734 * gdb.cp/psmang.exp: Update.
3735 * gdb.cp/re-set-overloaded.exp: Update.
3736 * gdb.cp/rtti.exp: Update.
3737 * gdb.cp/shadow.exp: Update.
3738 * gdb.cp/templates.exp: Update.
3739 * gdb.cp/try_catch.exp: Update.
3740 * gdb.dwarf2/dw2-ranges.exp: Update.
3741 * gdb.dwarf2/pr10770.exp: Update.
3742 * gdb.fortran/library-module.exp: Update.
3743 * gdb.hp/gdb.aCC/optimize.exp: Update.
3744 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3745 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3746 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3747 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3748 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3749 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3750 * gdb.hp/gdb.compat/xdb1.exp: Update.
3751 * gdb.hp/gdb.compat/xdb2.exp: Update.
3752 * gdb.hp/gdb.compat/xdb3.exp: Update.
3753 * gdb.hp/gdb.defects/bs14602.exp: Update.
3754 * gdb.hp/gdb.defects/solib-d.exp: Update.
3755 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3756 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3757 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3758 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3759 * gdb.mi/gdb792.exp: Update.
3760 * gdb.mi/mi-pending.exp: Update.
3761 * gdb.mi/mi-solib.exp: Update.
3762 * gdb.mi/mi-var-cp.exp: Update.
3763 * gdb.opt/clobbered-registers-O2.exp: Update.
3764 * gdb.opt/inline-bt.exp: Update.
3765 * gdb.opt/inline-cmds.exp: Update.
3766 * gdb.opt/inline-locals.exp: Update.
3767 * gdb.python/py-events.exp: Update.
3768 * gdb.python/py-finish-breakpoint.exp: Update.
3769 * gdb.python/py-type.exp: Update.
3770 * gdb.reverse/solib-precsave.exp: Update.
3771 * gdb.reverse/solib-reverse.exp: Update.
3772 * gdb.server/solib-list.exp: Update.
3773 * gdb.stabs/weird.exp: Update.
3774 * gdb.threads/attach-into-signal.exp: Update.
3775 * gdb.threads/attach-stopped.exp: Update.
3776 * gdb.threads/tls-shared.exp: Update.
3777 * gdb.trace/change-loc.exp: Update.
3778 * gdb.trace/strace.exp: Update.
3779
95c391b6
TT
37802012-06-19 Tom Tromey <tromey@redhat.com>
3781
3782 * gdb.base/whatis.exp: Add tests.
3783
e910f0b6
TT
37842012-06-19 Tom Tromey <tromey@redhat.com>
3785
3786 * gdb.cp/m-static.cc (keepalive): New function.
3787 (gnu_obj_1::method): Use it.
3788
422d65e7
DE
37892012-06-18 Doug Evans <dje@google.com>
3790
3791 * gdb.base/info-fun.exp: New file.
3792 * gdb.base/info-fun.c: New file.
3793 * gdb.base/info-fun-solib.c: New file.
3794
e2e4d78b
JK
37952012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3796
3797 Remove stale dummy frames.
3798 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3799 (maintenance info breakpoints): New tests.
3800 * gdb.base/stale-infcall.c: New file.
3801 * gdb.base/stale-infcall.exp: New file.
3802
1788b2d3
JK
38032012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3804
3805 * gdb.arch/amd64-entry-value-param.S: New file.
3806 * gdb.arch/amd64-entry-value-param.c: New file.
3807 * gdb.arch/amd64-entry-value-param.exp: New file.
3808
663b969e
TT
38092012-06-15 Tom Tromey <tromey@redhat.com>
3810
3811 * gdb.cp/namespace.exp: Add "show lang" test.
3812
8e09ad05
IS
38132012-06-15 Iain Sandoe <iain@codesourcery.com>
3814
3815 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3816 case. (top level): Use gdb_file_cmd instead of gdb_load.
3817
f85e18ee
JK
38182012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 PR tdep/14222
3821 * gdb.arch/i386-sse-stack-align.S: New file.
3822 * gdb.arch/i386-sse-stack-align.c: New file.
3823 * gdb.arch/i386-sse-stack-align.exp: New file.
3824
f3b5e280
KS
38252012-06-13 Keith Seitz <keiths@redhat.com>
3826
3827 PR breakpoints/13798 and mi/11541
3828 * gdb.linespec/ls-errs.exp: Add a few more tests for
3829 filenames with spaces and colons.
3830
50af5481
JK
38312012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3832
3833 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3834 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3835 (test_function): Call CV_f.
3836 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3837 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3838 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3839 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3840 (p CV_f(CV::i)): New tests.
3841
d55637df
TT
38422012-06-13 Tom Tromey <tromey@redhat.com>
3843
3844 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3845
cc80f267
JK
38462012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3847
3848 Fix regression by the "ambiguous linespec" series.
3849 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3850 tests.
3851
bb2af9cc
JK
38522012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3853
3854 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3855 missing.
3856
e81a37f7
TT
38572012-06-11 Tom Tromey <tromey@redhat.com>
3858
3859 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3860 location...
3861 (main): ...here.
3862
8efd7788
YQ
38632012-06-07 Yao Qi <yao@codesourcery.com>
3864
3865 * gdb.trace/strace.exp: Shorten some too-long lines.
3866
359f5fe6
PA
38672012-06-06 Pedro Alves <palves@redhat.com>
3868
3869 * gdb.threads/clone-new-thread-event.c: New file.
3870 * gdb.threads/clone-new-thread-event.exp: New file.
3871
7b2fe205
YQ
38722012-06-06 Yao Qi <yao@codesourcery.com>
3873
3874 * gdb.base/dprintf.c (main): Add extra parameter when calling
3875 printf and fprintf.
3876 (bar): New function. It is a dead function, but to ensure
3877 'malloc' is linked explicitly.
3878
3eca55e8
YQ
38792012-06-06 Yao Qi <yao@codesourcery.com>
3880
3881 * gdb.base/info-proc.exp: Return if target doesn't support
3882 'info proc'.
3883
91cc9324
JK
38842012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3885
3886 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3887 (run program with breakpoint commands): XFAIl if it is not.
3888
c56e7c43
JB
38892012-06-05 Joel Brobecker <brobecker@adacore.com>
3890
3891 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3892 and add comment.
3893 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3894 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3895 "STOP" marker. Adjust testing strategy to make it work on
3896 all targets.
3897
3898 * gdb.base/print-file-var-main.c (main): Rewrite using local
3899 variables and adjust get_version_2's return value check.
3900 Add small comment.
3901 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3902 marker. Adjust testing strategy to make it work on all targets.
3903
ccab2054
JB
39042012-06-05 Joel Brobecker <brobecker@adacore.com>
3905
3906 * gdb.ada/bad-task-bp-keyword: New testcase.
3907
d0d86158
JK
39082012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3909
3910 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3911 Simplify it to ...
3912 (symbol-file ${testfile1}): ... here.
3913 (test eliminated var my_global_symbol)
3914 (test eliminated var my_static_symbol)
3915 (test eliminated var my_global_func, get address of main): Wrap them to
3916 'single psymtabs' and 'single symtabs'
3917 (get address of my_global_symbol, get address of my_static_symbol)
3918 (get address of my_global_func, get address of main): Wrap them to
3919 'order1' and 'order2'.
3920
952cf74c
JK
3921 * gdb.base/code_elim.exp
3922 (add-symbol-file ${testfile1} 0x100000)
3923 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3924 'order2'.
3925 (order1: add-symbol-file ${testfile1} 0x100000)
3926 (order1: add-symbol-file ${testfile2} 0x200000)
3927 (order2: add-symbol-file ${testfile2} 0x200000)
3928 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3929 .bss as appropriate.
3930
0c5bf5a9
JK
39312012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3932
3933 * gdb.server/solib-list-lib.c: New file.
3934 * gdb.server/solib-list-main.c: New file.
3935 * gdb.server/solib-list.exp: New file.
3936
4196f325
MR
39372012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3938
3939 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3940 for 'set print symbol' change.
3941
bfb05775
JK
39422012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3943
3944 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3945 .debug_abbrev_seg3.
3946
685b1105
JK
39472012-05-24 John Steele Scott <toojays@toojays.net>
3948
3949 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3950 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3951 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3952
f3e0e960
SS
39532012-05-23 Stan Shebs <stan@codesourcery.com>
3954
3955 * gdb.mi/mi-info-os.exp: New file.
3956
11eb1b4d
KS
39572012-05-23 Keith Seitz <keiths@redhat.com>
3958
3959 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
3960 return -1 to suppress the rest of the tests.
3961 (compile_stap_bin): Return boolean success value.
3962
b1af9e97
TT
39632012-05-21 Tom Tromey <tromey@redhat.com>
3964
3965 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
3966 Remove kfails.
3967 (test_print_mi_member_types): Likewise.
3968
248537e3
TT
39692012-05-21 Tom Tromey <tromey@redhat.com>
3970
3971 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
3972 print symbol' change.
3973
d791e155
TJB
39742012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
3975
3976 * gdb.python/py-prompt.exp: Quit if the target is remote.
3977
e77afa2e
JK
39782012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3979
3980 Fix ERROR: internal buffer is full.
3981 * gdb.base/info-os.exp (expect_multiline): New function.
3982 (get process list, get process groups, get threads)
3983 (get file descriptors, get internet-domain sockets)
3984 (get shared-memory regions, get semaphores, get message queues): Use
3985 it for these tests.
3986
9cb709b6
TT
39872012-05-18 Tom Tromey <tromey@redhat.com>
3988
3989 * gdb.mi/mi-var-cmd.exp: Update.
3990 * gdb.objc/basicclass.exp (do_objc_tests): Update.
3991 * gdb.cp/virtbase.exp: Update.
3992 * gdb.cp/classes.exp (test_static_members): Update.
3993 * gdb.cp/casts.exp: Update.
3994 * gdb.base/pointers.exp: Update.
3995 * gdb.base/funcargs.exp (pointer_args): Update.
3996 (structs_by_reference): Update.
3997 * gdb.base/find.exp: Update.
3998 * gdb.base/call-strs.exp: Send "set print symbol off".
3999 * gdb.base/call-ar-st.exp: Update.
4000 * gdb.ada/fun_addr.exp: Update.
4001 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4002 Call it.
4003 (test_print_repeats_10, test_print_strings)
4004 (test_print_char_arrays): Update.
4005
b012acdd
TT
40062012-05-18 Tom Tromey <tromey@redhat.com>
4007
4008 * gdb.base/charset.exp (string_display): Update.
4009
1d51a733
TT
40102012-05-18 Tom Tromey <tromey@redhat.com>
4011
4012 * gdb.mi/mi2-var-display.exp: Update.
4013 * gdb.mi/mi-var-display.exp: Update.
4014 * gdb.mi/mi-var-child.exp: Update.
4015 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4016 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4017
957df313
DE
40182012-05-17 Doug Evans <dje@google.com>
4019
682c7f7b
DE
4020 * info-macros.exp: Pass "debug" to prepare_for_testing.
4021
957df313
DE
4022 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4023 * gdb.ada/Makefile.in (clean): Ditto.
4024 * gdb.arch/Makefile.in (clean): Ditto.
4025 * gdb.asm/Makefile.in (clean): Ditto.
4026 * gdb.base/Makefile.in (clean): Ditto.
4027 * gdb.cell/Makefile.in (clean): Ditto.
4028 * gdb.cp/Makefile.in (clean): Ditto.
4029 * gdb.disasm/Makefile.in (clean): Ditto.
4030 * gdb.dwarf2/Makefile.in (clean): Ditto.
4031 * gdb.fortran/Makefile.in (clean): Ditto.
4032 * gdb.go/Makefile.in (clean): Ditto.
4033 * gdb.hp/Makefile.in (clean): Ditto.
4034 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4035 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4036 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4037 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4038 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4039 * gdb.java/Makefile.in (clean): Ditto.
4040 * gdb.linespec/Makefile.in (clean): Ditto.
4041 * gdb.mi/Makefile.in (clean): Ditto.
4042 * gdb.modula2/Makefile.in (clean): Ditto.
4043 * gdb.multi/Makefile.in (clean): Ditto.
4044 * gdb.objc/Makefile.in (clean): Ditto.
4045 * gdb.opencl/Makefile.in (clean): Ditto.
4046 * gdb.opt/Makefile.in (clean): Ditto.
4047 * gdb.pascal/Makefile.in (clean): Ditto.
4048 * gdb.python/Makefile.in (clean): Ditto.
4049 * gdb.reverse/Makefile.in (clean): Ditto.
4050 * gdb.server/Makefile.in (clean): Ditto.
4051 * gdb.stabs/Makefile.in (clean): Ditto.
4052 * gdb.threads/Makefile.in (clean): Ditto.
4053 * gdb.trace/Makefile.in (clean): Ditto.
4054 * gdb.xml/Makefile.in (clean): Ditto.
4055
abc9d0dc
TT
40562012-05-16 Tom Tromey <tromey@redhat.com>
4057
4058 * gdb.base/macscp1.c (macscp_expr): Add comment.
4059 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4060
6a3a010b
MR
40612012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4062
4063 * gdb.base/return-nodebug.exp: Also test float and double types.
4064
01429c8e
JK
40652012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4066
4067 PR testsuite/12649
4068 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4069
54115cd4
JK
4070 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4071
0c5f383f
SDJ
40722012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4073
4074 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4075 `rerun_to_main'.
4076 (stap_test_no_debuginfo): Likewise.
4077
e7e0cddf
SS
40782012-05-14 Stan Shebs <stan@codesourcery.com>
4079
4080 * gdb.base/dprintf.c: New file.
4081 * gdb.base/dprintf.exp: New file.
4082
c772f8e7
HZ
40832012-05-14 Hui Zhu <hui_zhu@mentor.com>
4084
4085 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4086 * gdb.trace/disconnected-tracing.c: New file.
4087 * gdb.trace/disconnected-tracing.exp: New file.
4088
7efc75aa
SCR
40892012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4090
4091 * gdb.python/python.c: Add a new breakpoint comment.
4092 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4093
85d4a676
SS
40942011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4095
4096 * gdb.base/info-os.exp: New file.
4097 * gdb.base/info-os.c: New file.
4098
64ea88dc
JB
40992012-05-10 Joel Brobecker <brobecker@adacore.com>
4100
4647ab1b
JB
4101 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4102 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4103 New files.
64ea88dc 4104
afba63f1
JB
41052012-05-10 Joel Brobecker <brobecker@adacore.com>
4106
4107 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4108 gdb.base/ctxobj.exp: New files.
4109
9d198b1e
TT
41102012-05-09 Tom Tromey <tromey@redhat.com>
4111
4112 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4113
9bfee719
MR
41142012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4115
4116 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4117
3a7341d8
MR
41182012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4119
4120 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4121 before using it.
4122
52b3699b
TG
41232012-05-04 Tristan Gingold <gingold@adacore.com>
4124
4125 * gdb.base/set-noassign.exp: New test.
4126
a20ee7a4
SCR
41272012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4128
4129 * gdb.python/py-symbol.exp: Add tests to test the new methods
4130 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4131 * gdb.python/py-symbol.c: Add new struct to help test
4132 gdb.Symtab.static_block().
4133
bf2f0858
DE
41342012-05-03 Doug Evans <dje@google.com>
4135
4136 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4137 commented out.
4138
2d4e0376
YQ
41392012-05-03 Yao Qi <yao@codesourcery.com>
4140
4141 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4142 doesn't support.
4143 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4144 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4145
6d0bb9f3
YQ
41462012-05-03 Yao Qi <yao@codesourcery.com>
4147
4148 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4149
fd820528
DE
41502012-04-30 Doug Evans <dje@google.com>
4151
4152 PR testsuite/13961
4153 * gdb.dwarf2/pr13961.S: New file.
4154 * gdb.dwarf2/pr13961.exp: New file.
4155
b9e219b9
YQ
41562012-04-29 Yao Qi <yao@codesourcery.com>
4157
4158 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4159
3019eac3
DE
41602012-04-28 Doug Evans <dje@google.com>
4161
4162 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4163 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4164 All uses updated.
4165 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4166 "ptype func_cu1" to expand cu2 before cu1.
4167
62e5f89c
SDJ
41682012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4169 Tom Tromey <tromey@redhat.com>
4170
4171 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4172 variables.
4173 * gdb.base/stap-probe.c: New file.
4174 * gdb.base/stap-probe.exp: New file.
4175 * gdb.trace/stap-trace.c: New file.
4176 * gdb.trace/stap-trace.exp: New file.
4177 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4178 libgcc's unwinder.
4179
14132e89
MR
41802012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4181
4182 * gdb.arch/mips16-thunks-inmain.c: New file.
4183 * gdb.arch/mips16-thunks-main.c: New file.
4184 * gdb.arch/mips16-thunks-sin.c: New file.
4185 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4186 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4187 * gdb.arch/mips16-thunks-sinmain.c: New file.
4188 * gdb.arch/mips16-thunks-sinmips16.c: New file.
4189 * gdb.arch/mips16-thunks.exp: New file.
4190
a766d390
DE
41912012-04-25 Doug Evans <dje@google.com>
4192
4193 * configure.ac: Create gdb.go/Makefile.
4194 * configure: Regenerate.
4195 * gdb.base/default.exp: Add "go" to "set language" testing.
4196 * gdb.go/Makefile.in: New file.
4197 * gdb.go/basic-types.exp: New file.
4198 * gdb.go/chan.exp: New file.
4199 * gdb.go/chan.go: New file.
4200 * gdb.go/handcall.exp: New file.
4201 * gdb.go/handcall.go: New file.
4202 * gdb.go/hello.exp: New file.
4203 * gdb.go/hello.go: New file.
4204 * gdb.go/integers.exp: New file.
4205 * gdb.go/integers.go: New file.
4206 * gdb.go/methods.exp: New file.
4207 * gdb.go/methods.go: New file.
4208 * gdb.go/package.exp: New file.
4209 * gdb.go/package1.go: New file.
4210 * gdb.go/package2.go: New file.
4211 * gdb.go/print.exp: New file.
4212 * gdb.go/strings.exp: New file.
4213 * gdb.go/strings.go: New file.
4214 * gdb.go/types.exp: New file.
4215 * gdb.go/types.go: New file.
4216 * gdb.go/unsafe.exp: New file.
4217 * gdb.go/unsafe.go: New file.
4218 * lib/future.exp: Add Go support.
4219 (gdb_find_go, gdb_find_go_linker): New procs.
4220 (gdb_default_target_compile): Add Go support.
4221 * lib/gdb.exp (skip_go_tests): New proc.
4222 * lib/go.exp: New file.
4223
e65f9ffb
TT
42242012-04-25 Tom Tromey <tromey@redhat.com>
4225
4226 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
4227
14e75d8e
JK
42282012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4229 Jan Kratochvil <jan.kratochvil@redhat.com>
4230
4231 PR symtab/7259:
4232 * gdb.base/enumval.c: New test case.
4233 * gdb.base/enumval.exp: New test case.
4234 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
4235 field.bitpos.
4236
f3525b70
PA
42372012-04-17 Pedro Alves <palves@redhat.com>
4238
4239 * Makefile.in (site.exp): Make site.exp source
4240 $srcdir/lib/append_gdb_boards_dir.exp.
4241 * lib/append_gdb_boards_dir.exp: New file.
4242
bccbefd2
JK
42432012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4244
4245 New option "set auto-load safe-path".
4246 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
4247 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
4248
bf88dd68
JK
42492012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4250
4251 auto-load: Implementation.
4252 * gdb.base/help.exp (test set height): Increase the height.
4253 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
4254 to ...
4255 (info auto-load python-scripts): ... here.
4256 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
4257 to ...
4258 (info auto-load python-scripts *): ... here.
4259
c0d4d1c0
YQ
42602012-04-16 Yao Qi <yao@codesourcery.com>
4261
4262 * lib/trace-support.exp (get_in_proc_agent): New.
4263 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
4264 of in process trace agent.
4265 * gdb.trace/ftrace.exp: Likewise.
4266 * gdb.trace/pending.exp: Likewise.
4267 * gdb.trace/trace-break.exp: Likewise.
4268 * gdb.trace/trace-mt.exp
4269 * gdb.trace/tspeed.exp: Likewise.
4270 * gdb.trace/tstatus.exp
4271 * gdb.trace/strace.exp: Likewise.
4272
cbf68a60
TS
42732012-04-16 Thomas Schwinge <thomas@codesourcery.com>
4274
dd6d3b70
TS
4275 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
4276 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
4277
cbf68a60
TS
4278 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
4279
8264ba82
AG
42802012-04-14 Anton Gorenkov <xgsa@yandex.ru>
4281
4282 PR mi/13393
4283 * gdb.mi/mi-var-rtti.cc: New file.
4284 * gdb.mi/mi-var-rtti.exp: New file.
4285 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
4286 function.
4287 (mi_varobj_update_with_type_change): updated to avoid code duplication.
4288
de0919f8 42892012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
4290
4291 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
4292 EXECUTABLES.
4293 * gdb.python/py-explore.c: C program used for testing the new
4294 'explore' command on C constructs.
4295 * gdb.python/py-explore.cc: C++ program used for testing the new
4296 'explore' command on C++ constructs.
4297 * gdb-python/py-explore.exp: Tests for the new 'explore'
4298 command on C constructs.
4299 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
4300 command on C++ constructs.
4301
a82da7dd
MK
43022012-04-07 Mark Kettenis <kettenis@gnu.org>
4303
4304 * gdb.base/funcargs.exp (complex_args): Fix typo.
4305
e127cba8
JK
43062012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4307
4308 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
4309 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
4310
40e084e1
KS
43112012-04-05 Keith Seitz <keiths@redhat.com>
4312
4313 * gdb.base/advance.exp: Update error message for
4314 "advance malformed" test.
4315 * gdb.base/break.exp: Likewise for "breakpoint with
4316 trailing garbage" test.
4317 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
4318 with trailing garbage" test.
4319 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
4320 trailng garbage" test.
4321 * gdb.base/until.exp: Likewise for "malformed until" test.
4322 * gdb.cp/ovldbreak.exp: Create the breakpoint table
4323 for "breakpoint info (after setting on all)".
4324 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
4325 tests.
4326 * gdb.cp/cplabel.cc: New file.
4327 * gdb.cp/cplabel.exp: New test.
4328 * gdb.linespec/ls-errs.c: New file.
4329 * gdb.linespec/ls-errs.exp: New test.
4330
a72c8f6a
JK
43312012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4332
4333 * gdb.trace/unavailable.exp
4334 (collect globals: print object on: print derived_partial)
4335 (collect globals: print object on: print derived_whole)
4336 (collect globals: print object off: print derived_partial)
4337 (collect globals: print object off: print derived_whole): Update
4338 expected output.
4339
f87a3023
KS
43402012-03-30 Keith Seitz <keiths@redhat.com>
4341
4342 * gdb.python: Add test for linespecs with commas.
4343
e2171b3c
KS
43442012-03-28 Keith Seitz <keiths@redhat.com>
4345
4346 * gdb.linespec/ls-dollar.cc: New file.
4347 * gdb.linespec/ls-dollar.exp: New test.
4348
43492012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
4350
4351 * gdb.cp/namespace.exp: Add breakpoint tests for functions
4352 starting with the global namespace.
4353
2f4e0a80
DE
43542012-03-23 Doug Evans <dje@google.com>
4355
4356 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
4357
7b282c5a
SCR
43582012-03-22 Siva Chandra Reddy <sivachandra@google.com>
4359
4360 * gdb.python/py-value.cc: Add test case for testing the
4361 methodology exposing C++ values to Python.
4362 * gdb.python/py-value-cc.exp: Add tests testing the methodology
4363 exposing C++ values to Python.
4364 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
4365
2e98ca53
JK
43662012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4367 Siddhesh Poyarekar <siddhesh@redhat.com>
4368
4369 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
4370 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
4371 (generate native core dump): Make the test unsupported if core cannot
4372 be generated.
4373
8320cc4f
JK
43742012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4375
4376 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
4377 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
4378 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
4379
3a69ffb2
JK
43802012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4381
4382 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
4383
8fabffee
DE
43842012-03-17 Doug Evans <dje@google.com>
4385
4386 * dg-extract-results.sh: Handle KFAILs.
4387
ab260dad
JK
43882012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4389
4390 PR symtab/13777
4391 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
4392
53ba8333
JB
43932012-03-16 Joel Brobecker <brobecker@adacore.com>
4394
4395 * gdb.ada/set_pckd_arr_elt: New testcase.
4396
481860b3
GB
43972012-03-16 Gary Benson <gbenson@redhat.com>
4398
4399 PR breakpoints/10738
4400 * gdb.opt/inline-break.exp: New file.
4401 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
4402 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
4403 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
4404 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
4405 * gdb.base/async-shell.exp: Likewise.
4406 * lib/mi-support.exp (library_loaded_re): Likewise.
4407
410528f0
TT
44082012-03-15 Tom Tromey <tromey@redhat.com>
4409
4410 * gdb.cp/virtfunc2.exp: Update expected output.
4411 * gdb.cp/pr9631.exp: Update expected output.
4412 * gdb.cp/member-ptr.exp: Update expected output.
4413 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
4414 output.
4415 * gdb.cp/casts.exp: Update expected output.
4416
c4aeac85
TT
44172012-03-15 Tom Tromey <tromey@redhat.com>
4418
4419 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
4420 (test_info_vtbl): Likewise.
4421 (do_tests): Call test_info_vtbl.
4422 * gdb.cp/virtfunc.cc (va): New global.
4423
856d06f9
TS
44242012-03-15 Thomas Schwinge <thomas@codesourcery.com>
4425
4426 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
4427 describing DWARF data structures.
4428 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
4429 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
4430 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
4431 * gdb.dwarf2/dw2-entry-value.S: Likewise.
4432 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
4433 * gdb.dwarf2/dw2-param-error.S: Likewise.
4434 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
4435 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
4436 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
4437 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
4438 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
4439 * gdb.dwarf2/pr11465.S: Likewise.
4440
e837f12a
JK
44412012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4442
4443 * gdb.mi/mi2-prompt.exp: New file.
4444
ccbb4f28
JB
44452012-03-13 Joel Brobecker <brobecker@adacore.com>
4446
4447 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
4448
32039130
JB
44492012-03-13 Joel Brobecker <brobecker@adacore.com>
4450
4451 * gdb.ada/bp_range_type: New testcase.
4452
16899756
DE
44532012-03-13 Doug Evans <dje@google.com>
4454
4455 * gdb.base/default.exp: Delete tests for symbol-reloading.
4456 * gdb.base/help.exp: Ditto.
4457 * gdb.base/setshow.exp: Ditto.
4458 * gdb.base/gdb_history: Delete references to symbol-reloading.
4459
87b0bb13
JK
44602012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4461
4462 * gdb.base/attach-twice.c: New files.
4463 * gdb.base/attach-twice.exp: New files.
4464
0d7941a9
KS
44652012-03-08 Keith Seitz <keiths@redhat.com>
4466
4467 * lib/gdb.exp (gdb_get_line_number): Throw an
4468 error instead of returning -1.
4469 * gdb.base/break.exp: Remove unused variable
4470 bp_location5.
4471 * gdb.base/hbreak2.exp: Likewise.
4472 * gdb.base/sepdebug.exp: Likewise.
4473
f4647387
YQ
44742012-03-08 Yao Qi <yao@codesourcery.com>
4475 Pedro Alves <palves@redhat.com>
4476
4477 Fix PR server/13392.
4478 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
4479 (tracepoint_change_loc_2): Remove kfail. Return if failed to
4480 download tracepoints.
4481 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
4482 (pending_tracepoint_resolved_during_trace): Likewise.
4483 (pending_tracepoint_installed_during_trace): Likewise.
4484 (pending_tracepoint_with_action_resolved): Likewise.
4485
83c532cb
KS
44862012-03-08 Keith Seitz <keiths@redhat.com>
4487
4488 * gdb.ada/array_bounds.exp: Get breakpoint for line
4489 with "START", not "STOP".
4490 * gdb.python/py-infthread.exp: Do not continue to
4491 line marked "Break here.", which is undefined.
4492
d6b6bbb7
LM
44932012-03-08 Luis Machado <lgustavo@codesourcery.com>
4494
4495 Revert:
4496
4497 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4498
4499 Implement testsuite workaround for PR breakpoints/13781.
4500 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4501 (set breakpoint condition-evaluation host): New conditional command.
4502
7fe25d9b
JK
45032012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4504
4505 Fix CU relative vs. absolute DIE offsets.
4506 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
4507 one.
4508
51898c15
JK
45092012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4510
4511 Fix false FAIL on distros with relro linkage as default.
4512 * gdb.reverse/solib-precsave.exp: Try to compile the test using
4513 -Wl,-z,norelro first.
4514
8131799e
JB
45152012-03-06 Joel Brobecker <brobecker@adacore.com>
4516
4517 * gdb.ada/bp_on_var: New testcase.
4518
ba241969
JB
45192012-03-06 Joel Brobecker <brobecker@adacore.com>
4520
4521 * gdb.ada/bp_enum_homonym: New testcase.
4522
abe49676
YQ
45232012-03-06 Yao Qi <yao@codesourcery.com>
4524
4525 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
4526 x86_64-*-* and i?86-*-*.
4527 Set up KFAIL for gdb/13808.
4528
d8df103b
TT
45292012-03-05 Tom Tromey <tromey@redhat.com>
4530
4531 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4532 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4533
b7b189f3
TT
45342012-03-05 Tom Tromey <tromey@redhat.com>
4535
4536 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4537
69dc1c4d
YQ
45382012-03-04 Yao Qi <yao@codesourcery.com>
4539
4540 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4541 messages for KFAIL.
4542
3f20c47f
JK
45432012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
4546 (print one_two_three, indexes off, print few_reps, indexes off)
4547 (print many_reps, indexes off, print empty, indexes off)
4548 (print one_two_three, print few_reps, print many_reps, print empty):
4549 Call setup_xfail if $gcc_old.
4550
abf1152a
JK
45512012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4552
4553 Implement testsuite workaround for PR breakpoints/13781.
4554 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4555 (set breakpoint condition-evaluation host): New conditional command.
4556
a06715f8
JK
45572012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4558
4559 Code cleanup.
4560 * gdb.cp/mb-templates.exp: New variables executable. Use it for
4561 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
4562 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
4563 number 1 by $bpnum. Four times.
4564
5808517f
YQ
45652012-03-03 Yao Qi <yao@codesourcery.com>
4566
4567 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4568
dfe2ac14
JK
45692012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4570
4571 Setup KFAIL for PR server/13796.
4572 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4573
8bbc467a
JB
45742012-03-02 Joel Brobecker <brobecker@adacore.com>
4575
4576 * gdb.ada/operator_bp: New testcase.
4577
c0eac87f
JB
45782012-03-02 Joel Brobecker <brobecker@adacore.com>
4579
4580 * gdb.ada/info_locals_renaming: New testcase.
4581
4f42c881
TT
45822012-03-02 Tom Tromey <tromey@redhat.com>
4583
4584 * gdb.base/nextoverexit.c: New file.
4585 * gdb.base/nextoverexit.exp: New file.
4586
7380c0c9
EBM
45872012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4588
4589 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4590 parameter.
4591
1faeff08
MR
45922012-03-01 Maciej W. Rozycki <macro@mips.com>
4593
4594 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4595 core registers.
4596
320b6f49 45972012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
4598 Maciej W. Rozycki <macro@codesourcery.com>
4599 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
4600
4601 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4602
ad5f7d6e
PA
46032012-03-01 Pedro Alves <palves@redhat.com>
4604
4605 PR gdb/13767
4606
4607 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4608 (gdb_collect_globals_test): Call it.
4609
d3dc44a6
KS
46102012-03-01 Keith Seitz <keiths@redhat.com>
4611
4612 * gdb.cp/method2.exp: Output of overload menu is now
4613 alphabetized. Update tests for "break A::method".
4614 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4615 of hard-coding them.
4616 Overload menu is alphabetized: rewrite to accommodate.
4617 Unset variables LINE and TYPES which are used in other tests.
4618 Compute the output of "info break".
4619 Update the breakpoint table after all breakpoints are deleted.
4620 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4621 compute ACTUALS and the method body based on parameters.
4622 Update expected output accordingly.
4623 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4624 unique comments to allow the use of gdb_get_line_number.
4625
46262012-03-01 Keith Seitz <keiths@redhat.com>
4627
4628 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4629 some Tcl syntax.
4630 * gdb.cp/ovldbreak.exp: Likewise.
4631
7949c2a0
KS
46322012-03-01 Keith Seitz <keiths@redhat.com>
4633
4634 * gdb.base/help.exp (help show user): Update expected result
4635 for new doc string changes (add "non-python").
4636
7d74f244
DE
46372012-03-01 Scott J. Goldman <scottjg@vmware.com>
4638
4639 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4640 be put in the user-defined category and that the commands appear in
4641 "help user-defined".
4642
1b611343
JB
46432012-02-29 Joel Brobecker <brobecker@adacore.com>
4644
4645 * gdb.ada/tagged_not_init: New testcase.
4646
99b1c762
JB
46472012-02-29 Joel Brobecker <brobecker@adacore.com>
4648
4649 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4650 * gdb.ada/enum_idx_packed: New testcase.
4651
2d4a02ee
JB
46522012-02-29 Joel Brobecker <brobecker@adacore.com>
4653
4654 * gdb.ada/aliased_array: New testcase.
4655
2e6fda7d
JB
46562012-02-29 Joel Brobecker <brobecker@adacore.com>
4657
4658 * gdb.ada/whatis_array_val: New testcase.
4659
9a7f938f
JK
46602012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4661
4662 Fix disp-step-syscall.exp: fork: single step over fork.
4663 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4664 whitespaces.
4665 (single step over $syscall): Remove its check.
4666 (single step over $syscall final pc): New check.
4667
8703a944
JK
46682012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4669
4670 Support processors without SSSE3.
4671 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4672 pabsd into ...
4673 (ssse3_test): ... a new function.
4674 (main): Call ssse3_test.
4675 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4676 Update expected values everywhere.
4677 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4678 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4679 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4680 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4681 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4682 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4683 Move these tests lower.
4684 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4685 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4686 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4687 New tests.
4688
c03e6ccc
YQ
46892012-02-29 Yao Qi <yao@codesourcery.com>
4690 Pedro Alves <palves@redhat.com>
4691
4692 * gdb.trace/trace-mt.c: New.
4693 * gdb.trace/trace-mt.exp: New.
4694
7964b62a
TS
46952012-02-28 Thomas Schwinge <thomas@codesourcery.com>
4696
2c8910ba
TS
4697 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4698 numbers instead of hardcoding them.
4699 * gdb.base/annota1.c: Provide suitable markers.
4700 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4701 numbers instead of hardcoding them.
4702 * gdb.base/annota3.c: Provide suitable markers.
4703
4704 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4705 * gdb.base/annota3.c: Likewise.
4706 * gdb.base/sigall.c: Likewise.
4707 * gdb.base/signals.c: Likewise.
4708 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 4709
5a41c0b7
MR
47102012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
4711
4712 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4713 failure return path.
4714
ebbbe5c5
LM
47152012-02-27 Luis Machado <lgustavo@codesourcery.com>
4716
4717 * gdb.base/save-bp.exp: Account for new condition evaluator output.
4718
8d126d8a
LM
47192012-02-24 Luis Machado <lgustavo@codesourcery.com>
4720
4721 * gdb.base/cond-eval-mode.exp: New file.
4722
11337c2f
PA
47232012-02-24 Pedro Alves <palves@redhat.com>
4724
4725 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4726 (top level): Use with_test_prefix.
4727
13fc3e3c
PA
47282012-02-24 Pedro Alves <palves@redhat.com>
4729
4730 * gdb.threads/attach-into-signal.exp (corefunc): Use
4731 with_test_prefix.
4732
07c1b626
JK
47332012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4734
4735 Fix false FAILs on old CPUs without SSE.
4736 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4737 Return untested for Illegal instruction.
4738
596ba138
JK
47392012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4740
4741 Fix false FAILs with glibc debug infos installed.
4742 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4743 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4744
aeaa2474
SA
47452012-02-22 Sterling Augustine <saugustine@google.com>
4746
4747 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4748 constant with cast.
4749
aed555c9
PA
47502012-02-21 Pedro Alves <palves@redhat.com>
4751
4752 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4753
78afebb4
PA
47542012-02-21 Pedro Alves <palves@redhat.com>
4755
4756 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4757
fdcfef12
PA
47582012-02-21 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4761 with_test_prefix.
4762
0f4d39d5
PA
47632012-02-21 Pedro Alves <palves@redhat.com>
4764
4765 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4766 with_test_prefix here.
4767 (top level): Do it here instead. Remove `:' from the
4768 with_test_prefix string.
4769 * gdb.base/attach-pie-misread.exp: Remove the leading space the
4770 the suffix `:' from the with_test_prefix prefix string.
4771 * gdb.base/break-interp.exp: Ditto.
4772 * gdb.base/catch-load.exp: Ditto.
4773 * gdb.base/disp-step-syscall.exp: Ditto.
4774 * gdb.base/jit-so.exp: Ditto.
4775 * gdb.base/jit.exp: Ditto.
4776 * gdb.base/sepdebug.exp: Ditto.
4777 * gdb.base/solib-display.exp: Ditto.
4778 * gdb.base/solib-overlap.exp: Ditto.
4779 * gdb.base/watch-cond-infcall.exp: Ditto.
4780 * gdb.base/watchpoint.exp: Ditto.
4781 * gdb.dwarf2/dw2-noloc.exp: Ditto.
4782 * gdb.mi/mi-watch.exp: Ditto.
4783 * gdb.mi/mi2-watch.exp: Ditto.
4784 * gdb.threads/non-ldr-exc-1.exp: Ditto.
4785 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4786 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4787 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4788 * gdb.threads/watchpoint-fork.exp: Ditto.
4789 * gdb.threads/watchthreads-reorder.exp: Ditto.
4790 * gdb.trace/change-loc.exp: Ditto.
4791 * gdb.trace/pending.exp: Ditto.
4792 * gdb.trace/status-stop.exp: Ditto.
4793 * gdb.trace/strace.exp: Ditto.
4794 * gdb.trace/trace-break.exp: Ditto.
4795 * gdb.trace/unavailable.exp: Ditto.
4796 * lib/gdb.exp (with_test_prefix): Always prefix with space and
4797 suffix with colon. Adjust leading comments.
4798
6a5870ce
PA
47992012-02-21 Pedro Alves <palves@redhat.com>
4800 Tom Tromey <tromey@redhat.com>
4801
4802 * lib/gdb.exp: Add description of test prefixes.
4803 (with_test_prefix): New procedure.
4804 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4805 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4806 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
4807 instead of lappend to append to pf_prefix.
4808 * gdb.base/catch-load.exp: Use with_test_prefix.
4809 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4810 * gdb.base/jit-so.exp: Use with_test_prefix.
4811 * gdb.base/jit.exp: Use with_test_prefix.
4812 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4813 lappend to append to pf_prefix.
4814 * gdb.base/sepdebug.exp: Use with_test_prefix.
4815 * gdb.base/solib-display.exp: Use with_test_prefix.
4816 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4817 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4818 * gdb.base/watchpoint.exp: Use with_test_prefix.
4819 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4820 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4821 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4822 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4823 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4824 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4825 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4826 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4827 append instead of lappend to append to pf_prefix.
4828 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4829 * gdb.trace/change-loc.exp: Use with_test_prefix.
4830 * gdb.trace/pending.exp: Use with_test_prefix.
4831 * gdb.trace/status-stop.exp: Use with_test_prefix.
4832 * gdb.trace/strace.exp: Use with_test_prefix.
4833 * gdb.trace/trace-break.exp: Use with_test_prefix.
4834 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4835 instead of lappend to append to pf_prefix.
4836
35dc4a6b
JK
48372012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4838
4839 Fix racy FAILs.
4840 * gdb.base/inferior-died.c (main): Add return of 0.
4841 * gdb.base/inferior-died.exp (continue): Fix expectation of
4842 asynchronous events.
4843 (p 1): New test.
4844
c5a006e6
PA
48452012-02-20 Pedro Alves <palves@redhat.com>
4846
4847 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4848 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4849 gdb's internal debug output. For the non-threaded case, look for
4850 "Program received signal SIGLARM", for the threaded case, peek at
4851 the thread's siginfo.
4852
cc51a170
PA
48532012-02-20 Pedro Alves <palves@redhat.com>
4854
4855 General cleanup, make output test messages unique, and build
4856 different executable files for the non-threaded and threaded
4857 cases.
4858
4859 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4860 Delete.
4861 (executable_nothr, executable_thr): New globals.
4862 (top level): Adjust to delete both executables.
4863 (corefunc): New parameter $executable. Set $pf_prefix instead of
4864 hand writing a prefix in tests. Issue a clean_restart and enable
4865 lin-lwp debug output here.
4866 (top level): Adjust. Use build_executable. Don't start gdb here,
4867 and don't enable lin-lwp debug output here.
4868 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4869
c755f03d
JK
48702012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4871
4872 Fix racy FAILs.
4873 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4874 "continue" command.
4875
6bec5e0a
JK
48762012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4877
4878 Fix for gdbserver non-extended mode.
4879 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4880 and gdb_run_cmd.
4881
2e8265fd
TT
48822012-02-17 Tom Tromey <tromey@redhat.com>
4883
4884 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4885 * gdb.python/py-events.exp: Check 'dir' output.
4886 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4887
9e507076
YQ
48882012-02-17 Yao Qi <yao@codesourcery.com>
4889
4890 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4891
32d22ab1
TT
48922012-02-16 Tom Tromey <tromey@redhat.com>
4893
4894 * gdb.base/inferior-died.c: Don't include stdio.h.
4895
9addecb9
TT
48962012-02-16 Tom Tromey <tromey@redhat.com>
4897
4898 * gdb.base/inferior-died.c: New file.
4899 * gdb.base/inferior-died.exp: New file.
4900
4cb6da1c
AR
49012012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4902
4903 * gdb.base/break-inline.exp: New file.
4904 * gdb.base/break-inline.c: New file.
4905
3af2590d
TT
49062012-02-15 Tom Tromey <tromey@redhat.com>
4907
4908 * gdb.base/pc-fp.exp: Add "info register" tests.
4909
29988831
TT
49102012-02-15 Tom Tromey <tromey@redhat.com>
4911
4912 * gdb.base/regs.exp: Remove.
4913
10010058
PA
49142012-02-15 Pedro Alves <palves@redhat.com>
4915
4916 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4917 the target doesn't support tracepoints.
4918 * gdb.trace/circ.exp: Ditto.
4919 * gdb.trace/collection.exp: Ditto.
4920 * gdb.trace/packetlen.exp: Ditto.
4921 * gdb.trace/passc-dyn.exp: Ditto.
4922 * gdb.trace/report.exp: Ditto.
4923 * gdb.trace/tfind.exp: Ditto.
4924 * gdb.trace/tspeed.exp: Ditto.
4925 * gdb.trace/tsv.exp: Ditto.
4926 * gdb.trace/unavailable.exp: Ditto.
4927 * gdb.trace/while-dyn.exp: Ditto.
4928
a2e0062d
PA
49292012-02-15 Pedro Alves <palves@redhat.com>
4930
4931 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4932 gdb_test_multiple, and call unsupported instead of fail, if the
4933 remote side does not support the request.
4934
a1999d40
PA
49352012-02-15 Pedro Alves <palves@redhat.com>
4936
4937 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4938 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4939 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4940 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4941 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4942 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4943 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4944 doesn't start with "extended-" already.
4945
7cee1e54
PA
49462012-02-15 Pedro Alves <palves@redhat.com>
4947
4948 Support extended-remote. Avoid cascading timeouts.
4949
4950 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4951 the extended-remote target. If attaching with no file fails, load
4952 the file manually.
4953 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4954
816338b5
SS
49552012-02-14 Stan Shebs <stan@codesourcery.com>
4956
4957 * gdb.base/ena-dis-br.exp: Add enable count test.
4958
cc30c4bd
PA
49592012-02-13 Pedro Alves <palves@redhat.com>
4960
4961 * config/mips-idt.exp: Delete.
4962 * gdb.base/a2-run.exp: Remove mips-idt xfails.
4963 * gdb.base/bitfields.exp: Remove mips-idt restarts.
4964 * gdb.base/break.exp: Remove mips-idt references.
4965 * gdb.base/chng-syms.exp: Ditto.
4966 * gdb.base/default.exp: Ditto.
4967 * gdb.base/funcargs.exp (funcargs_reload): Delete.
4968 (top level): Don't call it.
4969 * gdb.base/opaque.exp: Remove mips-idt restarts.
4970 * gdb.base/ptype.exp: Remove mips-idt xfails.
4971 * gdb.base/scope.exp: Remove mips-idt restarts.
4972 * gdb.base/sepdebug.exp: Remove mips-idt references.
4973 * gdb.base/watchpoint.exp (maybe_clean_restart)
4974 (maybe_reinitialize): Delete.
4975 (test_disabling_watchpoints, test_disabling_watchpoints)
4976 (test_watchpoint_triggered_in_syscall)
4977 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4978 Don't call them.
4979
57008375
JK
49802012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4981
4982 * gdb.server/server-exec-info.exp: New file.
4983
4a2d9c08
PA
49842012-02-10 Pedro Alves <palves@redhat.com>
4985
4986 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4987 always non-empty.
4988 (test_attach): Always pass $exec to test_attach_gdb.
4989
09fa21bd
TT
49902012-02-08 Tom Tromey <tromey@redhat.com>
4991
4992 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
4993 before inferior is started.
4994
f0823d2c
TT
49952012-02-07 Tom Tromey <tromey@redhat.com>
4996
4997 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
4998 Symbol.value.
4999 * gdb.python/py-symbol.c (qq): Set default value.
5000
50012012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
5002
5003 * gdb.python/py-symbol.c (qq): New global.
5004 * gdb.python/py-symbol.exp: Add test for frame-less
5005 lookup_symbol.
5006 * gdb.python/py-symtab.exp: Fix line number.
5007
f7e44f65
JB
50082012-02-03 Joel Brobecker <brobecker@adacore.com>
5009
5010 * gdb.ada/mi_task_arg: New testcase.
5011
4c9ed63c
PA
50122012-02-02 Pedro Alves <palves@redhat.com>
5013
5014 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5015 extended timeout.
5016
c0b9f2c6
PA
50172012-02-02 Pedro Alves <palves@redhat.com>
5018
5019 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5020 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5021
5f8cefd7
PA
50222012-02-02 Pedro Alves <palves@redhat.com>
5023
5024 * gdb.base/term.exp: Rewrite.
5025 * gdb.base/term.c: New.
5026
2f3a2569
PA
50272012-02-02 Pedro Alves <palves@redhat.com>
5028
5029 * gdb.base/default.exp (run "r" abbreviation, run): Add
5030 extended-remote expected output.
5031
f149aabd
TT
50322012-02-02 Tom Tromey <tromey@redhat.com>
5033
5034 * gdb.cp/dispcxx.exp: New file.
5035 * gdb.cp/dispcxx.cc: New file.
5036
03bef283
TT
50372012-02-01 Tom Tromey <tromey@redhat.com>
5038
5039 * gdb.base/jit-simple.exp: New file.
5040 * gdb.base/jit-simple.c: New file.
5041
a79b18b5
YQ
50422012-01-30 Yao Qi <yao@codesourcery.com>
5043
5044 * gdb.base/skip.exp: Make test result unique.
5045
f0d1a53e
JK
50462012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5049 compatibility with valgrind-3.7.0.
5050
4b3c9f41
PA
50512012-01-27 Pedro Alves <palves@redhat.com>
5052
5053 * gdb.base/watchpoint.exp (no_hw): New global.
5054 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5055 disable hw watchpoints.
5056 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5057 don't expect hw watchpoints.
5058 (no_hw_watchpoints): Always clean restart.
5059 (do_tests): New procedure, factored out from the top level.
5060 (top level): Run tests twice. Once with hw watchpoints enabled,
5061 another time with hw watchpoints disabled.
5062
a13491c8
PA
50632012-01-27 Pedro Alves <palves@redhat.com>
5064
5065 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5066 out from the top level.
5067 (top level): Call it instead.
5068
f2c8a051
PA
50692012-01-27 Pedro Alves <palves@redhat.com>
5070
5071 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5072 watchpoints sooner.
5073
654d7a9e
PA
50742012-01-27 Pedro Alves <palves@redhat.com>
5075
5076 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5077
274f47f3
PA
50782012-01-27 Pedro Alves <palves@redhat.com>
5079
5080 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5081 "You may have requested too many hardware
5082 breakpoints/watchpoints".
5083
e4d63ba2
PA
50842012-01-27 Pedro Alves <palves@redhat.com>
5085
5086 * gdb.base/watchpoint.exp (maybe_clean_restart)
5087 (maybe_reinitialize): New.
5088 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5089 expect "hit N times".
5090 (test_disabling_watchpoints, test_complex_watchpoint)
5091 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5092 Call maybe_clean_restart.
5093 (top level): Use clean_restart. Remove "mips-idt-*"
5094 reinitialization.
5095
dbd95daf
PA
50962012-01-27 Pedro Alves <palves@redhat.com>
5097
5098 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5099
f3ad2025
PA
51002012-01-27 Pedro Alves <palves@redhat.com>
5101
5102 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5103 require `initialize' anymore. Remove unnecessary `initialize'
5104 calls.
5105
100aa3ae
PA
51062012-01-27 Pedro Alves <palves@redhat.com>
5107
5108 * gdb.base/watchpoint.exp (wp_set): Delete.
5109 (initialize, test_simple_watchpoint, top level): Remove dead code.
5110
c79a8e11
PA
51112012-01-27 Pedro Alves <palves@redhat.com>
5112
5113 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5114 typo.
5115
048fe15a
PA
51162012-01-27 Pedro Alves <palves@redhat.com>
5117
5118 * config/extended-gdbserver.exp: New file.
5119 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5120 comment.
5121 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5122 * boards/native-extended-gdbserver.exp: New file.
5123
4033a6bf
PA
51242012-01-26 Pedro Alves <palves@redhat.com>
5125
5126 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5127 and gdb_test_multiple.
5128
3d7f4b81
PA
51292012-01-26 Pedro Alves <palves@redhat.com>
5130
5131 Make test messages unique, and more identifiable.
5132 * gdb.multi/watchpoint-multi.exp: Change test messages.
5133
484abf42
TT
51342012-01-25 Tom Tromey <tromey@redhat.com>
5135
5136 * gdb.base/solib-disc.exp: Fix regexps.
5137
edcc5120
TT
51382012-01-24 Tom Tromey <tromey@redhat.com>
5139
5140 * lib/mi-support.exp (mi_expect_stop): Add special case for
5141 solib-event.
5142 * gdb.base/catch-load-so.c: New file.
5143 * gdb.base/catch-load.exp: New file.
5144 * gdb.base/catch-load.c: New file.
5145 * gdb.base/break-interp.exp (reach_1): Update regexp.
5146
30b91c90
JK
51472012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5148
5149 Fix fuzzy results.
5150 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5151 lpsimple and func.
5152
53fe1783
GB
51532012-01-24 Gary Benson <gbenson@redhat.com>
5154
5155 Delete #if 0'd out code.
5156 * gdb.base/default.exp (info catch): Remove.
5157 * gdb.base/gdb_history (info catch): Likewise.
5158 * gdb.base/help.exp (info catch): Likewise.
5159
d0d8b0c6
JK
51602012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5161
5162 Fix watchpoints to be specific for each inferior.
5163 * gdb.multi/watchpoint-multi.c: New file.
5164 * gdb.multi/watchpoint-multi.exp: New file.
5165
4403d8e9
JK
51662012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5167
5168 Fix watchpoints across inferior fork.
5169 * gdb.threads/watchpoint-fork-child.c: New file.
5170 * gdb.threads/watchpoint-fork-mt.c: New file.
5171 * gdb.threads/watchpoint-fork-parent.c: New file.
5172 * gdb.threads/watchpoint-fork-st.c: New file.
5173 * gdb.threads/watchpoint-fork.exp: New file.
5174 * gdb.threads/watchpoint-fork.h: New file.
5175
050a2e1d
PA
51762012-01-23 Pedro Alves <palves@redhat.com>
5177
5178 * gdb.base/call-signal-resume.exp: Allow output after "return".
5179
6a52fb62
PA
51802012-01-20 Pedro Alves <palves@redhat.com>
5181
5182 * gdb.python/py-finish-breakpoint.py: Fix typo.
5183
145b16a9
UW
51842012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5185
5186 * gdb.base/info-proc.exp: Also run on remote targets. Main
5187 "info proc" command is now always present; whether target supports
5188 actual info proc operation is detected when attempting to issue
5189 the command.
5190
26f6125e
JK
51912012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5192
5193 * .gdbinit: Remove.
5194
eb5227ce
PA
51952012-01-19 Pedro Alves <palves@redhat.com>
5196
5197 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5198 look at the funtions' returns.
5199 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5200 (jprint.print(int, int)): Change return type to int. Adjust.
5201
1db33378
PP
52022012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5203
5204 PR gdb/9538
5205 * gdb.base/sepdebug.exp: New test.
5206
b9736cf8
PA
52072012-01-18 Pedro Alves <palves@redhat.com>
5208
5209 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5210 Allow output before ^done.
5211
4aac40c8
TT
52122012-01-16 Tom Tromey <tromey@redhat.com>
5213
5214 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
5215 Add tests for relative directory.
5216
cafec441
TT
52172012-01-16 Tom Tromey <tromey@redhat.com>
5218
5219 * gdb.base/printcmds.c (enum flag_enum): New.
5220 (three): New global.
5221 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
5222 enum printing.
5223 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
5224 FlagEnumerationPrinter.
5225 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
5226 * gdb.python/py-pp-maint.c (enum flag_enum): New.
5227 (fval): New global.
5228
abcc4978
PA
52292012-01-16 Pedro Alves <palves@redhat.com>
5230
5231 * lib/gdb.exp (banned_procedures): New variable.
5232 (banned_variables_traced): Rename to ...
5233 (banned_traced): ... this.
5234 (gdb_init): Also trace banned procedures.
5235 (gdb_finish): Also untrace banned procedures.
5236
97ccebe8
PA
52372012-01-16 Pedro Alves <palves@redhat.com>
5238
5239 Remove all calls to strace.
5240
2af7517b
JK
52412012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5242
5243 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
5244 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
5245
9241a8bc
PP
52462012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5247
5248 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
5249 * gdb.base/pie-execl.exp: Likewise.
5250
3848a17f
KS
52512012-01-12 Keith Seitz <keiths@redhat.com>
5252
5253 PR mi/10586
5254 * gdb.mi/var-cmd.c (struct anonymous): New structure.
5255 (do_anonymous_type_tests): New function.
5256 (main): Call do_anonymous_type_tests.
5257 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
5258 (verify_everything): New procedure.
5259 * gdb.mi/mi-var-cp.cc (class A): New class.
5260 (anonymous_structs_and_unions): New function.
5261 (main): Call anonymous_structs_and_unions.
5262 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
5263 (verify_everything): New procedure.
5264
440e2fca
KS
52652012-01-12 Keith Seitz <keiths@redhat.com>
5266
5267 * lib/mi-support.exp: Expand comments about PATH_EXPR.
5268 (varobj_tree::get_path_expr): Assume that all varobjs are
5269 compound unless they are known simple types.
5270 Adjust path expressions based on parent type, path parent type,
5271 and tree language.
5272 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
5273 the root varobj.
5274 (mi_walk_varobj_tree): Add LANGUAGE parameter.
5275
675399c9
PA
52762012-01-11 Pedro Alves <palves@redhat.com>
5277
5278 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
5279 core files on this machine" anymore.
5280
97ddaa9b
PH
52812012-01-11 Paul Hilfinger <hilfingr@adacore.com>
5282
5283 * gdb.base/watchpoint.c (recurser): Initialize local_x.
5284 (main): Repeat recurser call.
5285 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
5286 equivalent to 'local_x'.
5287
ea733575 52882012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 5289 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
5290
5291 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
5292
2ca0b532
PA
52932012-01-05 Pedro Alves <alves.ped@gmail.com>
5294
5295 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
5296 * gdb.python/py-events.c (first): Add bits for new "step N" test.
5297 * gdb.python/py-events.exp: Test that "step N" tripping on a
5298 breakpoint emits a breakpoint event.
5299
6e681866
JB
53002012-01-03 Joel Brobecker <brobecker@adacore.com>
5301
5302 * gdb.base/auxv.exp: Reformat the copyright notice.
5303
3c2d6aff
YQ
53042012-01-03 Yao Qi <yao@codesourcery.com>
5305
5306 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
5307 (strace_trace_on_diff_addr): New.
5308 * gdb.trace/strace.c: (main): Add two local variables.
5309
0852fee3
UW
53102011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
5311
5312 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
5313 * gdb.cell/gcore.exp: Likewise.
5314 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
5315 to verify the correct instance of main is selected.
5316
12c3e59c
JB
53172012-01-02 Joel Brobecker <brobecker@adacore.com>
5318
5319 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
5320 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
5321 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
5322 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
5323 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
5324 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
5325 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
5326 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
5327 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
5328 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
5329 gdb.threads/thread_check.c: Reformat copyright header.
5330
c0f378ec
EBM
53312011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
5332
e4a7ca93 5333 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
5334 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
5335 is not enabled.
5336
3bc96cfb
JK
53372011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5338
5339 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
5340 parameter to self_exec, adjust the function.
5341 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
5342 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
5343 (set var do_exit = 0): Remove test.
5344 (newline at end of file): Add one.
5345
095bcf5e
JB
53462011-12-27 Joel Brobecker <brobecker@adacore.com>
5347
5348 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
5349 New files.
5350
18d19bd1
JK
53512011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5352
5353 Fix racy FAILs.
5354 * gdb.threads/fork-thread-pending.c (barrier): New variable.
5355 (thread_function, thread_forker): Call pthread_barrier_wait for it.
5356 (main): Call pthread_barrier_init for it.
5357
e809353a
JK
53582011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5359
5360 Fix double send_gdb leading to racy FAILs.
5361 * gdb.base/break.exp (set silent break bp_location1): Replace
5362 3x send_gdb and gdb_expect by gdb_test.
5363 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
5364 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
5365 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
5366 instead of send_gdb. Twice.
5367 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
5368 3x send_gdb and gdb_expect by gdb_test.
5369 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
5370
da8cb7ec
JK
53712011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5372
5373 * gdb.linespec/linespec.exp: Compile using {c++}.
5374
ae1a303e
JK
53752011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5376
5377 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
5378 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
5379 (verify GCC PR debug/51668): New test.
5380
cc72b2a2
KP
53812011-12-23 Kevin Pouget <kevin.pouget@st.com>
5382
5383 Introduce gdb.FinishBreakpoint in Python.
5384 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
5385 py-finish-breakpoint2
5386 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
5387 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
5388 instead of line number.
5389 * gdb.python/py-finish-breakpoint.c: New file.
5390 * gdb.python/py-finish-breakpoint.exp: New file.
5391 * gdb.python/py-finish-breakpoint.py: New file.
5392 * gdb.python/py-finish-breakpoint2.cc: New file.
5393 * gdb.python/py-finish-breakpoint2.exp: New file.
5394 * gdb.python/py-finish-breakpoint2.py: New file.
5395
3b7962f9
JK
53962011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5397
5398 Partial fix of compatibility with gcc-4.7.
5399 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
5400 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
5401 Add comment to add a PASS case in the future.
5402
6538471c
JK
5403 Fix compatibility with gcc-4.7.
5404 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
5405
7052e42c
UW
54062011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
5407
5408 PR tdep/12797
5409 * gdb.base/callfuncs.exp: Remove KFAIL.
5410
9ac7f98e
JB
54112011-12-21 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.ada/task_bp: New testcase.
5414
f6eeced0
JK
54152011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5416
5417 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
5418 -DNO_SECTIONS.
5419 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
5420
72225e17
JK
54212011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5422
5423 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
5424 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
5425 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5426 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
5427 conditional for gcc <= 4.5.
5428
13ac8d2c
JK
54292011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5430
5431 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
5432 by XFAIL.
5433 * gdb.cp/static-method.exp (info addr A::func())
5434 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5435 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5436 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5437 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
5438 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
5439 (test value of F in k3_m): Likewise.
5440 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5441 Likewise.
5442
049682ba
JK
54432011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5444
5445 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
5446 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
5447 Remove.
5448 * gdb.threads/attachstop-mt.c: Remove.
5449 * gdb.threads/attachstop-mt.exp: Remove.
5450
2c9d8796
MK
54512011-12-17 Mark Kettenis <kettenis@gnu.org>
5452
5453 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
5454
e0f9f062
DE
54552011-12-16 Doug Evans <dje@google.com>
5456
f4aa2101 5457 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
5458 * boards/native-gdbserver.exp: New file.
5459
e0f9f062
DE
5460 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
5461 gdbserver output.
5462 (gdbserver_default_get_remote_address): New function.
5463 (gdbserver_start): Call gdb,get_remote_address to compute argument
5464 to "target remote" command.
5465
80b6e756
PM
54662011-12-16 Phil Muldoon <pmuldoon@redhat.com>
5467
1c3ad6ab 5468 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
5469 python print-stack. Add set/show python print-stack
5470 off|full|message tests.
5471
1576bd00
YQ
54722011-12-15 Yao Qi <yao@codesourcery.com>
5473
5474 * gdb.trace/strace.c: New
5475 * gdb.trace/strace.exp: New.
5476
d6a0f6e0
TT
54772011-12-14 Tom Tromey <tromey@redhat.com>
5478
5479 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
5480
31015e1d
DE
54812011-12-14 Doug Evans <dje@google.com>
5482
5483 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
5484
7b50312a
PA
54852011-12-14 Pedro Alves <pedro@codesourcery.com>
5486
5487 PR threads/10729
5488
5489 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 5490 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 5491
924437bc
PA
54922011-12-13 Pedro Alves <pedro@codesourcery.com>
5493 Doug Evans <dje@google.com>
5494
5495 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
5496 (clean_restart): Remove references to the gdb_stub target board
5497 variable.
5498 (gdb_step_for_stub): Delete.
5499
5500 * gdb.base/annota1.exp: Remove all references to [target_info
5501 exists gdb_stub], gdb_step_for_stub and usestubs.
5502 * gdb.base/annota3.exp: Ditto.
5503 * gdb.base/async.exp: Ditto.
5504 * gdb.base/break.exp: Ditto.
5505 * gdb.base/code-expr.exp: Ditto.
5506 * gdb.base/commands.exp: Ditto.
5507 * gdb.base/completion.exp: Ditto.
5508 * gdb.base/condbreak.exp: Ditto.
5509 * gdb.base/consecutive.exp: Ditto.
5510 * gdb.base/cvexpr.exp: Ditto.
5511 * gdb.base/define.exp: Ditto.
5512 * gdb.base/display.exp: Ditto.
5513 * gdb.base/ena-dis-br.exp: Ditto.
5514 * gdb.base/environ.exp: Ditto.
5515 * gdb.base/gnu-ifunc.exp: Ditto.
5516 * gdb.base/maint.exp: Ditto.
5517 * gdb.base/pending.exp: Ditto.
5518 * gdb.base/sect-cmd.exp: Ditto.
5519 * gdb.base/sepdebug.exp: Ditto.
5520 * gdb.base/unload.exp: Ditto.
5521 * gdb.base/watchpoint-solib.exp: Ditto.
5522 * gdb.cp/annota2.exp: Ditto.
5523 * gdb.cp/annota3.exp: Ditto.
5524 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
5525 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
5526 * gdb.mi/mi-pending.exp: Ditto.
5527 * gdb.trace/circ.exp: Ditto.
5528 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
5529 * gdb.base/list.exp: Ditto.
5530
5531 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5532 breakpoint function and all references to the usestubs macro.
5533 * gdb.base/exprs.c: Ditto.
5534 * gdb.base/freebpcmd.c: Ditto.
5535 * gdb.base/bitfields.c: Ditto.
5536 * gdb.base/bitfields2.c: Ditto.
5537 * gdb.base/break.c: Ditto.
5538 * gdb.base/call-sc.c: Ditto.
5539 * gdb.base/call-signals.c: Ditto.
5540 * gdb.base/callfuncs.c: Ditto.
5541 * gdb.base/charset.c: Ditto.
5542 * gdb.base/consecutive.c: Ditto.
5543 * gdb.base/constvars.c: Ditto.
5544 * gdb.base/funcargs.c: Ditto.
5545 * gdb.base/int-type.c: Ditto.
5546 * gdb.base/interrupt.c: Ditto.
5547 * gdb.base/langs0.c: Ditto.
5548 * gdb.base/list0.c: Ditto.
5549 * gdb.base/mips_pro.c: Ditto.
5550 * gdb.base/miscexprs.c: Ditto.
5551 * gdb.base/nodebug.c: Ditto.
5552 * gdb.base/opaque0.c: Ditto.
5553 * gdb.base/pointers.c: Ditto.
5554 * gdb.base/printcmds.c: Ditto.
5555 * gdb.base/ptype.c: Ditto.
5556 * gdb.base/recurse.c: Ditto.
5557 * gdb.base/reread1.c: Ditto.
5558 * gdb.base/reread2.c: Ditto.
5559 * gdb.base/restore.c: Ditto.
5560 * gdb.base/return.c: Ditto.
5561 * gdb.base/run.c: Ditto.
5562 * gdb.base/scope0.c: Ditto.
5563 * gdb.base/sepdebug.c: Ditto.
5564 * gdb.base/setshow.c: Ditto.
5565 * gdb.base/setvar.c: Ditto.
5566 * gdb.base/sigall.c: Ditto.
5567 * gdb.base/signals.c: Ditto.
5568 * gdb.base/structs.c: Ditto.
5569 * gdb.base/structs2.c: Ditto.
5570 * gdb.base/testenv.c: Ditto.
5571 * gdb.base/twice.c: Ditto.
5572 * gdb.base/unwindonsignal.c: Ditto.
5573 * gdb.base/watchpoint.c: Ditto.
5574 * gdb.base/watchpoints.c: Ditto.
5575 * gdb.base/whatis.c: Ditto.
5576 * gdb.cp/classes.cc: Ditto.
5577 * gdb.cp/cplusfuncs.cc: Ditto.
5578 * gdb.cp/derivation.cc: Ditto.
5579 * gdb.cp/formatted-ref.cc: Ditto.
5580 * gdb.cp/misc.cc: Ditto.
5581 * gdb.cp/overload.cc: Ditto.
5582 * gdb.cp/ovldbreak.cc: Ditto.
5583 * gdb.cp/ref-params.cc: Ditto.
5584 * gdb.cp/ref-types.cc: Ditto.
5585 * gdb.cp/templates.cc: Ditto.
5586 * gdb.cp/virtfunc.cc: Ditto.
5587 * gdb.hp/gdb.aCC/run.c: Ditto.
5588 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5589 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5590 * gdb.reverse/consecutive-reverse.c: Ditto.
5591 * gdb.reverse/sigall-reverse.c: Ditto.
5592 * gdb.reverse/until-reverse.c: Ditto.
5593 * gdb.reverse/watch-reverse.c: Ditto.
5594 * gdb.trace/actions.c: Ditto.
5595 * gdb.trace/circ.c: Ditto.
5596 * gdb.trace/collection.c: Ditto.
5597
fabde485
PA
55982011-12-13 Pedro Alves <pedro@codesourcery.com>
5599
5600 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5601 (func6, func7): New.
5602 (main): Call func6 and func7.
5603 * gdb.base/watchpoint.exp (test_wide_location_1)
5604 (test_wide_location_2): New.
5605 (top level): Re-enable hardware watchpoints if necessary. Call
5606 test_wide_location_1 and test_wide_location_2.
5607
ff7d1690
YQ
56082011-12-11 Yao Qi <yao@codesourcery.com>
5609
5610 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5611
a6af7abe
JB
56122011-12-11 Joel Brobecker <brobecker@adacore.com>
5613
5614 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5615 expected output for unsupported case.
5616
61638e15
JK
56172011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5618
5619 PR testsuite/12649
5620 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5621 Protect gdb_test_multiple by final $gdb_prompt match.
5622
0a00efc3
JK
56232011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5624
5625 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5626 New variable, new test.
5627 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5628 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5629 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5630 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5631 them if HAVE_GCC_45682_FIXED is not set.
5632
4511b1ba
YQ
56332011-12-10 Yao Qi <yao@codesourcery.com>
5634
5635 * gdb.trace/status-stop.exp: New.
5636 * gdb.trace/status-stop.c: New.
5637
27949e73
JK
56382011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5639
5640 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5641 timeout.
5642
d8ea7931
TT
56432011-12-08 Tom Tromey <tromey@redhat.com>
5644
5645 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5646 condition.
5647
1cc310d2
SS
56482011-12-07 Stan Shebs <stan@codesourcery.com>
5649
5650 * gdb.trace/tfind.exp: Update for output changes.
5651
d482a875
PA
56522011-12-07 Pedro Alves <pedro@codesourcery.com>
5653
5654 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5655 throws "Cannot insert catchpoints in this configuration".
5656 * gdb.ada/mi_catch_ex.exp: Likewise.
5657
f0ba3972
PA
56582011-12-06 Pedro Alves <pedro@codesourcery.com>
5659
5660 * gdb.base/break-always.exp: Test changing memory at addresses
5661 with breakpoints inserted.
5662
f8eba3c6
TT
56632011-12-06 Joel Brobecker <brobecker@acacore.com>
5664
6fdff2c5
PA
5665 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5666 involving a fully qualified function name.
f8eba3c6
TT
5667
56682011-12-06 Tom Tromey <tromey@redhat.com>
5669
5670 * gdb.ada/homonym.exp: Add three breakpoint tests.
5671
56722011-12-06 Tom Tromey <tromey@redhat.com>
5673
5674 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5675 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5676 * gdb.objc/objcdecode.exp: Update for output changes.
5677 * gdb.linespec/linespec.exp: New file.
5678 * gdb.linespec/lspec.cc: New file.
5679 * gdb.linespec/lspec.h: New file.
5680 * gdb.linespec/body.h: New file.
5681 * gdb.linespec/base/two/thefile.cc: New file.
5682 * gdb.linespec/base/one/thefile.cc: New file.
5683 * gdb.linespec/Makefile.in: New file.
5684 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5685 output changes.
5686 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5687 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5688 makes one breakpoint.
5689 * gdb.cp/method2.exp (test_break): Update for output changes.
5690 * gdb.cp/mb-templates.exp: Update for output changes.
5691 * gdb.cp/mb-inline.exp: Update for output changes.
5692 * gdb.cp/mb-ctor.exp: Update for output changes.
5693 * gdb.cp/ovsrch.exp: Use fully-qualified names.
5694 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
5695 has multiple matches.
5696 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
5697 error message change.
5698 * gdb.base/list.exp (test_list_filename_and_number): Update for
5699 error message change.
5700 * gdb.base/break.exp: Disable pending breakpoints. Update for
5701 output changes.
5702 * configure.ac: Add gdb.linespec.
5703 * configure: Rebuild.
5704 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5705
c642a434
UW
57062011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
5707
5708 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5709 last_break register on s390*-*-* targets.
5710
b18003d1
JB
57112011-12-06 Joel Brobecker <brobecker@adacore.com>
5712
5713 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5714 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5715 of parameter X in procedure Foo.
5716
fe96589c
SS
57172011-12-05 Stan Shebs <stan@codesourcery.com>
5718
5719 * gdb.trace/tfind.exp: Update help string matches.
5720
1820ab47
JK
57212011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5722
5723 * gdb.server/ext-run.exp (get process list): Accept also systemd
5724 as PID 1.
5725
e11ac3a3
JK
57262011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5727 Pedro Alves <pedro@codesourcery.com>
5728
5729 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5730 starting GDB.
5731 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5732 $use_gdb_stub.
5733 * gdb.base/display.exp: Likewise.
5734 * gdb.base/ending-run.exp: Likewise.
5735 * gdb.base/list.exp (test_listsize): Likewise.
5736 * gdb.base/setshow.exp: Likewise.
5737 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5738 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5739 check by global $use_gdb_stub.
5740 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5741 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5742 (default_gdb_init): Unset global $use_gdb_stub.
5743 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5744 by global $use_gdb_stub.
5745 * lib/gdbserver-support.exp: Extend comments for set_board_info
5746 gdb_protocol and gdb,socketport.
5747 (gdbserver_start_extended): Set global gdbserver_protocol and
5748 gdbserver_gdbport. Clear global use_gdb_stub.
5749 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5750 from target use_gdb_stub.
5751 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5752
1d41d75c
DE
57532011-12-03 Doug Evans <dje@google.com>
5754
5755 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5756 (gdb_step_for_stub): Add comments.
5757
d6d7a51a
MR
57582011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
5759
5760 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5761 to the caller.
5762 (gdb_test_multiple): Likewise.
5763
05acf274
JK
57642011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5765
5766 Fix gdb.mi/mi-solib.exp without system debug info installed.
5767 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5768 expect attribute, return 0 for it. Update comments.
5769
2268b414
JK
57702011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5771
5772 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5773 (corrupted list): Adjust the expectation.
5774
585861ea
JK
57752011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5776
5777 PR threads/13448
5778 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5779 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5780 * gdb.threads/tls-var-main.c: New file.
5781 * gdb.threads/tls-var.c: New file.
5782 * gdb.threads/tls-var.exp: New file.
5783
968643aa
JK
57842011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5785
5786 PR testsuite/12649
5787 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5788 Protect gdb_test_multiple by final $gdb_prompt match.
5789 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5790 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5791 (test_tracepoints): Likewise.
5792
9750bca9
JK
57932011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5794
5795 PR breakpoints/13346
5796 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5797 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5798 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5799
ac1349b7
JB
58002011-12-01 Joel Brobecker <brobecker@adacore.com>
5801
5802 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5803 * gdb.ada/homonym/homonym.adb: For use of all types defined
5804 locally inside both Get_Value subprograms.
5805
26d44faf
JK
58062011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5807
5808 Fix racy FAILs.
5809 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5810 of send_gdb.
5811
514f6425
UW
58122011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5813
5814 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5815 environment variable after test completed.
5816
4255c8d2
UW
58172011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5818
5819 * gdb.base/solib-nodir.exp: Skip if remote target.
5820 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5821 application. Call gdb_load_shlibs.
5822 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5823
a35ad96a
JB
58242011-11-29 Joel Brobecker <brobecker@adacore.com>
5825
5826 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5827
1a1d5513
JB
58282011-11-28 Joel Brobecker <brobecker@adacore.com>
5829
5830 * gdb.ada/fullname_bp: New testcase.
5831
50b4ddf8
JK
58322011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5833
5834 PR testsuite/12649
5835 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5836 Wrap send_gdb into a new gdb_test.
5837
fb0aec57
JK
5838 Code cleanup.
5839 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5840 Convert send_gdb and gdb_expect to gdb_test_multiple.
5841
2376d946
JK
58422011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5843
5844 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5845
1eec78bd
KS
58462011-11-23 Keith Seitz <keiths@redhat.com>
5847
5848 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5849 (mi_varobj_tree_test_children_callback): New proc.
5850 (mi_walk_varobj_tree): New proc.
5851
36dfb11c
TT
58522011-11-22 Tom Tromey <tromey@redhat.com>
5853
5854 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5855 Add "use_mi_command" argument.
5856 (mi_run_cmd, mi_run_with_cli): New procs.
5857 * gdb.mi/solib-lib.c: New file.
5858 * gdb.mi/solib-main.c: New file.
5859 * gdb.mi/mi-solib.exp: New file.
5860
0e965dd0
DE
58612011-11-21 Doug Evans <dje@google.com>
5862
5863 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5864 _Unwind_DebugHook is missing.
5865
f196051f
SS
58662011-11-20 Stan Shebs <stan@codesourcery.com>
5867
5868 * gdb.trace/tstatus.exp: New.
5869 * gdb.trace/actions.c: Include string.h.
5870
bfccc43c
YQ
58712011-11-18 Yao Qi <yao@codesourcery.com>
5872
5873 * gdb.trace/pending.exp: New.
5874 * gdb.trace/pending.c: New.
5875 * gdb.trace/pendshr1.c: New.
5876 * gdb.trace/pendshr2.c: New.
5877 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5878 tracepoint location becomes pending.
5879 (tracepoint_change_loc_2): New.
5880
73cd8ab1
DM
58812011-11-16 David S. Miller <davem@davemloft.net>
5882
5883 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5884 target is sparc*-*-linux*
5885
77426730
PK
58862011-11-15 Paul Koning <paul_koning@dell.com>
5887
5888 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5889 types.
5890
ed59ded5
DE
58912011-11-14 Doug Evans <dje@google.com>
5892
5893 * gdb.base/shell.exp: New file.
5894
405f8e94
SS
58952011-11-14 Stan Shebs <stan@codesourcery.com>
5896
5897 * gdb.trace/ftrace.c: New.
5898 * gdb.trace/ftrace.exp: New.
5899
1e4d1764
YQ
59002011-11-14 Yao Qi <yao@codesourcery.com>
5901
5902 * gdb.trace/change-loc-1.c: New.
5903 * gdb.trace/change-loc-2.c: New.
5904 * gdb.trace/change-loc.c: New.
5905 * gdb.trace/change-loc.exp: New.
5906 * gdb.trace/change-loc.h: New.
5907 * gdb.trace/trace-break.c (marker): Define new symbol.
5908 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 5909 New.
1e4d1764
YQ
5910 (break_trace_same_addr_6): New.
5911
71eba9c2 59122011-11-12 Matt Rice <ratmice@gmail.com>
5913
5914 * gdb.base/info-macros.exp: Make tests for info definitions
5915 test info macro. Add tests for info macro argument processing.
5916 Rename a few tests.
5917
1d93e29a
KS
59182011-11-11 Keith Seitz <keiths@redhat.com>
5919
5920 PR gdb/12843
5921 * gdb.base/linespecs.exp: New file.
5922
a4b5b48a
DE
59232011-11-11 Doug Evans <dje@google.com>
5924
5925 * gdb.threads/print-threads.exp: Extend timeout for slower
5926 tests.
5927
f6b47be4
DE
59282011-11-10 Doug Evans <dje@google.com>
5929
792a0230
DE
5930 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5931 "record to end of main" test.
5932
f6b47be4
DE
5933 * gdb.python/py-type.c (TS): New typedef.
5934 (ts): New global.
5935 * gdb.python/py-type.exp: Test field list of typedef.
5936
22355c90
JB
59372011-11-10 Joel Brobecker <brobecker@adacore.com>
5938
5939 * gdb.ada/small_reg_param: New testcase.
5940
a7860e76
TT
59412011-11-09 Tom Tromey <tromey@redhat.com>
5942
5943 * gdb.cp/destrprint.exp: New file.
5944 * gdb.cp/destrprint.cc: New file.
5945
72a2e3dc
MI
59462011-11-08 Meador Inge <meadori@codesourcery.com>
5947
5948 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5949 (switch_stack_to_other): New test function.
5950 * gdb.arch/thumb-prologue.exp: New test cases.
5951
c7195df2 59522011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
5953
5954 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5955
d3895d7d
YQ
59562011-11-08 Yao Qi <yao@codesourcery.com>
5957
5958 * gdb.exp (supports_process_record): New.
5959 (supports_reverse): New.
5960 * gdb.reverse/break-precsave.exp: Call support_process_record
5961 to run test conditionally.
5962 * gdb.reverse/consecutive-precsave.exp: Likewise.
5963 * gdb.reverse/i386-precsave.exp: Likewise.
5964 * gdb.reverse/machinestate-precsave.exp: Likewise.
5965 * gdb.reverse/solib-precsave.exp: Likewise.
5966 * gdb.reverse/step-precsave.exp: Likewise.
5967 * gdb.reverse/until-precsave.exp: Likewise.
5968 * gdb.reverse/watch-precsave.exp: Likewise.
5969 * gdb.reverse/break-reverse.exp: Call support_reverse to run
5970 test conditionally.
5971 * gdb.reverse/consecutive-reverse.exp: Likewise.
5972 * gdb.reverse/finish-precsave.exp: Likewise.
5973 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5974 * gdb.reverse/finish-reverse.exp: Likewise.
5975 * gdb.reverse/i386-reverse.exp: Likewise.
5976 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5977 * gdb.reverse/machinestate.exp: Likewise.
5978 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
5979 * gdb.reverse/sigall-precsave.exp: Likewise.
5980 * gdb.reverse/sigall-reverse.exp: Likewise.
5981 * gdb.reverse/solib-reverse.exp: Likewise.
5982 * gdb.reverse/step-reverse.exp: Likewise.
5983 * gdb.reverse/until-reverse.exp: Likewise.
5984 * gdb.reverse/watch-reverse.exp: Likewise.
5985
a59306a3
YQ
59862011-11-05 Yao Qi <yao@codesourcery.com>
5987
5988 * gdb.trace/trace-break.exp: Add test on setting two
5989 fast tracepoints at the same address.
5990
87769f59
JK
59912011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5992
5993 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
5994
3065dfb6
SS
59952011-11-02 Stan Shebs <stan@codesourcery.com>
5996
5997 * gdb.trace/collection.c: Add code using strings.
5998 * gdb.trace/collection.exp: Add tests of string collection.
5999
89e208db
JK
60002011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6001
6002 * gdb.base/skip-solib.exp (executable_main): New variable.
6003 (binfile_main): Base it on that.
6004 Use $executable_main in clean_restart calls. Drop gdb_exit and
6005 gdb_start calls.
6006
405e54e9
JK
60072011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6008
6009 Fix racy FAILs.
6010 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6011 breakpoint_re globals import by async. Set string_regex to .* for
6012 async. Remove the optional thread_selected_re and breakpoint_re
6013 globals expectations.
6014
58e8570a
JM
60152011-11-01 Joseph Myers <joseph@codesourcery.com>
6016
6017 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6018 well as Cygwin.
6019
7b35ec7f 60202011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
6021
6022 Add tests for skip command.
89e208db
JK
6023 * gdb.base/skip-solib-lib.c: New
6024 * gdb.base/skip-solib-main.c: New
6025 * gdb.base/skip-solib.exp: New
6026 * gdb.base/skip.c: New
6027 * gdb.base/skip.exp: New
6028 * gdb.base/skip1.c: New
6029 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 6030
b9fd1791
PA
60312011-10-31 Yao Qi <yao@codesourcery.com>
6032 Pedro Alves <pedro@codesourcery.com>
6033
6fdff2c5
PA
6034 * gdb.trace/trace-break.c: New.
6035 * gdb.trace/trace-break.exp: New.
b9fd1791 6036
4323fecc
JK
60372011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6038
6039 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6040 break-here-2.
6041
0e5bf2a8
PA
60422011-10-28 Pedro Alves <pedro@codesourcery.com>
6043
6044 * gdb.threads/no-unwaited-for-left.c: New.
6045 * gdb.threads/no-unwaited-for-left.exp: New.
6046 * gdb.threads/non-ldr-exc-1.c: New.
6047 * gdb.threads/non-ldr-exc-1.exp: New.
6048 * gdb.threads/non-ldr-exc-2.c: New.
6049 * gdb.threads/non-ldr-exc-2.exp: New.
6050 * gdb.threads/non-ldr-exc-3.c: New.
6051 * gdb.threads/non-ldr-exc-3.exp: New.
6052 * gdb.threads/non-ldr-exc-4.c: New.
6053 * gdb.threads/non-ldr-exc-4.exp: New.
6054
3a3dad98
JK
60552011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6056
6057 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6058 * gdb.base/attach-pie-misread.exp: Likewise.
6059 * gdb.base/break-interp.exp: Likewise.
6060 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6061 testcases for use_gdb_stub.
6062 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6063 (continue): New testcase.
6064 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6065 * gdb.threads/attach-into-signal.exp: Likewise.
6066 * gdb.threads/attach-stopped.exp: Likewise.
6067 * gdb.threads/attachstop-mt.exp: Likewise.
6068
d6a5d40c
PK
60692011-10-28 Paul Koning <paul_koning@dell.com>
6070
6071 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6072
ca539be8
JK
60732011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6074
6075 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6076 (mi_gdb_test): Import globals thread_selected_re
6077 and breakpoint_re. Expect them optionally at the regex start.
6078
d234ef5c
DE
60792011-10-27 Doug Evans <dje@google.com>
6080
6081 * gdb.python/python.exp: Test source -s.
6082
ab964825
PK
60832011-10-26 Paul Koning <paul_koning@dell.com>
6084
6085 * gdb.python/lib-types.cc (struct A): New structure.
6086 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 6087
54d8a644
PK
60882011-10-25 Paul Koning <paul_koning@dell.com>
6089
6090 PR python/13327
d234ef5c 6091
54d8a644
PK
6092 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6093 fetch_lazy method.
6094
b0221781
YQ
60952011-10-24 Yao Qi <yao@codesourcery.com>
6096
6097 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6098 target is tic6x-*-*.
6099
6cda5a20
JB
61002011-10-21 Joel Brobecker <brobecker@adacore.com>
6101
6102 * gdb.ada/mi_task_info/task_switch.adb: New file.
6103 * gdb.ada/mi_task_info.exp: New file.
6104
5ed9db04
JK
61052011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6106
6107 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6108 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6109
9df2fbc4
PM
61102011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6111
6112 PR python/12656
6113
6114 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6115 global_block tests.
6116
736086ba
TT
61172011-10-18 Tom Tromey <tromey@redhat.com>
6118
6119 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6120
4af31552
TT
61212011-10-18 Tom Tromey <tromey@redhat.com>
6122
6123 * gdb.base/source.exp: Don't include full file name in test name.
6124 * gdb.python/python.exp: Don't include full file name in test
6125 name.
6126
43136979
AR
61272011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6128
6129 * gdb.base/attach-pie-noexec.c: New files.
6130 * gdb.base/attach-pie-noexec.exp: New files.
6131
543a9323
JM
61322011-10-17 Joseph Myers <joseph@codesourcery.com>
6133
6134 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6135 prompt for each extra line in command.
6136
21ae7a4d
JK
61372011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6138
6139 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6140 Revert the part of:
6141 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6142 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6143 Change the expected string.
6144
20ec36d9
JK
61452011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6146
6147 Fix results with system glibc debug info installed.
6148 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6149 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6150 Accept also __libc_ symbol prefix and no prefix.
6151
6501c2fc
KS
61522011-10-14 Keith Seitz <keiths@redhat.com>
6153
6154 PR c++/13225
6155 * gdb.cp/converts.cc (foo3_1): New function.
6156 (foo3_2): New functions.
6157 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6158 and null pointer conversions of integer constant zero.
6159 Add test to check if all arguments are checked for incompatible
6160 conversion BADNESS.
6161
55b1fd0c
TT
61622011-10-14 Tom Tromey <tromey@redhat.com>
6163
6164 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6165 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6166 linespec.
6167
22c05d8a
JK
61682011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6169
6170 Fix internal error regression.
6171 * gdb.dwarf2/implptr-optimized-out.S: New file.
6172 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6173
1d6edc3c
JK
61742011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6175
6176 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6177 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6178 (loclist): New.
6179 (4): New abbrev.
6180 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6181 Use prepare_for_testing, remove clean_restart.
6182 (p arraynoloc, p arraycallnoloc): New tests.
6183
9ec72168
JK
61842011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6185
6186 * gdb.cp/namespace-enum.exp (executable): New variable.
6187 (binfile): Use ${objdir}/${subdir}/ prefix.
6188 Use ${executable} for clean_restart.
6189
9c6c53f7
SA
61902011-10-11 Sterling Augustine <saugustine@google.com>
6191
6192 * gdb.cp/Makefile.in: Add namespace-enum test.
6193 * gdb.cp/namespace-enum.exp: New file.
6194 * gdb.cp/namespace-enum.c: New file.
6195 * gdb.cp/namespace-enum-main.c: New file.
6196
fac7ceb3
UW
61972011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
6198
6199 * gdb.python/py-shared.exp: Relax filename check to handle remote:
6200 sysroot.
6201
941b2081
JK
62022011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6203
6204 Reimplement @entry in input expressions.
6205 * gdb.base/exprs.c (v_int_array_init): New variable.
6206 * gdb.base/exprs.exp (print v_int_array_init)
6207 (print *v_int_array_init@1, print *v_int_array_init@2)
6208 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6209 (print v_int_array_init[1]@1): New tests.
6210
0344e878
JM
62112011-10-10 Joseph Myers <joseph@codesourcery.com>
6212
6213 * gdb.cp/gdb2495.exp: Do not include directories in filename in
6214 expected message.
6215
5a56e9c5
DE
62162011-10-09 Doug Evans <dje@google.com>
6217
6218 * gdb.base/alias.exp: Add tests for alias command.
6219
2bda9cc5
JK
62202011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6221
6222 * gdb.arch/amd64-entry-value.s: New file.
6223 * gdb.mi/mi2-amd64-entry-value.s: New file.
6224
a471c594
JK
62252011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6226
6227 Display @entry parameter values even for references.
6228 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
6229 functions.
6230 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
6231 reference and datap_input.
6232 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
6233 breakpoints.
6234 (continue to breakpoint: entry_reference: reference)
6235 (entry_reference: bt at entry)
6236 (continue to breakpoint: entry_reference: breakhere_reference)
6237 (entry_reference: bt, entry_reference: ptype regparam)
6238 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
6239 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
6240 (entry_reference: p regcopy, entry_reference: p nodataparam)
6241 (entry_reference: p nodataparam@entry): New tests.
6242
36b11add
JK
62432011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6244
6245 Support @entry in input expressions.
6246 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
6247 (entry_stack: p s1@entry, entry_stack: p s2@entry)
6248 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
6249 (tailcall: p j@entry): New tests.
6250 * gdb.cp/koenig.cc (A::entry): New function.
6251 (main): Call it.
6252 * gdb.cp/koenig.exp (p entry (c)): New test.
6253
e18b2753
JK
62542011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6255
6256 Display @entry parameter values (without references).
6257 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
6258 (different, validity, invalid): New functions.
6259 (main): Call them.
6260 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
6261 stacktest, breakhere_stacktest, different, breakhere_different,
6262 breakhere_validity and breakhere_invalid.
6263 (entry: bt): Update for @entry.
6264 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
6265 (entry_validity: *, entry_invalid: *): Many new tests.
6266 * gdb.base/break.exp
6267 (run until breakpoint set at small function, optimized file): Accept
6268 also the @entry suffix.
6269 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
6270 * gdb.mi/mi2-amd64-entry-value.c: New files.
6271 * gdb.mi/mi2-amd64-entry-value.exp: New files.
6272
2d6c5dc2
JK
62732011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6274
6275 Protect entry values against self tail calls.
6276 * gdb.arch/amd64-entry-value.cc (self2, self): New.
6277 (main): Call self.
6278 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
6279 (set debug entry-values 1, self: bt debug entry-values): New tests.
6280
111c6489
JK
62812011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6282
6283 Recognize virtual tail call frames.
6284 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
6285 (amb_b, amb_a): New.
6286 (main): Call a and b.
6287 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
6288 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
6289 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
6290 New tests.
6291
8e3b41a9
JK
62922011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6293
6294 Implement basic support for DW_TAG_GNU_call_site.
6295 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
6296 * gdb.arch/amd64-entry-value.cc: New file.
6297 * gdb.arch/amd64-entry-value.exp: New file.
6298
181cebd4
JK
62992011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6300
6301 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
6302 * gdb.dwarf2/implptr-64bit.S: New file.
6303 * gdb.dwarf2/implptr-64bit.exp: New file.
6304
741f5e3c
JK
63052011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6306
6307 Fix initial language detection with -readnow.
6308 * gdb.cp/readnow-language.cc: New file.
6309 * gdb.cp/readnow-language.exp: New file.
6310
a73d2258
JK
63112011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6312
6313 Fix printed anonymous struct name.
6314 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
6315
af369495
JM
63162011-10-09 Joseph Myers <joseph@codesourcery.com>
6317
6318 * gdb.base/solib-symbol.exp: Do not include directories in
6319 filenames in expected messages.
6320
1fa57852
DE
63212011-10-07 Doug Evans <dje@google.com>
6322
6323 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
6324
bd054e06
KP
63252011-10-07 Kevin Pouget <kevin.pouget@st.com>
6326
6327 Allow Python notification of new object-file loadings.
6328 * gdb.python/py-events.exp: Test newobjfile event.
6329 * gdb.python/py-events.py: Register newobjfile callback.
6330 * gdb.python/py-events.c: Add call to shared library
6331 * gdb.python/py-events-shlib.c: New file.
6332
8031b6f8
JM
63332011-10-06 Joseph Myers <joseph@codesourcery.com>
6334
6335 * gdb.base/fixsection.exp: Do not include directories in filename
6336 in expected message.
6337
7fea6923
PM
63382011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6339
6340 Add tests for passing of environment variables to inferior.
6341 * gdb.base/testenv.c: New test source.
6342 * gdb.base/testenv.exp: New expect test.
6343
687f2a88
PK
63442011-10-04 Paul Koning <paul_koning@dell.com>
6345
6346 * gdb.python/py-value.c (main): Break before return.
6347
cb6be26b
KP
63482011-10-04 Kevin Pouget <kevin.pouget@st.com>
6349
6350 PR python/12691: Add the inferior to Python exited event
6351 * gdb.python/py-events.exp: Test the inferior attribute of exited
6352 event with a fork.
6353 * gdb.python/py-events.py: Print inferior number on exit.
6354 * gdb.python/py-events.c: Fork the inferior.
6355
fb213700
EBM
63562011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
6357
6358 * gdb.base/jit.exp: Add testcase name to log message
6359
aa2071bd
PK
63602011-10-03 Paul Koning <paul_koning@dell.com>
6361 Jan Kratochvil <jan.kratochvil@redhat.com>
6362
6363 * gdb.python/py-value.exp
6364 (python inval = gdb.parse_and_eval('*(int*)0'))
6365 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
6366 (set argc=2, python print argc_lazy): New tests.
6367
dd11a36c
JB
63682011-10-02 Joel Brobecker <brobecker@adacore.com>
6369
6370 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
6371
46f886f1
JK
63722011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6373 Pedro Alves <pedro@codesourcery.com>
6374
6375 * gdb.python/py-value.exp (test_value_in_inferior): New variable
6376 can_read_0, test for it.
6377 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
6378 (parse_and_eval with memory error): ... here, make it untested if
6379 can_read_0.
6380
c5cb204f
MP
63812011-09-30 Marek Polacek <mpolacek@redhat.com>
6382
6383 * gdb.python/python.exp (verify pagination beforehand)
6384 (verify pagination afterwards): Fix race by splitting the line.
6385
68fb0ec0
JM
63862011-09-29 Joseph Myers <joseph@codesourcery.com>
6387
6388 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
6389 for 64-bit multilibs from i?86-* targets.
6390
6aee0d90
MP
63912011-09-29 Marek Polacek <mpolacek@redhat.com>
6392
6393 * lib/gdb.exp: Fix a typo in one of the comments.
6394
e9101ff5
MP
63952011-09-29 Marek Polacek <mpolacek@redhat.com>
6396
6397 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
6398 matching pattern.
6399
7a81bdbf
PK
64002011-09-28 Paul Koning <paul_koning@dell.com>
6401
6402 * gdb.python/py-type.c (enum E): New.
6403 * gdb.python/py-type.exp (test_fields): Add tests for Python
6404 mapping access to fields.
6405 (test_enums): New test for field access on enums.
6406
6710bf39
SS
64072011-09-27 Stan Shebs <stan@codesourcery.com>
6408
6409 * gdb.trace/collection.exp: Test collection of $_ret.
6410
b2a6bdeb
AT
64112011-09-22 Andreas Tobler <andreast@fgznet.ch>
6412
6413 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
6414 list of compilation switches for <*-*-freebsd*>.
6415
3c9057f3
SS
64162011-09-19 Stan Shebs <stan@codesourcery.com>
6417
6418 * gdb.trace/tspeed.exp: New file.
6419 * gdb.trace/tspeed.c: New file.
6420
34518530
YQ
64212011-09-18 Yao Qi <yao@codesourcery.com>
6422
6423 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
6424 instructions.
6425 (test_adr_32bit, test_pop_pc): Likewise.
6426 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
6427 Thumb instructions.
6428 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
6429 in gdb_test_multiple.
6430 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
6431
ab254057
YQ
64322011-09-17 Yao Qi <yao@codesourcery.com>
6433
6434 * lib/gdb.exp (can_single_step_to_signal_handler): New.
6435 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
6436 support single step to signal handler.
6437
9c317b71
YQ
64382011-09-17 Yao Qi <yao@codesourcery.com>
6439
6440 * gdb.base/disp-step-fork.c: New.
6441 * gdb.base/disp-step-syscall.exp: New.
6442 * gdb.base/disp-step-vfork.c: New.
6443
a8123151
JB
64442011-09-16 Joel Brobecker <brobecker@adacore.com>
6445
6446 * gdb.ada/tasks.exp: Make the expected output for
6447 the `info tasks' tests more resilient to spacing
6448 changes.
6449
63a9aad8
JK
64502011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6451
6452 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
6453 (reached breakpoint 2, reached breakpoint 3): Update expected output.
6454
2aa48337
KP
64552011-09-15 Kevin Pouget <kevin.pouget@st.com>
6456
6457 PR Python/12692 Add gdb.selected_inferior() to Python interface.
6458 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
6459
6839b47f
KP
64602011-04-30 Kevin Pouget <kevin.pouget@st.com>
6461
6462 Handle multiple breakpoint hits in Python interface:
6463 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
6464 presence.
6465 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
6466 breakpoint hits.
6467
0935723e
JK
64682011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6469 Jan Kratochvil <jan.kratochvil@redhat.com>
6470
6471 * gdb.python/py-events.exp: Remove pretty printing comment.
6472 * gdb.python/py-evsignal.exp: New file.
6473 * gdb.python/py-evthreads.c: Include signal.h.
6474 (thread3): Remove variable count3. Remove variable bad and use raise
6475 instead.
6476 (thread2): Remove variable count2. Move thread3 pthread_create here,
6477 merge pthread_join to a single line.
6478 (main): Remove variable count1. Merge pthread_join with pthread_create
6479 to a single line.
6480 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
6481 KFAIL python/12966 for gdbserver. Test return value of
6482 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
6483 gdb_expect by gdb_test and gdb_test_multiple.
6484 (thread 2, thread 3): New tests.
6485
4801a9a3
PA
64862011-09-12 Matt Rice <ratmice@gmail.com>
6487 Pedro Alves <pedro@codesourcery.com>
6488
6489 PR gdb/13175
6490
6491 * gdb.base/interp.exp: New tests.
6492 * gdb.base/interp.c: New file.
6493
24ece742
DE
64942011-09-12 Doug Evans <dje@google.com>
6495
6496 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
6497 * gdb.dwarf2/typeddwarf.exp: Ditto.
6498
7f062217
JK
64992011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6500
6501 Fix compatibility with x32 arch.
6502 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
6503 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
6504 is_x86_like_target.
6505 * testsuite/gdb.trace/collection.exp: Likewise.
6506 * testsuite/gdb.trace/report.exp: Likewise.
6507 * testsuite/gdb.trace/unavailable.exp: Likewise.
6508 * testsuite/gdb.trace/while-dyn.exp: Likewise.
6509 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
6510 (is_x86_like_target): Check also is_amd64_regs_target.
6511
08711b9a
JK
65122011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6513
6514 PR breakpoints/12435
6515 * gdb.arch/amd64-prologue-xmm.c: New file.
6516 * gdb.arch/amd64-prologue-xmm.exp: New file.
6517 * gdb.arch/amd64-prologue-xmm.s: New file.
6518
b99b5f66
JK
65192011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6520
6521 * gdb.dwarf2/dw2-param-error-main.c: New file.
6522 * gdb.dwarf2/dw2-param-error.S: New file.
6523 * gdb.dwarf2/dw2-param-error.exp: New file.
6524
a391a2f6
PA
65252011-09-08 Pedro Alves <pedro@codesourcery.com>
6526
6527 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
6528 inferior's pid and look for a core dump named core.$pid. Use
6529 `remote_file' commands on the host instead of hand coding shell
6530 commands on the build.
6531 * gdb.base/valgrind-db-attach.exp: Kill the program before
6532 finishing the test.
6533
7d8e6458 65342011-09-02 Matt Rice <ratmice@gmail.com>
6535
6536 * lib/prompt.exp: New file for testing the first prompt.
6537 * gdb.python/py-prompt.exp: Ditto.
6538 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6539
68e77c9e
PA
65402011-09-02 Pedro Alves <pedro@codesourcery.com>
6541
6542 * gdb.threads/gcore-thread.exp: Set the global core_supported to
6543 0, before testing gcore.
6544
9655e943
JK
65452011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6546
df6dc84d
JK
6547 * dw2-ifort-parameter-debug.S: Update copyright year.
6548 * dw2-ifort-parameter.c: Update copyright year.
6549 * dw2-ifort-parameter.exp: Update copyright year.
6550
9655e943
JK
6551 * dw2-ifort-parameter-debug.S: New file.
6552 * dw2-ifort-parameter.c: New file.
6553 * dw2-ifort-parameter.exp: New file.
6554
353d1d73
JK
65552011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6556
6557 * gdb.base/commands.exp (error_clears_commands_left): New function.
6558 (): Call it.
6559
5c07461a
JK
65602011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6561
6562 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6563 (C): Initialize `a'.
6564 * gdb.mi/mi-inheritance-syntax-error.exp
6565 (-data-evaluate-expression $path): Expect `a' as 5.
6566
0d932b2f
MK
65672011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
6568
6569 PR mi/11912
6570 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6571 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6572 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6573 keyword in output of -var-info-path-expression.
6574
bdb54049
JK
65752011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6576
6577 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6578 * gdb.trace/collection.exp: Likewise.
6579 * gdb.trace/report.exp: Likewise.
6580 * gdb.trace/unavailable.exp: Likewise.
6581 * gdb.trace/while-dyn.exp: Likewise.
6582
59cde39c
KS
65832011-08-18 Keith Seitz <keiths@redhat.com>
6584
6585 PR c++/12266
6586 * gdb.cp/meth-typedefs.cc: New file.
6587 * gdb.cp/meth-typedefs.exp: New file.
6588
fa3a4f15
PM
65892011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6590
6fdff2c5 6591 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 6592
c1049fca
JK
65932011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6594
6595 * gdb.arch/i386-dr3-watch.exp
6596 (watchpoint on gap1 does not fit debug registers)
6597 (delete all watchpoints): Fix racy expect strings.
6598
d93f7b5c
YQ
65992011-08-14 Yao Qi <yao@codesourcery.com>
6600
6601 * gdb.base/maint.exp: set data_section to ".neardata".
6602 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6603 * gdb.base/savedregs.exp: Handle SIGILL.
6604 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6605 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6606
457e09f0
DE
66072011-08-12 Doug Evans <dje@google.com>
6608
6609 * gdb.python/py-symbol.exp: Add test for symbol.type.
6610
5d0bb2fb
UW
66112011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6612
6613 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6614 * gdb.mi/mi-pthreads.exp: Likewise.
6615 * gdb.mi/mi2-pthreads.exp: Likewise.
6616 * gdb.mi/gdb669.exp.exp: Likewise.
6617
fcdfa280
PA
66182011-08-09 Pedro Alves <pedro@codesourcery.com>
6619
6620 * lib/mi-support.exp (detect_async): Rename to...
6621 (mi_detect_async): ... this.
6622 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6623 * gdb.mi/mi-nonstop.exp: Adjust.
6624 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6625 * gdb.mi/mi-nsintrall.exp: Adjust.
6626 * gdb.mi/mi-nsmoribund.exp: Adjust.
6627 * gdb.mi/mi-nsthrexec.exp: Adjust.
6628
9d8fa392
PA
66292011-08-09 Pedro Alves <pedro@codesourcery.com>
6630
6631 * gdb.base/display.c (do_loops): New `p_i' local.
6632 * gdb.base/display.exp: Test displaying a variable that is
6633 temporarily at a bad address.
6634
b6cede78
JK
66352011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6636
6637 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6638 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6639
67bedb8c
JK
66402011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6641
6642 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
6643 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6644 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 6645
af6e93b2
PA
66462011-08-05 Pedro Alves <pedro@codesourcery.com>
6647
6648 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6649 procedure.
6650 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6651
1cf0e11f
YQ
66522011-08-05 Yao Qi <yao@codesourcery.com>
6653
6654 * gdb.base/callfuncs.exp: Set language after main.
6655 * gdb.cp/cplusfuncs.exp: Likewise.
6656 * gdb.cp/inherit.exp: Likewise.
6657
a1e28cb2
UW
66582011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6659
6660 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6661 * gdb.base/watch-vfork.exp: Skip on remote targets.
6662
d4f5bbb9
UW
66632011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6664
6665 * gdb.threads/thread-find.exp: Support remote targets.
6666
724f4f80
UW
66672011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6668
6669 * gdb.base/jit.exp: Download solib_binfile to target.
6670 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6671 and call dlopen without full path name.
6672 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6673 dlopen without full path name.
6674
934709f0
PW
66752011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6676
6677 * gdb.base/break-always.exp: Complete the test
6678 with duplicated breakpoints and enabling/disabling them.
6679
c26106c4
TT
66802011-08-02 Tom Tromey <tromey@redhat.com>
6681
6682 PR gdb/11289:
6683 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6684
9300444e 66852011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
6686
6687 PR gdb/13045
6688 * gdb.base/float.exp: Add new test case for PR gdb/13045
6689 * gdb.base/float.c: New file.
6690
00bd41d6
PM
66912011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6692
6693 * gdb.python/py-mi.exp: Test printers returning string hint, and
6694 also not returning a value.
6695 * gdb.python/py-prettyprint.c: Add testcase for above.
6696 * gdb.python/py-prettyprint.py: Add test printer for above.
6697
d24f74ce
JK
66982011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6699
6700 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6701 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6702 (.Ldie30) Add as field "data4".
6703 (.Ldie32) Rename field "b" to "shl".
6704 (abbrev4) Change for the "data4" field.
6705 (abbrev5, abbrev6) Remove.
6706 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6707 (p &s.shl): ... here. Add comment.
6708 (p &s.data4): New.
6709
bb7da2bf
JK
67102011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6711
6712 Fix crash on lval_computed values.
6713 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6714
11081198
JK
67152011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6716
6717 * gdb.base/help.exp (help whatis): Update the expected string.
6718
3c6e0cb3
JK
67192011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6720
6721 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6722 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6723 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6724 Change the expected string.
6725
efa80663
PA
67262011-07-26 Pedro Alves <pedro@codesourcery.com>
6727
6728 * gdb.base/watchpoint.exp
6729 (test_disable_enable_software_watchpoint): New procedure.
6730 (top level): Run it.
6731
db8e4570
UW
67322011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
6733
6734 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
6735 executable file "${binfile}", C++ version "${binfile}-cxx".
6736 * gdb.python/py-prettyprint.exp: Likewise.
6737 * gdb.python/py-symbol.exp: Likewise.
6738 * gdb.python/py-type.exp: Likewise.
6739 * gdb.python/py-value.exp: Likewise.
6740 * gdb.python/py-template.exp (test_template_arg): Pass full executable
6741 file name instead of just suffix.
6742
543305c9
JK
67432011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6744
6745 Fix implicit pointer offsets.
6746 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6747 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6748 (continue to breakpoint: continue to baz breakpoint for implptr)
6749 (sanity check element 0, sanity check element 1)
6750 (enter the inlined function, check element 0 for the offset)
6751 (check element 1 for the offset)
6752 (continue to breakpoint: ignore the second baz breakpoint): New tests.
6753 (set foo breakpoint for implptr): Update the breakpoint number.
6754
b3215adc
UW
67552011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6756
6757 * gdb.python/py-mi.exp: Use different file names for different
6758 versions of the executable under test.
6759 * gdb.python/py-prettyprint.exp: Likewise.
6760 * gdb.python/py-symbol.exp: Likewise.
6761 * gdb.python/py-template.exp: Likewise.
6762 * gdb.python/py-type.exp: Likewise.
6763 * gdb.python/py-value.exp: Likewise.
6764
182b9acc
UW
67652011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6766
6767 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6768 flag after restarting GDB if necessary.
6769
e6052b5d
UW
67702011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6771
6772 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6773
1ced966e
PA
67742011-07-22 Pedro Alves <pedro@codesourcery.com>
6775
6776 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6777 backend doesn't leave used debug registers behind.
6778
3543a589
TT
67792011-07-22 Tom Tromey <tromey@redhat.com>
6780
6781 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6782 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6783 argument.
6784 * gdb.dwarf2/typeddwarf-amd64.S: New file.
6785
14d15303 67862011-07-21 Matt Rice <ratmice@gmail.com>
6787
6788 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6789 in mostlyclean rule. Add files ending in .core.
6790
9b158ba0 67912011-07-21 Matt Rice <ratmice@gmail.com>
6792
6793 PR macros/12999
6794 * gdb.base/info-macros.c: New test sources.
6795 * gdb.base/info-macros.exp: New tests.
6796
d17b6f81
PM
67972011-07-21 Phil Muldoon <pmuldoon@redhat.com>
6798
6799 * gdb.python/python.exp: Add prompt substitution tests.
6800
918dd910
JK
68012011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6802
6803 Fix crash if referenced CU is aged out.
6804 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6805 New.
6806 * gdb.dwarf2/implptr.exp: Likewise.
6807
0e37a63c
JK
68082011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6809
6810 * gdb.dwarf2/implptr.S: Rebuilt.
6811 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6812 (bar): Use them for j, k, l.
6813 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6814 COMPILE.
6815 (print j in implptr:bar): Update for the intp typedef.
6816 (print p[0].x in implptr:foo): Use more exact regex.
6817
f65cf84c
TT
68182011-07-18 Tom Tromey <tromey@redhat.com>
6819
6820 * gdb.cp/static-method.exp: Add missing single quote.
6821
d5b4a7be
YQ
68222011-07-18 Yao Qi <yao@codesourcery.com>
6823
6824 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6825 supported.
6826 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6827 * gdb.mi/mi-nonstop.exp: Likewise.
6828 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6829 * gdb.mi/mi-nsintrall.exp: Likewise.
6830 * gdb.mi/mi-nsmoribund.exp: Likewise.
6831 * gdb.mi/mi-nsthrexec.exp: Likewise.
6832 * gdb.python/py-evthreads.exp: Likewise.
6833
e9ea2662
JK
68342011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6835
6836 Code cleanup.
6837 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6838 it. Substitute it instead of test_compiler_info everywhere.
6839
ce451573
UW
68402011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6841
6842 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6843 remote targets as well.
6844
756d88a7
UW
68452011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6846
6847 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6848 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6849
31f83dc5
UW
68502011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6851
6852 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6853 a remote machine, not the host.
6854 (gdb_compile_shlib): Set soname if target is remote.
6855
059241a0
PP
68562011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6857
6858 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6859
28a0b48c 68602011-07-13 Matt Rice <ratmice@gmail.com>
6861
6862 * gdb.python/py-objfile-script-gdb.py: Renamed to
6863 py-objfile-script-gdb.py.in.
6864 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6865 py-objfile-script-gdb.py.
6866 * gdb.python/py-objfile-script.exp: Update reference to
6867 py-objfile-script-gdb.py.
6868
9a771b67
JK
68692011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6870
6871 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6872 reference undefined label.
6873
04ad99e6
JK
68742011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6875
6876 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6877 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6878 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6879 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6880
713389e0
PM
68812011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6882
6fdff2c5 6883 PR python/12438
713389e0 6884 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 6885 deprecated tests. Add set/show python print-backtrace tests.
713389e0 6886
97d146f8
JK
68872011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6888
6889 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6890 debug info.
6891
facde0e5 68922011-07-06 Matt Rice <ratmice@gmail.com>
6893
6894 * gdb.python/python.exp: Update filename paths.
6895 * gdb.python/py-symtab.exp: Ditto.
6896
438640d1
MP
68972011-07-06 Marek Polacek <mpolacek@redhat.com>
6898
6899 * gdb.python/py-evthreads.exp: Add missing `$'.
6900
33a365df
MF
69012011-07-06 Jie Zhang <jie.zhang@analog.com>
6902
6903 * config/bfin.exp: New file.
6904 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6905 * gdb.asm/bfin.inc: New file.
6906
8f7ae686
MP
69072011-07-06 Marek Polacek <mpolacek@redhat.com>
6908
df46027d 6909 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
6910 the whole output.
6911
eb2a6f42
TT
69122011-07-05 Tom Tromey <tromey@redhat.com>
6913
6914 * gdb.java/jprint.java (jprint.hi): New field.
6915 * gdb.java/jprint.exp: Print string.
6916
177b42fe
TJB
69172011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6918
6919 * gdb.base/call-sc.c: Fix typos.
6920 * gdb.base/ifelse.exp: Likewise.
6921 * gdb.base/structs.c: Likewise.
6922
3b2a0cf2
JB
69232011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6924
6925 * gdb.base/jit-so.exp: New test.
6926 * gdb.base/jit-dlmain.c: New file.
6927 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6928
46fc714c
JK
69292011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6930
6931 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
6932 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6933 * gdb.cp/pr9167.exp (p b): Likewise.
6934 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6935 (test value of P in inner_m, test type of Z in inner_m): Call
6936 setup_xfail for gcc <= 4.5.
46fc714c 6937
418c7cf7
JK
69382011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6939
6940 * gdb.cp/paren-type.cc: New files.
6941 * gdb.cp/paren-type.exp: New files.
6942
3d50dd94
JK
69432011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6944
6945 Stop on first linespec terminator instead of eating what we can.
6946 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6947 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6948 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6949 (break C::f()): ... this one.
6950 (break C::operator()()): New test.
6951 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6952 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6953 test.
6954
dcf9f4ab
JK
69552011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6956
6957 Fall back linespec to minimal symbols.
6958 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6959 error message.
6960 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
6961 * gdb.cp/minsym-fallback-main.cc: New file.
6962 * gdb.cp/minsym-fallback.cc: New file.
6963 * gdb.cp/minsym-fallback.exp: New file.
6964 * gdb.cp/minsym-fallback.h: New file.
6965
3f542ed1
JK
69662011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6967
6968 * gdb.cp/no-dmgl-verbose.cc: New file.
6969 * gdb.cp/no-dmgl-verbose.exp: New file.
6970
69712011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
6972
6973 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
6974 __GI_.
6975 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
6976 (f): New function.
6977 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
6978 (complete p 'func<short>(): ... here.
6979 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
6980 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
6981 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
6982 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
6983 Make them KFAIL gcc/49546.
6984
00eb2c4a
JB
69852011-07-01 Joel Brobecker <brobecker@adacore.com>
6986
6987 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
6988
85a20c42
JK
69892011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6990
6991 Test GCC PR debug/49546.
6992 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
6993 (test type of F in k3_m, test value of F in k3_m): New.
6994 * gdb.cp/temargs.cc (struct S3, struct K3): New.
6995 (main): New variable k3. Call k3.k3_m.
6996
d2d43431
JB
69972011-07-01 Jean-Charles Delay <delay@adacore.com>
6998
6999 * gdb.ada/packed_array.exp: Fix expected outout.
7000
54ae186f
JB
70012011-07-01 Jean-Charles Delay <delay@adacore.com>
7002
7003 * gdb.ada/packed_array.exp: fixed expected output.
7004
8f17729f
JB
70052011-07-01 Joel Brobecker <brobecker@adacore.com>
7006
7007 * gdb.ada/same_enum: New testcase.
7008
f5aa6869
JB
70092011-07-01 Joel Brobecker <brobecker@adacore.com>
7010
7011 * gdb.ada/ptr_typedef: New testcase.
7012
828292f2
JB
70132011-07-01 Joel Brobecker <brobecker@adacore.com>
7014
7015 * gdb.ada/arrayptr.exp: Add ptype test.
7016
18920c42
JB
70172011-07-01 Joel Brobecker <brobecker@adacore.com>
7018
7019 * gdb.ada/char_enum: New testcase.
7020
3536d9e3 70212011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
7022
7023 * gdb.base/dump.exp (capture_pointer_with_type): New.
7024 Get value from address instead of name.
7025 Start GDB once, and do `dump' and `restore'
7026 tests together.
7027
db863c42
MF
70282011-06-30 Jie Zhang <jie.zhang@analog.com>
7029 Mike Frysinger <vapier@gentoo.org>
7030
7031 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7032 helper functions for getting/setting remotetimeout variable.
7033 * lib/gdb.exp (gdb_load): If the target is remote, set
7034 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7035 with $loadtimeout. Set $load_ok to 0 before doing the load.
7036 Instead of returning, immediately, set $load_ok to 0. Call
7037 set_remotetimeout with $oldremotetimeout, and then return if
7038 $load_ok is 1.
7039
e9e642a8
AB
70402011-06-30 Andrew Burgess <aburgess@broadcom.com>
7041
7042 * gdb.python/py-template.exp: Don't run this test if the target
7043 does not support c++ tests.
7044
32019081
JK
70452011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7046
7047 Fix non-only rename list for Fortran modules import.
7048 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7049 tests.
7050 * gdb.fortran/module.f90 (module moduse): New.
7051 (program module): use moduse, test var_x, var_y and var_z.
7052
0ecee54c
TT
70532011-06-29 Tom Tromey <tromey@redhat.com>
7054
7055 PR testsuite/12040:
7056 * gdb.fortran/array-element.exp: Use f90, not f77.
7057 * gdb.fortran/complex.exp: Use f90, not f77.
7058 * gdb.fortran/derived-type.exp: Use f90, not f77.
7059 * gdb.fortran/library-module.exp: Use f90, not f77.
7060 * gdb.fortran/logical.exp: Use f90, not f77.
7061 * gdb.fortran/module.exp: Use f90, not f77.
7062 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7063 * gdb.fortran/subarray.exp: Use f90, not f77.
7064
3b2b8fea
TT
70652011-06-29 Tom Tromey <tromey@redhat.com>
7066
7067 * gdb.fortran/charset.exp: New file.
7068 * gdb.fortran/charset.f90: New file.
7069
42159ca5
TT
70702011-06-29 Tom Tromey <tromey@redhat.com>
7071
7072 PR testsuite/12040:
7073 * lib/future.exp: New file, mostly extracted from ada.exp.
7074 Rewrote compatibility code to use rename.
7075 (gdb_find_gfortran): New proc.
7076 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7077 gfortran patch.
7078 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7079 Move to future.exp.
7080 * lib/gdb.exp: Always load future.exp.
7081
af69a5ce
YQ
70822011-06-28 Yao Qi <yao@codesourcery.com>
7083
7084 * gdb.cp/exception.cc: Don't include iostream.
7085 (bar): Remove print statement.
7086 (catcher): New.
7087 (main): Remove print statements. Call function catcher.
7088 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7089 Set breakpoint on catcher, and check the value of parameter.
7090
ab5c6a72
YQ
70912011-06-23 Yao Qi <yao@codesourcery.com>
7092
6fdff2c5
PA
7093 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7094 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 7095
9497469f
MP
70962011-06-23 Marek Polacek <mpolacek@redhat.com>
7097
7098 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7099 mi_gdb_test.
7100
b9132588
MP
71012011-06-23 Marek Polacek <mpolacek@redhat.com>
7102
5d197ed0 7103 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 7104
e55595ca
MP
71052011-06-23 Marek Polacek <mpolacek@redhat.com>
7106
5d197ed0
MP
7107 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7108
71092011-06-23 Marek Polacek <mpolacek@redhat.com>
7110
7111 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7112 `test_exec_and_symbol_mi_operatons' return value.
7113 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7114 gdb_test_multiple.
7115 (test_exec_and_symbol_mi_operatons): Likewise.
7116 (test_path_specification): Likewise.
e55595ca 7117
be777e08
YQ
71182011-06-23 Yao Qi <yao@codesourcery.com>
7119
7120 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7121 supported.
7122 * lib/gdb.exp (support_displaced_stepping): New.
7123
615556d6
YQ
71242011-06-23 Yao Qi <yao@codesourcery.com>
7125
7126 * gdb.threads/execl.exp: Skip on remote target.
7127
833b0ca7
MP
71282011-06-21 Marek Polacek <mpolacek@redhat.com>
7129
5d197ed0 7130 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
7131 mi_gdb_test.
7132
1ee4023a
MP
71332011-06-20 Marek Polacek <mpolacek@redhat.com>
7134
5d197ed0 7135 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 7136
d0b1d624
MP
71372011-06-20 Marek Polacek <mpolacek@redhat.com>
7138
5d197ed0 7139 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
7140 mi_gdb_test.
7141
79aa92c1
MP
71422011-06-20 Marek Polacek <mpolacek@redhat.com>
7143
5d197ed0 7144 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 7145
5ce5db06
YQ
71462011-06-14 Yao Qi <yao@codesourcery.com>
7147
7148 gdb/testsuite/
7149 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7150
533a737e
JK
71512011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7152
7153 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7154
d0e53741
TT
71552011-06-10 Tom Tromey <tromey@redhat.com>
7156
7157 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7158 Add tests for pointer-to-member-function.
7159 * gdb.cp/temargs.cc (S::somefunc): New function.
7160 (K2): New class.
7161 (main): Instantiate K2; call method.
7162
b5916bbd
JB
71632011-06-08 Joel Brobecker <brobecker@adacore.com>
7164
7165 * gdb.python/py-inferior.c (f2): Make str an array rather
7166 than a pointer.
7167 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7168
5be4dfca
JK
71692011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7170
7171 * gdb.base/async-shell.c: New file.
7172 * gdb.base/async-shell.exp: New file.
7173
9f47e254
PA
71742011-06-06 Pedro Alves <pedro@codesourcery.com>
7175
7176 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7177
64b9b334
JB
71782011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7179
7180 From Stephen Kitt <steve@sk2.org>
7181 * gdb.base/help.exp: Adjust following some spelling corrections
7182 in GDB.
7183
dbc0f131
YQ
71842011-06-01 Yao Qi <yao@codesourcery.com>
7185
7186 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7187
fd336a18
KS
71882010-05-31 Keith Seitz <keiths@redhat.com>
7189
7190 PR c++/12750
7191 * gdb.cp/static-method.cc: New file.
7192 * gdb.cp/static-method.exp: New file.
7193
fa8b9902
KS
71942010-05-31 Keith Seitz <keiths@redhat.com>
7195
7196 PR symtab/12704
7197 * gdb.cp/anon-ns.cc: New file.
7198 * gdb.cp/anon-ns.exp: New file.
7199
0a5b1e09
PA
72002011-05-31 Pedro Alves <pedro@codesourcery.com>
7201
7202 * gdb.arch/i386-dr3-watch.c: New file.
7203 * gdb.arch/i386-dr3-watch.exp: New file.
7204
0578b8d1
YQ
72052011-05-30 Yao Qi <yao@codesourcery.com>
7206
7207 * gdb.base/callfuncs.c (t_structs_fc): New.
7208 (t_structs_dc, t_structs_ldc): New.
7209 (t_double_many_args):
7210 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7211 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7212 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7213 * gdb.base/callfuncs.exp: Call new functions.
7214
6680506e
YQ
72152011-05-30 Yao Qi <yao@codesourcery.com>
7216
ff4d2c60
YQ
7217 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
7218 Call rerun_and_prepare for each test to isolate effects.
7219
72202011-05-30 Yao Qi <yao@codesourcery.com>
7221
7222 * gdb.base/varargs.c (find_max_float_real): New.
7223 (find_max_double_real, find_max_long_double_real): New.
7224 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
7225 * lib/gdb.exp (setup_kfail_for_target): New.
7226
e43ec454
YQ
72272011-05-30 Yao Qi <yao@codesourcery.com>
7228
7229 * gdb.base/funcargs.c (callca, callcb, callcc): New.
7230 (callcd, callce, callcf, callc1a, callc1b): New.
7231 (callc2a, callc2b): New.
7232 * gdb.base/funcargs.exp (complex_args): New.
7233 (complex_integral_args, complex_float_integral_args): New.
7234 * lib/gdb.exp (support_complex_tests): New. Determine
7235 whether to run test cases on _Complex types.
7236
432b4d03
JK
72372011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7238
7239 * gdb.threads/leader-exit.c: New file.
7240 * gdb.threads/leader-exit.exp: New file.
7241
6caf069d
MP
72422011-05-27 Marek Polacek <mpolacek@redhat.com>
7243
9497469f 7244 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 7245
97fce28b
MP
72462011-05-27 Marek Polacek <mpolacek@redhat.com>
7247
7248 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
7249 remove the `supported' variable.
7250 * gdb.mi/mi-nonstop.exp: Likewise.
7251 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7252 * gdb.mi/mi-nsintrall.exp: Likewise.
7253 * gdb.mi/mi-nsmoribund.exp: Likewise.
7254 * gdb.mi/mi-nsthrexec.exp: Likewise.
7255
9da8c2a0
PA
72562011-05-26 Pedro Alves <pedro@codesourcery.com>
7257
7258 * gdb.reverse/finish-reverse-bkpt.exp: New test.
7259
2c03e5be
PA
72602011-05-26 Pedro Alves <pedro@codesourcery.com>
7261
7262 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
7263
2e21250d
KS
72642011-05-24 Keith Seitz <keiths@redhat.com>
7265
7266 PR breakpoint/12803
7267 * gdb.cp/cmpd-minsyms.cc (a): New method.
7268 (b): New method.
7269 (c): New method.
7270 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
7271
cdac0397
PA
72722011-05-24 Pedro Alves <pedro@codesourcery.com>
7273
7274 * gdb.base/commands.exp (watchpoint_command_test): Check that the
7275 watchpoint's command list didn't execute when the watchpoint went
7276 out of scope.
7277
ee5683ab
PM
72782011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
7279
7280 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
7281 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
7282 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
7283 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7284 * gdb.arch/i386-permbkpt.exp: Likewise.
7285 * gdb.arch/i386-prologue.exp: Likewise.
7286 * gdb.arch/i386-size-overlap.exp: Likewise.
7287 * gdb.arch/i386-size.exp: Likewise.
7288 * gdb.arch/i386-unwind.exp: Likewise.
7289 * gdb.reverse/i386-precsave.exp: Likewise.
7290 * gdb.reverse/i386-reverse.exp: Likewise.
7291 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7292 * gdb.reverse/i387-env-reverse.exp: Likewise.
7293 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7294
c91c8c16
PA
72952011-05-24 Pedro Alves <pedro@codesourcery.com>
7296
7297 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
7298 file doesn't error, using MI.
7299
c50491a7
TT
73002011-05-23 Tom Tromey <tromey@redhat.com>
7301
7302 * gdb.base/charset.exp (string_display): Add tests to assign to
7303 arrays.
7304 * gdb.base/charset.c (short_array, int_array, long_array): New.
7305
4a07b7da
PA
73062011-05-20 Pedro Alves <pedro@codesourcery.com>
7307
7308 Cope with async mode.
7309
4a07b7da
PA
7310 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
7311 into gdb_test + mi_expect_stop.
7312
b275f2d2
PA
73132011-05-20 Pedro Alves <pedro@codesourcery.com>
7314
7315 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
7316 (callme): Remove printf call.
7317
eec52c44
PM
73182011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
7319
7320 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
7321 quote pattern to avoid problems with Cygwin/mingw expect versions.
7322 * gdb.base/default.exp (show convenience): Use double
7323 quote pattern for regular expressions.
7324
b3c8eb43
JK
73252011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7326
7327 Fix -readnow for -gdwarf-4 unused type units.
7328 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
7329 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
7330
ed731959
JK
73312011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7332
7333 * gdb.base/kill-after-signal.c: New file.
7334 * gdb.base/kill-after-signal.exp: New file.
7335
3b48433d
PA
73362011-05-16 Pedro Alves <pedro@codesourcery.com>
7337
7338 * gdb.ada/start.exp: Call untested with the correct test filename.
7339 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
7340 test filename. Make the test's binary unique.
7341 * gdb.arch/i386-signal.exp: Call untested with the correct test
7342 filename.
7343 * gdb.arch/i386-size-overlap.exp: Ditto.
7344 * gdb.arch/Makefile.in (EXECUTABLES): Update.
7345 * gdb.base/gcore-buffer-overflow.exp: Ditto.
7346 * gdb.cp/call-c.exp: Ditto.
7347 * gdb.mi/mi-reverse.exp: Call untested with the correct test
7348 filename. Make the test's binary unique.
7349 * gdb.mi/Makefile.in (EXECUTABLES): Update.
7350 * gdb.python/py-mi.exp: Ditto.
7351 * gdb.python/Makefile.in (EXECUTABLES): Update.
7352 * gdb.reverse/i386-precsave.exp: Ditto.
7353 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
7354 test filename.
7355 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7356 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
7357 unique.
7358 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
7359 test filename.
7360 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
7361 * gdb.trace/tfile.exp: Ditto.
7362
ba4a8bdd
YQ
73632011-05-14 Yao Qi <yao@codesourcery.com>
7364
7365 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
7366 type.
7367
dbaefcf7
DE
73682011-05-13 Doug Evans <dje@google.com>
7369
7370 * gdb.python/py-objfile-script.exp: New file.
7371 * gdb.python/py-objfile-script.c: New file.
7372 * gdb.python/py-objfile-script-gdb.py: New file.
7373 * testsuite/gdb.python/py-section-script.exp: Test
7374 "info auto-load-scripts".
7375
9930639c
TT
73762011-05-13 Tom Tromey <tromey@redhat.com>
7377
7378 * gdb.dwarf2/clztest.exp: New file.
7379 * gdb.dwarf2/clztest.c: New file.
7380 * gdb.dwarf2/clztest.S: New file.
7381
05272e11
DE
73822011-05-13 Doug Evans <dje@google.com>
7383
cc63ef9b
DE
7384 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
7385 String16 tests.
05272e11 7386
6edba76f
TT
73872011-05-13 Tom Tromey <tromey@redhat.com>
7388
7389 * lib/gdb.exp (is_x86_like_target): New proc.
7390 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
7391 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
7392 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
7393 -nostdlib to compiler.
7394 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
7395 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
7396 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
7397 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
7398 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
7399
028d0ed5
TJB
74002011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7401
7402 * gdb.python/py-function.exp: Test setting a value from a function
7403 which executes a command.
7404
8a9b8146
TT
74052011-05-12 Tom Tromey <tromey@redhat.com>
7406
7407 * gdb.dwarf2/typeddwarf.S: New file.
7408 * gdb.dwarf2/typeddwarf.c: New file.
7409 * gdb.dwarf2/typeddwarf.exp: New file.
7410
10483e8e
MP
74112011-05-12 Marek Polacek <mpolacek@redhat.com>
7412
7413 * gdb.mi/mi-basics.exp: Fix races. Honour the
7414 `test_exec_and_symbol_mi_operatons' return value.
7415 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7416 gdb_test_multiple.
7417 (test_exec_and_symbol_mi_operatons): Likewise.
7418 (test_path_specification): Likewise.
7419
faf067f1
JK
74202011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7421
7422 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
7423 (gdb_touch_execfile): Remove catch wrappers. New variable time.
7424 Replace `file copy' and `file rename' by `file mtime'. Twice.
7425
7ff911a3
JK
74262011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7427
7428 * gdb.base/readline-ask.c: New file.
7429 * gdb.base/readline-ask.exp: New file.
7430 * gdb.base/readline-ask.inputrc: New file.
7431
a536c6d7
UW
74322011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
7433
7434 * gdb.cell/bt.exp: Delete breakpoints before running to signal
7435 to avoid race condition.
7436 * gdb.cell/coremaker.c: Use small stack size.
7437 * gdb.cell/ea-standalone.exp: Use file name without path as
7438 argument to c_to.
7439 * gdb.cell/fork.exp: Allow other output when continuing to end.
7440
d472a426
JK
74412011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7442
7443 * gdb.threads/corethreads.c: New file.
7444 * gdb.threads/corethreads.exp: New file.
7445
74462011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
7447
7448 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
7449 Try to compile the test using -Wl,-z,norelro first.
7450 (load_core): New variable libthread_db_seen, initialize it.
7451 (zeroed-threads cannot be listed): Protect it by XFAIL on
7452 !$libthread_db_seen.
7453
8be455d7
JK
74542011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7455
7456 PR 12573
7457 * gdb.dwarf2/dw2-skip-prologue.S: New file.
7458 * gdb.dwarf2/dw2-skip-prologue.c: New file.
7459 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
7460
1976171a
JK
74612011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7462
7463 * gdb.cp/psymtab-parameter.cc: New file.
7464 * gdb.cp/psymtab-parameter.exp: New file.
7465
7db6f30f
JK
74662011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7467
7468 Fix a race.
7469 * gdb.cp/static-print-quit.exp (print c): Split to ...
7470 (print c - <return>, print c - q <return>, print c - to quit):
7471 ... these. Make the testfile untested on gdb-7.1.
7472
85161e9e 74732011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
7474
7475 * lib/gdb.exp (exec_target_file, exec_symbol_file,
7476 gdb_rename_execfile, gdb_touch_execfile): New.
7477 * gdb.base/reread.exp: Use new procs to handle multiple
7478 exec files.
7479
0c51be18
YQ
74802011-05-05 Yao Qi <yao@codesourcery.com>
7481
7482 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
7483 (test_adr_32bit, test_pop_pc): New.
7484 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
7485 (test_adr_32bit, test_pop_pc): New.
7486
4d393d60
JM
74872011-05-04 Joseph Myers <joseph@codesourcery.com>
7488
7489 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
7490 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
7491 targets.
7492 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
7493 handle targets.
7494
8ffd0459
JK
74952011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7496
7497 * gdb.base/completion.exp (complete help info wat): Rename to ...
7498 (complete 'help info wat'): ... here.
7499 Remove all `-re ".*' and `-re "^.*' redundant regexes.
7500 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
7501
8e28d804
PA
75022011-05-04 Pedro Alves <pedro@codesourcery.com>
7503
7504 * gdb.base/completion.exp: Use gdb_test_multiple instead of
7505 gdb_test and explicit $gdb_prompt/timeout matches.
7506
3eb2ef34
YQ
75072011-05-04 Yao Qi <yao@codesourcery.com>
7508
7509 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
7510 and __thumb2__.
7511
aaaf81a3
MP
75122011-05-03 Marek Polacek <mpolacek@redhat.com>
7513
7514 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
7515 in place of `gdb_test "delete breakpoints"'. This eliminates two
7516 testcases.
7517
c4cbc0df
PA
75182011-05-02 Pedro Alves <pedro@codesourcery.com>
7519
7520 PR testsuite/12649
7521 Fix races.
7522
7523 * gdb.base/completion.exp: Remove all sleep calls. Remove
7524 unnecessary regexs. Don't explicitly expect anything after the
7525 prompt. Eat the prompt if necessary.
7526
b4cbb4a3
EBM
75272011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7528
7529 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
7530 accept to show the caller line again as well as the line after.
7531
d65aec65
PM
75322011-04-29 Phil Muldoon <pmuldoon@redhat.com>
7533
7534 PR mi/12531
7535
7536 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7537 compile target.
7538 * gdb.python/py-prettyprint.exp: Add C++ object for
7539 CPLUS_FAKE_CHILD test.
7540
30852783
UW
75412011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
7542
7543 * gdb.base/signest.exp: New file.
7544 * gdb.base/signest.c: Likewise.
7545
c7b1f0d9
JK
75462011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7547
7548 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7549 thread and breakpoint notifications.
7550
559a7a62
JK
75512011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7552
7553 * gdb.base/fortran-sym-case.c: New file.
7554 * gdb.base/fortran-sym-case.exp: New file.
7555 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7556 * gdb.dwarf2/dw2-case-insensitive.c: New file.
7557 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7558
8344e389
JK
75592011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7560
7561 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7562 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7563 false #1', `if true else false #2' and `if true else false #3'.
7564
2484c66b
UW
75652011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
7566
7567 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7568 while delivering signal.
7569
8d3788bd
VP
75702011-04-27 Vladimir Prus <vladimir@codesourcery.com>
7571
7572 MI breakpoint notifications.
7573
7574 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
7575 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7576 * testsuite/gdb.mi/mi-watch.exp: Adust.
7577 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7578 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7579 notifications.
8d3788bd 7580
3e03848b
JK
75812011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7582
7583 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7584 * gdb.base/gdbindex-stabs.c: New file.
7585 * gdb.base/gdbindex-stabs.exp: New file.
7586
918c9108
YQ
75872011-04-25 Yao Qi <yao@codesourcery.com>
7588
7589 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7590 with /*...*/.
7591 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7592
90556b8c
JK
75932011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7594
7595 * gdb.python/py-value.exp (test_objfiles): Name the first test
7596 `py-value in file.filename'.
7597
03f2bd59
JK
75982011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7599
7600 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7601 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7602 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7603 !gdbserver_reconnect_p..
7604 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7605
7b08b9eb
JK
76062011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7607
7608 * gdb.cp/cpcompletion.exp (complete class methods)
7609 (complete class methods beginning with F): Move them above runto. New
7610 comment about the runto delimiter.
7611
b78974c3
PA
76122011-04-20 Pedro Alves <pedro@codesourcery.com>
7613
7614 * gdb.base/maint.exp: Test that "maint print registers" works
7615 without a running program.
7616
20429c40 76172011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 7618
20429c40
MP
7619 * gdb.base/setshow.exp: Fix racy tests.
7620 ($old_gdb_prompt): New variable.
7621
7a9dd1b2
TT
76222011-04-19 Tom Tromey <tromey@redhat.com>
7623
7624 * gdb.mi/mi-nsmoribund.exp:
7625 * gdb.hp/gdb.objdbg/objdbg01.exp:
7626 * gdb.base/structs.exp (test_struct_returns):
7627 * gdb.base/call-sc.exp (test_scalar_returns):
7628 * gdb.base/bigcore.exp: Remove duplicate words.
7629
02835898
JK
76302011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7631
7632 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7633 * gdb.base/break-interp.exp (test_attach): New comment.
7634
254f582e
JK
76352011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7636
7637 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7638 (clear __stack_user.next, clear stack_used.next)
7639 (save a zeroed-threads corefile): New test.
7640 Call core_load for $core0file.
7641 (zeroed-threads cannot be listed): New test.
7642
4fe85f5c
JK
76432011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7644
7645 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7646 filename.
7647 ($srcfile): Preserve the original value.
7648 ($testfile): Match it the .exp filename.
7649 ($corefile): New variable. Substitute it around.
7650 Use clean_restart.
7651 ($prev_timeout): Remove.
7652 (load_core): Move core loading into this proc.
7653 Fix restore of $timeout if load_core fails.
7654
63524580
JK
76552011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7656
7657 * gdb.base/eu-strip-infcall.c: New file.
7658 * gdb.base/eu-strip-infcall.exp: New file.
7659
90359a16
JK
76602011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7661
7662 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7663 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7664
626e7282
JK
76652011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7666
7667 Fix Python access to inlined frames.
7668 * gdb.python/py-frame-inline.c: New file.
7669 * gdb.python/py-frame-inline.exp: New file.
7670
3363d018
EBM
76712011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7672
7673 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7674 content of 's24' correctly (avoiding "optimized out").
7675 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7676
28781456
JK
76772011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7678
7679 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7680
4a4106ca
TJB
76812011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7682
7683 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7684 expect a colon in watch -location output.
7685
d26ccb4f
JK
76862011-04-13 Marek Polacek <mpolacek@redhat.com>
7687
df46027d 7688 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
7689 New testcase `expect response to define backtrace'. Also remove
7690 redundant `default' block.
7691
e1ab1f9c
JK
76922011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7693
7694 * gdb.python/py-prettyprint.c (struct hint_error): New.
7695 (main): New variable hint_error.
7696 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7697 "print hint_error".
7698 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7699 (register_pretty_printers): Register it.
7700
0c2e6019
TT
77012011-04-04 Tom Tromey <tromey@redhat.com>
7702
7703 * gdb.cp/maint.exp (test_help): Update.
7704 (test_namespace): Likewise.
7705
af57139d
JB
77062011-04-01 Joel Brobecker <brobecker@adacore.com>
7707
7708 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7709 * gdb.ada/arrayptr.exp: Add new tests.
7710
956a9fb9
JB
77112011-04-01 Joel Brobecker <brobecker@adacore.com>
7712
7713 * gdb.ada/mi_catch_ex: New testcase.
7714
d0c4d642
PA
77152011-04-01 Pedro Alves <pedro@codesourcery.com>
7716
7717 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7718 base::overload(void) method without specifying "const".
7719
18819fa6
UW
77202011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
7721
7722 * gdb.arch/thumb-singlestep.S: New file.
7723 * gdb.arch/thumb-singlestep.exp: Likewise.
7724
a4c8e806
TT
77252011-03-31 Tom Tromey <tromey@redhat.com>
7726
7727 * gdb.python/py-prettyprint.py (exception_flag): New global.
7728 (NoStringContainerPrinter._iterator.next): Check it.
7729 * gdb.python/py-prettyprint.c (main): New variable nstype2.
7730 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7731
53832f31
TT
77322011-03-29 Tom Tromey <tromey@redhat.com>
7733
7734 * gdb.cp/anon-struct.cc: New file.
7735 * gdb.cp/anon-struct.exp: New file.
7736
e4620230
JK
77372011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7738
7739 Test STT_GNU_IFUNC support.
7740 * gdb.base/gnu-ifunc-lib.c: New file.
7741 * gdb.base/gnu-ifunc.c: New file.
7742 * gdb.base/gnu-ifunc.exp: New file.
7743
d0fb5eae
JK
77442011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7745
7746 Support a ring of related breakpoints.
7747 * gdb.base/watchpoint-delete.c: New file.
7748 * gdb.base/watchpoint-delete.exp: New file.
7749
20106cfb
JK
77502011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7751
7752 * gdb.ada/arrayparam.exp (print first after function call): Use
7753 explicit package name. Add a comment
7754 (print lasta after function call): Rename ...
7755 (print last after function call): ... it and use explicit package
7756 name.
7757 (print length after function call): Use explicit package name.
7758 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7759 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7760 (multiple matches for symbol i): Rename ...
7761 (multiple matches for symbol integervar): ... it.
7762 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7763 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7764
e7ab5e63
AB
77652011-03-25 Andrew Burgess <aburgess@broadcom.com>
7766
7767 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7768 environment variable to make grep output more predictable. Move
7769 all the environment setup into gdb_init so it's done once per test
7770 case rather than each time we start gdb.
7771
9ef07c8c
TT
77722011-03-24 Tom Tromey <tromey@redhat.com>
7773
7774 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
7775 test.
7776
dd90784c
JK
77772011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7778
7779 * gdb.dwarf2/dw2-entry-value-main.c: New file.
7780 * gdb.dwarf2/dw2-entry-value.S: New file.
7781 * gdb.dwarf2/dw2-entry-value.exp: New file.
7782
05775840
PM
77832011-03-22 Phil Muldoon <pmuldoon@redhat.com>
7784
6fdff2c5 7785 PR python/12183
05775840
PM
7786
7787 * gdb.python/py-function.exp: Add GdbError tests.
7788
8661b11b
PA
77892011-03-18 Pedro Alves <pedro@codesourcery.com>
7790
7791 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7792 (reglocal_test_func, statlocal_test_func): New functions.
7793 (globals_test_func): Call new functions.
7794 * gdb.trace/unavailable.exp (gdb_collect_args_test)
7795 (gdb_collect_locals_test): New procedure.
7796 (gdb_trace_collection_test): Call new procedures.
7797
0fdb4f18
PA
77982011-03-18 Pedro Alves <pedro@codesourcery.com>
7799
7800 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7801 (test_register, test_register_unavailable): New procedures.
7802 (gdb_unavailable_registers_test): New procedure.
7803 (gdb_trace_collection_test): Call it.
7804
99c3dc11
PM
78052011-03-18 Phil Muldoon <pmuldoon@redhat.com>
7806
6fdff2c5 7807 PR python/12149
99c3dc11
PM
7808
7809 * gdb.python/python.exp: Add gdb.write tests.
7810
29703da4
PM
78112010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7812
7813 * gdb.python/Makefile.in: Add py-objfile.
7814 * gdb.python/py-objfile.exp: New file.
7815 * gdb.python/py-objfile.c: New file.
7816 * gdb.python/py-block.exp: Add is_valid tests.
7817 * gdb.python/py-inferior.exp: Ditto.
7818 * gdb.python/py-infthread.exp: Ditto.
7819 * gdb.python/py-symbol.exp: Ditto.
7820 * gdb.python/py-symtab.exp: Ditto.
7821
598997c8
KS
78222011-03-16 Keith Seitz <keiths@redhat.com>
7823
7824 PR c++/12273
7825 * gdb.cp/cmpd-minsyms.exp: New test.
7826 * gdb.cp/cmpd-minsyms.cc: New file.
7827
7828 PR c++/11734
7829 * gdb.cp/ovsrch.exp: New test.
7830 * gdb.cp/ovsrch.h: New file.
7831 * gdb.cp/ovsrch1.cc: New file.
7832 * gdb.cp/ovsrch2.cc: New file.
7833 * gdb.cp/ovsrch3.cc: New file.
7834 * gdb.cp/ovsrch4.cc: New file.
7835
c91513d8
PP
78362011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7837
7838 PR gdb/12528
7839 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7840 * gdb.base/break-on-linker-gcd-function.exp: New test.
7841 * gdb.base/break-on-linker-gcd-function.cc: New file.
7842
7470fc63
AT
78432011-03-15 Andreas Tobler <andreast@fgznet.ch>
7844
7845 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7846
959e7469
PM
78472011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7848
7849 * lib/gdb.exp (gdb_unload): Add another termination case.
7850
9373cf26
JK
78512011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7852
7853 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7854 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7855 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7856 Provide a stub byte there.
7857 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7858 DW_AT_entry_pc.
7859 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7860
24e9cda0
UW
78612011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7862
7863 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7864 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7865 "generic ABI, auto".
7866 (altivec_abi_tests): Accept vectors returned by reference.
7867
7371cf6d
PM
78682010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7869
7870 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7871
ce77046a
UW
78722011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7873
7874 * gdb.python/py-section-script.exp: Skip test if no Python support.
7875
176400c3
UW
78762011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7877
7878 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7879
ecec24e6
PM
78802011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7881
7882 * gdb.python/py-parameter.exp: Update tests to the new Python
7883 parameter API. Add "no documentation" test. Add deprecated API
7884 backward compatibility test.
7885
5dbdd470
TT
78862011-03-09 Tom Tromey <tromey@redhat.com>
7887
7888 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7889 gdb_continue_to_end.
7890
b66e66ee
MK
78912011-03-09 Mark Kettenis <kettenis@gnu.org>
7892
7893 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7894 tabs.
7895
eceb0c5f
TT
78962011-03-09 Tom Tromey <tromey@redhat.com>
7897
7898 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7899 parentheses.
7900 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7901 $command.
7902 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7903 argument to gdb_continue_to_end.
7904 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7905 argument to gdb_continue_to_end.
7906 * gdb.cp/annota3.exp: Fix regex.
7907 * gdb.cp/annota2.exp: Fix regex.
7908 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7909 gdb_continue_to_end.
7910 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7911 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7912 gdb_continue_to_end.
7913
63154eca
PA
79142011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7915
7916 * gdb.server/ext-run.exp
7917 (load new file without any gdbserver inferior): New test.
7918
967d1f9b
TT
79192011-03-07 Tom Tromey <tromey@redhat.com>
7920
7921 * Makefile.in (TAGS): Rewrite.
7922
d68dcbb9
JK
79232011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7924
7925 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7926 initial commands echo. New match for `Found trace'. Anchor all the
7927 other matches. Anchor and match for `No trace frame found' the final
7928 match.
7929
6bf58e63
TT
79302011-03-07 Tom Tromey <tromey@redhat.com>
7931
7932 * Makefile.in (TAGS): New target.
7933
fda326dd
TT
79342011-03-07 Tom Tromey <tromey@redhat.com>
7935
7936 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7937 change.
7938 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7939 change.
7940 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7941 exit message change.
7942 (skip_altivec_tests): Update for exit message change.
7943 (skip_vsx_tests): Likewise.
7944 (gdb_continue_to_end): Likewise. Add 'command' argument.
7945 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7946 * gdb.threads/tls.exp: Update for exit message change.
7947 * gdb.threads/thread-unwindonsignal.exp: Use
7948 gdb_continue_to_end.
7949 * gdb.threads/step.exp (step_it): Update for exit message change.
7950 (continue_all): Likewise.
7951 * gdb.threads/print-threads.exp (test_all_threads): Update for
7952 exit message change.
7953 * gdb.threads/interrupted-hand-call.exp: Use
7954 gdb_continue_to_end.
7955 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7956 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7957 gdb_continue_to_end.
7958 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7959 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
7960 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
7961 * gdb.cp/method.exp: Update for exit message change.
7962 * gdb.cp/mb-templates.exp: Update for exit message change.
7963 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
7964 * gdb.cp/annota3.exp: Update for exit message change.
7965 * gdb.cp/annota2.exp: Update for exit message change.
7966 * gdb.cell/fork.exp: Use gdb_continue_to_end.
7967 * gdb.base/term.exp: Update for exit message change.
7968 * gdb.base/step-test.exp (test_i): Update for exit message change.
7969 * gdb.base/sigstep.exp (advance): Update for exit message change.
7970 (advancei): Likewise.
7971 * gdb.base/siginfo.exp: Update for exit message change.
7972 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
7973 * gdb.base/reread.exp: Use gdb_continue_to_end.
7974 * gdb.base/langs.exp: Use gdb_continue_to_end.
7975 * gdb.base/interrupt.exp: Update for exit message change.
7976 * gdb.base/gdb1555.exp: Update for exit message change.
7977 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
7978 * gdb.base/ending-run.exp: Update for exit message change.
7979 * gdb.base/chng-syms.exp: Update for exit message change.
7980 * gdb.base/checkpoint.exp: Update for exit message change.
7981 * gdb.base/catch-syscall.exp (check_for_program_end): Use
7982 gdb_continue_to_end.
7983 (test_catch_syscall_with_wrong_args): Likewise.
7984 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
7985 * gdb.base/break-interp.exp (test_ld): Update for exit message
7986 change.
7987 * gdb.base/bang.exp: Update for exit message change.
7988 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
7989 (do_call_attach_tests): Likewise.
7990 * gdb.base/a2-run.exp: Update for exit message change.
7991 * gdb.arch/ppc-dfp.exp: Update for exit message change.
7992 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
7993 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
7994
dd19bd70
JK
79952011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7996
7997 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
7998
30e62689
TT
79992011-03-03 Tom Tromey <tromey@redhat.com>
8000
8001 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8002 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8003 * gdb.hp/gdb.aCC/configure.ac: Remove.
8004 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8005 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8006 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8007 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8008 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8009 * gdb.hp/gdb.compat/configure.ac: Remove.
8010 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8011 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8012 * gdb.hp/gdb.defects/configure.ac: Remove.
8013 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8014 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8015 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8016 * gdb.hp/configure.ac: Remove.
8017 * gdb.hp/configure: Remove.
8018 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8019 substitution.
8020 (Makefile): Remove rule.
8021 * gdb.cell/configure.ac: Remove.
8022 * gdb.cell/configure: Remove.
8023 * gdb.stabs/Makefile.in (Makefile): Remove.
8024 (distclean): Don't remove config.status or config.log.
8025 * gdb.stabs/configure (Makefile): Remove.
8026 * gdb.stabs/configure.ac: Remove.
8027 * configure: Rebuild.
8028 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8029 Remove stabs- and cell-specific logic. Test for existence of
8030 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8031 subdirectories, gdb.cell, and and gdb.stabs.
8032 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8033
c171f854
JB
80342011-03-03 Joel Brobecker <brobecker@adacore.com>
8035
8036 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8037 end of buffer.
8038
9a5193cb
JB
80392011-03-02 Joel Brobecker <brobecker@adacore.com>
8040
8041 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8042 gdb_test when running a test where we expected no output back.
8043
9bb4c1bb
MS
80442011-02-28 Michael Snyder <msnyder@vmware.com>
8045
8046 * gdb.cp/overload.cc: Change initializer value to integer.
8047
3bd0f5ef
MS
80482011-02-27 Michael Snyder <msnyder@vmware.com>
8049
8050 * gdb.multi/base.exp: Add test for remove-inferiors.
8051
2279eaad
JB
80522011-02-26 Joel Brobecker <brobecker@adacore.com>
8053
8054 * gdb.python/py-frame.exp: Simplify the initialization phase
8055 using prepare_for_testing.
8056
c82c0b55
MS
80572011-02-25 Michael Snyder <msnyder@vmware.com>
8058
8059 * gdb.multi/base.exp: Add tests for info inferiors with args.
8060
1d94651b
JK
80612011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8062
8063 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8064 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8065 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8066 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8067 asmfile3. Comment the STABS (#3) file compilation. Compile
8068 everything through assembler. Provide KFAIL for symtab/12497.
8069 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8070 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8071 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8072 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8073
3bd0f5ef
MS
80742011-02-24 Michael Snyder <msnyder@vmware.com>
8075
8076 * gdb.base/break.exp: Add tests for delete breakpoints using
8077 convenience variables and value history references.
8078
12c1418e
MS
80792011-02-24 Michael Snyder <msnyder@vmware.com>
8080
8081 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8082 left behind in previous check-in.
8083
e5a67952
MS
80842011-02-23 Michael Snyder <msnyder@vmware.com>
8085
8086 * gdb.base/break.exp: Add tests for "info break" with arguments.
8087 * gdb.trace/infotrace.exp: Update patterns for error and help.
8088 * gdb.base/completion.exp: Update pattern.
8089 * gdb.base/ena-dis-br.exp: Update pattern.
8090 * gdb.base/help.exp: Update patterns.
8091
80922011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
8093
8094 * gdb.base/memattr.exp: New test.
8095 * gdb.base/memattr.c: Test load for memattr.exp.
8096
6e6fbe60
DE
80972011-02-22 Doug Evans <dje@google.com>
8098
8099 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8100
1d41d745
MS
81012011-02-22 Michael Snyder <msnyder@vmware.com>
8102
8103 * Makefile.in: Make more clean.
8104 * gdb.ada/Makefile.in: Ditto.
8105 * gdb.arch/Makefile.in: Ditto.
8106 * gdb.asm/Makefile.in: Ditto.
8107 * gdb.base/Makefile.in: Ditto.
8108 * gdb.cp/Makefile.in: Ditto.
8109 * gdb.dwarf2/Makefile.in: Ditto.
8110 * gdb.java/Makefile.in: Ditto.
8111 * gdb.mi/Makefile.in: Ditto.
8112 * gdb.modula2/Makefile.in: Ditto.
8113 * gdb.python/Makefile.in: Ditto.
8114 * gdb.server/Makefile.in: Ditto.
8115 * gdb.stabs/Makefile.in: Ditto.
8116 * gdb.threads/Makefile.in: Ditto.
8117 * gdb.trace/Makefile.in: Ditto.
8118
79ba84ca
MS
81192011-02-22 Michael Snyder <msnyder@vmware.com>
8120
df46027d 8121 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
8122 info threads.
8123
b9b35694
JB
81242011-02-22 Joel Brobecker <brobecker@adacore.com>
8125
8126 * gdb.python/py-breakpoint.exp: Fix the expected output of
8127 one of the "maint info breakpoints" tests to accept the output
8128 generated on platforms that do not have hardware watchpoints.
8129
8bfb830f
JB
81302011-02-22 Joel Brobecker <brobecker@adacore.com>
8131
8132 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8133 clean_restart. Be a little stricter in the expected output
8134 for one of the tests. Fix a typo in one of the comments.
8135
c45f3c54
JB
81362011-02-22 Joel Brobecker <brobecker@adacore.com>
8137
8138 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8139 Delete variable binfile, no longer use. Add or modify test
8140 comments to make them unique.
8141
b97c863c
MS
81422011-02-21 Michael Snyder <msnyder@vmware.com>
8143
8144 * Makefile.in: Update for make clean.
8145 * gdb.ada/Makefile.in: Ditto.
8146 * gdb.arch/Makefile.in: Ditto.
8147 * gdb.asm/Makefile.in: Ditto.
8148 * gdb.base/Makefile.in: Ditto.
8149 * gdb.cp/Makefile.in: Ditto.
8150 * gdb.dwarf2/Makefile.in: Ditto.
8151 * gdb.java/Makefile.in: Ditto.
8152 * gdb.mi/Makefile.in: Ditto.
8153 * gdb.modula2/Makefile.in: Ditto.
8154 * gdb.python/Makefile.in: Ditto.
8155 * gdb.server/Makefile.in: Ditto.
8156 * gdb.stabs/Makefile.in: Ditto.
8157 * gdb.threads/Makefile.in: Ditto.
8158 * gdb.trace/Makefile.in: Ditto.
8159
aea5b279
MS
81602011-02-21 Michael Snyder <msnyder@vmware.com>
8161
8162 * gdb.threads/thread-find.exp: Update patterns for changes in
8163 output of "info threads" command.
8164
e3039479
UW
81652011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8166 Ulrich Weigand <uweigand@de.ibm.com>
8167
8168 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8169 (skip_hw_watchpoint_tests): Likewise.
8170 (skip_hw_watchpoint_multi_tests): Likewise.
8171
b800ec70
UW
81722011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8173
8174 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8175 (skip_hw_watchpoint_tests): Likewise.
8176 (skip_hw_watchpoint_multi_tests): Likewise.
8177 (skip_hw_watchpoint_access_tests): Likewise.
8178
8179 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8180 * gdb.base/pr11022.exp: Likewise.
8181 * gdb.base/watch-read.exp: Likewise.
8182 * gdb.base/watch_thread_num.exp: Likewise.
8183 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8184 * gdb.base/watchpoint-hw.exp: Likewise.
8185 * gdb.base/watchpoint.exp: Likewise.
8186 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8187 * gdb.threads/watchthreads-reorder.exp: Likewise.
8188 * gdb.threads/watchthreads.exp: Likewise.
8189 * gdb.threads/watchthreads2.exp: Likewise.
8190
91033e37
JB
81912011-02-21 Joel Brobecker <brobecker@adacore.com>
8192
8193 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8194 the debugger is unable to find the array bounds.
8195
eeaafae2
JK
81962011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8197
8198 * gdb.cp/typedef-operator.exp: New file.
8199 * gdb.cp/typedef-operator.cc: New file.
8200
e338d953
MS
82012011-02-17 Michael Snyder <msnyder@vmware.com>
8202
8203 * gdb.threads/thread-find.exp: Fix regular expressions.
8204
e67ad678
JB
82052011-02-17 Joel Brobecker <brobecker@adacore.com>
8206
8207 * gdb.ada/packed_array: Expand testcase to test printing of
8208 unconstrained packed array.
8209
93084bca
JB
82102011-02-17 Joel Brobecker <brobecker@adacore.com>
8211
8212 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8213
a0c78a73
PA
82142011-02-16 Pedro Alves <pedro@codesourcery.com>
8215
f65d5553 8216 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
8217 (main): Initialize it before collecting, and and clear it
8218 afterwards.
f65d5553
PA
8219 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8220 collecting with '{type} addr', where the addr expression is not an
8221 rvalue.
a0c78a73 8222
3dfcbbd2
KW
82232011-02-16 Ken Werner <ken.werner@de.ibm.com>
8224
8225 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
8226 a bool variable. Expect correct OpenCL names for vector types. Use the
8227 uc3 variable name instead of referring to the uchar3 built-in type.
8228 Escape the asterisk at the half pointer test.
8229
08807d5a
PA
82302011-02-16 Pedro Alves <pedro@codesourcery.com>
8231
f65d5553 8232 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
8233 (main): Initialize it before collecting, and and clear it
8234 afterwards.
f65d5553
PA
8235 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8236 collecting overlapping memory ranges.
08807d5a 8237
60f98dde
MS
82382011-02-15 Michael Snyder <msnyder@vmware.com>
8239
8240 * gdb.base/default.exp: Add tests for thread commands.
8241 * gdb.base/help.exp: Add tests for thread commands.
8242 * gdb.threads/thread-find.exp: New test for thread find command.
8243
648cd113
KW
82442011-02-15 Ken Werner <ken.werner@de.ibm.com>
8245
8246 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
8247
494e194e
YQ
82482011-02-15 Yao Qi <yao@codesourcery.com>
8249
8250 PR tdep/12352
8251 * gdb.arch/arm-disp-step.S : New test for str instruction.
8252 * gdb.arch/arm-disp-step.exp : Likewise.
8253
d9492458
TJB
82542011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
8255
8256 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
8257 "vector_register2_vr" test strings. Test the extended floating
8258 point registers (F32~F63).
8259 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
8260 IBM XL C compiler. Make the test program use a register provided
8261 by the compiler for the lxvd2x instruction.
8262
8af8e3bc
PA
82632011-02-14 Pedro Alves <pedro@codesourcery.com>
8264
8265 * gdb.trace/unavailable.cc (class Base, class Middle, class
8266 Derived): New types.
8267 (derived_unavail, derived_partial, derived_whole): New globals.
8268 (virtual_partial): New global.
8269 (virtualp): Point at virtual_partial.
8270 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
8271 related to unavailable vptr.
8272
1b28d0b3
PA
82732011-02-14 Pedro Alves <pedro@codesourcery.com>
8274
8275 * gdb.trace/unavailable.cc (a, b, c): New globals.
8276 (main): Set and clear them.
8277 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
8278 `a' and `c', and check that `b' isn't collected, although `a' and
8279 `c' are.
8280
ec0a52e1
PA
82812011-02-14 Pedro Alves <pedro@codesourcery.com>
8282
8283 * gdb.trace/unavailable.cc (struct Virtual): New.
8284 (virtualp): New global pointer.
8285 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
8286 printing a pointer to an object whose type has a vtable, with
8287 print object on.
8288
24e6bcee
PA
82892011-02-14 Pedro Alves <pedro@codesourcery.com>
8290
8291 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
8292 value repeat handles unavailableness.
8293
39d37385
PA
82942011-02-14 Pedro Alves <pedro@codesourcery.com>
8295
8296 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
8297 tests for building arrays from unavailable values, subscripting
8298 non-memory rvalue unvailable arrays, and accessing fields or
8299 baseclasses of non-lazy unavailable values,
8300 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
8301 struct types.
8302 (g_smallstruct, g_smallstruct_b): New globals.
8303
06d72e16
PA
83042011-02-14 Pedro Alves <pedro@codesourcery.com>
8305
8306 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
8307
bc9a5551
JK
83082011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8309
8310 Fix const/volatile qualifiers of C++ types, PR c++/12328.
8311 * gdb.cp/overload-const.exp: New file.
8312 * gdb.cp/overload-const.cc: New file.
8313
54fcddd0
UW
83142011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8315
8316 * gdb.opencl/callfuncs.cl: New file.
8317 * gdb.opencl/callfuncs.exp: New test.
8318 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
8319
d6dafb7c
UW
83202011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8321
8322 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
8323 when computing result.
8324 * gdb.arch/altivec-abi.exp: Update expected results.
8325
a449c2d8
TJB
83262011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8327
8328 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
8329 * gdb.base/jit.exp: Likewise.
8330 * gdb.base/pie-execl.exp: Likewise.
8331 * gdb.base/solib-nodir.exp: Likewise.
8332 * gdb.base/solib-overlap.exp: Likewise.
8333
764880b7
PA
83342011-02-07 Pedro Alves <pedro@codesourcery.com>
8335
8336 * gdb.trace/collection.c (global_pieces): New.
8337 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
8338 New procedure.
8339 (gdb_trace_collection_test): Call it.
8340
505500db
SW
83412011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
8342
8343 * gdb.python/py-evthreads.c: New file.
8344 * gdb.python/py-evthreads.exp: New file.
8345 * gdb.python/py-events.py: New file.
8346 * gdb.python/py-events.exp: New file.
8347 * gdb.python/py-events.c: New file.
8348
385203ed
DD
83492011-02-04 David Daney <ddaney@caviumnetworks.com>
8350
8351 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
8352
9011945e
AB
83532011-02-03 Andrew Burgess <aburgess@broadcom.com>
8354
8355 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
8356 gdb.base/disasm-end-cu.exp: New test for disassembling over the
8357 boundary between two compilation units.
8358
580688f3
PA
83592011-02-02 Pedro Alves <pedro@codesourcery.com>
8360
8361 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
8362 (Virtual): New structs.
8363 (virtual_o, virtual_middle_b): New globals.
8364 * gdb.cp/virtbase.exp: New tests.
8365
d3f0f853
PP
83662011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8367
8368 * gdb.base/jit.exp: New file.
8369 * gdb.base/jit-main.c: New file.
8370 * gdb.base/jit-solib.c: New file.
8371
b2030fb5
UW
83722011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
8373
8374 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
8375 proceed to initial kernel entry point.
8376 * gdb.opencl/datatypes.exp: Likewise.
8377 * gdb.opencl/operators.exp: Likewise.
8378 * gdb.opencl/vec_comps.exp: Likewise.
8379
2db19d1e
SW
83802011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
8381
8382 * gdb.cp/nsnested.cc: New.
8383 * gdb.cp/nsnested.exp: New.
8384 * gdb.cp/nsnoimports.exp: New.
8385 * gdb.cp/nsnoimports.cc: New.
8386
6b0c4c1f
JB
83872011-01-31 Joel Brobecker <brobecker@adacore.com>
8388
8389 * gdb.base/interact.exp: Add extra tests that verify that
8390 the value of the interactive-mode setting does not change
8391 after the script is sourced.
8392
80b23b6a
JK
83932011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8394
8395 * gdb.cp/noparam.exp: New file.
8396 * gdb.cp/noparam.cc: New file.
8397
ffd5ec24
PA
83982011-01-28 Pedro Alves <pedro@codesourcery.com>
8399
8400 * gdb.trace/tfile.exp: Test that with no traceframe selected,
8401 there's no stack or registers.
8402
a81766d8
TT
84032011-01-26 Tom Tromey <tromey@redhat.com>
8404
8405 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
8406 space before string output. Add test for "set print pretty off"
8407 case.
8408
585fdaa1
PA
84092011-01-25 Pedro Alves <pedro@codesourcery.com>
8410
8411 * gdb.base/frame-args.exp: Adjust.
8412 * gdb.dwarf2/dw2-noloc.exp: Adjust.
8413 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
8414 * gdb.dwarf2/pieces.exp: Adjust.
8415 * gdb.opt/clobbered-registers-O2.exp: Adjust.
8416 * gdb.opt/inline-locals.exp: Adjust.
8417 * gdb.threads/fork-child-threads.exp: Adjust.
8418
d468832a
KW
84192011-01-25 Ken Werner <ken.werner@de.ibm.com>
8420
8421 * gdb.opencl/convs_casts.cl: Move program scope variables into the
8422 OpenCL kernel function. Add a comment as marker. Add address space
8423 qualifiers for the remaining program scope variables.
8424 * gdb.opencl/datatypes.cl: Likewise.
8425 * gdb.opencl/operators.cl: Likewise.
8426 * gdb.opencl/vec_comps.cl: Likewise.
8427 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
8428 Add breakpoint at the marker comment.
8429 * gdb.opencl/datatypes.exp: Likewise.
8430 * gdb.opencl/operators.exp: Likewise.
8431 * gdb.opencl/vec_comps.exp: Likewise.
8432
490f124f
PA
84332011-01-24 Pedro Alves <pedro@codesourcery.com>
8434
8435 * gdb.base/printcmds.c (some_struct): New struct and instance.
8436 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
8437 procedure.
8438 <global scope>: Call it.
8439
6da78614
KW
84402011-01-21 Ken Werner <ken.werner@de.ibm.com>
8441
8442 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
8443 argument to the gdb_compile_opencl_hostapp call.
8444
ec64c9aa
YQ
84452011-01-19 Yao Qi <yao@codesourcery.com>
8446
8447 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
8448 positve list.
8449
810cfdbb
YQ
84502011-01-19 Yao Qi <yao@codesourcery.com>
8451
8452 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
8453 canonical form.
8454 Remove "xscale-*-*"
8455 * gdb.xml/tdesc-regs.exp: Likewise.
8456 * gdb.python/py-section-script.exp: Replace ARM target triplet
8457 with canonical form.
8458 Match arm*-*-symbianelf*.
8459 * gdb.base/dup-sect.exp: Likewise.
8460 * lib/dwarf.exp: New.
8461 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
8462 dwarf2_support.
8463 * gdb.dwarf2/dup-psym.exp: Likewise.
8464 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
8465 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8466 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
8467 * gdb.dwarf2/dw2-basic.exp: Likewise.
8468 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8469 * gdb.dwarf2/dw2-const.exp: Likewise.
8470 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
8471 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
8472 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8473 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
8474 * gdb.dwarf2/dw2-filename.exp: Likewise.
8475 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8476 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
8477 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8478 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8479 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
8480 * gdb.dwarf2/dw2-noloc.exp: Likewise.
8481 * gdb.dwarf2/dw2-op-call.exp: Likewise.
8482 * gdb.dwarf2/dw2-producer.exp: Likewise.
8483 * gdb.dwarf2/dw2-ranges.exp: Likewise.
8484 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
8485 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
8486 * gdb.dwarf2/dw2-strp.exp: Likewise.
8487 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
8488 * gdb.dwarf2/implptr.exp: Likewise.
8489 * gdb.dwarf2/mac-fileno.exp: Likewise.
8490 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
8491 * gdb.dwarf2/pieces.exp: Likewise.
8492 * gdb.dwarf2/pr11465.exp: Likewise.
8493 * gdb.dwarf2/valop.exp: Likewise.
8494 * gdb.dwarf2/watch-notconst.exp: Likewise.
8495 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
8496
4694da01
TT
84972011-01-19 Tom Tromey <tromey@redhat.com>
8498
8499 * gdb.python/py-infthread.exp: Add thread tests.
8500
b075872c
JB
85012011-01-14 Joel Brobecker <brobecker@adacore.com>
8502
8503 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
8504
2c3e6e24
JB
85052011-01-14 Joel Brobecker <brobecker@adacore.com>
8506
8507 * gdb.ada/widewide: New testcase.
8508
de8fa76c
JB
85092011-01-13 Joel Brobecker <brobecker@adacore.com>
8510
8511 * gdb.base/interact.exp: New testcase.
8512
1b05df00
TT
85132011-01-12 Tom Tromey <tromey@redhat.com>
8514
8515 * gdb.mi/gdb2549.exp: Update for error message changes.
8516 * gdb.mi/mi-cli.exp: Likewise.
8517 * gdb.mi/mi-disassemble.exp: Likewise.
8518 * gdb.mi/mi-pthreads.exp: Likewise.
8519 * gdb.mi/mi-regs.exp: Likewise.
8520 * gdb.mi/mi-stack.exp: Likewise.
8521 * gdb.mi/mi-var-block.exp: Likewise.
8522 * gdb.mi/mi-var-cmd.exp: Likewise.
8523 * gdb.mi/mi2-cli.exp: Likewise.
8524 * gdb.mi/mi2-disassemble.exp: Likewise.
8525 * gdb.mi/mi2-pthreads.exp: Likewise.
8526 * gdb.mi/mi2-regs.exp: Likewise.
8527 * gdb.mi/mi2-stack.exp: Likewise.
8528 * gdb.mi/mi2-var-block.exp: Likewise.
8529 * gdb.mi/mi2-var-cmd.exp: Likewise.
8530
c2ff108b
JK
85312011-01-12 Andrew Burgess <aburgess@broadcom.com>
8532 Jan Kratochvil <jan.kratochvil@redhat.com>
8533
8534 PR fortran/11104 and DWARF unbound arrays detection.
8535 * gdb.fortran/multi-dim.exp: New file.
8536 * gdb.fortran/multi-dim.f90: New file.
8537
b716877b
AB
85382011-01-12 Andrew Burgess <aburgess@broadcom.com>
8539
8540 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8541 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8542 add new tests for opcode dumping.
8543
6c162d5e
TT
85442011-01-11 Tom Tromey <tromey@redhat.com>
8545
8546 * gdb.python/py-infthread.exp: Load gdb-python.exp.
8547
77b06cd7
TJB
85482010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
8549
8550 Convert hardware watchpoints to use breakpoint_ops.
8551 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8552 type is not supported.
8553 * gdb.base/foll-fork.exp: Likewise.
8554 * gdb.base/foll-vfork.exp: Likewise.
8555
f39a75d0
PM
85562011-01-10 Phil Muldoon <pmuldoon@redhat.com>
8557
8558 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8559 Use load_lib gdb-python.exp.
8560 * gdb.python/python.exp: Ditto.
8561 * gdb.python/py-function.exp: Ditto.
8562
fc529d80
AS
85632011-01-09 Andreas Schwab <schwab@linux-m68k.org>
8564
8565 * gdb.threads/tls.exp ("info address me"): Fix expected output.
8566
fb03cb59
JK
85672011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8568
8569 * configure: Regenerate.
8570
d8e22779
TT
85712011-01-06 Tom Tromey <tromey@redhat.com>
8572
8573 * gdb.python/py-frame.exp: Test gdb.newest_frame.
8574
09050809
JB
85752011-01-06 Joel Brobecker <brobecker@adacore.com>
8576
fc529d80
AS
8577 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8578 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8579 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8580 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8581 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8582 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8583 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8584 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8585 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8586 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8587 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8588 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8589 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8590 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8591 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8592 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8593 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8594 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8595 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8596 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8597 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8598 gdb.ada/uninitialized_vars.exp,
8599 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8600 Simplify by using clean_restart.
09050809 8601
8ed5dd9e
JB
86022011-01-06 Joel Brobecker <brobecker@adacore.com>
8603
8604 Add marker to be used as anchor for inserting breakpoints.
8605 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8606 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8607 Likewise.
8608
8609 Remove uses of gdb_start_cmd.
8610 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8611 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8612
8613 Do not run testcase if testing with GDBserver.
8614 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8615 if testing with GDBserver.
8616
368a124f
JB
86172011-01-06 Joel Brobecker <brobecker@adacore.com>
8618
8619 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8620 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8621 copyright header.
8622
44944448
JB
86232011-01-05 Joel Brobecker <brobecker@adacore.com>
8624
8625 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8626 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8627 testsuite/gdb.fortran/complex.f,
8628 testsuite/gdb.fortran/derived-type.f90,
8629 testsuite/gdb.fortran/library-module-lib.f90,
8630 testsuite/gdb.fortran/library-module-main.f90,
8631 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8632 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8633 Copyright year update.
8634
31886ea6
JB
86352011-01-05 Joel Brobecker <brobecker@adacore.com>
8636
8637 * gdb.base/langs1.f: Add copyright header.
8638
ebedcab5
JK
86392011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8640
8641 * gdb.base/morestack.exp: New file.
8642 * gdb.base/morestack.c: New file.
8643
de1eb2f9
JK
86442011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8645
8646 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8647
9e87a409
JB
86482010-12-29 Joel Brobecker <brobecker@adacore.com>
8649
8650 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8651 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8652
720d1a40
JB
86532010-12-29 Joel Brobecker <brobecker@adacore.com>
8654
8655 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8656
a283af87
AS
86572010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8658
5d3d9cba
AS
8659 * gdb.threads/tls.exp: Fix typo.
8660
a283af87
AS
8661 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8662 * gdb.threads/execl.exp: Update.
8663
2a20745c
YQ
86642010-12-23 Yao Qi <yao@codesourcery.com>
8665
8666 * gdb.arch/arm-disp-step.exp: New.
8667 * gdb.arch/arm-disp-step.S: New.
8668
a7658b96
TT
86692010-12-21 Tom Tromey <tromey@redhat.com>
8670
8671 * gdb.threads/execl.exp: Update.
8672 * gdb.threads/linux-dp.exp: Update.
8673 * gdb.threads/manythreads.exp: Update.
8674 * gdb.threads/tls.exp: Update.
8675
5b79abe7
TT
86762010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8677
8678 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8679 (NextOverThrowDerivates) <resumebpt>: New.
8680 (resumebpt_test): New.
8681 (main): Call resumebpt_test.
8682 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8683
0914bcdb
SS
86842010-12-12 Stan Shebs <stan@codesourcery.com>
8685
8686 * gdb.trace/tsv.exp: Test print command on trace state variables.
8687
305aeedc
TT
86882010-12-09 Tom Tromey <tromey@redhat.com>
8689
8690 * gdb.base/interp.exp: Add regression test.
8691
186c406b
TT
86922010-12-09 Tom Tromey <tromey@redhat.com>
8693
8694 * gdb.java/jnpe.java: New file.
8695 * gdb.java/jnpe.exp: New file.
8696 * gdb.cp/nextoverthrow.exp: New file.
8697 * gdb.cp/nextoverthrow.cc: New file.
8698
aae1c79a
DE
86992010-12-07 Doug Evans <dje@google.com>
8700
8701 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8702 of data-directory.
8703 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8704 updated.
8705 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8706
60f98dde 87072010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
8708
8709 * gdb.base/callfuncs.exp: Test for skip_float_tests.
8710 * gdb.base/call-sc.exp: Ditto.
8711 * gdb.base/finish.exp: Ditto.
8712 * gdb.base/return.exp: Ditto.
8713 * gdb.base/return2.exp: Ditto.
8714
5fa290c1
DE
87152010-11-30 Doug Evans <dje@google.com>
8716
8717 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8718 (gdb_expect_list): Fix spelling errors in comments.
8719 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8720 send_gdb/gdb_expect_list where applicable.
8721 * gdb.base/call-ar-st.exp: Ditto.
8722 * gdb.base/funcargs.exp: Ditto.
8723 * gdb.base/gcore.exp: Ditto.
8724 * gdb.base/page.exp: Ditto.
8725 * gdb.base/sigaltstack.exp: Ditto.
8726 * gdb.base/siginfo.exp: Ditto.
8727 * gdb.base/sigstep.exp: Ditto.
8728 * gdb.base/trace-commands.exp: Ditto.
8729
4e04c971
DE
87302010-11-29 Doug Evans <dje@google.com>
8731
8732 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8733 printer-name;subprinter-name.
8734
8cf6f0b1
TT
87352010-11-29 Tom Tromey <tromey@redhat.com>
8736
8737 * gdb.dwarf2/implptr.exp: New file.
8738 * gdb.dwarf2/implptr.c: New file.
8739 * gdb.dwarf2/implptr.S: New file.
8740
94b6973e
PM
87412010-11-29 Phil Muldoon <pmuldoon@redhat.com>
8742
fc529d80 8743 PR python/12199
94b6973e
PM
8744
8745 * gdb.python/py-breakpoint.exp: Test the delete method.
8746
8358c15c
JK
87472010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8748
8749 Fix step_resume_breakpoint unsaved during an infcall.
8750 * gdb.base/step-resume-infcall.exp: New file.
8751 * gdb.base/step-resume-infcall.c: New file.
8752
f6df29bc
TJB
87532010-11-24 Edjunior Machado <emachado@br.ibm.com>
8754
8755 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8756
f2b5a5cf
TJB
87572010-11-24 Edjunior Machado <emachado@br.ibm.com>
8758
8759 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8760 on ppc64's symbols; "finish" and "return" commands must accept to
8761 show the caller line again as well as the line after.
8762 * gdb.asm/powerpc64.inc: New file.
8763
6b0ecdc2
DE
87642010-11-23 Doug Evans <dje@google.com>
8765
8766 * lib/gdb.exp (gdb_test_sequence): New function.
8767 (gdb_expect_list): Add verbose -log call for each pattern.
8768 * gdb.base/signals.exp (test_handle_all_print): Call it.
8769 Reduce timeout increment from 6 minutes to 1 minute.
8770 * gdb.server/ext-run.exp: Call it.
8771
ea976c60
PM
87722010-11-23 Phil Muldoon <pmuldoon@redhat.com>
8773
f2b5a5cf 8774 PR python/12212
ea976c60
PM
8775
8776 * gdb.python/python.exp: Check that selected_thread raises an
8777 error when no inferior is loaded.
8778
c0efa795
JK
87792010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8780
8781 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8782 * gdb.dwarf2/dw2-stack-boundary.S: New file.
8783
ec3aa567
JK
87842010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8785
8786 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8787 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8788
d8249011
DE
87892010-11-18 Doug Evans <dje@google.com>
8790
8791 * gdb.server/ext-run.exp: Fix intermittent failures.
8792
d4eba7d1
NF
87932010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8794
8795 * gdb.stabs/gdb11479.exp: Use runto_main.
8796
b04c2f88
NF
87972010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8798
8799 * gdb.base/break-entry.exp: Skip if using a stub.
8800
ae9d7ce4
NF
88012010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8802
8803 * gdb.python/py-inferior.exp: Pack values in target endianness.
8804
621c8364
TT
88052010-11-12 Tom Tromey <tromey@redhat.com>
8806
8807 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8808 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8809 MemoryError.
8810 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8811 type.
8812 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8813 MemoryError.
8814 (test_subscript_regression): Update exception type.
8815
84f4c1fe
PM
88162010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8817
8818 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8819 breakpoint tests.
8820
a1442452
PA
88212010-11-09 Pedro Alves <pedro@codesourcery.com>
8822
8823 * gdb.base/watchpoint.exp: Test "watch -location" with an
8824 innacessible location.
8825
efd11a33
JK
88262010-11-09 Edjunior Machado <emachado@br.ibm.com>
8827 Luis Machado <luisgpm@br.ibm.com>
8828
8829 * gdb.base/maint.exp: Expect "." prefix.
8830 * gdb.base/nodebug.exp: Expect "." Likewise.
8831 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8832 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8833 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8834 POWER server processors.
8835
aa00efb5
JK
88362010-11-08 Edjunior Machado <emachado@br.ibm.com>
8837 Luis Machado <luisgpm@br.ibm.com>
8838
8839 * gdb.base/break-entry.exp: convert entry point for
8840 ppc64 and expect leading `.' on ppc64's symbols
8841
99e7ae30
DE
88422010-11-05 Doug Evans <dje@google.com>
8843
8844 * gdb.base/help.exp: Update expected output.
b521dba8
DE
8845 * gdb.python/py-param.exp: Delete, contents moved to ...
8846 * gdb.python/py-parameter.exp: ... here. New file.
8847 Add test for gdb.parameter ("directories").
99e7ae30 8848
f4b8a18d
KW
88492010-11-05 Ken Werner <ken.werner@de.ibm.com>
8850
8851 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8852 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8853 * configure: Regenerate.
8854 * gdb.opencl/Makefile.in: New File.
8855 * gdb.opencl/datatypes.exp: Likewise.
8856 * gdb.opencl/datatypes.cl: Likewise.
8857 * gdb.opencl/operators.exp: Likewise.
8858 * gdb.opencl/operators.cl: Likewise.
8859 * gdb.opencl/vec_comps.exp: Likewise.
8860 * gdb.opencl/vec_comps.cl: Likewise.
8861 * gdb.opencl/convs_casts.exp: Likewise.
8862 * gdb.opencl/convs_casts.cl: Likewise.
8863 * lib/opencl.exp: Likewise.
8864 * lib/opencl_hostapp.c: Likewise.
8865 * lib/opencl_kernel.cl: Likewise.
8866 * lib/cl_util.c: Likewise.
8867 * lib/cl_util.c: Likewise.
8868 * gdb.base/default.exp (set language): Add "opencl" to the list of
8869 languages.
8870
a9d5ef47
SW
88712010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8872
8873 * gdb.cp/overload.exp: Added test for inheritance overload.
8874 * gdb.cp/overload.cc: Ditto.
8875 * gdb.cp/oranking.exp: Removed releveant kfails.
8876
03eb1c79
JK
88772010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8878 Joel Brobecker <brobecker@adacore.com>
8879
8880 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8881 check test_compiler_info.
8882
dbc98a8b
KW
88832010-11-03 Ken Werner <ken.werner@de.ibm.com>
8884
8885 * gdb.base/gnu_vector.exp: Adjust expect messages.
8886
120bd360
KW
88872010-11-03 Ken Werner <ken.werner@de.ibm.com>
8888
8889 * gdb.base/gnu_vector.exp: Add unary operator tests.
8890
c37f7098
KW
88912010-11-03 Ken Werner <ken.werner@de.ibm.com>
8892
8893 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8894
7b51bc51
DE
88952010-11-02 Doug Evans <dje@google.com>
8896
8897 * gdb.python/py-pp-maint.c: New file.
8898 * gdb.python/py-pp-maint.exp: New file.
8899 * gdb.python/py-pp-maint.py: New file.
8900
50c97f38
TT
89012010-11-02 Tom Tromey <tromey@redhat.com>
8902
8903 * gdb.base/default.exp: Remove "scheme" from language list.
8904
a289b8f6
JK
89052010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8906
8907 Revert:
8908 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8909 * gdb.threads/sigstep-threads.exp: New file.
8910 * gdb.threads/sigstep-threads.c: New file.
8911
cd017491
MS
89122010-10-20 Michael Snyder <msnyder@vmware.com>
8913
8914 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8915
8e6a5956
UW
89162010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8917
8918 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8919 Skip test completely if gdb,no_hardware_watchpoints.
8920
2c04da0d
UW
89212010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8922
8923 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8924 strict, but do not check for any particular function name within libc.
8925
79afc5ef
SW
89262010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8927
8928 * gdb.cp/smartp.exp: New test.
8929 * gdb.cp/smartp.cc : New test.
8930
026ffab7
SW
89312010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8932
8933 * gdb.cp/converts.exp: Test pointer to bool conversion.
8934 Test pointer to long conversion.
8935 * gdb.cp/oranking.exp: Removed relevant kfail.
8936
3a772aa4
TT
89372010-10-18 Tom Tromey <tromey@redhat.com>
8938
8939 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8940 argument to lazy_string.
8941 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8942 (pp_ls.to_string): Use it.
8943 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8944 Add "estring2" local.
8945
5fc3827b
JK
89462010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8947
8948 Fix s390x compatibility.
8949 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8950 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8951
8aeb23f3
JK
89522010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8953
8954 * gdb.threads/sigstep-threads.exp: New file.
8955 * gdb.threads/sigstep-threads.c: New file.
8956
c1e56572
JK
89572010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8958
8959 * gdb.base/pie-execl.exp: New file.
8960 * gdb.base/pie-execl.c: New file.
8961
92163a10
JK
89622010-10-13 Doug Evans <dje@google.com>
8963 Jan Kratochvil <jan.kratochvil@redhat.com>
8964
8965 PR exp/12117
8966 * gdb.cp/ptype-cv-cp.cc: New file.
8967 * gdb.cp/ptype-cv-cp.exp: New file.
8968
7062b0a0
SW
89692010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
8970
8971 * gdb.cp/converts.cc: New test program.
8972 * gdb.cp/converts.exp: New test.
8973 * gdb.cp/overload.exp: Added test for void* vs int*.
8974 * gdb.cp/overload.exp: Ditto.
8975 * gdb.cp/oranking.exp: Removed related kfail.
8976
0e3509db
DE
89772010-10-13 Doug Evans <dje@google.com>
8978
8979 * lib/gdb-python.exp (gdb_check_python_config): New function.
8980 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
8981 * gdb.python/lib-types.cc: New file.
8982 * gdb.python/lib-types.exp: New file.
8983
8dc78533
JK
89842010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8985
8986 * gdb.python/py-error.exp: New file.
8987 * gdb.python/py-error.py: New file.
8988
93c17e06
JK
89892010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8990
8991 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
8992 gdb_test_multiple.
8993
d8b34041
JK
89942010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8995
8996 * gdb.base/break-interp.exp: Use ldlags for linking flags.
8997 * gdb.base/prelink.exp: Likewise.
8998 * gdb.base/solib-nodir.exp: Likewise.
8999 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9000 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9001 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9002
e0cc584e
UW
90032010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9004
9005 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9006 for the "info files" test to avoid timeouts on slow machines.
9007
cfc353b1
JK
90082010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9009
9010 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9011 (main): Make openlib dummy call.
9012
d3d7896d
JK
90132010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9014
9015 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9016 * break-interp.exp (reach): Move the core body ...
9017 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9018 (test_ld): Provide always real argument, even to the linker. Replace
9019 dl_main by _dl_debug_state.
9020
5e533c94
JK
90212010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9022
9023 Fix results of prelinked PIEs on ppc*.
9024 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9025 Accept also DISPLACEMENT "PRESENT".
9026 (main): Replace "ZERO" displacements by "PRESENT".
9027
33540610
SW
90282010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9029
9030 * gdb.cp/oranking.exp: New test.
9031 * gdb.cp/oranking.cc: New test program.
9032
3bdf2bbd
KW
90332010-10-08 Ken Werner <ken.werner@de.ibm.com>
9034
9035 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9036 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9037
2f608a3a
KW
90382010-10-06 Ken Werner <ken.werner@de.ibm.com>
9039
9040 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9041 lush, lynx) New constant.
9042 * gdb.base/constvars.exp: Test const array types.
9043 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9044
aa2e2d8d
DE
90452010-10-06 Doug Evans <dje@google.com>
9046
9047 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9048 of syscall staging area.
9049
2844d6b5
KW
90502010-10-06 Ken Werner <ken.werner@de.ibm.com>
9051
9052 * gdb.base/gnu_vector.c: Add variable c4.
9053 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9054 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9055
7d8ac8bb
MR
90562010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9057
9058 * gdb.arch/altivec-abi.exp: Fix a typo.
9059
84a02e58
MR
90602010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9061
9062 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9063 to match a thread ID.
9064
b18e6318
JK
90652010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9066
9067 Fix s390x testcase compatibility.
9068 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9069
a2c09bd0
DE
90702010-10-01 Doug Evans <dje@google.com>
9071
9072 * lib/gdb-python.exp: New file.
9073 * gdb.python/py-block.exp: Use it.
9074 * gdb.python/py-breakpoint.exp: Ditto.
9075 * gdb.python/py-frame.exp: Ditto.
9076 * gdb.python/py-inferior.exp: Ditto.
9077 * gdb.python/py-param.exp: Ditto.
9078 * gdb.python/py-prettyprint.exp: Ditto.
9079 * gdb.python/py-shared.exp: Ditto.
9080 * gdb.python/py-symbol.exp: Ditto.
9081 * gdb.python/py-symtab.exp: Ditto.
9082 * gdb.python/py-type.exp: Ditto.
9083 * gdb.python/py-value.exp: Ditto.
9084 * gdb.python/python.exp: Ditto.
9085
38f12cfc
TT
90862010-09-30 Tom Tromey <tromey@redhat.com>
9087
9088 * gdb.base/anon.exp: New file.
9089 * gdb.base/anon.c: New file.
9090
9ae8282d
TT
90912010-09-30 Tom Tromey <tromey@redhat.com>
9092
9093 * gdb.base/completion.exp: Test completion through anonymous
9094 union.
9095 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9096
e9e07ba6
JK
90972010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9098
9099 Fix printing parameters of inlined functions.
9100 * gdb.dwarf2/dw2-inline-param.exp: New file.
9101 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9102 * gdb.dwarf2/dw2-inline-param.S: New file.
9103
cd2effb2
JK
91042010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9105
9106 PR corefiles/12071.
9107 * gdb.base/corefile.exp (quit with a process, no question: load core)
9108 (quit with a core file): New tests.
9109
bceffbf3
JK
91102010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9111
9112 Fix GDB crash on inferior calls with self-referencing classes.
9113 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9114 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9115 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9116
1736ad11
JK
91172010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9118
9119 Fix lost siginfo_t for inferior calls.
9120 * gdb.base/siginfo-infcall.exp: New file.
9121 * gdb.base/siginfo-infcall.c: New file.
9122
a176ad92
JB
91232010-09-22 Joel Brobecker <brobecker@adacore.com>
9124
9125 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9126
c2b0a229
JK
91272010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9128
9129 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9130 New test.
9131 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9132
e8ae22d1
JB
91332010-09-22 Joel Brobecker <brobecker@adacore.com>
9134
9135 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9136 type of our const type.
9137
ec322823
SW
91382010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9139
9140 * gdb.cp/pr12028.cc: New.
9141 * gdb.cp/pr12028.exp: New.
9142
72929c62
JB
91432010-09-22 Joel Brobecker <brobecker@adacore.com>
9144
9145 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9146
875b4ff5 91472010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 9148 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
9149
9150 PR mi/11407
9151 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9152 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9153 * gdb.mi/dw2-ref-missing-frame.S New File.
9154 * gdb.mi/dw2-ref-missing-frame.exp New File.
9155
7155d578
TT
91562010-09-14 Tom Tromey <tromey@redhat.com>
9157
9158 PR symtab/8399:
9159 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9160
515ed532
TT
91612010-09-14 Tom Tromey <tromey@redhat.com>
9162
9163 PR exp/11803:
9164 * gdb.threads/tls.exp: Use C++.
9165 (check_thread_local): Use K::another_thread_local.
9166 * gdb.threads/tls.c (class K): New.
9167 (another_thread_local): Now a member of K.
9168 (spin): Update. No longer K&R C.
9169
450ca57c
SW
91702010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9171
9172 * gdb.cp/koenig.cc: created class for testing member lookup.
9173 * gdb.cp/koenig.exp: Added test for member lookup.
9174
dbd492a3
JK
91752010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9176
9177 Fix false FAILs on sourcetree topdir directory containing "kill".
9178 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9179 source line matching regexp.
9180
8d4d924b
JK
91812010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9182
9183 * gdb.python/python.exp (set height 0, collect help from uiout)
9184 (verify help to uiout): New tests.
9185
8e64f2a0
JK
91862010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9187
9188 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9189 is_lp64_target to check 64bit target.
9190
4569eed2
JK
91912010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9192
9193 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9194 (test_ld) <powerpc64-*>: New.
9195
5e1617b1
DJ
91962010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9197
9198 * gdb.cp/templates.exp (test_template_args): Allow "struct".
9199
c767944b
DJ
92002010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9201
9202 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9203 (FunctionArg::method): New function.
9204 (empty, arg): New variables.
9205 (main): Call arg.method.
9206 * gdb.cp/templates.exp (test_template_args): New function.
9207 (do_tests): Call it.
9208
27d3a3fc
UW
92092010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9210
9211 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9212 of "next" to proceed over pthread_exit call.
9213
55b7ce7f
UW
92142010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9215
9216 * gdb.base/maint.exp: Avoid wildcards against potentially very long
9217 "maint print statistics" output to prevent expect timeouts.
9218
809df446
JK
92192010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9220
9221 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
9222 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9223 (test_float_rejected): ... here.
9224 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
9225 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9226 (test_float_rejected): ... here.
9227 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
9228 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9229 (test_float_rejected): ... here.
9230 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
9231 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9232 (test_float_rejected): ... here.
9233
8464be76
DJ
92342010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9235
9236 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
9237 before disabling hardware watchpoints.
9238 (test_inaccessible_watchpoint): Check that hardware watchpoints
9239 are used. Test for watchpoints on a constant address.
9240
14dba4b4
JK
92412010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9242
9243 * gdb.base/ui-redirect.exp: New file.
9244
3f3540e1 92452010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 9246 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
9247
9248 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
9249
0f254bb7
DE
92502010-08-31 Doug Evans <dje@google.com>
9251
9252 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
9253
03f17ccf
TT
92542010-08-30 Tom Tromey <tromey@redhat.com>
9255
9256 PR python/11792:
9257 * gdb.python/py-value.exp (test_subscript_regression): Add
9258 dynamic_type test.
9259
640617ad
DJ
92602010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
9261
9262 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
9263 instead of running to main. Do not test the main function.
9264 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
9265 Add new main.
9266
2ed91d1b
PA
92672010-08-26 Pedro Alves <pedro@codesourcery.com>
9268
9269 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
9270 one test.
9271
673bfd45
DE
92722010-08-24 Doug Evans <dje@google.com>
9273
9274 PR symtab/11942
9275 * gdb.dwarf2/dw4-sig-types.cc: New file.
9276 * gdb.dwarf2/dw4-sig-types.h: New file.
9277 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
9278 * gdb.dwarf2/dw4-sig-types.exp: New file.
9279
f9ffd4bb
TT
92802010-08-23 Tom Tromey <tromey@redhat.com>
9281
9282 PR python/11145:
9283 * gdb.python/py-value.c (Base, Derived): New types.
9284 (base): New global.
9285 * gdb.python/py-value.exp (test_subscript_regression): Add
9286 dynamic_cast test.
9287
d839c8a4
TT
92882010-08-23 Tom Tromey <tromey@redhat.com>
9289
9290 PR python/10676:
9291 * gdb.python/py-type.exp (test_fields): Add tests for type
9292 equality.
9293
702c2711
TT
92942010-08-23 Tom Tromey <tromey@redhat.com>
9295
9296 PR python/11915:
9297 * gdb.python/py-type.exp (test_fields): Add tests for array.
9298
832bafd3
KS
92992010-08-23 Keith Seitz <keiths@redhat.com>
9300
9301 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
9302 have any children. Create a new abbrev for it.
9303 Add missing terminal sequence to .debug_abbrev.
9304
c37bf528
KS
93052010-08-20 Keith Seitz <keiths@redhat.com>
9306
9307 PR symtab/11465:
9308 * gdb.dwarf2/pr11465.exp: New test.
9309 * gdb.dwarf2/pr11465.S: New file.
9310 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
9311 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
9312
4572cbac
TJB
93132010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
9314
9315 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
9316 registers. Update data sets with the new v2_double element in the
9317 VSX register union. Add vector_register3_vr data set for the AltiVec
9318 registers. Use gdb_test_no_output instead of send_gdb.
9319
e7fbb131
PA
93202010-08-19 Pedro Alves <pedro@codesourcery.com>
9321
9322 * gdb.python/py-shared.exp: New file, factored out from
9323 python.exp.
9324 * gdb.python/py-shared.c: New file.
9325 * gdb.python/py-shared-sl.c: New file.
9326 * gdb.python/python-1.c: New file.
9327 * gdb.python/python-sl.c: Delete.
9328 * gdb.python/python.c: Mention python-1.c.
9329 * gdb.python/python.exp: Move shared library tests to
9330 py-shared.exp.
9331 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
9332 (MISCELLANEOUS): New.
9333 (clean mostlyclean): Also remove $MISCELLANEOUS.
9334
d30f5e1f
DE
93352010-08-19 Doug Evans <dje@google.com>
9336
9337 PR exp/11926
9338 * gdb.base/printcmds.exp (test_float_accepted): New function.
9339 Move existing float tests there. Add tests for floats with suffixes.
9340 (test_float_rejected): New function.
9341 * gdb.java/jv-print.exp (test_float_accepted): New function.
9342 (test_float_rejected): New function.
9343 * gdb.objc/print.exp: New file.
9344 * gdb.pascal/print.exp: New file.
9345 * lib/objc.exp: New file.
9346
7b3fd859
PM
93472010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
9348
9349 * gdb.base/default.exp (info set): Avoid full buffer error and force
9350 reading up to final gdb prompt.
9351 (show): Likewise.
9352
c92817ce
TT
93532010-08-18 Tom Tromey <tromey@redhat.com>
9354
9355 PR symtab/11919:
9356 * gdb.base/completion.exp: Add test.
9357
f1208f9e
DE
93582010-08-18 Doug Evans <dje@google.com>
9359
9360 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
9361 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
9362 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
9363 Simplify, early exit if runto_main fails.
9364 * gdb.fortran/exprs.exp: load_lib fortran.exp.
9365 (set_lang_fortran): Moved to lib/fortran.exp.
9366 * gdb.fortran/types.exp: load_lib fortran.exp.
9367 (set_lang_fortran): Moved to lib/fortran.exp.
9368 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
9369 * gdb.java/jprint.exp (set_lang_java): Ditto.
9370 * gdb.java/jv-exp.exp: load_lib java.exp.
9371 If set_lang_java fails, issue a warning instead of failure to be
9372 consistent with other set_lang_foo uses.
9373 (set_lang_java): Moved to lib/java.exp.
9374 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
9375 If set_lang_java fails, issue a warning instead of failure to be
9376 consistent with other set_lang_foo uses.
9377 * gdb.pascal/types.exp: load_lib pascal.exp.
9378 (set_lang_pascal): Moved to lib/pascal.exp.
9379 * lib/fortran.exp: New file.
9380 * lib/java.exp (set_lang_java): New function.
9381 * lib/pascal.exp (set_lang_pascal): New function.
9382
2f06b485
YQ
93832010-08-18 Yao Qi <yao@codesourcery.com
9384
9385 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
9386 func_nofb_start and func_loopfb_start, so that address of functions
9387 is equal to these labels on Thumb.
9388
96e25403
YQ
93892010-08-18 Yao Qi <yao@codesourcery.com>
9390
9391 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
9392 to reflect latest c source file.
9393
36e6adc4
JK
93942010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9395
9396 * gdb.cp/infcall-dlopen.exp: New file.
9397 * gdb.cp/infcall-dlopen.cc: New file.
9398 * gdb.cp/infcall-dlopen-lib.cc: New file.
9399
f431efe5
PA
94002010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9401 Pedro Alves <pedro@codesourcery.com>
9402
9403 PR breakpoints/11371
9404
9405 * gdb.base/watch-cond-infcall.exp: New file.
9406 * gdb.base/watch-cond-infcall.c: New file.
9407
06a64a0b
TT
94082010-08-16 Tom Tromey <tromey@redhat.com>
9409
9410 * gdb.base/help.exp: Update.
9411 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
9412 watchpoint.
9413 (test_watch_location): New proc.
9414 (test_watchpoint_in_big_blob): Delete watchpoint.
9415 * gdb.base/watchpoint.c (func5): New function.
9416 (main): Call it.
9417
70ebf4ed
DE
94182010-08-16 Doug Evans <dje@google.com>
9419
9420 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
9421
ca5c20b6
PM
94222010-08-11 Phil Muldoon <pmuldoon@redhat.com>
9423
9424 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
9425 tests.
9426
7346b668
KW
94272010-08-11 Ken Werner <ken.werner@de.ibm.com>
9428
9429 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
9430 * gdb.base/gnu_vector.c: New File.
9431 * gdb.base/gnu_vector.exp: Likewise.
9432
cb2e07a6
PM
94332010-08-11 Phil Muldoon <pmuldoon@redhat.com>
9434
9435 * gdb.python/python.c: New File.
9436 * gdb.python/python-sl.c: New File.
9437 * gdb.python/python.exp: Test solib_address and decode_line
9438 * functions.
9439
5da1313b
JK
94402010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9441
9442 * gdb.python/python.exp (show height, set height 10)
9443 (verify pagination beforehand, verify pagination beforehand: q)
9444 (gdb.execute does not page, verify pagination afterwards)
9445 (verify pagination afterwards: q): New.
9446
49c3ccf7
DE
94472010-08-02 Doug Evans <dje@google.com>
9448
9449 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
9450 because of an older gcc, change test2
9451 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
9452 to unsupported.
9453
42c0c4f1
KH
94542010-07-30 Kazu Hirata <kazu@codesourcery.com>
9455
9456 * gdb.base/break-always.exp: Do not expect full paths to file
9457 names.
9458 * gdb.base/commands.exp: Likewise.
9459
d3765805
DE
94602010-07-30 Doug Evans <dje@google.com>
9461
c98ee71b
DE
9462 * gdb.cp/temargs.exp: For new tests that require newer gccs,
9463 xfail them when run with older gccs.
9464
fd961404
DE
9465 * lib/gdb.exp (build_executable): Forward "c++" option to
9466 get_compiler_info.
9467
999adef4
DE
9468 * gdb.python/py-type.exp (test_template): Mark as xfail tests
9469 "python print ttype.template_argument(1)" and
9470 "python print isinstance(ttype.template_argument(1), gdb.Value)"
9471 if using gcc 4.4 or earlier.
9472
d3765805
DE
9473 * gdb.base/valgrind-db-attach.exp: Use unique test name for
9474 attach-to-debugger handling.
9475
1276c759
JK
94762010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9477
9478 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
9479 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
9480 (main): Use copyreloc.
9481 * gdb.base/prelink.exp (split debug of executable)
9482 (.dynbss vs. .bss address shift): New tests.
9483
88caa9b9
PA
94842010-07-29 Pedro Alves <pedro@codesourcery.com>
9485
9486 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
9487 in gdb_test_multiple.
9488
c6f2ac43
PA
94892010-07-29 Pedro Alves <pedro@codesourcery.com>
9490
9491 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
9492 environment.
9493
326fd672
TT
94942010-07-28 Tom Tromey <tromey@redhat.com>
9495
9496 PR python/11060:
9497 * gdb.python/py-type.c (Temargs): New template.
9498 (temvar): New variable.
9499 * gdb.python/py-type.exp (test_template): New proc.
9500
3ce3b1ba
PA
95012010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
9502
9503 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
9504 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
9505
34eaf542
TT
95062010-07-28 Tom Tromey <tromey@redhat.com>
9507
9508 PR c++/9946:
9509 * gdb.cp/temargs.exp: New file.
9510 * gdb.cp/temargs.cc: New file.
9511
d41b819e
JK
95122010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9513
9514 * gdb.base/help.exp (help disassemble): Update the content.
9515
26ab7092
JK
95162010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9517
9518 * gdb.threads/ia64-sigill.exp: New file.
9519 * gdb.threads/ia64-sigill.c: New file.
9520
5283e9e1
TT
95212010-07-27 Tom Tromey <tromey@redhat.com>
9522
9523 * gdb.opt/inline-cmds.c (ATTR): New define.
9524 (func1): Use it.
9525 (func2): Likewise.
9526 (func3): Likewise.
9527 (outer_inline1): Likewise.
9528 (outer_inline2): Likewise.
9529 * gdb.opt/inline-bt.c (ATTR): New define.
9530 (func1): Use it.
9531 (func2): Likewise.
9532 * gdb.opt/inline-locals.c (ATTR): New define.
9533 (func1): Use it.
9534 (func2): Likewise.
9535
e992ef73
TT
95362010-07-27 Tom Tromey <tromey@redhat.com>
9537
9538 * gdb.stabs/gdb11479.c (hack): New function.
9539 (test): Use it.
9540 (test2): Use it.
9541 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9542 (int32_search_buf, int64_search_buf): No longer static.
9543 (x): Remove.
9544 * gdb.base/relocate.c (hack): New function.
9545
5374244e
PM
95462010-07-27 Phil Muldoon <pmuldoon@redhat.com>
9547
9548 * gdb.python/py-value.exp (test_inferior_function_call): New function.
9549 * gdb.python/py-value.c (func1): New function.
9550 (func2): Likewise.
9551
a99aee83
CV
95522010-07-26 Corinna Vinschen <vinschen@redhat.com>
9553
9554 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9555 as not to clash with .data section.
9556
a04ba985
JG
95572010-07-26 Jerome Guitton <guitton@adacore.com>
9558
9559 * gdb.base/code_elim.exp: New file.
9560 * gdb.base/code_elim1.c: New file.
9561 * gdb.base/code_elim2.c: New file.
9562
23bd0f7c
PA
95632010-07-21 Pedro Alves <pedro@codesourcery.com>
9564
9565 PR symtab/11827
9566
9567 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9568 (some_volatile_enum): New variable.
9569 * gdb.base/printcmds.exp (test_print_enums): New.
9570 <top level>: Call it.
9571
883df6dd
SW
95722010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
9573
9574 * gdb.cp/fpointer.cc: New test.
9575 * gdb.cp/fpointer.exp: New test.
9576
569b05a5
JK
95772010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9578
9579 * gdb.base/solib-nodir.exp: New file.
9580 * lib/gdb.exp (runto): New case for a GDB internal error.
9581
51d7d803
JK
95822010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9583 Ulrich Weigand <uweigand@de.ibm.com>
9584 Tom Tromey <tromey@redhat.com>
9585
9586 * gdb.base/charset-malloc.c: New file.
9587 * gdb.base/charset.c (malloc_stub): New prototype.
9588 (main): Call it instead of malloc itself.
9589 * gdb.base/charset.exp: Use only prepare_for_testing.
9590 (binfile): Remove the variable.
9591
c0edd9ed
JK
95922010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9593
9594 Make core files the process_stratum.
9595 * gdb.base/corefile.exp (run: load core again)
9596 (run: sanity check we see the core file, run: with core)
9597 (run: core file is cleared, attach: load core again)
9598 (attach: sanity check we see the core file, attach: with core)
9599 (attach: core file is cleared): New tests.
9600 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9601
3cbaedff
KW
96022010-07-14 Ken Werner <ken.werner@de.ibm.com>
9603
9604 * gdb.arch/altivec-abi.exp: New tests.
9605
91158a56
TT
96062010-07-13 Tom Tromey <tromey@redhat.com>
9607
9608 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9609 (main): Use it.
9610 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9611
0f5238ed
TT
96122010-07-13 Tom Tromey <tromey@redhat.com>
9613
9614 * gdb.base/label.exp: New file.
9615 * gdb.base/label.c: New file.
9616
add265ae
L
96172010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9618 H.J. Lu <hongjiu.lu@intel.com>
9619
9620 * lib/gdb.exp (is_ilp32_target): New.
9621 (is_lp64_target): Likewise.
9622
9623 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9624 target.
9625 * gdb.arch/amd64-disp-step.exp: Likewise.
9626 * gdb.arch/amd64-dword.exp: Likewise.
9627 * gdb.arch/amd64-i386-address.exp: Likewise.
9628 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 9629
add265ae
L
9630 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9631 target.
9632 * gdb.arch/i386-bp_permanent.exp: Likewise.
9633 * gdb.arch/i386-byte.exp: Likewise.
9634 * gdb.arch/i386-disp-step.exp: Likewise.
9635 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9636 * gdb.arch/i386-prologue.exp: Likewise.
9637 * gdb.arch/i386-size-overlap.exp: Likewise.
9638 * gdb.arch/i386-size.exp: Likewise.
9639 * gdb.arch/i386-sse.exp: Likewise.
9640 * gdb.arch/i386-unwind.exp: Likewise.
9641 * gdb.arch/i386-word.exp: Likewise.
9642
9643 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9644 test only when building 64-bit executables. Do not hard-code
9645 -m64 option.
9646
2dfb8c17
DE
96472010-07-07 Doug Evans <dje@google.com>
9648
9649 * lib/gdb.exp (gdb_test_list_exact): New function.
9650 * gdb.base/default.exp (show convenience): Call it, add tests for
9651 $_sdata = void, $_thread = 0.
9652
4e5799b6
JK
96532010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9654 Joel Brobecker <brobecker@adacore.com>
9655
9656 Fix re-run of PIE executable, PR shlibs/11776.
9657 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9658 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9659 and re-"run" of the inferior.
9660
1a219cc7
JK
96612010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9662 Joel Brobecker <brobecker@adacore.com>
9663
9664 Cope with missing /usr/sbin/prelink.
9665 * lib/prelink-support.exp (prelink_no):
9666 <result == 1 && $output is "no such file or directory">: New.
9667 (prelink_yes): Likewise. Return on failed prelink_no.
9668
5e3b36f8
JK
96692010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9670 Joel Brobecker <brobecker@adacore.com>
9671
9672 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9673 build_executable by build_executable_own_libs. Replace "prelink -R"
9674 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9675 change.
9676 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9677 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9678 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9679 Replace build_executable by build_executable_own_libs's function
9680 build_executable_own_libs.
9681 (prelinkNO): Create new stub to call prelink_no.
9682 (prelinkYES): Create new stub to call prelink_yes.
9683 (test_attach): Rename calls of copy to file_copy.
9684 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9685 (copy): Move to ...
9686 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9687 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9688 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9689 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9690 special flags by gdb_compile_shlib. Replace second gdb_compile by
9691 build_executable_own_libs. Replace "prelink -R" execution by a call of
9692 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
9693 a second call of prelink_yes. Replace restart commands by
9694 clean_restart.
9695 (prelink): Rename to ...
9696 (seen displacement message): ... this test. Extend its expectation
9697 strictness.
9698
86e4bafc
JK
96992010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9700
9701 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9702 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9703 displacement message exactly once.
9704
3cd07d20
JK
97052010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9706 Joel Brobecker <brobecker@adacore.com>
9707
9708 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
9709 its restore after the <$relink_args != ""> loop. new comment.
9710
0a1e94c7
JK
97112010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9712 Joel Brobecker <brobecker@adacore.com>
9713
9714 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9715 code for it. New variable relink_args.
9716 (prelinkYES): Call prelinkNO.
9717 (test_attach): Accept new parameter relink_args. Re-prelink the binary
9718 in such case. Move the core code to ...
9719 (test_attach_gdb): ... a new function. Send GDB command "file".
9720 Extend expected "Attaching to " string.
9721
2f70bcfb
TT
97222010-07-02 Tom Tromey <tromey@redhat.com>
9723
9724 * gdb.base/bitops.exp: Remove extraneous "pass".
9725
a17ac5b0
TT
97262010-07-02 Ken Werner <ken.werner@de.ibm.com>
9727
9728 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9729
dc10affe
PA
97302010-07-01 Pedro Alves <pedro@codesourcery.com>
9731
d41c0fc8
PA
9732 * gdb.base/help.exp: Adjust expected output.
9733
97342010-07-01 Pedro Alves <pedro@codesourcery.com>
9735
9736 * gdb.base/help.exp: Adjust expected output.
dc10affe 9737
0a600c36
JK
97382010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9739
9740 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9741 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9742 c++/11702.
9743
37cc8bfe
JK
97442010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9745 Doug Evans <dje@google.com>
9746
9747 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9748 add .dynamic entry'.
9749
254e6b9e
DE
97502010-06-29 Doug Evans <dje@google.com>
9751
9752 Test PR c++/11702.
9753 * gdb.cp/m-static.exp: Add testcase.
9754 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9755
595939de 97562010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
9757 Tom Tromey <tromey@redhat.com>
9758 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
9759
9760 * gdb.python/py-inferior.c: New File.
9761 * gdb.python/py-infthread.c: New File.
9762 * gdb.python/py-inferior.exp: New File.
9763 * gdb.python/py-infthread.exp: New File.
9764
98751a41
JK
97652010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9766
9767 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9768 (ptype ::C::OtherFileClass typedefs): New.
9769 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9770 (C::OtherFileClass::cOtherFileClassVar2): New.
9771 (C::OtherFileClass::cOtherFileClassVar_use): Use also
9772 cOtherFileClassVar2.
9773 (C::cOtherFileType2, C::cOtherFileVar2): New.
9774 (C::cOtherFileVar_use): use also cOtherFileVar2.
9775 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9776
41f62f39
JK
97772010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9778
9779 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9780 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9781 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9782 (print ::C::cOtherFileVar)
9783 (whatis C::OtherFileClass::cOtherFileClassType)
9784 (whatis ::C::OtherFileClass::cOtherFileClassType)
9785 (print C::OtherFileClass::cOtherFileClassVar)
9786 (print ::cOtherFileClassVar)
9787 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9788 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9789 trailing content.
9790 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9791 (C::OtherFileClass::cOtherFileClassVar)
9792 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9793 (C::cOtherFileVar, C::cOtherFileVar_use): New.
9794
af53d231
JK
97952010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9796
9797 Test PR c++/11703 and PR gdb/1448.
9798 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9799 gdb/1448.
9800
9655fd1a
JK
98012010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9802
9803 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9804 (main) <rtti_data>: New.
9805 * gdb.cp/virtbase.exp (print rtti_data): New.
9806
824cc8dd
JK
98072010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9808 Joel Brobecker <brobecker@adacore.com>
9809
9810 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9811
6036c742
JK
98122010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9813
9814 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9815
de6a0421
DE
98162010-06-28 Doug Evans <dje@google.com>
9817
9818 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9819
b2dae948
DE
98202010-06-27 Doug Evans <dje@google.com>
9821
9822 * gdb.cp/m-static.exp: Update expected test output.
9823
0f3bb72e
PH
98242010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9825
889bf7c5
PA
9826 * gdb.gdb/selftest.exp: Adjust expected message for
9827 capturing start-up runtime.
0f3bb72e 9828
bc9f0842
TT
98292010-06-25 Tom Tromey <tromey@redhat.com>
9830
9831 PR python/10808:
9832 * gdb.python/python.exp: Add new tests.
9833
099ef718
SW
98342010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9835
9836 * gdb.cp/operator.cc: Created an import loop.
9837 * gdb.cp/operator.exp: Added testcase for import loop.
9838
5868a632
JK
98392010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9840
9841 Test PR python/11407.
9842 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9843 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9844 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9845 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9846 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9847 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9848 binfile. Call gdb_compile with clean_restart twice.
9849 (func_nofb print, func_nofb backtrace, func_loopfb print)
9850 (func_loopfb backtrace): New.
9851
af76db58
JK
98522010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9853
9854 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9855 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9856 by a hand made one.
9857 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9858 i?86 requirement. Remove variables srcfile and binfile. New variable
9859 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9860
f2c7657e
UW
98612010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9862
9863 * gdb.cell/dwarfaddr.exp: New file.
9864 * gdb.cell/dwarfaddr.S: New file.
9865
628fe4e4
JK
98662010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9867
9868 Test PR 9436.
9869 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9870
f1421989
HZ
98712010-06-24 Hui Zhu <teawater@gmail.com>
9872
9873 * gdb.base/eval.exp: New file.
9874
d03285ec
UW
98752010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9876
9877 * gdb.cell/fork.exp: New file.
9878 * gdb.cell/fork.c: Likewise.
9879 * gdb.cell/fork-spu.c: Likewise.
9880
41b2c92d
PM
98812010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9882
9883 * lib/gdb.exp (banned_variables_traced): New global variable.
9884 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9885 (gdb_init): Use `trace add variable' instead of obsolete
9886 `trace variable'.
9887
d5bc977f
DE
98882010-06-21 Doug Evans <dje@google.com>
9889
9890 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9891
d2ed6730
UW
98922010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9893
9894 * gdb.arch/spu-ls.exp: New file.
9895 * gdb.arch/spu-ls.c: Likewise.
9896
6aed2dbc
SS
98972010-06-18 Stan Shebs <stan@codesourcery.com>
9898
9899 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9900
e0756905
UW
99012010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9902
9903 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9904 * gdb.base/watch-cond.exp: Likewise.
9905 * gdb.python/py-breakpoint.exp: Likewise.
9906
d8053d4d
PA
99072010-06-18 Pedro Alves <pedro@codesourcery.com>
9908
9909 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9910 clean_restart, make sure every test has a distinct message, and
9911 that messages don't include the executable' full path.
9912
81ce510c
DE
99132010-06-17 Doug Evans <dje@google.com>
9914
9915 * gdb.arch/i386-size.exp: Updated expected output for
9916 DISASSEMBLY_OMIT_FNAME.
9917
65d79d4b
SDJ
99182010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9919 Sergio Durigan Junior <sergiodj@redhat.com>
9920
9921 * gdb.base/watch-notconst.c: New file.
9922 * gdb.base/watch-notconst.S: New file.
9923 * gdb.base/watch-notconst2.c: New file.
9924 * gdb.base/watch-notconst2.S: New file.
9925 * gdb.base/watch-notconst.exp: New file.
9926 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9927 (func4): Add operations on `global_ptr_ptr'.
9928 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9929 routine to test watchpoints created with a constant expression.
9930 (test_inaccessible_watchpoint): Include tests for watchpoints
9931 created with a constant expression.
9932
df0f4836
KB
99332010-06-14 Kevin Buettner <kevinb@redhat.com>
9934
9935 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9936 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9937 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9938 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9939 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9940 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9941 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9942 of `_start'.
9943
b769def5
UW
99442010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9945
9946 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9947 not supported on the target.
9948 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9949 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9950 * gdb.mi/mi-nsintrall.exp: Likewise.
9951 * gdb.mi/mi-nsmoribund.exp: Likewise.
9952 * gdb.mi/mi-nsthrexec.exp: Likewise.
9953
d914c394
SS
99542010-06-11 Stan Shebs <stan@codesourcery.com>
9955
9956 * gdb.base/permissions.exp: New file.
9957
99582010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
9959
9960 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
9961 does not support ELF executable class.
9962
f3ce5b9c
UW
99632010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9964
9965 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
9966
8e46892c
JK
99672010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9968
9969 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
9970 (runto): Catch "The target does not support running in non-stop mode.".
9971
6cc55c64
MS
99722010-06-11 Michael Snyder <msnyder@vmware.com>
9973
9974 * gdb.base/setshow.exp (set language asm): Don't use
9975 gdb_test_no_output, fails on some targets.
9976
caddefa4
UW
99772010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9978
9979 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
9980 * gdb.cp/pr9167.exp: Likewise.
9981
468b1aa7
UW
99822010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9983
9984 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
9985
5c3552dc
UW
99862010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9987
9988 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
9989
02e6fe6a
UW
99902010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9991
9992 * gdb.base/charset.c (main): Make sure malloc gets linked in.
9993
0e03807e
TT
99942010-06-11 Tom Tromey <tromey@redhat.com>
9995
9996 PR gdb/9977, PR exp/11636::
9997 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
9998 (pieces_test_f6): Update expected output.
9999
2bdf28a0
JK
100002010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10001
10002 * gdb.base/moribund-step.exp: New.
10003
f6978de9
MS
100042010-06-08 Michael Snyder <msnyder@vmware.com>
10005
10006 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 10007 * gdb.ada/boolean_expr.exp:
f6978de9
MS
10008 * gdb.ada/frame_args.exp: Ditto.
10009 * gdb.ada/lang_switch.exp: Ditto.
10010 * gdb.ada/ptype_arith_binop.exp: Ditto.
10011 * gdb.ada/ref_param.exp: Ditto.
10012 * gdb.ada/type_coercion.exp:Ditto.
10013
10014 * gdb.asm/asm-source.exp: Ditto.
10015
10016 * gdb.base/attach.exp: Ditto.
10017 * gdb.base/bitfields2.exp: Ditto.
10018 * gdb.base/call-signal-resume.exp: Ditto.
10019 * gdb.base/callfuncs.exp: Ditto.
10020 * gdb.base/commands.exp: Ditto.
10021 * gdb.base/dbx.exp: Ditto.
10022 * gdb.base/default.exp: Ditto.
10023 * gdb.base/dump.exp: Ditto.
10024 * gdb.base/exprs.exp: Ditto.
10025 * gdb.base/freebpcmd.exp: Ditto.
10026 * gdb.base/interrupt.exp: Ditto.
10027 * gdb.base/list.exp: Ditto.
10028 * gdb.base/long_long.exp: Ditto.
10029 * gdb.base/maint.exp: Ditto.
10030 * gdb.base/ptype.exp: Ditto.
10031 * gdb.base/return.exp: Ditto.
10032 * gdb.base/setshow.exp: Ditto.
10033 * gdb.base/sigbpt.exp: Ditto.
10034 * gdb.base/sigrepeat.exp: Ditto.
10035
10036 * gdb.cp/classes.exp: Ditto.
10037
10038 * gdb.dwarf2/dw2-restore.exp: Ditto.
10039
10040 * gdb.gdb/selftest.exp: Ditto.
10041
10042 * gdb.multi/base.exp: Ditto.
10043 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10044
10045 * gdb.python/py-block.exp: Ditto.
10046 * gdb.python/py-prettyprint.exp: Ditto.
10047 * gdb.python/py-template.exp: Ditto.
10048
10049 * gdb.server/ext-attach.exp: Ditto.
10050 * gdb.server/ext-run.exp: Ditto.
10051 * gdb.server/server-mon.exp: Ditto.
10052
10053 * gdb.threads/fork-thread-pending.exp: Ditto.
10054 * gdb.threads/hand-call-in-threads.exp: Ditto.
10055 * gdb.threads/interrupted-hand-call.exp: Ditto.
10056 * gdb.threads/linux-dp.exp: Ditto.
10057 * gdb.threads/manythreads.exp: Ditto.
10058 * gdb.threads/print-threads.exp: Ditto.
10059 * gdb.threads/pthreads.exp: Ditto.
10060 * gdb.threads/schedlock.exp: Ditto.
10061 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10062 * gdb.threads/threadapply.exp: Ditto.
10063
de7ff789
MS
100642010-06-08 Michael Snyder <msnyder@vmware.com>
10065
889bf7c5 10066 * gdb.ada/exec_changed.exp:
de7ff789
MS
10067 Use ".*" instead of "" as wildcard regexp.
10068
10069 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10070 * gdb.base/call-ar-st.exp: Ditto.
10071 * gdb.base/checkpoint.exp: Ditto.
10072 * gdb.base/default.exp: Ditto.
10073 * gdb.base/dump.exp: Ditto.
10074 * gdb.base/ending-run.exp: Ditto.
10075 * gdb.base/fileio.exp: Ditto.
10076 * gdb.base/miscexprs.exp: Ditto.
10077 * gdb.base/pointers.exp: Ditto.
10078 * gdb.base/readline.exp: Ditto.
10079 * gdb.base/reread.exp: Ditto.
10080 * gdb.base/restore.exp: Ditto.
10081 * gdb.base/shlib-call.exp: Ditto.
10082 * gdb.base/valgrind-db-attach.exp: Ditto.
10083 * gdb.base/volatile.exp: Ditto.
10084 * gdb.base/watchpoints.exp: Ditto.
10085
10086 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10087
10088 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10089 * gdb.python/py-value.exp: Ditto.
10090
10091 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10092 * gdb.trace/circ.exp: Ditto.
10093 * gdb.trace/collection.exp: Ditto.
10094 * gdb.trace/packetlen.exp: Ditto.
10095 * gdb.trace/passc-dyn.exp: Ditto.
10096 * gdb.trace/report.exp: Ditto.
10097 * gdb.trace/tfile.exp: Ditto.
10098 * gdb.trace/tfind.exp: Ditto.
10099 * gdb.trace/while-dyn.exp: Ditto.
10100
3bebe2f2
JK
101012010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10102
10103 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10104
5c631832
JK
101052010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10106
10107 Test PR 10640.
10108 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10109
4c3376c8
SW
101102010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10111
10112 * gdb.cp/koenig.exp: Test for ADL operators.
10113 * gdb.cp/koenig.cc: Added ADL operators.
10114 * gdb.cp/operator.exp: New test.
10115 * gdb.cp/operator.cc: New test.
10116
dc226d5a
MS
101172010-06-04 Michael Snyder <msnyder@vmware.com>
10118
dfb88a23
MS
10119 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10120 * gdb.base/pending.exp: Ditto.
f7ae76b3 10121
dc226d5a
MS
10122 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10123
967cf477
DE
101242010-06-04 Doug Evans <dje@google.com>
10125
10126 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10127 disabled printers.
10128 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10129 (enable_lookup_function): New function.
10130
eb801841
TT
101312010-06-04 Tom Tromey <tromey@redhat.com>
10132
10133 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10134 of hash and id.
10135
38979823
JK
101362010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10137
10138 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10139 newline.
10140 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10141 (empty verbose non-noisy clear, empty verbose noisy clear)
10142 (empty non-verbose noisy clear): Likewise.
10143
35ec993f
MS
101442010-06-03 Michael Snyder <msnyder@vmware.com>
10145
10146 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10147 * gdb.base/display.exp: Ditto.
10148 * gdb.base/find.exp: Ditto.
10149 * gdb.base/ifelse.exp: Ditto.
10150 * gdb.base/multi-forks.exp: Ditto.
10151 * gdb.base/recurse.exp: Ditto.
10152 * gdb.base/setshow.exp: Ditto.
10153 * gdb.base/value-double-free.exp: Ditto.
10154 * gdb.base/watch-vfork.exp: Ditto.
10155 * gdb.base/watch_thread_num.exp: Ditto.
10156 * gdb.base/watchpoint-solib.exp: Ditto.
10157 * gdb.base/watchpoint.exp: Ditto.
10158 * gdb.base/watchpoints.exp: Ditto.
10159
10160 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10161 * gdb.cp/overload.exp: Ditto.
10162 * gdb.cp/virtfunc.exp: Ditto.
10163
10164 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10165
889bf7c5 10166 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
10167 Replace gdb_test with gdb_test_no_output.
10168
889bf7c5 10169 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
10170 Replace gdb_test with gdb_test_no_output.
10171 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10172 * gdb.threads/watchthreads.exp: Ditto.
10173 * gdb.threads/watchthreads2.exp: Ditto.
10174
10175 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10176 * gdb.trace/tfind.exp: Ditto.
10177
c22decce
JB
101782010-06-03 Joel Brobecker <brobecker@adacore.com>
10179
10180 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10181 successful test if message is the empty string.
10182
fd5700c7
JK
101832010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10184
10185 * gdb.fortran/module.exp (stopped language detection): New test.
10186
f55ee35c
JK
101872010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10188
10189 Support DW_TAG_module as separate namespaces.
10190 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10191 gdb.fortran/library-module-lib.f90: New.
10192 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10193 (print i): Remove.
10194 (continue to breakpoint: i-is-1, print var_i value 1)
10195 (continue to breakpoint: i-is-2, print var_i value 2)
10196 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10197 (print var_d, print var_i value 14, ptype modmany, complete `modm)
10198 (complete `modmany, complete `modmany`, complete `modmany`var)
10199 (show language, setting breakpoint at module): New tests.
10200 * gdb.fortran/module.f90 (module mod): Remove.
10201 (module mod1, module mod2, module modmany, subroutine sub1)
10202 (subroutine sub2, program module): New.
10203
b8e8282f
JK
102042010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10205
10206 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10207 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
10208 * gdb.cp/anon-union.exp (pass): Rename to ...
10209 (print z 2): ... here.
b8e8282f 10210
019ebafc
MS
102112010-06-02 Michael Snyder <msnyder@vmware.com>
10212
e68d8fd4
MS
10213 * gdb.trace/actions.exp: Use gdb_test_no_output.
10214 * gdb.trace/circ.exp: Ditto.
10215 * gdb.trace/packetlen.exp: Ditto.
10216 * gdb.trace/save-trace.exp: Ditto.
10217 * gdb.trace/tracecmd.exp: Ditto.
10218 * gdb.trace/tsv.exp: Ditto.
10219
12b5d08a
MS
10220 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
10221 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
10222 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10223 * gdb.threads/manythreads.exp: Ditto.
10224 * gdb.threads/print-threads.exp: Ditto.
10225 * gdb.threads/pthreads.exp: Ditto.
10226 * gdb.threads/schedlock.exp: Ditto.
10227 * gdb.threads/staticthreads.exp: Ditto.
10228 * gdb.threads/thread-specific.exp: Ditto.
10229 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10230 * gdb.threads/threadapply.exp: Ditto.
10231 * gdb.threads/watchthreads.exp: Ditto.
10232 * gdb.threads/watchthreads2.exp: Ditto.
10233
89493308
MS
10234 * gdb.python/py-block.exp: Use gdb_test_no_output.
10235 * gdb.python/py-prettyprint.exp: Ditto.
10236 * gdb.python/py-template.exp: Ditto.
10237 * gdb.python/py-value.exp: Ditto.
10238
10239 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
10240 * gdb.reverse/watch-reverse.exp: Ditto.
10241
10242 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
10243 * gdb.server/ext-run.exp: Ditto.
10244
019ebafc
MS
10245 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
10246 * gdb.dwarf2/dw2-compressed.exp: Ditto.
10247 * gdb.dwarf2/dw2-intercu.exp: Ditto.
10248 * gdb.dwarf2/dw2-intermix.exp: Ditto.
10249 * gdb.dwarf2/dw2-producer.exp: Ditto.
10250 * gdb.dwarf2/mac-fileno.exp: Ditto.
10251
10252 * gdb.gdb/observer.exp: Use gdb_test_no_output.
10253 * gdb.gdb/selftest.exp: Ditto.
10254
10255 * gdb.multi/base.exp: Use gdb_test_no_output.
10256
10257 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
10258
3e0ca3a5
JK
102592010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10260
10261 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
10262
9db70545
MS
102632010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
10264
a8d52276
MS
10265 * gdb.cp/class2.exp: Use gdb_test_no_output.
10266 * gdb.cp/classes.exp: Ditto.
10267 * gdb.cp/extern-c.exp: Ditto.
10268 * gdb.cp/inherit.exp: Ditto.
10269 * gdb.cp/maint.exp: Ditto.
10270 * gdb.cp/mb-inline.exp: Ditto.
10271 * gdb.cp/mb-templates.exp: Ditto.
10272 * gdb.cp/method2.exp: Ditto.
10273 * gdb.cp/misc.exp: Ditto.
10274 * gdb.cp/ovldbreak.exp: Ditto.
10275 * gdb.cp/punctuator.exp: Ditto.
10276 * gdb.cp/templates.exp: Ditto.
10277 * gdb.cp/virtbase.exp: Ditto.
10278
889bf7c5 10279 * gdb.threads/attach-stopped.exp:
9db70545 10280 Replace uses of send_gdb / gdb_expect.
889bf7c5 10281 * gdb.threads/attachstop-mt.exp:
9db70545 10282 Replace uses of send_gdb / gdb_expect.
889bf7c5 10283 * gdb.threads/gcore-thread.exp:
9db70545 10284 Replace uses of send_gdb / gdb_expect.
889bf7c5 10285 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
10286 Replace uses of send_gdb / gdb_expect.
10287 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10288 * gdb.threads/print-threads.exp:
9db70545
MS
10289 Replace uses of send_gdb / gdb_expect.
10290 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
10291 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
10292 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
10293
10294 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
10295 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
10296 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
10297 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
10298 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
10299 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
10300 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
10301 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
10302 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
10303 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
10304 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
10305
359cc68c
JK
103062010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10307
10308 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
10309
7d3fe98e
SW
103102010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
10311
10312 * gdb.cp/koenig.exp: Added new test case.
10313 * gdb.cp/koenig.cc: Ditto.
10314
27d3a1a2
MS
103152010-06-01 Michael Snyder <msnyder@vmware.com>
10316
10317 * gdb.base/arithmet.exp: Use gdb_test_no_output.
10318 * gdb.base/arrayidx.exp: Ditto.
10319 * gdb.base/attach.exp: Ditto.
10320 * gdb.base/auxv.exp: Ditto.
10321 * gdb.base/bigcre.exp: Ditto.
10322 * gdb.base/break-always.exp: Ditto.
10323 * gdb.base/break-interp.exp: Ditto.
10324 * gdb.base/break.exp: Ditto.
10325 * gdb.base/breakpoint-shadow.exp: Ditto.
10326 * gdb.base/call-ar-st.exp: Ditto.
10327 * gdb.base/call-sc.exp: Ditto.
10328 * gdb.base/call-signal-resume.exp: Ditto.
10329 * gdb.base/callfuncs.exp: Ditto.
10330 * gdb.base/catch-syscall.exp: Ditto.
10331 * gdb.base/charset.exp: Ditto.
10332 * gdb.base/code-expr.exp: Ditto.
10333 * gdb.base/commands.exp: Ditto.
10334 * gdb.base/cond-expr.exp: Ditto.
10335 * gdb.base/condbreak.exp: Ditto.
10336 * gdb.base/cursal.exp: Ditto.
10337 * gdb.base/cvexpr.exp: Ditto.
10338 * gdb.base/default.exp: Ditto.
10339 * gdb.base/del.exp: Ditto.
10340 * gdb.base/detach.exp: Ditto.
10341 * gdb.base/display.exp: Ditto.
10342 * gdb.base/ena-dis-br.exp: Ditto.
10343 * gdb.base/eval-skip.exp: Ditto.
10344 * gdb.base/foll-fork.exp: Ditto.
10345 * gdb.base/foll-vfork.exp: Ditto.
10346 * gdb.base/frame-args.exp: Ditto.
10347 * gdb.base/funcargs.exp: Ditto.
10348 * gdb.base/gcore-buffer-overflow.exp: Ditto.
10349 * gdb.base/gdbvars.exp: Ditto.
10350 * gdb.base/help.exp: Ditto.
10351 * gdb.base/ifelse.exp: Ditto.
10352 * gdb.base/included.exp: Ditto.
10353 * gdb.base/list.exp: Ditto.
10354 * gdb.base/macscp.exp: Ditto.
10355 * gdb.base/maint.exp: Ditto.
10356 * gdb.base/multi-fork.exp: Ditto.
10357 * gdb.base/overlays.exp: Ditto.
10358 * gdb.base/page.exp: Ditto.
10359 * gdb.base/pending.exp: Ditto.
10360 * gdb.base/pointers.exp: Ditto.
10361 * gdb.base/pr11022.exp: Ditto.
10362 * gdb.base/prelink.exp: Ditto.
10363 * gdb.base/printcmds.exp: Ditto.
10364 * gdb.base/psymtab.exp: Ditto.
10365 * gdb.base/randomize.exp: Ditto.
10366 * gdb.base/relational.exp: Ditto.
10367 * gdb.base/relocate.exp: Ditto.
10368 * gdb.base/remote.exp: Ditto.
10369 * gdb.base/sepdebug.exp: Ditto.
10370 * gdb.base/set-lang-auto.exp: Ditto.
10371 * gdb.base/setshow.exp: Ditto.
10372 * gdb.base/setvar.exp: Ditto.
10373 * gdb.base/signals.exp: Ditto.
10374 * gdb.base/signull.exp: Ditto.
10375 * gdb.base/sigstep.exp: Ditto.
10376 * gdb.base/sizeof.exp: Ditto.
10377 * gdb.base/solib-disc.exp: Ditto.
10378 * gdb.base/store.exp: Ditto.
10379 * gdb.base/structs.exp: Ditto.
10380 * gdb.base/structs2.exp: Ditto.
10381 * gdb.base/subst.exp: Ditto.
10382 * gdb.base/term.exp: Ditto.
10383 * gdb.base/trace-commands.exp: Ditto.
10384 * gdb.base/unwindonsignal.exp: Ditto.
10385 * gdb.base/valgrind-db-attach.exp: Ditto.
10386 * gdb.base/varargs.exp: Ditto.
10387 * gdb.base/watch-cond.exp: Ditto.
10388 * gdb.base/watch_thread_num.exp: Ditto.
10389 * gdb.base/watchpoint-cond-gone.exp: Ditto.
10390 * gdb.base/watchpoint.exp: Ditto.
10391 * gdb.base/whatis-exp.exp: Ditto.
10392
f8d3bf8f
MS
103932010-06-01 Michael Snyder <msnyder@vmware.com>
10394
10395 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
10396 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
10397 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
10398 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
10399 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
10400 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
10401 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
10402 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
10403 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
10404 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
10405 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
10406 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
10407 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
10408 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
10409 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
10410
3f9e0d32
JK
104112010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10412
10413 * gdb.base/commands.exp (begin commands on watch): Remove excessive
10414 trailing newline.
10415 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
10416 * gdb.java/jmisc.exp (p *args\n): Rename to ...
10417 (p *args): ... here and remove excessive trailing newline.
10418
f629457d
JB
104192010-05-31 Joel Brobecker <brobecker@adacore.com>
10420
10421 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
10422
09eef106
JK
104232010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10424
10425 Accept the new Linux kernel "t (tracing stop)" string.
10426 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
10427 Update comment.
10428 (state_wait) <T (tracing stop)>: New.
10429 (main): Update the state_wait expect string.
10430
94f31136
PA
104312010-05-28 Pedro Alves <pedro@codesourcery.com>
10432
10433 * limits.c, limits.exp: Delete files.
10434 * Makefile.in (clean mostlyclean): Adjust.
10435 * tracecmd.exp: Adjust.
10436
096554ab
JK
104372010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10438
10439 * gdb.base/tui-layout.exp: New.
10440
27d3a1a2 104412010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 10442
889bf7c5 10443 * gdb.reverse/break-precsave.exp:
bcd2dc50 10444 Replace uses of send_gdb / gdb_expect.
889bf7c5 10445 * gdb.reverse/break-reverse.exp:
bcd2dc50 10446 Replace uses of send_gdb / gdb_expect.
889bf7c5 10447 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 10448 Replace uses of send_gdb / gdb_expect.
889bf7c5 10449 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 10450 Replace uses of send_gdb / gdb_expect.
889bf7c5 10451 * gdb.reverse/finish-precsave.exp:
bcd2dc50 10452 Replace uses of send_gdb / gdb_expect.
889bf7c5 10453 * gdb.reverse/finish-reverse.exp:
bcd2dc50 10454 Replace uses of send_gdb / gdb_expect.
889bf7c5 10455 * gdb.reverse/i386-precsave.exp:
bcd2dc50 10456 Replace uses of send_gdb / gdb_expect.
889bf7c5 10457 * gdb.reverse/i386-reverse.exp:
bcd2dc50 10458 Replace uses of send_gdb / gdb_expect.
889bf7c5 10459 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 10460 Replace uses of send_gdb / gdb_expect.
889bf7c5 10461 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 10462 Replace uses of send_gdb / gdb_expect.
889bf7c5 10463 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 10464 Replace uses of send_gdb / gdb_expect.
889bf7c5 10465 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 10466 Replace uses of send_gdb / gdb_expect.
889bf7c5 10467 * gdb.reverse/machinestate.exp:
bcd2dc50 10468 Replace uses of send_gdb / gdb_expect.
889bf7c5 10469 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 10470 Replace uses of send_gdb / gdb_expect.
889bf7c5 10471 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 10472 Replace uses of send_gdb / gdb_expect.
889bf7c5 10473 * gdb.reverse/solib-precsave.exp:
bcd2dc50 10474 Replace uses of send_gdb / gdb_expect.
889bf7c5 10475 * gdb.reverse/solib-reverse.exp:
bcd2dc50 10476 Replace uses of send_gdb / gdb_expect.
889bf7c5 10477 * gdb.reverse/step-precsave.exp:
bcd2dc50 10478 Replace uses of send_gdb / gdb_expect.
889bf7c5 10479 * gdb.reverse/step-reverse.exp:
bcd2dc50 10480 Replace uses of send_gdb / gdb_expect.
889bf7c5 10481 * gdb.reverse/until-precsave.exp:
bcd2dc50 10482 Replace uses of send_gdb / gdb_expect.
889bf7c5 10483 * gdb.reverse/until-reverse.exp:
bcd2dc50 10484 Replace uses of send_gdb / gdb_expect.
889bf7c5 10485 * gdb.reverse/watch-precsave.exp:
bcd2dc50 10486 Replace uses of send_gdb / gdb_expect.
889bf7c5 10487 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
10488 Replace uses of send_gdb / gdb_expect.
10489
3def43e0
JK
104902010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10491
10492 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
10493 excessive newline.
10494
27d3a1a2 104952010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
10496
10497 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
10498 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
10499 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
10500 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
10501 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
10502 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
10503 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
10504 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
10505 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
10506 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
10507 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
10508 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
10509 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
10510 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
10511 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
10512 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
10513 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
10514 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
10515 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 10516
27d3a1a2 105172010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 10518
22454424
MS
10519 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
10520 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
10521
10522 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
10523 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
10524 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
10525
889bf7c5 10526 * gdb.reverse/consecutive-reverse.exp:
22454424 10527 Replace uses of send_gdb / gdb_expect.
889bf7c5 10528 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
10529 Replace uses of send_gdb / gdb_expect.
10530
10531 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10532 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10533 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10534 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
10535 Replace uses of send_gdb / gdb_expect.
10536 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10537 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10538 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10539 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10540 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10541 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10542 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10543 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10544 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
10545
105462010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 10547
22454424 10548 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10549
22454424 10550 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10551
22454424
MS
10552 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10553 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10554 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10555 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10556 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10557 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10558 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10559 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10560 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10561
6e5f2c59
TT
105622010-05-25 Tom Tromey <tromey@redhat.com>
10563
10564 * gdb.base/macscp.exp: Add missing space after setup_kfail.
10565
bbc8b958
TT
105662010-05-25 Tom Tromey <tromey@redhat.com>
10567
10568 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10569 argument order.
10570 * gdb.base/macscp.exp: Fix setup_kfail argument order.
10571 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10572 order.
10573 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10574 order.
10575 * gdb.base/call-sc.exp (setup_kfails): Remove.
10576 (setup_compiler_kfails): Remove.
10577 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10578 argument order.
10579 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10580 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10581 (advancei): Fix setup_kfail argument order.
10582 * gdb.base/radix.exp: Fix setup_kfail argument order.
10583 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10584 order.
10585 * gdb.base/structs.exp (setup_kfails): Remove.
10586 (setup_compiler_kfails): Fix setup_kfail argument order.
10587 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10588 order.
10589 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10590 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10591 setup_kfail argument order.
10592 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10593
83d1babf
TT
105942010-05-25 Tom Tromey <tromey@redhat.com>
10595
10596 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10597
6acb16a2
MS
105982010-05-25 Michael Snyder <msnyder@vmware.com>
10599
10600 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10601 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10602 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10603 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10604 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10605 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10606 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10607 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10608 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
10609 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10610 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10611 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10612 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10613 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10614 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10615 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10616 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10617 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10618 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10619 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10620 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10621 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10622 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
10623 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10624 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10625 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10626 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10627 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10628 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10629 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10630 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10631 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10632 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10633 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10634 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10635 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10636 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10637 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10638 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10639 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10640 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10641 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10642 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10643 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10644 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10645 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10646 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 10647 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10648
106492010-05-25 Doug Evans <dje@google.com>
10650
10651 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10652 gdb.string_to_argv.
ad3986f0 10653
d3b1e874
TT
106542010-05-21 Tom Tromey <tromey@redhat.com>
10655
10656 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10657 Call it.
10658 * gdb.dwarf2/pieces.S: Update.
10659 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10660
cb826367
TT
106612010-05-21 Tom Tromey <tromey@redhat.com>
10662
10663 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10664 Call it.
10665 * gdb.dwarf2/pieces.c (struct C): New.
10666 (f6): New function.
10667 * gdb.dwarf2/pieces.S: Replace.
10668
74de6778
TT
106692010-05-21 Tom Tromey <tromey@redhat.com>
10670
10671 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10672 Call it.
10673
afd74c5f
TT
106742010-05-21 Tom Tromey <tromey@redhat.com>
10675
10676 * gdb.dwarf2.pieces.exp: New file.
10677 * gdb.dwarf2.pieces.S: New file.
10678 * gdb.dwarf2.pieces.c: New file.
10679
a7b75dfd 106802010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10681 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
10682
10683 * lib/gdb.exp (gdb_test_no_output): New function.
10684 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10685 when testing commands that should produce no output.
10686
c81c812a
JB
106872010-05-17 Joel Brobecker <brobecker@adacore.com>
10688
10689 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10690 parameter that we want to watch being a constant.
10691
0cce5bd9
JB
106922010-05-17 Joel Brobecker <brobecker@adacore.com>
10693
10694 * gdb.ada/cond_lang: New testcase.
10695
47050449
JB
106962010-05-17 Joel Brobecker <brobecker@adacore.com>
10697
10698 * lib/gdb.exp (banned_variables): New variable/constant.
10699 (gdb_init): Add write trace on variables listed in banned_variables.
10700 (gdb_finish): Remove write traces on variables listed in
10701 banned_variables.
10702
77c01586
JB
107032010-05-17 Joel Brobecker <brobecker@adacore.com>
10704
10705 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10706 * gdb.cp/koenig.exp: Likewise.
10707
88d4aea7
PM
107082010-05-14 Phil Muldoon <pmuldoon@redhat.com>
10709
889bf7c5 10710 PR python/11482
88d4aea7
PM
10711
10712 * gdb.python/py-value.exp (test_value_hash): New function.
10713
f5a010c0
PM
107142010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
10715
10716 PR exp/11530.
10717 * gdb.base/gdb11530.c: New file.
10718 * gdb.base/gdb11530.exp: New file.
10719
8ef4892f
JK
107202010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10721
10722 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10723 * gdb.dwarf2/dw2-modula2-self-type.S: New.
10724
7322dca9
SW
107252010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
10726
10727 * gdb.cp/koenig.exp: New test.
10728 * gdb.cp/koenig.cc: New test program.
10729
02e7ea18
JB
107302010-05-05 Joel Brobecker <brobecker@adacore.com>
10731
10732 Remove the use of prms_id and bug_id throughout the testsuite.
10733
e1c34c5d
PM
107342010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
10735
10736 PR exp/11349.
10737 * testsuite/gdb.cp/ref-types.exp: Add test to examine
10738 use a reference local variable.
10739
8e1d0c49
JK
107402010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10741
10742 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10743 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
10744 variable different_dir. Move debugfile into a full directory pathname
10745 under DIFFERENT_DIR.
10746 * lib/gdb.exp (separate_debug_filename): Remove.
10747 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
10748 variable debug_dir and mkdir of it. Update function comments.
10749
e66408ed
PA
107502010-04-29 Pedro Alves <pedro@codesourcery.com>
10751
10752 PR gdb/11557
10753
10754 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10755 files.
10756
d7b32ed3
PM
107572010-04-29 Phil Muldoon <pmuldoon@redhat.com>
10758
889bf7c5 10759 * gdb.python/py-param.exp: New File.
d7b32ed3 10760
6aecb9c2
JB
107612010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
10762
10763 * gdb.base/default.exp: Fix "set language" test.
10764
bdf92a1c
PM
107652010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
10766
10767 PR breakpoints/11531.
10768 * gdb.base/gdb11531.c: New file.
10769 * gdb.base/gdb11531.exp: New file.
10770
3f172e24
TT
107712010-04-26 Tom Tromey <tromey@redhat.com>
10772
10773 * gdb.base/completion.exp: Add tests for completion and deprecated
10774 commands.
10775
64af4c92
JK
107762010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10777
10778 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10779 (print /x char_array): Escape curly brackets.
10780
492928e4
JK
107812010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10782
10783 Fix deadlock on looped list of loaded shared objects.
10784 * gdb.base/solib-corrupted.exp: New.
10785
66d09542
DE
107862010-04-23 Doug Evans <dje@google.com>
10787
10788 * gdb.python/py-section-script.c: New file.
10789 * gdb.python/py-section-script.exp: New file.
10790 * gdb.python/py-section-script.py: New file.
10791
8bd10a10
CM
107922010-04-20 Chris Moller <cmoller@redhat.com>
10793
10794 PR 10179
10795
10796 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10797 * gdb.base/pr10179-a.c:
10798 * gdb.base/pr10179-b.c:
10799 * gdb.base/pr10179.exp: New files.
10800
c0201579
JK
108012010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10802
10803 Fix crashes on dangling display expressions.
10804 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10805 is SEP.
10806 (lib_flags): Remove the "debug" keyword.
10807 (libsepdebug): New variable for iterating new loop.
10808 (save_pf_prefix): New variable wrapping the loop.
10809 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10810 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10811
793b0ff8
PM
108122010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10813
10814 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10815
097f51f7
PM
108162010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10817
10818 PR stabs/11479.
10819 * gdb.stabs/gdb11479.exp: New file.
10820 * gdb.stabs/gdb11479.c: New file.
10821
9a22f0d0
PM
108222010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10823
10824 * gdb.base/charset.c (Strin16, String32): New variables.
10825 * gdb.base/charset.exp (gdb_test): Test correct display
10826 of 16 or 32 bit strings.
10827
108282010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
10829
10830 PR 9167
10831 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10832 * gdb.cp/pr9167.cc: New file.
10833 * gdb.cp/pr9167.exp: New file.
10834
10835
6e354e5e
PM
108362010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10837
10838 PR pascal/11492.
10839 * gdb.pascal/gdb11492.pas: New file.
10840 * gdb.pascal/gdb11492.exp: New file.
10841
be942545
JB
108422010-04-20 Joel Brobecker <brobecker@adacore.com>
10843
1667e6e3 10844 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 10845
0c3acc09
JB
108462010-04-20 Joel Brobecker <brobecker@adacore.com>
10847
10848 * gdb.ada/dyn_loc: New testcase.
10849
ec31cde5
CM
108502010-04-20 Chris Moller <cmoller@redhat.com>
10851
10852 PR 10867
889bf7c5 10853
ec31cde5
CM
10854 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10855 * gdb.cp/pr10687.cc: New file.
10856 * gdb.cp/pr10687.exp: New file.
10857
10858
ce4b0682
SDJ
108592010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10860 Sergio Durigan Junior <sergiodj@redhat.com>
10861
10862 * gdb.fortran/logical.exp: New testcase.
10863 * gdb.fortran/logical.f90: New file.
10864
3436961f
DE
108652010-04-19 Doug Evans <dje@google.com>
10866
10867 * gdb.base/help.exp (help source): Update expected output.
10868
4d836c09
JK
108692010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10870
10871 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10872 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10873 gdb_exit and return.
10874 (executable): New variable.
10875 (binfile): Use it.
10876
6149aea9
PA
108772010-04-19 Pedro Alves <pedro@codesourcery.com>
10878
10879 PR breakpoints/8554.
10880
10881 * gdb.trace/save-trace.exp: Adjust.
10882
ed41462c
L
108832010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10884
10885 PR corefiles/11511
10886 * gdb.arch/system-gcore.exp: New.
10887 * gdb.arch/gcore.c: Likewise.
10888
3f7b2faa
DE
108892010-04-15 Doug Evans <dje@google.com>
10890
fa33c3cd
DE
10891 * gdb.python/py-progspace.c: New file.
10892 * gdb.python/py-progspace.exp: New file.
10893
3f7b2faa
DE
10894 * gdb.base/source.exp: Add tests for "source -s".
10895
79f283fe
PM
108962010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10897
10898 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10899 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10900 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10901 * gdb.python/py-mi.exp: New test for to_string returning None.
10902
fc8eb08a
PM
109032010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10904
10905 * gdb.python/py-breakpoint.c: Make result global.
10906
26e197f6
JK
109072010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10908
10909 Fix non-GNU make compatibility.
10910 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10911
adc36818
PM
109122010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10913
10914 * gdb.python/py-breakpoint.exp: New File.
10915 * gdb.python/py-breakpoint.C: Ditto.
10916
64e17368
SS
109172010-04-08 Stan Shebs <stan@codesourcery.com>
10918
10919 * gdb.trace/actions.exp: Clear default-collect.
10920 * gdb.trace/save-trace.exp: Clear default-collect.
10921
fff5cc64
PM
109222010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10923
10924 * gdb.python/py-value: Add null string variable.
10925 (test_lazy_string): Test zero length, NULL address lazy
10926 strings.
10927
a055a187
L
109282010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10929
10930 * gdb.arch/i386-avx.c: New.
10931 * gdb.arch/i386-avx.exp: Likewise.
10932
10933 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10934
96e39866
DE
109352010-04-06 Doug Evans <dje@google.com>
10936
10937 * gdb.base/source-test.gdb: New file.
10938 * gdb.base/source.exp: Test source -v.
10939
5984a431
UW
109402010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10941
10942 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10943
ec8a089a
PM
109442010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10945
10946 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10947 within one line, unless it is followed by a double quote.
10948 * gdb.stabs/hppa.sed: Idem.
10949 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
10950 * gdb.stabs/weird.exp: Check for correct parsing of
10951 char and string constants.
ec8a089a
PM
10952 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10953 in .stabs to .stabx substitution.
10954
fce3c1f0
SS
109552010-04-05 Stan Shebs <stan@codesourcery.com>
10956
10957 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10958 constant global.
10959 * gdb.trace/tfile.exp: Try to print them.
10960
d77f58be
SS
109612010-04-04 Stan Shebs <stan@codesourcery.com>
10962
10963 * gdb.base/completion.exp: Update for new "info watchpoints".
10964 * gdb.base/default.exp: Ditto.
10965 * gdb.base/help.exp: Ditto.
10966 * gdb.base/watchpoint.exp: Ditto.
10967 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 10968
af54718e
SS
109692010-04-04 Stan Shebs <stan@codesourcery.com>
10970
10971 * gdb.trace/tfile.exp: Sharpen tfind test.
10972
74d1f91e
JK
109732010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10974
10975 * gdb.base/break-entry.exp: New.
10976
eb8e76db 109772010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 10978 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
10979
10980 * gdb.reverse/i386-sse-reverse.exp: New file.
10981 * gdb.reverse/i386-sse-reverse.c: New file.
10982
bf65cad8
PA
109832010-04-02 Pedro Alves <pedro@codesourcery.com>
10984
10985 * gdb.trace/tfind.exp: Adjust expected disassembly output.
10986
fff87407
SS
109872010-04-01 Stan Shebs <stan@codesourcery.com>
10988
10989 * gdb.trace/actions.exp: Tweak expected output.
10990 * gdb.trace/while-stepping.exp: Tweak expected output.
10991
fe01d668
L
109922010-04-01 H.J. Lu <hongjiu.lu@intel.com>
10993
10994 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
10995
86b17b60
PA
109962010-04-01 Pedro Alves <pedro@codesourcery.com>
10997
10998 * gdb.base/commands.exp: Adjust.
10999 * gdb.cp/extern-c.exp: Adjust.
11000
2c58c0a9
PA
110012010-04-01 Pedro Alves <pedro@codesourcery.com>
11002
11003 * gdb.trace/collection.c (local_test_func): Define a local struct,
11004 and instanciate it.
11005
0db9b91c
PA
110062010-04-01 Pedro Alves <pedro@codesourcery.com>
11007
11008 * gdb.trace/collection.exp (gdb_collect_args_test)
11009 (gdb_collect_argarray_test): XFAIL the tests that assume the
11010 argarray argument's elements are collected.
11011
8072405b
JK
110122010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11013
11014 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11015 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11016
8bf6485c
SS
110172010-03-31 Stan Shebs <stan@codesourcery.com>
11018
11019 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11020 and tracepoint conditionals.
11021 (gdb_verify_tracepoints): Delete unused return.
11022
fd7f724a
KS
110232010-03-26 Keith Seitz <keiths@redhat.com>
11024
11025 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11026 appear in the output before main.
11027 Remove KFAIL for gdb/2215 aka bz 9320.
11028
8d9e7719
DE
110292010-03-30 Doug Evans <dje@google.com>
11030
0906dd0b
DE
11031 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11032 by dejagnu.
11033 * gdb.arch/amd64-dword.exp: Ditto.
11034
8d9e7719
DE
11035 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11036 match.
11037 (break printf): Ditto.
11038
1da644f0
SW
110392010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11040
11041 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11042 gcc < 4.4.
11043 * gdb.cp/shadow.exp: Ditto.
11044
a8121990
PA
110452010-03-29 Pedro Alves <pedro@codesourcery.com>
11046
11047 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11048 "tstart" is silent.
11049
6e79d367
PA
110502010-03-29 Pedro Alves <pedro@codesourcery.com>
11051
11052 * gdb.trace/collection.exp (executable): New.
11053 (binfile): Use it.
11054 (fpreg, spreg, pcreg): New.
11055 (test_register): Use gdb_test_multiple. Pass /x to print.
11056 (prepare_for_trace_test): New.
11057 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11058 (gdb_collect_args_test, gdb_collect_argstruct_test)
11059 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11060 prepare_for_trace_test.
11061 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11062 fpreg, spreg and pcreg.
11063 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11064 prepare_for_trace_test.
11065 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11066 try to detect tracing support here. Don't set breakpoints at
11067 `begin' or `end' here.
11068 <global scope>: Use clean_restart. Run to main before checking
11069 for tracing support. Check for for tracing support here.
11070
09248348
JK
110712010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11072
11073 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11074 " as $displacement" to "seen displacement message".
11075
d350db38
PA
110762010-03-28 Pedro Alves <pedro@codesourcery.com>
11077
11078 * gdb.trace/while-dyn.exp (executable): New variable.
11079 (binfile): Use it.
11080 (test_while_stepping): New function. Move most tests here. Call
11081 it once for each of the while-stepping, stepping and ws aliases.
11082
907af001
UW
110832010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11084
11085 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11086 that do not provide the tagless_struct type name at all.
11087 (test_print_anon_union): Do not check value of uninitialized
11088 union member. Do not use cp_test_ptype_class, so we can accept
11089 "long" as well as "long int".
11090
610197fd
PA
110912010-03-26 Pedro Alves <pedro@codesourcery.com>
11092
11093 * gdb.trace/tfile.c (tohex, bin2hex): New.
11094 (write_error_trace_file): Hexify error description.
11095
6c28cbf2
SS
110962010-03-25 Stan Shebs <stan@codesourcery.com>
11097
11098 * gdb.trace/tfile.c: Generate an additional trace file, improve
11099 portability.
11100 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11101 files in a better way.
11102
e62b8c7e
KS
111032010-03-25 Keith Seitz <keiths@redhat.com>
11104
11105 * gdb.java/jprint.exp: XFAIL printing of static class members
11106 because of GCC debuginfo problem.
11107
82ccf5a5
JK
111082010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11109
11110 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11111
293e2f9e
DJ
111122010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11113
11114 * gdb.base/completion.exp: Allow long instead of long int.
11115 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11116 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11117 variable p.
11118 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11119 * gdb.base/pointers.exp: Allow long instead of long int.
11120 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11121 * gdb.base/step-line.exp: Allow a directory before the source file name.
11122
95a42b64
TT
111232010-03-24 Tom Tromey <tromey@redhat.com>
11124
11125 PR breakpoints/9352:
11126 * gdb.base/default.exp: Update.
11127 * gdb.base/commands.exp: Update.
11128 * gdb.cp/extern-c.exp: Test setting commands on multiple
11129 breakpoints at once.
11130
2390201f
DJ
111312010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11132
11133 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11134 if gdb,nosignals.
11135 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11136 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11137 exited".
11138
8c9a6790
SS
111392010-03-24 Stan Shebs <stan@codesourcery.com>
11140
11141 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11142
a6c727b2
DJ
111432010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11144
11145 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11146 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11147 argument. Handle "short" and "long".
11148 (Top level): Pass overprototyped output for old_fptr and xptr.
11149
4dfd5423
PA
111502010-03-23 Pedro Alves <pedro@codesourcery.com>
11151
11152 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11153 format strings and add casts to avoid compiler warnings.
11154
111552010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
11156
11157 * lib/trace-support.exp (gdb_trace_setactions):
11158 Don't expect whitespace after ">" prompt.
11159 * gdb.trace/actions.exp: Adjust for output changes.
11160 * gdb.trace/while-stepping.exp: Likewise.
11161
c847d045
JK
111622010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11163
11164 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11165 and r157645).
11166
5f717f1d
JK
111672010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11168
11169 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11170 New.
11171
7d6d51d5
DJ
111722010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11173
11174 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11175 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11176
3b11a015
SS
111772010-03-19 Stan Shebs <stan@codesourcery.com>
11178
11179 * gdb.trace/ax.exp: New file.
11180
d7d158ed
DE
111812010-03-19 Doug Evans <dje@google.com>
11182
6bb85cd1
DE
11183 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11184 output from gcc.
11185
d7d158ed
DE
11186 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11187 named /usr/sbin/prelink<foo>.
11188
4daf5ac0
SS
111892010-03-18 Stan Shebs <stan@codesourcery.com>
11190
11191 * gdb.trace/circ.exp: Test circular-trace-buffer.
11192 * gdb.trace/tfile.exp: Update tstatus test.
11193
e8d05480
JB
111942010-03-18 Joel Brobecker <brobecker@adacore.com>
11195
11196 * gdb.dwarf2/dw2-anonymous-func.S: New file.
11197 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11198
441b986a
UW
111992010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11200
11201 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11202
4247603b
PA
112032010-03-18 Pedro Alves <pedro@codesourcery.com>
11204
11205 * gdb.base/default.exp: Adjust the expected output of the finish
11206 and until commands when the inferior is not being run.
11207
13387711
SW
112082010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
11209
11210 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11211 * gdb.cp/nsusing.exp: Ditto.
11212
6e31430b
TT
112132010-03-15 Tom Tromey <tromey@redhat.com>
11214
11215 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
11216 * gdb.cp/userdef.cc (operator==): New function.
11217 (main): New locals mem1, mem2.
11218
e2d69cb5
JZ
112192010-03-15 Jie Zhang <jie@codesourcery.com>
11220
11221 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
11222 Declare and use new loadtimeout variable.
11223
f572f0a9
DJ
112242010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
11225
11226 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
11227 Use gdb_load later.
11228
51f4c0b0
PA
112292010-03-14 Pedro Alves <pedro@codesourcery.com>
11230
11231 * gdb.base/solib-disc.c (main): Make format of fprintf a string
11232 literal. Add missing endlines to prints to stderr.
11233
1c809c68
TT
112342010-03-12 Tom Tromey <tromey@redhat.com>
11235
11236 PR c++/9708:
11237 * gdb.cp/m-static.exp: Add regression test.
11238 * gdb.cp/m-static.cc (method): New method.
11239 (main): Call it.
11240
00ae8fef
SW
112412010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
11242
11243 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
11244 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
11245
759f0f0b
PA
112462010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11247
21e24d21
PA
11248 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
11249
112502010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11251
759f0f0b
PA
11252 * lib/gdb.exp (skip_stl_tests): New.
11253 (gdb_compile): Symbian needs -ldl.
11254 (shlib_target_file): New.
11255 (shlib_symbol_file): New.
11256 (gdb_load_shlibs): Use shlib_target_file.
11257 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
11258 * gdb.cp/exception.exp: Use skip_stl_tests.
11259 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
11260 * gdb.cp/try_catch.exp: Use skip_stl_tests.
11261 * gdb.cp/mb-templates.exp: Ditto.
11262 * gdb.base/commands.exp: Relax regexes.
11263 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
11264 shlib_target_file and shlib_symbol_file.
11265 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
11266 sections.
11267 * gdb.base/ending-run.exp: Accept E32Main for symbian.
11268 * gdb.base/solib-disc.exp: Use
11269 shlib_target_file and shlib_symbol_file.
11270 * gdb.base/unload.exp: Don't skip on symbian. Use
11271 shlib_target_file and shlib_symbol_file.
11272 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
11273
6a8f2671 112742010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 11275
6a8f2671
PA
11276 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
11277 * gdb.trace/report.exp: Adjust for x86 and x86_64.
11278 Issue a tfind end before looking for a tracepoint frame.
11279 * gdb.trace/tfind.exp: Adjust tstatus output.
11280 Adjust disassembly output.
11281 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
11282
ccf26247
JK
112832010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11284
11285 * gdb.base/break-interp.exp: Create new displacement parameter value
11286 for the test_ld calls.
11287 (reach): New parameter displacement, verify its content. New push of
11288 pf_prefix "reach-$func:". Import global expect_out.
11289 (test_core): New parameter displacement, verify its content. New push
11290 of pf_prefix "core:". New command "set verbose on". Import global
11291 expect_out.
11292 (test_attach): New parameter displacement, verify its content. New
11293 push of pf_prefix "attach:". New command "set verbose on". Import
11294 global expect_out.
11295 (test_ld): New parameter displacement, pass it to the reach, test_core
11296 and test_attach calls and verify its content in the "ld.so exit" test.
11297 * gdb.base/prelink.exp: Remove gdb_exit and final return.
11298 (prelink): Update expected text, use gdb_test.
11299
e469c7fb
DE
113002010-03-10 Doug Evans <dje@google.com>
11301
11302 * gdb.base/checkpoint.exp: Fix comment.
11303 Lengthen timeout while doing >600 checkpoints test.
11304 Rename duplicate "kill all one" test to keep test names unique.
11305
60e1c644
PA
113062010-03-10 Pedro Alves <pedro@codesourcery.com>
11307
11308 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
11309
cec808ec
KS
113102010-03-08 Keith Seitz <keiths@redhat.com>
11311
889bf7c5
PA
11312 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
11313 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
11314 (dm_type_long): New function.
11315 (dm_type_unsigned_short): New function.
11316 (dm_type_unsigned_long): New function.
11317 (myint): New typedef.
11318 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
11319 long, unsigned shor and long, operator char*, and typedef.
11320 (test_lookup_operator_functions): Add operator char* test.
11321 (test_paddr_operator_functions): Likewise.
11322 (test_paddr_overloaded_functions): Use probe values for
11323 short, long, and unsigned short and long.
11324 (test_paddr_hairy_functions): If the demangler probe detected
11325 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
11326 demangler.
11327 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
11328 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
11329 and "print null_pmf".
11330 Add test "ptype a.*pmf".
11331 * gdb.cp/overload.exp: Allow optional "int" to appear with
11332 "short" and "long".
11333 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
11334 long expect value for men_overload1arg.
11335 Allow "int" to appear with "short" and "long".
11336 When testing "info break", add argument for main (void).
11337 Also allow "int" to appear with "short" and "long".
11338 Ditto with "unsigned" and "long long".
cec808ec
KS
11339 * gdb.java/jmain.exp: Do not enclose methods names in single
11340 quotes.
11341 * gdb.java/jmisc.exp: Likewise.
11342 * gdb.java/jprint.exp: Likewise.
11343 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
11344
11345 From Jan Kratochvil <jan.kratochvil@redhat.com>:
11346 * gdb.cp/exception.exp (backtrace after first throw)
11347 (backtrace after second throw): Allow a namespace before __cxa_throw.
11348 (backtrace after first catch, backtrace after second catch): Allow
11349 a namespace before __cxa_begin_catch.
11350
11351 * gdb.cp/cpexprs.exp: New file.
11352 * gdb.cp/cpexprs.cc: New file.
11353
11354 From Daniel Jacobowitz <dan@codesourcery.com>
11355 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
11356 to use string_to_regexp.
11357 (ctor, dtor): New functions. Use them to match constructor
11358 and destructor function types.
11359 (Top level): Use runto_main.
11360
f870a310
TT
113612010-03-05 Tom Tromey <tromey@redhat.com>
11362
11363 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
11364 gdb.target_charset.
11365 (pp_ns.to_string): Likewise.
11366
0c199f28
KS
113672010-03-04 Keith Seitz <keiths@redhat.com>
11368
11369 * gdb.cp/overload.exp: Test that the filename portion of a linespec
11370 can be quoted. Test that both the filename and function/line
11371 portions can be quoted at the same time.
11372
c7437ca6
PA
113732010-03-04 Pedro Alves <pedro@codesourcery.com>
11374
11375 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
11376
b111b805
DE
113772010-03-03 Doug Evans <dje@google.com>
11378
24486cb7
DE
11379 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
11380 libc contains libpthread.
11381
b111b805
DE
11382 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
11383 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
11384 of gdb_compile. Add another pattern to match android backtrace.
11385
a0e0ef55
TT
113862010-03-03 Tom Tromey <tromey@redhat.com>
11387
11388 PR gdb/11345:
11389 * gdb.base/printcmds.exp (test_printf): Add test.
11390
1ba53b71
L
113912010-03-02 H.J. Lu <hongjiu.lu@intel.com>
11392
11393 * gdb.arch/amd64-byte.exp: New.
11394 * gdb.arch/amd64-dword.exp: Likewise.
11395 * gdb.arch/amd64-pseudo.c: Likewise.
11396 * gdb.arch/amd64-word.exp: Likewise.
11397 * gdb.arch/i386-byte.exp: Likewise.
11398 * gdb.arch/i386-pseudo.c: Likewise.
11399 * gdb.arch/i386-word.exp: Likewise.
11400
f5dff777
DJ
114012010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11402
11403 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
11404 types. Add structreg, bitfields, and flags registers.
11405 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
11406 registers.
11407
90884b2b
L
114082010-03-01 H.J. Lu <hongjiu.lu@intel.com>
11409
11410 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
11411 (load_description): Set architecture if defined.
11412
dc00d89f
PM
114132010-02-28 Phil Muldoon <pmuldoon@redhat.com>
11414
11415 * gdb.python/py-frame.exp: Add read_var block tests.
11416 * gdb.python/py-frame.c (block): New function.
11417
0e095b7e
JK
114182010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11419 Daniel Jacobowitz <dan@codesourcery.com>
11420
11421 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
11422
624f1a65
DM
114232010-02-25 David S. Miller <davem@davemloft.net>
11424
11425 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
11426 fix logic for setting all_syscalls_numbers.
11427
f3e9a817
PM
114282010-02-24 Phil Muldoon <pmuldoon@redhat.com>
11429
11430 * Makefile.in: Add py-block and py-symbol.
11431 * gdb.python/py-symbol.exp: New File.
11432 * gdb.python/py-symtab.exp: New File.
11433 * gdb.python/py-block.exp: New File.
11434 * gdb.python/py-symbol.c: New File.
11435 * gdb.python/py-block.c: New File.
11436
f6bbabf0
PM
114372010-02-24 Phil Muldoon <pmuldoon@redhat.com>
11438
11439 PR python/11314
11440 * lib/gdb.exp (skip_python_tests): New function.
11441 * gdb.python/py-cmd.exp: Use skip_python_tests.
11442 * gdb.python/py-frame.exp: Likewise.
11443 * gdb.python/py-function.exp: Likewise.
11444 * gdb.python/py-prettyprint.exp: Likewise.
11445 * gdb.python/py-template.exp: Likewise.
11446 * gdb.python/py-type.exp: Likewise.
11447 * gdb.python/py-value.exp: Likewise.
11448
85d721b8
PA
114492010-02-22 Pedro Alves <pedro@codesourcery.com>
11450
11451 PR9605
11452
11453 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
11454
48e32051
TT
114552010-02-19 Tom Tromey <tromey@redhat.com>
11456
11457 PR c++/8693, PR c++/9496:
11458 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
11459 regression tests.
11460
ac9c0048
JK
114612010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11462
11463 Fix compatibility with m68k as.
11464 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
11465 Use only /* comments */.
11466
57bb97a4
UW
114672010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11468
11469 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
11470 * configure: Regenerate.
11471
7d1bf85c
DJ
114722010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
11473
11474 * gdb.python/py-type.exp: Check for Python support.
11475
061b5285
PA
114762010-02-17 Pedro Alves <pedro@codesourcery.com>
11477
11478 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
11479 `regsub' syntax available.
11480
f8a8bc2c
PA
114812010-02-17 Pedro Alves <pedro@codesourcery.com>
11482
11483 * gdb.base/shmain.c (main): Remove printf call.
11484 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
11485 * gdb.base/unload.c (main): Make format of fprintf a string
11486 literal. Add missing endlines to prints to stderr.
11487 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
11488
6f451e5e
TT
114892010-02-17 Tom Tromey <tromey@redhat.com>
11490
11491 * gdb.java/jprint.java (jprint.props): New field.
11492 * gdb.java/jprint.exp (set_lang_java): Add regression test.
11493
12d79008
PA
114942010-02-17 Pedro Alves <pedro@codesourcery.com>
11495
ef801a0e 11496 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
11497 available.
11498
d252f7e5
DJ
114992010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11500
11501 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
11502 creation to support remote host testing.
11503
67bdab6c
DJ
115042010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11505
11506 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
11507 Recognize "command not found".
11508
bb391223
DJ
115092010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11510
11511 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
11512 single-stepping.
11513
70362913
DJ
115142010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11515
11516 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
11517 if arguments are not supported.
11518
493f3c00
DJ
115192010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11520
11521 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
11522 be const or non-const.
11523
8034c749
DJ
115242010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11525
11526 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
11527 mi_send_resuming_command to send -exec-continue.
11528
791dfb64
DJ
115292010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11530
11531 * gdb.base/list.exp (test_list_filename_and_function): Add test
11532 with single quotes.
11533 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11534 matching.
11535 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11536 Add KFAIL'd tests for PR gdb/11289.
11537
7c5fe868
DJ
115382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11539
11540 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11541
fdc498b8
DJ
115422010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11543
11544 * gdb.base/comp-dir/subdir/dummy.txt: New file.
11545 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11546 a temporary directory.
11547
b519e2a6
DJ
115482010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11549
11550 * gdb.base/charset.exp: Use a single regular expression to match
11551 show host-charset and show target-charset output.
11552
74164c56
JK
115532010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11554
11555 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11556 "Illegal process-id" expect string more exact.
11557 (attach to digits-starting nonsense is prohibited): New.
11558
701ed6dc
JK
115592010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11560
11561 * gdb.base/prelink.exp (set verbose on): New.
11562
889bf7c5 115632010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
11564
11565 * mi-reverse.exp: New file. Test for reverse option to the
11566 following MI commands: exec-continue, exec-finish, exec-next,
11567 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 11568
dadf0e9c
JB
115692010-02-09 Joel Brobecker <brobecker@adacore.com>
11570
11571 * gdb.ada/ptype_tagged_param: New testcase.
11572
714f19d5
TT
115732010-02-08 Tom Tromey <tromey@redhat.com>
11574
11575 PR c++/8017:
11576 * gdb.cp/overload.exp: Add tests.
11577 * gdb.cp/overload.cc (struct K): New.
11578 (namespace N): New.
11579 (main): Call new functions.
11580 (K::staticoverload): Define.
11581
889bf7c5 115822010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
11583
11584 PR gdb/10728
11585 * gdb.cp/pr10728-x.h: New file.
11586 * gdb.cp/pr10728-x.cc: New file.
11587 * gdb.cp/pr10728-y.cc: New file.
11588 * gdb.cp/pr10728.exp: New file.
11589 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11590
889bf7c5 115912010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
11592
11593 PR gdb/9067
11594 * gdb.cp/pr9067.exp: New
11595 * gdb.cp/pr9067.cc: New
11596 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11597
7b356089
JB
115982010-02-08 Joel Brobecker <brobecker@adacore.com>
11599
11600 * lib/gdb.exp (gdb_test_timeout): New global variable.
11601 Set it to timeout if not already set.
11602 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11603
1be00882
DE
116042010-02-05 Doug Evans <dje@google.com>
11605
11606 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11607 user.
11608
82856980
SW
116092010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11610
11611 PR c++/7935:
11612 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11613
1a334831
TT
116142010-02-04 Tom Tromey <tromey@redhat.com>
11615
11616 * gdb.cp/virtbase.exp: Make test case names unique.
11617
9c3c02fd
TT
116182010-02-02 Tom Tromey <tromey@redhat.com>
11619
11620 * gdb.cp/virtbase.exp: Add regression tests.
11621 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11622 (main): Instantiate RHC.
11623
0cc2414c
TT
116242010-02-02 Tom Tromey <tromey@redhat.com>
11625
11626 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11627 type-printing change.
11628
edf3d5f3
TT
116292010-02-02 Tom Tromey <tromey@redhat.com>
11630
11631 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11632 * gdb.cp/virtbase.cc: New file.
11633 * gdb.cp/virtbase.exp: New file.
11634 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11635
e4b7f41c
JK
116362010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11637
11638 PR libc/11214:
11639 * gdb.threads/current-lwp-dead.c: Include features.h.
11640 (HAS_NOMMU): New.
11641 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11642
b381ea14
JK
116432010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11644
11645 * gdb.base/symbol-without-target_section.exp,
11646 gdb.base/symbol-without-target_section.c: New.
11647
c593ac0e
DJ
116482010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11649
11650 * gdb.base/bigcore.exp: Reset increased timeout.
11651 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11652
db25f29d
DJ
116532010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11654
11655 * gdb.base/gcore.exp (capture_command_output): Use
11656 gdb_test_multiple.
11657
f9d67f43
DJ
116582010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11659
11660 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11661 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11662 (Top level): Call it.
11663
177321bd
DJ
116642010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11665
11666 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11667
97f2ed50
DJ
116682010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11669
11670 * gdb.base/call-strs.exp, gdb.base/default.exp,
11671 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11672 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11673 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11674 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11675 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11676 * gdb.base/ending-run.exp: Correct restore of timeout.
11677 * gdb.base/page.exp: Remove unnecessary timeout setting.
11678
e4e2711a
JB
116792010-01-29 Joel Brobecker <brobecker@adacore.com>
11680
11681 * gdb.ada/rec_return: New testcase.
11682
ba581dc1
JB
116832010-01-29 Joel Brobecker <brobecker@adacore.com>
11684
11685 * gdb.ada/call_pn: New testcase.
11686
4ea95be9
DJ
116872010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11688
11689 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11690 (Top level): Use it to resume.
11691 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11692 the Thumb mode displaced stepping error as unsupported.
11693
df83a9bf
SW
116942010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
11695
889bf7c5
PA
11696 * gdb.cp/nsusing.exp: Added more tests.
11697 * gdb.cp/nsrecurs.exp: Ditto.
11698 * gdb.cp/nsusing.cc: Added test functions.
11699 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 11700
40b27cdc
JK
117012010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11702
11703 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11704 absolute directory pathnames in gdb.sum file.
11705
de958931
SW
117062010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
11707
11708 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11709 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11710
708ead4e
TT
117112010-01-26 Tom Tromey <tromey@redhat.com>
11712
11713 PR exp/7643:
11714 * gdb.base/printcmds.exp (test_print_string_constants): Remove
11715 setup_kfail.
11716
b14e635e
SW
117172010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
11718
11719 * gdb.cp/nsrecurs.exp: New test.
11720 * gdb.cp/nsrecurs.cc: New test program.
11721 * gdb.cp/nsstress.exp: New test.
11722 * gdb.cp/nsstress.cc: New test program.
11723 * gdb.cp/nsdecl.exp: New test.
11724 * gdb.cp/nsdecl.cc: New test program.
11725
8540c487
SW
117262010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
11727
11728 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11729 imported into file scope.
11730 Marked test as xfail.
11731 * gdb.cp/namespace-using.cc (marker5): New function.
11732 * gdb.cp/shadow.exp: New test.
11733 * gdb.cp/shadow.cc: New test program.
11734 * gdb.cp/nsimport.exp: New test.
11735 * gdb.cp/nsimport.cc: New test program.
11736
421d5d99
TT
117372010-01-25 Tom Tromey <tromey@redhat.com>
11738
11739 PR gdb/11049:
11740 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11741 with "set print null-stop on".
11742
691f8dc1
JK
117432010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11744
11745 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11746 Adjust it for DISASSEMBLY_OMIT_FNAME.
11747
0b92b5bb
TT
117482010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11749
11750 PR symtab/11199:
11751 * gdb.dwarf2/member-ptr-forwardref.exp,
11752 gdb.dwarf2/member-ptr-forwardref.S: New.
11753
23787403
JK
117542010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11755
11756 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11757 (thread1_func): Protect thread1_tid with thread1_tid_cond by
11758 thread1_tid_mutex. Remove gdbstop_mutex handling.
11759 (thread2_func): Protect thread2_tid with thread2_tid_cond by
11760 thread2_tid_mutex. Remove gdbstop_mutex handling.
11761 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11762 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
11763 pthread_cond_wait conditionalizations by while loops.
11764
b966cb8a
TT
117652010-01-20 Tom Tromey <tromey@redhat.com>
11766
11767 PR backtrace/10770:
11768 * gdb.dwarf2/pr10770.exp: New file.
11769 * gdb.dwarf2/pr10770.c: New file.
11770 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11771
fcae584b
VP
117722010-01-20 Vladimir Prus <vladimir@codesourcery.com>
11773
11774 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11775 that target was removed, and the test always runs native anyway.
11776
a0f49112
JK
117772010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11778
11779 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11780 gdb.base/watchpoint-cond-gone-stripped.c: New.
11781
ceeb3d5a
TT
117822010-01-19 Tom Tromey <tromey@redhat.com>
11783
11784 PR c++/8000:
11785 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
11786 existing tests.
11787 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11788 (main): Use AAA::SomeEnum.
11789
dd322c54
JK
117902010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11791
11792 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11793 (test_ignore_count): Declare line_callme_body global.
11794 (run to breakpoint with ignore count): Use line_callme_body.
11795 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11796 (set line_main_hello, set line_main_return): Reindent.
11797 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11798 New.
11799 (continue to callee4): Use line_callee4_body.
11800 (check *stopped from CLI command): Use line_callee4_next.
11801 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11802 (set line_main_hello, set line_main_return): Reindent.
11803 (set line_callee4_head, set line_callee4_body): New.
11804 (continue to callee4): Use line_callee4_body.
11805
4e8f195d
TT
118062010-01-18 Tom Tromey <tromey@redhat.com>
11807
11808 PR c++/9680:
11809 * gdb.cp/casts.cc: Add new classes and variables.
11810 * gdb.cp/casts.exp: Test new operators.
11811
9e14a9ba
JB
118122010-01-18 Tom Tromey <tromey@redhat.com>
11813 Thiago Jung Bauermann <bauerman@br.ibm.com>
11814
11815 * gdb.python/source2.py: New file.
11816 * gdb.python/source1: New file.
11817 * gdb.python/python.exp: Test "source" command.
11818
00bf0b85
SS
118192010-01-15 Stan Shebs <stan@codesourcery.com>
11820
11821 * gdb.trace/tfile.c: New file.
11822 * gdb.trace/tfile.exp: New file.
889bf7c5 11823
55235ad7
JK
118242010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11825
11826 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11827
9f2982ff
JK
118282010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11829
11830 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11831
bbfba9ed
JK
118322010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11833
11834 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11835 (libfunc): New parameter action. Implement also selectable "sleep".
11836 * gdb.base/break-interp-main.c: Include assert.h.
11837 (libfunc): New parameter action.
11838 (main): New parameters argc and argv. Assert argc. Pass argv.
11839 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11840 (test_attach): New proc.
11841 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11842 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11843
61f0d762
JK
118442010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11845
11846 * gdb.base/break-interp.exp (test_core): New proc.
11847 (test_ld): Call it.
11848
06a6f270
JK
118492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11850
11851 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11852 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11853 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11854 and gdb_compile_shlib. Use new -Wl compiler options.
11855 (dl bt, main bt): New tests.
11856
51bee8e9
JK
118572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11858
11859 Support PIEs with no symfile_objfile.
11860 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11861 (test_ld): New parameter trynosym.
11862 (test_ld <$trynosym>): New block.
11863
b8040f19
JK
118642010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11865
11866 * gdb.base/break-interp.exp: New file.
11867
be759fcf
PM
118682010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11869
11870 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11871 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11872 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11873 test.
11874 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11875 * gdb.python/py-mi.exp: Add lazy string test.
11876
dc146f7c
VP
118772010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11878
11879 * lib/mi-support.exp (mi_check_thread_states): Handle
11880 core number in thread listing.
11881
b4ba55a1
JB
118822010-01-12 Joel Brobecker <brobecker@adacore.com>
11883
11884 * gdb.base/maint.exp: Adjust the expected output for the
11885 "maint print type" test. Use gdb_test_multiple instead of
11886 gdb_sent/gdb_expect.
11887
08e24bd4
DE
118882010-01-11 Doug Evans <dje@google.com>
11889
6496a609
DE
11890 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11891 from gdbserver_download. All callers updated.
11892
08e24bd4
DE
11893 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11894
b5cfddf5
JK
118952010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11896
11897 Implement binary numbers parsing.
11898 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11899 (test_integer_literals_rejected): New binary tests.
11900
3725885a
RW
119012010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11902
11903 * gdb.cell/configure: Regenerate.
11904
37aeb5df
JK
119052010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11906
11907 * gdb.base/corefile.exp: Move the core finding block out and call it as
11908 core_find, new variable $corefile, replace corefile by $corefile and
11909 [file tail $corefile] for usage vs. test names resp.
11910 * lib/gdb.exp (core_find): Move it as a new function here. New
11911 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11912 $destcore. Return "" on error.
11913
d521f563
JK
119142010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11915
11916 Workaround PR binutils/10802.
11917 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11918 (twice).
11919
28f24826
DJ
119202010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11921
11922 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11923
2de75e71
JB
119242010-01-08 Joel Brobecker <brobecker@adacore.com>
11925
11926 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11927 call, to avoid interruption.
11928
fe00719b 119292010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
11930
11931 * gdb.stabs/weird.def (args93): New.
11932
d0ef5df8
DE
119332010-01-07 Doug Evans <dje@google.com>
11934
11935 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11936
3a08d52f
TT
119372010-01-07 Tom Tromey <tromey@redhat.com>
11938
11939 * gdb.base/source.exp: Use correct line number.
11940
7a697b8d
SS
119412010-01-05 Stan Shebs <stan@codesourcery.com>
11942
11943 * gdb.trace/tracecmd.exp: Test ftrace.
11944
7803799a
UW
119452010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11946
11947 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11948
c54eabfa
JK
119492010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11950
11951 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11952 "uint_for_mi_testing".
11953
02e7ef19
JB
119542010-01-01 Joel Brobecker <brobecker@adacore.com>
11955
11956 Test indented comment in file being sourced.
11957 * gdb.base/commands.exp: Test indented comment in file being sourced.
11958
abd775ce
JB
119592010-01-01 Joel Brobecker <brobecker@adacore.com>
11960
11961 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
11962 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
11963 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
11964 notice.
11965
79b55b82
JB
119662010-01-01 Joel Brobecker <brobecker@adacore.com>
11967
11968 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
11969 notice.
11970
8997583e
JK
119712010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11972
11973 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
11974 missing $after_stopped and comma (,) expectation.
11975
6da95a67
SS
119762009-12-31 Stan Shebs <stan@codesourcery.com>
11977
11978 * gdb.trace/actions.exp: Test teval action.
889bf7c5 11979
218d2fc6
TJB
119802009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11981
11982 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
11983 (top level): Call test_watchpoint_in_big_blob.
11984 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
11985 watchpoints.
11986 (func3): Write to buf.
11987
236f1d4d
SS
119882009-12-29 Stan Shebs <stan@codesourcery.com>
11989
11990 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 11991
f61e138d
SS
119922009-12-28 Stan Shebs <stan@codesourcery.com>
11993
11994 * gdb.trace/tsv.exp: New file.
11995 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 11996
0219b378
DJ
119972009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
11998
11999 * gdb.base/find.c (main): Reference search buffers.
12000 * gdb.base/included.c (main): Reference integer.
12001 * gdb.base/ptype.c (charfoo): Declare.
12002 (intfoo): Call charfoo.
12003 * gdb.base/scope0.c (useitp): New function.
12004 (usestatics): Use useitp.
12005 (useit): Add a type for val.
12006 * gdb.base/scope1.c (useit1): Take a pointer argument.
12007 (usestatics1): Update calls to useit1.
12008 * gdb.cp/call-c.cc: Declare foo.
12009 (main): Call foo.
12010 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12011 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12012 (main): Call C::ensureRefs and ensureOtherRefs.
12013 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12014 variables.
12015 (ensureOtherRefs): New function.
12016 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12017 * gdb.cp/templates.cc (main): Call t5i.value.
12018
3f78692f
JK
120192009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12020
12021 Fix compatibility with G++-4.5.
12022 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12023 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12024 (uncaught return): Remove.
12025
429374b8
JK
120262009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12027 Phil Muldoon <pmuldoon@redhat.com>
12028
12029 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12030 (bp_location13, bp_location14, bp_location17, bp_location18)
12031 (marker3_proto, marker4_proto): New variables.
12032 (breakpoint info): Update output.
12033 (run until breakpoint at marker3, run until breakpoint at marker4): New
12034 tests.
12035
859825b8
JK
120362009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12037
12038 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12039 Replace the printf call of Y by provided "y-set-1" label. New block
12040 for the second shared library.
12041 * gdb.base/unload.exp: Compile also the second library, call
12042 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12043 (single pending breakpoint info): Rename to ...
12044 (pending breakpoint info before run): ... this extended test.
12045 (libfile2, libname2, libsrcfile2, libsrc2)
12046 (lib_sl2): New variables.
12047 (exec_opts): Set also SHLIB_NAME2.
12048 (pending breakpoint info on first run at shrfunc1)
12049 (pending breakpoint info on second run at shrfunc1)
12050 (pending breakpoint info on second run at shrfunc2)
12051 (print y from libfile, print y from libfile2): New tests.
12052 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12053 * gdb.base/unloadshr2.c: New.
12054
e6a386cd
HZ
120552009-12-22 Hui Zhu <teawater@gmail.com>
12056
12057 * gdb.reverse/sigall-reverse.exp: Adjust.
12058
9e19b45e
VP
120592009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12060
12061 PR gdb/10884
12062
12063 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12064 (main): Call do_bitfield_tests.
aacf5b1e 12065 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 12066
d53a7b30
JB
120672009-12-20 Joel Brobecker <brobecker@adacore.com>
12068
12069 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12070 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12071 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12072 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12073 gdb.modula2/unbounded1.c: Update copyright header.
12074
191ca0a1
CM
120752009-12-10 Chris Moller <moller@mollerware.com>
12076
12077 PR gdb/9399
12078 * gdb.cp/virtfunc2.exp: New tests
12079 * gdb.cp/virtfunc2.cc: New tests
12080 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12081
0fa6cf1b
MS
120822009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12083
12084 * gdb.reverse/i387-env-reverse.c: New file.
12085 * gdb.reverse/i387-env-reverse.exp: New file.
12086 * gdb.reverse/i387-stack-reverse.c: New file.
12087 * gdb.reverse/i387-stack-reverse.exp: New file.
12088
361ae042
PM
120892009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12090
12091 * gdb.python/py-type.exp (test_range): New test.
12092
bfd31e71
PM
120932009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12094
12095 PR python/10805
12096
12097 * gdb.python/py-type.exp: New file.
12098 * gdb.python/py-type.c: New file.
12099 * Makefile.in: Add py-type.
12100
57a1d736
TT
121012009-12-03 Tom Tromey <tromey@redhat.com>
12102
12103 * gdb.python/py-value.exp (test_parse_and_eval): New
12104 function.
12105
1f3b5d1b
PP
121062009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12107
12108 PR gdb/11022
12109
12110 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
12111 * gdb.base/pr11022.c: New test.
12112
8b7dbdc9
JK
121132009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12114
12115 Fix spurious false FAILs.
12116 * gdb.base/structs.c (chartest): New.
12117 (main): Fill-in chartest.
12118 * gdb.base/structs.exp (anychar_re, first): New.
12119 (start_structs_test): Import global anychar_re and first.
12120 New gdb_test call "set print elements 300; ${testfile}"
12121 (start_structs_test <$first>): New block.
12122 (any): Import global anychar_re. New variable ac. Use ${ac}.
12123
6a53b2ec
JK
121242009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12125
12126 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12127
d7167b4c
JK
121282009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12129
12130 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12131 Force $srcfile file.
12132 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12133
b1798462
UW
121342009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12135
12136 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12137 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12138 * gdb.threads/watchthreads-reorder.exp: Likewise.
12139
b6199126
DJ
121402009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12141
12142 PR gdb/8704
12143
12144 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12145 "if", and "thread". Correct matching in the previous test.
12146
b22a0510
DJ
121472009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12148
12149 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12150
930636d2
MS
121512009-11-23 Michael Snyder <msnyder@vmware.com>
12152
12153 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12154 * gdb.reverse-watch-precsave.exp: Ditto.
12155
21a0512e
PP
121562009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12157
12158 * gdb.asm/asm-source.exp: Adjust.
12159 * gdb.base/help.exp: Adjust.
889bf7c5 12160
fc30d5e0
PA
121612009-11-22 Pedro Alves <pedro@codesourcery.com>
12162
12163 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12164 (do_syscall_tests_without_xml): Set data-directory to
12165 /the/path/to/nowhere.
12166
f6bc2008
PA
121672009-11-21 Pedro Alves <pedro@codesourcery.com>
12168
12169 * gdb.threads/local-watch-wrong-thread.c,
12170 gdb.threads/local-watch-wrong-thread.exp: New files.
12171
8c2fb5de
PA
121722009-11-21 Pedro Alves <pedro@codesourcery.com>
12173
12174 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12175 assume new `regsub' syntax available.
12176
ebec9a0f
PA
121772009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12178
a79d3c27
JK
12179 * gdb.base/watchpoint-hw-hit-once.exp,
12180 gdb.base/watchpoint-hw-hit-once.c: New.
12181
121822009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12183
12184 * gdb.threads/watchthreads-reorder.exp,
12185 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 12186
276a961b
MK
121872009-11-17 Nathan Sidwell <nathan@codesourcery.com>
12188
12189 * gdb.xml/tdesc-regs.exp: Use for m68k.
12190
4867c1fb
PA
121912009-11-15 Pedro Alves <pedro@codesourcery.com>
12192
12193 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12194
f6838f81
DJ
121952009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12196
12197 * lib/gdb.exp (current_target_name): New procedure.
12198 (gdb_wrapper_target): New variable.
12199 (gdb_wrapper_init): Set gdb_wrapper_target.
12200 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12201 wrapper.
12202
4ac4dd3f
DJ
122032009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12204
12205 * gdb.base/remote.exp: Delete the slowest load test.
12206 Do not load with fixed packet sizes.
12207
a7881759
DJ
122082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12209
12210 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12211
97a5b505
DJ
122122009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12213
12214 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
12215 srcfile when setting a breakpoint.
12216
d3e1fc54
DJ
122172009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
12218
12219 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
12220 macros.
12221
7cbcbded
DJ
122222009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12223
12224 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
12225 to be in memory.
12226 * gdb.base/display.c (force_mem): New.
12227 (do_loops): Use it. Add breakpoint comments.
12228 (do_vars): Add a breakpoint comment.
12229 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
12230 line numbers.
12231
bdea3a92
NF
122322009-11-13 Nathan Froyd <froydnj@codesourcery.com>
12233
12234 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
12235 instead of a bare "run".
12236
269f82e5
PP
122372009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12238
12239 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 12240
a69b7d9d
DJ
122412009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12242
12243 * lib/cell.exp (skip_cell_tests): Clean up test files before
12244 returning.
12245
b598bfda
DJ
122462009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12247
12248 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
12249 and the breakpoint menu. Do not call perror if a prompt is seen.
12250 Consume the following GDB prompt.
12251 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
12252 * gdb.cp/namespace.exp: Use gdb_test.
12253 * gdb.cp/templates.exp: Use gdb_test.
12254 (test_template_breakpoints): Use gdb_test_multiple.
12255
87728fa0
DJ
122562009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12257
12258 * gdb.base/break1.c (struct some_struct, values): Move earlier.
12259 (marker4): Reference values.
12260
b67c692f
DJ
122612009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12262
12263 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
12264 is missing.
12265
f0df251a
DJ
122662009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12267
12268 * gdb.base/break.c (need_malloc): New.
12269 * gdb.base/constvars.c (main): Reference crass and crisp.
12270 * gdb.base/gdb1821.c (main): Reference bar.
12271 * gdb.cp/gdb1355.cc (main): Reference s1.
12272 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
12273 (main): Call them.
12274 * gdb.cp/hang2.cc (dummy2): Define.
12275 * gdb.cp/hang3.cc (dummy3): Define.
12276 * gdb.cp/m-data.cc (main): Reference shadow.
12277
bdf7534a
NF
122782009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12279 Nathan Froyd <froydnj@codesourcery.com>
12280
12281 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
12282 remote host.
12283
f24fce77
NF
122842009-11-12 Nathan Froyd <froydnj@codesourcery.com>
12285
12286 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
12287 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
12288 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12289 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12290 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12291 * gdb.dwarf2/dw2-producer.exp: Likewise.
12292 * gdb.dwarf2/mac-fileno.exp: Likewise.
12293 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
12294 py-prettyprint.py to the remote host.
12295 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
12296
40f0318e
KS
122972009-11-11 Keith Seitz <keiths@redhat.com>
12298
12299 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
12300 use it instead of "Foo".
12301 * gdb.cp/classes.exp (do_tests): Add a test to access
12302 a method through a typedef'd class name.
12303
f3d9f7fb
NF
123042009-11-11 Nathan Froyd <froydnj@codesourcery.com>
12305
12306 * gdb.base/long_long.exp: Permit leading zeros on floating-point
12307 exponents.
12308 * gdb.base/pointers.exp: Likewise.
12309 * gdb.cp/ref-types.exp: Likewise.
12310
a4216f37
KS
123112009-11-11 Keith Seitz <keiths@redhat.com>
12312
12313 * gdb.cp/cplusfuncs.cc (class foo): Add operators
12314 new[] and delete[].
12315 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
12316 "void".
12317 (probe_demangler): Remove all single-quoting of
12318 method and variable names.
12319 (info_func_regexp): Remove the word "void" from any
12320 occurrence of "(void)".
12321 (print_addr_2): Remove all single-quoting of
12322 method names.
12323 (print_addr_2_kfail): Likewise.
12324 (print_addr): Single-quote C function names before
12325 passing to print_addr_2.
12326 (test_paddr_operator_functions): Remove single-quoting
12327 for method names.
12328 Add tests for operator new[] and operator delete[].
12329
9b14d7aa
JK
123302009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12331
12332 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
12333
85feb311
KS
123342009-11-09 Keith Seitz <keiths@redhat.com>
12335
12336 * gdb.cp/overload.exp: Add tests for resolving overloaded
12337 methods in expression parsing/evaluation.
12338
fa335448
DJ
123392009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
12340
12341 * lib/gdb.exp (default_gdb_version): Use --version instead of
12342 --command.
12343
ec3c07fc
NS
123442009-11-10 Nathan Sidwell <nathan@codesourcery.com>
12345
12346 * lib/gdb.exp (gdb_compile_test): New.
12347 (skip_ada_tests, skip_java_tests): New.
12348 (gdb_compile): Use gdb_compile_test for f77.
12349 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
12350 * lib/java.exp (compile_java_from_source): Remove runtests check,
12351 use gdb_compile_test to record result.
12352 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
12353 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
12354 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
12355 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
12356 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
12357 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
12358 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
12359 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
12360 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
12361 adjust gdb_compile invocations.
12362
b8b4e42b
JK
123632009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12364
12365 * Makefile.in (abs_builddir): New.
12366 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
12367 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
12368 `$(abs_builddir)/site.exp'.
12369
f8b7eaf3
DJ
123702009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
12371
12372 * config/m68k-emc.exp, lib/emc-support.exp,
12373 gdb.trace/gdb_c_test.c: Delete.
12374 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
12375 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12376 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12377 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12378 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12379 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
12380 casing for m68k-*-elf.
12381
c4187697
NS
123822009-11-03 Pedro Alves <pedro@codesourcery.com>
12383
12384 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
12385 * gdb.arch/i386-prologue.exp: Likewise.
12386 * gdb.arch/i386-unwind.exp: Likewise.
12387
db16b772
DJ
123882009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12389
12390 * lib/gdb.exp (gdb_expect): Fix timeout typo.
12391
bcf71277
DJ
123922009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12393
12394 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
12395
0105cee2
DJ
123962009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12397
12398 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
12399
24ddea62
JK
124002009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12401
12402 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
12403
287ccc17
JK
124042009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12405
12406 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
12407 * gdb.base/sepdebug2.c: New file.
12408
08bca259 124092009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
12410
12411 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
12412 the modified warnings for catch syscall. Verify if GDB was compiled
12413 with support for lib expat, and choose which tests to run depending
12414 on this.
12415
5d4e2b76
VP
124162009-10-30 Vladimir Prus <vladimir@codesourcery.com>
12417
12418 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
12419 that composite commands are parsed OK. And also test
12420 that breakpoint commands do work.
12421
240e538a
MS
124222009-10-23 Michael Snyder <msnyder@vmware.com>
12423
12424 gdb.reverse/consecutive-precsave.exp: Change expect pattern
12425 to allow for new disassembly style.
12426
9c419145
PP
124272009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12428
12429 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 12430
02506ff1
MS
124312009-10-22 Michael Snyder <msnyder@vmware.com>
12432
12433 * gdb.reverse/break-precsave.exp: New test.
12434 * gdb.reverse/consecutive-precsave.exp: Ditto.
12435 * gdb.reverse/finish-precsave.exp: Ditto.
12436 * gdb.reverse/i386-precsave.exp: Ditto.
12437 * gdb.reverse/machinestate-precsave.exp: Ditto.
12438 * gdb.reverse/sigall-precsave.exp: Ditto.
12439 * gdb.reverse/solilb-precsave.exp: Ditto.
12440 * gdb.reverse/step-precsave.exp: Ditto.
12441 * gdb.reverse/until-precsave.exp: Ditto.
12442 * gdb.reverse/watch-precsave.exp: Ditto.
12443
4cf866a3
MS
124442009-10-22 Michael Snyder <msnyder@vmware.com>
12445
12446 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
12447 for gdb_expect. Adjust one test's expect strings for the new
12448 format of disassemble.
12449 * gdb.reverse/finish-reverse.exp: Delete 'return'.
12450 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
12451 gdb_test_multiple.
12452 * gdb.reverse/step-reverse.exp: Delete 'return'.
12453 * gdb.reverse/until-reverse.exp: Delete blank lines.
12454 * gdb.reverse/watch-reverse.exp: Delete blank lines.
12455
2b28d209
PP
124562009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
12457
12458 * gdb.base/consecutive.exp: Adjust.
12459 * gdb.base/display.exp: Likewise.
12460 * gdb.base/pc-fp.exp: Likewise.
12461 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 12462
33b9c32b
MS
124632009-10-19 Michael Snyder <msnyder@vmware.com>
12464
12465 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
12466 * gdb.reverse/finish-reverse.c: Ditto.
12467 * gdb.reverse/sigall-reverse.c: Ditto.
12468 * gdb.reverse/solib-reverse.c: Ditto.
12469 * gdb.reverse/step-reverse.c: Ditto.
12470 * gdb.reverse/watch-reverse.c: Ditto.
12471
6c95b8df
PA
124722009-10-19 Pedro Alves <pedro@codesourcery.com>
12473 Stan Shebs <stan@codesourcery.com>
12474
12475 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
12476 * gdb.base/foll-exec.exp: Adjust to expect a process id before
12477 "Executing new program".
12478 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
12479 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
12480 left listed after having been killed.
12481 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
12482 * gdb.base/maint.exp: Adjust test.
12483
12484 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
12485 * gdb.multi/Makefile.in: New.
12486 * gdb.multi/base.exp: New.
12487 * gdb.multi/goodbye.c: New.
12488 * gdb.multi/hangout.c: New.
12489 * gdb.multi/hello.c: New.
12490 * gdb.multi/bkpt-multi-exec.c: New.
12491 * gdb.multi/bkpt-multi-exec.exp: New.
12492 * gdb.multi/crashme.c: New.
12493
279017b7
TG
124942009-10-13 Tristan Gingold <gingold@adacore.com>
12495
12496 * gdb.base/sepdebug.exp: Check debug info are found.
12497
0413d738
PA
124982009-10-08 Pedro Alves <pedro@codesourcery.com>
12499
12500 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
12501 bits.
12502
c628eecc
JK
125032009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12504
12505 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
12506
38af1bfe
JB
125072009-10-07 Joel Brobecker <brobecker@adacore.com>
12508
12509 * gdb.base/watchpoints.c: Add copyright header. Reformat one
12510 of the comments.
12511
2b0adecd
PM
125122009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
12513
12514 * gdb.base/annota1.exp: Remove obsolete match_max increase.
12515 * gdb.base/annota3.exp: Idem.
12516 * gdb.base/maint.exp: Idem.
12517
8d417781
PM
125182009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
12519
889bf7c5 12520 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
12521 to default.
12522
bb61102d
PM
125232009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12524
889bf7c5 12525 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
12526 mingw and cygwin targets.
12527
ace5c364
PM
125282009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12529 Pedro Alves <pedro@codesourcery.com>
12530
889bf7c5 12531 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
12532 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12533
c2d494a0
PM
125342009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12535
e1b52ce2
PM
12536 * gdb.base/shr1.c: Use %p in format string.
12537 * gdb.base/unload.c: Avoid warning in fprintf.
12538 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 12539
209f53f5
PM
125402009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12541
12542 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12543 long type.
12544 (test_unlink): Correct printf string.
12545 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12546 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12547
8172766a
JK
125482009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12549
12550 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12551 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12552 * gdb.arch/ia64-breakpoint-shadow.S: New file.
12553
0f73703c
UW
125542009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12555
12556 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12557 * gdb.objc/nondebug.exp: Likewise.
12558
b32306ca
UW
125592009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12560
12561 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12562 target_info setting.
12563
12564 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12565 that detect new threads during "info threads".
12566
0057022f
UW
125672009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12568
12569 * gdb.threads/manythreads.c (main): Increase thread stack size
12570 to 2*PTHREAD_STACK_MIN.
12571 * gdb.threads/multi-create.c (main): Likewise.
12572 (create_function): Likewise.
12573
f29c0325
UW
125742009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12575
12576 * gdb.base/dump.exp: Pass difference of pointer types instead
12577 of integer types as offset to restore in intarr3.srec case.
12578
fcb34849
UW
125792009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12580
12581 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12582
d5142e3b
UW
125832009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12584
12585 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12586
087b74b2 125872009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 12588
087b74b2
PM
12589 New test for two watchpoints, with disabling of
12590 the first inserted.
12591 * testsuite/gdb.base/watchpoints.c: New file.
12592 * testsuite/gdb.base/watchpoints.exp: New file.
12593
96c07c5b
TT
125942009-09-25 Tom Tromey <tromey@redhat.com>
12595
12596 * gdb.base/charset.exp: Test utf-16 strings with Python.
12597
b8899f2b
TT
125982009-09-25 Tom Tromey <tromey@redhat.com>
12599
12600 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12601 UCS-4.
12602 * gdb.base/charset.c (utf_32_string): Rename.
12603 (init_utf32): Rename.
12604 (main): Update.
12605
329719ec
TT
126062009-09-22 Tom Tromey <tromey@redhat.com>
12607
12608 * gdb.python/py-function.exp: Add regression tests.
12609
11ef0d76
KS
126102009-09-21 Keith Seitz <keiths@redhat.com>
12611
12612 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12613 with invalid operator.
12614
3fe8f3b3
KS
126152009-09-21 Keith Seitz <keiths@redhat.com>
12616
12617 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12618 and destructor using typedef name of class.
12619 * gdb.cp/classes.cc (class Base1): Add a destructor.
12620 (base1): New typedef.
12621 (use_methods): Instanitate an object of type base1.
12622 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12623 (do_tests): Call test_template_typedef.
12624 * gdb.cp/templates.cc (Baz::~Baz): New method.
12625 (intBazOne): New typedef.
12626 (main): Instantiate intBazOne.
12627
7a9fe101
PM
126282009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12629
12630 PR python/10633
12631
12632 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12633 Function.
12634 (run_lang_tests): Add print elements test.
12635
2e4d963f
PM
126362009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12637
12638 * gdb.python/py-value.exp (test_subscript_regression): New
12639 function. Test for invalid subscripts.
12640 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12641 (ptr_ref): New function.
12642
ec7e75e7
PP
126432009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12644
12645 * gdb.base/default.exp: Fix "show convenience".
12646
0cc7d26f
TT
126472009-09-15 Tom Tromey <tromey@redhat.com>
12648
12649 * lib/mi-support.exp (mi_create_varobj): Update.
12650 (mi_create_floating_varobj): Likewise.
12651 (mi_create_dynamic_varobj): New proc.
12652 (mi_varobj_update): Update.
12653 (mi_varobj_update_with_type_change): Likewise.
12654 (mi_varobj_update_kv_helper): New proc.
12655 (mi_varobj_update_dynamic_helper): Rewrite.
12656 (mi_varobj_update_dynamic): New proc.
12657 (mi_list_varobj_children): Update.
12658 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12659 * gdb.python/python-prettyprint.py (pp_outer): New class.
12660 (pp_nullstr): Likewise.
12661 (lookup_function): Register new printers.
12662 * gdb.python/python-prettyprint.c (struct substruct): New type.
12663 (struct outerstruct): Likewise.
12664 (substruct_test): New function.
12665 (struct nullstr): New type.
12666 (string_1, string_2): New globals.
12667 (main): Add new tests.
12668 * gdb.python/python-mi.exp: Added regression tests.
12669 * gdb.mi/mi2-var-display.exp: Update.
12670 * gdb.mi/mi2-var-cmd.exp: Update.
12671 * gdb.mi/mi2-var-child.exp: Update.
12672 * gdb.mi/mi2-var-block.exp: Update.
12673 * gdb.mi/mi-var-invalidate.exp: Update.
12674 * gdb.mi/mi-var-display.exp: Update.
12675 * gdb.mi/mi-var-cmd.exp: Update.
12676 * gdb.mi/mi-var-child.exp: Update.
12677 * gdb.mi/mi-var-block.exp: Update.
12678 * gdb.mi/mi-break.exp: Update.
12679 * gdb.mi/gdb701.exp: Update.
12680
a96d9b2e
SDJ
126812009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12682
12683 * Makefile.in: Inclusion of catch-syscall object.
12684 * gdb.base/catch-syscall.c: New file.
12685 * gdb.base/catch-syscall.exp: New file.
12686
b43b923a
MS
126872009-09-12 Michael Snyder <msnyder@vmware.com>
12688
12689 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12690 that can support reverse debuggnig.
12691
cec03d70
TT
126922009-09-11 Tom Tromey <tromey@redhat.com>
12693
12694 * gdb.dwarf2/valop.S: New file.
12695 * gdb.dwarf2/valop.exp: New file.
12696
e23bb3fc
MK
126972009-09-11 Mark Kettenis <kettenis@gnu.org>
12698
12699 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12700
37c3696d
DE
127012009-09-10 Doug Evans <dje@google.com>
12702
12703 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12704 Add $gdb_prompt to second breakpoint regexp.
12705
5172aecb
JB
127062009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
12707
12708 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12709 names, add missing ones.
12710 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12711 * gdb.python/py-frame.c: Rename from python-frame.c.
12712 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
12713 testfile name.
12714 * gdb.python/py-function.exp: Rename from python-function.exp.
12715 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
12716 testfile name.
12717 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12718 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12719 Adjust testfile name.
12720 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12721 * gdb.python/py-template.cc: Rename from python-template.cc.
12722 * gdb.python/py-template.exp: Rename from python-template.exp.
12723 Adjust testfile name.
12724 * gdb.python/py-value.c: Rename from python-value.c.
12725 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
12726 testfile name.
12727
b554e4bd
JK
127282009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12729
12730 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12731 $bpt2address.
12732 (Second breakpoint address is valid on ia64)
12733 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12734
9a68ae16
JM
127352009-09-03 Joseph Myers <joseph@codesourcery.com>
12736
12737 * gdb.base/ending-run.exp: Restrict regular expression matching
12738 line number to require closing brace following.
12739
146b9145
DE
127402009-09-03 Doug Evans <dje@google.com>
12741
12742 * gdb.base/store.exp (check_set): Fix typo in expected value message.
12743
787d21e1
TT
127442009-09-02 Tom Tromey <tromey@redhat.com>
12745
12746 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12747
e7802207
TT
127482009-09-02 Tom Tromey <tromey@redhat.com>
12749
12750 * gdb.dwarf2/callframecfa.exp: New file.
12751 * gdb.dwarf2/callframecfa.S: New file.
12752
817aadd2
JK
127532009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12754
12755 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12756 gdb.base/solib-overlap-main.c: New.
12757
4a76eae5
DJ
127582009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
12759
12760 PR gdb/10565
12761
12762 * gdb.base/bitfields.c (struct container, container): New.
12763 (main): Initialize it and call break5.
12764 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12765
d4b96c9a
JK
127662009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12767
12768 Support constant DW_AT_data_member_location by GCC PR debug/40659.
12769 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12770
4e22772d
JK
127712009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12772
12773 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12774
2efab443
MS
127752009-08-26 Michael Snyder <msnyder@vmware.com>
12776
12777 * gdb.base/i386-reverse.c: New file.
12778 * gdb.base/i386-reverse.exp: New file.
12779 * gdb.base/Makefile.in: Add new files to be removed.
12780
07ab73a0
JM
127812009-08-26 Joseph Myers <joseph@codesourcery.com>
12782
12783 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12784 environment-pwd for remote host.
12785 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12786
676accff
KS
127872009-08-24 Keith Seitz <keiths@redhat.com>
12788
12789 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12790 Add two new C++ completer tests which limit the output to a
889bf7c5 12791 given class.
676accff 12792
f9f7ad22
MS
127932009-08-24 Michael Snyder <msnyder@vmware.com>
12794
12795 * gdb.base/del.exp: Fix typo in comment.
12796 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12797
81ecdfbb
RW
127982009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12799
12800 * configure: Regenerate.
12801 * gdb.hp/configure: Likewise.
12802 * gdb.hp/gdb.aCC/configure: Likewise.
12803 * gdb.hp/gdb.base-hp/configure: Likewise.
12804 * gdb.hp/gdb.compat/configure: Likewise.
12805 * gdb.hp/gdb.defects/configure: Likewise.
12806 * gdb.hp/gdb.objdbg/configure: Likewise.
12807 * gdb.stabs/configure: Likewise.
12808
cab0c772
UW
128092009-08-19 Doug Evans <dje@google.com>
12810
12811 * gdb.base/gdbvars.c: New file.
12812 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12813
b8fa0bfa
PA
128142009-08-14 Pedro Alves <pedro@codesourcery.com>
12815
12816 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12817 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12818
b84aa90a
PA
128192009-08-13 Pedro Alves <pedro@codesourcery.com>
12820
12821 * gdb.base/default.exp: Adjust "set language test": it's now an
12822 enum command. Larger help string moved to "help set language".
12823 * gdb.base/help.exp: Adjust "help set language" expected output,
12824 now lists all known languages.
12825
0d8f9b2c
NF
128262009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12827
12828 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12829 all frame arguments.
12830 * gdb.arch/altivec-regs.exp: Likewise.
12831
bda180e0
TT
128322009-08-07 Tom Tromey <tromey@redhat.com>
12833
12834 * gdb.base/setshow.exp: Add tests for changes to set language, set
12835 check range, and set check type.
12836
48cb2d85
VP
128372009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12838
12839 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12840 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 12841 Call it.
48cb2d85 12842
1ea34204
UW
128432009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12844
12845 * configure.ac: Run gdb.cell tests when appropriate.
12846 * configure: Regenerate.
12847 * lib/cell.exp: New file.
12848 * gdb.cell: New directory.
12849 * gdb.cell/configure.ac: New file.
12850 * gdb.cell/configure: New file.
12851 * gdb.cell/Makefile.in: New file.
12852 * gdb.cell/arch.exp: New file.
12853 * gdb.cell/break.c: New file.
12854 * gdb.cell/break.exp: New file.
12855 * gdb.cell/break-spu.c: New file.
12856 * gdb.cell/bt.c: New file.
12857 * gdb.cell/bt2-spu.c: New file.
12858 * gdb.cell/bt-spu.c: New file.
12859 * gdb.cell/bt.exp: New file.
12860 * gdb.cell/coremaker.c: New file.
12861 * gdb.cell/coremaker-spu.c: New file.
12862 * gdb.cell/core.exp: New file.
12863 * gdb.cell/gcore.exp: New file.
12864 * gdb.cell/data.c: New file.
12865 * gdb.cell/data.exp: New file.
12866 * gdb.cell/data-spu.c: New file.
12867 * gdb.cell/ea-cache.exp: New file.
12868 * gdb.cell/ea-cache.c: New file.
12869 * gdb.cell/ea-cache-spu.c: New file.
12870 * gdb.cell/ea-standalone.c: New file.
12871 * gdb.cell/ea-standalone.exp: New file.
12872 * gdb.cell/ea-test.c: New file.
12873 * gdb.cell/ea-test.exp: New file.
12874 * gdb.cell/f-regs.exp: New file.
12875 * gdb.cell/mem-access.c: New file.
12876 * gdb.cell/mem-access.exp: New file.
12877 * gdb.cell/mem-access-spu.c: New file.
12878 * gdb.cell/ptype.exp: New file.
12879 * gdb.cell/registers.exp: New file.
12880 * gdb.cell/size.c: New file.
12881 * gdb.cell/sizeof.exp: New file.
12882 * gdb.cell/size-spu.c: New file.
12883 * gdb.cell/solib.exp: New file.
12884 * gdb.cell/solib-symbol.exp: New file.
12885
85e747d2
UW
128862009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12887
12888 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12889
58d6951d
DJ
128902009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12891
12892 * gdb.base/float.exp: Handle VFP registers.
12893
6e0a4f15
MS
128942009-07-14 Michael Snyder <msnyder@vmware.com>
12895
dcd5da87
MS
12896 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12897 to bring gdb to the beginning of the calling line.
12898
6e0a4f15
MS
12899 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12900 confusing the i386 epilogue unwinder.
12901
782b2b07
SS
129022009-07-14 Stan Shebs <stan@codesourcery.com>
12903
12904 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12905
f662c3bc
MS
129062009-07-14 Michael Snyder <msnyder@vmware.com>
12907
12908 * gdb.reverse/step-reverse.exp (stepi into function call):
12909 Call instruction may not be first instruction in the line.
12910 (reverse stepi from a function call): Used wrong line number.
12911
8f313923
JK
129122009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12913
12914 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12915
4662c76e
JK
129162009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12917
12918 Fix gdb.base/macscp.exp when using custom inputrc.
12919 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12920 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12921 env(TERM) set.
12922 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12923 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12924
aa81e255
JK
129252009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12926
12927 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12928 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12929 Change the compilation target to match the testcase name.
12930 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12931 testcase name.
12932 * a2-run.exp: Use for setup prepare_for_testing. Change the
12933 compilation target to match the testcase name.
12934 * gdb.base/commands.exp: Likewise.
12935 * gdb.base/finish.exp: Likewise.
12936 * gdb.base/float.exp: Likewise.
12937 * gdb.base/info-target.exp: Likewise.
12938 * gdb.base/relational.exp: Likewise.
12939 * gdb.base/term.exp: Likewise.
12940 * gdb.base/until.exp: Likewise.
12941 * gdb.base/volatile.exp: Likewise.
12942 * gdb.base/whatis-exp.exp: Likewise.
12943
4c93b1d7
HZ
129442009-07-11 Hui Zhu <teawater@gmail.com>
12945
12946 * gdb.base/help.exp (disassemble): Update expected help text.
12947
812f7342
TT
129482009-07-09 Tom Tromey <tromey@redhat.com>
12949
12950 * lib/gdb.exp: Handle TRANSCRIPT.
12951 (remote_spawn, remote_close, send_gdb): New procs.
12952
fbb8f299
PM
129532009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12954
12955 * gdb.python/python-prettyprint.c: Add counted null string
12956 structure.
12957 * gdb.python/python-prettyprint.exp: Print null string. Test for
12958 embedded nulls.
12959 * gdb.python/python-prettyprint.py (pp_ns): New Function.
12960 * gdb.python/python-value.exp (test_value_in_inferior): Add
12961 variable length string fetch tests.
12962 * gdb.python/python-value.c (main): Add strings for string fetch tests.
12963
c0ac0ec7
JK
129642009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12965
12966 * gdb.base/dump.exp (inaccessible memory is reported): New test.
12967
30b66ecc
TT
129682009-07-07 Tom Tromey <tromey@redhat.com>
12969
12970 * gdb.base/call-rt-st.exp: Update for change to escape output.
12971 * gdb.base/callfuncs.exp: Likewise.
12972 * gdb.base/charset.exp: Likewise.
12973 * gdb.base/constvars.exp: Likewise.
12974 * gdb.base/long_long.exp: Likewise.
12975 * gdb.base/pointers.exp: Likewise.
12976 * gdb.base/printcmds.exp: Likewise.
12977 * gdb.base/setvar.exp: Likewise.
12978 * gdb.base/store.exp: Likewise.
12979 * gdb.cp/ref-types.exp: Likewise.
12980 * gdb.mi/mi-var-child.exp: Likewise.
12981 * gdb.mi/mi-var-display.exp: Likewise.
12982 * gdb.mi/mi2-var-display.exp: Likewise.
12983 * gdb.base/charset.exp: Test octal escape sequence length.
12984 Update for change to escape output.
12985
187c4a2b
JK
129862009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12987
12988 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
12989
d80a43f9
DJ
129902009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
12991
12992 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
12993
047427a8
JK
129942009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12995
12996 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
12997 gdbserver increasing $portnum if "Can't bind address" has been seen.
12998
8b5a0f4f
PA
129992009-07-05 Pedro Alves <pedro@codesourcery.com>
13000
13001 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13002 mingw32ce.
13003
7d93ba58
PA
130042009-07-05 Pedro Alves <pedro@codesourcery.com>
13005
13006 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13007 VFP format.
13008
2277426b
PA
130092009-07-02 Pedro Alves <pedro@codesourcery.com>
13010
13011 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13012 linux. Adjust to use "inferior", "info inferiors", "detach
13013 inferior" and "kill inferior" instead of "restart", "info fork",
13014 "detach fork" and "delete fork".
13015 * gdb.base/ending-run.exp: Spell out "info".
13016 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13017 the "kill" command.
13018
5af949e3
UW
130192009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13020
13021 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13022 change to prefix TLS offset in hex with 0x.
13023
5d3729b5
UW
130242009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13025
13026 * gdb.base/default.exp: Update test case for "x" changes.
13027
af589bd0
TG
130282009-07-01 Tristan Gingold <gingold@adacore.com>
13029
13030 * gdb.base/bigcore.exp: Make darwin untested.
13031
40974f91
JK
130322009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13033
13034 * gdb.base/completion.exp (directory completion): Create the directory.
13035 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13036 escapeuniquesub.
13037 (directory completion 2): Expect now ${escapeuniquesub}.
13038 (Glob remaining of directory test): Remove one excessive newline.
13039 Expect the real output.
13040
59dd3af6
JK
130412009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13042
13043 Fix `make check//%' target after `make check' has been ran.
13044 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13045 a mkdir call.
13046 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13047 (%/.dir): Remove.
13048
f4e164aa
JK
130492009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13050
13051 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13052 the expected result record.
13053
69af2122
JK
130542009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13055
13056 Remove racy FAILs relying just on the timeouts.
13057 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13058 (annotation_level 2): Remove racy FAILs.
13059
2fd481e1
PP
130602009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13061
13062 gdb/10275
889bf7c5
PA
13063 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13064
c38f313d
DJ
130652009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13066
13067 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13068
8b777f02
VP
130692009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13070
13071 * gdb.mi/mi-stack.exp: Testing symbolic options
13072 to -stack-list-locals and -stack-list-arguments.
13073
00c7eacf
JK
130742009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13075
13076 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13077
6bc80edc
TT
130782009-06-29 Tom Tromey <tromey@redhat.com>
13079
13080 * dg-extract-results.sh: New file.
13081 * Makefile.in (FORCE_PARALLEL): New variable.
13082 (CHECK_TARGET): New conditional variable.
13083 (check): Use CHECK_TARGET.
13084 (DO_RUNTEST): New variable.
13085 (check-single): New target.
13086 (TEST_DIRS): New variable.
13087 (TEST_TARGETS): Likewise.
13088 (check-parallel): New target.
13089 (check-gdb.%): New pattern.
13090 (BASE1_FILES): New variable.
13091 (BASE2_FILES): Likewise.
13092 (check-gdb.base%): New pattern.
13093 (%/.dir): New pattern.
13094 * configure: Rebuild.
13095 * aclocal.m4 (AM_CONDITIONAL): New defun.
13096 * configure.ac: Check whether user is using GNU make.
13097 (GMAKE): New conditional.
13098
794684b6
SW
130992009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13100
13101 * gdb.cp/namespace-nested-import.cc: New test.
13102 * gdb.cp/namespace-nested-import.exp: New test.
13103
edb3359d
DJ
131042009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13105
13106 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13107 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13108 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13109 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13110 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13111 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13112 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13113 gdb.opt/inline-markers.c: New files.
13114 * lib/gdb.exp (skip_inline_frame_tests): New function.
13115 (skip_inline_var_tests): New function.
13116
cf657a0c
AS
131172009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13118
13119 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13120 backtrace.
13121
28d41a99
MS
131222009-06-27 Michael Snyder <msnyder@vmware.com>
13123
13124 * gdb.reverse: New directory.
13125 * gdb.reverse/break-reverse.c: New test.
13126 * gdb.reverse/break-reverse.exp: New test.
13127 * gdb.reverse/consecutive-reverse.c: New test.
13128 * gdb.reverse/consecutive-reverse.exp: New test.
13129 * gdb.reverse/finish-reverse.c: New test.
13130 * gdb.reverse/finish-reverse.exp: New test.
13131 * gdb.reverse/machinestate.c: New test.
13132 * gdb.reverse/ms1.c: New test.
13133 * gdb.reverse/machinestate.exp: New test.
13134 * gdb.reverse/Makefile.in: New file.
13135 * gdb.reverse/shr2.c: New test.
13136 * gdb.reverse/solib-reverse.c: New test.
13137 * gdb.reverse/solib-reverse.exp: New test.
13138 * gdb.reverse/step-reverse.c: New test.
13139 * gdb.reverse/step-reverse.exp: New test.
13140 * gdb.reverse/until-reverse.c: New test.
13141 * gdb.reverse/ur1.c: New test.
13142 * gdb.reverse/until-reverse.exp: New test.
13143 * gdb.reverse/watch-reverse.c: New test.
13144 * gdb.reverse/watch-reverse.exp: New test.
13145 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13146 * configure: Regenerate.
13147
fe3c8b0d
DE
131482009-06-26 Doug Evans <dje@google.com>
13149
13150 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13151
3a72a602
PM
131522009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13153
13154 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13155 windows problem for 'file delete $binfile'.
13156
27aa8d6a
SW
131572009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13158
13159 * gdb.cp/namespace-using.exp: New test.
13160 * gdb.cp/namespace-using.cc: New test.
13161
8ac055f8
JB
131622009-05-20 Joel Brobecker <brobecker@adacore.com>
13163
13164 * gdb.ada/variant_record_packed_array: New testcase.
13165
85e306ed
TT
131662009-06-23 Tom Tromey <tromey@redhat.com>
13167
13168 * gdb.base/charset.exp (test_combination): Regression test.
13169 * gdb.base/charset.c (my_wchar_t): New typedef.
13170 (myvar): New global.
13171 (main): Set myvar.
13172
56643c5e
PM
131732009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13174
13175 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13176 target.
13177
1fac167a
UW
131782009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13179
13180 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13181
7ccb0be9
UW
131822009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13183
13184 * gdb.mi/gdb680.exp: Update test for error message.
13185
568d6575
UW
131862009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13187
13188 * gdb.base/annota1.exp: Allow multiple occurrences of the
13189 frames-invalid annotation.
13190 * gdb.cp/annota2.exp: Likewise.
13191
7cd1089b
PM
131922009-06-15 Phil Muldoon <pmuldoon@redhat.com>
13193
13194 * gdb.cp/gdb2495.cc: New file.
13195 * gdb.cp/gdb2495.exp: New file.
13196
72c63395
JK
131972009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13198
13199 Report error on GDB crash during runto.
13200 * lib/gdb.exp (runto <eof>): New.
13201
3788363d
DJ
132022009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
13203
13204 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13205 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13206 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13207 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13208 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13209 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13210 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13211 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13212 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13213 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13214 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
13215 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
13216 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13217 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
13218 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
13219 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
13220 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
13221 gdb.server/server-mon.exp, gdb.server/server-run.exp,
13222 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13223 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13224 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
13225 gdb.trace/passcount.exp, gdb.trace/report.exp,
13226 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
13227 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
13228 gdb.trace/while-stepping.exp: Use a unique name for the compiled
13229 executable.
13230
17592de3
PA
132312009-06-07 Pedro Alves <pedro@codesourcery.com>
13232
13233 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
13234 defined before referencing it.
13235
701e355d
DE
132362009-06-03 Doug Evans <dje@google.com>
13237
13238 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
13239 * gdb.arch/i386-see.c: Ditto.
13240
f2292c65
PM
132412009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
13242
13243 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
13244 (check_macro): Return 1 if undefined.
13245 If first test fails, check if macro debug information is available,
13246 and report unsupported test if no macro information is found.
13247
5a437975
DE
132482009-05-29 Doug Evans <dje@google.com>
13249
13250 * gdb.threads/hand-call-in-threads.exp: New.
13251 * gdb.threads/hand-call-in-threads.c: New.
13252
c141c696
MS
132532009-05-29 Michael Snyder <msnyder@vmware.com>
13254
13255 * gdb.base/break-always.exp: Change "1" to "on".
13256 Add confirmation check.
13257
b3444185
PA
132582009-05-28 Pedro Alves <pedro@codesourcery.com>
13259
13260 * gdb.threads/threxit-hop-specific.c: New.
13261 * gdb.threads/threxit-hop-specific.exp: New.
13262 * gdb.threads/thread-execl.c: New.
13263 * gdb.threads/thread-execl.exp: New.
13264
b6313243
TT
132652009-05-27 Tom Tromey <tromey@redhat.com>
13266 Thiago Jung Bauermann <bauerman@br.ibm.com>
13267
13268 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
13269 (mi_child_regexp): Likewise.
13270 (mi_list_varobj_children_range): Likewise.
13271 (mi_get_features): Likewise.
13272 (mi_list_varobj_children): Rewrite.
13273 * gdb.python/python-mi.exp: New file.
13274
a6bac58e
TT
132752009-05-27 Tom Tromey <tromey@redhat.com>
13276 Thiago Jung Bauermann <bauerman@br.ibm.com>
13277 Phil Muldoon <pmuldoon@redhat.com>
13278 Paul Pluzhnikov <ppluzhnikov@google.com>
13279
13280 * gdb.python/python-prettyprint.exp: New file.
13281 * gdb.python/python-prettyprint.c: New file.
13282 * gdb.python/python-prettyprint.py: New file.
13283 * gdb.base/display.exp: print/r is now valid.
13284
2c74e833
TT
132852009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
13286 Tom Tromey <tromey@redhat.com>
13287 Pedro Alves <pedro@codesourcery.com>
13288 Paul Pluzhnikov <ppluzhnikov@google.com>
13289
13290 * gdb.python/python-template.exp: New file.
13291 * gdb.python/python-template.cc: New file.
13292 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13293 tests.
13294 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13295 Call it.
13296 (test_value_after_death): New proc.
13297 * gdb.python/python-value.c (PTR): New typedef.
13298 (main): New variable 'x'.
13299
89c73ade
TT
133002009-05-27 Tom Tromey <tromey@redhat.com>
13301
13302 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13303 tests.
13304 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13305 Call it.
13306
a75724bc
PA
133072009-05-27 Pedro Alves <pedro@codesourcery.com>
13308
13309 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
13310
e58b0e63
PA
133112009-05-24 Pedro Alves <pedro@codesourcery.com>
13312
13313 * gdb.threads/fork-thread-pending.c: New.
13314 * gdb.threads/fork-thread-pending.exp: New.
13315
4ac36638
JK
133162009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13317
13318 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
13319 * gdb.dwarf2/dw2-strp.S (a_string2): New.
13320
889bf7c5 133212009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 13322
889bf7c5 13323 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 13324
b242c3c2
PA
133252009-05-17 Pedro Alves <pedro@codesourcery.com>
13326
13327 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
13328 `gdb_get_line_number'. Call `callee' in both parent and child.
13329 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
13330 `gdb_get_line_number' instead of hardcoding line numbers.
13331 (catch_fork_unpatch_child): New procedure to test detaching
13332 breakpoints from child fork.
13333 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
13334 hardcoding line numbers.
13335 (do_fork_tests): Run `catch_fork_unpatch_child'.
13336
ee342b23
VP
133372009-05-17 Vladimir Prus <vladimir@codesourcery.com>
13338
13339 * gdb.mi/mi-cmd-var.exp: Check that when varobj
13340 of structure type enters or leaves the scope, it
13341 is reported by -var-update.
13342
e2009e98
DE
133432009-05-11 Doug Evans <dje@sebabeach.org>
13344
13345 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 13346 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
13347 * gdb.threads/schedlock.c (main): Fix off-by-one error.
13348
00903456
JK
133492009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13350
13351 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
13352
dc621c35
DE
133532009-04-30 Doug Evans <dje@google.com>
13354
13355 * gdb.threads/watchthreads2.exp: New testcase.
13356 * gdb.threads/watchthreads2.c: New testcase.
13357
9ab4e744
DE
133582009-04-29 Doug Evans <dje@google.com>
13359
13360 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
13361 * gdb.cp/mb-ctor.cc: Ditto.
13362 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
13363 * gdb.cp/mb-inline.h (multi_line_foo): New function.
13364 * gdb.cp/mb-inline1.cc: Call it.
13365 * gdb.cp/mb-inline2.cc: Ditto.
13366 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
13367 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
13368
484086b7
JK
133692009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13370
13371 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
13372 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
13373 Replace all uses of `decimal' by `nonzero'.
13374 (info macro FROM_COMMANDLINE): New test.
13375
379a77b5
TT
133762009-04-27 Tom Tromey <tromey@redhat.com>
13377
13378 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
13379
b92b73c2
DE
133802009-04-27 Doug Evans <dje@google.com>
13381
13382 * gdb.threads/watchthreads.c (main): Initialize args before starting
13383 the threads. Plus formatting cleanup.
13384 * gdb.threads/watchthreads.exp: Avoid errant failures due to
13385 biased scheduling of one thread.
13386
945a118d
JG
133872009-04-27 Jerome Guitton <guitton@adacore.com>
13388
13389 * gdb.cp/templates.cc (GetMax): New template.
13390 (main): Declare two instances of GetMax.
13391 * gdb.cp/templates.exp: Add new test.
13392
d389af10
JK
133932009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13394
13395 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
13396
e7f86de9
JM
133972009-04-22 Joseph Myers <joseph@codesourcery.com>
13398
13399 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
13400
334cc82d
TT
134012009-04-15 Tom Tromey <tromey@redhat.com>
13402
13403 * gdb.base/charset.exp: Add regression test.
13404
d12672cc
JB
134052009-04-14 Joel Brobecker <brobecker@adacore.com>
13406
13407 * gdb.base/exe-lock.exp: New testcase.
13408
18e8c3bc
TT
134092009-04-13 Tom Tromey <tromey@redhat.com>
13410
13411 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
13412 operator on Frame.
13413
5ecd5cbe
UW
134142009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13415
13416 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
13417 * gdb.server/ext-attach.exp: Likewise.
13418
7309f756
VP
134192009-04-03 Vladimir Prus <vladimir@codesourcery.com>
13420
13421 Eliminate some sleep usage.
13422
889bf7c5
PA
13423 * gdb.mi/basics.c (do_nothing): New.
13424 (main): Use do_nothing instead of printf, so that
13425 not to introduce race condition between output of
13426 inferiour and output of gdb. Do not use sleep as it
13427 is not generally available on embedded targets.
7309f756 13428
f4b95f6f
PA
134292009-04-02 Pedro Alves <pedro@codesourcery.com>
13430
13431 * gdb.server/ext-attach.exp: Expect an optional process id after
13432 "Detached from remote process".
13433
de40b933
JK
134342009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13435
13436 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
13437 gdb.dwarf2/dw2-unresolved.exp: New.
13438
2ae101a4
PA
134392009-04-02 Pedro Alves <pedro@codesourcery.com>
13440
13441 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
13442 mi_run_to_main.
13443
56a8e183
PA
134442009-04-02 Pedro Alves <pedro@codesourcery.com>
13445
13446 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
13447 mi_run_to_main. Skip thread exit test on remote targets.
13448 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
13449 mi_run_to_main.
13450 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
13451 mi_run_to_main.
13452 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
13453 when expecting ^connected. Detect when the target doesn't support
13454 non-stop mode.
13455 (mi_run_cmd): Detect if non-stop mode was requested by isn't
13456 supported. Return -1 on error, 0 on success.
13457 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
13458 (mi_runto): Return mi_runto_helper's result explicitly.
13459
c35fafde
PA
134602009-04-01 Pedro Alves <pedro@codesourcery.com>
13461
13462 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
13463
f8a8dce6
JB
134642009-04-01 Tom Tromey <tromey@redhat.com>
13465
13466 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
13467 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
13468 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
13469 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
13470
71c25dea
TT
134712009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
13472 Jan Kratochvil <jan.kratochvil@redhat.com>
13473
13474 PR gdb/931
13475 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
13476 output.
13477 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
13478 for gdb/931.
13479 * dw2-strp.S (DW_AT_language): Change to C++.
13480 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
13481
02d9a9ce
JB
134822009-03-31 Joel Brobecker <brobecker@adacore.com>
13483
13484 * gdb.ada/tasks: New testcase.
13485
1042e4c0
SS
134862009-03-30 Stan Shebs <stan@codesourcery.com>
13487
13488 * gdb.trace/actions.exp: Update to match new info trace format.
13489 * gdb.trace/deltrace.exp: Ditto.
13490 * gdb.trace/infotrace.exp: Ditto.
13491 * gdb.trace/passcount.exp: Ditto.
13492 * gdb.trace/save-trace.exp: Ditto.
13493 * gdb.trace/while-stepping.exp: Ditto.
13494 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
13495
f8f6f20b
TJB
134962009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13497
13498 * gdb.python/python-frame.c: New file.
13499 * gdb.python/python-frame.exp: New file.
13500
c0c6f777
TJB
135012009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
13502
13503 * gdb.python/python-value.exp: Add tests for the address
13504 attribute.
13505
3cb51905
AS
135062009-03-29 Andreas Schwab <schwab@linux-m68k.org>
13507
13508 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
13509
88fc996f
DE
135102009-03-26 Doug Evans <dje@google.com>
13511
13512 * gdb.mi/mi-nonstop-exit.exp: New file.
13513 * gdb.mi/non-stop-exit.c: New file.
13514
56ef84b1
TT
135152009-03-26 Tom Tromey <tromey@redhat.com>
13516
13517 Update for change to prologue skipping:
13518 * gdb.mi/mi2-simplerun.exp: Update.
13519 * gdb.mi/mi2-break.exp: Update.
13520 * gdb.mi/mi-simplerun.exp: Update.
13521 * gdb.mi/mi-break.exp: Update.
13522 * gdb.base/ending-run.exp: Update.
13523
def2b000
TJB
135242009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
13525
13526 * gdb.python/python-value.exp (test_value_in_inferior): Test
13527 gdb.Value.is_optimized_out attribute.
13528
442ddf59
JK
135292009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13530
13531 * gdb.dwarf2/dw2-noloc-main.c: New file.
13532 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13533 (.text): Remove.
13534 (.data): New.
13535 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13536 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13537 (DW_TAG_subprogram func_cu1, noloc): Remove.
13538 (main): New.
13539 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13540 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
13541 (file_symbols): New procedure.
13542
a8df5de4
TT
135432009-03-25 Tom Tromey <tromey@redhat.com>
13544
13545 * gdb.base/charset.exp (valid_target_charset): New proc.
13546 Use it to skip tests on invalid charsets.
13547
cc1d7add
PM
135482009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
13549
13550 * gdb.base/completion.exp: Add a test for directory completion.
13551
bcd5727b
JK
135522009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13553
13554 Fix a racy FAIL.
13555 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13556 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13557
cc924cad
TJB
135582009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
13559
13560 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13561 * gdb.python/python-function.exp: Add test for function returning
13562 a GDB value.
13563
bc3b79fd
TJB
135642009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
13565
13566 * gdb.python/python-function.exp: New file.
13567
6c7a06a3
TT
135682009-03-20 Tom Tromey <tromey@redhat.com>
13569
13570 * gdb.base/store.exp: Update for change to escape output.
13571 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13572 to escape output.
13573 * gdb.base/pointers.exp: Update for change to escape output.
13574 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13575 to escape output.
13576 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13577 escape output.
13578 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13579 to escape output.
13580 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13581 escape output.
13582 * gdb.base/setvar.exp: Update for change to escape output.
13583 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13584 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13585 to escape output.
13586 (test_print_string_constants): Likewise.
13587 * gdb.base/charset.exp (valid_host_charset): Check size of
13588 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13589 cases. Handle "auto"-related output.
13590 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13591 (uvar, Uvar): New globals.
13592
c31af87b
JG
135932009-03-19 Jerome Guitton <guitton@adacore.com>
13594
13595 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13596 deltas.
13597 * gdb.ada/fixed_points.exp: Ditto.
13598
51272cf2
PA
135992009-03-18 Pedro Alves <pedro@codesourcery.com>
13600
13601 * return-nodebug.c: Don't include stdio.h.
13602 (init): Delete.
13603 (func): Delete definition and provide extern declaration.
13604 (t): New.
13605 (main): Don't call printf. Call func and store its result in t.
13606 * return-nodebug1.c: New.
13607 * return-nodebug.exp: Don't expect stdio output. Instead, print
13608 the global variable t. Drop printf formatters and cast types from
13609 foreach loop. Don't use prepare_for_testing. Compile
13610 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13611 define FORMAT or CAST.
13612
d24948ac
PP
136132009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13614
13615 * gdb.base/solib-display.exp: Disable test for remote targers.
13616
61ff14c6
JK
136172009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13618
13619 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13620
cb4dce93
JK
136212009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13622
13623 Fix a racy FAIL.
13624 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13625 code from `follow parent, print pids'.
13626 (`follow child, print pids', `follow parent, print pids'): Call it.
13627 Replace `gdb_test "break..."' by gdb_breakpoint.
13628
f7c60c5e
VP
136292009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13630
13631 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 13632 sync and async modes.
f7c60c5e 13633
383ace49
JB
136342009-03-12 Joel Brobecker <brobecker@adacore.com>
13635
13636 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13637 that was checked in by mistake. Remove loading of ada.exp, since
13638 this is not necessary in this case.
13639
4ce102af
JB
136402009-03-12 Joel Brobecker <brobecker@adacore.com>
13641
13642 * gdb.ada/ptype_arith_binop.exp: New testcase.
13643
529a2aef
JB
136442009-03-12 Joel Brobecker <brobecker@adacore.com>
13645
13646 * gdb.ada/mod_from_name: New testcase.
13647
8a38181c
JB
136482009-03-12 Joel Brobecker <brobecker@adacore.com>
13649
13650 * gdb.ada/tick_last_segv: New testcase.
13651
11436dee
VP
136522009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13653
61ff14c6 13654 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 13655
1f31650a
VP
136562009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13657
61ff14c6
JK
13658 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13659 include the token in ^running and frame info in *stopped.
1f31650a 13660
a3247a22
PP
136612009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13662
13663 * solib-display.exp: New file.
13664 * solib-display-main.c: New file.
13665 * solib-display-lib.c: New file.
61ff14c6 13666
aae64587
PA
136672009-03-05 Pedro Alves <pedro@codesourcery.com>
13668
13669 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13670
44aabfbc
JK
136712009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13672
13673 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13674 (list_and_check_macro): Use more specific test name.
13675 (next to definition): Make the test names unique.
13676
c087fcd3
PM
136772009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13678
13679 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 13680
c86cf029
VP
136812009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13682
13683 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13684 notifications.
13685 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13686 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13687 * lib/mi-support.exp (library_loaded_re): New.
13688 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13689
3ea85240
VP
136902009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13691
13692 * gdb.gdb/observer.exp: Use test_notification observer, not
13693 normal_stop, everywhere.
13694 (test_normal_stop_notifications): Rename to...
13695 (test_notifications): ...this.
13696 (test_observer_normal_stop): Rename to...
13697 (test_observer): ...this.
13698
1903f0e6
DE
136992009-02-16 Doug Evans <dje@google.com>
13700
13701 * gdb.arch/amd64-disp-step.S (test_int3): New test.
13702 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13703 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13704 (test_prefixed_syscall,test_int3): New tests.
13705 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13706 (test_prefixed_syscall,test_int3): New tests.
13707
1d33d6ba
VP
137082009-02-14 Vladimir Prus <vladimir@codesourcery.com>
13709
3cb51905
AS
13710 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13711 (mi_expect_interrupt): Likewise.
13712 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13713 response.
1d33d6ba 13714
faafb047
PM
137152009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13716
13717 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13718 * gdb.base/pc-fp.exp (get_valueofx): Remove.
13719 Replace calls to get_valueofx by get_hexadecimal_valueof.
13720
417e16e2
PM
137212009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13722
13723 * lib/gdb.exp (get_valueof): Accept anything as a return value.
13724 (get_integer_valueof): New procedure.
13725 (get_sizeof): Use new get_integer_value_of.
13726 * gdb.base/sizeof.exp: Replace all uses of get_valueof
13727 by get_integer_valueof.
13728
7065b901
TT
137292009-02-13 Tom Tromey <tromey@redhat.com>
13730
13731 * gdb.base/remote.exp (get_sizeof): Remove.
13732 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13733 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13734 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13735 * lib/gdb.exp (get_valueof): Move from long_long.exp.
13736 (get_sizeof): Likewise.
13737
5d7cb8df
JK
137382009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13739
13740 PR fortran/9806
13741 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13742
b2febfff
PP
137432009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13744
13745 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13746
4aa995e1
PA
137472009-02-06 Pedro Alves <pedro@codesourcery.com>
13748
13749 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13750
d8906c6f
TJB
137512009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13752
13753 * gdb.python/python-cmd.exp: New file.
13754
ff4ab08d
TG
137552009-02-06 Tristan Gingold <gingold@adacore.com>
13756
13757 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13758
aacd552b
TG
137592009-02-05 Tristan Gingold <gingold@adacore.com>
13760
13761 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13762 pointer is dereferenced and use this signal name in regexp.
13763 * gdb.base/signull.exp: Ditto.
13764 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13765 * gdb.base/signull.c (main): Ditto.
13766
08c637de
TJB
137672009-02-04 Tom Tromey <tromey@redhat.com>
13768 Thiago Jung Bauermann <bauerman@br.ibm.com>
13769
13770 * gdb.python/python-value.exp: Use `gdb.history' instead of
13771 `gdb.value_from_history'.
13772 (test_value_numeric_ops): Add test for conversion of enum constant.
13773 * gdb.python/python-value.c (enum e): New type.
13774 (evalue): New global.
13775 (main): Use argv.
13776
20261af8
JG
137772009-02-04 Jerome Guitton <guitton@adacore.com>
13778
13779 * gdb.ada/uninitialized_vars: New test program.
13780 * gdb.ada/uninitialized_vars.exp: New testcase.
13781
52e44b43
TT
137822009-02-02 Tom Tromey <tromey@redhat.com>
13783
13784 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13785 * gdb.cp/pr2489.cc: Rename...
13786 * gdb.cp/pr9594.cc: ... to this.
13787
1c71341a
TT
137882009-02-02 Tom Tromey <tromey@redhat.com>
13789
13790 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13791 * gdb.cp/pr2489.cc: New file.
13792 * gdb.cp/cpcompletion.exp: New file.
13793
a4295225
TT
137942009-02-02 Tom Tromey <tromey@redhat.com>
13795
13796 PR exp/9059:
13797 * gdb.cp/call-c.exp: Add regression test.
13798 * gdb.cp/call-c.cc (FooHandle): New typedef.
13799 (main): New variable 'handle'.
13800
592375cd
VP
138012009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13802
13803 * lib/mi-support.exp (et_mi_thread_list)
13804 (check_mi_and_console_threads): Adjust for current thread in
13805 -thread-list-ids output.
13806
41447f92
VP
138072009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13808
889bf7c5
PA
13809 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13810 Call it.
41447f92 13811
35669430
DE
138122009-01-28 Doug Evans <dje@google.com>
13813
13814 * gdb.arch/amd64-disp-step.S: New file.
13815 * gdb.arch/amd64-disp-step.exp: New file.
13816 * gdb.arch/i386-disp-step.S: New file.
13817 * gdb.arch/i386-disp-step.exp: New file.
13818
09f00d9a
PM
138192009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13820
13821 * gdb.base/find.exp: Set newline variable
13822 using quotes instead of braces to fix cygwin failures.
13823
1e8fb976
PA
138242009-01-23 Pedro Alves <pedro@codesourcery.com>
13825
13826 * gdb.base/radix.exp: Add tests to ensure that that set
13827 input-radix 0 and set output-radix 0 are really rejected.
13828
da061712
PA
138292009-01-23 Pedro Alves <pedro@codesourcery.com>
13830
13831 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13832 copyright years.
13833
dd7e2d2b
PA
138342009-01-23 Pedro Alves <pedro@codesourcery.com>
13835
13836 PR gdb/9664:
13837 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13838
392452f6
PA
138392009-01-22 Pedro Alves <pedro@codesourcery.com>
13840
13841 PR c++/9631:
13842 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13843
8653e71c
PM
138442009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13845
13846 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13847 binfile definition to fix Windows OS failure.
13848
a12cc160
DJ
138492009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13850
13851 PR gdb/9346
13852 * gdb.base/interrupt.c (sigint_handler): New.
13853 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13854 on error.
13855 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13856 Test "signal SIGINT".
13857
b89667eb
DE
138582009-01-19 Doug Evans <dje@google.com>
13859
13860 * gdb.base/break.exp: Update expected gdb output.
13861 * gdb.base/sepdebug.exp: Ditto.
13862 * gdb.mi/mi-syn-frame.exp: Ditto.
13863 * gdb.mi/mi2-syn-frame.exp: Ditto.
13864 * gdb.base/call-signal-resume.exp: New file.
13865 * gdb.base/call-signals.c: New file.
13866 * gdb.base/unwindonsignal.exp: New file.
13867 * gdb.base/unwindonsignal.c: New file.
13868 * gdb.threads/interrupted-hand-call.exp: New file.
13869 * gdb.threads/interrupted-hand-call.c: New file.
13870 * gdb.threads/thread-unwindonsignal.exp: New file.
13871
adb483fe
DJ
138722009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13873
13874 * gdb.base/define.exp: Test defining and hooking prefix commands.
13875 * gdb.python/python.exp: Update test for "show user" output.
13876
60023297
JK
138772009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13878
13879 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13880 now the output exactly, using less wildcards. Expect also the output
13881 of gfortran-4.3. Update for the f-valprint.c modification from
13882 2008-04-22.
13883 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13884 Remove gdb_test test names where matching the command.
13885
ccc57cf9
PA
138862009-01-01 Pedro Alves <pedro@codesourcery.com>
13887
13888 PR breakpoints/9681:
13889 * gdb.base/watchpoint.exp: Add regression test.
13890
c7a6ca08
PA
138912008-12-31 Pedro Alves <pedro@codesourcery.com>
13892
13893 * gdb.threads/attach-into-signal.exp: Don't use
13894 gdb_suppress_entire_file.
13895 * gdb.threads/attach-stopped.exp: Ditto.
13896 * gdb.threads/attachstop-mt.exp: Ditto.
13897
3a031f65
PA
138982008-12-31 Pedro Alves <pedro@codesourcery.com>
13899
13900 PR gdb/8812:
13901 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13902
09e6485f
PA
139032008-12-29 Pedro Alves <pedro@codesourcery.com>
13904
13905 PR gdb/7536:
13906 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13907 and unsupported output radices are really rejected.
13908
0cd53049
JK
139092008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13910
13911 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13912
ba163c7e
TT
139132008-12-22 Tom Tromey <tromey@redhat.com>
13914
13915 * gdb.cp/punctuator.exp: New file.
13916
6f4de6c9
JK
139172008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13918
13919 * gdb.base/completion.exp (Completing non-existing component): New test.
13920
0f34d0b4
JK
139212008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13922
13923 Fix for PR gdb/8648.
13924 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13925 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13926 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13927 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13928
db2ad4c3
JK
139292008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13930
13931 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13932
bb5ef15e
DP
139332008-12-16 Christophe Lyon <christophe.lyon@st.com>
13934
13935 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13936 compiler actually generate code at the expected line number.
13937
90142adc
JZ
139382008-12-15 Jie Zhang <jie.zhang@analog.com>
13939
13940 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13941
fad6eecd
TT
139422008-12-12 Tom Tromey <tromey@redhat.com>
13943
13944 * gdb.base/commands.exp (redefine_hook_test): New proc.
13945 Call it.
13946
17c8aaf5
TT
139472008-12-11 Tom Tromey <tromey@redhat.com>
13948
13949 * gdb.base/macscp.exp: New regression test.
13950
7c8adf68
TT
139512008-12-11 Tom Tromey <tromey@redhat.com>
13952
13953 * gdb.base/macscp.exp: Print "address.addr".
13954 * gdb.base/macscp1.c (struct outer): New struct.
13955 (address): New global.
13956
b05dcbb7
TT
139572008-12-09 Tom Tromey <tromey@redhat.com>
13958
13959 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
13960 Call it.
13961
2d476de1
DE
139622008-12-04 Doug Evans <dje@google.com>
13963
13964 * gdb.server/ext-run.exp: Relax regexp for init program.
13965
87bdc959
TG
139662008-12-03 Tristan Gingold <gingold@adacore.com>
13967
13968 * gdb.base/macscp.exp: Generate an object file during compilation
13969 to work around Darwin dsymutil limitations.
13970
e0740f77
JK
139712008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13972
13973 Test resolving external references to TLS variables.
13974 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
13975 FILE2_THREAD_LOCAL.
13976 (testfile2, srcfile2): New variables.
13977 * gdb.threads/tls.c (file2_thread_local)
13978 (function_referencing_file2_thread_local): New.
13979 * gdb.threads/tls2.c: New file.
13980
67f0aac5
JB
139812008-11-28 Joel Brobecker <brobecker@adacore.com>
13982
13983 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
13984 rather than integer, as integer might not be big enough when
13985 on 64bit targets.
67f0aac5 13986
c332165e
JG
139872008-11-27 Jerome Guitton <guitton@adacore.com>
13988
13989 * gdb.cp/formatted-ref.exp: Add equality test.
13990 * gdb.ada/formatted_ref.exp: Ditto.
13991
fc9b693c
JK
139922008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13993
13994 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
13995 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
13996
a9c64011
AS
139972008-11-20 Andreas Schwab <schwab@suse.de>
13998
13999 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14000 matching syscall entry point.
14001 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14002 (tcatch_vfork_then_child_follow): Likewise. Finish through
14003 vfork even if we stopped at the syscall trampoline.
14004
e2fd701e
DE
140052008-11-20 Doug Evans <dje@google.com>
14006
14007 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14008
69abc51c
TJB
140092008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14010
14011 * gdb.arch/ppc-dfp.exp: New file.
14012 * gdb.arch/ppc-dfp.c: New file.
14013
c14c28ba
PP
140142008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14015
14016 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 14017
2e74121d
DE
140182008-11-17 Doug Evans <dje@google.com>
14019
14020 * gdb.mi/mi-syn-frame.exp: Update expected output.
14021 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14022
66bb093b
VP
140232008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14024
14025 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
14026 "thread N" results in =thread-selected.
14027 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14028 (mi_send_resuming_command_raw): Be prepared for
14029 =thread-selected.
14030
3d043ef6
VP
140312008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14032
a9c64011
AS
14033 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14034 * lib/mi-support.exp: Likewise.
3d043ef6 14035
808104c8
JB
140362008-11-16 Joel Brobecker <brobecker@adacore.com>
14037
14038 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14039 commands from the expected output for "help catch".
14040
00b22944
JB
140412008-11-15 Joel Brobecker <brobecker@adacore.com>
14042
14043 * gdb.ada/int_deref.exp: New testcase.
14044
59669435
TT
140452008-11-14 Nick Roberts <nickrob@snap.net.nz>
14046
14047 * gdb.mi/gdb2549.exp: New file.
14048
de04a248
DE
140492008-11-11 Doug Evans <dje@google.com>
14050
14051 * gdb.base/callexit.exp: New file.
14052 * gdb.base/callexit.c: New file.
14053
6b8ce727
DE
140542008-11-10 Doug Evans <dje@google.com>
14055
14056 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14057 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14058 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14059 (default_gdb_start,default_gdb_exit): Ditto.
14060 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14061 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14062 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14063 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14064 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14065 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14066
1b14b8aa
AS
140672008-11-03 Andreas Schwab <schwab@suse.de>
14068
14069 * gdb.base/hashline2.exp: Fix typo.
14070 * gdb.base/hashline3.exp: Likewise.
14071
f3134b88
TT
140722008-10-30 Tom Tromey <tromey@redhat.com>
14073
14074 * gdb.base/pointers.exp: Add test.
14075 * gdb.base/pointers.c (k, S): New typedefs.
14076 (instance): New global.
14077
c2226152
AS
140782008-10-30 Andreas Schwab <schwab@suse.de>
14079
14080 * gdb.base/args.exp: Add tests for newlines.
14081
462f405c
JB
140822008-10-30 Joel Brobecker <brobecker@adacore.com>
14083
14084 gdb.base/foll-exec.exp: Update the expected output of a couple
14085 of "info breakpoints" tests.
14086
79a45b7d
TT
140872008-10-28 Tom Tromey <tromey@redhat.com>
14088
14089 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14090
adc13a14
PA
140912008-10-24 Pedro Alves <pedro@codesourcery.com>
14092
14093 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14094 gdb_start_cmd.
14095 Use runto_main before any test that requires execution.
14096
252fbfc8
PA
140972008-10-23 Pedro Alves <pedro@codesourcery.com>
14098
14099 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14100 instead of SIGINT.
14101
28148e3d
JB
141022008-10-22 Joel Brobecker <brobecker@adacore.com>
14103
14104 * gdb.base/completion.exp: Update expected output following
14105 the addition of the "info tasks" command.
14106
c209f847
TT
141072008-10-22 Tom Tromey <tromey@redhat.com>
14108
14109 * gdb.base/exprs.exp (test_expr): Add test for string
14110 concatenation.
14111
f177e350
PA
141122008-10-19 Pedro Alves <pedro@codesourcery.com>
14113
14114 * configure.ac: Output gdb.python/Makefile.
14115 * configure: Regenerate.
14116 * gdb.python/Makefile.in: New.
14117
cce89356
JB
141182008-10-16 Joel Brobecker <brobecker@adacore.com>
14119
14120 * gdb.base/foll-fork.exp: Adjust the expected output to match
14121 the new description for fork/vfork catchpoints in the "info
14122 breakpoints" output.
14123
176d289d
TJB
141242008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14125
14126 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14127
a08702d6
TJB
141282008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14129
14130 * gdb.python/python-value.c: New file.
14131 * gdb.python/python-value.exp: New file.
14132
1c5cfe86
PA
141332008-10-15 Pedro Alves <pedro@codesourcery.com>
14134
14135 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14136
5a98ad69
DP
141372008-10-15 Denis Pilat <denis.pilat@st.com>
14138
41702f1b 14139 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 14140
dcb1a1e2
TT
141412008-10-09 Tom Tromey <tromey@redhat.com>
14142
14143 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14144 'fprintf' and 'stderr'.
14145
9124fe48
JB
141462008-10-07 Joel Brobecker <brobecker@adacore.com>
14147
14148 * gdb.ada/ref_tick_size.exp: New testcase.
14149
45452591
DE
141502008-10-06 Doug Evans <dje@google.com>
14151
14152 * gdb.dwarf2/dw2-cu-size.exp: New file.
14153 * gdb.dwarf2/dw2-cu-size.S: New file.
14154
14155 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14156 .Ltype_int for clarity.
14157
4fc5b208
PP
141582008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14159
14160 PR gdb/2384:
14161 * gdb.cp/gdb2384.exp: Extended to test more cases.
14162 * gdb.cp/gdb2384.cc: Likewise.
14163 * gdb.cp/gdb2384-base.h: Likewise.
14164 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 14165
d78df370
JK
141662008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14167
14168 * gdb.base/maint.exp (maint print type): Remove printing
14169 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14170
9a044a89
TT
141712008-09-30 Tom Tromey <tromey@redhat.com>
14172
14173 * gdb.base/macscp.exp: Add completion tests.
14174 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14175 (TWENTY_THREE): Likewise.
14176 (FORTY_EIGHT): Likewise.
14177
506800a9
TT
141782008-09-30 Tom Tromey <tromey@redhat.com>
14179
14180 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14181 everywhere.
14182 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14183
1a6f01b5
JK
141842008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14185
14186 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14187 testcase is derived from. Fix racy dependency on an expected PID
14188 number. No longer support the testcase on Linux kernel 2.4.x.
14189
2fae03e8
TT
141902008-09-27 Tom Tromey <tromey@redhat.com>
14191
14192 * gdb.base/macscp.exp: Add tests for stringification, splicing,
14193 and varargs.
14194
1ad15515
PA
141952008-09-22 Pedro Alves <pedro@codesourcery.com>
14196
14197 * lib/mi-support.exp (mi_expect_interrupt): New.
14198 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14199 from gdb.mi/mi-nonstop.exp.
14200 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14201 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14202 lib/mi-support.exp.
14203 Use mi_check_thread_states throughout. Avoid ".*" and do not
14204 require an anchor after -exec-run.
14205
d0b76dc6
DJ
142062008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
14207
14208 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14209 stop is pending. Avoid ".*" when two stops are pending.
14210 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14211 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14212 newlines in fullnames.
14213 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14214 (mi_expect_stop): Update comments. Only anchor in sync mode.
14215 Do not match newlines.
14216 (mi_send_resuming_command_raw): Always return status.
14217 (mi_get_stop_line): Do not match more than one line by accident.
14218 Only anchor in sync mode.
14219 (mi_run_inline_test): If -exec-next fails, give up.
14220
9990c830
UW
142212008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14222
14223 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
14224 on SPU.
14225
ebcf6f00
JB
142262008-09-10 Joel Brobecker <brobecker@adacore.com>
14227
14228 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
14229
b6db24e5
JB
142302008-09-10 Joel Brobecker <brobecker@adacore.com>
14231
14232 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
14233 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
14234 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
14235 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
14236 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
14237 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
14238 gdb.ada/interface.exp, gdb.ada/null_array.exp,
14239 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
14240 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
14241 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
14242 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
14243 Include the "= " sequence in the expected output of print tests.
14244
2bf448e0
JB
142452008-09-10 Joel Brobecker <brobecker@adacore.com>
14246
14247 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
14248 description for boolean types.
14249
d51fd4c8
PA
142502008-09-09 Pedro Alves <pedro@codesourcery.com>
14251
14252 * gdb.base/hook-stop-continue.c: New.
14253 * gdb.base/hook-stop-continue.exp: New.
14254
694182d2
DJ
142552008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
14256
14257 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
14258
3b8a7fc0
JG
142592008-09-08 Jerome Guitton <guitton@adacore.com>
14260
14261 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
14262 (stack_check_probe_2, stack_check_probe_loop_1)
14263 (stack_check_probe_loop_2): New functions.
14264 (main): Add call to these new functions.
14265 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
14266 functions, check that the breakpoint is inserted at the appropriate
14267 location.
14268 (insert_breakpoint): Slightly refine this procedure so that it can
14269 be called several times in the test.
14270
96cc0ae8
JG
142712008-09-08 Jerome Guitton <guitton@adacore.com>
14272
14273 * gdb.base/stack-checking.c: New file.
14274 * gdb.base/stack-checking.exp: New file.
14275
1f08b409
TJB
142762008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14277
14278 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
14279 * gdb.arch/altivec-regs.exp: Likewise.
14280 * gdb.arch/vsx-regs.exp: Likewise.
14281
3099e1c4
TJB
142822008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14283
14284 * gdb.arch/ppc-fp.exp: New file.
14285 * gdb.arch/ppc-fp.c: New file.
14286
cc69bfc1
PP
142872008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14288
14289 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
14290 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 14291
b02a33db
MS
142922008-09-04 Michael Snyder <msnyder@vmware.com>
14293
14294 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
14295 as "at" (for non-debug functions such as _start).
14296
2992cbe0
UW
142972008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14298
14299 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
14300 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
14301 software watchpoints.
14302 * gdb.base/watch_thread_num.exp: Likewise.
14303
514f746b
AR
143042008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
14305
14306 * gdb.arch/i386-bp_permanent.exp: New test.
14307
876cecd0
TT
143082008-08-24 Tom Tromey <tromey@redhat.com>
14309
14310 * gdb.base/maint.exp: Update "maint print type".
14311
80f73d71
VP
143122008-08-21 Vladimir Prus <vladimir@codesourcery.com>
14313
14314 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
14315 support. Adjust the order of "*running" notifications.
14316 * gdb.mi/non-stop.c: Don't cast from int to void* and
14317 back.
14318
d9c78d7d
MK
143192008-08-20 Mark Kettenis <kettenis@gnu.org>
14320
14321 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
14322 expect to find it in the "info frame" output.
14323
97a2d1d3
DJ
143242008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
14325
14326 * gdb.base/interp.exp: Always consume both prompts.
14327
b96e2927
PA
143282008-08-20 Pedro Alves <pedro@codesourcery.com>
14329
14330 * gdb.base/pending.exp: Test pending breakpoints without symbols
14331 loaded.
14332
8cf6e61a
VP
143332008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14334
14335 * lib/mi-support.exp (mi_expect_stop): Produce
14336 more details on failures.
14337 * gdb.mi/mi-nonstop.exp: New.
14338 * gdb.mi/non-stop.c: New.
14339
c6ebd6cf
VP
143402008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14341
a9c64011
AS
14342 * gdb.mi/mi-async.exp: Use 'set target-async'.
14343 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 14344
46a9b8ed
DJ
143452008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
14346
14347 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
14348
44feb3ce
TT
143492008-08-17 Tom Tromey <tromey@redhat.com>
14350
14351 * gdb.base/help.exp (help catch): Rewrite.
14352
311a4e6b
TJB
143532008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14354
14355 * gdb.base/define.exp: Test indented command documentation.
14356 * gdb.python/python.exp: Test indented multi-line command.
14357
604c2f83
LM
143582008-08-15 Luis Machado <luisgpm@br.ibm.com>
14359
14360 * testsuite/gdb.arch/vsx-regs.c: New source file.
14361 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
14362 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
14363
886a217c
TT
143642008-08-14 Tom Tromey <tromey@redhat.com>
14365
14366 * gdb.base/macscp.exp: Add regression test for "macro define" or
14367 "macro undef" with no arguments.
14368
c814a4f3
PP
143692008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14370
14371 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 14372
12ab8a60
UW
143732008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14374
14375 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
14376
d57a3c85
TJB
143772008-08-06 Tom Tromey <tromey@redhat.com>
14378
14379 * gdb.python/python.exp: New file.
14380
c7b778ff
JK
143812008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14382
14383 Fix for PR gdb/1543.
14384 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
14385 $LOCATION.
14386 (location): New variable.
14387 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
14388 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
14389 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
14390 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
14391 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
14392 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
14393 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
14394 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
14395 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
14396 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
14397 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
14398 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
14399 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
14400 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
14401 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14402 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
14403 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
14404 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
14405 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
14406 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14407 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
14408 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
14409 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
14410 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
14411 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
14412 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
14413 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
14414 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
14415 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
14416 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
14417 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
14418 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
14419 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
14420 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
14421 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
14422 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
14423 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
14424 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14425 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
14426 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
14427 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
14428 gdb.base/type-opaque.exp, gdb.base/until.exp,
14429 gdb.base/value-double-free.c, gdb.base/varargs.exp,
14430 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
14431 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
14432 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
14433 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
14434 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
14435 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
14436 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
14437 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
14438 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
14439 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
14440 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
14441 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
14442 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
14443 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
14444 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
14445 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14446 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
14447 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
14448 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
14449 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14450 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
14451 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
14452 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
14453 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
14454 gdb.pascal/types.exp, gdb.stabs/weird.exp,
14455 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
14456 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
14457 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
14458 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
14459 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
14460 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
14461 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14462 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14463 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14464 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14465 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14466 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14467 lib/mi-support.exp, lib/trace-support.exp: Remove reference
14468 to bug-gdb@prep.ai.mit.edu .
14469
5e06a3d1
VP
144702008-07-31 Vladimir Prus <vladimir@codesourcery.com>
14471
14472 * lib/mi-support.exp (mi_load_shlibs): New.
14473 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
14474
9d81d21b
VP
144752008-07-30 Vladimir Prus <vladimir@codesourcery.com>
14476
14477 * lib/mi-support.exp (get_mi_thread_list)
14478 (check_mi_and_console_threads): New, moved from ...
14479 * gdb.mi/mi-pthread.exp: ...here.
14480 * gdb.mi/gdb669.exp (get_mi_thread_list)
14481 (check_mi_and_console_threads): Delete.
14482 * gdb.mi/mi2-pthread.exp: Likewise.
14483
bae98fe0
TT
144842008-07-28 Tom Tromey <tromey@redhat.com>
14485
14486 * Makefile.in (just-check): Remove. Move body to...
14487 (check): ... here.
14488
57380f4e
DJ
144892008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14490
14491 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
14492 Add a test for duplicated SIGINTs.
14493
e09490f1
DJ
144942008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14495
14496 * gdb.threads/schedlock.exp (get_args): Update to work for any
14497 value of NUM.
14498 (Top level): Report the number of threads that did not resume.
14499
6387b45f
DJ
145002008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14501
14502 * gdb.dwarf2/dw2-compressed.S: Also define __start.
14503
62f64ff2
DJ
145042008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14505
14506 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
14507 non-MI prompt.
14508
fa8de41e
TT
145092008-07-26 Tom Tromey <tromey@redhat.com>
14510
14511 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
14512 (function_struct, function_struct_ptr): New globals.
14513 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
14514 function pointer in a struct.
14515
ccb3ac8a
TT
145162008-07-26 Tom Tromey <tromey@redhat.com>
14517
14518 * gdb.base/macscp.exp: Add test for macro lexing bug.
14519
d7d9f01e
TT
145202008-07-18 Tom Tromey <tromey@redhat.com>
14521
14522 * gdb.base/macscp.exp: Add macro tests.
14523
9bf07184
PP
145242008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14525
14526 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
14527
becf6477
PP
145282008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14529
14530 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14531
0709f7d3
PP
145322008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14533
14534 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 14535
7093c834
PP
145362008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14537
14538 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 14539
b432ffe3
JK
145402008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14541
14542 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14543
b1a268e5
VP
145442008-07-12 Vladimir Prus <vladimir@codesourcery.com>
14545
14546 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14547
e2995f8e
KB
145482008-07-11 Kevin Buettner <kevinb@redhat.com>
14549
14550 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14551 of regexp to account for changes made to GDB in the printing of
14552 byte vectors.
14553
14032a66
TT
145542008-07-11 Tom Tromey <tromey@redhat.com>
14555
14556 * gdb.base/completion.exp: Add 'help' completion test.
14557
981505ef
JK
145582008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14559
14560 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14561
10568435
JK
145622008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14563
14564 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14565
4487aabf
PA
145662008-07-09 Pedro Alves <pedro@codesourcery.com>
14567
14568 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14569
a4a9b1c4
PA
145702008-07-09 Pedro Alves <pedro@codesourcery.com>
14571
14572 * gdb.base/fullname.exp: Restore pwd if compiling failed.
14573
3c3185ac
JK
145742008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14575
14576 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14577
7ebd49dc
VP
145782008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14579
14580 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14581 previous commit. Add a comment.
14582
84e46146
PA
145832008-06-28 Pedro Alves <pedro@codesourcery.com>
14584
14585 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14586
0f8d4a2f
VP
145872008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14588
14589 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14590
f747e0ce
PA
145912008-06-27 Pedro Alves <pedro@codesourcery.com>
14592
14593 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14594 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14595 compiling an executable, link in an object that forces unbuffered
14596 output.
14597 * lib/set_unbuffered_mode.c: New file.
14598
734a5c36
JK
145992008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14600
14601 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14602
a2840c35
VP
146032008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14604
a9c64011
AS
14605 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14606 mi_expect_stop.
14607 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14608 Demand that *running is output.
14609 (detect_async): Perform checking every time.
14610 (mi_send_resuming_command): Extract everything into...
14611 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
14612 (mi_expect_stop): Don't accept any output before *stopped.
14613
6ae37fef
VP
146142008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14615
14616 Robustify mi-simplerun.
a9c64011
AS
14617 * gdb.mi/basics.c (main): Add a call to sleep.
14618 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14619 * gdb.mi/mi2-cli.exp: Likewise.
14620 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 14621
b4aa76f0 146222008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
14623
14624 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14625
e1ac3328
VP
146262008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14627
a9c64011
AS
14628 * gdb.mi/mi-console.exp: Adjust.
14629 * gdb.mi/mi-syn-frame.exp: Adjust.
14630 * gdb.mi/mi2-console.exp: Adjust.
14631 * gdb.mi/mi2-syn-frame.exp: Adjust.
14632 * lib/mi-support.exp (mi_run_cmd): Adjust.
14633 (mi_send_resuming_command): Adjust.
e1ac3328 14634
f7f9a841
VP
146352008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14636
14637 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
14638 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14639 testing of stopped.
14640 * gdb.mi/mi2-syn-frame.exp: Likewise.
14641 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14642 (async, detect_async): New.
14643 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14644 depending on if we're running in sync or async mode.
f7f9a841 14645
37cd5d19
TT
146462008-06-09 Tom Tromey <tromey@redhat.com>
14647
14648 * gdb.base/completion.exp: New tests for field name completion
14649 with spaces, and field name completion with '->'.
14650
65d12d83
TT
146512008-06-06 Tom Tromey <tromey@redhat.com>
14652
14653 * gdb.base/break1.c (struct some_struct): New struct.
14654 (values): New global.
14655 * gdb.base/completion.exp: Add field name completion test.
14656
ebfe2e3f
PP
146572008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14658
14659 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14660 to pointer.
14661 * gdb.cp/call-c.cc: Likewise.
14662
bcf6fc3a
NR
146632008-06-06 Nick Roberts <nickrob@snap.net.nz>
14664
14665 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14666 annotation.
14667
49fd4a42 146682008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 14669 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
14670
14671 * gdb.threads/execl.c, gdb.threads/execl1.c,
14672 gdb.threads/execl.exp: New tests.
a9c64011 14673
8a34ac3f
AR
146742008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14675 Daniel Jacobowitz <dan@codesourcery.com>
14676
14677 * gdb.cp/exception.exp: Activate test, make it work with pending
14678 catchpoints.
14679
86ae69ef
JK
146802008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14681
14682 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14683
f7f9ae2c
VP
146842008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14685
a9c64011
AS
14686 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14687 now printed.
14688 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 14689
2a2d4dc3
AS
146902008-05-27 Andreas Schwab <schwab@suse.de>
14691
14692 * gdb.base/frame-args.exp: Handle arguments that are optimized
14693 out.
14694
5099e4d9
LM
146952008-05-26 Luis Machado <luisgpm@br.ibm.com>
14696
14697 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14698 quiet for ppc32 and group options into a single variable.
14699
d9c36a91
JB
147002008-05-23 Joel Brobecker <brobecker@adacore.com>
14701
14702 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14703 of zero-size elements.
14704 * gdb.ada/null_array.exp: Test printing this new array.
14705
103a8671
JK
147062008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14707
14708 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14709
07a4cc1a 147102008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
14711
14712 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14713 of the "finish" command.
14714
55f996a7
NR
147152008-05-21 Nick Roberts <nickrob@snap.net.nz>
14716
14717 * gdb.base/annota1.exp: Test for new annotation.
14718
907fc202
UW
147192008-05-16 Pedro Alves <pedro@codesourcery.com>
14720
14721 * gdb.base/fixsection.exp: New file.
14722 * gdb.base/fixsection0.c: New file.
14723 * gdb.base/fixsection1.c: New file.
14724
e8f97270
UW
147252008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14726
14727 * gdb.base/annota1.exp: Accept printf@... in place of printf.
14728 * gdb.base/annota3.exp: Likewise.
14729
ac0bb574
NF
147302008-05-13 Nathan Froyd <froydnj@codesourcery.com>
14731
14732 * gdb.base/watch_thread_num.exp: Don't run tests that require
14733 watchpoints if the target doesn't support them.
14734
6fadd07a
DE
147352008-05-12 Doug Evans <dje@google.com>
14736
14737 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14738
6e9a4a30
JB
147392008-05-09 Joel Brobecker <brobecker@adacore.com>
14740
14741 * gdb.ada/assign_1.exp: New testcase.
14742
08388c79
DE
147432008-05-09 Doug Evans <dje@google.com>
14744
a3c83fae
DE
14745 * gdb.base/find.exp: New file.
14746 * gdb.base/find.c: New file.
08388c79 14747
bd5ddfe8
DJ
147482008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
14749
14750 * gdb.base/commands.exp (watchpoint_command_test): Handle
14751 gdb,no_hardware_watchpoints.
14752 * gdb.base/float.exp: Allow ARM targets without floating point.
14753 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14754
b5dd68e2 147552008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 14756 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
14757
14758 * gdb.ada/lang_switch: New test program.
14759 * gdb.ada/lang_switch.exp: New testcase.
14760
382d13d1
DE
147612008-05-05 Doug Evans <dje@google.com>
14762
14763 * gdb.base/help.exp (disassemble): Update expected help text.
14764
9dd789d0
PA
147652008-05-04 Pedro Alves <pedro@codesourcery.com>
14766
14767 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14768
611c83ae
PA
147692008-05-04 Pedro Alves <pedro@codesourcery.com>
14770
14771 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14772 different times.
14773
ff013f42
JK
147742008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14775
14776 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14777 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14778 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14779 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14780
96dff6a2
VP
147812008-05-04 Vladimir Prus <vladimir@codesourcery.com>
14782
14783 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14784 notification to appear.
14785
55cd6f92
DJ
147862008-05-04 Daniel Jacobowitz <dan@debian.org>
14787
14788 * gdb.base/fullname.c: New file.
14789 * gdb.base/fullname.exp: New file.
14790 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14791
d705c43c
PA
147922008-05-03 Pedro Alves <pedro@codesourcery.com>
14793
14794 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14795 expressions with macros.
14796
333222e1
JK
147972008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14798
14799 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14800
5ac01682
DJ
148012008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
14802
14803 * gdb.base/completion.exp: Handle lack of other symbols beginning
14804 with "a".
14805
14806 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14807
237fc4c9
PA
148082008-05-02 Jim Blandy <jimb@codesourcery.com>
14809
14810 * gdb.asm/asmsrc1.s: Add scratch space.
14811
ed5e9466
DJ
148122008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14813 Daniel Jacobowitz <dan@codesourcery.com>
14814
14815 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14816 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14817 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14818
b39cc962
DJ
148192007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14820
14821 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14822
36d520f5
JB
148232008-05-01 Joel Brobecker <brobecker@adacore.com>
14824
14825 * gdb.base/info-target.exp: New testcase.
14826
8d4e3071
DJ
148272008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14828
14829 * gdb.cp/hang.exp: Use .cc instead of .C.
14830 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14831 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14832
6f3f3097
DJ
148332008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14834
14835 * gdb.base/gdb1250.exp: Remove perror.
14836 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14837
5550a914
PA
148382008-04-30 Pedro Alves <pedro@codesourcery.com>
14839
14840 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14841 .2byte.
14842
d848e687
DJ
148432008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14844
14845 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14846 (maybe_kfail): New.
14847
93b5768b
PA
148482008-04-25 Pedro Alves <pedro@codesourcery.com>
14849
14850 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14851
721c02de
VP
148522008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14853
a9c64011
AS
14854 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14855 * gdb.mi/mi2-syn-frame.exp: Likewise.
14856 * lib/mi-support.exp: Likewise.
721c02de 14857
74960c60
VP
148582008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14859
14860 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14861 to specify regexp for the location to stop at.
14862 * gdb.base/break-always.c: New.
14863 * gdb.base/break-always.exp: New.
14864
d24317b4
VP
148652008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14866
14867 * lib/mi-support.exp (mi_runto_helper): Adjust
14868 for the original-location field.
14869 (mi_create_breakpoint, mi_list_breakpoints): New.
14870 * gdb.mi/mi-break.exp: Adjust.
14871 * gdb.mi/mi2-break.exp: Adjust.
14872 * gdb.mi/mi-pending.exp: Adjust.
14873 * gdb.mi/mi-simplerun.exp: Adjust.
14874 * gdb.mi/mi2-simplerun.exp: Adjust.
14875 * gdb.mi/mi-syn-frame.exp: Adjust.
14876 * gdb.mi/mi2-syn-frame.exp: Adjust.
14877 * gdb.mi/mi-until.exp: Adjust.
14878 * gdb.mi/mi2-until.exp: Adjust.
14879 * gdb.mi/mi-var-display.exp: Adjust.
14880 * gdb.mi/mi2-var-display.exp: Adjust.
14881 * gdb.mi/mi-watch.exp: Adjust.
14882 * gdb.mi/mi2-watch.exp: Adjust.
14883
fdc59709 148842008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 14885
a9c64011
AS
14886 * aclocal.m4: Add override.m4.
14887 * configure: Regenerate.
fdc59709 14888
8e91f023
VP
148892008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14890
14891 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14892 '-var-update --all-values' reports new value even the type
14893 of a variable object has changed.
14894
233a11ab
CS
148952008-04-18 Craig Silverstein <csilvers@google.com>
14896
14897 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14898 files.
d24317b4 14899
9c1137ad
JB
149002008-04-18 Joel Brobecker <brobecker@adacore.com>
14901
14902 * gdb.ada/atomic_enum: New test program.
14903 * gdb.ada/atomic_enum.exp: New testcase.
14904
66d0bbc7
DE
149052008-04-17 Doug Evans <dje@google.com>
14906
14907 * gdb.opt/Makefile.in: Fix whitespace.
14908
100906b0
UW
149092008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14910
14911 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14912
4584e32e
DE
149132008-04-17 Doug Evans <dje@google.com>
14914
14915 * gdb.base/hashline1.exp: New testcase.
14916 * gdb.base/hashline2.exp: New testcase.
14917 * gdb.base/hashline2.exp: New testcase.
14918
0a320680
PA
149192008-04-17 Pedro Alves <pedro@codesourcery.com>
14920
14921 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14922
18ac113b
AR
149232008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14924
14925 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14926 temporary breakpoint to match "Temporary breakpoint".
14927 * gdb.base/break.exp (delete_breakpoints): Likewise.
14928 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14929 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14930 * gdb.base/display.exp: Likewise.
14931 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14932 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14933 * gdb.base/restore.exp (restore_tests): Likewise.
14934 * gdb.base/sepdebug.exp: Likewise.
14935 * gdb.base/watchpoint.exp: Likewise.
14936 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14937 * gdb.mi/mi-pending.exp: Likewise.
14938 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14939 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14940 * gdb.mi/mi-var-cmd.exp: Likewise.
14941 * gdb.mi/mi-var-display.exp: Likewise.
14942 * gdb.mi/mi2-cli.exp: Likewise.
14943 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14944 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14945 * gdb.mi/mi2-var-display.exp: Likewise.
14946 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14947 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14948 new "disp" field.
a9c64011 14949 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
14950 reason. This is to support fix for PR2424.
14951
add38693
JK
149522008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14953
14954 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14955
fcacd99f
VP
149562008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14957
14958 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 14959 field. Add more floating varobj tests.
fcacd99f 14960 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
14961 field.
14962 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
14963 (main): Call do_at_tests.
14964 * lib/mi-support.exp (mi_create_floating_varobj)
14965 (mi_varobj_update_with_type_change): New.
fcacd99f 14966
de051565
MK
149672008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
14968
14969 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
14970 option of -var-evaluate-expression.
14971 * gdb.mi/mi2-var-display.exp: Likewise.
14972
dbc52822
VP
149732008-04-07 Vladimir Prus <vladimir@codesourcery.com>
14974
14975 Introduce test setup helpers.
a9c64011
AS
14976 * lib/gdb.exp (build_executable, clean_restart)
14977 (prepare_for_testing): New.
14978 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
14979 * gdb.base/return.exp: Likewise.
14980 * gdb.base/ending-run.exp: Likewise.
dbc52822 14981
473591da
NR
149822008-04-07 Nick Roberts <nickrob@snap.net.nz>
14983
14984 * gdb.mi/mi-async.exp: New test for asynchronous Machine
14985 Interface (MI) responses.
14986
2b2d9e11
VP
149872008-04-06 Vladimir Prus <vladimir@codesourcery.com>
14988
a9c64011
AS
14989 * gdb.cp/breakpoint.cc: New code to test conditions involving
14990 member variables.
14991 * gdb.cp/breakpoint.exp: Test condition involving member
14992 variables.
2b2d9e11 14993
bb378428
VP
149942008-04-05 Vladimir Prus <vladimir@codesourcery.com>
14995
14996 * lib/mi-support.exp (mi_expect_stop): New.
14997 (mi_run_cmd): Change the
14998 token. Use mi_send_resuming_command, use
14999 mi_expect_stop.
15000 (mi_execute_to_helper): Rename to mi_execute_to.
15001 (mi_send_resuming_command): Add more error patterns.
15002 (mi_wait_for_stop): Renamed to...
15003 (mi_get_stop_line): ...this.
15004 (mi_run_inline_test): Adjust.
15005
15006 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15007 * gdb.mi/mi-console.exp: Likewise.
15008 * gdb.mi/mi-pending.exp: Likewise.
15009 * gdb.mi/mi-simplerun.exp: Likewise.
15010 * gdb.mi/mi-stack.exp: Likewise.
15011 * gdb.mi/mi-stepi.exp: Likewise.
15012 * gdb.mi/mi-syn-frame.exp: Add comment.
15013 * gdb.mi/mi-until.exp: Likewise.
15014 * gdb.mi/mi-var-display.exp: Likewise.
15015 * gdb.mi/mi-watch.exp: Likewise.
15016 * gdb.mi/mi2-cli.exp: Likewise.
15017 * gdb.mi/mi2-console.exp: Likewise.
15018 * gdb.mi/mi2-simplerun.exp: Likewise.
15019 * gdb.mi/mi2-stack.exp: Likewise.
15020 * gdb.mi/mi2-stepi.exp: Likewise.
15021 * gdb.mi/mi2-until.exp: Likewise.
15022 * gdb.mi/mi2-var-display.exp: Likewise.
15023 * gdb.mi/mi2-watch.exp: Likewise.
15024
62172bb9
UW
150252008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15026
15027 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15028
15029 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15030
a13e061a
PA
150312008-04-04 Pedro Alves <pedro@codesourcery.com>
15032
15033 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15034 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15035 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15036 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15037 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15038 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15039 expect an mi error duplicated in stderr.
15040
eae06beb
JB
150412008-04-03 Joel Brobecker <brobecker@adacore.com>
15042
15043 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15044 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15045 Add a couple of tests that verify the behavior when the new setting
15046 is set to "cancel" and "all".
15047 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15048 "ask" before we start the testing.
15049
79c6ced6
AR
150502008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15051
15052 * gdb.cp/casts.cc: Add class reference variables.
15053 * gdb.cp/casts.exp: New test cases for up/down casting references.
15054
6c2d1a6b
MK
150552008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15056
15057 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15058 instead of beginning to make an extra test pass.
15059 * gdb.mi/mi2-var-display.exp: Likewise.
15060
55b411d9
MR
150612008-03-31 Maciej W. Rozycki <macro@mips.com>
15062
15063 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15064
c6140da2
MD
150652008-03-31 Markus Deuling <deuling@de.ibm.com>
15066 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15067
15068 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15069 value. Add xfail for older kernels.
15070
79732189
AR
150712008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15072
15073 Bring mi-support in line with gdb.exp.
15074 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15075 (mi_gdb_start): New function.
15076
33c3676e
MR
150772008-03-28 Maciej W. Rozycki <macro@mips.com>
15078
15079 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15080
92e28119
VP
150812008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15082
15083 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15084 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 15085
9e8e3afe
VP
150862008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15087
15088 * lib/mi-support.exp (mi_create_varobj_checked): New.
15089 (mi_list_varobj_children): Allow to check for a
15090 value.
15091 (mi_list_array_varobj_children): New.
15092
15093 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15094 and mi_list_varobj_children, as opposed to hardcoding
15095 expected strings.
15096 * gdb.mi/gdb701.exp: Likewise.
15097 * gdb.mi/gdb792.exp: Likewise.
15098 * gdb.mi/mi-var-block.exp: Likewise.
15099 * gdb.mi/mi-var-cmd.exp: Likewise.
15100 * gdb.mi/mi-var-invalidate.exp: Likewise.
15101 * gdb.mi/mi2-var-block.exp: Likewise.
15102 * gdb.mi/mi2-var-child.exp: Likewise.
15103 * gdb.mi/mi2-var-cmd.exp: Likewise.
15104 * gdb.mi/mi2-var-display.exp: Likewise.
15105
9df50351
JK
151062008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15107
15108 Fix random false FAILs on i386.
15109 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15110
31e5d73a
DJ
151112008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15112
15113 PR gdb/544
15114 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15115
12f4afab
DJ
151162008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15117
15118 PR gdb/544
15119 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15120
b562a0cb
DJ
151212008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15122
15123 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15124 fixed PR gdb/544.
15125
17faa917
DJ
151262008-03-21 Pedro Alves <pedro@codesourcery.com>
15127
15128 * gdb.threads/fork-child-threads.exp: Test next over fork.
15129
6214f497
DJ
151302008-03-21 Chris Demetriou <cgd@google.com>
15131
15132 * gdb.base/break.exp (rbreak junk): New test for rbreak
15133 "Junk at end of arguments" issue.
15134
63092375
DJ
151352008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15136
15137 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15138 *& to work on created array elements.
15139 (Top level): Test print $pc with a file. Test string operations
15140 without a target.
15141 * gdb.base/ptype.exp: Do not expect *& to work on created array
15142 elements.
15143
b21991b0
DJ
151442008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15145
15146 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15147 gdb.threads/staticthreads.exp: Update exit query.
15148
c4b347c7
SL
151492008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15150
15151 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15152
fa4727a6
DJ
151532008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15154
15155 * gdb.base/watchpoint.c (global_ptr, func4): New.
15156 (main): Call func4.
15157 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15158 (test_inaccessible_watchpoint): New.
15159
2f34202f
MR
151602008-02-29 Maciej W. Rozycki <macro@mips.com>
15161
15162 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15163 select the largest.
15164
0d6ba1b1
DJ
151652008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15166
15167 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15168 frames-invalid annotations.
15169
e691325a
PM
151702008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15171
a9c64011 15172 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 15173
f85b5ecc
DE
151742008-02-27 Doug Evans <dje@google.com>
15175
15176 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15177 for bug 1738.
15178 (breakpoint_to_handler_entry): Ditto.
15179
b40e7bf3
JB
151802008-02-27 Joel Brobecker <brobecker@adacore.com>
15181
15182 * gdb.base/ending-run.exp: Use the first line of code inside
15183 function body to test breakpoints.
15184 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15185 location where the breakpoint is inserted when using the line
15186 where a function is declared. Fix typo in the description of
15187 one of the tests.
15188 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15189
2faca73a
PM
151902008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15191
15192 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 15193 tests.
2faca73a 15194
6f439c36
PM
151952008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15196
15197 * gdb.base/args.exp: avoid same output for tests
15198 with single quotes.
15199
54e52265
VP
152002008-02-26 Vladimir Prus <vladimir@codesourcery.com>
15201
a9c64011
AS
15202 * gdb.base/annota1.exp: Adjust for 'info break'
15203 format changes.
15204 * gdb.base/annota3.exp: Likewise.
15205 * gdb.base/break.exp: Likewise.
15206 * gdb.base/condbreak.exp: Likewise.
15207 * gdb.base/pending.exp: Likewise.
15208 * gdb.base/sepdebug.exp: Likewise.
15209 * gdb.base/unload.exp: Likewise.
15210 * gdb.cp/ovldbreak.exp: Likewise.
15211 * gdb.mi/mi-pending.exp: Likewise.
54e52265 15212
897b09ca
DE
152132008-02-07 Doug Evans <dje@google.com>
15214
15215 * gdb.cp/mb-inline.exp: New.
15216 * gdb.cp/mb-inline.h: New.
15217 * gdb.cp/mb-inline1.cc: New.
15218 * gdb.cp/mb-inline2.cc: New.
15219
b1c32d35
PM
152202008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
15221
15222 * gdb.pascal/floats.pas: New test program.
15223 * gdb.pascal/floats.exp: New testcase.
15224
1a4ca44a
TJB
152252008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15226
15227 * gdb.base/callfuncs.c (t_float_many_args): New function.
15228 (t_double_many_args): New function.
15229 * gdb.base/callfuncs.exp: Add tests for exceeding float
15230 and double parameters passed through the stack.
15231
439048e8
JB
152322008-02-05 Joel Brobecker <brobecker@adacore.com>
15233
15234 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
15235 gdb.ada/complete/foo.adb: New files.
15236 * gdb.ada/complete.exp: New testcase.
15237
81fe8080
DE
152382008-02-03 Doug Evans <dje@google.com>
15239
301f0ecf
DE
15240 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
15241
81fe8080
DE
15242 * gdb.cp/gdb2384.exp: New file.
15243 * gdb.cp/gdb2384.cc: New file.
15244 * gdb.cp/gdb2384-base.h: New file.
15245 * gdb.cp/gdb2384-base.cc: New file.
15246
4b071aec
DE
152472008-02-02 Doug Evans <dje@google.com>
15248
15249 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
15250
61137ba6
JB
152512007-02-01 Joel Brobecker <brobecker@adacore.com>
15252
15253 * gdb.ada/sym_print_name: New test program.
15254 * gdb.ada/sym_print_name.exp: New testcase.
15255
152562007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
15257
15258 * gdb.ada/nested/hello.adb: New file.
15259 * gdb.ada/nested.exp: New testcase.
15260 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15261
98deb0da
VP
152622008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15263
15264 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
15265 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
15266 don't cause future evaluations of function to report
15267 creation of internal breakpoints.
98deb0da 15268
723a2275
VP
152692008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15270
15271 * gdb.mi/mi-break.exp (test_error): New.
15272 Call it.
15273
fb546a2f
LM
152742008-01-31 Luis Machado <luisgpm@br.ibm.com>
15275
15276 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
15277 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
15278
2d8fd90a
PM
152792008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15280
15281 * gdb.pascal/integers.pas: New test program.
15282 * gdb.pascal/integers.exp: New testcase.
15283
a7fa0ded
PM
152842008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15285
15286 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
15287
5e1a1926
TJB
152882008-01-30 Luis Machado <luisgpm@br.ibm.com>
15289
15290 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
15291 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
15292
8d04f9f0
JB
152932008-01-30 Paul Hilfinger <hilfinger@adacore.com>
15294
15295 * gdb.ada/formatted_ref: New test program.
15296 * gdb.ada/formatted_ref.exp: New testcase.
15297
15298 * gdb.cp/formatted-ref.cc: New file.
15299 * gdb.cp/formatted-ref.exp: New testcase.
15300
ce75a98f
JB
153012008-01-30 Joel Brobecker <brobecker@adacore.com>
15302
15303 * gdb.base/ptype.exp: Add testing of "ptype $pc".
15304
e835f6bf
NR
153052008-01-30 Nick Roberts <nickrob@snap.net.nz>
15306
15307 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
15308 (test_file_list_exec_source_file): Update to new macro-info field.
15309
d118ef87
PH
153102008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
15311
15312 * gdb.ada/exprs: New test program.
15313 * gdb.ada/exprs.exp: New testcase.
15314
7d35ab09
TJB
153152008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15316
15317 * dfp-test.c (DELTA, DELTA_B): New definitions.
15318 (double_val1, double_val2, double_val3, double_val4, double_val5,
15319 double_val6, double_val7, double_val8, double_val9, double_val10,
15320 double_val11, double_val12, double_val13, double_val14, dec32_val1,
15321 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
15322 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
15323 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
15324 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
15325 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
15326 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
15327 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
15328 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
15329 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
15330 dec128_val16): New global variables.
15331 (decimal_dec128_align): New function.
15332 (decimal_mixed): Likewise.
15333 (decimal_many_args_dec32): Likewise.
15334 (decimal_many_args_dec64): Likewise.
15335 (decimal_many_args_dec128): Likewise.
15336 (decimal_many_args_mixed): Likewise.
15337 * dfp-test.exp: Add tests calling new inferior functions.
15338
2d717e4f
DJ
153392008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15340
15341 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
15342 gdb.server/ext-run.exp: New files.
15343 * lib/gdbserver-support.exp (gdbserver_download): New.
15344 (gdbserver_start): New. Update gdbserver expected
15345 output.
15346 (gdbserver_spawn): Use them.
15347 (gdbserver_start_extended): New.
15348
e85a822c
DJ
153492008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15350
15351 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
15352 Run on GNU/Linux.
15353 (do_exec_tests): Check for systems which do not support catchpoints.
15354 Do not match START.
15355 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
15356 Run on GNU/Linux. Enable verbose output.
15357 (check_fork_catchpoints): New.
15358 (explicit_fork_child_follow, catch_fork_child_follow)
15359 (tcatch_fork_parent_follow): Update expected messages.
15360 (do_fork_tests): Use check_fork_catchpoints.
15361 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
15362 Run on GNU/Linux. Enable verbose output.
15363 (check_vfork_catchpoints): New.
15364 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
15365 expected messages.
15366 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
15367
401ea829
JB
153682008-01-29 Jim Blandy <jimb@red-bean.com>
15369
15370 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
15371 host' errors.
15372 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
15373
aceaf3ad
JB
153742008-01-29 Jim Blandy <jimb@red-bean.com>
15375
15376 * gdb.threads/sigthread.c: Use barriers to ensure that
15377 child_thread and child_thread_two are always initialized before we
15378 start to use them.
15379
a5606eee
VP
153802008-01-29 Vladimir Prus <vladimir@codesourcery.com>
15381
15382 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
15383 * gdb.base/watchpoint-solib.c: New.
15384 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 15385
c55a82bb
PM
153862008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
15387
15388 * gdb.base/gdb1056.exp: Add unsigned integer test.
15389
0993fe05
DE
153902008-01-28 Doug Evans <dje@google.com>
15391
15392 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
15393
4fe42e7f
JB
153942008-01-27 Jim Blandy <jimb@codesourcery.com>
15395
c7a69933
JB
15396 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
15397
4fe42e7f
JB
15398 * gdb.base/expand-psymtabs.exp: Doc fix.
15399
5def8285
MK
154002008-01-26 Mark Kettenis <kettenis@gnu.org>
15401
15402 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
15403
5313c911
NR
154042008-01-24 Nick Roberts <nickrob@snap.net.nz>
15405
a9c64011 15406 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
15407 -var-set-format.
15408
93815fbf
VP
154092008-01-23 Chris Demetriou <cgd@google.com>
15410
15411 * gdb.threads/thread_events.c: New testcase source file.
15412 * gdb.threads/thread_events.exp: New testcase expect file.
15413
467a88ee
NR
154142008-01-23 Nick Roberts <nickrob@snap.net.nz>
15415
15416 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
15417
15418 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
15419 -var-set-format.
15420
d8f82aba
DJ
154212008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15422 Vladimir Prus <vladimir@codesourcery.com>
15423
15424 * gdb.base/float.exp: Allow missing floating point for m68k and
15425 PowerPC.
15426
60c46647
VP
154272008-01-22 Vladimir Prus <vladimir@codesourcery.com>
15428
15429 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
15430 ignore count.
15431 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
15432 * gdb.mi/mi-cli.exp: Adjust.
15433 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 15434
c7dd36a1
PA
154352008-01-17 Pedro Alves <pedro@codesourcery.com>
15436
15437 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
15438 and 'dummy_ptr' integer pointer. Initialize struct_declarations
15439 with dummy_ptr's address.
15440 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
15441 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
15442 all targets.
15443 * gdb.mi/mi2-var-child.exp: Likewise.
15444
39d5313e
JB
154452008-01-09 Joel Brobecker <brobecker@adacore.com>
15446
15447 * gdb.ada/null_array: New test program.
15448 * gdb.ada/null_array.exp: New testcase.
15449
0aea4bf3
LM
154502008-01-09 Luis Machado <luisgpm@br.ibm.com>
15451
15452 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
15453 with required float modifiers.
15454
0b354900
JB
154552008-01-08 Joel Brobecker <brobecker@adacore.com>
15456
15457 * gdb.ada/funcall_param: New test program.
15458 * gdb.ada/funcall_param.exp: New testcase.
15459
cdb7f5d4
JB
154602008-01-08 Joel Brobecker <brobecker@adacore.com>
15461
15462 * gdb.ada/arrayparam: New test program.
15463 * gdb.ada/arrayparam.exp: New testcase.
15464
88e2547f
JB
154652008-01-08 Joel Brobecker <brobecker@adacore.com>
15466
15467 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
15468 landed. Should also fix random failures in the test following it.
15469
f6867ce0
TJB
154702008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
15471
15472 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
15473 for expressions with decimal float values.
15474 (test_dfp_conversions): New function to test casts to and from
15475 decimal float types.
15476 Call test_dfp_conversions.
15477 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
15478 elements.
15479 (main): Initialize ds.float4 and ds.double8 elements.
15480 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
15481 string to new error message.
15482 (d64_set_tests): Likewise.
15483 (d128_set_tests): Likewise.
15484 Add tests for expressions with decimal float variables. Add tests for
15485 conversions to and from decimal float types.
15486
f9c11282
JB
154872008-01-05 Joel Brobecker <brobecker@adacore.com>
15488
15489 * gdb.ada/packed_tagged/comp_bug.adb: New file.
15490 * gdb.ada/packed_tagged.exp: New testcase.
15491
0ecbca72
JB
154922008-01-04 Joel Brobecker <brobecker@adacore.com>
15493
15494 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
15495 gdb.ada/homonym/homonym_main.adb: New files.
15496 * gdb.ada/homonym.exp: New testcase.
15497
c18d3d89
JB
154982008-01-04 Joel Brobecker <brobecker@adacore.com>
15499
15500 * gdb.ada/packed_array.exp: Add testing of references to
15501 a packed array.
15502
ecc7085b
JB
155032008-01-04 Joel Brobecker <brobecker@adacore.com>
15504
15505 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
15506 New files.
15507 * gdb.ada/type_coercion.exp: New testcase.
15508
c474c922
JB
155092008-01-04 Joel Brobecker <brobecker@adacore.com>
15510
15511 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
15512 gdb.ada/tagged/foo.adb: New file.
15513 * gdb.ada/tagged.exp: New testcase.
15514
9005b927
JB
155152008-01-04 Joel Brobecker <brobecker@adacore.com>
15516
15517 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
15518 gdb.ada/ptype_field/foo.adb: New files.
15519 * gdb.ada/ptype_field.exp: New testcase.
15520
1a6aaad8
JB
155212008-01-03 Joel Brobecker <brobecker@adacore.com>
15522
15523 * gdb.ada/print_pc.exp: New testcase.
15524
0ef22f53
JB
155252008-01-03 Joel Brobecker <brobecker@adacore.com>
15526
15527 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
15528 gdb.ada/taft_type/p.adb: New files.
15529 * gdb.ada/taft_type.exp: New testcase.
15530
1689ecf8
JB
155312008-01-03 Joel Brobecker <brobecker@adacore.com>
15532
15533 * gdb.ada/array_bounds/bar.adb: New file.
15534 * gdb.ada/array_bounds.exp: New testcase.
15535
a4d0b9c3
JB
155362008-01-03 Joel Brobecker <brobecker@adacore.com>
15537
15538 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15539 gdb.ada/arrayptr/foo.adb: New files.
15540 * gdb.ada/arrayptr.exp: New testcase.
15541
a31ace00
JB
155422008-01-03 Joel Brobecker <brobecker@adacore.com>
15543
15544 * gdb.base/set-lang-auto.exp: New testcase.
15545
a97fced3
JB
155462008-01-03 Joel Brobecker <brobecker@adacore.com>
15547
15548 * gdb.ada/fun_addr/foo.adb: New file.
15549 * gdb.ada/fun_addr.exp: New testcase.
15550
ef29ce1a
JK
155512008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15552
15553 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15554 New files
15555
0fafefe3
JB
155562008-01-02 Joel Brobecker <brobecker@adacore.com>
15557
15558 * array_subscript_addr/p.adb: New file.
a9c64011 15559 * array_subscript_addr.exp: New testcase.
0fafefe3 15560
c4359f8d
JB
155612008-01-02 Joel Brobecker <brobecker@adacore.com>
15562
a9c64011 15563 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
15564 New files.
15565 * gdb.ada/str_cmp_ref.exp: New testcase.
15566
1aa1b15b
JB
155672008-01-01 Joel Brobecker <brobecker@adacore.com>
15568
15569 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15570 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 15571 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 15572
81c9b2cf
JB
155732008-01-01 Joel Brobecker <brobecker@adacore.com>
15574
15575 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15576 gdb.ada/ref_param/pck.ads: New files.
15577 * gdb.ada/ref_param.exp: New testcase.
15578
319e4674
JB
155792008-01-01 Joel Brobecker <brobecker@adacore.com>
15580
15581 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15582 gdb.ada/interface/foo.adb: New files.
15583 * gdb.ada/interface.exp: New testcase.
15584
ef682c56
JB
155852007-12-31 Jim Blandy <jimb@codesourcery.com>
15586
15587 * gdb.base/multi-forks.exp: Consume all output from child
15588 processes before proceeding to next test.
15589
f6f3eb6c
JB
155902007-12-29 Jim Blandy <jimb@codesourcery.com>
15591
15592 * configure: Regenerated.
15593
f652e42f
JB
155942007-12-27 Joel Brobecker <brobecker@adacore.com>
15595
15596 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15597 gdb.ada/fixed_cmp/fixed.adb: New files.
15598 * gdb.ada/fixed_cmp.exp: New testcase.
15599
6943e596
JB
156002007-12-27 Joel Brobecker <brobecker@adacore.com>
15601
15602 * gdb.ada/boolean_expr.exp: New testcase.
15603
aad9a193
JB
156042007-12-26 Jim Blandy <jimb@codesourcery.com>
15605
15606 * gdb.base/multi-forks.exp: Doc fix.
15607
fb5f3683
JB
156082007-12-26 Joel Brobecker <brobecker@adacore.com>
15609
15610 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15611 * gdb.ada/char_param.exp: Do not compile our test program with
15612 -gnata, this is unnecessary.
15613 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15614
384e4a9c
JB
156152007-12-24 Joel Brobecker <brobecker@adacore.com>
15616
15617 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15618 gdb.ada/print_chars/foo.adb: New files.
15619 * gdb.ada/print_chars.exp: New testcase.
15620
01e044f7
JB
156212007-12-24 Joel Brobecker <brobecker@adacore.com>
15622
15623 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15624 gdb.ada/char_param/foo.adb: New files.
15625 * gdb.ada/char_param.exp: New testcase.
15626
0ce17860
JB
156272007-12-22 Jim Blandy <jimb@codesourcery.com>
15628
15629 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15630 hard-coding source line numbers into the test.
15631 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15632 gdb_get_line_number to find.
15633
919809b9
JB
156342007-12-22 Joel Brobecker <brobecker@adacore.com>
15635
15636 * gdb.base/ptype.c (highest): New struct type.
15637 (the_highest): New variable of that type.
15638 (main): Add dummy assignment to a field of variable the_highest.
15639 * gdb.base/ptype.exp: Test type printing of our new variable.
15640
abc8a88d
PM
156412007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15642
15643 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 15644 and record first explicitly generated thread number.
abc8a88d
PM
15645 Use that thread number for thread specific watchpoint test.
15646 Add iteration number to repetitive tests.
15647
5158f3e3
CES
156482007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15649 Jim Blandy <jimb@codesourcery.com>
15650
15651 * gdb.base/expand-psymtabs.c: New testcase
15652 source file.
15653 * gdb.base/expand-psymtabs.exp: New testcase
15654 expect file.
15655
37e4754d
LM
156562007-12-17 Luis Machado <luisgpm@br.ibm.com>
15657
15658 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15659 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15660
551e5d04
JB
156612007-12-17 Joel Brobecker <brobecker@adacore.com>
15662
15663 * gdb.ada/frame_args/foo.adb: New file.
15664 * gdb.ada/frame_args/pck.ads: New file.
15665 * gdb.ada/frame_args/pck.adb: New file.
15666 * gdb.ada/frame_args.exp: New testcase.
15667
a05ee097
JB
156682007-12-17 Joel Brobecker <brobecker@adacore.com>
15669
15670 * gdb.base/frame-args.c: New file.
15671 * gdb.base/frame-args.exp: New testcase.
15672
c162e8c9 156732007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 15674 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
15675
15676 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15677
afe8ab22 156782007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15679
afe8ab22
VP
15680 * gdb.mi/mi-pending.exp: New.
15681 * gdb.mi/mi-pending.c: New.
15682 * gdb.mi/mi-pendshr.c: New.
15683
dfdfb3ca
JB
156842007-12-06 Jim Blandy <jimb@codesourcery.com>
15685
15686 * gdb.base/default.exp: Update expected output for 'info catch'.
15687
b7fca990
JK
156882007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15689
15690 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15691 must be set to binary.
15692
6a1afc1e
PA
156932007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
15694
15695 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15696
a6b151f1
DJ
156972007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
15698
15699 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15700 gdb.mi/mi-file-transfer.exp: New.
15701
43039443
JK
157022007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15703
15704 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15705
0ef2251b
MR
157062007-11-22 Maciej W. Rozycki <macro@mips.com>
15707
15708 * gdb.trace/backtrace.exp: Fix a typo.
15709 * gdb.trace/circ.exp: Likewise.
15710 * gdb.trace/collection.exp: Likewise.
15711 * gdb.trace/limits.exp: Likewise.
15712 * gdb.trace/report.exp: Likewise.
15713 * gdb.trace/tfind.exp: Likewise.
15714 * gdb.trace/while-dyn.exp: Likewise.
15715
5443631e
NR
157162007-11-21 Nick Roberts <nickrob@snap.net.nz>
15717
15718 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15719 objects of pointers that can't be dereferenced are now
15720 "noneditable".
15721
a4ce5b0d
UW
157222007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15723
15724 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15725 (target_cpu): Remove.
15726
d6e956e5
VP
157272007-10-15 Vladimir Prus <vladimir@codesourcery.com>
15728
15729 * gdb.base/ending-run.exp: Expect the list of cleared
15730 breakpoint to come in natural order, not the reversed one.
a9c64011 15731
214270ab
VP
157322007-11-07 Vladimir Prus <vladimir@codesourcery.com>
15733
15734 * gdb.mi/mi-var-child.c (do_child_deletion): New.
15735 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 15736
1a619819
LM
157372007-11-05 Luis Machado <luisgpm@br.ibm.com>
15738
15739 * gdb.base/printcmds.exp: New function
15740 test_printf_with_dfp.
15741
5b01a6fa
DE
157422007-11-02 Doug Evans <dje@google.com>
15743
15744 * gdb.disasm/t01_mov.s: Remove carriage returns.
15745 * gdb.disasm/t02_mova.s: Ditto.
15746 * gdb.disasm/t03_add.s: Ditto.
15747 * gdb.disasm/t04_sub.s: Ditto.
15748 * gdb.disasm/t05_cmp.s: Ditto.
15749 * gdb.disasm/t06_ari2.s: Ditto.
15750 * gdb.disasm/t07_ari3.s: Ditto.
15751 * gdb.disasm/t08_or.s: Ditto.
15752 * gdb.disasm/t09_xor.s: Ditto.
15753 * gdb.disasm/t10_and.s: Ditto.
15754 * gdb.disasm/t11_logs.s: Ditto.
15755 * gdb.disasm/t12_bit.s: Ditto.
15756 * gdb.disasm/t13_otr.s: Ditto.
15757
ec33ab7f
JK
157582007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15759
15760 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15761
ae0d01ff
UW
157622007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15763
15764 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15765 provide DFP support.
15766
55eddb0f
DJ
157672007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
15768
15769 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15770 Test "set powerpc vector-abi". Skip auto-detection tests for old
15771 toolchains.
15772
7020f05c
PA
157732007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15774
15775 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15776 with [string compare].
15777
84bc3db9
PA
157782007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15779
15780 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15781 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15782
5876dc88
LM
157832007-10-25 Luis Machado <luisgpm@br.ibm.com>
15784
15785 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15786 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15787 * gdb.opt/Makefile.in: New makefile.
15788 * Makefile.in: Create new directory "gdb.opt".
15789 * configure.ac: Add "gdb.opt" directory.
15790 * configure: Regenerated.
a9c64011 15791
c3ea9a14
DE
157922007-10-25 Doug Evans <dje@google.com>
15793
15794 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15795 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15796
a9c64011 157972007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
15798 Thiago Jung Bauermann <bauerman@br.ibm.com>
15799
15800 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15801 Floating Point expressions.
15802 * gdb.base/dfp-test.exp: new file adding tests for Decimal
15803 Floating Point variables.
15804 * gdb.base/dfp-test.c: new file containing program with Decimal
15805 Floating variables, used by gdb.base/dfp-test.exp.
15806
62a24a2b
DJ
158072007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
15808
15809 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15810
e7b1eae6
UW
158112007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15812
15813 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15814 compiling test case with GCC.
15815 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15816
c641edcc
UW
158172007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15818
15819 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15820 format changes.
15821
5e5ebfe6
MS
158222007-10-18 Michael Snyder <msnyder@specifix.com>
15823
15824 * gdb.base/dbx.exp: Add missing "-re " operator.
15825
e831e7b6
GM
158262007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15827
15828 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15829 * configure.ac: Removed trailing spaces after backslash.
15830 * gdb.modula2: New directory.
15831 * gdb.modula2/Makefile.in: New file.
15832 * gdb.modula2/unbounded-array.exp: New file.
15833 * gdb.modula2/unbounded1.c: New file.
15834
7cc46491
DJ
158352007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15836
15837 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15838
158392007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
15840
15841 * gdb.base/sigstep.c (main): Add checks for
15842 return values for setitimer call.
15843 Call setitimer again with itimer = ITIMER_REAL
15844 if first call to setitimer fails.
15845
e91528f0
KH
158462007-10-11 Kazu Hirata <kazu@codesourcery.com>
15847
15848 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15849 of $timeout.
15850
2ec9a4f8
DJ
158512007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15852
15853 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15854
158552007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
15856
15857 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15858 of gdb_expect call, to avoid interruption.
15859
64b2fa04
PA
158602007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15861
15862 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15863 (v_unsigned_long_long, v_long_long_array)
15864 (v_signed_long_long_array, v_unsigned_long_long_array)
15865 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15866 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15867 [!NO_LONG_LONG]: New.
15868 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15869 v_long_long_member.
15870
15871 (v_long_long_func, v_signed_long_long_func)
15872 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15873 (main) [!NO_LONG_LONG]: Initialize long long variants.
15874
15875 * gdb.base/whatis.exp: If board file requests no_long_long, build
15876 test with NO_LONG_LONG defined. Test long long, signed long long,
15877 and unsigned long long variants but only if board file doesn't
15878 disable it.
15879
a912286e 158802007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 15881 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
15882
15883 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15884 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15885 * configure: Regenerated.
15886 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15887 gdb.pascal/types.exp, lib/pascal.exp: New files.
15888
471ba8c9
DJ
158892007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15890
15891 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15892 call.
15893 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15894 to return to the call.
15895 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15896 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15897 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15898 * gdb.mi/mi-until.exp (test_until): Likewise.
15899 * gdb.mi/mi2-until.exp (test_until): Likewise.
15900
fef8a650
DJ
159012007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15902
15903 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15904 two-char array.
15905 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15906
d983da9c
DJ
159072007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15908
15909 * gdb.threads/watchthreads.c (thread_function): Sleep between
15910 iterations.
15911 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15912 at once for S/390. Generate matching fails and passes.
15913
17f62551
VP
159142007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15915
15916 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15917 the 'struct_declarations' variable to zeros.
a9c64011 15918
ed0616c6
VP
159192007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15920
15921 * gdb.cp/mb-ctor.cc: New.
15922 * gdb.cp/mb-ctor.exp: New.
15923 * gdb.cp/mb-templates.cc: New.
15924 * gdb.cp/mb-templates.exp: New.
15925
41f1b697
DJ
159262007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15927
15928 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15929
3f213f78
PA
159302007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15931
15932 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15933 targets.
15934 * configure: Regenerate.
15935
0d381245 159362007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15937
0d381245
VP
15938 * gdb.base/annota1.exp: Adjust for 'info break'
15939 format changes.
15940 * gdb.base/annota3.exp: Likewise.
15941 * gdb.base/break.exp: Likewise.
15942 * gdb.base/condbreak.exp: Likewise.
15943 * gdb.base/pending.exp: Likewise.
15944 * gdb.base/sepdebug.exp: Likewise.
15945 * gdb.base/unload.exp: Likewise.
15946 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 15947
fe3f5fa8
VP
159482007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15949
15950 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15951 messages.
15952 * gdb.base/chng-syms.exp: Likewise.
15953 * gdb.base/unload.exp: Likewise.
a9c64011 15954
a75cf6c0
DJ
159552007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15956
15957 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15958
18ecae38
DJ
159592007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
15960
15961 * schedlock.c (NUM): Change to 1.
15962 (main): Use args[0] for the main thread.
15963 * schedlock.exp: Only expect two threads. Only issue one pass or fail
15964 regardless of the number of threads.
15965
5509918f
MR
159662007-09-14 Maciej W. Rozycki <macro@mips.com>
15967
4a543daf
MR
15968 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
15969 type down.
15970 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15971 test.
15972 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
15973 watchpoint type down.
15974 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15975 test.
15976
159772007-09-14 Maciej W. Rozycki <macro@mips.com>
15978
5509918f
MR
15979 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
15980 Move all the tests here and run them twice, once using software
15981 watchpoints and once using hardware watchpoints.
15982 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
15983
40b53987
DJ
159842007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
15985
15986 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
15987 test.
15988
695e2681
MK
159892007-09-10 Mark Kettenis <kettenis@gnu.org>
15990
8b3fc8d8
MK
15991 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
15992 build-id.
15993
695e2681
MK
15994 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
15995 know about $ORIGIN. Calculate output dir from $dest instead of
15996 using ${objdir}/{$subdir}.
15997
58d69f29
MK
159982007-09-09 Mark Kettenis <kettenis@gnu.org>
15999
16000 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16001 gcore, before continuing with the test.
16002
3e347599
DJ
160032007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16004
16005 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16006 * gdb.mi/mi-watch.exp: Likewise.
16007
ea37ba09
DJ
160082007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16009 Jim Blandy <jimb@codesourcery.com>
16010
16011 * gdb.arch/i386-sse.exp: Do not expect character constants.
16012 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16013 * gdb.base/display.exp: Allow print/s.
16014 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16015 and unsigned char array changes.
16016
2025a643
DJ
160172007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16018
16019 * gdb.base/display.exp: Add tests for printf %p.
16020
26669a27
PA
160212007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16022
16023 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16024 the dll name to unicode.
16025
c8f021f8
JK
160262007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16027
16028 * gdb.base/default.exp (show version): Update the version text.
16029 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16030
4cf31eea
JK
160312007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16032
16033 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16034 New files.
16035
4935890f
JK
160362007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16037
16038 * lib/gdb.exp (build_id_debug_filename_get): New function.
16039 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16040 Remove the generate DEBUG file for the future testcase runs.
16041 New testcase for the NT_GNU_BUILD_ID retrieval.
16042 Move the final testing step to ...
16043 (test_different_dir): ... a new function.
16044 New parameter XFAIL to XFAIL all the tests performed.
16045 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16046 New parameter TYPE to PF_PREFIX all the tests performed.
16047
02142340
VP
160482007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16049
16050 * gdb.mi/mi-var-cp.cc (path_expression): New
16051 function.
16052 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16053
36acd84e
UW
160542007-08-27 Markus Deuling <deuling@de.ibm.com>
16055
16056 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16057 to fit into SPU Local Store memory.
16058
a896d121
JB
160592007-08-23 Joel Brobecker <brobecker@adacore.com>
16060
16061 * gdb.base/default.exp: Adjust the expected output of "info
16062 warranty" after the switch to GPLv3.
16063
7b433602
JB
160642007-08-23 Joel Brobecker <brobecker@adacore.com>
16065
16066 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16067 to 30000 (from 20000).
16068
e22f8b7c
JB
160692007-08-23 Joel Brobecker <brobecker@adacore.com>
16070
16071 Switch the license of all .exp files to GPLv3.
16072 Switch the license of all .f and .f90 files to GPLv3.
16073 Switch the license of all .s and .S files to GPLv3.
16074
5a0e3bd0
JB
160752007-08-23 Joel Brobecker <brobecker@adacore.com>
16076
16077 * configure.ac: Switch license to GPLv3.
16078
cc00619d
JB
160792007-08-23 Joel Brobecker <brobecker@adacore.com>
16080
16081 Switch the licensing to GPLv3 for all .ads and .adb files.
16082
8d26208a
DJ
160832007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16084
16085 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16086 and t_int_double.
16087 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16088
4fcb9948
JB
160892007-08-17 Joel Brobecker <brobecker@adacore.com>
16090
16091 * gdb.base/step-line.c: Switch license to GPL version 3, and
16092 update copyright year.
16093 * gdb.base/step-line.inp: Likewise.
16094
b9c34f67
JB
160952007-08-17 Joel Brobecker <brobecker@adacore.com>
16096
16097 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16098 changes inside gdb1555.c.
16099 * gdb.base/pending.exp: Likewise.
16100
2cc17678
DJ
161012007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16102
16103 * config/default.exp: New file.
16104
e48883f7
DJ
161052007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16106
16107 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16108 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16109
1ab80e5b
MR
161102007-07-30 Maciej W. Rozycki <macro@mips.com>
16111
16112 * gdb.base/dump.exp: Force the correct endianness for binary
16113 formats not carrying this information.
16114
aba471f5
DJ
161152007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16116
16117 * gdb.threads/staticthreads.exp: Match .*sem_post.
16118
d4e07204
DJ
161192007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16120
16121 * gdb.base/readline.exp (operate_and_get_next): Match the final
16122 prompt.
16123
2b97317d
KB
161242007-07-23 Kevin Buettner <kevinb@redhat.com>
16125
16126 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16127 to restarting SID.
16128
44efa07a
KB
161292007-07-18 Kevin Buettner <kevinb@redhat.com>
16130
16131 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16132 prior to `gdb_start'.
16133
7b5ebade
KB
161342007-07-18 Kevin Buettner <kevinb@redhat.com>
16135
16136 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16137 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16138 Remove call to gdb_unload.
16139
255e7678
DJ
161402007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16141 Daniel Jacobowitz <dan@codesourcery.com>
16142
16143 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16144 for __WIN32__.
16145 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16146 * gdb.base/unload.exp: Use shared library test routines.
16147
3a40aaa0
UW
161482007-07-03 Markus Deuling <deuling@de.ibm.com>
16149
16150 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16151 * gdb.base/solib-symbol-lib.c: Likewise.
16152 * gdb.base/solib-symbol-main.c: Likewise.
16153
b0f4b84b
DJ
161542007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16155
16156 * config/gdbserver.exp (gdb_reconnect): New.
16157 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16158 gdb.base/solib-disc.exp: New files.
16159 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16160 remote debugging".
16161 (gdb_compile): Add shlib_load flag.
16162 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16163 port.
16164 (gdbserver_reconnect): New.
16165
1b05479a
DJ
161662007-07-01 Nick Roberts <nickrob@snap.net.nz>
16167 Daniel Jacobowitz <dan@codesourcery.com>
16168
16169 * gdb.base/annota3.exp: Test for if construct.
16170
86f78eb2
DJ
161712007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16172
16173 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16174
6a2eb474 161752007-06-21 Chris Dearman <chris@mips.com>
a9c64011 16176 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
16177
16178 * gdb.base/display.exp: Allow a newline after display/i.
16179 * gdb.base/pc-fp.exp: Likewise.
16180 * gdb.base/sigbpt.exp: Likewise.
16181
f8b73d13
DJ
161822007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16183
16184 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16185 required features to be included.
16186
4339e69e
DJ
161872007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16188
16189 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16190 in info threads output.
16191
23d964e7
UW
161922007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16193 Markus Deuling <deuling@de.ibm.com>
16194
16195 * gdb.arch/spu-info.exp: New testcase.
16196 * gdb.arch/spu-info.c: New file.
16197
fd20f75b
DJ
161982007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
16199
16200 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16201 tpcs_offset. Restore lr after the call.
16202 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16203
2226f861
DJ
162042007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
16205
16206 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16207 (gdbserver_run): Kill any running gdbserver.
16208 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16209
d12371a9
MR
162102007-05-17 Maciej W. Rozycki <macro@mips.com>
16211
16212 * gdb.base/sigbpt.exp: Preset segv_addr.
16213
93f02886
DJ
162142007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
16215
16216 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
16217 (gdb_compile_shlib): Likewise.
16218 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
16219 (default_gdb_init): Clear cleanfiles.
16220 (gdb_finish): Delete recorded cleanfiles.
16221 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
16222
16223 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
16224 Do not use isnative.
16225 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
16226 gdb.base/so-impl-ld.exp: Likewise.
16227 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
16228 * gdb.base/unload.exp: Likewise. Do not pass empty option to
16229 gdb_compile.
16230
b04e06d7
VP
162312007-05-15 Vladimir Prus <vladimir@codesourcery.com>
16232
16233 * config/unknown.exp: Remove.
16234
069ed931
UW
162352007-05-15 Markus Deuling <deuling@de.ibm.com>
16236
16237 * gdb.base/info-proc.exp: Check is_remote.
16238
09db0d03
UW
162392007-05-14 Markus Deuling <deuling@de.ibm.com>
16240
16241 * gdb.base/gcore.exp: Initialize variable core_supported.
16242
af2cbe8c
DJ
162432007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16244
16245 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
16246
027c0295
DJ
162472007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16248
16249 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
16250 * gdb.threads/print-threads.exp (test_all_threads): Allow
16251 negative and hexadecimal thread IDs.
16252
dc5000e7
DJ
162532007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16254
16255 * gdb.java/jprint.java (public): Avoid invalid call to static
16256 method.
16257
2e74ed18
DP
162582007-05-14 Denis Pilat <denis.pilat@st.com>
16259
16260 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
16261 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
16262 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16263 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
16264 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
16265
83547f02
UW
162662007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16267
16268 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 16269 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
16270 this mode.
16271 * gdb.base/ovlymgr.c: Provide stubs for spu target.
16272 * gdb.base/spu.ld: New file.
16273
b18be20d
DJ
162742007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
16275
16276 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
16277
be444858
DJ
162782007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
16279
16280 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
16281
b1d53152
DJ
162822007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16283
16284 * gdb.java/jmain.exp: Handle demangled names with and without method
16285 signatures.
16286
d084b331
DJ
162872007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16288
16289 * gdb.mi/mi-syn-frame.c (main, foo, bar)
16290 (have_a_very_merry_interrupt): Remove calls to puts.
16291 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
16292 inferior output.
16293 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
16294 test names.
16295
db9d7fc5
DJ
162962007-04-29 Markus Deuling <deuling@de.ibm.com>
16297 Daniel Jacobowitz <dan@codesourcery.com>
16298
16299 * gdb.base/auxv.exp (core_works): Also check is_remote.
16300 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
16301
ef783a7d 163022007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16303
ef783a7d
VP
16304 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
16305 message, not the undefined 'module' variable.
16306 * gdb.base/siginfo.exp: Likewise.
16307 * gdb.base/sigstep.exp: Likewise.
16308 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
16309 serialport.
16310 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
16311
b7b73cae
CV
163122007-04-25 Corinna Vinschen <vinschen@redhat.com>
16313
16314 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
16315 target sim fails. Return 0 otherwise.
16316 (gdb_load): Return prematurely if gdb_target_sim fails.
16317
7d90fdfa
DP
163182007-04-16 Denis Pilat <denis.pilat@st.com>
16319
16320 * gdb.base/setshow.exp: Reset height after having set it to 100.
16321
5d3e9c85
DP
163222007-04-16 Denis Pilat <denis.pilat@st.com>
16323
16324 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
16325
18e75969
DP
163262007-04-16 Denis Pilat <denis.pilat@st.com>
16327
16328 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
16329
25d5ea92
VP
163302007-04-14 Vladimir Prus <vladimir@codesourcery.com>
16331
16332 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
16333 tests. Run the frozen varobjs test.
16334 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 16335 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 16336
0b49cb80
JK
163372007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16338
16339 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
16340 gdb.base/type-opaque.exp: New files.
16341
a73bafbc 163422007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
16343
16344 * gdb.mi/mi-var-child.c
a73bafbc
VP
16345 (do_children_tests): User char[2] instead of
16346 char so that automatic printing of pointers to char
16347 don't give unpredicable result.
16348 * gdb.mi/var-cmd.c (do_locals_test): Initialize
16349 local variables.
16350 * gdb.mi/mi-var-child.exp: Step to right line
16351 of do_children_tests.
16352 * gdb.mi/mi2-var-child.exp: Likewise.
16353 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 16354 do_locals_tests.
a73bafbc
VP
16355 (do_children_tests): User char[2] instead of
16356 char so that automatic printing of pointers to char
a9c64011 16357 don't give unpredicable result.
a73bafbc 16358 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16359 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
16360 Pass test name to mi_wait_for_stop.
16361
7ce59000
DJ
163622007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16363
16364 * gdb.asm/asm-source.exp: Remove d10v case.
16365 * lib/gdb.exp (skip_cplus_tests): Likewise.
16366 * gdb.asm/d10v.inc: Deleted.
16367
20389057
DJ
163682007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16369
16370 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
16371
8807d78b
DJ
163722007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16373
16374 * config/netware.exp: Delete file.
16375
aa3edb8e
JB
163762007-03-29 Joel Brobecker <brobecker@adacore.com>
16377
16378 * gdb.dwarf2/dw2-noloc.S: New file.
16379 * gdb.dwarf2/dw2-noloc.exp: New file.
16380
297561ac
PA
163812007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
16382
16383 * gdb.cp/method2.cc: New test.
16384 * gdb.cp/method2.exp: New test.
16385 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
16386
1f81bd39
DJ
163872007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
16388
16389 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
16390
9453113a
DJ
163912007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
16392
16393 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
16394
b741e217
DJ
163952007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
16396
16397 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
16398 (gdb_load): Delete, replace with...
16399 (gdb_reload): ...this.
16400 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
16401 * gdb.server/server-mon.exp: Likewise.
16402 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
16403 (gdb_start_cmd): New.
16404 (gdb_file_cmd): Save the last loaded file.
16405 (gdb_reload): New.
16406 (gdb_gnu_strip_debug): Use transform.
16407 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
16408 support here. Use new $last_loaded_file. Check mtime.
16409 (gdb_target_cmd): Handle ObjC failure case.
16410 (infer_host_exec): Delete.
16411 (gdbserver_load): Rename to...
16412 (gdbserver_run): ...this. Simplify.
16413 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
16414 (mi_gdb_load): Move most contents to a new function...
16415 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
16416 (mi_run_cmd): Use mi_gdb_target_load.
16417 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
16418 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
16419 Use gdb_run_cmd.
16420 * gdb.base/charsign.exp: Remove incorrect comment.
16421 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
16422 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
16423 gdb.base/start.exp: Use gdb_start_cmd.
16424
446ab585 164252007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 16426 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
16427
16428 * gdb.base/sigbpt.exp: Fix the message when skipping test.
16429 * gdb.base/signull.exp: Similarly.
16430
bbb88ebf
UW
164312007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16432
16433 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
16434 messages available to test cases (like chng-sym.exp).
16435
cb8c4a99
AS
164362007-03-14 Andreas Schwab <schwab@suse.de>
16437
16438 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16439 format changes.
16440
4e463ff5
DJ
164412007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
16442
16443 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
16444 (optimized_1): New.
16445 (main): Call optimized_1.
16446 (gdb2029): Correct typos. Call gdb2029_marker.
16447 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
16448 for gdb2029.
16449
b6db2c47
MK
164502007-03-12 Mark Kettenis <kettenis@gnu.org>
16451
16452 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
16453 as tabs. Remove redundant test pattern.
16454
70ed3737
UW
164552007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16456
16457 * gdb.base/long_long.exp: Accept optional symbol name in <...>
16458 for /a format output.
16459
47b67b60
DJ
164602007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
16461
16462 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
16463 collect output incrementally.
16464
b8953b0e
UW
164652007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16466
16467 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
16468 for -var-create lpcharacter test.
16469 * gdb.mi/mi2-var-cmd.exp: Likewise.
16470
7acd5c40
UW
164712007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16472
16473 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
16474 pass on targets where address zero is readable.
16475
9c6759c1
UW
164762007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16477
16478 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
16479 just a single architecture.
16480
a2f1aeb4
UW
164812007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16482
16483 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
16484 (fetch_all_registers): New function, uses gdb_test_multiple and
16485 exp_continue to fetch inferior output line-by-line.
16486 Replace all uses of do_get_all_registers by fetch_all_registers.
16487
46579ac2
UW
164882007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16489
16490 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
16491 in target_info.
16492
fc133f24
MS
164932007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16494
a9c64011 16495 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
16496 consistancy; add a default (timeout) case.
16497
7646a51d
MS
164982007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16499
16500 * gdb.base/watchpoint.exp: Fix truncated comment.
16501
dcfff61f
MS
165022007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16503
16504 * Makefile.in: Remove spurious single-quotes from sed command.
16505
664e3ee9
DJ
165062007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16507
16508 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
16509 func.
16510 * gdb.mi/mi2-var-cmd.exp: Likewise.
16511
d7cc6f2f
JB
165122007-02-27 Joel Brobecker <brobecker@adacore.com>
16513
a9c64011
AS
16514 * gdb.dwarf2/dw2-producer.S: New file.
16515 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
16516
165172007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
16518
16519 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16520 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16521 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16522 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16523 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16524 Revert tests to use mi_gdb_test and include value field in output
16525 of -var-create.
16526
93d42b30
DJ
165272007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16528
16529 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
16530
c499ed39
DJ
165312007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16532
16533 * gdb.base/maint.exp: Remove full paths from test names.
16534 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16535 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16536
9836f81b
JB
165372007-02-27 Joel Brobecker <brobecker@adacore.com>
16538
16539 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16540
c74d0ad8
DJ
165412007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16542
16543 * gdb.server/server-mon.exp: New test.
16544
2711e456
DJ
165452007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16546
16547 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16548
ff6f572f
DJ
165492007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16550
16551 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16552 register capitalization.
16553
fada3feb
DP
165542007-02-13 Denis Pilat <denis.pilat@st.com>
16555
16556 * gdb.mi/mi-var-invalidate.exp: New file.
16557
fb1e4ffc
DJ
165582007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16559
16560 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16561
3da939d7
DJ
165622007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16563
16564 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16565
123dc839
DJ
165662007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16567
16568 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16569 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16570
877e3645 165712007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
16572
16573 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16574 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16575 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16576 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16577 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 16578 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 16579 Update tests to include value field in output of -var-create.
a9c64011 16580
3c0a2960
AS
165812007-02-08 Andreas Schwab <schwab@suse.de>
16582
16583 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16584
108546a0
DJ
165852007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16586
16587 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16588 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16589
d701dcab
DP
165902007-02-02 Denis Pilat <denis.pilat@st.com>
16591
16592 * gdb.threads/threadapply.exp: check that frame is not changed by
16593 the thread apply all command.
16594
783e3e2f
AS
165952007-01-31 Andreas Schwab <schwab@suse.de>
16596
6d9c3a87
AS
16597 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16598
3c50d7b9
AS
16599 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16600 in the dwarf sections.
16601 * gdb.dwarf2/mac-fileno.S: Likewise.
16602
783e3e2f
AS
16603 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16604 bspstore register on ia64.
16605
78ff580e
AS
166062007-01-29 Andreas Schwab <schwab@suse.de>
16607
cc8e9b12
AS
16608 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16609 "frame-begin" annotation.
16610
78ff580e
AS
16611 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16612 number of "frames-invalid" annotations.
16613
704a4f78
DJ
166142007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16615
16616 * gdb.base/commands.exp: Call if_commands_test.
16617 (gdb_test_no_prompt, if_commands_test): New.
16618
e741bf94
MK
166192007-01-28 Mark Kettenis <kettenis@gnu.org>
16620
16621 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16622
474d0ad3
AS
166232007-01-27 Andreas Schwab <schwab@suse.de>
16624
16625 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16626 .short/.int/.quad in the dwarf sections.
16627 * gdb.dwarf2/dw2-intercu.S: Likewise.
16628 * gdb.dwarf2/dw2-intermix.S: Likewise.
16629
e784b426
JK
166302007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16631
16632 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
16633 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16634 array.
e784b426
JK
16635 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16636 * gdb.base/setvar.exp: Likewise.
16637
37f08e04
AS
166382007-01-26 Andreas Schwab <schwab@suse.de>
16639
9a01813a
AS
16640 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16641 test.
16642
37f08e04
AS
16643 * gdb.base/multi-forks.exp ("restart $i"): Also match
16644 __kernel_syscall_via_break.
16645
6e2a9270
VP
166462007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16647
16648 * lib/mi-support.exp (mi_delete_varobj): New.
16649 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16650 testcase.
16651 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16652 (main): Call the above.
16653 (reference_update_test, base_in_reference_test)
16654 (reference_to_pointer): Delete the created varobjs.
a9c64011 16655
e515b470
DJ
166562007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16657
16658 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16659 * configure: Regenerated.
16660 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16661 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16662 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16663 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16664 * lib/gdb.exp (gdb_skip_xml_test): New function.
16665
08d8bcd7
DJ
166662007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16667
16668 * gdb.base/sigrepeat.exp: Correct error message.
16669
166702007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
16671 Daniel Jacobowitz <dan@codesourcery.com>
16672
16673 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16674 gdb.arch/i386-gnu-cfi-asm.S: New files.
16675
97c3f1f3
JK
166762007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16677
16678 * lib/gdb.exp: Abort on missing `site.exp'.
16679
cb1df416
DJ
166802007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16681 Daniel Jacobowitz <dan@codesourcery.com>
16682
16683 * gdb.base/included.c, gdb.base/included.exp,
16684 gdb.base/included.h: New files.
16685
35990120
DJ
166862007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16687
16688 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16689 (maximize_rlimit): Reduce limits on 64-bit systems.
16690
6e81a116 166912007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
16692
16693 From Marcus Deuling <deuling@de.ibm.com>:
16694 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16695 every case.
16696
6c3c41f3
NR
166972007-01-13 Nick Roberts <nickrob@snap.net.nz>
16698
16699 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16700 (test_path_specification): Use objdir instead of srcdir to always
16701 get an absolute filename.
16702
2f12c312
DJ
167032007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
16704
16705 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16706
81121995
VP
167072007-01-11 Vladimir Prus <vladimir@codesourcery.com>
16708
16709 * gdb.mi/mi-var-cp.cc (reference_update_tests):
16710 Make sure the variable we're using is in scope.
16711 (reference_to_pointer): Likewise.
16712
4741b737
DJ
167132007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16714
16715 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16716 has no debug information.
16717
054410c3
DJ
167182007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16719
16720 * gdb.base/annota1.exp: Remove extra send_gdb.
16721
818f79f6
DJ
167222007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16723
16724 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16725
f7a6bb70
DJ
167262007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16727
16728 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16729
57e66780
DJ
167302007-01-08 Nick Roberts <nickrob@snap.net.nz>
16731 Daniel Jacobowitz <dan@codesourcery.com>
16732
16733 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16734 lcharacter or linteger change. Correct duplicated test name.
16735 * gdb.mi/mi2-var-cmd.exp: Likewise.
16736
3d799a95
DJ
167372007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
16738
16739 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16740
167412007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 16742
a9c64011
AS
16743 * gdb.base/nofield.c: New file.
16744 * gdb.base/nofield.exp: New testcase.
51679ba9 16745
eafb94e8
NR
167462007-01-05 Nick Roberts <nickrob@snap.net.nz>
16747
16748 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16749
16750 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16751 test.
16752
5e572bb4
DJ
167532007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16754
16755 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16756
74a44383
DJ
167572007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16758
16759 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16760 when continuing.
16761
1b572db9
DJ
167622007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16763
16764 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16765 Expect ".exe" extension.
16766
381bc39b
DJ
167672007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16768
16769 * gdb.base/charset.exp: Add explicit filename to break.
16770 * gdb.base/dbx.exp: Add explicit filename to breaks.
16771
2b70e4c6
DJ
167722007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16773
16774 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16775 * gdb.mi/mi2-file.exp: Likewise.
16776
303b6f5d
DJ
167772007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16778
16779 Implement specification of MI tests as comments
16780 in C and C++ sources.
16781 * lib/mi-support.exp (mi_autotest_data): New variable.
16782 (mi_autotest_source): New variable.
16783 (count_newlines, mi_prepare_inline_tests)
16784 (mi_get_inline_test, mi_continue_to_line)
16785 (mi_run_inline_test, mi_tbreak)
16786 (mi_send_resuming_command, mi_wait_for_stop): New functions.
16787 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16788 Run inline tests.
16789 * gdb.mi/mi-var-cp.cc: Define tests here.
16790
23da0d94
VP
167912007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16792
16793 Simplify usage of mi_continue_to.
16794 * lib/mi-support.exp (mi_runto_helper): Renamed
16795 from mi_runto, added new parameter 'run_or_continue'.
16796 (mi_runto): Use mi_runto_helper.
16797 (mi_continue_to): Accept just function name as parameter.
16798 Use mi_runto_helper.
16799 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16800 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16801
f9e18282
JB
168022006-01-04 Joel Brobecker <brobecker@adacore.com>
16803
16804 Make this testcase a bit more realistic. The current code
16805 is too simplistic, and allows the compiler to optimize out
16806 some of the entities we need for this testcase.
16807 * gdb.ada/null_record/bar.ads (Void_Star): New type.
16808 (Do_Nothing): Add extra parameter.
16809 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16810 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16811 by using a variable of type Void_Star.
16812
fd678c65
JB
168132006-01-04 Joel Brobecker <brobecker@adacore.com>
16814
16815 * gdb.ada/catch_ex/foo.adb: New file.
16816 * gdb.ada/catch_ex.exp: New testcase.
16817
05cfdb42
DJ
168182007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16819
16820 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16821 pass --image-base to linker.
16822
2e03ee74
DJ
168232007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16824 Daniel Jacobowitz <dan@codesourcery.com>
16825
16826 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16827 secondary prompts.
16828
0d5de010
DJ
168292007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16830
16831 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16832 output. Test the types of members and member pointers.
16833 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16834 gdb/2092.
16835 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16836 statement. Enable for GCC. Update expected output for some tests
16837 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16838 layout.
16839 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16840 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16841 (Diamond::vget_base): New.
16842 (main): Add new tests.
16843 * gdb.cp/printmethod.exp: Update expected output for member functions.
16844 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16845 print pEe->D::vg().
16846
61a771aa
DJ
168472007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16848
16849 * gdb.threads/tls.exp: Allow stops in sem_post.
16850
2fa63963
DJ
168512006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16852
16853 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16854 * gdb.base/annota3.exp: Likewise.
16855 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16856 again (instead of timing out).
16857 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16858 GCC bug 26475.
16859 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16860 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16861 test from jmisc1.exp.
16862 * gdb.java/jmisc1.exp: Delete.
16863 * gdb.java/jprint.exp: Adjust to work with method signatures including
16864 return types.
16865 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16866 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16867 * lib/java.exp (compile_java_from_source): Pass the correct type
16868 to target_compile.
16869
5eefc2b7
JB
168702006-12-31 Joel Brobecker <brobecker@adacore.com>
16871
16872 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16873 (stack_align_edx): New function.
16874 (stack_align_eax): New function.
16875 (main): Add calls to stack_align_edx and stack_align_eax.
16876 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16877 Add testing for the cases where the register used during a stack
16878 realignment is edx. Same for eax.
16879
227c54da
DJ
168802006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16881
16882 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16883 and generic PE targets.
16884
cab8ac94
JB
168852006-12-29 Joel Brobecker <brobecker@adacore.com>
16886
16887 * gdb.ada/array_return.exp: Update copyright date list.
16888
ba54f318
JB
168892006-12-27 Joel Brobecker <brobecker@adacore.com>
16890
16891 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16892 (Create_Small_Float_Vector): New function.
16893 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16894 function body.
16895 * gdb.ada/array_return/p.adb: Use new type and function from
16896 package Pck.
16897 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16898 able to print the value returned by a function returning an
16899 array of float.
16900
6b7a35dd
JB
169012006-12-20 Joel Brobecker <brobecker@adacore.com>
16902
16903 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16904 The associated tests should be PASSing.
16905
038224f6
VP
169062006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16907
16908 Test for base in references.
16909 * gdb.mi/mi-var-cp.cc: Add test code.
16910 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16911 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16912 * gdb.mi/mi2-watch.exp: Likewise.
16913 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16914 (mi_list_varobj_children): New function.
16915
b26ed50d
VP
169162006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16917
16918 * lib/mi-support.exp
16919 (mi_runto): Accept "()" after function name.
16920 (mi_create_varobj): New function.
16921 (mi_varobj_update): New function.
16922 (mi_Check_varobj_value): New function.
16923 * gdb.mi/mi-var-cp.exp: New file.
16924 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 16925
08232497
DJ
169262006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16927
16928 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16929 gdb.base/weaklib2.c: New files.
16930
d394c993 169312006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 16932
ac6c2fba
NS
16933 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16934 info. Adjust test names.
16935
8ec659a0 16936 * gdb.base/break.c (main): Move position of malloc.
d394c993 16937 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 16938
acd65feb
VP
169392006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16940
16941 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16942 assignement of arrays and function pointers.
16943 * gdb.mi/var-cmd.c: Add declaration necessary for above
16944 tests.
16945
f556d5e5
NS
169462006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16947
16948 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
16949
16950 * gdb.threads/linux-dp.exp: Read thread table before and after
16951 creating each philosopher and verify it.
16952
697bc68d
NS
169532006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16954 Paul Brook <paul@codesourcery.com>
16955 Daniel Jacobowitz <dan@codesourcery.com>
16956
16957 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 16958 main to remove duplication. Add start function of the form
697bc68d
NS
16959 '_*start[1-9]*'. Add RVDS start function.
16960
29d73ae4
DJ
169612006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16962
16963 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
16964
c1d88655
UW
169652006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16966
16967 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
16968 * gdb.asm/spu.inc: New file.
16969 * gdb.base/term.exp: Disable if [target_info exists noargs].
16970 * gdb.gdb/complaints.exp: Disable if ![isnative].
16971 * gdb.gdb/selftest.exp: Likewise.
16972 * gdb.gdb/observer.exp: Likewise.
16973 * gdb.gdb/xfullpath.exp: Likewise.
16974 * gdb.base/attach.exp: Disable on SPU target.
16975 * gdb.cp/bs145503.exp: Likewise.
16976 * gdb.cp/exception.exp: Likewise.
16977 * gdb.cp/userdef.exp: Likewise.
16978
32a13b1a
DJ
169792006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16980
16981 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
16982
d8295fe9
VP
169832006-11-10 Vladimir Prus <vladimir@codesourcery.com>
16984
16985 * gdb.base/completion.exp: Fix completion tests for
16986 'info' and 'info '.
16987 * gdb.base/help.exp (help_test_raw, test_class_help)
16988 (test_prefix_command_help): Move...
16989 * lib/gdb.exp: Here.
16990 * gdb.base/main.exp: Adjust.
16991 * gdb.cp/maint.exp: Adjust.
16992 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 16993
8c394015
VP
169942006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16995
16996 * gdb.stabs/weird.exp (print_weird_var): Use
16997 gdb_test_multiple instead of gdb_expect.
16998
027fc1bc
VP
169992006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17000
17001 * gdb.base/help.exp (help_test_raw): New.
17002 (test_class_help): New.
17003 (test_prefix_command_help): New.
17004 Adjust testcases.
17005
67609209
FR
170062006-11-09 Christophe Lyon <christophe.lyon@st.com>
17007
17008 * gdb.base/constvars.c (main): Write to crass and crips, so that
17009 they are allocated by the compiler.
17010
f73adfeb
AS
170112006-10-27 Andreas Schwab <schwab@suse.de>
17012
17013 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17014 "detach-fork".
17015
2f83a18e
DJ
170162006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17017
17018 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17019 of patterns.
17020
94277a38
DJ
170212006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17022
17023 * gdb.base/sepdebug.exp: Remove debug format test.
17024 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17025 Handle no-symtab.
17026 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17027
5bd2f6e2
DJ
170282006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17029
17030 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17031 int to pointer or pointer to int.
17032 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17033
8c008720
DJ
170342006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17035
17036 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17037
9e35dae4
DJ
170382006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17039
17040 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17041
d9639e13
DJ
170422006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17043
17044 PR c++/2116
17045 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17046
390a1bd0
JB
170472006-10-06 Joel Brobecker <brobecker@adacore.com>
17048
17049 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17050 the corresponding bug has been fixed in GDB (PR/2018).
17051
dd920c33
JB
170522006-10-06 Joel Brobecker <brobecker@adacore.com>
17053
17054 * gdb.base/subst.exp: New testcase.
17055
53bbefe9
JB
170562006-10-06 Joel Brobecker <brobecker@adacore.com>
17057
17058 * gdb.ada/array_return/pck.ads: Add copyright notice.
17059 * gdb.ada/array_return/pck.adb: Likewise.
17060 * gdb.ada/array_return/p.adb: Likewise.
17061 * gdb.ada/exec_changed/first.adb: Likewise.
17062 * gdb.ada/exec_changed/second.adb: Likewise.
17063
09851417
JB
170642006-10-06 Joel Brobecker <brobecker@adacore.com>
17065
17066 * gdb.ada/watch_arg/watch.adb: New file.
17067 * gdb.ada/watch_arg.exp: New testcase.
17068
041bf30d
VP
170692006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17070
17071 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 17072 via string_to_regexp.
041bf30d 17073 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 17074
f286fbdd 170752006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
17076
17077 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17078 Remove unused / obsolete files.
17079
7c07f349
NR
170802006-09-19 Nick Roberts <nickrob@snap.net.nz>
17081
17082 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17083
cd5ff84a
VP
170842006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17085
17086 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17087 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 17088 the number of frames.
cd5ff84a 17089
ae018d1a
DJ
170902006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17091
17092 * gdb.base/args.c (main): Add breakpoint marker.
17093 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17094 really test empty arguments.
17095 (args_load): Delete.
17096 (args_test): New.
17097
b399c549
NR
170982006-09-13 Nick Roberts <nickrob@snap.net.nz>
17099
17100 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 17101 check for one file.
b399c549 17102
2ab1eb7a
VP
171032006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17104
17105 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17106 HIGH_FRAME argument to -stack-list-locals can be larger than
17107 the number of frames.
a9c64011 17108
476308bf
FF
171092006-08-18 Fred Fish <fnf@specifix.com>
17110
17111 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17112 '$' in front of skip_vmx_tests_saved when setting that.
17113
8625200f
AS
171142006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17115
17116 * gdb.base/trace-commands.exp: New file.
17117
089ec8f1
DJ
171182006-08-10 Joel Brobecker <brobecker@adacore.com>
17119 Daniel Jacobowitz <dan@codesourcery.com>
17120
17121 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17122 expected output of the backtrace commands.
17123
b60f0898
JB
171242006-08-09 Joel Brobecker <brobecker@adacore.com>
17125
17126 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17127 untested followed by return combination.
17128 * gdb.arch/altivec-regs.exp: Likewise.
17129 * gdb.arch/e500-abi.exp: Likewise.
17130 * gdb.arch/e500-regs.exp: Likewise.
17131 * gdb.arch/gdb1291.exp: Likewise.
17132 * gdb.arch/gdb1431.exp: Likewise.
17133 * gdb.arch/gdb1558.exp: Likewise.
17134 * gdb.arch/i386-prologue.exp: Likewise.
17135 * gdb.arch/i386-unwind.exp: Likewise.
17136 * gdb.asm/asm-source.exp: Likewise.
17137 * gdb.base/a2-run.exp: Likewise.
17138 * gdb.base/advance.exp: Likewise.
17139 * gdb.base/all-bin.exp: Likewise.
17140 * gdb.base/annota1.exp: Likewise.
17141 * gdb.base/annota3.exp: Likewise.
17142 * gdb.base/args.exp: Likewise.
17143 * gdb.base/arithmet.exp: Likewise.
17144 * gdb.base/assign.exp: Likewise.
17145 * gdb.base/async.exp: Likewise.
17146 * gdb.base/attach.exp: Likewise.
17147 * gdb.base/bang.exp: Likewise.
17148 * gdb.base/bigcore.exp: Likewise.
17149 * gdb.base/bitfields.exp: Likewise.
17150 * gdb.base/bitfields2.exp: Likewise.
17151 * gdb.base/break.exp: Likewise.
17152 * gdb.base/call-sc.exp: Likewise.
17153 * gdb.base/call-strs.exp: Likewise.
17154 * gdb.base/callfuncs.exp: Likewise.
17155 * gdb.base/checkpoint.exp: Likewise.
17156 * gdb.base/chng-syms.exp: Likewise.
17157 * gdb.base/code-expr.exp: Likewise.
17158 * gdb.base/commands.exp: Likewise.
17159 * gdb.base/completion.exp: Likewise.
17160 * gdb.base/cond-expr.exp: Likewise.
17161 * gdb.base/condbreak.exp: Likewise.
17162 * gdb.base/consecutive.exp: Likewise.
17163 * gdb.base/constvars.exp: Likewise.
17164 * gdb.base/corefile.exp: Likewise.
17165 * gdb.base/cvexpr.exp: Likewise.
17166 * gdb.base/dbx.exp: Likewise.
17167 * gdb.base/define.exp: Likewise.
17168 * gdb.base/detach.exp: Likewise.
17169 * gdb.base/display.exp: Likewise.
17170 * gdb.base/dump.exp: Likewise.
17171 * gdb.base/ena-dis-br.exp: Likewise.
17172 * gdb.base/ending-run.exp: Likewise.
17173 * gdb.base/environ.exp: Likewise.
17174 * gdb.base/eval-skip.exp: Likewise.
17175 * gdb.base/exprs.exp: Likewise.
17176 * gdb.base/fileio.exp: Likewise.
17177 * gdb.base/finish.exp: Likewise.
17178 * gdb.base/float.exp: Likewise.
17179 * gdb.base/foll-exec.exp: Likewise.
17180 * gdb.base/foll-fork.exp: Likewise.
17181 * gdb.base/foll-vfork.exp: Likewise.
17182 * gdb.base/freebpcmd.exp: Likewise.
17183 * gdb.base/funcargs.exp: Likewise.
17184 * gdb.base/gcore.exp: Likewise.
17185 * gdb.base/gdb1090.exp: Likewise.
17186 * gdb.base/gdb1250.exp: Likewise.
17187 * gdb.base/huge.exp: Likewise.
17188 * gdb.base/info-proc.exp: Likewise.
17189 * gdb.base/interrupt.exp: Likewise.
17190 * gdb.base/jump.exp: Likewise.
17191 * gdb.base/langs.exp: Likewise.
17192 * gdb.base/lineinc.exp: Likewise.
17193 * gdb.base/list.exp: Likewise.
17194 * gdb.base/logical.exp: Likewise.
17195 * gdb.base/long_long.exp: Likewise.
17196 * gdb.base/macscp.exp: Likewise.
17197 * gdb.base/maint.exp: Likewise.
17198 * gdb.base/mips_pro.exp: Likewise.
17199 * gdb.base/miscexprs.exp: Likewise.
17200 * gdb.base/multi-forks.exp: Likewise.
17201 * gdb.base/opaque.exp: Likewise.
17202 * gdb.base/overlays.exp: Likewise.
17203 * gdb.base/pc-fp.exp: Likewise.
17204 * gdb.base/pointers.exp: Likewise.
17205 * gdb.base/printcmds.exp: Likewise.
17206 * gdb.base/psymtab.exp: Likewise.
17207 * gdb.base/ptype.exp: Likewise.
17208 * gdb.base/recurse.exp: Likewise.
17209 * gdb.base/relational.exp: Likewise.
17210 * gdb.base/relocate.exp: Likewise.
17211 * gdb.base/remote.exp: Likewise.
17212 * gdb.base/reread.exp: Likewise.
17213 * gdb.base/restore.exp: Likewise.
17214 * gdb.base/return.exp: Likewise.
17215 * gdb.base/return2.exp: Likewise.
17216 * gdb.base/scope.exp: Likewise.
17217 * gdb.base/sect-cmd.exp: Likewise.
17218 * gdb.base/sep.exp: Likewise.
17219 * gdb.base/sepdebug.exp: Likewise.
17220 * gdb.base/setshow.exp: Likewise.
17221 * gdb.base/setvar.exp: Likewise.
17222 * gdb.base/sigall.exp: Likewise.
17223 * gdb.base/sigbpt.exp: Likewise.
17224 * gdb.base/signals.exp: Likewise.
17225 * gdb.base/signull.exp: Likewise.
17226 * gdb.base/sizeof.exp: Likewise.
17227 * gdb.base/solib.exp: Likewise.
17228 * gdb.base/step-line.exp: Likewise.
17229 * gdb.base/step-test.exp: Likewise.
17230 * gdb.base/structs.exp: Likewise.
17231 * gdb.base/structs2.exp: Likewise.
17232 * gdb.base/term.exp: Likewise.
17233 * gdb.base/twice.exp: Likewise.
17234 * gdb.base/until.exp: Likewise.
17235 * gdb.base/varargs.exp: Likewise.
17236 * gdb.base/volatile.exp: Likewise.
17237 * gdb.base/watchpoint.exp: Likewise.
17238 * gdb.base/whatis-exp.exp: Likewise.
17239 * gdb.base/whatis.exp: Likewise.
17240 * gdb.cp/ambiguous.exp: Likewise.
17241 * gdb.cp/annota2.exp: Likewise.
17242 * gdb.cp/annota3.exp: Likewise.
17243 * gdb.cp/bool.exp: Likewise.
17244 * gdb.cp/breakpoint.exp: Likewise.
17245 * gdb.cp/casts.exp: Likewise.
17246 * gdb.cp/class2.exp: Likewise.
17247 * gdb.cp/classes.exp: Likewise.
17248 * gdb.cp/cplusfuncs.exp: Likewise.
17249 * gdb.cp/ctti.exp: Likewise.
17250 * gdb.cp/derivation.exp: Likewise.
17251 * gdb.cp/exception.exp: Likewise.
17252 * gdb.cp/gdb1355.exp: Likewise.
17253 * gdb.cp/hang.exp: Likewise.
17254 * gdb.cp/inherit.exp: Likewise.
17255 * gdb.cp/local.exp: Likewise.
17256 * gdb.cp/m-data.exp: Likewise.
17257 * gdb.cp/m-static.exp: Likewise.
17258 * gdb.cp/member-ptr.exp: Likewise.
17259 * gdb.cp/method.exp: Likewise.
17260 * gdb.cp/misc.exp: Likewise.
17261 * gdb.cp/namespace.exp: Likewise.
17262 * gdb.cp/overload.exp: Likewise.
17263 * gdb.cp/ovldbreak.exp: Likewise.
17264 * gdb.cp/pr-1023.exp: Likewise.
17265 * gdb.cp/pr-1210.exp: Likewise.
17266 * gdb.cp/pr-574.exp: Likewise.
17267 * gdb.cp/printmethod.exp: Likewise.
17268 * gdb.cp/psmang.exp: Likewise.
17269 * gdb.cp/ref-params.exp: Likewise.
17270 * gdb.cp/ref-types.exp: Likewise.
17271 * gdb.cp/rtti.exp: Likewise.
17272 * gdb.cp/templates.exp: Likewise.
17273 * gdb.cp/try_catch.exp: Likewise.
17274 * gdb.cp/userdef.exp: Likewise.
17275 * gdb.cp/virtfunc.exp: Likewise.
17276 * gdb.disasm/am33.exp: Likewise.
17277 * gdb.disasm/h8300s.exp: Likewise.
17278 * gdb.disasm/mn10300.exp: Likewise.
17279 * gdb.disasm/sh3.exp: Likewise.
17280 * gdb.disasm/t01_mov.exp: Likewise.
17281 * gdb.disasm/t02_mova.exp: Likewise.
17282 * gdb.disasm/t03_add.exp: Likewise.
17283 * gdb.disasm/t04_sub.exp: Likewise.
17284 * gdb.disasm/t05_cmp.exp: Likewise.
17285 * gdb.disasm/t06_ari2.exp: Likewise.
17286 * gdb.disasm/t07_ari3.exp: Likewise.
17287 * gdb.disasm/t08_or.exp: Likewise.
17288 * gdb.disasm/t09_xor.exp: Likewise.
17289 * gdb.disasm/t10_and.exp: Likewise.
17290 * gdb.disasm/t11_logs.exp: Likewise.
17291 * gdb.disasm/t12_bit.exp: Likewise.
17292 * gdb.disasm/t13_otr.exp: Likewise.
17293 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
17294 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
17295 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17296 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
17297 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
17298 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17299 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17300 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17301 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
17302 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
17303 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17304 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17305 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17306 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17307 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17308 * gdb.mi/gdb701.exp: Likewise.
17309 * gdb.mi/gdb792.exp: Likewise.
17310 * gdb.mi/mi-basics.exp: Likewise.
17311 * gdb.mi/mi-break.exp: Likewise.
17312 * gdb.mi/mi-cli.exp: Likewise.
17313 * gdb.mi/mi-console.exp: Likewise.
17314 * gdb.mi/mi-disassemble.exp: Likewise.
17315 * gdb.mi/mi-eval.exp: Likewise.
17316 * gdb.mi/mi-file.exp: Likewise.
17317 * gdb.mi/mi-read-memory.exp: Likewise.
17318 * gdb.mi/mi-regs.exp: Likewise.
17319 * gdb.mi/mi-return.exp: Likewise.
17320 * gdb.mi/mi-simplerun.exp: Likewise.
17321 * gdb.mi/mi-stack.exp: Likewise.
17322 * gdb.mi/mi-stepi.exp: Likewise.
17323 * gdb.mi/mi-syn-frame.exp: Likewise.
17324 * gdb.mi/mi-until.exp: Likewise.
17325 * gdb.mi/mi-var-block.exp: Likewise.
17326 * gdb.mi/mi-var-child.exp: Likewise.
17327 * gdb.mi/mi-var-cmd.exp: Likewise.
17328 * gdb.mi/mi-var-display.exp: Likewise.
17329 * gdb.mi/mi-watch.exp: Likewise.
17330 * gdb.mi/mi2-basics.exp: Likewise.
17331 * gdb.mi/mi2-break.exp: Likewise.
17332 * gdb.mi/mi2-cli.exp: Likewise.
17333 * gdb.mi/mi2-console.exp: Likewise.
17334 * gdb.mi/mi2-disassemble.exp: Likewise.
17335 * gdb.mi/mi2-eval.exp: Likewise.
17336 * gdb.mi/mi2-file.exp: Likewise.
17337 * gdb.mi/mi2-read-memory.exp: Likewise.
17338 * gdb.mi/mi2-regs.exp: Likewise.
17339 * gdb.mi/mi2-return.exp: Likewise.
17340 * gdb.mi/mi2-simplerun.exp: Likewise.
17341 * gdb.mi/mi2-stack.exp: Likewise.
17342 * gdb.mi/mi2-stepi.exp: Likewise.
17343 * gdb.mi/mi2-syn-frame.exp: Likewise.
17344 * gdb.mi/mi2-until.exp: Likewise.
17345 * gdb.mi/mi2-var-block.exp: Likewise.
17346 * gdb.mi/mi2-var-child.exp: Likewise.
17347 * gdb.mi/mi2-var-cmd.exp: Likewise.
17348 * gdb.mi/mi2-var-display.exp: Likewise.
17349 * gdb.mi/mi2-watch.exp: Likewise.
17350 * gdb.stabs/exclfwd.exp: Likewise.
17351 * gdb.stabs/weird.exp: Likewise.
17352 * gdb.threads/gcore-thread.exp: Likewise.
17353 * gdb.trace/actions.exp: Likewise.
17354 * gdb.trace/backtrace.exp: Likewise.
17355 * gdb.trace/circ.exp: Likewise.
17356 * gdb.trace/collection.exp: Likewise.
17357 * gdb.trace/deltrace.exp: Likewise.
17358 * gdb.trace/infotrace.exp: Likewise.
17359 * gdb.trace/limits.exp: Likewise.
17360 * gdb.trace/packetlen.exp: Likewise.
17361 * gdb.trace/passc-dyn.exp: Likewise.
17362 * gdb.trace/passcount.exp: Likewise.
17363 * gdb.trace/report.exp: Likewise.
17364 * gdb.trace/save-trace.exp: Likewise.
17365 * gdb.trace/tfind.exp: Likewise.
17366 * gdb.trace/tracecmd.exp: Likewise.
17367 * gdb.trace/while-dyn.exp: Likewise.
17368 * gdb.trace/while-stepping.exp: Likewise.
17369
f4b618d1
JB
173702006-08-08 Joel Brobecker <brobecker@adacore.com>
17371
17372 * gdb.base/step-bt.c: New file.
17373 * gdb.base/step-bt.exp: New testcase.
17374
3d00d119
DJ
173752006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
17376
17377 * config/monitor.exp (gdb_load): Remove support for obsolete
17378 download-write-size.
17379 * gdb.base/remote.exp: Likewise. Update all callers of
17380 gdb_timed_load.
17381
017b5bd4
DJ
173822006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
17383
17384 * cursal.exp: Pass binfile to gdb_load.
17385
837c599d
DJ
173862006-08-01 Nathan Sidwell <nathan@codesourcery.com>
17387
17388 * gdb.base/cursal.exp: Add "" to gdb_load call.
17389
8dd4540b
MK
173902006-07-29 Mark Kettenis <kettenis@gnu.org>
17391
17392 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
17393 NetBSD/ELF targets.
17394
ab5c9f60
DJ
173952006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
17396
17397 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
17398 operator*.
17399
4c42eaff
DJ
174002006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
17401
17402 * gdb.base/completion.exp: Update for change in "file" behavior.
17403 * gdb.stabs/weird.exp: Likewise.
17404 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
17405 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
17406
0155cc76
NS
174072006-07-24 Nathan Sidwell <nathan@codesourcery.com>
17408
17409 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
17410 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
17411
16026cd7
AS
174122006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
17413
17414 * gdb.base/default.exp: Update source command error message.
17415 * gdb.base/help.exp: Update 'help source' message.
17416
16963cb6
DJ
174172006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
17418
17419 * gdb.cp/bs15503.exp: Update comment for no longer crashing
17420 test.
17421
6d7fd486
AS
174222006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
17423
17424 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
17425
29e8a844
DJ
174262006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
17427
17428 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
17429
6afcfa39
DJ
174302006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
17431
17432 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
17433
267a692b
MK
174342006-07-17 Mark Kettenis <kettenis@gnu.org>
17435
17436 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
17437 *-*-openbsd* from targets for wich we expect ARM FPA floating
17438 point format.
17439
85d2fec4
NR
174402006-07-17 Nick Roberts <nickrob@snap.net.nz>
17441
17442 * gdb.cp/annota3.exp: Expect frame-begin annotation.
17443
174442006-07-17 Mark Kettenis <kettenis@gnu.org>
17445
17446 * gdb.base/annota3.exp: Expect frame-begin annotation.
17447
85b4c6e8
JB
174482006-07-14 Joel Brobecker <brobecker@adacore.com>
17449
17450 * gdb.base/help.exp: Adjust "help unset" test to accept
17451 any list of unset commands.
17452
fb933624
DJ
174532006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
17454 Daniel Jacobowitz <dan@codesourcery.com>
17455
17456 * gdb.cp/ref-params.exp: New test.
17457 * gdb.cp/ref-params.cc: New source file.
17458 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
17459
1dff4b64
MK
174602006-07-08 Mark Kettenis <kettenis@gnu.org>
17461
17462 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
17463 spaces/tabs in regular expressions since they might not be there.
17464
40d2e0e3
AS
174652006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
17466
17467 * gdb.base/ifelse.exp: New file.
17468
f6c957d2
NS
174692006-07-04 Nathan Sidwell <nathan@codesourcery.com>
17470
17471 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
17472 line.
17473 * gdb.base/huge.exp: Loop over compilation to find a size that
17474 is acceptable.
17475 * gdb.base/remote.exp: Correct expected strings.
17476 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
17477
b9c5a23d
DJ
174782006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17479
17480 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
17481
9af2e58d
DJ
174822006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17483
17484 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
17485 native.
17486
30930ca5
DJ
174872006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17488
17489 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
17490 enable stabs testing.
17491
aa32fa1d
DJ
174922006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17493
bd4a4c80 17494 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
17495 gdb_test_multiple does.
17496
321fef15
DJ
174972006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17498
17499 * Makefile.in (host_alias): Remove.
17500 (target_alias): Use @target_noncanonical@.
17501 (site.exp): Don't set host_alias.
17502 * aclocal.m4: Remove contents. Include acx.m4.
17503 * configure: Regenerated.
17504 * configure.ac: Use ACX_NONCANONICAL_TARGET.
17505
e1c2defa
NS
175062006-06-13 Nathan Sidwell <nathan@codesourcery.com>
17507
e63b55d1
NS
17508 * lib/gdb.exp (gdb_load_cmd): New.
17509
5600ea19
NS
17510 * gdb.base/fileio.c: Add system(NULL) test.
17511 * gdb.base/fileio.exp: Check it.
17512
e1c2defa
NS
17513 * gdb.base/break.c: Add 10a breakpoint at }
17514 * gdb.base/break.exp: Add test for breakpoint at }
17515 * gdb.cp/anon-union.cc: Add code at end of function.
17516 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
17517 * gdb.mi/var-cmd.c: Add code at end of function.
17518 * gdb.mi/mi-var-display.exp: Adjust end of next.
17519 * gdb.mi/mi2-var-display.exp: Likewise.
17520 * gdb.base/fileio.c: Add stop function and insert calls at
17521 stopping places.
17522 * gdb.base/fileio.exp: Breakpoint stop function and remove
17523 explicit line number references.
17524
6c0112ec
JB
175252006-05-19 Joel Brobecker <brobecker@adacore.com>
17526
a9c64011
AS
17527 * gdb.base/del.exp (test_delete_alias): New function.
17528 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 17529
154189a4
FF
175302006-05-18 Fred Fish <fnf@specifix.com>
17531
17532 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17533 required. Check for spurious output after program exits normally.
17534
582e64c2
FF
175352006-05-17 Fred Fish <fnf@specifix.com>
17536
17537 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17538 gdb_load, so it works in the simulator.
17539
8ef6493a
FF
175402006-05-11 Fred Fish <fnf@specifix.com>
17541
17542 * gdb.base/bang.exp: Ignore unexpected output between the
17543 "program exited normally" and the gdb prompt, as many other
17544 tests do.
17545
692b141c
MK
175462006-05-07 Mark Kettenis <kettenis@gnu.org>
17547
17548 * gdb.base/help.exp: Make "delete checkpoint" part option for
17549 "help d" and "help delete" tests.
17550
540b8a30
UW
175512006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17552
a9c64011 17553 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
17554 expected output in some mi_gdb_test statements.
17555 * gdb.mi/mi2-basics.exp: Likewise.
17556
9b6462d9
JB
175572006-05-05 Joel Brobecker <brobecker@adacore.com>
17558
17559 * gdb.base/del.c: New file.
17560 * gdb.base/del.exp: New testcase.
17561
954de43b
DM
175622006-05-05 David S. Miller <davem@sunset.davemloft.net>
17563
17564 * gdb.base/break.exp: Do not assume a breakpoint on
17565 main will actually be in $srcfile when optimizing.
1303f75e
DM
17566 * gdb.base/savedregs.exp: Do not require that the dummy
17567 frame location match up to a symbol and source file location.
c3242428
DM
17568 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17569 will get printed without a mi_cmd_data_list_register_values prefix.
17570 (*-data-list-register-*): Correct regular expressions to expect the new
17571 pseudo d? floating point registers.
17572 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 17573
c7e64c9a
DJ
175742006-05-05 Christophe Lyon <christophe.lyon@st.com>
17575
17576 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17577 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17578 is allocated by the compiler.
17579 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17580 anons, e, anone to force their allocation by the compiler.
17581
175822006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
17583
17584 * gdb.base/help.exp: Update expected text for help d and
17585 help delete.
17586
27ce9a6d
MK
175872006-05-02 Mark Kettenis <kettenis@gnu.org>
17588
17589 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17590 NetBSD/ELF targets.
17591
8608915f
MK
175922006-04-30 Mark Kettenis <kettenis@gnu.org>
17593
17594 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17595 single-step breakpoint fails; make this a KFAIL on
17596 sparc*-*-openbsd*.
17597 * gdb.base/siginfo.exp: Likewise.
17598 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17599
b8db102d
MS
176002006-04-26 Michael Snyder <msnyder@redhat.com>
17601
17602 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17603 which may have to consume output from other forks.
17604 Add tests to make sure that "delete fork" succeeded.
17605
c702009a
MS
176062006-04-20 Michael Snyder <msnyder@redhat.com>
17607
17608 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17609 Add support for the Renesas M32C and M16C.
17610
17611 * gdb.asm/asm-source.exp: Add m32c target.
17612 * gdb.asm/m32c.inc: Support for m32c target.
17613
e28493f2
AS
176142006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17615
17616 * gdb.base/commands.exp (recursive_source_test): New test.
17617
880da185
DM
176182006-04-04 David S. Miller <davem@sunset.davemloft.net>
17619
17620 * gdb.base/float.exp: Add pattern for sparc targets.
17621
61d9b92f
DJ
176222006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17623
17624 * gdb.base/commands.exp (stray_arg0_test): New test.
17625
bd717df8
PB
176262006-03-30 Paul Brook <paul@codesourcery.com>
17627
17628 * gdb.mi/mi-until.exp: kfail broken until command.
17629 * gdb.mi/mi2-until.exp: Ditto.
17630
ec793d3c
NR
176312006-03-27 Nick Roberts <nickrob@snap.net.nz>
17632
17633 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17634
831004b7
AO
176352006-03-08 Alexandre Oliva <aoliva@redhat.com>
17636
17637 * gdb.base/prelink.exp: Anchor tested-for regular expression
17638 on gdb prompt.
17639
effe49a0
PB
176402006-03-07 Paul Brook <paul@codesourcery.com>
17641
17642 * gdb.base/assign.exp: Correct fail message.
17643
e5461016
PB
176442006-03-07 Paul Brook <paul@codesourcery.com>
17645
17646 * lib/compiler.c: Extract armcc version number.
17647 * lib/compiler.cc: Ditto.
17648
fc91c6c2
PB
176492006-03-07 Paul Brook <paul@codesourcery.com>
17650
17651 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17652 additional_flags=-w.
17653 * gdb.arch/altivec-regs.exp: Ditto.
17654 * gdb.arch/e500-abi.exp: Ditto.
17655 * gdb.arch/e500-regs.exp: Ditto.
17656 * gdb.base/all-bin.exp: Ditto.
17657 * gdb.base/annota1.exp: Ditto.
17658 * gdb.base/annota3.exp: Ditto.
17659 * gdb.base/args.exp: Ditto.
17660 * gdb.base/arithmet.exp: Ditto.
17661 * gdb.base/assign.exp: Ditto.
17662 * gdb.base/async.exp: Ditto.
17663 * gdb.base/bang.exp: Ditto.
17664 * gdb.base/break.exp: Ditto.
17665 * gdb.base/call-rt-st.exp: Ditto.
17666 * gdb.base/completion.exp: Ditto.
17667 * gdb.base/cond-expr.exp: Ditto.
17668 * gdb.base/condbreak.exp: Ditto.
17669 * gdb.base/consecutive.exp: Ditto.
17670 * gdb.base/define.exp: Ditto.
17671 * gdb.base/display.exp: Ditto.
17672 * gdb.base/ena-dis-br.exp: Ditto.
17673 * gdb.base/environ.exp: Ditto.
17674 * gdb.base/eval-skip.exp: Ditto.
17675 * gdb.base/info-proc.exp: Ditto.
17676 * gdb.base/jump.exp: Ditto.
17677 * gdb.base/logical.exp: Ditto.
17678 * gdb.base/long_long.exp: Ditto.
17679 * gdb.base/maint.exp: Ditto.
17680 * gdb.base/miscexprs.exp: Ditto.
17681 * gdb.base/pc-fp.exp: Ditto.
17682 * gdb.base/pointers.exp: Ditto.
17683 * gdb.base/relational.exp: Ditto.
17684 * gdb.base/reread.exp: Ditto.
17685 * gdb.base/sect-cmd.exp: Ditto.
17686 * gdb.base/sep.exp: Ditto.
17687 * gdb.base/sepdebug.exp: Ditto.
17688 * gdb.base/until.exp: Ditto.
17689 * gdb.base/whatis-exp.exp: Ditto.
17690 * gdb.cp/annota2.exp: Ditto.
17691 * gdb.cp/annota3.exp: Ditto.
17692 * gdb.trace/actions.exp: Ditto.
17693 * gdb.trace/backtrace.exp: Ditto.
17694 * gdb.trace/circ.exp: Ditto.
17695 * gdb.trace/collection.exp: Ditto.
17696 * gdb.trace/deltrace.exp: Ditto.
17697 * gdb.trace/infotrace.exp: Ditto.
17698 * gdb.trace/limits.exp: Ditto.
17699 * gdb.trace/packetlen.exp: Ditto.
17700 * gdb.trace/passc-dyn.exp: Ditto.
17701 * gdb.trace/passcount.exp: Ditto.
17702 * gdb.trace/report.exp: Ditto.
17703 * gdb.trace/save-trace.exp: Ditto.
17704 * gdb.trace/tfind.exp: Ditto.
17705 * gdb.trace/tracecmd.exp: Ditto.
17706 * gdb.trace/while-dyn.exp: Ditto.
17707 * gdb.trace/while-stepping.exp: Ditto.
17708 * lib/gdb.exp: Ditto.
17709 (gdb_compile): Handle nowarning option.
17710
5f4a23d9
AO
177112006-03-07 Alexandre Oliva <aoliva@redhat.com>
17712
17713 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17714 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
17715 Rename executable to prelinkt. Don't re-prelink if we didn't
17716 get a core file. Test prelink -u exit status to tell whether
17717 prelinking failed. Use gdb_test_multiple.
17718
9733fc94
DJ
177192006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
17720
17721 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17722 (do_tests): Call it.
17723
cc10cae3
AO
177242006-02-28 Alexandre Oliva <aoliva@redhat.com>
17725
17726 * gdb.base/prelink.exp: New test.
17727 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17728
15c46491
WZ
177292006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
17730
17731 * gdb.fortran/derived-type.f90: New file.
17732 * gdb.fortran/derived-type.exp: New testcase.
17733
5c9f7ded
DJ
177342006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
17735
17736 * gdb.base/default.exp: Allow ';' as a directory separator.
17737
5b96932b
AS
177382006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17739
17740 * gdb.base/help.exp (help add-symbol-file): Update.
17741
1986bccd
AS
177422006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17743
17744 * gdb.base/help.exp (help load): Update expected results.
17745
a8b7528f
FF
177462006-02-19 Fred Fish <fnf@specifix.com>
17747
17748 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17749 specifix hex value as part of results.
17750 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 17751
f8261448
FF
177522006-02-16 Fred Fish <fnf@specifix.com>
17753
17754 * gdb.base/whatis.c: Define variables using typedefs char_addr,
17755 ushort_addr, and slong_addr, so the typedefs are not optimized
17756 away.
17757 * gdb.base/whatis.exp: Add tests using type name for struct type,
17758 union type, enum type, and typedef.
a9c64011 17759
31d8bdd2
MK
177602006-02-13 Mark Kettenis <kettenis@gnu.org>
17761
17762 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17763
34e41e63
JB
177642006-02-13 Jim Blandy <jimb@redhat.com>
17765
17766 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17767 case where it takes two "next" commands to skip past the init
17768 call.
17769
ac6e4f31
FF
177702006-02-12 Fred Fish <fnf@specifix.com>
17771
17772 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17773 to handle cases where it takes two "next" commands to skip
17774 past the init call.
17775
2db2d571
JB
177762006-02-07 Joel Brobecker <brobecker@adacore.com>
17777
17778 * gdb.ada/array_return.exp: Mark the last test as expected to fail
17779 on hppa32 targets.
17780
38fcd64c
DJ
177812006-02-06 Vladimir Prus <ghost@cs.msu.su>
17782
17783 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17784 field.
17785
1315ad46
MK
177862006-01-29 Mark Kettenis <kettenis@gnu.org>
17787
17788 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17789
5625b943
DJ
177902006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17791
17792 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17793 files.
17794
80df1bbe
DJ
177952006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17796
17797 * gdb.cp/maint.exp: Set complaints to a positive value.
17798
9078e690
DJ
177992006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17800
17801 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
17802 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
17803 function name.
17804
9c903399
DJ
178052006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17806
17807 * gdb.base/checkpoint.c: Update copyright notice. Include
17808 <stdlib.h>.
17809
761ae4d6
JB
178102006-01-04 Jim Blandy <jimb@redhat.com>
17811
17812 * gdb.asm/asm-source.exp: Independently provide default values for
17813 asm-flags and debug-flags. Use 'string equal' to do the
17814 comparison, not the implicit expr's '==' operator. Remove
17815 now-unneeded assignments to asm-flags. In h8300 case, place
17816 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17817
099ac3dd
MS
178182006-01-04 Michael Snyder <msnyder@redhat.com>
17819
17820 * gdb.base/checkpoint.c: New file.
17821 * gdb.base/checkpoint.exp: New file.
17822 * gdb.base/multi-fork.c: New file.
17823 * gdb.base/multi-fork.exp: New file.
17824 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17825
f4d85314
FF
178262006-01-04 Fred Fish <fnf@specifix.com>
17827
17828 * gdb.base/ptype.c (foo): Add typedef.
17829 (intfoo): Add function.
17830 * gdb.base/ptype1.c: New file.
17831 * gdb.base/ptype.exp: Handle compilation and linking with two
17832 source files. Test that proper type for "foo" is found based
17833 on source context rather than first match found in symtabs.
17834
a1b06f35
MK
178352005-12-28 Mark Kettenis <kettenis@gnu.org>
17836
17837 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17838 * gdb.asm/openbsd.inc: Indent commands.
17839
d082a1e2
MK
178402005-12-26 Mark Kettenis <kettenis@gnu.org>
17841
c65016bd
MK
17842 * gdb.base/freebpcmd.exp: Increase timeout.
17843
d082a1e2
MK
17844 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17845
d3c32a0e
DJ
178462005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17847
17848 * gdb.base/default.exp: Update check for "show version".
17849
9fdb1f50
RC
178502005-12-09 Randolph Chung <tausq@debian.org>
17851
17852 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17853 * gdb.asm/pa64.inc: New file.
17854
5f2c56f7
RC
178552005-12-09 Randolph Chung <tausq@debian.org>
17856
17857 * gdb.asm/common.inc: Indent commands.
17858 * gdb.asm/asmsrc1.s: Likewise.
17859 * gdb.asm/asmsrc2.s: Likewise.
17860
8117349c
RC
178612005-12-09 Randolph Chung <tausq@debian.org>
17862
17863 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17864 (get_addr_of_sym): Remove duplicate print.
17865 (gen_core): xfail hppa*-*-hpux*, update expected output.
17866 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17867 * gdb.arch/pa64-nullify.s: New file.
17868
8f07f25a
RC
178692005-12-09 Randolph Chung <tausq@debian.org>
17870
17871 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17872
55b39184
DJ
178732005-12-07 Christophe Lyon <christophe.lyon@st.com>
17874
17875 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17876 code generation for these functions.
17877 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17878 error message.
17879
31e2b00f
AS
178802005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17881
17882 * gdb.base/help.exp (help b, help br, help bre, help brea)
17883 (help break): Update the expected message.
17884
c3d0b56e
SC
178852005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17886
17887 * gdb.asm/m68hc11.inc: Setup the data section.
17888 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17889 script for this test.
17890 (m6812-*-*): Likewise.
17891
36ae0ea9
RC
178922005-11-09 Randolph Chung <tausq@debian.org>
17893
17894 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17895
9d6f42e9
WZ
178962005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17897
17898 * gdb.base/break.exp: Fix a comment typo.
17899
e2126a14
EZ
179002005-11-03 Jim Blandy <jimb@redhat.com>
17901
a9c64011
AS
17902 Checked in by Elena Zannoni <ezannoni@redhat.com>
17903
889bf7c5 17904 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 17905
e0ac7199
CV
179062005-11-02 Corinna Vinschen <vinschen@redhat.com>
17907
17908 * gdb.arch/gdb1558.c: Include stdio.h.
17909
31d3fb18
MK
179102005-10-31 Mark Kettenis <kettenis@gnu.org>
17911
17912 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17913
e52b687c
MK
179142005-10-31 Mark Kettenis <kettenis@gnu.org>
17915
17916 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17917
f4711d79
PG
179182005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17919
a9c64011
AS
17920 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17921 vscr" tests to better match output.
f4711d79 17922
987a9106
JB
179232005-10-12 Jim Blandy <jimb@redhat.com>
17924
17925 * gdb.base/structs.exp (any): New function.
17926 (test_struct_returns): Don't make any assumptions at all about
17927 what value the function returns when GDB can't set the return
17928 value.
17929
2336bb58
JB
179302005-10-09 Joel Brobecker <brobecker@adacore.com>
17931
17932 * gdb.ada/arrayidx/p.adb: New file.
17933 * gdb.ada/arrayidx.exp: New testcase
17934
179352005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
17936
17937 * gdb.ada/array_return/pck.ads: New file.
17938 * gdb.ada/array_return/pck.adb: New file.
17939 * gdb.ada/array_return/p.adb: New file.
17940 * gdb.ada/array_return.exp: New testcase.
17941
705335ea
JB
179422005-10-03 Joel Brobecker <brobecker@adacore.com>
17943
a9c64011
AS
17944 * gdb.base/arrayidx.c: New file.
17945 * gdb.base/arrayidx.exp: New testcase.
705335ea 17946
11ee9940
NR
179472005-09-29 Nick Roberts <nickrob@snap.net.nz>
17948
17949 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17950 frames-invalid and breakpoints-invalid are no longer generated
17951 with level 3 so don't expect them in the output.
17952
39fb8e9e
BR
179532005-09-27 Bob Rossi <bob@brasko.net>
17954
a9c64011 17955 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
17956 from test. Escape the | in mi_gdb_test call.
17957 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17958 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17959 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
17960 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
17961 expected regex's in mi_gdb_test calls.
17962 * lib/mi-support.exp: Remove arbitrary .* from tests.
17963 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
17964 Fully anchor GDB/MI expected results in mi_gdb_test.
17965 * lib/gdb.exp (string_to_regexp): Escape the ] character.
17966 * gdb.base/sizeof.exp: Remove escape character. Correct test.
17967
2af48f68
PB
179682005-09-26 Paul Brook <paul@codesourcery.com>
17969
17970 * long_long.exp: Exclude eabi targets from arm FPA float format test.
17971
f34502bc
WZ
179722005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17973
17974 * bfp-test.c: New file.
17975 * bfp-test.exp: New testcase.
17976
ca929517
WZ
179772005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17978
17979 * gdb.fortran/subarray.exp: New testcase to test the evaluation
17980 of subarray and substring variable.
17981 * gdb.fortran/subarray.f: New source file for the test of subarray
17982 and substring variable evaluation.
17983 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17984 of string constant.
17985
c761af65
DJ
179862005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
17987
17988 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
17989 copyright dates.
17990
561d7a1d
PG
179912005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
17992
17993 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
17994 powerpc altivec' test with an almost identical 'info vector' test.
17995
b2b64cc9
PG
179962005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17997
a9c64011
AS
17998 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17999 vscr" tests to match output.
b2b64cc9 18000
6ac4d15a
PG
180012005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18002
a9c64011
AS
18003 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18004 output.
6ac4d15a 18005
40e55bef
BR
180062005-09-11 Bob Rossi <bob@brasko.net>
18007
889bf7c5
PA
18008 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18009 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18010 commands that return an MI output command and an asyncronous MI output
18011 command.
40e55bef
BR
18012 * gdb.mi/mi-console.exp: Ditto.
18013
3c7385ec
BR
180142005-09-11 Bob Rossi <bob@brasko.net>
18015
18016 * gdb.mi/mi-var-child.c: Include <string.h>.
18017
a6cd0eb3
DJ
180182005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18019
18020 * killed.exp: Correct gdb_expect syntax.
18021
2f168eed
CV
180222005-08-09 Corinna Vinschen <vinschen@redhat.com>
18023
18024 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18025
ecd3fd0f
BR
180262005-08-02 Bob Rossi <bob@brasko.net>
18027
18028 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18029 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18030 Change tests to inferior-tty-set/show.
18031 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18032 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18033 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18034 inferior. Use mi_gdb_test to get GDB and Inferior output.
18035 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18036 descriptor.
18037 (mi_inferior_tty_name): Add inferior PTY file name.
18038 (mi_gdb_start): Add INFERIOR_PTY parameter.
18039 (mi_gdb_test): Add IPATTERN parameter.
18040
f1ea48cb 180412005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 18042
f1ea48cb
BR
18043 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18044 parameter to mi_gdb_test.
18045 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18046
6e650a67
DJ
180472005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18048
18049 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18050 struct_declarations.
18051 * gdb.mi/mi-var-child.exp: Step over the initialization of
18052 struct_declarations.
18053
8be260b6
DJ
180542005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18055
18056 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18057 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18058 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18059 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18060 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18061 file.
18062
4e660f07
NR
180632005-07-27 Nick Roberts <nickrob@snap.net.nz>
18064
18065 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18066 (do_children_tests): Assign values to the extra elements.
18067
18068 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18069 them for tests for "-var-update --no-values" and
a9c64011 18070 "-var-update --all-values".
4e660f07
NR
18071 Add test for "-var-list-children --simple-values".
18072
18073 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18074
18075 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18076 "-stack-list-locals --simple-values" Improve doc strings and
18077 comments.
18078
6bdae935
MK
180792005-07-18 Mark Kettenis <kettenis@gnu.org>
18080
598b7a6f
MK
18081 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18082 *-*-openbsd*.
18083 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18084
6bdae935
MK
18085 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18086 sigaltsatck'.
18087
1323e929 180882005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 18089
1323e929
BR
18090 * gdb.base/default.exp (tty): Changed output of command.
18091 * gdb.base/help.exp (help tty): Ditto.
18092
b1a9c082
MK
180932005-07-12 Mark Kettenis <kettenis@gnu.org>
18094
18095 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18096
10a844a2
MK
180972005-07-10 Mark Kettenis <kettenis@gnu.org>
18098
18099 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18100 -stack-select-frame without arguments.
18101 (test_stack_frame_listing): Add test for newly implemented command
18102 -stack-info-frame.
18103
3cb3b8df
BR
181042005-07-06 Bob Rossi <bob@brasko.net>
18105
18106 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18107 command.
18108 (Copyright): Update copyright.
18109
a0c5fbcf
WZ
181102005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18111
18112 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18113 tests to evaluate exponentiation expression.
18114
984971d0
AS
181152005-06-29 Andreas Schwab <schwab@suse.de>
18116
18117 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18118 main to avoid warnings.
18119
18120 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18121
fe03833f
NR
181222005-06-20 Nick Roberts <nickrob@snap.net.nz>
18123
18124 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18125 -stack-select-frame without arguments.
18126 (test_stack_frame_listing): Add test for newly implemented command
18127 -stack-info-frame.
a9c64011 18128
7a55f279
WZ
181292005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18130
0ffa0ea5
DJ
18131 * gdb.fortran/array-element.f: New file.
18132 * gdb.fortran/array-element.exp: New testcase.
7a55f279 18133
26585198
DJ
181342005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18135
18136 * gdb.base/bigcore.exp: Correct checks for systems which can
18137 not dump a large core file.
18138
c1bd25fd
DJ
181392005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18140
18141 * gdb.base/relocate.c: Add a copyright notice.
18142 (dummy): Remove.
18143 * gdb.base/relocate.exp: Test printing the values of variables
18144 from a relocatable file.
18145
589e074d
DJ
181462005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18147
18148 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18149 excess MI output after an error.
18150
0915f927
JB
181512005-05-29 Joel Brobecker <brobecker@adacore.com>
18152
18153 * gdb.arch/alpha-step.c: New file.
18154 * gdb.arch/alpha-step.exp: New testcase.
18155
76ff342d
DJ
181562005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18157 Dennis Brueni <dennis@slickedit.com>
18158
18159 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18160 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18161 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18162 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18163 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18164 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18165 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18166
96b0c7ac
DJ
181672005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18168 Wu Zhou <woodzltc@cn.ibm.com>
18169
18170 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18171 IBM's xlc compiler.
18172 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18173 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18174
f21565d2
JB
181752005-05-13 Jim Blandy <jimb@redhat.com>
18176
18177 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18178 calling gdb_suppress_entire_file.
18179 * gdb.base/charset.exp: Same.
18180 * gdb.base/call-rt-st.exp: Same.
18181
6006a3a1
BR
181822005-05-05 Bob Rossi <bob_rossi@cox.net>
18183
18184 * lib/gdb.exp (fullname_syntax): Added global regex.
18185 (fullname_syntax_POSIX): Ditto.
18186 (fullname_syntax_UNC): Ditto.
18187 (fullname_syntax_DOS_CASE): Ditto.
18188 (fullname_syntax_DOS): Ditto.
18189 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18190 fullname_syntax variable to scope and use it.
18191 (test_file_list_exec_source_files): Ditto.
18192 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18193
c3b69c04
DJ
181942005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
18195
18196 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18197
3c95e6af
PG
181982004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
18199
a9c64011
AS
18200 * lib/gdb.exp (skip_altivec_tests): New function, based on
18201 check_vmx_hw_available from the GCC testsuite.
18202 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18203 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 18204
78df6c56
JB
182052005-05-02 Jim Blandy <jimb@redhat.com>
18206
18207 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18208 calling gdb_suppress_entire_file.
18209
1690f9cf
DJ
182102005-04-30 Randolph Chung <tausq@debian.org>
18211
18212 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18213 Slightly relax "sem_post" name checking.
18214
5ea106f7
PG
182152005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18216
18217 * gdb.base/unload.exp: Use new shared library infrastructure.
18218
bf7234cf
PG
182192005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18220
18221 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 18222 infrastructure.
bf7234cf 18223
547b869a
CV
182242005-04-29 Corinna Vinschen <vinschen@redhat.com>
18225
18226 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
18227 * gdb.asm/h8300.inc: New file.
18228
f07e55f0
PG
182292005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18230
18231 * gdb.base/shlib-call.exp: Change to use new shared library
18232 infrastructure.
18233
3cbba3d1
PG
182342005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18235
a9c64011
AS
18236 * gdb.base/pending.exp: Change to use new shared library
18237 infrastructure.
3cbba3d1 18238
ed6df200
PG
182392005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18240
a9c64011
AS
18241 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
18242 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 18243
8c8f4ebe
PG
182442005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
18245
a9c64011
AS
18246 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
18247 shared objects being adjusted and update copyright years.
8c8f4ebe 18248
607fbc54
DJ
182492005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
18250
18251 * ChangeLog: Correct some 2003-01-13 dates.
18252 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
18253 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
18254 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
18255 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
18256 gdb.trace/tfind.exp: Update copyright years.
18257
57bf0e56
DJ
182582005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
18259 Daniel Jacobowitz <dan@codesourcery.com>
18260
18261 * lib/gdb.exp (gdb_compile): Handle shlib=.
18262 (gdb_compile_shlib): New function.
18263
9b593790
PG
182642005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
18265
a9c64011 18266 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 18267
9494c6a5
DJ
182682005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18269
18270 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
18271 gdb.server.
18272 * configure.ac: Likewise.
18273 * configure: Regenerated.
18274 * gdb.gdbserver/Makefile.in: Moved to...
18275 * gdb.server/Makefile.in: ... here.
18276 * gdb.gdbserver/server.c: Moved to...
18277 * gdb.server/server.c: ... here.
18278 * gdb.gdbserver/server-run.exp: Moved to...
18279 * gdb.server/server-run.exp: ... here.
18280
6f8eac0e
DJ
182812005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18282
18283 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
18284 * configure.ac: Create gdb.gdbserver/Makefile.
18285 * configure: Regenerated.
18286 * lib/gdbserver-support.exp: New file, derived from
18287 config/gdbserver.exp.
18288 * config/gdbserver.exp: Use gdbserver-support.exp.
18289 * gdb.gdbserver/Makefile.in: New file.
18290 * gdb.gdbserver/server.c: New file.
18291 * gdb.gdbserver/server-run.exp: New file.
18292
6e87504d
PG
182932005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
18294
a9c64011
AS
18295 * lib/gdb.exp (test_compiler_info): Return compiler_info
18296 if no arguments are given.
6e87504d 18297
d1779be4
PG
182982005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
18299
18300 * gdb.arch/altivec-abi.exp: Check for compiler and set
18301 use altivec' flag accordingly.
18302 * gdb.arch/altivec-regs.exp: Likewise.
18303
88750304
DJ
183042005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
18305
18306 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
18307
f3fb768d
AS
183082005-03-27 Andreas Schwab <schwab@suse.de>
18309
18310 * gdb.base/bigcore.c (main): Add missing mode argument in open
18311 call.
18312
7e813ac5
DJ
183132005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
18314
18315 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
18316 downloads.
18317 * config/gdbserver.exp (gdb_load): Likewise.
18318
8e3049aa
PB
183192005-03-14 Paul Brook <paul@codesourcery.com>
18320
18321 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
18322 targets.
18323
a9df7c44
JB
183242005-03-09 Joel Brobecker <brobecker@adacore.com>
18325
18326 * gdb.dwarf2/dup-psym.S: New file.
18327 * gdb.dwarf2/dup-psym.exp: New testcase.
18328
9f0d94e8
JB
183292005-03-09 Joel Brobecker <brobecker@adacore.com>
18330
18331 * gdb.ada/exec_changed/first.adb: New file.
18332 * gdb.ada/exec_changed/second.adb: New file.
18333 * gdb.ada/exec_changed.exp: New testcase.
18334
5f579bc5
NS
183352005-03-08 Nathan Sidwell <nathan@codesourcery.com>
18336
36e9969c
NS
18337 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
18338 (A2): New class.
18339 (main): Test operator+.
18340 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
18341 breakpoint test.
18342
5f579bc5
NS
18343 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
18344 * gdb.base/signull.exp: Disable if gdb,nosignals.
18345 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
18346 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
18347 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
18348 * gdb.mi/mi2-console.exp: Likewise.
18349 * gdb.trace/collection.exp (run_trace_experiment): Consume the
18350 continue output at start.
18351 (gdb_collect_locals_test): Robustify regexp.
18352 * gdb.trace/passc-dyn.exp: Fix comment typo.
18353 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
18354
be46087e
CV
183552005-03-08 Corinna Vinschen <vinschen@redhat.com>
18356
18357 * gdb.asm/asm-source.exp: Add iq2000 case.
18358 * gdb.asm/iq2000.inc: New file.
18359
384e1a61 183602005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 18361
384e1a61
MI
18362 * gdb.base/command.exp: Change hardcoded value to regular expression.
18363 * gdb.base/float.exp: Add powerpc to the list of targets checked.
18364
584b6e9e
DJ
183652005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
18366
18367 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
18368 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
18369 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
18370 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
18371 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
18372
ab5b5d61
MK
183732005-03-05 Mark Kettenis <kettenis@gnu.org>
18374
18375 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
18376 changes.
18377
ae051c1b
PG
183782004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
18379
a9c64011
AS
18380 * lib/compiler.c: Add test for IBM's xlc compiler.
18381 * lib/compiler.cc: Likewise.
ae051c1b 18382
3f0f6ed2
JB
183832004-02-24 Joel Brobecker <brobecker@adacore.com>
18384
18385 * gdb.ada/fixed_points.exp: Create compilation object directory
18386 before running the test.
18387 * gdb.ada/null_record.exp: Likewise.
18388 * gdb.ada/packed_array.exp: Likewise.
18389 * gdb.ada/start.exp: Likewise.
18390
724f452b
JB
183912005-02-15 Joel Brobecker <brobecker@adacore.com>
18392
18393 * gdb.ada/packed_array/pa.adb: New file.
18394 * gdb.ada/packed_array.exp: New testcase.
18395
57f5cdfb 183962005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 18397
1f393151
MK
18398 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
18399 files.
18400
ebdda337
MK
18401 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
18402 on *-*-openbsd*. Correctly match whitespace in regukar
18403 expressions.
18404
cf309262
DJ
184052005-02-10 Daniel Jacobowitz <dan@debian.org>
18406
18407 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
18408 PR exp/1821
18409 * gdb.base/gdb1821.c: New test file.
18410 * gdb.base/gdb1821.exp: New test file.
18411
3be49e7a
JB
184122005-02-09 Joel Brobecker <brobecker@adacore.com>
18413
18414 * gdb.base/start.c: New file.
18415 * gdb.base/start.exp: New testcase.
18416
e292e67d
JB
184172005-02-09 Joel Brobecker <brobecker@adacore.com>
18418
18419 * gdb.ada/start/dummy.adb: New file.
18420 * gdb.ada/start.exp: New testcase.
18421
dbdfa66c
CV
184222005-02-09 Corinna Vinschen <vinschen@redhat.com>
18423
18424 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
18425 for printing symbols and statistics.
18426 Add test for using relative pathnames in "maint print msymbols" test.
18427 Mark "maint info sections DATA" XFAIL on Cygwin.
18428 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
18429 tests.
18430
d7941671
AC
184312005-02-09 Andreas Schwab <schwab@suse.de>
18432
18433 Committed by Andrew Cagney <cagney@gnu.org>
18434 * gdb.base/remotetimeout.exp: New file.
18435
74e5ef44
MK
184362005-02-07 Mark Kettenis <kettenis@gnu.org>
18437
18438 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
18439
464dd14d
JB
184402005-02-03 Joel Brobecker <brobecker@adacore.com>
18441
18442 * gdb.ada/gnat_ada.gpr: New file.
18443 * gdb.ada/gnat_ada.gin: Delete, no longer used.
18444 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
18445 * configure.ac: No longer generate gnat_ada.gpr.
18446 * configure: Regenerate.
18447 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
18448 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
18449 * gdb.ada/null_record/bar.ads: Likewise.
18450 * gdb.ada/null_record/bar.adb: Likewise.
18451 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
18452 * gdb.ada/null_record.exp (testdir): New variable.
18453 (testfile): executable is now in testdir subdirectory.
18454 (srcfile): Use full path to the main compilation unit.
18455 * gdb.ada/fixed_points.exp: Same changes as above.
18456
30d756ae
NR
184572005-02-03 Nick Roberts <nickrob@snap.net.nz>
18458
18459 * gdb.base/interp.exp: New test.
18460
9d799f85
AC
184612005-01-24 Andrew Cagney <cagney@gnu.org>
18462
18463 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
18464
15656118
AC
184652005-01-19 Andrew Cagney <cagney@gnu.org>
18466
a892c31b
AC
18467 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
18468 configure.ac not configure.in.
18469
15656118
AC
18470 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
18471 of powerpc*-*-*.
18472 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 18473 * gdb.base/list.exp (test_list_function)
15656118
AC
18474 (test_list_filename_and_function): Ditto.
18475 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
18476
a7b01baf
AC
184772005-01-16 Andrew Cagney <cagney@gnu.org>
18478
17d92a02
AC
18479 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
18480
a7b01baf
AC
18481 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
18482
bc8332bb
AC
184832005-01-14 Andrew Cagney <cagney@gnu.org>
18484
18485 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
18486 * gdb.mi/mi2-var-cmd.exp: Ditto.
18487
4d074752
CV
184882005-01-10 Corinna Vinschen <vinschen@redhat.com>
18489
18490 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
18491
bec39cab
AC
184922005-01-07 Andrew Cagney <cagney@gnu.org>
18493
18494 * configure.ac: Rename configure.in, require autoconf 2.59.
18495 * configure: Re-generate.
18496 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
18497 * gdb.stabs/configure: Re-generate.
18498 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
18499 * gdb.hp/configure: Re-generate.
18500 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
18501 autoconf 2.59.
18502 * gdb.hp/gdb.objdbg/configure: Re-generate.
18503 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
18504 autoconf 2.59.
18505 * gdb.hp/gdb.defects/configure: Re-generate.
18506 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
18507 autoconf 2.59.
18508 * gdb.hp/gdb.compat/configure: Re-generate.
18509 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
18510 autoconf 2.59.
18511 * gdb.hp/gdb.base-hp/configure: Re-generate.
18512 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
18513 autoconf 2.59.
18514 * gdb.hp/gdb.aCC/configure: Re-generate.
18515
f10b16d4
JB
185162004-12-15 Jim Blandy <jimb@redhat.com>
18517
18518 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
18519 under NPTL when there is debugging info available for libpthread.
18520
fb6e1814
JG
185212004-12-13 Jerome Guitton <guitton@gnat.com>
18522
18523 * gdb.ada/fixed_points.c: New file.
18524 * gdb.ada/fixed_points.exp: New file.
18525
fe46cd3a
RC
185262004-12-03 Randolph Chung <tausq@debian.org>
18527
18528 * gdb.arch/pa-nullify.exp: New file.
18529 * gdb.arch/pa-nullify.s: New file.
18530
8de0841b
RC
185312004-11-30 Randolph Chung <tausq@debian.org>
18532
18533 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18534 instead of "tbug". Fix regexp to work properly with gdb_test.
18535
c8170782
PH
185362004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
18537
18538 * gdb.base/bitfields2.exp: New test.
18539 * gdb.base/bitfields2.c: New file.
18540
954269c2
RE
185412004-11-28 Richard Earnshaw <rearnsha@arm.com>
18542
18543 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18544
0107feed
RC
185452004-11-16 Randolph Chung <tausq@debian.org>
18546
18547 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18548
f073ae8c
DJ
185492004-11-14 Daniel Jacobowitz <dan@debian.org>
18550
18551 * gdb.threads/threadapply.exp: Correct "macro details" test.
18552
19ad59e7
JJ
185532004-11-11 Jeff Johnston <jjohnstn@redhat.com>
18554
18555 * gdb.threads/threadapply.exp: New test.
18556 * gdb.threads/threadapply.c: New file.
18557
9cf0961b
MK
185582004-11-07 Mark Kettenis <kettenis@gnu.org>
18559
18560 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18561 frames.
18562
c789492a
FL
185632004-11-05 Felix Lee <felix+log1@specifixinc.com>
18564
18565 * gdb.base/cursal.exp: New file.
18566 * gdb.base/cursal.c: New file.
18567
a1e167bb
AC
185682004-11-03 Andrew Cagney <cagney@gnu.org>
18569
18570 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18571
b7cbf173
MK
185722004-10-30 Mark Kettenis <kettenis@gnu.org>
18573
18574 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18575 NetBSD/ELF targets.
18576
88f9d34f
JB
185772004-10-29 Joel Brobecker <brobecker@gnat.com>
18578
18579 * gdb.threads/bp_in_thread.c: New file, copied from
18580 pthread_cond_wait.c.
18581 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18582 file, rather than reusing the .c file from another testcase.
18583
ca7d6a0c
JB
185842004-10-20 Joel Brobecker <brobecker@gnat.com>
18585
18586 * gdb.ada/null_record.exp: Check where we stopped after
18587 sending the start command, instead of where the associated
18588 temporary breakpoint was inserted.
18589
0d863d03
AC
185902004-10-14 Andrew Cagney <cagney@gnu.org>
18591
18592 * gdb.mi/gdb701.c (main): Return 0.
18593
d11e72cb
DJ
185942004-10-13 Daniel Jacobowitz <dan@debian.org>
18595
d40539a4 18596 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 18597
e1923096
JJ
185982004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18599
18600 * gdb.threads/schedlock.c: Add comment markers to use to find
18601 line numbers.
18602 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18603 comments.
18604 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18605 breakpoint lines.
18606
ec8ba2c9
DJ
186072004-10-12 Daniel Jacobowitz <dan@debian.org>
18608
18609 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18610
0eb3658b
DJ
186112004-10-12 Daniel Jacobowitz <dan@debian.org>
18612
18613 * configure.in: Add gdb.dwarf2.
18614 * configure: Regenerated.
18615 * Makefile.in: Add gdb.dwarf2.
18616 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18617 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18618 gdb.dwarf2/file1.txt: New files.
18619
a271cc33
OF
186202004-10-11 Orjan Friberg <orjanf@axis.com>
18621
a9c64011 18622 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
18623 of "run", since the latter doesn't work with remote targets. Adjust
18624 the breakpoint numbering accordingly.
18625 * gdb.threads/pthread_cond_wait.exp: Ditto.
18626
895ce074
MC
186272004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18628
18629 * gdb.base/overlays.exp: Update copyright years.
18630
6be3092d
KI
186312004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18632
18633 * gdb.base/overlays.exp: Disable if target is Linux.
18634
e05389b8
FL
186352004-10-06 Felix Lee <felix+log1@specifixinc.com>
18636
18637 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18638
73cb587d
KI
186392004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18640
18641 * gdb.asm/asm-source.exp: Add m32r-linux target.
18642 * gdb.asm/m32r-linux.inc: New file.
18643
3c0edcdc
AC
186442004-09-24 Andrew Cagney <cagney@redhat.com>
18645 David Anderson <anderson@redhat.com>
18646
18647 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18648 command fails, assume things will work.
18649 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18650 (_GNU_SOURCE): Define.
18651 (print_unsigned, print_hex): Change parameter to "long long".
18652 (print_byte_count): New function, use to print byte counts.
18653 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18654 O_LARGEFILE.
18655 (main): Compute an upper bound on a corefile in max_core_size.
18656 Limit memory chunk size to max_core_size. Limit total memory
18657 allocated to max_core_size.
18658
4bb3667f
AC
186592004-09-23 Andrew Cagney <cagney@gnu.org>
18660
18661 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18662 from a separate process with code that creates a corefile by
18663 making the inferior dump core.
18664
60fe1a51
MK
186652004-09-23 Mark Kettenis <kettenis@gnu.org>
18666
18667 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18668 block.
18669
8e937346
MC
186702004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18671
18672 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18673 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18674 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18675 Likewise.
18676
7213f6d6
JJ
186772004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18678
18679 * gdb.java/jprint.exp: New test case for java inferior call.
18680 * gdb.java/jprint.java: Ditto.
18681
eac69dca
JB
186822004-09-15 Joel Brobecker <brobecker@gnat.com>
18683
18684 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18685
22227696
MC
186862004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18687
18688 * gdb.threads/killed.c: Include <stdlib.h>.
18689 * gdb.threads/pthreads.c: Likewise.
18690
7dd403a4
MC
186912004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18692
18693 * gdb.threads/killed.c: Add copyright notice.
18694
33f2d567
JM
186952004-09-10 Jason Molenda (jmolenda@apple.com)
18696
a9c64011
AS
18697 * gdb.base/define.exp: Two new tests to verify zero space chars
18698 after 'if' and 'while' commands in a user-defined command is correctly
18699 parsed.
33f2d567 18700
e05b62ac
AC
187012004-09-08 Andrew Cagney <cagney@gnu.org>
18702
18703 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
18704 delivery test with duplicate at end of file.
18705
9cbe82da
MK
187062004-09-06 Mark Kettenis <kettenis@jive.nl>
18707
18708 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18709
564803d9
MC
187102004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18711
18712 * config/hppro.exp: Removed.
18713
7c6807ce
MC
187142004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18715
18716 * config/sparclet.exp: Removed.
18717
bf7e26dd
MC
187182004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18719
18720 * config/udi.exp: Removed.
18721
714e341b
MC
187222004-09-02 Michael Chastain <mec.gnu@mindspring.com>
18723
18724 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18725 of "exp_continue".
18726 (advancei): Likewise.
18727
1236e623
JJ
187282004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18729
18730 * gdb.base/unload.exp: Fix so messages aren't duplicated.
18731
3bdcad15
MI
187322004-09-01 Manoj Iyer <manjo@austin.ibm.com>
18733
228af206 18734 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
18735 to check for nodebug in executable.
18736 * gdb.gdb/observer.exp (setup_test): Likewise.
18737 * gdb.gdb/selftest.exp (test_with_self): Likewise.
18738 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18739
c72b934c
AC
187402004-09-01 Andrew Cagney <cagney@gnu.org>
18741
18742 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18743 files.
18744
edd9b715
JJ
187452004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18746
18747 * gdb.base/unload.exp: Fix expected warning message to match
18748 latest format.
18749
fb4ce06b
CV
187502004-09-01 Corinna Vinschen <vinschen@redhat.com>
18751
18752 * gdb.base/call-rt-st.exp: Fix typos.
18753
ce78e7c3
MI
187542004-08-31 Manoj Iyer <manjo@austin.ibm.com>
18755
18756 * gdb.threads/thread_check.exp: New testcase.
18757 * gdb.threads/thread_check.c: New testcase.
18758
2dedb159
AC
187592004-08-31 Andrew Cagney <cagney@gnu.org>
18760
18761 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18762 (skip_to_handler_entry): New procedures. Test stepping into a
18763 handler when the breakpoint is at the handler's entry point.
18764
68f53502
AC
187652004-08-30 Andrew Cagney <cagney@gnu.org>
18766
18767 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18768 gdb/1757.
18769
3e3ffd2b
MC
187702004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18771
18772 With code from Manoj Iyer <manjo@austin.ibm.com>:
18773 * lib/gdb.exp (gdb_file_cmd): Return more information in the
18774 return value. Add an arm for "no debugging symbols found".
18775 Change a stray "error" to "perror".
18776 (gdb_run_cmd): Adapt to new return value.
18777 * gdb.base/remote.exp: Adapt to new return value.
18778 * gdb.gdb/complaints.exp: Likewise.
18779 * gdb.gdb/observer.exp: Likewise.
18780 * gdb.gdb/selftest.exp: Likewise.
18781 * gdb.gdb/xfullpath.exp: Likewise.
18782
4b6f5fd2
JB
187832004-08-27 Joel Brobecker <brobecker@gnat.com>
18784
18785 * gdb.threads/bp_in_thread.exp: New testcase.
18786
e5b25496
MC
187872004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18788
18789 Fix PR testsuite/1735.
18790 * gdb.threads/schedlock.c (thread_function): Add a cast
18791 to suppress a gcc warning.
18792 * gdb.threads/thread-specific.c (thread_function): Likewise.
18793
934353d6
MC
187942004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18795
18796 * gdb.base/unload.c: Include <stdlib.h>.
18797
f98a0aef 187982004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 18799
f98a0aef 18800 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
18801 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18802 synchronized after the "return".
18803
5a2e8882
MC
188042004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18805
18806 * gdb.mi/basics.c: Include <stdio.h>.
18807 * gdb.mi/pthreads.c: Include <stdlib.h>.
18808 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18809
a9640423
MC
188102004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18811
18812 * gdb.threads/schedlock.c: Add copyright notice.
18813
b04e311d
AC
188142004-08-25 Andrew Cagney <cagney@gnu.org>
18815
18816 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18817 (skip_over_handler, breakpoint_over_hander): New test procedures.
18818 (advance, advancei): Add a proper prefix, do not use
18819 rerun_to_main.
18820 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18821
7c27f15b
MC
188222004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18823
18824 * gdb.mi/basics.c: Add copyright notice.
18825 * gdb.mi/var-cmd.c: Add copyright notice.
18826
fffc87ae
MC
188272004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18828
18829 * lib/gdb.exp: Remove signed_keyword_not_used.
18830 * lib/compiler.c: Likewise.
18831 * lib/compiler.cc: Likewise.
18832
d782e0bf
MC
188332004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18834
18835 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18836 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18837
96033e83
MC
188382004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18839
18840 * gdb.base/whatis.c: Add copyright notice.
18841
cf38c229
MK
188422004-08-20 Mark Kettenis <kettenis@gnu.org>
18843
18844 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18845 it to skip the breakpoints encoded in the inline assembly.
18846
f4b49756
MC
188472004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18848
18849 * Makefile.in: Add gdb.fortran.
18850
2f193b69
MC
188512004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18852
18853 * gdb.base/call-sc.exp (test_scalar_returns):
18854 Fix cut-and-paste glitch in "Make fun return now".
18855
89a237cb
MC
188562004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18857
18858 * configure.in: Add gdb.fortran.
18859 * configure: Regenerate.
18860 * gdb.fortran/Makefile.in: New file.
18861 * lib/gdb.exp (skip_fortran_tests): New procedure.
18862
469aff8e
MC
188632004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18864
18865 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18866 reference to bug-gnu@prep.ai.mit.edu.
18867 * gdb.mi/mi-var-child.exp: Likewise.
18868 * gdb.mi/mi-var-cmd.exp: Likewise.
18869 * gdb.mi/mi-var-display.exp: Likewise.
18870 * gdb.mi/mi2-var-block.exp: Likewise.
18871 * gdb.mi/mi2-var-child.exp: Likewise.
18872 * gdb.mi/mi2-var-cmd.exp: Likewise.
18873 * gdb.mi/mi2-var-display.exp: Likewise.
18874
00b51b9f
MK
188752004-08-15 Mark Kettenis <kettenis@gnu.org>
18876
18877 * gdb.base/unload.c (main): Make local variable msg const.
18878
45f07fef
MC
188792004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18880
18881 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18882 to bug-gnu@prep.ai.mit.edu.
18883 * gdb.mi/mi-disassemble.exp: Likewise.
18884 * gdb.mi/mi-eval.exp: Likewise.
18885 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18886 default line number.
18887 * gdb.mi/mi-return.exp: Likewise.
18888 * gdb.mi/mi-simplerun.exp: Likewise.
18889 * gdb.mi/mi-stack.exp: Likewise.
18890 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18891 number with explicit range test.
18892 * gdb.mi/mi-watch.exp: Likewise.
18893 * gdb.mi/mi2-break.exp: Likewise.
18894 * gdb.mi/mi2-cli.exp: Likewise.
18895 * gdb.mi/mi2-disassemble.exp: Likewise.
18896 * gdb.mi/mi2-eval.exp: Likewise.
18897 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18898 default line number.
18899 * gdb.mi/mi2-return.exp: Likewise.
18900 * gdb.mi/mi2-simplerun.exp: Likewise.
18901 * gdb.mi/mi2-stack.exp: Likewise.
18902 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18903 number with explicit range test.
18904 * gdb.mi/mi2-watch.exp: Likewise.
18905
dd8c8ee7
MC
189062004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18907
18908 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18909 * gdb.cp/m-static.exp: Likewise.
18910 * gdb.cp/rtti.exp: Likewise.
18911
4e838464
MK
189122004-08-14 Mark Kettenis <kettenis@gnu.org>
18913
18914 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18915
8d8cb839
EZ
189162004-08-14 Eli Zaretskii <eliz@gnu.org>
18917
18918 * ChangeLog: Prefix Local Variables with semi-colons and indent
18919 the reference to older ChangeLog files, to fix fontification in
18920 Emacs.
18921
deea8bb0
MC
189222004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18923
18924 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18925 * gdb.mi/mi2-break.exp: Likewise.
18926
c3297504
MC
189272004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18928
18929 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18930
25808999
MC
189312004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18932
18933 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18934
226a8d71
MC
189352004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18936
18937 * gdb.cp/classes.exp: Remove unused declarations. Just let
18938 test names default instead of providing special names. Remove
18939 extraneous demangler test.
18940
37fdf854
JJ
189412004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18942
18943 * gdb.base/unload.exp: New test for breakpoints in dynamically
18944 loaded libraries.
18945 * gdb.base/unload.c: Ditto.
18946 * gdb.base/unloadshr.c: Ditto.
18947
2d3a7986
MC
189482004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18949
18950 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18951 cp_test_ptype_class.
18952 (test_enums): Likewise.
18953
c72b934c
AC
189542004-08-10 Andrew Cagney <cagney@gnu.org>
18955
18956 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18957 files.
18958
cc503c8a
AC
189592004-08-10 Andrew Cagney <cagney@gnu.org>
18960
18961 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
18962 init_malloc call.
18963
902f2ccb
MC
189642004-08-10 Michael Chastain <mec.gnu@mindspring.com>
18965
18966 * ChangeLog: Add copyright notice. The notice is copied
18967 from emacs 21.3 top level ChangeLog.
18968
78c90502
MC
189692004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18970
18971 * lib/cp-support.exp: New file.
18972 * lib/cp-support.exp (cp_test_type_class): New function.
18973 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
18974 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
18975 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
18976 cp_test_ptype_class.
18977
88e5ea78
MC
189782004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18979
18980 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
18981 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18982 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
18983 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
18984 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
18985 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
18986 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
18987 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
18988 gdb.mi/mi2-watch.exp: Update copyright years.
18989
6a89fc9c
MK
189902004-08-09 Mark Kettenis <kettenis@gnu.org>
18991
18992 * gdb.base/sigaltstack.exp: Provide proper anchoring.
18993
1482e0de
MC
189942004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18995
18996 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
18997 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
18998 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
18999 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19000 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19001 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19002 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19003 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19004 gdb.mi/mi-watch.exp: Update copyright years.
19005
1a5ce3f3
DJ
190062004-08-08 Daniel Jacobowitz <dan@debian.org>
19007
19008 PR gdb/1738
19009 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19010 from a breakpoint with a pending signal.
19011
04f6ecf2
DJ
190122004-08-08 Daniel Jacobowitz <dan@debian.org>
19013
19014 PR gdb/1736
19015 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19016 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19017 the prompt.
19018 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19019
54d90d35
DJ
190202004-08-08 Daniel Jacobowitz <dan@debian.org>
19021
19022 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19023
d2f6abb0
DJ
190242004-08-08 Daniel Jacobowitz <dan@debian.org>
19025
19026 PR gdb/1736
19027 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19028 for i?86-*-linux*.
19029
5598c03d
DJ
190302004-08-08 Daniel Jacobowitz <dan@debian.org>
19031
19032 * gdb.arch/i386-prologue.exp: Compile without debug information.
19033
c6fee705
MC
190342004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19035
19036 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19037 rather than asking gdb to search.
19038
dd90efdb
MC
190392004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19040
19041 * gdb.base/gcore.c: Include <string.h>.
19042
1e84bec1
MC
190432004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19044
19045 * gdb.base/gcore.c: Add copyright notice.
19046
e425eb2b
MC
190472004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19048
19049 * gdb.base/freebpcmd.c: Include <stdio.h>.
19050 * gdb.base/long_long.c: Include <string.h>.
19051 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19052 * gdb.base/siginfo.c: Include <string.h>.
19053 * gdb.base/sigstep.c: Include <string.h>.
19054
cb9aaed5
MC
190552004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19056
19057 * gdb.base/complex.c: Include <stdlib.h>.
19058
55944f3d
MC
190592004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19060
19061 * gdb.base/complex.c: Add copyright notice.
19062
7b2953d9
MC
190632004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19064
19065 * gdb.base/charset.c: Include <stdlib.h>.
19066
c9133d23
MC
190672004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19068
19069 * gdb.base/auxv.c: Include <stdlib.h>.
19070
0a8490ad
MC
190712004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19072
19073 * gdb.base/auxv.c: Add copyright notice.
19074
3426d5ec
MC
190752004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19076
19077 * gdb.base/coremaker.c: Add copyright notice.
19078 * gdb.base/coremaker2.c: Add copyright notice.
19079
8da195dd
AC
190802004-08-04 Andrew Cagney <cagney@gnu.org>
19081
19082 * gdb.base/store.exp: Update copyright.
19083 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19084 names, do not import gdb_prompt.
19085
8d394f98
AC
190862004-08-01 Andrew Cagney <cagney@gnu.org>
19087
19088 Fix PR testsuite/1729.
19089 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19090 not use capture_value with value 4.
19091 (capture_value): Add optional test name parameter.
19092 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19093 the prefix, pass to capture_value.
19094
b6702b23
MK
190952004-08-01 Mark Kettenis <kettenis@gnu.org>
19096
19097 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19098 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19099 (main): Call new function.
19100
c203e0ca
MC
191012004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19102
19103 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19104
a7995a30
MC
191052004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19106
19107 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19108
9366563b
MC
191092004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19110
b6eeaf26 19111 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
19112 Accept more values of vtbl pointer. Remove some messages
19113 about "obsolete gcc or gdb".
19114
2fc1f950
MC
191152004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19116
19117 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19118
c724d49b
MC
191192004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19120
19121 * gdb.base/asm-source.exp: Properly convert target board
19122 debug flags from gcc format to binutils format.
19123
736b0fce
MK
191242004-07-28 Mark Kettenis <kettenis@gnu.org>
19125
19126 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19127 gdb1718". PR backtrace/1718 partially fixed.
19128
5633ea5c
JJ
191292004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19130
19131 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19132
575eebb1
NC
191332004-07-26 Nick Clifton <nickc@redhat.com>
19134
19135 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19136 good default value for a specific architecture is available then
19137 set it to that value. Otherwise default to the -gstabs switch.
19138 Remove the -g... switches from the asm-flags variable. Allow the
19139 target board info to override the value if it wants to. Pass the
19140 switch on the assembler command line.
19141
62104619
MK
191422004-07-23 Mark Kettenis <kettenis@gnu.org>
19143
19144 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19145 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19146 (main): Call new function.
19147
4a1135b8
MC
191482004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19149
19150 Test for PR exp/1715.
19151 * gdb.base/radix.exp: Refactor common procedures. Make all
19152 test names unique. Change XFAIL to KFAIL.
19153
8a12c1f0
MC
191542004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19155
19156 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19157 * gdb.ada/gnat_ada.gin: ... to here.
19158 * configure.in: Use gnat_ada.gin.
19159 * configure: Regenerate.
19160
23b451cf
AC
191612004-07-20 Andrew Cagney <cagney@gnu.org>
19162
19163 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19164 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19165 XFAILs. Clean up test messages and comments. Check backtraces.
19166 Delete re-sync code.
19167
ab618a02
MC
191682004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19169
19170 Fix PR cli/740.
19171 * gdb.base/annota1.exp: Honor gdb,nosignals.
19172 * gdb.base/annota3.exp: Likewise.
19173
46dad340
MC
191742004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19175
19176 * lib/java.exp: Update copyright notice.
19177
756d8c70
AC
191782004-07-19 Andrew Cagney <cagney@gnu.org>
19179
19180 * gdb.base/selftest.exp: Copy file from here ...
19181 * gdb.gdb/selftest.exp: ... to here.
19182
586027e6
AC
191832004-07-16 Andrew Cagney <cagney@redhat.com>
19184
19185 * lib/insight-support.exp: Delete file.
19186 * lib/java.exp (java_init): Fix copyright.
19187
029d2200
AC
191882004-07-16 Andrew Cagney <cagney@gnu.org>
19189
19190 * gdb.base/restore.c: Append "prologue" to comments marking the a
19191 function's prologue.
19192 * gdb.base/restore.exp: Update copyright, re-indent.
19193 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
19194 callerN" prefix where needed. Update patterns that match a
19195 function's prologue.
19196
653b62c5
MC
191972004-07-16 Michael Chastain <mec.gnu@mindspring.com>
19198
19199 * gdb.base/restore.c: Add copyright notice.
19200
f7d690e5
AC
192012004-07-16 Andrew Cagney <cagney@gnu.org>
19202
19203 * gdb.base/logical.exp: Update copyright.
19204 (evaluate): New procedure. Use to re-implement tests using
19205 several tables.
19206
d629a7cb
MH
192072004-07-14 Martin Hunt <hunt@redhat.com>
19208
19209 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19210 which fixes some problems where init.tcl was not found.
19211
9c7bb332
AC
192122004-07-13 Andrew Cagney <cagney@gnu.org>
19213
6bf46641
AC
19214 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
19215 (check_sizeof, check_valueof): Do not include the output in the
19216 test name. Use gdb_test.
19217 (get_valueof): Use gdb_test_multiple.
19218
c4ffd4c0
AC
19219 * gdb.base/step-test.exp: Update copyright. Use
19220 gdb_test_multiple. Ensure that test names do not include
19221 architecture dependent output.
19222
ab89363a
AC
19223 * gdb.gdb/observer.exp: Update copyright.
19224 (setup_test): Use gdb_test_multiple.
19225 (attach_first_observer, attach_second_observer)
19226 (attach_third_observer, detach_first_observer)
19227 (detach_second_observer, detach_third_observer)
19228 (reset_counters, check_counters): Make $message a prefix.
19229 (test_normal_stop_notifications): Add "args" parameter - a list of
19230 init functions to be called. Make $message a prefix,
19231 (test_observer_normal_stop): Change the message prefixes so that
19232 they are unique, pass the attach / detach procedures to
19233 test_normal_stop_notifications.
19234
ec58997a
AC
19235 * gdb.base/signull.exp (test_segv): Prefix all tests with
19236 "${name}". Clean up test messages.
19237
b475183b
AC
19238 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
19239
9c7bb332
AC
19240 * gdb.base/ena-dis-br.exp: Update copyright.
19241 (break_at): New function. Replace send_gdb with gdb_test,
19242 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
19243 ignore count, not stopped at bpt", with KFAIL.
19244
2dd95497
CV
192452004-07-13 Corinna Vinschen <vinschen@redhat.com>
19246
19247 * gdb.base/attach.exp: Remove cleanupfile handling.
19248
419e626b
AC
192492004-07-12 Andrew Cagney <cagney@gnu.org>
19250
19251 * gdb.base/annota1.exp: Cleanup corefile test name.
19252 * gdb.base/annota3.exp: Ditto.
19253
8b1b3228
AC
192542004-07-12 Andrew Cagney <cagney@gnu.org>
19255
78650829
AC
19256 * gdb.base/signals.exp: Clean up copyright, re-indent.
19257
8b1b3228
AC
19258 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
19259 gdb_test and gdb_test_multiple.
19260
935c2760
JJ
192612004-07-08 Jeff Johnston <jjohnstn@redhat.com>
19262
19263 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 19264 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
19265 provide line number info for first statement in main.
19266
1544280f
AC
192672004-07-08 Andrew Cagney <cagney@gnu.org>
19268
1279f4ff
AC
19269 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
19270
1544280f
AC
19271 * gdb.base/sigbpt.exp: Make the common part of each test name a
19272 prefix instead of suffix.
19273
bcc82369
BR
192742004-07-07 Bob Rossi <bob_rossi@cox.net>
19275
19276 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
19277 test from test_tbreak_creation_and_listing to
19278 test_file_list_exec_source_file
19279 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
19280 Changed name of test from test_tbreak_creation_and_listing to
19281 test_file_list_exec_source_file
19282
23f4b0aa
JJ
192832004-07-07 Jeff Johnston <jjohnstn@redhat.com>
19284
19285 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
19286 the jmisc() constructor instead of <init>.
19287 * gdb.java/jmisc1.exp: Ditto.
19288
56401cd5
AC
192892004-07-07 Andrew Cagney <cagney@gnu.org>
19290
19291 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
19292 corrupting the PC.
19293
44ae2f6a
MC
192942004-07-06 Michael Chastain <mec.gnu@mindspring.com>
19295
19296 * gdb.cp/templates.exp: Accept whitespace change in demangler
19297 output.
19298
45a83408
AC
192992004-07-06 Andrew Cagney <cagney@gnu.org>
19300
19301 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
19302
d205ad70
MC
193032004-07-02 Michael Chastain <mec.gnu@mindspring.com>
19304
19305 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
19306 * lib/compiler.cc: Likewise.
19307
06ea1a61
MC
193082004-06-30 Michael Chastain <mec.gnu@mindspring.com>
19309
19310 * lib/compiler.cc: Work around string preprocessing problem
19311 with old hp c++ compiler.
19312 * lib/compiler.c: Likewise.
19313
daab1251
CV
193142004-06-29 Corinna Vinschen <vinschen@redhat.com>
19315
19316 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
19317 directives to conditionalize symbol prefixing.
19318 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
19319 additional_flags handling. Add underscore prefix for Cygwin.
19320 * gdb.arch/i386-unwind.c: Use preprocessor directives to
19321 conditionalize symbol prefixing.
19322 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
19323 additional_flags handling. Add underscore prefix for Cygwin.
19324
cc984116
CV
193252004-06-29 Corinna Vinschen <vinschen@redhat.com>
19326
19327 * gdb.base/bigcore.exp: Skip test on Cygwin.
19328
c279b077
MC
193292004-06-28 Michael Chastain <mec.gnu@mindspring.com>
19330
19331 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
19332 formats for "info register". Use gdb_test_multiple. Fix
19333 the "invalid register" test.
19334
0e915747
CV
193352004-06-28 Corinna Vinschen <vinschen@redhat.com>
19336
19337 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
19338 PID for Cygwin. Add Cygwin specific strings to check for in some
19339 tests.
19340 (do_attach_tests): Add a test for user interaction when attaching
19341 to a process with no matching symbol table already loaded.
19342
11422c86
AC
193432004-06-26 Andrew Cagney <cagney@gnu.org>
19344
19345 Test PR java/1567 and PR java/1565.
19346 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
19347 * gdb.java/jmisc2.exp: Delete file.
19348
cefbce26
MC
193492004-06-26 Michael Chastain <mec.gnu@mindspring.com>
19350
19351 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
19352
e19f872c
CV
193532004-06-25 Corinna Vinschen <vinschen@redhat.com>
19354
19355 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
19356 attach process.
19357
d931ba3b
MC
193582004-06-23 Michael Chastain <mec.gnu@mindspring.com>
19359
19360 * gdb.cp/pr-1553.exp: Remove.
19361
aef68c48
MC
193622004-06-22 Michael Chastain <mec.gnu@mindspring.com>
19363
19364 * gdb.cp/pr-1553.cc: Remove.
19365 * gdb.cp/pr-1553.exp: Disable this test.
19366
8d5df71a
JB
193672004-06-20 Jim Blandy <jimb@redhat.com>
19368
a9c64011 19369 Fix PR testsuite/1680.
8d5df71a
JB
19370 * gdb.arch/i386-sse.exp: Properly quote curly braces in
19371 regular expressions.
19372
4ac6f39d
MC
193732004-06-19 Michael Chastain <mec.gnu@mindspring.com>
19374
19375 Fix PR testsuite/1679.
19376 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
19377 Issue an UNSUPPORTED result instead.
19378
1b413552
JB
193792004-06-18 Jim Blandy <jimb@redhat.com>
19380
19381 * gdb.base/charset.exp: Only send a control-C if we see a new
19382 prompt and incomplete command.
19383
6daa6ebd
MC
193842004-06-18 Michael Chastain <mec.gnu@mindspring.com>
19385
19386 * gdb.cp/pr-574.cc: Add copyright notice.
19387
51fa4ae0
JB
193882004-06-17 Jim Blandy <jimb@redhat.com>
19389
19390 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
19391 cases where the regexp has no groups; this grabs random text from
19392 the previous test suite, whatever that was.
19393
8fea26c5
MC
193942004-06-17 Michael Chastain <mec.gnu@mindspring.com>
19395
19396 * gdb.cp/printmethod.cc: Add copyright notice.
19397
1e3aeb41
MC
193982004-06-16 Michael Chastain <mec.gnu@mindspring.com>
19399
19400 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
19401
9d9030bc
AC
194022004-06-16 Andrew Cagney <cagney@gnu.org>
19403
19404 * gdb.base/signull.c: Update copyright. Include <string.h>.
19405 (bowler): Replace data_pointer with data_read
19406 and data_write cases. Add code_descriptor case.
19407 (zero, desc): New array and pointer.
19408 (data, code): Change to simple pointers.
19409 * gdb.base/signull.exp: Fix probe pattern matching a function
19410 descriptor SIGSEGV. Replace data_pointer with data_read and
19411 data_write tests.
19412
acd4ad44
AC
194132004-06-16 Andrew Cagney <cagney@gnu.org>
19414
19415 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
19416
08fd625c
MC
194172004-06-15 Michael Chastain <mec.gnu@mindspring.com>
19418
19419 * gdb.base/long_long.c: Add copyright notice.
19420
1903502c
MC
194212004-06-15 Michael Chastain <mec.gnu@mindspring.com>
19422
19423 * gdb.base/long_long.exp: Remove reference to
19424 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
19425 to gdb_breakpoint and gdb_continue_to_breakpoint.
19426
83313cb1
JB
194272004-06-14 Jim Blandy <jimb@redhat.com>
19428
19429 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
19430 endian case.
19431
1bf404ef
AC
194322004-06-14 Andrew Cagney <cagney@gnu.org>
19433
19434 * gdb.base/gcore.exp (capture_command_output): Delete the always
19435 passing tests containing inferior values.
19436 * gdb.base/ending-run.exp: Do not include the breakpoint address
19437 in the test message. Update copyright.
19438 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
19439 size in the test name, use gdb_test_multiple. Update copyright.
19440
ef220b33
MC
194412004-06-14 Michael Chastain <mec.gnu@mindspring.com>
19442
19443 * gdb.cp/ref-types.cc: Add copyright notice.
19444
4f70a4c9
MC
194452004-06-14 Michael Chastain <mec.gnu@mindspring.com>
19446
19447 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
19448 hp_aCC_compiler.
19449 * lib/compiler.cc: Likewise.
19450 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
19451 'set' commands. Log diagnostics for other lines. Set
19452 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
19453
335928ac
MC
194542004-06-13 Michael Chastain <mec.gnu@mindspring.com>
19455
19456 * gdb.cp/try_catch.cc: Add copyright notice.
19457
2efb12e8
MC
194582004-06-12 Michael Chastain <mec.gnu@mindspring.com>
19459
19460 * gdb.cp/userdef.cc: Add copyright notice.
19461
0bbed51a
MC
194622004-06-11 Michael Chastain <mec.gnu@mindspring.com>
19463
19464 * gdb.cp/virtfunc.cc: Add copyright notice.
19465
e12a46c9
RC
194662004-06-11 Randolph Chung <tausq@debian.org>
19467
19468 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
19469 problem.
19470
338e05af
AC
194712004-06-10 Andrew Cagney <cagney@gnu.org>
19472
19473 * lib/compiler.cc, lib/compiler.c: Append either
19474 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
19475 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
19476 instead of gcc-3-3.
19477
dc3f10cb
AC
194782004-06-09 Andrew Cagney <cagney@gnu.org>
19479
b4d946af
AC
19480 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
19481 gdb/1455, bug is specific to "long long" and "double".
a9c64011 19482
dc3f10cb
AC
19483 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
19484 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
19485 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
19486 fixed.
19487
b5c0bfa2
AC
194882004-06-09 Andrew Cagney <cagney@gnu.org>
19489
19490 * gdb.base/structs.exp (test_struct_returns): Replace
19491 "return_value_unknown" and "finish_value_unknown" by
19492 "return_value_known" and "finish_value_known". Instead of
19493 "return_value_unknown" iff "finish_value_unknown", check
19494 "return_value_known" implies "finish_value_known".
19495
caeb605f
MH
194962004-06-08 Martin Hunt <hunt@redhat.com>
19497
19498 * gdb.base/float.exp: Add pattern for mips targets.
19499
c892bb64
RC
195002004-06-08 Randolph Chung <tausq@debian.org>
19501
19502 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
19503 message for unknown architectures more clear.
19504
48306d3e
JB
195052004-06-08 Joel Brobecker <brobecker@gnat.com>
19506
19507 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
19508 start the execution of the program.
19509
83ecb59f
JB
195102004-06-07 Jim Blandy <jimb@redhat.com>
19511
19512 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
19513 * gdb.arch/i386-cpuid.h: New helper file.
19514
55264cb4
RC
195152004-06-07 Randolph Chung <tausq@debian.org>
19516
19517 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
19518 has started.
19519
23cadb28
RM
195202004-06-04 Roland McGrath <roland@redhat.com>
19521
19522 Fix PR gdb/1647.
19523 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
19524 differently to be robust to output buffering differences.
19525
51d01eda
MC
195262004-06-04 Michael Chastain <mec.gnu@mindspring.com>
19527
19528 * gdb.threads/pthreads.exp: Update copyright years.
19529 (check_control_c): Change asynchronous 'after' to synchronous.
19530
f4fc3b93
RM
195312004-06-04 Roland McGrath <roland@redhat.com>
19532
19533 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19534 next gdb prompt.
19535
4013522b
MC
195362004-06-02 Michael Chastain <mec.gnu@mindspring.com>
19537
19538 Fix PR gdb/1636.
19539 * gdb.threads/manythreads.exp: Change asynchronous 'after'
19540 calls to synchronous.
19541
7a8f1e6b
JB
195422004-05-26 Jim Blandy <jimb@redhat.com>
19543
19544 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19545
81bb3443
RC
195462004-05-24 Randolph Chung <tausq@debian.org>
19547
19548 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19549 * gdb.asm/pa.inc: New file.
19550
8f5a3103
MK
195512004-05-22 Mark Kettenis <kettenis@gnu.org>
19552
19553 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19554
734b8fe8 195552004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 19556 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
19557
19558 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19559 GDB prompt.
19560
725603e1
UW
195612004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19562
f4fc3b93 19563 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
19564 setjmp/longjmp. Use sigaction instead of signal.
19565
8b923272 195662004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 19567 Michael Snyder <msnyder@redhat.com>
8b923272
JB
19568
19569 * gdb.threads/pthread_cond_wait.c: New file.
19570 * gdb.threads/pthread_cond_wait.exp: New testcase.
19571
8bfabb04
AC
195722004-05-13 Andrew Cagney <cagney@redhat.com>
19573
19574 * gdb.base/signull.exp, gdb.base/signull.c: New files.
19575 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19576
42edda50
AC
195772004-05-11 Andrew Cagney <cagney@redhat.com>
19578
19579 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19580 fixed but revealed gdb/1639.
19581
d303a6c7
AC
195822004-05-10 Andrew Cagney <cagney@redhat.com>
19583
19584 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19585 func1" and "next to 2nd alarm", kernel bug avoided.
19586
bf08c2a1
DJ
195872004-05-10 Daniel Jacobowitz <dan@debian.org>
19588
19589 PR external/1568
19590 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19591 XFAIL if it is smaller than bytes_allocated.
19592 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19593 (main): Make chunks_allocated unsigned. Correct comment.
19594
c0586a34
JB
195952004-05-07 Joel Brobecker <brobecker@gnat.com>
19596
19597 * gdb.arch/powerpc-aix-prologue.c: New file.
19598 * gdb.arch/powerpc-aix-prologue.exp: New file.
19599
f2785d12
JB
196002004-05-07 Jim Blandy <jimb@redhat.com>
19601
19602 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19603 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19604
bd7f6e30
JB
196052004-05-06 Joel Brobecker <brobecker@gnat.com>
19606
19607 * gdb.base/sep.exp: No longer setup_kfail when the program was
19608 built with dwarf2.
19609
0a5e7efe
JI
196102004-05-05 Jim Ingham <jingham@apple.com>
19611
19612 * gdb.base/pending.exp: Make sure pending breakpoints
19613 preserve the ignore count.
f4fc3b93 19614
a8958849
MK
196152004-04-27 Jerome Guitton <guitton@gnat.com>
19616
19617 * i386-prologue.exp: Add testcase for jump instruction as first
19618 instruction of the real code.
19619 * i386-prologue.c (jump_at_beginning): New function.
19620
7e103f5b
MK
196212004-04-28 Mark Kettenis <kettenis@gnu.org>
19622
19623 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19624 x86_64-*-*.
19625
5d38b224
MK
196262004-04-28 Mark Kettenis <kettenis@gnu.org>
19627
19628 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19629 i*86-*-*.
19630
0ef32fd9
MK
196312004-04-25 Mark Kettenis <kettenis@gnu.org>
19632
19633 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19634 expression that checks the return type.
19635
71d7dd7c
AC
196362004-04-23 Andrew Cagney <cagney@redhat.com>
19637
19638 * gdb.base/call-sc.exp: New test of scalar call/return values.
19639 * gdb.base/call-sc.c: Ditto.
19640
1e9f977e
JJ
196412004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19642
19643 * gdb.threads/manythreads.c: Reduce thread stack size.
19644
899d9e3a
JJ
196452004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19646
19647 * gdb.threads/manythreads.c: Add copyright notice.
19648
61bcae62
AC
196492004-04-23 Andrew Cagney <cagney@redhat.com>
19650
19651 * gdb.base/siginfo.exp: Better handle step out of signal.
19652 * gdb.base/sigstep.exp: Ditto.
19653
7339a42e 196542004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 19655 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
19656
19657 * gdb.threads/manythreads.c: New testcase.
19658 * gdb.threads/manythreads.exp: Ditto.
19659
5c98409b
JB
196602004-04-22 Jim Blandy <jimb@redhat.com>
19661
19662 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19663 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19664
3b611f1a
MC
196652004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19666
19667 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19668
f0fd9238
AC
196692004-04-21 Andrew Cagney <cagney@redhat.com>
19670
19671 * gdb.base/sigstep.c: New file.
19672 * gdb.base/sigstep.exp: New file.
19673
90990674
JB
196742004-04-16 Joel Brobecker <brobecker@gnat.com>
19675
19676 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19677 call to observer_notify_normal_stop.
19678
78cef34b
AC
196792004-04-15 Andrew Cagney <cagney@redhat.com>
19680
19681 * gdb.base/siginfo.c: New file.
19682 * gdb.base/siginfo.exp: New file.
19683
d2343407
JB
196842004-04-12 J. Brobecker <brobecker@gnat.com>
19685
19686 * gdb.base/sep.exp: Fix typo in comment.
19687
a2dba3c8
JB
196882004-04-12 J. Brobecker <brobecker@gnat.com>
19689
19690 * gdb.base/sep.c: New file.
19691 * gdb.base/sep-proc.c: New file.
19692 * gdb.base/sep.exp: New testcase.
19693
15f7b60e
MK
196942004-04-09 Mark Kettenis <kettenis@gnu.org>
19695
19696 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19697 support.
19698
44f4de1a
AC
196992004-04-05 Andrew Cagney <cagney@redhat.com>
19700
19701 * gdb.base/sigaltstack.c: New file.
19702 * gdb.base/sigaltstack.exp: New file.
19703
ef04f396
JB
197042004-04-04 Joel Brobecker <brobecker@gnat.com>
19705
19706 * gdb.base/foll-fork.exp: Update the expected output for
19707 "help set follow-fork-mode", to match a change that was made
19708 to the help of this variable on 2004-01-13.
19709
d40d2c92
JB
197102004-04-01 Joel Brobecker <brobecker@gnat.com>
19711
19712 * lib/ada.exp: Add copyright notice.
19713 * bar.ads: Likewise.
19714 * bar.adb: Likewise.
19715 * null_record.adb: Likewise.
19716 * null_record.exp: Likewise.
19717 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19718
f86ef5a3
JB
197192004-04-01 Joel Brobecker <brobecker@gnat.com>
19720
19721 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19722 * configure: Regenerate.
19723
414e70e3
JB
197242004-04-01 Joel Brobecker <brobecker@gnat.com>
19725
19726 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19727 to build the application. Remove the message printed when in
19728 verbose mode, redundant with the UNSUPPORTED message above.
19729
f0aaee49
JB
197302004-03-31 Joel Brobecker <brobecker@gnat.com>
19731
19732 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19733 * gdb.ada (null_record.exp): New testcase.
19734
ac81cb54
JB
197352004-03-31 Joel Brobecker <brobecker@gnat.com>
19736
19737 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19738
854af2f7
JB
197392004-03-31 Joel Brobecker <brobecker@gnat.com>
19740
19741 * gdb.ada: New subdirectory.
19742 * gdb.ada/Makefile.in: New file.
19743 * gdb.ada/gnat_ada.gpr.in: New file.
19744
034cb681
JB
197452004-03-31 Joel Brobecker <brobecker@gnat.com>
19746
19747 * lib/ada.exp: New file.
19748
78a1a894
DJ
197492004-03-24 Daniel Jacobowitz <drow@mvista.com>
19750
19751 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19752 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19753
4b2b3b3e
AC
197542004-03-22 Andrew Cagney <cagney@redhat.com>
19755
19756 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19757 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19758 Problem identified by Ulrich Weigand.
19759
23c73aa3
DC
197602004-03-17 David Carlton <carlton@kealia.com>
19761
19762 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19763 PR c++/826.
19764
d63a86f8
RM
197652004-03-16 Roland McGrath <roland@redhat.com>
19766
19767 * gdb.base/auxv.exp: New file.
19768 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19769
0e02aa50
DC
197702004-03-12 David Carlton <carlton@kealia.com>
19771
19772 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
19773 * gdb.cp/pr-1553.cc: Ditto.
19774 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19775 pass branch.
19776
c20b71be
MC
197772004-03-12 Michael Chastain <mec.gnu@mindspring.com>
19778
19779 * gdb.cp/templates.exp: Accept more template types.
19780
c7414a01
MC
197812004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19782
19783 From Corinna Vinschen with modifications.
19784 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19785 local variable obj_with_enum.
19786 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19787 results with obj_with_enum.
19788
ed69573c
MC
197892004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19790
19791 * gdb.cp/classes.cc: New file, copied from misc.cc.
19792 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19793
28301461
MC
197942004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19795
19796 * gdb.cp/misc.cc: Add copyright notice.
19797
1198ecbe
DC
197982004-03-05 David Carlton <carlton@kealia.com>
19799
19800 * gdb.cp/rtti.exp: Add 'print *obj3' test.
19801 * gdb.cp/rtti.h: Update copyright.
19802 (namespace n2::n3): New.
19803 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19804 (n2::n3::func3): New.
19805 (main): Call n2::n3::func3.
19806 * gdb.cp/rtti2.cc: Update copyright.
19807 (n2::create3): New.
19808
9e08c470
MK
198092004-03-04 Mark Kettenis <kettenis@gnu.org>
19810
19811 * gdb.asm/openbsd.inc: Fix typo.
19812
4bebc3aa
FF
198132004-03-03 Fred Fish <fnf@redhat.com>
19814
19815 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19816 "val" instead of unused "size". Update copyright year.
19817
6ea9fb37
DJ
198182004-02-29 Daniel Jacobowitz <drow@mvista.com>
19819
19820 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19821 to use unsigned char.
19822 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19823 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19824
23b23974
DJ
198252004-02-29 Daniel Jacobowitz <drow@mvista.com>
19826
19827 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19828 line of output.
19829
7574fd53
DJ
198302004-02-28 Daniel Jacobowitz <drow@mvista.com>
19831
19832 * gdb.base/relocate.c (dummy): Initialize.
19833
a195357f
DJ
198342004-02-28 Daniel Jacobowitz <drow@mvista.com>
19835
19836 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19837 a breakpoint at exit.
19838
72fd54a9
FF
198392004-02-27 Fred Fish <fnf@redhat.com>
19840
19841 * gdb.base/chng-syms.exp: Add expect condition to match failing
19842 case that isn't a timeout.
19843
b9d23137
AC
198442004-02-27 Andrew Cagney <cagney@redhat.com>
19845
19846 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19847 support.
19848
15d208f6 198492004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 19850
15d208f6
FF
19851 * gdb.arch/gdb1431.c: Remove.
19852 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19853 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19854 of "until" incorrectly.
19855
98f9cd2d
JB
198562004-02-26 J. Brobecker <brobecker@gnat.com>
19857
19858 * gdb.cp/class2.cc (empty): New class.
19859 (refer): New function.
19860 (main): Declare an object of type empty and use it.
19861 * gdb.cp/class2.exp: Print the value of an object of type empty.
19862
9b50c11b
JJ
198632004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19864
19865 * gdb.base/langs.exp: Update query string to match the
19866 new nquery format used for pending breakpoints.
19867
0dcd613f
AC
198682004-02-26 Andrew Cagney <cagney@redhat.com>
19869
19870 Fix PR i18n/1570.
19871 * gdb.base/charset.c: Update copyright notice.
19872 (main, init_string): Remove the escape character '\e' tests.
19873 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19874 * gdb.base/charset.exp (valid_host_charset): Ditto.
19875 * gdb.base/setvar.exp: Ditto.
19876
b8a56647
AC
198772004-02-24 Andrew Cagney <cagney@redhat.com>
19878
90d59e34
AC
19879 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19880 mmapped data in core file" PASS and FAIL messages consistent.
19881
b8a56647
AC
19882 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19883 setting a breakpoint. Work around PR java/1565.
19884
9f27c604
JJ
198852004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19886
19887 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19888 new nquery format.
19889 * gdb.base/pending.exp: Ditto.
19890
3224a706
MK
198912004-02-22 Mark Kettenis <kettenis@gnu.org>
19892
19893 * configure.in: Run stabs tests on *BSD.
19894 * configure: Regenerated.
19895
41e0a9ca
MK
198962004-02-21 Mark Kettenis <kettenis@gnu.org>
19897
19898 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19899
1e1b3428
FF
199002004-02-20 Fred Fish <fnf@redhat.com>
19901
19902 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19903 blank in test for "returns short", for consistency with other
19904 "returns xxx" tests. Update copyright year.
19905
f9a7572a
FF
199062004-02-19 Fred Fish <fnf@redhat.com>
19907
19908 New testcase for PR breakpoint/1558.
19909 * gdb.arch/gdb1558.exp: New file.
19910 * gdb.arch/gdb1558.c: New file.
19911
b2ce2854
EZ
199122004-02-19 Elena Zannoni <ezannoni@redhat.com>
19913
19914 * gdb.base/nodebug.exp: Fix typo.
19915
e7c9ff01
JB
199162004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19917
19918 Committed by Jim Blandy <jimb@redhat.com>.
19919
62f4b920
JB
19920 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19921
2db536a1
JB
19922 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19923
e7c9ff01
JB
19924 * gdb.base/float.exp: Support s390*-*-* targets.
19925
f3205b34
AF
199262004-02-17 Adam Fedor <fedor@gnu.org>
19927
19928 * gdb.base/gdb1555.exp: New file.
19929 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19930
9d62932d
EZ
199312004-02-17 Elena Zannoni <ezannoni@redhat.com>
19932
19933 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19934
344c9711
FF
199352004-02-16 Fred Fish <fnf@redhat.com>
19936
19937 * gdb.arch/gdb1291.c: Remove
19938 * gdb.arch/gdb1291.s: New test input file.
19939 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19940 fail. Test for correct result, known incorrect result, other
19941 failures and timeouts.
19942
2d822687
AC
199432004-02-16 Andrew Cagney <cagney@redhat.com>
19944
19945 * gdb.base/bigcore.exp: New file.
19946 * gdb.base/bigcore.c: New file.
19947
dac15b66
AC
199482004-02-13 Andrew Cagney <cagney@redhat.com>
19949
19950 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19951 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19952 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19953 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19954 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19955 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19956 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19957 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19958 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19959 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
19960
6bdfc2c4
JJ
199612004-02-11 Jeff Johnston <jjohnstn@redhat.com>
19962
19963 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
19964 executed is an alloc instruction.
19965
87b3ede8
DC
199662004-02-11 David Carlton <carlton@kealia.com>
19967
19968 * gdb.cp/breakpoint.exp: New.
19969 * gdb.cp/breakpoint.cc: New.
19970
6e19e2bf
MC
199712004-02-11 Michael Chastain <mec.gnu@mindspring.com>
19972
19973 Partial fix for PR gdb/1543.
19974 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
19975 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
19976 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
19977 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
19978 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
19979 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
19980 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
19981 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
19982 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
19983 to bug-gdb@prep.ai.mit.edu .
19984 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
19985 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
19986 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
19987 Likewise.
19988
5c5455dc
AC
199892004-02-10 Andrew Cagney <cagney@redhat.com>
19990
19991 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
19992 using gdb_internal_error_resync.
19993
9cf689d7
DJ
199942004-02-09 Daniel Jacobowitz <drow@mvista.com>
19995
19996 * gdb.threads/thread-specific.exp: Stop early if no threads are
19997 found.
19998
d2dc51db
MC
199992004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20000
20001 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20002
14b1a056
DJ
200032004-02-08 Daniel Jacobowitz <drow@mvista.com>
20004
20005 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20006 breakpoints.
20007
83f66e8f
DJ
200082004-02-07 Daniel Jacobowitz <drow@mvista.com>
20009
20010 * config/sim.exp (gdb_load): Handle $arg == "".
20011 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20012 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20013
30fc0091
EZ
200142004-02-07 Elena Zannoni <ezannoni@redhat.com>
20015
a9c64011
AS
20016 * gdb.base/maint.exp: Update test to reflect
20017 obstack changes.
30fc0091 20018
4d806929
JJ
200192004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20020
20021 * gdb.base/pendshr.c (pendfunc): New function that calls
20022 pendfunc1.
20023 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20024
7bfdd688
FF
200252004-02-04 Fred Fish <fnf@redhat.com>
20026
20027 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20028 function symbols and update copyright years.
20029 * gdb.arch/gdb1291.c: Ditto.
20030
aaa08ee4
MC
200312004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20032
20033 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20034
dbad7755
MC
200352004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20036
20037 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20038
ec4646ef
MC
200392004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20040
20041 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20042
1b802196
FF
200432004-02-02 Fred Fish <fnf@redhat.com>
20044
20045 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20046 remote targets. Update copyright years.
20047
18fe2033
JJ
200482004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20049
20050 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20051 support.
20052 * gdb.base/langs.exp: Fix test which attempts to create
20053 breakpoint on non-existent function to handle new pending
20054 support.
20055 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20056 a breakpoint.
20057 * gdb.base/pending.exp: New test.
20058 * gdb.base/pending.c: New file.
20059 * gdb.base/pendshr.c: Ditto.
20060
8d577d32
DC
200612004-02-02 David Carlton <carlton@kealia.com>
20062
20063 * gdb.cp/overload.exp: Add overloadNamespace tests.
20064 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20065 (overloadNamespace, XXX): New.
20066 (main): Call XXX::marker2.
20067
3ad13771
FF
200682004-02-01 Fred Fish <fnf@redhat.com>
20069
20070 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20071 * gdb.base/finish.exp: Ditto.
20072 * gdb.base/gcore.exp: Ditto.
20073 * gdb.base/huge.exp: Ditto.
20074 * gdb.base/info-proc.exp: Ditto.
20075 * gdb.base/return2.exp: Ditto.
20076 * gdb.threads/gcore-thread.exp: Ditto.
20077
44c75849
DJ
200782004-02-01 Daniel Jacobowitz <drow@mvista.com>
20079
20080 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20081
005bc093
MK
200822004-02-01 Mark Kettenis <kettenis@gnu.org>
20083
20084 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20085 that opening the file succeeds on OpenBSD.
20086
c47cebdb
DJ
200872004-02-01 Daniel Jacobowitz <drow@mvista.com>
20088
20089 * gdb.threads/thread-specific.c: New file.
20090 * gdb.threads/threads-specific.exp: New test script.
20091 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20092 to expect_out.
20093
5a01311c
MK
200942004-02-01 Mark Kettenis <kettenis@gnu.org>
20095
20096 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20097 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20098 only on the "print_small_structs from print_long_arg_list" test.
20099
ce22a4f1
DJ
201002004-02-01 Daniel Jacobowitz <drow@mvista.com>
20101
20102 * gdb.base/completion.exp: Kill a stray backslash.
20103
20104 From Jim Ingham <jingham@apple.com>:
20105 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20106 agrees with the result from sending a tab.
20107
abbab9d3
DJ
201082004-01-31 Daniel Jacobowitz <drow@mvista.com>
20109
20110 * gdb.base/chng-syms.exp: Remove stray newline.
20111
53904d1e
MK
201122004-01-31 Mark Kettenis <kettenis@gnu.org>
20113
20114 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20115 *-*-openbsd*.
20116 * gdb.asm/openbsd.inc: New file.
20117
3a4b3aac
MK
201182004-01-30 Mark Kettenis <kettenis@gnu.org>
20119
20120 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20121 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20122 *-*solaris2*. Remove commented out default settings for
20123 asm-flags. Replace gdb_compile with target_link.
20124
ebac27b4
MC
201252004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20126
20127 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20128 for all tests. Remove old hp-ux and cygnus xfail cases.
20129
d8679d84
PH
201302004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20131
20132 * gdb.base/chng-syms.exp: New file.
20133 * gdb.base/chng-syms.c: New file.
20134
0a55bc22
MC
201352004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20136
20137 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20138 Provide arms for current output in all my configurations.
20139
94b8e876
MC
201402004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20141
20142 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20143 * lib/compiler.cc: Likewise.
20144 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20145 get the right preprocessor. Eval the output directly. Remove
20146 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20147 hp_f77_compiler and hp_f90_compiler completely.
20148 (gdb_preprocess): Delete.
20149 (get_compiler): Delete.
20150
7cf03d44
MK
201512004-01-24 Mark Kettenis <kettenis@gnu.org>
20152
20153 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20154 <string.h>.
20155
68b6dce9
NR
201562004-01-24 Nick Roberts <nick@nick.uklinux.net>
20157
20158 * gdb.mi/mi-stack.exp: Update copyright.
20159
b368761e
DC
201602004-01-23 David Carlton <carlton@kealia.com>
20161
20162 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20163 test for cp_lookup_transparent_type.
20164 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20165 call them.
20166
f2061b53
DJ
201672004-01-23 Daniel Jacobowitz <drow@mvista.com>
20168
20169 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20170 after -var-update.
20171
37fc574a
DC
201722004-01-23 David Carlton <carlton@kealia.com>
20173
20174 * gdb.cp/namespace.cc (C::ensureRefs): New.
20175 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20176
8e94b928
NR
201772004-01-20 Nick Roberts <nick@nick.uklinux.net>
20178
20179 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20180 case "-stack-list-locals 2".
20181 * gdb.mi/mi-var-child.exp: Test for case
20182 "-var-list-children --all-values NAME".
20183
997b0952
MC
201842004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20185
20186 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20187
52470da3
MK
201882004-01-18 Mark Kettenis <kettenis@gnu.org>
20189
7049b4b8
MK
20190 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20191 used with gdb_test_multiple.
20192
52470da3
MK
20193 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20194 read at address 0. This fixes PR testsuite/1504.
20195
da6012e5
DJ
201962004-01-18 Daniel Jacobowitz <drow@mvista.com>
20197
20198 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20199 Remove downloading, guessing the host executable, the calls to
20200 gdb_file_cmd and gdb_target_cmd, and "load" support.
20201 (infer_host_exec): New function broken out from gdb_load.
20202 (gdb_load): New wrapper for gdbserver_gdb_load.
20203 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20204 gdb_target_cmd. Use -target-select.
20205 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20206 Download binaries to the host. Clear last_mi_remote_file when
20207 we load a new binary.
20208 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
20209 call gdbserver_gdb_load and mi_gdb_target_cmd.
20210
32c70722
MC
202112004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20212
20213 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20214 type patterns.
20215
b0cecf36
MC
202162004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20217
20218 * gdb.cp/templates.exp: Fix typo in test name of
20219 "print Foo<volatile char*>::foo".
20220
4120d7e6
MC
202212004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20222
20223 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
20224
f679e530
BE
202252004-01-16 Ben Elliston <bje@wasabisystems.com>
20226
20227 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
20228 (clean mostlyclean): Remove empty rm.
20229
091c48f6
MC
202302004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20231
20232 * gdb.base/setvar.exp: Add copyright years.
20233
3e5fc8d2
DC
202342004-01-14 David Carlton <carlton@bactrian.org>
20235
20236 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
20237 PR c++/1511 and update coment.
20238 * gdb.cp/templates.exp: Update patterns to match current output.
20239 If changes involve something other than whitespace, KFAIL
20240 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
20241
63d06c5c
DC
202422004-01-14 David Carlton <carlton@kealia.com>
20243
20244 * gdb.cp/namespace.exp: Add tests involving classes defined within
20245 namespaces.
20246 * gdb.cp/namespace.cc (C::CClass): New.
20247 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
20248
a51dab88
EZ
202492004-01-14 Elena Zannoni <ezannoni@redhat.com>
20250
20251 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
20252 what debug info we have. Print a better message if something goes
20253 wrong while producing the separate debug info file.
20254
a476ccc9
MC
202552004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20256
20257 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
20258
f453692c
MC
202592004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20260
20261 * gdb.base/callfuncs.c: Add copyright notice.
20262
f40063a5
MC
202632004-01-13 Michael Chastain <mec.gnu@mindspring.com>
20264
20265 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
20266 inheritance. PR gdb/1498, PR gcc/13539.
20267
19ac3974
EZ
202682004-01-13 Elena Zannoni <ezannoni@redhat.com>
20269
a9c64011
AS
20270 * gdb.threads/gcore-thread.exp: Prefix name of binary with
20271 test specific name.
20272 * gdb.mi/gdb669.exp: Ditto.
20273 * gdb.mi/mi-pthreads.exp: Ditto.
20274 * gdb.mi/mi1-pthreads.exp: Ditto.
20275 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 20276
56c97c6e
MC
202772004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20278
20279 * gdb.cp/member-ptr.cc: Add copyright notice.
20280
a0644324
MC
202812004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20282
20283 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
20284 some patterns for recent versions of gcc and hpacc. Delete
20285 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
20286 Delete tests that access a NULL pointer-to-member-data. This
20287 script is still disabled for gcc.
20288
32fabe09
EZ
202892004-01-12 Elena Zannoni <ezannoni@redhat.com>
20290
20291 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 20292 escaped correctly.
32fabe09 20293
1f8a6abb
EZ
202942004-01-12 Elena Zannoni <ezannoni@redhat.com>
20295
20296 * gdb.base/sepdebug.exp: New file.
20297 * gdb.base/sepdebug.c: New file.
20298 * lib/gdb.exp (separate_debug_filename): New procedure.
20299 (gdb_gnu_strip_debug): New procedure.
20300
48efe704
AC
203012004-01-12 Andrew Cagney <cagney@redhat.com>
20302
20303 * gdb.mi/ChangeLog: Delete file. Renamed to ...
20304 * gdb.mi/ChangeLog-1999-2003: New file.
20305
a9415475
AC
203062004-01-12 Andrew Cagney <cagney@redhat.com>
20307
20308 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
20309 "Renaming a directory to a non-empty directory returns ENOTEMPTY
20310 or EEXIST", treat EBUSY as an XFAIL.
20311
83b8cf9d
MC
203122004-01-11 Michael Chastain <mec.gnu@mindspring.com>
20313
20314 * gdb.base/scope.exp: Remove obsolete setup_xfail for
20315 hp_cc_compiler.
20316
9939d2a8
MC
203172004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20318
20319 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
20320 decorations.
20321
1ff8cadf
MC
203222004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20323
20324 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
20325 and "(aCC)" decorations. Remove obsolete doco about old
20326 test results.
20327
6fa9022e
MC
203282004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20329
20330 * gdb.cp/exception.exp: Fix typo in doco.
20331
209721fe
MK
203322004-01-09 Mark Kettenis <kettenis@gnu.org>
20333
20334 * gdb.base/gdb1476.exp: Fix typo.
20335
ef11303e
MC
203362004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20337
20338 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
20339 file.
20340
041ab88c
MC
203412004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20342
20343 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
20344 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
20345 Use gdb_compile. Remove restriction on gcc. Add some patterns
20346 for recent version of gdb. Delete second half, which was a copy
20347 of the first half with different build flags. This test is
20348 still disabled because it is still not ready for production.
20349
e36d075a
MC
203502004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20351
20352 * gdb.cp/exception.cc: Add copyright notice.
20353 * gdb.cp/exception.exp: Add a notice that this file is broken
20354 because of line number changes caused by addition of copyright
20355 notice.
20356
42b190ad
MC
203572004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20358
20359 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
20360 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
20361
8f25f06b
MC
203622004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20363
20364 * gdb.cp/classes.exp: Accept gnu abi 2.
20365 * gdb.cp/derivation.exp: Likewise.
20366 * gdb.cp/overload.exp: Likewise.
20367 * gdb.cp/virtfunc.exp: Likewise.
20368
06ded8b8
MC
203692004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20370
20371 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
20372 semicolon after end of function.
20373
77c26ae3
MC
203742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20375
20376 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
20377 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
20378 boilerplate code for compiling and running the program under
20379 test. Add some string method tests.
20380
20757486
MC
203812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20382
20383 * gdb.cp/bs15503.cc: Add copyright notice.
20384 * gdb.cp/bs15503.exp: Adjust line number.
20385
0fd3b503
MC
203862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20387
20388 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
20389 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
20390
10d1bea8
MC
203912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20392
20393 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
20394 hp_cc_compiler.
20395
2789202a
MC
203962004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20397
20398 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
20399 * gdb.cp/ctti.exp: Use the marker instead of "next".
20400 With gcc, run further before bailing.
20401
b862f14c
MC
204022004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20403
20404 * gdb.cp/cttiadd.cc: Add copyright notice.
20405 * gdb.cp/cttiadd1.cc: Likewise.
20406 * gdb.cp/cttiadd2.cc: Likewise.
20407 * gdb.cp/cttiadd3.cc: Likewise.
20408
96da2469
MC
204092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20410
20411 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
20412 Use gdb_test, gdb_test_multiple. Use floating-point values that
20413 have exact representations in IEEE-ish formats.
20414
053248ff
MC
204152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20416
20417 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
20418 compilers. Delete duplicate call to get_compiler_info.
20419 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
20420 * gdb.base/volatile.exp: Likewise.
20421
84acecdd
MK
204222004-01-07 Mark Kettenis <kettenis@gnu.org>
20423
20424 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
20425 memory at address 0.
20426
fe11a27f
MC
204272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20428
20429 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
20430 to test for hp-ux assembler. Fix copyright years.
20431
60ad077b
AC
204322004-01-07 Andrew Cagney <cagney@redhat.com>
20433
20434 * gdb.base/fileio.c (strerrno): Add "EBUSY".
20435
1c9b8f33
AC
204362004-01-07 Andrew Cagney <cagney@redhat.com>
20437
20438 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
20439 when creating the read-only file. From analysis by Roland McGrath
20440 and Elena Zannoni.
20441
753ccc7a
MC
204422004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20443
20444 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
20445
eca3e36b
MC
204462004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20447
20448 * gdb.base/cvexpr.c: Be type-safe with function pointers and
20449 data pointers.
20450
f8d4bac4
MC
204512004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20452
20453 * gdb.cp/m-static.exp: Compile one source file at a time.
20454 Delete unused call to get_compiler_info.
20455
9b4e0f94
MC
204562004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20457
20458 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
20459 * gdb.base/call-rt-st.exp: Likewise.
20460 * gdb.base/nodebug.exp: Likewise.
20461 * gdb.base/volatile.exp: Likewise.
20462 * gdb.cp/ref-types.exp: Likewise.
20463 * gdb.cp/templates.exp: Likewise.
20464
023c1024
MK
204652004-01-05 Mark Kettenis <kettenis@gnu.org>
20466
20467 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
20468
19703c4a
MC
204692004-01-05 Michael Chastain <mec.gnu@mindspring.com>
20470
20471 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
20472 hppa*-hp-hpux*.
20473
18b67037
MK
204742004-01-04 Mark Kettenis <kettenis@gnu.org>
20475
ba6219c8
MK
20476 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20477 x86_64-*-*.
20478
18b67037
MK
20479 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20480 sparc64-*-* and sparc*-solaris2*.
20481
1bfbbb9d
MK
204822004-01-04 Mark Kettenis <kettenis@gnu.org>
20483
20484 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
20485 return ${tests}" test. The ${tests} already mentions the
20486 filename.
20487
06846494
MC
204882004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20489
20490 * gdb.cp/local.exp: Accept gcc abi 2.
20491
3b0cb202
MC
204922004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20493
20494 * gdb.cp/templates.exp: Accept gcc abi 2.
20495
0643ec3f
MC
204962004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20497
20498 * lib/compiler.cc: Remove supports_template_debugging.
20499 * gdb.cp/templates.exp: Do not test supports_template_debugging.
20500
d231d0b1
MC
205012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20502
20503 * gdb.cp/namespace.exp: Accept gcc abi 2.
20504
44ffb27c
MC
205052004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20506
20507 * gdb.cp/method.exp: Accept gcc abi 2.
20508
184ad485
MC
205092004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20510
20511 * gdb.cp/classes.exp: Generate identical results as old version.
20512 * gdb.cp/derivation.exp: Likewise.
20513 * gdb.cp/overload.exp: Likewise.
20514 * gdb.cp/virtfunc.exp: Likewise.
20515
116f09e7
MC
205162004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20517
20518 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
20519 mysterious bug with sourceware version of expect.
20520
b1379776
MC
205212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20522
20523 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
20524 current versions of gcc, including gcc abi 2. Remove gratuitous
20525 restart of test program. Use gdb_test_multiple and gdb_test for
20526 all tests. Add patterns to xfail missing "const" in "const char *"
20527 and kfail PR gdb/1155.
20528
6b7a4c0e
MC
205292004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20530
20531 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
20532 current versions of gcc, including gcc abi 2. Remove gratuitous
20533 restart of test program. Use gdb_test_multiple and gdb_test for
20534 all tests. Add patterns to kfail PR gdb/1498.
20535
51615d72
MC
205362003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20537
20538 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
20539 current versions of gcc, including gcc abi 2. Use "breakpoint"
20540 and "continue" instead of restarting the target program. Use
20541 gdb_test_multiple and gdb_test for all tests.
20542
7b79a9d7
MK
205432004-01-01 Mark Kettenis <kettenis@gnu.org>
20544
20545 * gdb.asm/asm-source.exp: Update copyright year. Link statically
20546 for *-*-solaris2*.
20547
1cd3489f
MC
205482003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20549
20550 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
20551 current versions of gcc, including gcc abi 2. Use "breakpoint"
20552 and "continue" instead of restarting the target program several
20553 times. Use gdb_test_multiple and gdb_test for all tests.
20554
850742db
MC
205552003-12-18 Michael Chastain <mec.gnu@mindspring.com>
20556
20557 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20558 source files.
20559
eb4bbda8
MC
205602003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20561
20562 * gdb.base/environ.exp: Handle compiling test case from multiple
20563 source files.
20564
e42c7771
MC
205652003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20566
20567 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20568
80e4b428
JB
205692003-12-17 Jim Blandy <jimb@redhat.com>
20570
5f06973a
JB
20571 * gdb.base/freebpcmd.c: Add copyright notice.
20572
80e4b428
JB
20573 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20574
0ab84fb7
MC
205752003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20576
20577 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20578
1b3bb3d0
JB
205792003-12-13 Jim Blandy <jimb@redhat.com>
20580
20581 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20582
3a4c9371
KB
205832003-12-12 Kevin Buettner <kevinb@redhat.com>
20584
20585 * gdb.asm/frv.inc: New file.
20586 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20587
a1dea79a
FF
205882003-12-09 Fred Fish <fnf@redhat.com>
20589
20590 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20591 functions to break1.c and leave prototypes behind. Add more
20592 "set breakpoint NN here" comments.
20593 * gdb.base/break1.c: New file.
20594
20595 * gdb.base/break.exp: Handle compiling test case from multiple
20596 source files and change source file references as needed.
20597 * gdb.base/completion.exp: Ditto.
20598 * gdb.base/condbreak.exp: Ditto.
20599 * gdb.base/define.exp: Ditto.
20600 * gdb.base/ena-dis-br.exp: Ditto.
20601 * gdb.base/info-proc.exp: Ditto.
20602 * gdb.base/maint.exp: Ditto.
20603 * gdb.base/until.exp: Ditto.
20604
20605 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20606 hardcoded line numbers.
20607 * gdb.base/define.exp: Ditto.
20608 * gdb.base/ena-dis-br.exp: Ditto.
20609 * gdb.base/maint.exp: Ditto.
20610 * gdb.base/until.exp: Ditto.
20611
20612 * gdb.base/completion.exp: Use "break1" for completion tests since
20613 "break" is no longer a unique prefix.
20614
5266b69c
AC
206152003-12-06 Andrew Cagney <cagney@redhat.com>
20616
20617 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20618 "return_value_unimplemented". When an unimplemented struct return
20619 architecture, report incorrect values as a KFAIL
20620
374451f0
MC
206212003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20622
20623 * gdb.cp/rtti.exp: Accept new wording of warning from
20624 cp_lookup_rtti_type.
20625
ba9b20a7
MC
206262003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20627
20628 Partial fix for PR testsuite/1456.
20629 * gdb.base/scope.exp (test_at_main): Replace references to
20630 gcc_compiled with calls to test_compiler_info.
20631 (test_at_foo): Likewise.
20632 (test_at_bar): Likewise.
20633
b74b6d0b
MC
206342003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20635
20636 Partial fix for PR testsuite/1456.
20637 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20638 to test_compiler_info.
20639
ccfa3402
MC
206402003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20641
20642 * gdb.base/so-impl-ld.exp: Update copyright notice.
20643
f6246aba
MC
206442003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20645
20646 Partial fix for PR testsuite/1456.
20647 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20648 to test_compiler_info.
20649
13ae734a
MC
206502003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20651
20652 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20653 from current versions of gdb. Clean up regular expressions.
20654 Delete redundant timeout case.
20655
d8e1cdee
MC
206562003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20657
20658 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20659 from current versions of gdb. Clean up regular expressions.
20660 Delete redundant timeout case.
20661
96457b64
MC
206622003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20663
20664 Partial fix for PR testsuite/1456.
20665 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20666 gcc_compiled with call to test_compiler_info.
20667
f35309fc
MC
206682003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20669
20670 Partial fix for PR testsuite/1456.
20671 * gdb.base/list.exp (test_list_function): Delete unused declaration
20672 of gcc_compiled.
20673
d7afdf9b
MC
206742003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20675
20676 Partial fix for PR testsuite/1456.
20677 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20678 call to test_compiler_info.
20679
71507b56
MK
206802003-11-29 Mark Kettenis <kettenis@gnu.org>
20681
20682 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20683 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20684 it to create the appropriate note.inc.
20685 * gdb.asm/asmsrc1.s: Include "note.inc".
20686 * gdb.asm/netbsd.inc: New file.
20687 * gdb.asm/empty.inc: New file.
20688
f81f93f7
MC
206892003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20690
20691 Partial fix for PR testsuite/1456.
20692 * gdb.base/constvars.exp: Replace references to gcc_compiled with
20693 calls to test_compiler_info.
20694
9a77938e
MC
206952003-11-27 Michael Chastain <mec.gnu@mindspring.com>
20696
20697 Partial fix for PR testsuite/1456.
20698 * gdb.base/volatile.exp: Replace references to gcc_compiled with
20699 calls to test_compiler_info.
20700
e8367dc7
MK
207012003-11-27 Mark Kettenis <kettenis@gnu.org>
20702
20703 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20704 pattern for the KFAILs.
20705
526c61ee
AF
207062003-11-25 Adam Fedor <fedor@gnu.org>
20707
20708 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20709 * gdb.objc/objcdecode.m: New file.
20710
28f2d600
AF
207112003-11-25 Adam Fedor <fedor@gnu.org>
20712
20713 * gdb.objc/nondebug.exp: Test for PR objc/1236.
20714 * gdb.objc/nondebug.m: New file.
20715
a3895cee
BE
207162003-11-26 Ben Elliston <bje@wasabisystems.com>
20717
20718 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20719 NetBSD as it does on FreeBSD. Modelled on a similar change by
20720 Mark Kettenis on 2003-05-30.
20721 (link-flags): Set to "--entry _start" regardless of target.
20722 Special linker flags are to be appended to $link-flags.
20723 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20724
c9f2c8a3
MC
207252003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20726
20727 * gdb.cp/method.exp: Accept output of new demangler.
20728
15a0587a 207292003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
20730
20731 * gdb/class2.exp: New file.
20732 * gdb/class2.cc: New file.
20733
3c00b570
MC
207342003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20735
20736 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20737 of new demangler.
20738
7027acc7
MK
207392003-11-23 Mark Kettenis <kettenis@gnu.org>
20740
20741 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20742 of gdb_test "run".
20743
b0e1598a
MK
207442003-11-23 Mark Kettenis <kettenis@gnu.org>
20745
20746 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
20747 "continue" into "run".
20748
4d9eda44
MC
207492003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20750
20751 Partial fix for PR testsuite/1456.
20752 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20753 call to test_compiler_info.
20754 * gdb.cp/ctti.exp: Likewise.
20755 * gdb.cp/derivation.exp: Likewise.
20756 * gdb.cp/member-ptr.exp: Likewise.
20757 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20758 reference to gcc_compiled.
20759
207602003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
20761
20762 Fix PR testsuite/1463.
20763 * gdb.base/structs.exp (start_structs_test): Call
20764 get_debug_format before using the debug format.
20765
d422fe19
AC
207662003-11-22 Andrew Cagney <cagney@redhat.com>
20767
20768 * lib/gdb.exp (gdb_test_multiple): Add simple example.
20769 * gdb.base/structs.exp: Use gdb_test_multiple.
20770
039cf96d
AC
207712003-11-20 Andrew Cagney <cagney@redhat.com>
20772
6882279b
AC
20773 * gdb.base/structs.exp: Handle and recover from internal errors.
20774 Replace "foo${n}" with "foo<n>" in test messages.
20775
e53890ae
AC
20776 * gdb.base/structs.exp: Update copyright. Rewrite.
20777 * gdb.base/structs.c: Update copyright. Rewrite.
20778
2b211c59
AC
20779 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20780 resync count exceeded.
d63a86f8 20781
039cf96d
AC
20782 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20783 from the internal error.
20784 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20785 Original from Jim Blandy.
20786 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 20787
eac98b22
AC
207882003-11-19 Andrew Cagney <cagney@redhat.com>
20789
20790 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20791 KFAIL.
20792
67455b2a
MK
207932003-11-17 Mark Kettenis <kettenis@gnu.org>
20794
20795 New testcase for PR backtrace/1435.
20796 * gdb.arch/i386-unwind.exp: New file.
20797 * gdb.arch/i386-unwind.c: New file.
20798
853d6e5b
AC
207992003-11-17 Andrew Cagney <cagney@redhat.com>
20800
20801 * lib/gdb.exp (compiler_info): New global.
20802 (test_compiler_info): New function.
20803 (get_compiler_info): Set compiler_info.
20804 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
20805 "compiler_info" to gcc-<major>-<minor>.
20806
38cf6e11
MC
208072003-11-15 Michael Chastain <mec.gnu@mindspring.com>
20808
20809 * gdb.trace/configure: Remove.
20810
a50d3602
EZ
208112003-11-13 Elena Zannoni <ezannoni@redhat.com>
20812
20813 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 20814 breakpoints.
a50d3602
EZ
20815 * gdb.base/break.exp: Remove all references to explicit line
20816 numbers.
20817
d9407aaa
NC
208182003-11-11 Nick Clifton <nickc@redhat.com>
20819
20820 * gdb.base/shreloc.exp: Do not run for targets which do not
20821 support shared objects.
20822
db488fc1
CV
208232003-11-10 Corinna Vinschen <vinschen@redhat.com>
20824
20825 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20826 Don't run tests if nofileio flag is given.
20827
6a90a18e
EZ
208282003-11-07 Elena Zannoni <ezannoni@redhat.com>
20829
20830 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 20831 as well as 'Watchpoint'.
6a90a18e 20832
0b915e9c
EZ
208332003-11-06 Elena Zannoni <ezannoni@redhat.com>
20834
20835 Reported by Jim Ingham <jingham@apple.com>:
20836 * gdb.base/annota1.exp: Match at least one occurrence of the
20837 signal handler annotation.
20838
d7e4b55f
EZ
208392003-11-06 Elena Zannoni <ezannoni@redhat.com>
20840
a9c64011
AS
20841 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20842 as well as 'Watchpoint'.
d7e4b55f 20843
2fe4e8d0
MC
208442003-11-05 Michael Chastain <mec@shout.net>
20845
20846 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20847
6ef88553
KW
208482003-11-03 Kris Warkentin <kewarken@qnx.com>
20849
20850 * gdb.arch/gdb1291.c: New test file.
20851 * gdb.arch/gdb1291.exp: New test script.
20852 * gdb.arch/gdb1431.c: New test file.
20853 * gdb.arch/gdb1431.exp: New test script.
20854
ae7dc4d8
MC
208552003-10-22 Michael Chastain <mec@shout.net>
20856
20857 * gdb.mi/pthreads.c: Add copyright notice.
20858
c39d7427
MC
208592003-10-22 Michael Chastain <mec@shout.net>
20860
20861 * gdb.threads/pthreads.c: Add copyright notice.
20862
8b7d96c1
MC
208632003-10-20 Michael Chastain <mec@shout.net>
20864
20865 * gdb.base/gdb1056.exp: New test script.
20866
d1d69fdd
DJ
208672003-10-13 Daniel Jacobowitz <drow@mvista.com>
20868
20869 * gdb.threads/killed.exp: Use gdb_run_cmd.
20870
7d605576
DJ
208712003-10-13 Daniel Jacobowitz <drow@mvista.com>
20872
20873 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20874 create a core file.
20875 * gdb.threads/gcore-thread.exp: Likewise.
20876
618ec112
CV
208772003-10-13 Corinna Vinschen <vinschen@redhat.com>
20878
20879 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20880 type, based on char type.
20881 (struct bit_flags_short_t): New bitfield type, based on short type.
20882 (init_bit_flags_char): New fuction.
20883 (init_bit_flags_short): Ditto.
20884 (print_bit_flags_char): Ditto.
20885 (print_bit_flags_short): Ditto.
20886 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20887
9367a73c
MC
208882003-10-11 Michael Chastain <mec@shout.net>
20889
20890 * gdb.base/call-rt-st.exp: Update copyright year.
20891
1decf120
KI
208922003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20893
20894 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20895 * gdb.disasm/sh3.s: Ditto.
20896
5445b2ae
DJ
208972003-10-07 Daniel Jacobowitz <drow@mvista.com>
20898
20899 * gdb.threads/switch-threads.exp: New test.
20900 * gdb.threads/switch-threads.c: New source file.
20901
aec24853
CV
209022003-10-07 Corinna Vinschen <vinschen@redhat.com>
20903
20904 * gdb.base/ending-run.exp: Add sh specific case.
20905
adc7428d
AC
209062003-10-06 Andrew Cagney <cagney@redhat.com>
20907
20908 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20909 * gdb.disasm/mn10200.exp: Delete obsolete file.
20910
c9d37158
DJ
209112003-09-29 Daniel Jacobowitz <drow@mvista.com>
20912
20913 * ChangeLog: Correct an entry command.exp -> commands.exp.
20914 * gdb.base/commands.exp (bp_deleted_in_command_test)
20915 (temporary_breakpoint_commands): Check noargs.
20916
79c2c32d
DC
209172003-09-25 David Carlton <carlton@kealia.com>
20918
20919 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20920 of some print tests, where appropriate. Add tests for C::D::cd,
20921 E::ce, F::cXfX, G::XgX.
20922 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20923
594e6d67
RE
209242003-09-25 Richard Earnshaw <rearnsha@arm.com>
20925
20926 * lib/java.exp (java_init): Import target_alias before using it.
20927
10f0d451
DC
209282003-09-25 David Carlton <carlton@kealia.com>
20929
20930 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20931
274bcba0
EZ
209322003-09-23 Elena Zannoni <ezannoni@redhat.com>
20933
d63a86f8 20934 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 20935 weirdness.
274bcba0 20936
cdbf20f7
MC
209372003-09-17 Michael Chastain <mec@shout.net>
20938
20939 * gdb.cp/gdb1355.exp: New file.
20940 * gdb.cp/gdb1355.c: New file.
20941
71e06f80
CV
209422003-09-15 Corinna Vinschen <vinschen@redhat.com>
20943
20944 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20945 * gdb.asm/sh.inc: New file.
20946
5c4e30ca
DC
209472003-09-11 David Carlton <carlton@kealia.com>
20948
bd45b7af
DC
20949 * gdb.cp/namespace.exp: Add tests for namespace types.
20950 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
20951 (test_namespace): New.
20952
1c199746
EZ
209532003-09-11 Elena Zannoni <ezannoni@redhat.com>
20954
a9c64011 20955 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 20956 * gdb.stabs/weird.exp: Ditto.
1c199746 20957
04ed252f
MC
209582003-09-08 Michael Chastain <mec@shout.net>
20959
20960 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
20961
d8a2d9e7
MC
209622003-09-07 Michael Chastain <mec@shout.net>
20963
20964 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
20965 'parse error'.
20966
161afb24
MK
209672003-09-07 Mark Kettenis <m.kettenis@osp.nl>
20968
20969 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
20970
49f2741a
MC
209712003-08-30 Michael Chastain <mec@shout.net>
20972
20973 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
20974 * gdb.gdb/observer.exp: Ditto.
20975 * gdb.gdb/xfullpath.exp: Ditto.
20976
8afa723e
MK
209772003-08-29 Mark Kettenis <kettenis@gnu.org>
20978
20979 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
20980 *-*-*bsd*.
20981
f31dfe3b
JJ
209822003-08-28 Jeff Johnston <jjohnstn@redhat.com>
20983
20984 * gdb.base/dump.exp: Skip for ia64.
20985
4630e498
JJ
209862003-08-25 Jeff Johnston <jjohnstn@redhat.com>
20987
20988 * gdb.asm/asm-source.exp: Add ia64 support.
20989 * gdb.asm/ia64.inc: New file.
20990
1105b7ef
MC
209912003-08-22 Michael Chastain <mec@shout.net>
20992
20993 * gdb.cp: New directory.
20994 * gdb.cp/*: Copy from gdb.c++/*.
20995 * gdb.c++/*: Remove.
20996 * Makefile.in: Change gdb.c++ to gdb.cp.
20997 * configure.in: Ditto.
20998 * configure: Regnerate.
20999
c945b932
MK
210002003-08-18 Mark Kettenis <kettenis@gnu.org>
21001
21002 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21003 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21004
2b66634b
DJ
210052003-08-17 Daniel Jacobowitz <drow@mvista.com>
21006
21007 * mi-var-display.exp (-var-list-children weird): Accept function
21008 pointers with argument types.
21009 * mi1-var-display.exp (-var-list-children weird): Likewise.
21010 * mi2-var-display.exp (-var-list-children weird): Likewise.
21011
a356f73b
DJ
210122003-08-17 Daniel Jacobowitz <drow@mvista.com>
21013
21014 * gdb.base/annota3.exp: Add missing newline.
21015
483417b8
MC
210162003-08-06 Michael Chastain <mec@shout.net>
21017
21018 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21019
c99c59c3
MS
210202003-08-12 Michael Snyder <msnyder@redhat.com>
21021
21022 * gdb.base/float.exp: Add test for SH.
21023
55ed7501
MK
210242003-08-10 Mark Kettenis <kettenis@gnu.org>
21025
21026 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21027
1a371f2e
EZ
210282003-08-07 Elena Zannoni <ezannoni@redhat.com>
21029
21030 * gdb.base/completion.exp: Remove reduntant completion test
21031 on filename.
21032
e0f353ce
EZ
210332003-08-07 Elena Zannoni <ezannoni@redhat.com>
21034
a9c64011
AS
21035 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21036 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21037 gdb.trace/save-trace.exp: Make sure that full pathnames are
21038 escaped correctly.
e0f353ce 21039
5710a1af 210402003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 21041
a9c64011
AS
21042 * configure.in: Don't generate config.h from config.hin.
21043 * configure: Regenerate.
21044 * config.hin: Remove file.
21045 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21046 * gdb.threads/pthreads.c: Ditto.
5710a1af 21047
dcd81ce9
DJ
210482003-08-07 Daniel Jacobowitz <drow@mvista.com>
21049
21050 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21051 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21052 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21053 Replace ld24 with seth/add3.
21054
6009d884
AC
210552003-08-02 Andrew Cagney <cagney@redhat.com>
21056
21057 * gdb.base/annota3.exp: New file.
21058 * gdb.base/annota3.c: New file.
21059 * gdb.c++/annota3.exp: New file.
21060 * gdb.c++/annota3.cc: New file.
21061
51514e06
MC
210622003-07-29 Michael Chastain <mec@shout.net>
21063
21064 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21065 actually failed.
21066 (do_pass): Likewise.
21067 * gdb.threads/tls.exp: Always initialize no_of_threads.
21068
4ee6625b
DJ
210692003-07-27 Daniel Jacobowitz <drow@mvista.com>
21070
21071 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21072 pattern.
21073 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21074 * gdb.threads/tls.exp: Recognize one case of the host library not
21075 supporting TLS.
21076
225f2bf6
AC
210772003-07-27 Andrew Cagney <cagney@redhat.com>
21078
21079 * gdb.base/fileio.exp: Use SH when running commands using
21080 remote_exec.
21081
bcb27c9f
DJ
210822003-07-24 Daniel Jacobowitz <drow@mvista.com>
21083
21084 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21085 * gdb.base/relocate.c (dummy): New padding array.
21086
3d67be83
MS
210872003-07-22 Michael Snyder <msnyder@redhat.com>
21088
d63a86f8 21089 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
21090
21091 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21092 patterns to be more general, accepting old and new output.
21093 Some output chars (such as '+') also must be quoted.
d63a86f8 21094 Some addresses are displayed numerically instead of
3d67be83
MS
21095 symbolically.
21096
57ba3b85
MS
210972003-07-23 Michael Snyder <msnyder@redhat.com>
21098
686d097c
MS
21099 * gdb.base/return2.exp: Don't test long-long return.
21100
57ba3b85
MS
21101 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21102 * gdb.disasm/t01_mov.exp: Ditto.
21103 * gdb.disasm/t02_mova.s: Ditto.
21104 * gdb.disasm/t02_mova.exp: Ditto.
21105 * gdb.disasm/t03_add.s: Ditto.
21106 * gdb.disasm/t03_add.exp: Ditto.
21107 * gdb.disasm/t04_sub.s: Ditto.
21108 * gdb.disasm/t04_sub.exp: Ditto.
21109 * gdb.disasm/t05_cmp.s: Ditto.
21110 * gdb.disasm/t05_cmp.exp: Ditto.
21111 * gdb.disasm/t06_ari2.s: Ditto.
21112 * gdb.disasm/t06_ari2.exp: Ditto.
21113 * gdb.disasm/t07_ari3.s: Ditto.
21114 * gdb.disasm/t07_ari3.exp: Ditto.
21115 * gdb.disasm/t08_or.s: Ditto.
21116 * gdb.disasm/t08_or.exp: Ditto.
21117 * gdb.disasm/t09_xor.s: Ditto.
21118 * gdb.disasm/t09_xor.exp: Ditto.
21119 * gdb.disasm/t10_and.s: Ditto.
21120 * gdb.disasm/t10_and.exp: Ditto.
21121 * gdb.disasm/t11_logs.s: Ditto.
21122 * gdb.disasm/t11_logs.exp: Ditto.
21123 * gdb.disasm/t12_bit.s: Ditto.
21124 * gdb.disasm/t12_bit.exp: Ditto.
21125 * gdb.disasm/t13_otr.s: Ditto.
21126 * gdb.disasm/t13_otr.exp: Ditto.
21127
e00759ef
EZ
211282003-07-22 Elena Zannoni <ezannoni@redhat.com>
21129
21130 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21131
8bc2021f
EZ
211322003-07-22 Elena Zannoni <ezannoni@redhat.com>
21133
a9c64011
AS
21134 * gdb.threads/tls.c : New file.
21135 * gdb.threads/tls.exp : New file.
21136 * gdb.threads/tls-main.c : New file.
21137 * gdb.threads/tls-shared.c : New file.
21138 * gdb.threads/tls-shared.exp : New file.
8bc2021f 21139
89320c4c
AS
211402003-07-22 Andreas Schwab <schwab@suse.de>
21141
21142 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21143
180dea7c
AS
211442003-07-20 Andreas Schwab <schwab@suse.de>
21145
21146 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21147 due to insn reordering.
21148
0714963c
AC
211492003-07-15 Andrew Cagney <cagney@redhat.com>
21150
21151 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21152
98a23b3f
MC
211532003-07-15 Michael Chastain <mec@shout.net>
21154
21155 * gdb.base/gdb1250.exp: New file.
21156 * gdb.base/gdb1250.c: New file.
21157
27e417a2
ML
211582003-07-09 Michal Ludvig <mludvig@suse.cz>
21159
21160 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21161 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21162
8bc2021f
EZ
211632003-07-09 Elena Zannoni <ezannoni@redhat.com>
21164
a9c64011
AS
21165 * gdb.threads/tls.c: New file.
21166 * gdb.threads/tls.exp: New file.
21167 * gdb.threads/tls-main.c: New file.
21168 * gdb.threads/tls-shared.c: New file.
21169 * gdb.threads/tls-shared.exp: New file.
8bc2021f 21170
d99968dc
EZ
211712003-07-09 Elena Zannoni <ezannoni@redhat.com>
21172
21173 * gdb.base/annota1.exp: Make sure that we properly escape the
21174 full path of the source file. Xfail more permissive patterns,
d63a86f8 21175 due to a compiler debug info problem.
d99968dc 21176
83876b3b
AS
211772003-07-07 Andreas Schwab <schwab@suse.de>
21178
2705e972
AS
21179 * gdb.asm/m68k.inc: New file.
21180 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21181
83876b3b
AS
21182 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21183 arguments"): Also match negative number.
21184
21185 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21186
3a871b37
DJ
211872003-07-03 Daniel Jacobowitz <drow@mvista.com>
21188
21189 * gdb.base/store.c (charest): New typedef.
21190 (add_char): Rename to add_charest, update.
21191 (wack_char): Rename to wack_charest, update types. Return l + r
21192 to keep r live across the call.
21193 (wack_short, wack_int, wack_long, wack_longest, wack_float)
21194 (wack_double, wack_doublest): Return l + r to keep r live across
21195 the call.
21196 * gdb.base/store.exp: Accomodate store.c changes.
21197
b2a7f303
DC
211982003-06-30 David Carlton <carlton@kealia.com>
21199
21200 * gdb.c++/maint.exp (test_invalid_name): New.
21201 (test_first_component): Add tests for invalid names.
21202
3c6cb4a1
MC
212032003-06-29 Michael Chastain <mec@shout.net>
21204
21205 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21206 output of '<VTT for class>' for virtual base classes.
21207
f1c2644b
DJ
212082003-06-29 Daniel Jacobowitz <drow@mvista.com>
21209
21210 * gdb.base/completion.exp: Tab-complete "complet" instead of
21211 "compl".
21212 * gdb.base/complex.exp, gdb.base/complex.c: New files.
21213
18080350
DJ
212142003-06-29 Daniel Jacobowitz <drow@mvista.com>
21215
21216 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
21217 * gdb.base/volatile.exp: Likewise.
21218
f56973f8
DJ
212192003-06-29 Daniel Jacobowitz <drow@mvista.com>
21220
21221 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
21222 gdb/1265.
21223
212242003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
21225 Daniel Jacobowitz <drow@mvista.com>
21226
21227 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
21228 initial line count of 'captured_main' from 26 to 32.
21229 (test_with_self): Allow xmalloc call to be interleaved with the
21230 preceding two lines.
21231
e766d4d6
JB
212322003-06-24 Joel Brobecker <brobecker@gnat.com>
21233
21234 * gdb.base/bang.exp: New testcase.
21235
f125c9a4
JB
212362003-06-23 Joel Brobecker <brobecker@gnat.com>
21237
21238 * gdb.base/langs.exp: Add some tests for the "minimal" language
21239 support.
21240
6e25beaf
EZ
212412003-06-23 Elena Zannoni <ezannoni@redhat.com>
21242
21243 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
21244 the testcase.
21245
2f816dda
DJ
212462003-06-22 Daniel Jacobowitz <drow@mvista.com>
21247
21248 * gdb.base/relocate.exp: Test add-symbol-file with a variable
21249 offset.
21250
db5a5748
DJ
212512003-06-22 Daniel Jacobowitz <drow@mvista.com>
21252
21253 * gdb.c++/pr-1210.cc: New file.
21254 * gdb.c++/pr-1210.exp: New file.
21255
1df0c130
DJ
212562003-06-21 Daniel Jacobowitz <drow@mvista.com>
21257
21258 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
21259 000-exec-continue.
21260
a92feac0
MK
212612003-06-15 Mark Kettenis <kettenis@gnu.org>
21262
21263 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
21264 on *-*-*bsd* instead of *-*-freebsd*.
21265
81a58f5b
AC
212662003-06-14 Andrew Cagney <cagney@redhat.com>
21267
21268 * gdb.base/store.exp: Test longest and doublest. Test all
21269 parameters. Weaken return statement match.
21270 * gdb.base/store.c: Add longest and doublest - aka long long and
21271 long double functions. Put all parameters into local register
21272 variables. Use negative values.
21273
b257a0d3
AC
212742003-06-14 Andrew Cagney <cagney@redhat.com>
21275
21276 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
21277 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
21278 exit status.
21279 * gdb.base/fileio.exp: Disable target when nointerrupts and
21280 noinferiorio, instead of limiting it to remote. Use remote_exec
21281 instead of system.
d63a86f8 21282
21c38304
JJ
212832003-06-12 Jeff Johnston <jjohnstn@redhat.com>
21284
21285 * gdb.base/float.exp: Add ia64 support.
21286
1bcdb424
CV
212872003-06-12 Corinna Vinschen <vinschen@redhat.com>
21288
21289 * gdb.base/fileio.exp: Run only on remote targets.
21290
6aeb981f
CV
212912003-06-10 Corinna Vinschen <vinschen@redhat.com>
21292
21293 * gdb.base/fileio.c: New file, testing File-I/O.
21294 * gdb.base/fileio.exp: Ditto.
21295
53df362e
RG
212962003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
21297
21298 * gdb.base/shreloc.exp: New file, check symbol values obtained from
21299 shared objects after relocation at load time (gdb PR/1132).
21300 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 21301 as above, part of the shared object relocation test.
53df362e 21302
ffee1b46
MK
213032003-06-08 Mark Kettenis <kettenis@gnu.org>
21304
b5ca3722
MK
21305 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
21306 fully filled history list.
21307 * gdb.base/gdb_history: New file.
21308
03ed860d
MK
21309 * gdb.base/signals.exp: XFAIL "continue to func1" on
21310 i*86-*-freebsd*.
21311
ffee1b46
MK
21312 * gdb.base/attach.exp: When trying to attach to a nonexistent
21313 process, make it possible to specify the PID based on the target,
21314 and do so for *-*-freebsd*.
21315
d80dbb52
RH
213162003-06-02 Richard Henderson <rth@redhat.com>
21317
21318 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
21319
6dd77b81
RH
213202003-06-02 Richard Henderson <rth@redhat.com>
21321
21322 * gdb.base/selftest.exp: Next over lim_at_start initialization.
21323
f6347e16
RH
213242003-06-02 Richard Henderson <rth@redhat.com>
21325
21326 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
21327
2c161407
DJ
213282003-06-01 Daniel Jacobowitz <drow@mvista.com>
21329
21330 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
21331 of globalvar.
21332
572eb746
MK
213332003-06-01 Mark Kettenis <kettenis@gnu.org>
21334
21335 * gdb.asm/asm-source.exp: Check for memory read errors in
21336 disassembler test on *BSD too.
21337
9e9617a5
RH
213382003-06-01 Richard Henderson <rth@redhat.com>
21339
21340 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
21341 for .frame.
21342 (gdbasm_call): Lose ldgp.
21343 (gdbasm_startup): Add frame information.
21344 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
21345
7b34ad4e
MK
213462003-05-31 Mark Kettenis <kettenis@gnu.org>
21347
21348 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
21349 i?86-*-*.
21350
10059fdf
MK
213512003-05-30 Mark Kettenis <kettenis@gnu.org>
21352
21353 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21354 FreeBSD.
21355
acf4b816
RH
213562003-05-29 Richard Henderson <rth@redhat.com>
21357
21358 * gdb.asm/alpha.inc: New file.
21359 * gdb.asm/asm-source.exp: Use it.
21360
e9ecd949
JB
213612003-05-29 Jim Blandy <jimb@redhat.com>
21362
21363 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
21364 'core.PID'.
21365
e3e5a4f3
JB
213662003-05-22 Jim Blandy <jimb@redhat.com>
21367
21368 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
21369 backtrace.
d63a86f8 21370
72fe3d25
DC
213712003-05-20 David Carlton <carlton@math.stanford.edu>
21372
21373 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
21374 this time.
21375
58da2eb2
DC
213762003-05-19 David Carlton <carlton@bactrian.org>
21377
21378 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
21379 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
21380
1fcb5155
DC
213812003-05-19 David Carlton <carlton@bactrian.org>
21382
21383 * gdb.c++/namespace.exp: Add namespace scope and anonymous
21384 namespace tests.
21385 Bump copyright date.
21386 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
21387 (main): Call C::D::marker2.
21388 * gdb.c++/namespace1.cc: New file.
21389
85e85163
JJ
213902003-05-14 Jeff Johnston <jjohnstn@redhat.com>
21391
21392 Roland McGrath <roland@redhat.com>
d63a86f8 21393 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
21394 there is no manager thread.
21395
a25fbfec
JJ
213962003-05-08 Jeff Johnston <jjohnstn@redhat.com>
21397
d63a86f8
RM
21398 * gdb.threads/schedlock.exp: Remove assumption that all threads
21399 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
21400 in one of the child threads rather than the main thread.
21401
be375bae
JB
214022003-05-07 Jim Blandy <jimb@redhat.com>
21403
09bf6082
JB
21404 Add support for assembly source testing on the s390x.
21405 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
21406 architecture.
21407 * gdb.asm/s390x.inc: New file.
21408
be375bae
JB
21409 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
21410 succession of 'if' statements.
21411
00905d52
AC
214122003-05-05 Andrew Cagney <cagney@redhat.com>
21413
21414 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
21415
b1e29e33
AC
214162003-05-05 Andrew Cagney <cagney@redhat.com>
21417
21418 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
21419 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
21420
e33d66ec
EZ
214212003-05-02 Elena Zannoni <ezannoni@redhat.com>
21422
21423 * gdb.base/charset.exp: Update based on new behavior of set/show
21424 charset commands.
21425
2b6fd0d8
AC
214262003-05-01 Andrew Cagney <cagney@redhat.com>
21427
21428 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
21429 variable do not give memory errors.
21430
130cacce
AF
214312003-04-30 Adam Fedor <fedor@gnu.org>
21432
21433 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
21434 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
21435 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
21436 gdb.objc/basicclass.m: : New files
21437
21438 * lib/gdb.exp (gdb_compile_objc): New procedure.
21439
bea71854
DJ
214402003-04-27 Daniel Jacobowitz <drow@mvista.com>
21441
21442 * gdb.base/signals.exp: Make backtrace tests more specific.
21443
0f20eeea
DC
214442003-04-23 David Carlton <carlton@bactrian.org>
21445
21446 * gdb.c++/maint.exp (test_first_component): Add tests for
21447 'operator' in more locations.
21448
c8c4d8dc
KB
214492003-04-16 Kevin Buettner <kevinb@redhat.com>
21450
21451 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
21452
3fe60e3c
EZ
214532003-04-16 Elena Zannoni <ezannoni@redhat.com>
21454
21455 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 21456 func marke' instead. Update test name.
3fe60e3c 21457
9219021c
DC
214582003-04-15 David Carlton <carlton@math.stanford.edu>
21459
21460 * gdb.c++/maint.exp: New file.
21461
5dd55bdd
EZ
214622003-04-14 Elena Zannoni <ezannoni@redhat.com>
21463
21464 * gdb.threads/schedlock.c: Change type of thread function argument
21465 to long, to avoid warnings on 64-bit platforms.
21466
00890572
EZ
214672003-04-14 Elena Zannoni <ezannoni@redhat.com>
21468
a9c64011
AS
21469 * gdb.base/attach.exp: Add new message from ptrace in case of
21470 attaching to nonexistent process.
d63a86f8 21471
93201743
JB
214722003-04-11 Jim Blandy <jimb@redhat.com>
21473
21474 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21475 gdb.c++/userdef.cc: Place comments on the lines to which the
21476 marker function might return.
21477 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21478 gdb.c++/userdef.exp: Look for those comments to check that we've
21479 returned to the right place, instead of checking line numbers.
21480
2a11c64d
EZ
214812003-04-11 Elena Zannoni <ezannoni@redhat.com>
21482
a9c64011
AS
21483 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
21484 match on sourcefile name, instead of directory name.
2a11c64d 21485
68ab8fc5
EZ
214862003-04-10 Elena Zannoni <ezannoni@redhat.com>
21487
d63a86f8 21488 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
21489 working directory name.
21490
5624293a
JB
214912003-04-09 Jim Blandy <jimb@redhat.com>
21492
21493 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21494 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
21495 after an inferior function call, report the failure, but allow the
21496 test to continue.
21497
f1f02ee4
SC
214982003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21499
21500 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21501 with -DPROTOTYPES.
21502
6eb79af0
SC
215032003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21504
21505 * gdb.base/break.exp: Revert last patch.
21506
8dfb4cf0
SC
215072003-04-04 Stephane Carrez <stcarrez@nerim.fr>
21508
21509 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21510 with -DPROTOTYPES.
21511
ed4c619a
AC
215122003-04-02 Andrew Cagney <cagney@redhat.com>
21513
21514 * gdb.base/callfuncs.exp: Make "print add" messages unique.
21515 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
21516 matching directories by the name breakpoint.
21517 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
21518 Make "continue to marker1" consistent.
21519 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
21520 message consistent.
21521 * lib/gdb.exp: Put "the program is no longer running", and "the
21522 program exited" in parenthesis.
21523 * lib/mi-support.exp: Ditto.
d63a86f8 21524
4e35d5f0 215252003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 21526
4e35d5f0
BR
21527 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
21528
71900fe8
AC
215292003-03-29 Andrew Cagney <cagney@redhat.com>
21530
21531 * gdb.base/sizeof.c (main): Print the value of '\377'.
21532 * gdb.base/sizeof.exp: Check the sign of '\377'.
21533
c0655a16
MC
215342003-03-27 Michael Chastain <mec@shout.net>
21535
21536 * gdb.base/gdb1090.exp: New file.
21537 * gdb.base/gdb1090.cc: New file.
21538
5b2a3989
JB
215392003-03-27 J. Brobecker <brobecker@gnat.com>
21540
21541 * gdb.gdb/observer.exp: New regression test.
21542
79876890
MC
215432003-03-27 Michael Chastain <mec@shout.net>
21544
21545 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21546 * gdb.base/ptype.exp: Likewise.
21547
6eac95e3
CV
215482003-03-27 Corinna Vinschen <vinschen@redhat.com>
21549
21550 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21551
e8c71839
MC
215522003-03-26 Michael Chastain <mec@shout.net>
21553
21554 * gdb.base/ptype.exp: Actually use some typedef'd types.
21555
71b10041
SC
215562003-03-21 Stephane Carrez <stcarrez@nerim.fr>
21557
21558 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21559 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21560
2512cf80
CV
215612003-03-20 Corinna Vinschen <vinschen@redhat.com>
21562
21563 * gdb.base/default.exp: Fix regular expression.
21564
0d195a4f
CV
215652003-03-20 Corinna Vinschen <vinschen@redhat.com>
21566
21567 * gdb.base/args.exp: Fix regular expression.
21568
8a2dbca8
CV
215692003-03-20 Corinna Vinschen <vinschen@redhat.com>
21570
21571 * gdb.base/help.exp: Allow Win32 child process.
21572
bf028682
CV
215732003-03-20 Corinna Vinschen <vinschen@redhat.com>
21574
21575 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21576 when stepping out of main().
21577
182dbe85
CV
215782003-03-20 Corinna Vinschen <vinschen@redhat.com>
21579
21580 * gdb.base/default.exp: Check for win32 specific message when calling
21581 "run" without executable.
21582
d67a6ba5
CV
215832003-03-20 Corinna Vinschen <vinschen@redhat.com>
21584
21585 * gdb.base/args.exp: Expect .exe in output.
21586
a955b5bb
CV
215872003-03-20 Corinna Vinschen <vinschen@redhat.com>
21588
21589 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21590 Cygwin native.
21591
bf6bad4b
AC
215922003-03-17 Andrew Cagney <cagney@redhat.com>
21593
21594 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21595 vector registes.
21596 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21597 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21598
293e9a31
DC
215992003-03-17 David Carlton <carlton@math.stanford.edu>
21600
21601 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21602 test, for PR breakpoints/38.
21603 Call test_watchpoint_and_breakpoint.
21604 * gdb.base/watchpoint.c (func3): New function.
21605 (main): Call func3.
21606
5330f2db
DC
216072003-03-04 David Carlton <carlton@math.stanford.edu>
21608
21609 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21610 Garply<Garply<char> >:: garply".
21611 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21612 with respect to PR c++/1111; note also PR c++/1113.
21613 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21614 respect to PR c++/1062.
21615 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21616
6ece72da
DC
216172003-03-03 David Carlton <carlton@math.stanford.edu>
21618
21619 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21620 with respect to PR c++/57.
21621 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21622 c++/826.
21623 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21624 respect to PR c++/57.
21625
85ca1584
DC
216262003-03-03 David Carlton <carlton@math.stanford.edu>
21627
21628 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21629 respect to PR c++/33 into FAILs.
21630
98e9c5b8
MC
216312003-03-03 Michael Chastain <mec@shout.net>
21632
7bedbf27
MC
21633 * configure.in: Update copyright years.
21634
216352003-03-03 Michael Chastain <mec@shout.net>
21636
21637 * Makefile.in: Update copyright years.
98e9c5b8 21638
f683e100
DC
216392003-02-28 David Carlton <carlton@math.stanford.edu>
21640
21641 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21642 print class instead of struct and/or superfluous protection
21643 specifiers, as long as the resulting output is equivalent to the
21644 source code.
21645 Delete FIXME from end of messages on tests that don't need
21646 fixing.
21647
a9e0cf2c
DC
216482003-02-28 David Carlton <carlton@math.stanford.edu>
21649
21650 * gdb.c++/templates.exp (do_tests): Allow const in the two
21651 Foo<volatile char *>::foo tests.
21652
e8d359df
MS
216532003-02-27 Michael Snyder <msnyder@redhat.com>
21654
d63a86f8 21655 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
21656 will be consistant.
21657
0b71dc91
DC
216582003-02-26 David Carlton <carlton@math.stanford.edu>
21659
21660 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21661 char *>::foo" test with respect to PR c++/33. Create a new test
21662 which is identical to that one except that it doesn't put the
21663 space between the "char" and the "*"; KFAIL it, too.
21664
dd14ab43
DC
216652003-02-26 David Carlton <carlton@math.stanford.edu>
21666
21667 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21668 template types into either PASSes or KFAILs (corresponding to PR
21669 c++/57). Tweak indentation. Update copyright.
21670
1146c7f1
SC
216712003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21672
21673 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21674
74641dfb
MC
216752003-02-13 Michael Chastain <mec@shout.net>
21676
21677 * gdb.base/exprs.exp: Remove i960 remnants.
21678 * gdb.base/funcargs.exp: Likewise.
21679 * gdb.base/list.exp: Likewise.
21680 * gdb.base/ptype.exp: Likewise.
21681
559cd2d0
DC
216822003-02-14 David Carlton <carlton@math.stanford.edu>
21683
21684 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21685 pEe->D::vg()" from XFAIL to KFAIL.
21686
c4f90d87
JM
216872003-02-13 Jason Molenda (jmolenda@apple.com)
21688
21689 * gdb.base/maint.exp: Update maint print statistics regexp to include
21690 new entries.
21691
cbc4d97c
MC
216922003-02-13 Michael Chastain <mec@shout.net>
21693
21694 * gdb.c++/inherit.exp: Remove call to get_debug_format.
21695
40f235b7
MC
216962003-02-12 Michael Chastain <mec@shout.net>
21697
21698 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21699 * gdb.c++/inherit.exp: Likewise.
21700 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21701 * gdb.c++/templates.exp: Likewise.
21702 * gdb.c++/virtfunc.exp: Likewise.
21703
c56716b0
JM
217042003-02-06 Jason Molenda (jason-cl@molenda.com)
21705
21706 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21707 why the code is written that way.
21708
070afcf8
MC
217092003-02-05 Michael Chastain <mec@shout.net>
21710
21711 * gdb.base/dump.exp: Add missing copyright line.
21712
5d0331e5
JM
217132003-02-05 Jason Molenda (jason-cl@molenda.com)
21714
f7ae6d3e 21715 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
21716 at the beginning so the breakpoint doesn't get set on the loop.
21717
92851186
MC
217182003-02-05 Michael Chastain <mec@shout.net>
21719
21720 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21721 output for configurations with gcc 2.95.3.
21722
cbf1e085
AC
217232003-02-05 Keith Seitz <keiths@redhat.com>
21724 Andrew Cagney <ac131313@redhat.com>
21725
21726 * gdb.mi/mi-cli.exp: New file.
d63a86f8 21727
29518e1e
MC
217282003-02-04 Michael Chastain <mec@shout.net>
21729
21730 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21731 Call perror and then continue.
21732
5af1d5f3
MC
217332003-02-03 Michael Chastain <mec@shout.net>
21734
21735 * gdb.c++/pr-1023.cc: New file.
21736 * gdb.c++/pr-1023.exp: New file.
21737
6b549786
JB
217382003-02-05 Jim Blandy <jimb@redhat.com>
21739
21740 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21741 it's local to foobar. Check for it there, and check that it's not
21742 present in main.
21743 * gdb.c++/local.cc (marker2): New function.
21744 (foobar): Call marker1.
21745 (main): Call marker2 instead of marker1.
21746
67f16606
AC
217472003-02-04 Andrew Cagney <ac131313@redhat.com>
21748
21749 * gdb.disasm/mn10200.exp: Obsolete file.
21750 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21751 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21752 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21753
1c5cb38e
DC
217542003-02-04 David Carlton <carlton@math.stanford.edu>
21755
21756 * gdb.c++/overload.exp: Test intToChar(1).
21757 * gdb.c++/overload.cc (intToChar): New.
21758 (main): Call intToChar.
21759
d1fe6965
DC
217602003-02-03 David Carlton <carlton@math.stanford.edu>
21761
21762 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21763 'might_kfail' arg.
21764 KFAIL some of the continue_to_bp_overloaded calls, according to
21765 PR c++/1025.
21766
9ba61c5d
MC
217672003-02-01 Michael Chastain <mec@shout.net>
21768
21769 * gdb.base/advance.c (marker1): New marker function.
21770 * gdb.base/advance.exp: When the 'advance' command lands on the
21771 return breakpoint, it can legitimately stop on either the
21772 current line or the next line. Accommodate both outcomes.
21773 * gdb.base/until.exp: Likewise.
21774
e7494ffb
AC
217752003-02-02 Andrew Cagney <ac131313@redhat.com>
21776
21777 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21778 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21779 now a list, not a tuple.
21780 * gdb.mi/mi-var-display.exp: Ditto.
21781 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 21782
075559bc
AC
217832003-02-01 Andrew Cagney <ac131313@redhat.com>
21784
21785 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
21786 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21787 stack backtraces.
21788 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 21789
2bd4c7b1
MK
217902003-02-01 Mark Kettenis <kettenis@gnu.org>
21791
21792 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21793 gdb.mi/mi1-pthreads.exp: Return instead of calling
21794 gdb_suppress_entire_file.
21795
eabd8992
MS
217962003-02-01 Mark Salter <msalter@redhat.com>
21797
21798 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21799
71469e2f
MS
218002003-01-31 Mark Salter <msalter@redhat.com>
21801
21802 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21803 Support empty arg.
21804
38a94d44
MC
218052003-01-30 Michael Chastain <mec@shout.net>
21806
21807 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21808 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21809 has been fixed in gdb/readline on 2003-01-09.
21810
19ea9e73
MS
218112003-01-29 Michael Snyder <msnyder@redhat.com>
21812
e8d359df
MS
21813 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21814 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
21815 * gdb.base/args.exp: Skip if target does not support args passing.
21816
2307bd6a
DJ
218172003-01-22 Daniel Jacobowitz <drow@mvista.com>
21818
19ea9e73 21819 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
21820 gdb_test. Accept a list of expect arguments as the third
21821 parameter.
21822 (gdb_test): Use it.
21823
f2dd3617
EZ
218242003-01-20 Elena Zannoni <ezannoni@redhat.com>
21825
21826 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21827 allow for different test tree configurations. Update some
21828 tescases accordingly.
21829 * gdb.arch/altivec-regs.exp: Ditto.
21830 * gdb.asm/asm-source.exp: Ditto.
21831 * gdb.base/advance.exp: Ditto.
21832 * gdb.base/display.exp: Ditto.
d63a86f8 21833 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
21834 * gdb.base/mips_pro.exp: Ditto.
21835 * gdb.base/overlays.exp: Ditto.
21836 * gdb.base/relocate.exp: Ditto.
21837 * gdb.base/setshow.exp: Ditto.
21838 * gdb.base/step-line.exp: Ditto.
21839 * gdb.base/step-test.exp: Ditto.
21840 * gdb.base/until.exp: Ditto.
21841 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21842
c71cdefd
DC
218432003-01-17 David Carlton <carlton@math.stanford.edu>
21844
21845 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21846 corresponding to PR c++/945.
21847 Update copyright.
21848
fdba05d7
DC
218492003-01-17 David Carlton <carlton@math.stanford.edu>
21850
21851 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21852 corresponding to PR c++/68.
21853
218542003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
21855
21856 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21857 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21858 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21859
c362c33a
EZ
218602003-01-15 Elena Zannoni <ezannoni@redhat.com>
21861
0fbc361c
EZ
21862 * gdb.base/break.exp: Fix change of default location, because of
21863 removal of until tests.
21864 * gdb.base/help.exp: Update test for new 'until' help message.
21865 Add test for help on 'advance'.
a9c64011 21866 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 21867
dabf8a35
MK
218682003-01-15 Mark Kettenis <kettenis@gnu.org>
21869
21870 * gdb.base/default.exp: Adapt "info float" test for recent changes
21871 to that command. Add test for "info vector".
21872 * gdb.base/float.exp: New file. Add test for "info float" that
21873 resembles the old test in gdb.base/default.exp.
21874
a1769aca
DC
218752003-01-15 David Carlton <carlton@math.stanford.edu>
21876
21877 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21878
82025e13
EZ
218792003-01-15 Elena Zannoni <ezannoni@redhat.com>
21880
21881 * gdb.base/break.exp: Move the tests of until command from here...
21882 * gdb.base/until.exp: ... to here. New file. Add other tests.
21883 * gdb.base/advance.c: New file.
21884 * gdb.base/advance.exp: New file.
21885
8f9ab801
EZ
218862003-01-14 Elena Zannoni <ezannoni@redhat.com>
21887
a9c64011
AS
21888 * gdb.base/args.c: New file.
21889 * gdb.base/args.exp: New file.
8f9ab801 21890
9ae66589
DJ
218912003-01-14 Daniel Jacobowitz <drow@mvista.com>
21892
21893 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21894
8d77e5c3
DJ
218952003-01-14 Daniel Jacobowitz <drow@mvista.com>
21896
21897 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21898
12d2f0a1
DJ
218992003-01-14 Daniel Jacobowitz <drow@mvista.com>
21900
21901 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21902 dates.
21903
6ca37014
DJ
219042003-01-13 Daniel Jacobowitz <drow@mvista.com>
21905
21906 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21907
b0023472
DJ
219082003-01-13 Daniel Jacobowitz <drow@mvista.com>
21909
21910 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21911 (ptype &*"foo").
21912 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21913
607fbc54 219142003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
21915
21916 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21917 * gdb.mi/mi1-console.exp: Likewise.
21918
607fbc54 219192003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
21920
21921 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21922 * gdb.mi/mi1-console.exp: Likewise.
21923
a1fb14a2
DJ
219242003-01-13 Daniel Jacobowitz <drow@mvista.com>
21925
21926 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21927
c4cf40b7
DJ
219282003-01-09 Daniel Jacobowitz <drow@mvista.com>
21929
21930 * gdb.base/detach.exp: New test.
21931
696d5a5b
DJ
219322003-01-09 Daniel Jacobowitz <drow@mvista.com>
21933
21934 * Makefile.in (ALL_SUBDIRS): New variable.
21935 (subdirs, clean, distclean): Use it.
21936 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21937 regenerating Makefile, since it is generated from the top level.
21938 * gdb.asm/Makefile.in: Likewise.
21939 * gdb.base/Makefile.in: Likewise.
21940 * gdb.c++/Makefile.in: Likewise.
21941 * gdb.disasm/Makefile.in: Likewise.
21942 * gdb.java/Makefile.in: Likewise.
21943 * gdb.mi/Makefile.in: Likewise.
21944 * gdb.threads/Makefile.in: Likewise.
21945 * gdb.trace/Makefile.in: Likewise.
21946
754533e4
DC
219472003-01-09 David Carlton <carlton@math.stanford.edu>
21948
21949 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21950 Add copyright year 2003.
21951
d8b3e9ee
MC
219522003-01-06 Michael Chastain <mec@shout.net>
21953
21954 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21955 When selecting a thread, 'line' and 'file' are optional.
21956 * gdb.mi/mi1-pthreads.exp: Likewise.
21957
8e9e0fe6
AS
219582003-01-06 Andreas Schwab <schwab@suse.de>
21959
21960 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
21961 failures.
21962
b5ab8ff3
DJ
219632003-01-04 Daniel Jacobowitz <drow@mvista.com>
21964
21965 Fix PR gdb/844
21966 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
21967 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
21968
21969 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
21970 instead of calling gdb_suppress_entire_file.
21971 * gdb.threads/print-threads.exp: Likewise.
21972 * gdb.threads/schedlock.exp: Likewise.
21973
21974 * gdb.threads/killed.exp: Return instead of calling
21975 gdb_suppress_entire_file.
21976 * gdb.threads/linux-dp.exp: Likewise.
21977 * gdb.threads/pthreads.exp: Likewise.
21978
1e698235
DJ
219792003-01-04 Daniel Jacobowitz <drow@mvista.com>
21980
21981 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
21982 stabs.
21983 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
21984 * gdb.base/whatis.exp: Always allow (void) after function names.
21985
147ff08c
DJ
219862003-01-04 Daniel Jacobowitz <drow@mvista.com>
21987
21988 * gdb.c++/casts.exp: Correct regexp.
21989
dc62bfc2
MK
219902003-01-04 Mark Kettenis <kettenis@gnu.org>
21991
21992 * configure.in: Call AC_CONFIG_HEADER. Don't call
21993 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
21994 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
21995 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
21996 aforementioned directories in the AC_OUPUT call.
21997 * config.hin: New file.
21998 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21999 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22000 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22001 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22002 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22003 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22004 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22005 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22006 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22007 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22008 gdb.threads/configure.in, gdb.threads/configure,
22009 gdb.threads/config.in, gdb.trace/configure.in,
22010 gdb.trace/configure: Removed.
22011
77afa639
MC
220122003-01-03 Michael Chastain <mec@shout.net>
22013
22014 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22015 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22016
7634bb6e
DJ
220172003-01-03 Daniel Jacobowitz <drow@mvista.com>
22018
22019 * gdb.base/store.exp: Fix regular expressions.
22020
b39c905e
MK
220212002-12-28 Mark Kettenis <kettenis@gnu.org>
22022
22023 * configure.in: Rewrite.
22024 * configure: Regenerated.
22025
0a8551dd
DC
220262003-01-03 David Carlton <carlton@math.stanford.edu>
22027
22028 * gdb.base/psymtab.exp: New file.
22029 * gdb.base/psymtab1.c: Ditto.
22030 * gdb.base/psymtab2.c: Ditto.
22031
c60b7188
AF
220322002-12-23 Adam Fedor <fedor@gnu.org>
22033
22034 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22035
ee73db83
DC
220362002-12-23 David Carlton <carlton@math.stanford.edu>
22037
22038 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22039 and current_directory initialization.
22040
d6c1774e
JB
220412002-12-22 Jim Blandy <jimb@redhat.com>
22042
f0a847b8
JB
22043 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22044 rather than as part of the output file name.
22045
d6c1774e
JB
22046 * gdb.base/attach.exp: There's no need to copy the test program to
22047 /tmp; that was only ever necessary on HP/UX, and this test is
22048 entirely disabled there anyway.
22049
f0708dbb
JB
220502002-12-21 Jim Blandy <jimb@redhat.com>
22051
4c2acfea
JB
22052 * gdb.c++/psmang.exp: Doc fix.
22053
f0708dbb
JB
22054 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22055 test.
22056
9579e000
DC
220572002-12-20 David Carlton <carlton@math.stanford.edu>
22058
22059 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22060
d1810171
MC
220612002-12-18 Michael Chastain <mec@shout.net>
22062
22063 * gdb.c++/annota2.exp: Add copyright year 2002.
22064
76565097
DC
220652002-12-17 David Carlton <carlton@math.stanford.edu>
22066
22067 * gdb.c++/try_catch.cc: Add marker comments.
22068 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22069 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22070 * gdb.c++/m-static.cc: Ditto.
22071 * gdb.c++/m-static1.cc: Ditto.
22072 * gdb.c++/try_catch.cc: Ditto.
22073
da81390b
JJ
220742002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22075
22076 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22077 to see whether we are using the new -environment-directory
22078 command which resets via -r or the old version of the command
22079 which may prompt the user. Part of fix for gdb/741.
22080
b304d130
AC
220812002-12-13 Andrew Cagney <ac131313@redhat.com>
22082
22083 * gdb.fortran/types.exp: Update obsolete comment.
22084 * gdb.fortran/exprs.exp: Ditto.
22085 * lib/gdb.exp: Delete obsolete code.
22086 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22087 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22088 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22089 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22090 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22091 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22092 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22093 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22094 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22095 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22096 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22097 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22098 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22099 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22100 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22101 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22102 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22103 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22104 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22105 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22106 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22107 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22108 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22109 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22110 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22111 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22112 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22113 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22114 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22115 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22116 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22117 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22118 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22119 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22120 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22121 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22122 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22123
a23b6e6a
DC
221242002-12-11 David Carlton <carlton@math.stanford.edu>
22125
22126 * gdb.c++/m-data.exp: Add test for members that shadow global
22127 variables: see PR gdb/804.
22128 * gdb.c++/m-data.cc: Ditto.
22129
6604731b
DJ
221302002-12-10 Daniel Jacobowitz <drow@mvista.com>
22131
22132 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22133
de46ecd7
DC
221342002-12-06 David Carlton <carlton@math.stanford.edu>
22135
22136 * gdb.base/store.c: Don't declare functions static.
22137
27e829d0
AC
221382002-12-04 Andrew Cagney <ac131313@redhat.com>
22139
22140 * gdb.base/store.exp, gdb.base/store.c: New files.
22141
92806416
DJ
221422002-12-03 Daniel Jacobowitz <drow@mvista.com>
22143
22144 * gdb.base/selftest.exp: Update for current gdb.
22145
3bcbaac5
DJ
221462002-12-03 Daniel Jacobowitz <drow@mvista.com>
22147
22148 * gdb.base/maint.exp: Only dump symbols from one source file
22149 or objfile.
22150
f4f00b1f
DJ
221512002-12-03 Daniel Jacobowitz <drow@mvista.com>
22152
22153 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22154 function call.
22155
f1c8a949
JB
221562002-11-25 Jim Blandy <jimb@redhat.com>
22157
22158 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22159 function appearing in error message.
22160
9e297a97
DJ
221612002-11-21 Daniel Jacobowitz <drow@mvista.com>
22162
22163 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22164
1f312e79
JJ
221652002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22166
d63a86f8
RM
22167 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22168 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
22169 should be in mi console format. This is part of fix for PR gdb/604.
22170
83c31e7d
FN
221712002-09-18 Fernando Nasser <fnasser@redhat.com>
22172
22173 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22174 which explicitly prints the zero offset as "+0".
22175
322b3f65
DJ
221762002-10-22 Daniel Jacobowitz <drow@mvista.com>
22177
22178 * gdb.threads/schedlock.c (args): Make unsigned.
22179
221802002-10-21 Daniel Jacobowitz <drow@mvista.com>
22181
22182 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22183 numbers. Allow "foo2|selected stack frame".
22184 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22185 * gdb.asm/asmsrc2.s: Likewise.
22186 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
22187 comments.
22188 * gdb.asm/mips.inc: New file.
22189
5e2fe5b8
AF
221902002-10-18 Adam Fedor <fedor@gnu.org>
22191
22192 * gdb.base/default.exp: Update expected output to include 'ObjC'.
22193 * gdb.base/help.exp: Likewise.
22194
abe1a5d0
KB
221952002-10-17 Kevin Buettner <kevinb@redhat.com>
22196
22197 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22198 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22199
10abb1d4
JB
222002002-10-02 Jim Blandy <jimb@redhat.com>
22201
22202 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22203
1f609b42
AC
222042002-10-01 Andrew Cagney <ac131313@redhat.com>
22205
22206 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22207 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22208 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22209 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22210 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22211 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22212 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22213
0aee02e4
AC
222142002-09-29 Andrew Cagney <ac131313@redhat.com>
22215
22216 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
22217 * mi0-disassemble.exp, mi0-eval.exp: Delete.
22218 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
22219 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
22220 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
22221 * mi0-var-block.exp, mi0-var-child.exp: Delete.
22222 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 22223
6fde09ad
KB
222242002-09-27 Kevin Buettner <kevinb@redhat.com>
22225
22226 * gdb.base/annota1.exp (info break): Make directory components of
22227 path optional since not all compilers emit this debug information.
22228
889bf7c5
PA
22229 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
22230 step ends up stepping out of the function instead of stopping on
22231 the epilogue.
6fde09ad 22232
9e8aab75
KS
222332002-09-26 Keith Seitz <keiths@redhat.com>
22234
22235 * lib/insight-support.exp (gdbtk_start): Figure out where
22236 the insight executable is based on where gdb is. Use this
22237 executable to start insight instead of gdb.
22238
e36180d7
AC
222392002-09-25 Andrew Cagney <cagney@redhat.com>
22240
22241 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
22242
9dd34b2b
AC
222432002-09-24 Andrew Cagney <ac131313@redhat.com>
22244
22245 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
22246 test_isolated_complaints.
22247 (test_empty_complaint): New function.
22248 (test_empty_complaints): New function. Check no output when no
22249 complaints.
d63a86f8 22250
dea97812
KB
222512002-09-19 Jim Blandy <jimb@redhat.com>
22252
a9c64011 22253 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 22254
54951bd7
AC
222552002-09-19 Andrew Cagney <ac131313@redhat.com>
22256
22257 * gdb.gdb/complaints.exp: New file.
22258
dec43320
AC
222592002-09-18 Andrew Cagney <ac131313@redhat.com>
22260
22261 * gdb.base/maint.exp: Check `help maint internal-warning'.
22262
e70d6e3f
DC
222632002-09-18 David Carlton <carlton@math.stanford.edu>
22264
22265 * gdb.c++/m-static.exp: Remove breakpoints depending on line
22266 numbers, and replace them by a single breakpoint after the
22267 constructors are all finished.
22268 Add test 4.
22269 * gdb.c++/m-static.cc: Add test 4.
22270 * gdb.c++/m-static.h: New file.
22271 * gdb.c++/m-static1.cc: New file.
22272
22273 * gdb.c++/printmethod.exp: New file.
22274 * gdb.c++/printmethod.cc: New file.
22275
22276 * gdb.c++/pr-574.exp: New file.
22277 * gdb.c++/pr-574.cc: New file.
22278
afb5c968
CV
222792002-09-18 Corinna Vinschen <vinschen@redhat.com>
22280
22281 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
22282 embedded targets which never actually exit.
22283
31e45dee
FN
222842002-09-18 Fernando Nasser <fnasser@redhat.com>
22285
22286 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
22287 "don't step after run" as unresolved or unsupported, instead of xfail.
22288
a283c5a1
CV
222892002-09-18 Corinna Vinschen <vinschen@redhat.com>
22290
22291 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
22292 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
22293 Add newline to expected string in "step out of main (status wrapper)"
22294 case.
22295
11350d2a
CV
222962002-09-18 Corinna Vinschen <vinschen@redhat.com>
22297
22298 * lib/gdb.exp (rerun_to_main): Allow restarting application.
22299 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
22300
0deec7d6
TT
223012002-09-17 Tom Tromey <tromey@redhat.com>
22302
22303 * gdb.base/printcmds.exp (test_print_string_constants): Expect
22304 \000, not \0, in double-quoted string.
22305
b2b4a1b5
CV
223062002-09-14 Corinna Vinschen <vinschen@redhat.com>
22307
c9d37158 22308 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
22309 string after running the commands execution on breakpoint tests.
22310
1c56143a
CV
223112002-09-13 Corinna Vinschen <vinschen@redhat.com>
22312
22313 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
22314
37f8da45
JB
223152002-09-12 Joel Brobecker <brobecker@gnat.com>
22316
22317 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
22318
08b468e0
KS
223192002-09-10 Keith Seitz <keiths@redhat.com>
22320
22321 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
22322 runto proc.
22323 (mi_run_to_main): Use mi_runto.
22324 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
22325
dc360f58
KS
223262002-09-10 Keith Seitz <keiths@redhat.com>
22327
22328 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
22329 regexp for stopping at main. Could have multiple event notifications.
22330 Don't assume that main was declared with no parameters.
22331 (mi_next): Use mi_step_to.
22332 (mi_step): Use mi_next_to.
22333
ce3abcfb
CV
223342002-09-09 Corinna Vinschen <vinschen@redhat.com>
22335
22336 * gdb.base/default.exp: Fix expected string in `info float' test.
22337
d1f5b980
BE
223382002-09-09 Ben Elliston <bje@redhat.com>
22339
22340 * config/mips.exp: Update comments.
22341 * config/mips-idt.exp: Likewise.
22342 * config/nind.exp: Likewise.
22343 * config/slite.exp: Likewise.
22344 * config/sparclet.exp: Likewise.
22345 * config/udi.exp: Likewise.
22346 * config/vx.exp: Likewise.
22347 * config/vxworks29k.exp: Likewise.
22348
2f71430b
JB
223492002-09-05 Jim Blandy <jimb@redhat.com>
22350
22351 * gdb.threads/killed.exp: Fix test failure message.
22352
7ddebc7e
KS
223532002-09-04 Keith Seitz <keiths@redhat.com>
22354
22355 * lib/mi-support.exp: Update copyright.
22356 (mi_gdb_test): Increase the priority of the expected pattern
22357 so that it matches gdb_test.
22358
0ae67eb3
KS
223592002-09-03 Keith Seitz <keiths@redhat.com>
22360
22361 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
22362 Use integer comparison instead of string comparison for testing
22363 whether binary was built.
22364
38fc42c8
JB
223652002-09-03 Jim Blandy <jimb@redhat.com>
22366
22367 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
22368
b6ff0e81
JB
223692002-08-29 Jim Blandy <jimb@redhat.com>
22370
22371 * gdb.threads/pthreads.exp: Move the portable thread compilation
22372 code into a function in lib/gdb.exp, and call that from here.
22373 * lib/gdb.exp (gdb_compile_pthreads): New function.
22374
07c98896
KS
223752002-08-29 Keith Seitz <keiths@redhat.com>
22376
22377 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
22378 expect_out so that callers can get at it.
22379
0312286c
DJ
223802002-08-23 Daniel Jacobowitz <drow@mvista.com>
22381
22382 * gdb.threads/print-threads.c: New file.
22383 * gdb.threads/print-threads.exp: New file.
22384 * gdb.threads/schedlock.c: New file.
22385 * gdb.threads/schedlock.exp: New file.
22386
dd039bc4
EZ
223872002-08-22 Elena Zannoni <ezannoni@redhat.com>
22388
a9c64011
AS
22389 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
22390 not altivec.c.
dd039bc4 22391
1f36144c
MK
223922002-08-17 Mark Kettenis <kettenis@gnu.org>
22393
22394 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
22395 targets. The problem should be fixed now.
22396
16057ec7 223972002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
22398
22399 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
22400 2002-07-24 change that removes final dots from error messages.
22401
3c1499ad
TT
224022002-08-13 Tom Tromey <tromey@redhat.com>
22403
22404 * gdb.base/readline.exp: New file.
22405
a20ce2c3
AC
224062002-08-01 Andrew Cagney <ac131313@redhat.com>
22407
22408 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
22409 supress message.
22410
db034ac5
AC
224112002-08-01 Andrew Cagney <cagney@redhat.com>
22412
22413 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
22414 CHILL_FOR_TARGET and CHILL_LIB.
22415 * configure.in (configdirs): Remove gdb.chill.
22416 * configure: Regenerate.
22417 * lib/gdb.exp: Obsolete references to chill.
22418 * gdb.fortran/types.exp: Ditto.
22419 * gdb.fortran/exprs.exp: Ditto.
22420
3e000b18
KB
224212002-07-30 Kevin Buettner <kevinb@redhat.com>
22422
22423 * gdb.base/shlib-call.exp (additional_flags): Conditionally
22424 set Irix-specific compile and link flags.
22425
28f4966b
KB
224262002-07-29 Kevin Buettner <kevinb@redhat.com>
22427
22428 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
22429 source files. The ``-o'' option doesn't work with the ``-E'' option
22430 when using the Irix compiler.
22431
46c0d5a6
DJ
224322002-07-19 Daniel Jacobowitz <drow@mvista.com>
22433
22434 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
22435 Improve support for reusing an exec file. Copy exec file
22436 to target, and run gdbserver on the target instead of on the host.
22437
eecf4bed
JB
224382002-07-18 Jim Blandy <jimb@redhat.com>
22439
0f815cdf
JB
22440 * gdb.base/ending-run.exp: Don't expect to see the program end in
22441 some orderly fashion when we're running on a real stand-alone
22442 board.
22443
eecf4bed
JB
22444 * gdb.base/interrupt.exp: Correct logic for skipping tests on
22445 targets that don't support interrupts.
22446
52d309e4
JB
224472002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
22448
22449 * gdb.base/attach.exp: Add patterns to match output from /proc-based
22450 systems.
22451 Move comments in expect statements to inside the actions, so that they
22452 don't get matched against.
22453
ff683d9e
MK
224542002-07-10 Mark Kettenis <kettenis@gnu.org>
22455
22456 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
22457 function when asleep" test.
22458
b5356753
AC
224592002-07-10 Andrew Cagney <ac131313@redhat.com>
22460
22461 * gdb.base/page.exp: Rewrite to handle problems with very long
22462 `info set' output. Update copyright.
22463
6aa4d13a
AC
224642002-06-26 Andrew Cagney <ac131313@redhat.com>
22465
22466 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
22467 gdb.threads-hp.
22468 * gdb.hp/configure: Regenerate.
22469 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
22470 * gdb.hp/gdb.threads-hp/configure: Delete file.
22471 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
22472
8cf8c2b8
AC
224732002-06-22 Andrew Cagney <ac131313@redhat.com>
22474
22475 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
22476 setlocale, bindtextdomain and textdomain.
22477
6827a8f8
JB
224782002-06-11 Jim Blandy <jimb@redhat.com>
22479
919d772c
JB
22480 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
22481 preprocessor macro information is present.
22482
6827a8f8
JB
22483 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
22484 tests.
22485
c15b0d21
MS
224862002-06-06 Michael Snyder <msnyder@redhat.com>
22487
c5984d70
MS
22488 * gdb.base/overlays.exp: Record addresses of overlay
22489 functions in TCL variables rather than in GDB variables,
22490 to avoid having GDB convert them to pointers (with loss
22491 of information).
22492
d63a86f8 22493 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 22494 default linker script changes.
c15b0d21
MS
22495 * gdb.base/long_long.exp: Add check for sizeof (long double).
22496
be26fe0d
ML
224972002-06-06 Michal Ludvig <mludvig@suse.cz>
22498
22499 * gdb.asm/asm-source.exp: Add x86-64 target.
22500 * gdb.asm/x86_64.inc: New.
d63a86f8 22501
258093ca 225022002-05-30 Michael Chastain <mec@shout.net>
258093ca 22503
4b3153f1 22504 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
22505 * gdb.c++/m-static.cc: New file.
22506 * gdb.c++/m-static.exp: New file.
22507
241264c6
MS
225082002-05-28 Michael Snyder <msnyder@redhat.com>
22509
22510 * gdb.base/call-ar-st.exp: Allow for reduced floating point
22511 precision.
22512
9bba8c8f 225132002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 22514
4b3153f1 22515 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
22516 * gdb.c++/m-data.cc: New file.
22517 * gdb.c++/m-data.exp: New file.
22518
225192002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 22520
4b3153f1 22521 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 22522 * gdb.c++/try_catch.cc: New file.
d63a86f8 22523 * gdb.c++/try_catch.exp: New file.
9bba8c8f 22524
def1b996
MC
225252002-05-27 Michael Chastain <mec@shout.net>
22526
22527 * gdb.c++/local.exp: Accept more nested types in output.
22528
522ba268
MC
225292002-05-26 Michael Chastain <mec@shout.net>
22530
22531 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22532
277254ba
MS
225332002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
22534
22535 * lib/gdb.exp (gdb_wrapper_init): Just because
22536 gdb_wrapper_file exists, this does not mean that the file
22537 should not be rebuilt. That is what gdb_wrapper_initialized
22538 is for.
22539 (default_gdb_init): Reset gdb_wrapper_initialized.
22540
b61a8733
MS
225412002-05-23 Michael Snyder <msnyder@redhat.com>
22542
d63a86f8 22543 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
22544 the precision of the floating point test results.
22545 * gdb.base/call-rt-st.exp: Ditto.
22546
b61a8733
MS
22547 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22548 * gdb.base/call-rt-st.exp: Ditto.
22549
56f6e910
MC
225502002-05-19 Michael Chastain <mec@shout.net>
22551
22552 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22553
ad0b0016
EZ
225542002-05-19 Elena Zannoni <ezannoni@redhat.com>
22555
a9c64011
AS
22556 * configure.in (configdirs): Add gdb.arch.
22557 * configure: Regenerate.
ad0b0016 22558
f617d2b6
JB
225592002-05-17 Jim Blandy <jimb@redhat.com>
22560
22561 * gdb.base/completion.exp: Recognize the more detailed error
22562 messages produced by the macro expander's lexical analyzer.
22563
eac2a696
EZ
225642002-05-14 Elena Zannoni <ezannoni@redhat.com>
22565
a9c64011
AS
22566 * gdb.arch/altivec-abi.c: New file.
22567 * gdb.arch/altivec-abi.exp: New file.
22568 * gdb.arch/altivec-regs.c: New file.
22569 * gdb.arch/altivec-regs.exp: New file.
eac2a696 22570
2fdde8f8
DJ
225712002-05-14 Daniel Jacobowitz <drow@mvista.com>
22572
22573 * gdb.base/maint.exp (maint print type): Update for new type
22574 structure.
d63a86f8 22575
e31f1a7c
EZ
225762002-05-14 Elena Zannoni <ezannoni@redhat.com>
22577
22578 * gdb.arch: New directory.
22579 * gdb.arch/configure.in: New file.
22580 * gdb.arch/configure: New file.
22581 * gdb.arch/Makefile.in: New file.
22582
db589741
CV
225832002-05-13 Corinna Vinschen <vinschen@redhat.com>
22584
22585 * gdb.asm/asm-source.exp: Add v850 as supported target.
22586 * gdb.asm/v850.inc: New file.
22587
8ce2a7dc
DJ
225882002-05-13 Daniel Jacobowitz <drow@mvista.com>
22589
22590 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22591
df763c7f
DJ
225922002-05-12 Daniel Jacobowitz <drow@mvista.com>
22593
22594 * gdb.base/break.exp: Check 'break "marker2"'.
22595
377daeed
MS
225962002-05-10 Michael Snyder <msnyder@redhat.com>
22597
22598 * gdb.base/long_long.exp: Fix typo.
22599
c4b7bc2b
JB
226002002-05-10 Jim Blandy <jimb@redhat.com>
22601
ecac9a4e
JB
22602 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22603 a bug.
22604
c4b7bc2b
JB
22605 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22606 Recognize more detailed error message produced by the macro
22607 expander's lexical analyzer.
22608 * lib/gdb.exp (test_print_reject): Same.
22609
e71019a1
MK
226102002-05-09 Mark Kettenis <kettenis@gnu.org>
22611
22612 * gdb.c++/method.exp: Fix typo.
22613
fedfc8e6
MS
226142002-05-08 Michael Snyder <msnyder@redhat.com>
22615
166a1957
MS
22616 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22617 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 22618 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
22619 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22620 Add iftarget clause for strongarm.
d63a86f8 22621
f1c47eb2
MS
226222002-05-06 Michael Snyder <msnyder@redhat.com>
22623
cb9a9d3e
MS
22624 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22625 (gdb_continue_to_end): Accept output from status wrapper.
22626 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22627 Clean up fail messages to match pass messages.
22628
f1c47eb2
MS
22629 Enable the "needs_status_wrapper" testsuite feature.
22630 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22631 (gdb_compile): Conditionally call gdb_wrapper_init.
22632 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22633 * gdb.c++/method.exp: Recognize output from status wrapper.
22634
6079c749
BE
226352002-05-06 Ben Elliston <bje@redhat.com>
22636From Graydon Hoare <graydon@redhat.com>
22637
22638 * config/sid.exp: Include support for "rawsid" protocol.
22639
188baff3
JB
226402002-05-03 Jim Blandy <jimb@redhat.com>
22641
22642 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22643 * gdb.c++/hang3.C: New file.
22644
b9c07f0f
AC
226452002-05-04 Andrew Cagney <ac131313@redhat.com>
22646
22647 * gdb.base/default.exp: Remove obsolete code.
22648 * gdb.c++/misc.exp: Ditto. Update copyright.
22649 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22650 * gdb.base/whatis.exp: Ditto. Update copyright.
22651 * gdb.base/scope.exp: Ditto. Update copyright.
22652 * gdb.base/ptype.exp: Ditto. Update copyright.
22653 * gdb.base/printcmds.exp: Ditto. Update copyright.
22654 * gdb.base/opaque.exp: Ditto. Update copyright.
22655 * gdb.base/list.exp: Ditto.
22656 * gdb.base/funcargs.exp: Ditto. Update copyright.
22657 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22658 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22659 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22660 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22661 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22662 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22663
5c7a0397
MS
226642002-05-02 Michael Snyder <msnyder@redhat.com>
22665
d6dcc264 22666 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
22667 * gdb.base/long_long.exp: Add xscale target.
22668 * gdb.base/default.exp: Add xscale target.
22669
eb7f1c48
JB
226702002-05-01 Jim Blandy <jimb@redhat.com>
22671
22672 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22673 gdb.c++/hang.exp: New test.
22674
a6befae8
FF
226752002-05-01 Fred Fish <fnf@redhat.com>
22676
22677 * gdb.base/completion.exp: Handle completions of "./Make" for
22678 more than one completion possibility, as is the case when we
22679 build and test in the source tree.
22680
0a310277
AG
226812002-04-29 Anthony Green <green@redhat.com>
22682
22683 * gdb.java/jmisc1.exp: New file.
22684 * gdb.java/jmisc2.exp: New file.
22685
6ff9af88
DJ
226862002-04-24 Daniel Jacobowitz <drow@mvista.com>
22687
22688 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22689
96b3d632
EZ
226902002-04-23 Elena Zannoni <ezannoni@redhat.com>
22691
22692 * gdb.base/help.exp: Change 'help status' to allow for target
22693 dependent output differences.
22694
5019bb54
MC
226952002-04-22 Michael Chastain <mec@shout.net>
22696
22697 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22698
a805a116
MC
226992002-04-22 Michael Chastain <mec@shout.net>
22700
22701 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22702
a1706bfd
DM
227032002-04-17 David S. Miller <davem@redhat.com>
22704
22705 * gdb.asm/sparc64.inc: New file.
22706 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22707
a73a20a2
EZ
227082002-04-19 Elena Zannoni <ezannoni@redhat.com>
22709
22710 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22711 instruction file directly into the build tree. Clean up at end of
22712 test.
22713
ba678339
DM
227142002-04-18 David S. Miller <davem@redhat.com>
22715
22716 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22717 handle 64-bit platforms correctly.
22718 * gdb.base/maint.exp: Likewise.
22719
b03399da
KB
227202002-04-18 Kevin Buettner <kevinb@redhat.com>
22721
22722 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22723 ``-fpic'' when compiling files comprising a shared library, but
22724 it does need additional linker flags in order to find shared
22725 libraries at run time.
22726
e2004992
KB
227272002-04-18 Kevin Buettner <kevinb@redhat.com>
22728
22729 * gdb.base/cvexpr.c (use): New function.
22730 (main): Invoke use() on all global variables to prevent
22731 some linkers from deleting these otherwise unused symbols.
22732
d8937120
MC
227332002-04-17 Michael Chastain <mec@shout.net>
22734From David S. Miller <davem@redhat.com>
22735
22736 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22737 handle 64-bit platforms correctly.
22738
ffd61a58
MS
227392002-04-12 Michael Snyder <msnyder@redhat.com>
22740From Jim Blandy <jimb@redhat.com>
a9c64011 22741 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
22742 script can handle this instead.
22743 * gdb.base/bar.c (barx): Same.
22744 * gdb.base/baz.c (bazx): Same.
22745 * gdb.base/grbx.c (grbxx): Same.
22746
22747 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22748 manager doesn't automatically unmap overlays unnecessarily.
22749
6b8426a6
MH
227502002-04-10 Martin M. Hunt <hunt@redhat.com>
22751
22752 * gdb.base/ending-run.exp: Fix pattern for Mips targets
22753 stepping out of main.
22754
34af4875
MC
227552002-04-09 Michael Chastain <mec@shout.net>
22756
22757 * gdb.c++/local.cc (main): Move call to marker1() inside nested
22758 scope so that the nested scope tests will make sense.
22759 * gdb.c++/local.exp: Write patterns that actually work with gcc
22760 (the HP patterns "were never known to work with gcc").
22761 Keep the old aCC patterns too.
22762
2d1676a0
DJ
227632002-04-09 Daniel Jacobowitz <drow@mvista.com>
22764
22765 * gdb.base/attach.exp: Correct target board test.
22766
3a63e3f9
MC
227672002-04-08 Michael Chastain <mec@shout.net>
22768
22769 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22770 in a const method. Add some xfail and fail cases for configurations
22771 that do not emit the "const ...".
22772
f18dabd2
MC
227732002-04-07 Michael Chastain <mec@shout.net>
22774
22775 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22776 Accept "A * const" and "const A * const" as type of "this".
22777 Fix spelling of getFunky throughout. Make messages uniform.
22778
0fcddd82
EZ
227792002-04-07 Elena Zannoni <ezannoni@redhat.com>
22780
a9c64011 22781 Work around for PR gdb/285:
0fcddd82
EZ
22782 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22783
16a8534a
EZ
227842002-04-07 Elena Zannoni <ezannoni@redhat.com>
22785
22786 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22787 instructions file at run time instead of configure time.
22788 Sometimes we run the test in a directory that is not the one we
22789 configured in.
22790 * gdb.asm/configure.in: Delete creation of symlink.
22791 * gdb.asm/configure: Regenerate.
22792
24181d81
JB
227932002-04-05 J. Brobecker <brobecker@gnat.com>
22794
22795 * gdb.gdb/xfullpath.exp: New test, to exercise the new
22796 xfullpath () function.
22797
7cdb7107
DJ
227982002-04-04 Daniel Jacobowitz <drow@mvista.com>
22799
22800 * gdb.asm/Makefile.in: Correct dependencies.
22801
22802 * gdb.asm/powerpc.inc: New file.
22803 * gdb.asm/asm-source.exp: Add PowerPC.
22804 * gdb.asm/configure.in: Likewise.
22805 * gdb.asm/configure: Regenerated.
22806
a7d17088
DJ
228072002-04-04 Daniel Jacobowitz <drow@mvista.com>
22808
22809 * gdb.base/relocate.exp: New file.
22810 * gdb.base/relocate.c: New file.
22811
cd721503
FF
228122002-04-04 Fred Fish <fnf@redhat.com>
22813
22814 * gdb.base/step-test.exp: Update comment regarding stopping in
22815 memcpy/bcopy calls inserted as part of the compiler runtime.
22816
b22ad7a7
MS
228172002-04-04 Michael Snyder <msnyder@redhat.com>
22818
22819 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22820
5f279fa6
DJ
228212002-04-03 Daniel Jacobowitz <drow@mvista.com>
22822
22823 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22824 (gdb_expect): Remove $notransfer hack.
22825
dd0fd3ce
DJ
228262002-04-02 Daniel Jacobowitz <drow@mvista.com>
22827
22828 * gdb.c++/classes.exp ("calling method for small class"): Match
22829 updated register output.
22830
1e50cda1
DJ
228312002-03-30 Daniel Jacobowitz <drow@mvista.com>
22832
22833 Fix PR gdb/452
22834 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22835 when finished. Make gdb_file_cmd send "exec-file" when
22836 appropriate.
22837
24015922
DJ
228382002-03-30 Daniel Jacobowitz <drow@mvista.com>
22839
22840 * gdb.base/attach.exp: Remove extra setup_xfail.
22841
dd7dfd64
MS
228422002-03-26 Michael Snyder <msnyder@redhat.com>
22843
22844 * gdb.base/default.exp: Add tests for dump, append, and restore.
22845 * gdb.base/help.exp: Add tests for dump, append, and restore.
22846 * gdb.base/dump.exp: New file, test dump, append and restore.
22847 * gdb.base/dump.c: New file.
22848
48b2f8d7
MS
228492002-03-27 Michael Snyder <msnyder@redhat.com>
22850
d63a86f8 22851 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
22852 clean-ups in help messages.
22853
05b4d525
FF
228542002-03-26 Fred Fish <fnf@redhat.com>
22855
22856 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22857 have debugging info for those functions and the compiler uses them
22858 internally to copy structs around.
22859
d7679631
FF
228602002-03-26 Fred Fish <fnf@redhat.com>
22861
22862 * gdb.base/list.exp: Revert the change made yesterday and add note
22863 about why we don't list the default lines for remote targets.
22864
523ac3f9
MS
228652002-03-25 Michael Snyder <msnyder@redhat.com>
22866
22867 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22868
754b2b8d
FF
228692002-03-25 Fred Fish <fnf@redhat.com>
22870
22871 * gdb.base/list.exp: This test works on remote targets so remove
22872 the short circuit for remote targets. Update copyright.
22873
33c3e192
FF
228742002-03-25 Fred Fish <fnf@redhat.com>
22875
22876 * gdb.base/attach.exp: Fix logic error that was suppressing this
22877 test for all non hppa*-*-hpux* targets, instead of the hp target.
22878 Move comments closer to the suppression point. Also now need to
22879 check that we are running natively.
22880
d43e73ee
MS
228812002-03-22 Michael Snyder <msnyder@redhat.com>
22882
882c8f02
MS
22883 * gdb.base/default.exp: Add test for gcore. Update copyright.
22884 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 22885
04c12f60
FF
228862002-03-06 Fred Fish <fnf@redhat.com>
22887
22888 * gdb.base/funcargs.c: Remove extraneous ';' character.
22889 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22890
b43df995
MC
228912002-03-04 Michael Chastain <mec@shout.net>
22892
22893 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22894 accommodate gcc v3 function signature.
22895 * gdb.mi/mi0-var-cmd-exp: Ditto.
22896
92362027
AC
228972002-02-24 Andrew Cagney <ac131313@redhat.com>
22898
22899 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22900 ``GNU/Linux'' or ``Linux kernel''
22901 * testsuite/gdb.threads/pthreads.c: Ditto.
22902
258ad32d
MC
229032002-02-24 Michael Chastain <mec@shout.net>
22904
22905 * gdb.threads/pthreads.c (thread1): Add a return statement.
22906 (thread2): Likewise.
22907 (foo): Likewise.
22908
04c3b3d4
MC
229092002-02-23 Michael Chastain <mec@shout.net>
22910
22911 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22912 to placate gcc.
22913
5a2a0a20
MC
229142002-02-23 Michael Chastain <mec@shout.net>
22915
22916 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22917 test "ptype bint". The test passes on all my stabs configurations.
22918
a640f7fc
JB
229192002-02-21 Jim Blandy <jimb@redhat.com>
22920
27924826
JB
22921 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22922 filename at a time, and watch for the ones we want to see.
22923
a640f7fc
JB
22924 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22925 types of pointers to prototyped functions.
22926
edcc8c75
AC
229272002-02-20 Andrew Cagney <ac131313@redhat.com>
22928
22929 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22930 signed, unsigned and straight char.
22931 (padding_char, padding_short, padding_int, padding_long,
22932 padding_long_long, padding_float, padding_double,
22933 padding_long_double): New global variables.
22934 (fill, fill_structs): New functions.
22935
22936 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22937 for correctly sized writes. Update copyright.
22938 (get_valueof): New procedure.
22939 (get_sizeof): Call get_valueof.
22940 (check_valueof): New procedure.
22941 (check_padding): New procedure.
22942
ac57ea44
MC
229432002-02-20 Michael Chastain <mec@shout.net>
22944
22945 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22946 to setup_xfail. Document some of the remaining calls.
22947
7a10c941
MC
229482002-02-18 Michael Chastain <mec@shout.net>
22949
22950 * gdb.c++/userdef.exp: Update copyright year.
22951
fb8acdcc
DJ
229522002-02-18 Daniel Jacobowitz <drow@mvista.com>
22953
22954 * gdb.c++/userdef.exp: Test overloaded operators properly.
22955 Remove xfails.
22956
fda6ae12
MS
229572002-02-14 Michael Snyder <msnyder@redhat.com>
22958
22959 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
22960
676a0442
DJ
229612002-02-14 Daniel Jacobowitz <drow@mvista.com>
22962
22963 * gdb.base/a2-run.exp: Check for a remote target properly.
22964 * gdb.base/annota1.exp: Likewise.
22965 * gdb.base/list.exp: Likewise.
22966 * gdb.base/reread.exp: Likewise.
22967 * gdb.base/scope.exp: Likewise.
22968 * gdb.base/shlib-call.exp: Likewise.
22969 * gdb.base/term.exp: Likewise.
22970 * gdb.c++/annota2.exp: Likewise.
22971
78b4f468
RE
229722002-02-13 Richard Earnshaw <rearnsha@arm.com>
22973
22974 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
22975
9a81ba51
MC
229762002-02-10 Michael Chastain <mec@shout.net>
22977
22978 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
22979 (call_after_alloca): Ditto.
22980
004af6c7
DJ
229812002-02-10 Daniel Jacobowitz <drow@mvista.com>
22982
22983 * gdb.base/ending-run.exp: Guard "cont" test with
22984 gdb_skip_stdio_test.
22985
37225f62
JB
229862002-02-06 Jim Blandy <jimb@redhat.com>
22987
22988 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
22989 from here...
22990 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
22991 To here. Disable this test on non-HP platforms. Add big comment.
22992
fe6fdd96
MS
229932002-02-04 Michael Snyder <msnyder@redhat.com>
22994
22995 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
22996 other than d10v and m32r.
22997
036fad3f
RE
229982002-02-02 Richard Earnshaw <rearnsha@arm.com>
22999
23000 * gdb.base/default.exp: Rewrite test patterns to reduce time
23001 taken to match them.
23002
7148ab62
DJ
230032002-01-30 Daniel Jacobowitz <drow@mvista.com>
23004
23005 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23006 Allow a start function above main.
23007 * gdb.threads/linux-dp.exp: Fix copyright date.
23008
396cc255
DJ
230092002-01-30 Daniel Jacobowitz <drow@mvista.com>
23010
a9c64011
AS
23011 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23012 (check_philosopher_stack): Check for manager thread before checking
23013 for a just-starting thread.
396cc255 23014
f038d31b
DJ
230152002-01-30 Daniel Jacobowitz <drow@mvista.com>
23016
23017 From Neil Booth <neil@daikokuya.demon.co.uk>:
23018 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23019 warnings.
23020
b3ff9d9a
FF
230212002-01-21 Fred Fish <fnf@redhat.com>
23022
23023 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23024 not caller.
23025
39ad761d
JB
230262002-01-21 Jim Blandy <jimb@redhat.com>
23027
23028 * gdb.base/reread.exp: Check that GDB properly re-reads the
23029 executable file when it changes while no inferior is running.
23030
aaf320fa
FF
230312002-01-21 Fred Fish <fnf@redhat.com>
23032
a9c64011
AS
23033 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23034 optionally accept the "shlib events" variation.
aaf320fa 23035
808a31f5
JB
230362002-01-21 Jim Blandy <jimb@redhat.com>
23037
23038 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23039 call `fflush' after every `printf', so that the output is produced
23040 at predictable points, regardless of whatever buffering does (or
23041 doesn't) take place.
23042 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23043 at different points.
23044
4420d5e2
DJ
230452002-01-20 Daniel Jacobowitz <drow@mvista.com>
23046
23047 * gdb.c++/inherit.exp: Update copyright years.
23048 * gdb.c++/method.exp: Likewise.
23049
3e36a0f4
DJ
230502002-01-20 Daniel Jacobowitz <drow@mvista.com>
23051
23052 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23053 artificial methods/arguments.
23054 * gdb.c++/derivation.exp: Likewise.
23055 * gdb.c++/inherit.exp: Likewise.
23056 * gdb.c++/method.exp: Likewise.
23057 * gdb.c++/virtfunc.exp: Likewise.
23058
b4ceaee6
AC
230592002-01-18 Andrew Cagney <ac131313@redhat.com>
23060
23061 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23062 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23063 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23064 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23065 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23066 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23067
ecace851
JB
230682002-01-17 Jim Blandy <jimb@redhat.com>
23069
23070 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23071 anchoring the pattern matching the entry point symbol's name.
23072
375fc983
AC
230732002-01-17 Andrew Cagney <ac131313@redhat.com>
23074
23075 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23076 continue/quit query. Update copyright.
23077
fe6fdd96
MS
230782002-01-14 Michael Snyder <msnyder@redhat.com>
23079
23080 * gdb.base/gcore.exp: Remove extra debugging output.
23081
e017c81f
DJ
230822002-01-13 Daniel Jacobowitz <drow@mvista.com>
23083
23084 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23085 for slightly dubious v2 mangled string.
23086
37ab3bf8
DJ
230872002-01-13 Daniel Jacobowitz <drow@mvista.com>
23088
23089 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23090
1bc05c3a 230912002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 23092
1bc05c3a 23093 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 23094
1bc05c3a
JM
23095 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23096 constructors.
23097 * gdb.c++/derivation.exp: Likewise.
23098 * gdb.c++/templates.exp: Likewise.
23099 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 23100
1bc05c3a
JM
231012002-01-10 Michael Snyder <msnyder@redhat.com>
23102
23103 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 23104
a911c360
MS
231052002-01-08 Michael Snyder <msnyder@redhat.com>
23106
23107 * gdb.base/gcore.exp: New test for generate-core-file command.
23108 * gdb.base/gcore.c: Testcase for above.
23109 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23110
ea2119ec
JM
231112002-01-08 Jason Merrill <jason@redhat.com>
23112
23113 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23114
68203136
FF
231152002-01-07 Fred Fish <fnf@redhat.com>
23116
23117 * gdb.c++/overload.exp: Remove unconditional xfails for:
23118 print foo_instance1.overloadargs(1)
23119 print foo_instance1.overloadargs(1, 2)
23120 print foo_instance1.overloadargs(1, 2, 3)
23121 print foo_instance1.overloadargs(1, 2, 3, 4)
23122 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23123 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23124 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23125 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23126 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23127 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23128 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23129 print foo_instance1.overload1arg()
23130 print foo_instance1.overload1arg((char)arg2)
23131 print foo_instance1.overload1arg((signed char)arg3)
23132 print foo_instance1.overload1arg((unsigned char)arg4)
23133 print foo_instance1.overload1arg((int)arg7)
23134 print foo_instance1.overload1arg((unsigned int)arg8)
23135 print foo_instance1.overload1arg((float)arg11)
23136 print foo_instance1.overload1arg((double)arg12)
d63a86f8 23137
21b9b5b1
MS
231382002-01-07 Michael Snyder <msnyder@redhat.com>
23139
23140 * gdb.base/huge.exp: New test. Print a very large target data object.
23141 (skip_huge_test): New test variable. Define if you want to skip this
23142 test. The test reads an 8 megabyte data object from the target, so it
23143 might be very time consuming on remote targets with a slow connection.
23144 * gdb.base/huge.c: New file. Test case for above.
23145
725f922e
FF
231462002-01-07 Fred Fish <fnf@redhat.com>
23147
23148 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23149 g_instance.bfoo, and g_instance.cfoo.
23150
889bf7c5 231512002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 23152
889bf7c5
PA
23153 * gdb.base/break.c (multi_line_if_conditional): New function.
23154 (multi_ilne_while_conditional): Likewise.
23155 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23156 IF or WHILE condition puts the breakpoint at the start of
23157 the condition.
f286b2c3 23158
634d57ec
JL
23159 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23160 hppa*-*-hpux* expected failure.
23161 * gdb.base/structs.exp (do_function_calls): Similarly.
23162
23163 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23164 watchpoints.
23165
9fbfe2dc
AC
231662002-01-06 Andrew Cagney <ac131313@redhat.com>
23167
23168 Fix PR gdb/66.
23169 * gdb.base/structs.exp: Replace skip for a29k with skip for
23170 gdb,cannot_call_functions.
23171 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23172 * gdb.base/callfuncs.exp: Ditto.
23173 * gdb.base/call-rt-st.exp: Ditto.
23174 * gdb.base/call-strs.exp: Ditto.
23175 * gdb.base/callfwmall.exp: Ditto.
23176 * gdb.base/scope.exp: Obsolete xfail a29k.
23177 * gdb.c++/misc.exp: Ditto.
23178 * gdb.c++/cplusfuncs.exp: Ditto.
23179 * gdb.base/ptype.exp: Ditto.
23180 * gdb.base/printcmds.exp: Ditto.
23181 * gdb.base/opaque.exp: Ditto.
23182 * gdb.base/list.exp: Ditto.
23183 * gdb.base/funcargs.exp: Ditto.
23184 * gdb.base/default.exp: Ditto.
23185
8ddad156
MS
231862002-01-04 Michael Snyder <msnyder@redhat.com>
23187
ca4976a6 23188 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
23189 * gdb.base/maint.exp: Add tests for maint info sections options.
23190
1b074332
JL
23191Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
23192
23193 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23194
7d159115
CV
231952001-12-20 Corinna Vinschen <vinschen@redhat.com>
23196
23197 * gdb.asm/arm.inc: New file.
23198 * gdb.asm/asm-source.exp: Add arm targets.
23199 * gdb.asm/configure.in: Ditto.
23200 * gdb.asm/configure: Recreated from configure.in.
23201
8fb87725
JL
23202Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
23203
afabe08c
JL
23204 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23205 with HP's compiler.
23206 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23207 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23208 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23209 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23210
23211 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23212 either HP's compilers or GCC.
23213
db521deb
JL
23214 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
23215 a SIGBUS or SIGSEGV.
23216
23217 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
23218
23219 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
23220 can be compiled with either HP's compiler or GCC.
23221
cfa88ab7
JL
23222 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
23223 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
23224 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
23225
ca344dff
JL
23226 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
23227 to match current gdb output. Update due to using auto-solib-limit
23228 for limiting instead of overloading auto-solib-add.
23229 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
23230 test program.
23231
3f3c6e55 23232 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
23233 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
23234 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
23235 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
23236 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
23237 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
23238 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
23239 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
23240 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
23241 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
23242 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
23243 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
23244 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 23245
8fb87725
JL
23246 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
23247 a SIGTRAP to the inferior.
23248
cf599fa7
CV
232492001-12-19 Corinna Vinschen <vinschen@redhat.com>
23250
23251 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
23252 Substitute call to target_link by call to gdb_compile.
23253
2cd045cd
JL
23254Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
23255
a9c64011
AS
23256 * gdb.base/break.exp: Fix HP specific search string when testing
23257 backtracing in a called function.
2cd045cd 23258
a9c64011
AS
23259 * gdb.base/constvars.exp: Only set lang to C++ if we're
23260 compiling the test with HP's compilers.
23261 * gdb.base/volatile.exp: Similarly.
2cd045cd 23262
99ebe9ac
JB
232632001-12-19 Jim Blandy <jimb@redhat.com>
23264
23265 * gdb.base/printcmds.exp: Expect the null character to be printed
23266 as '\0', and the '\013' to be printed as '\v'.
23267 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
23268 * gdb.base/setvar.exp: Same.
23269
b9891b29
JB
232702001-12-17 Jim Blandy <jimb@redhat.com>
23271
0eba65ab
JB
23272 * gdb.base/completion.exp: Rather than completing very long
23273 filenames, which can make the readline library produce output we
23274 don't recognize, cd to the directory first, and then complete
23275 using nice, short relative paths.
23276
6970b5b1
JB
23277 * gdb.base/completion.exp: On some systems, there is, in fact, a
23278 variable named `b' in scope, since GDB treats all static
a9c64011
AS
23279 variables as being in scope. So use `no_var_named_this'
23280 instead of `b'.
6970b5b1 23281
b9891b29 23282 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 23283 can't find the core file's registers as a failure.
b9891b29 23284
e6ccd35f
JSC
232852001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
23286
a9c64011
AS
23287 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
23288 test expect string more specific.
e6ccd35f 23289
105ba819
CV
232902001-12-13 Corinna Vinschen <vinschen@redhat.com>
23291
23292 * gdb.asm/asm-source.exp: Add support for xstormy16.
23293 * gdb.asm/configure.in: Ditto.
23294 * gdb.asm/configure: Rebuild.
23295 * gdb.asm/xstormy16.inc: New file.
23296
e9e79dd9
FF
232972001-12-10 Fred Fish <fnf@redhat.com>
23298
23299 * gdb.base/maint.exp: Update to match changes in type dumping code.
23300
347dc97d
JB
233012001-12-10 Jim Blandy <jimb@redhat.com>
23302
23303 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
23304 matching the entry point symbol's name at the beginning of the
23305 line.
347dc97d 23306
5178b9d6
DJ
233072001-12-07 Daniel Jacobowitz <drow@mvista.com>
23308
23309 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
23310 gdb.c++/inherit.exp, gdb.c++/method.exp,
23311 gdb.c++/namespace.exp, gdb.c++/templates.exp,
23312 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
23313 and class layout support.
23314
af890c52
DJ
233152001-12-07 Daniel Jacobowitz <drow@mvista.com>
23316
23317 * gdb.c++/classes.exp: Add test for static member function.
23318 * gdb.c++/misc.cc: Add class with static member function.
23319
7a345fb3
JB
233202001-12-07 Jim Blandy <jimb@redhat.com>
23321
f2e54a80 23322 If GDB says it can't find the struct the function returned, report
8032bf31
JB
23323 those tests as `unsupported'.
23324 * gdb.base/call-rt-st.exp (print_struct_call): New function.
23325 Rewrite subsequent tests to use it.
23326
23327 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
23328 those tests as `unsupported'.
23329 * gdb.base/structs.exp (call_struct_func): New function.
23330 (do_function_calls): Use call_struct_func to call the functions
23331 returning structs.
23332
0bc69509
JB
23333 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
23334 whether functions are prototyped or not, so we can't possibly pass
23335 arguments to t_float_values2 properly.
23336
7a345fb3
JB
23337 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
23338 value of `timeout' for targets other than the mips*tx39-*.
23339
edb6ede1
MS
233402001-12-06 Michael Snyder <msnyder@redhat.com>
23341
d63a86f8 23342 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
23343 and detect whether the start symbol has a leading underscore.
23344
2d842f13
JB
233452001-12-04 Jim Blandy <jimb@redhat.com>
23346
23347 * gdb.base/completion.exp: Clarify indentation.
23348
68550daf
JB
233492001-12-03 Jim Blandy <jimb@redhat.com>
23350
23351 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
23352 variables on the S/390, not `.word'.
23353
cd5195a8
JB
233542001-11-30 Jim Blandy <jimb@redhat.com>
23355
23356 Add assembly-source tests for s390-ibm-linux.
23357 * gdb.asm/s390.inc: New file.
23358 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
23359 the S/390 architecture.
a9c64011 23360 * gdb.asm/configure: Regenerated.
cd5195a8 23361
ca9efc90
MS
233622001-11-30 Michael Snyder <msnyder@redhat.com>
23363
23364 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
23365 next, info source, info sources, info line, global and static
23366 variables, and static functions.
23367 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
23368 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
23369 * gdb.asm/asmsrc1.s: Add a static function and some variables.
23370 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
23371 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
23372 (gdbasm_leave): Restore frame pointer.
23373 (gdbasm_startup): Copy stack set-up from crt0.S.
23374
d0e66976
FN
233752001-11-26 Fernando Nasser <fnasser@redhat.com>
23376
23377 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
23378 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
23379 to a local (non-static) variable. Copy tstruct.a to a static buffer
23380 and return a pointer to that buffer.
23381 * gdb.base/callfwmall.c (t_structs_a): Ditto.
23382
e2334072
MK
233832001-11-24 Mark Kettenis <kettenis@gnu.org>
23384
23385 * gdb.asm/configure.in: Fix recognition of ix86 target.
23386 * gdb.asm/configure: Regenerate.
23387
756caa3d
MS
233882001-11-21 Michael Snyder <msnyder@redhat.com>
23389
23390 * gdb.asm/sparc.inc: New file.
23391 * gdb.asm/asm-source.exp: Recognize sparc target.
23392 * gdb.asm/configure.in: Recognize sparc target.
23393 * gdb.asm/configure: Regenerate.
d63a86f8 23394
9a4d72d5
MS
233952001-11-21 Michael Snyder <msnyder@redhat.com>
23396
23397 * gdb.asm/m32r.inc: New file.
23398 * gdb.asm/asm-source.exp: Recognize m32r target.
23399 * gdb.asm/configure.in: Recognize m32r target.
23400 * gdb.asm/configure: Regenerate.
23401
a773d1cd
MS
234022001-11-20 Michael Snyder <msnyder@redhat.com>
23403
017ac23d
MS
23404 * gdb.asm/i386.inc: New file.
23405 * gdb.asm/asm-source.exp: Recognize ix86 target.
23406 * gdb.asm/configure.in: Recognize ix86 target.
23407 * gdb.asm/configure: Regenerate.
23408
a773d1cd
MS
23409 * gdb.c++/namespace.exp: Fix quotes in output messages.
23410
bb632afb
MS
234112001-11-14 Michael Snyder <msnyder@redhat.com>
23412
25d559ca 23413 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
23414 qualifier in a type cast expression, to designate an address
23415 in the instruction space (Harvard architecture).
23416
4749e309
MS
234172001-11-13 Michael Snyder <msnyder@redhat.com>
23418
23419 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
23420 Tests for expressions using 'const' and 'volatile'.
23421
25050984
CV
234222001-11-13 Corinna Vinschen <vinschen@redhat.com>
23423
23424 * gdb.asm/asm-sources.exp: Allow defining linker flags.
23425
1902c51f
DJ
234262001-11-12 Daniel Jacobowitz <drow@mvista.com>
23427
23428 * lib/mi-support.exp (mi_run_to_helper): Move comments
23429 outside of gdb_expect.
23430
dcf95b47
DJ
234312001-11-11 Daniel Jacobowitz <drow@mvista.com>
23432
23433 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
23434 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
23435 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
23436 mi0_run_to): New functions.
23437 * gdb.mi/mi-simplerun.exp: Use them.
23438 * gdb.mi/mi0-simplerun.exp: Likewise.
23439 * gdb.mi/mi-var-cmd.exp: Likewise.
23440 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 23441
45b074e1
AC
234422001-11-10 Andrew Cagney <ac131313@redhat.com>
23443
23444 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
23445 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
23446
bf50d346
AC
234472001-11-09 Andrew Cagney <ac131313@redhat.com>
23448
23449 * gdb.base/restore.exp: Include $expected value in restored test
23450 message.
23451
9383332c
AC
234522001-11-09 Andrew Cagney <ac131313@redhat.com>
23453
23454 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
23455 implemented.
23456
db62520a
MS
234572001-11-08 Michael Snyder <msnyder@redhat.com>
23458
23459 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
23460 Add pass/fail message for stop at breakpoint in call dummy function.
23461
b5703437
MS
234622001-11-07 Michael Snyder <msnyder@redhat.com>
23463
d63a86f8
RM
23464 * gdb.c++/templates.exp (test_template_breakpoints):
23465 If we get an overload menu, but it does not match what
760f6330 23466 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
23467 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
23468 making the whitespace optional. Argument for "new" may be
23469 "unsigned" as well as "unsigned int/long".
d63a86f8 23470 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
23471 making the whitespace optional. Also replace "(void) with
23472 "((void|)), making the keyword "void" optional.
d63a86f8 23473 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
23474 making the whitespace optional. Also replace "(void) with
23475 "((void|)), making the keyword "void" optional.
3bf40917
MS
23476 * gdb.base/callfuncs.c (t_float_values): This function must
23477 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 23478 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
23479 can be tested against both cases. Usually one case involves
23480 promotion of float to double, while the other does not.
23481 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
23482 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
23483 includes a stack frame for "start".
23484
c8ab4e6d
JB
234852001-11-05 Jim Blandy <jimb@redhat.com>
23486
23487 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
23488 pointers are 32 bits long, and that offsets of relocs are always
23489 stored in the data (REL-style), and not in the reloc entry itself
23490 (RELA-style).
23491 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
23492 stabs.
23493
3f08ced9
MS
234942001-11-01 Michael Snyder <msnyder@redhat.com>
23495
23496 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
23497 and regular expression operators by using quoting.
23498
cbfa24cd
MS
234992001-10-31 Michael Snyder <msnyder@redhat.com>
23500
23501 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
23502 depending on what the symbol table contains.
23503 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
23504 the output of the ptype command. Similarly, accept both "const &"
23505 and "const&".
23506
aaa68313
CV
235072001-10-31 Corinna Vinschen <vinschen@redhat.com>
23508
23509 * gdb.base/miscexprs.c (main): Add usage of preprocessor
23510 symbol `STORAGE' to allow to choose the storage class of
23511 the local datastructures.
23512 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
23513 compiler directive.
23514
91740388
MS
235152001-10-30 Michael Snyder <msnyder@redhat.com>
23516
23517 * gdb.base/jump.exp: Allow it to run for all targets.
23518
1b7c05e7
CV
235192001-10-29 Corinna Vinschen <vinschen@redhat.com>
23520
23521 * gdb.base/call-ar-st.c (print_double_array): Match for loop
23522 with new double_array size.
23523 (main): Change storage class of all local variables to static.
23524 Reduce size of double_array to 9.
23525 * gdb.base/call-ar-st.exp: Increase timeout value.
23526 Change expected output for double array to match new size in
23527 call-ar-st.c.
23528
36a22261
CV
235292001-10-29 Corinna Vinschen <vinschen@redhat.com>
23530
23531 * gdb.base/ending-run.exp: Create identical output when passing
23532 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 23533 Stormy16 target.
36a22261 23534
92b8ae91
MK
235352001-10-28 Mark Kettenis <kettenis@gnu.org>
23536
23537 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23538 that we catch the expected failure under Linux/x86.
23539
cb135b83
OF
235402001-10-29 Orjan Friberg <orjanf@axis.com>
23541
23542 * gdb.base/setvar.exp: Escape curly braces.
23543 * gdb.stabs/weird.exp: Ditto.
23544
6884aa54
DJ
235452001-10-27 Daniel Jacobowitz <drow@mvista.com>
23546
23547 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23548 * gdm.mi/mi0-hack-cli.exp: Likewise.
23549
0398c9aa
AC
235502001-10-25 Andrew Cagney <ac131313@redhat.com>
23551
23552 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23553 messages.
23554
d20bf2e8
AC
235552001-10-21 Andrew Cagney <ac131313@redhat.com>
23556
23557 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23558 checking MI enabled.
23559
03dd63aa
CV
235602001-10-09 Corinna Vinschen <vinschen@redhat.com>
23561
23562 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23563
1d9d99f3
FCE
235642001-10-04 Frank Ch. Eigler <fche@redhat.com>
23565
23566 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23567 if gdb child process crashes, just signal an error.
23568
838ae6c4
JB
235692001-10-02 Jim Blandy <jimb@redhat.com>
23570
23571 * lib/gdb.exp (test_xfail_format): Simplify.
23572
23573 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23574 front of the variable name `format'. Simplify `if'.
23575
8f0cbc1c
DJ
235762001-10-01 Daniel Jacobowitz <drow@mvista.com>
23577
23578 * gdb.threads/pthreads.exp: Wait for output and delay
23579 before sending ^C.
23580
1f08dafd
DJ
235812001-10-01 Daniel Jacobowitz <drow@mvista.com>
23582
23583 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23584 some incorrect output instead of timing out.
23585 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23586
674f90ff
CV
235872001-09-28 Corinna Vinschen <vinschen@redhat.com>
23588
23589 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23590 check to allow additional `int'.
23591
9b284272
DJ
235922001-09-27 Daniel Jacobowitz <drow@mvista.com>
23593
23594 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23595 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23596
b55a4771
MS
235972001-09-27 Michael Snyder <msnyder@redhat.com>
23598
23599 * lib/gdb.exp (test_debug_format): New proc.
23600 (setup_xfail_format): Use new proc test_debug_format.
23601 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23602 proc; use new service proc test_debug_format.
23603 Replace all other "gcc_compiled" tests with this test.
23604 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23605 proc; use new service proc test_debug_format.
23606 Replace all other "gcc_compiled" tests with this test.
23607
236082001-09-27 Michael Snyder <msnyder@redhat.com>
23609
23610 * gdb.base/cvexpr.exp: New file.
23611 * gdb.base/cvexpr.c: New file
23612 Test for expressions using const and volatile keywords.
23613
4e6667ac
CV
236142001-09-26 Corinna Vinschen <vinschen@redhat.com>
23615
23616 * gdb.base/constvars.exp: Check for different orders of keywords
23617 and additional "int" strings in output.
23618
4f337972
AC
236192001-09-22 Andrew Cagney <ac131313@redhat.com>
23620
23621 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23622 responses from "help maint".
23623
2015650d
FCE
236242001-09-19 Frank Ch. Eigler <fche@redhat.com>
23625
23626 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23627 to localhost:NNN instead of :NNN, in case Xvfb is listening
23628 only on TCP.
23629
f3bcedc1
CV
236302001-09-19 Corinna Vinschen <vinschen@redhat.com>
23631
23632 * gdb.base/recurse.exp: When checking leaving the watchpoint
23633 scope, recognize when gdb is in function's epilogue and pass.
23634
6b819c92
KS
236352001-09-18 Keith Seitz <keiths@redhat.com>
23636
23637 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23638 support for running tests against sid targets.
23639 (gdbtk_done): Ditto.
23640
a10c9419
CV
236412001-09-18 Corinna Vinschen <vinschen@redhat.com>
23642
23643 * gdb.base/ending-run.c (main): Set stdout buffersize
23644 to the same reasonable value for any target.
23645 * gdb.base/ending-run.exp: Add a regular expression
23646 to make testsuite happy on Sanyo Stormy16 target.
23647
739d0d99
CV
236482001-09-17 Corinna Vinschen <vinschen@redhat.com>
23649
23650 * gdb.base/display.c (do_loops): Add float variable `f'.
23651 Increment f in loop.
23652 * gdb.base/display.exp: Increment timeout by 60 seconds.
23653 Change float display test to use variable `f'.
23654
1b8947f0
JB
236552001-09-17 Jim Blandy <jimb@redhat.com>
23656
23657 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23658 overflowing the limited breakpoint tables on some ROM monitors
23659 (like the ROM68K).
23660
9890ac81
FCE
236612001-09-15 Frank Ch. Eigler <fche@redhat.com>
23662
23663 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23664 the "-ac" (disable access control) flag.
23665
6db765ea
JH
236662001-08-30 Jeff Holcomb <jeffh@redhat.com>
23667
23668 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23669 ints.
23670
4c32cc04
KS
236712001-08-30 Keith Seitz <keiths@redhat.com>
23672
23673 * lib/gdb.exp: Move all insight-related functionality into
23674 separate file.
23675 * lib/insight-support.exp: New file.
23676
8d6e6f81
FCE
236772001-08-29 Frank Ch. Eigler <fche@redhat.com>
23678
23679 * config/sid.exp (sid_start): Never set sid verbosity; disable
23680 expect_background {} that consumed its stdout; tolerate </dev/null.
23681 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23682
6a90e1d0
AC
236832001-08-18 Andrew Cagney <ac131313@redhat.com>
23684
23685 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23686 CLI jump command to start it.
23687 (mi_run_to_main): Fail immediatly when unexpected output.
23688
1759b3c3
AC
236892001-08-18 Andrew Cagney <ac131313@redhat.com>
23690
23691 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23692 beginning of function. Fix PR gdb/191.
23693
61d11d80
FCE
236942001-08-16 Frank Ch. Eigler <fche@redhat.com>
23695
23696 * config/sid.exp (sid_start): Don't warn if we cannot figure out
23697 what to force sid endianness to.
23698
942a4df2
KS
236992001-08-15 Keith Seitz <keiths@redhat.com>
23700
23701 * lib/gdb.exp (gdbtk_start): Don't set environment
23702 variables for TCL_LIBRARY and friends. Insight will
23703 now figure these out for itself.
23704
0521c418
MS
237052001-08-02 Michael Snyder <msnyder@redhat.com>
23706
23707 * gdb.base/completion.exp: Remove the symbol "a64l" from
23708 the expect string; this is target-specific, and not related
23709 to what is being tested.
23710
74a9a58a
DB
237112001-08-02 Dave Brolley <brolley@redhat.com>
23712
23713 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23714
c70819fa
MS
237152001-07-25 Michael Snyder <msnyder@redhat.com>
23716
c2b8fa57
MS
23717 * gdb.base/consecutive.exp: New file. Test stepping over
23718 breakpoints on consecutive instructions.
23719 * gdb.base/consecutive.c: New file.
23720
c70819fa
MS
23721 * gdb.base/call-rt-st.exp: Use double-backslash to quote
23722 curly braces in regular expressions.
23723
2b1a1355
MS
237242001-07-25 Michael Snyder <msnyder@redhat.com>
23725
23726 * gdb.base/ending-run.exp: Accept "Program exited normally" as
23727 legitimate output from stepping out of main.
23728
413eca6f
KS
237292001-07-22 Keith Seitz <keiths@redhat.com>
23730
23731 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23732 the empty string, do not run the tests.
23733
7e5a9322
SC
237342001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23735
23736 * gdb.base/long_long.exp: Detect size of pointer. Take into
23737 account 2-byte pointers when testing for p/a results.
23738
de58f10f
SC
237392001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23740
d63a86f8 23741 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
23742 and defined to 1K for m68hc11.
23743 (random_data): Reduce table to 1K for embedded platforms (68hc11).
23744 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23745 (sizeof_random_data): New variable to tell the size of the data table;
23746 don't test past this size; always run to main.
23747
d6f5fea1
SC
237482001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23749
23750 * gdb.base/return2.exp: return of long long and double fails for
23751 68HC11; don't execute these tests on that platform.
23752 * gdb.base/return.exp: Return of a double fails for 68hc11.
23753
c477543d
SC
237542001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23755
23756 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23757 tests that print a float.
23758 * call-rt-st.exp: Likewise.
23759
63cf1c79
MK
237602001-07-12 Mark Kettenis <kettenis@gnu.org>
23761
23762 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23763 running this test on Linux.
23764
112f9ab5
MC
237652001-06-24 Michael Chastain <chastain@redhat.com>
23766
23767 * gdb.base/arithmet.exp: Remove some tests to make all test names
23768 unique.
23769
4970cb0f
MS
237702001-07-03 Michael Snyder <msnyder@redhat.com>
23771
23772 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23773 the output of the ptype command.
23774
d85da69f
MS
237752001-07-02 Michael Snyder <msnyder@redhat.com>
23776
4c8a82de
MS
23777 * gdb.base/completion.exp: Don't assume that break.c is the only
23778 source file that may contain functions named "marker".
d85da69f
MS
23779 * gdb.base/corefile.exp: Quote the curly braces in regexp.
23780
8afc772b
AC
237812001-06-28 Andrew Cagney <ac131313@redhat.com>
23782
23783 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23784 of files to delete.
23785
23786 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23787 * gdb.disasm/h8300s.exp: New file.
23788 gdb.disasm/h8300s.s: Likewise.
23789
cff22675
AC
237902001-06-27 Andrew Cagney <ac131313@redhat.com>
23791
23792 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23793 empty breakpoint tables.
23794
68c81b54
AC
237952001-06-25 Andrew Cagney <ac131313@redhat.com>
23796
23797 * lib/mi-support.exp: Update args=... part of stop-reason
23798 patterns. Accept either a list or a tuple.
23799
2dd62704
AC
238002001-06-23 Andrew Cagney <ac131313@redhat.com>
23801
23802 * lib/mi-support.exp: Remove local emacs variable defining
23803 change-log-default-name.
23804
b4127474
MC
238052001-06-22 Michael Chastain <chastain@redhat.com>
23806
23807 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23808 This is operationally compatible with the previous version.
23809
8dbfb380
JB
238102001-06-13 Jim Blandy <jimb@redhat.com>
23811
23812 * lib/gdb.exp (gdb_test): Doc fix.
23813
f2d8c86d
MC
238142001-06-10 Michael Chastain <chastain@redhat.com>
23815
23816 * gdb.base/exprs.exp: Remove a duplicate test.
23817
81564d34
JB
238182001-06-06 Jim Blandy <jimb@redhat.com>
23819
23820 * gdb.base/return2.exp (main): Use values to test float and double
23821 returns that are not NaN's, to avoid being confused by IEEE
23822 comparison rules.
23823
da55addb
MS
238242001-06-04 Michael Snyder <msnyder@redhat.com>
23825
23826 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 23827 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
23828 rather than wait for 12 more tests to time out.
23829
42c65987
JB
238302001-06-06 Jim Blandy <jimb@redhat.com>
23831
b18bced9 23832 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 23833 Don't forget to match the GDB prompt.
b18bced9 23834
42c65987
JB
23835 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23836
5b41e5f0
JB
238372001-06-04 Jim Blandy <jimb@redhat.com>
23838
23839 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23840 command.
23841
015e046f
KB
238422001-05-31 Kevin Buettner <kevinb@redhat.com>
23843
23844 * gdb.base/annota1.exp (info break): Match four or more spaces
23845 after "Address".
23846
fb1ffbbe
MC
238472001-05-31 Michael Chastain <chastain@redhat.com>
23848
23849 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23850 (dm_type_int_star): Likewise.
23851 (dm_type_long_star): Likewise.
23852 (dm_type_void_star): Likewise.
23853
5ea2a32c
KB
238542001-05-29 Kevin Buettner <kevinb@redhat.com>
23855
23856 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23857 to a known value in order to get consistent results regardless
23858 of the setting of INPUTRC or the presence or contents of .inputrc.
23859
ae23c492
MS
238602001-05-24 Michael Snyder <msnyder@redhat.com>
23861
ac55707e
MS
23862 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23863 Don't require that the main thread and the manager thread are the
23864 first in the list.
23865
ae23c492
MS
23866 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23867 debugging. If test fails, issue an "unsupported" not a "fail".
23868
400071f1
JB
238692001-05-24 Jim Blandy <jimb@redhat.com>
23870
23871 Don't assume that short is shorter than int.
23872 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23873 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 23874 this isn't true.
400071f1
JB
23875 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23876 an int, is not equal to ~0 stored in an unsigned char. This tests
23877 the same thing that the previous test meant to, but works on
23878 16-bit machines, too.
23879 ("print unsigned char != (~0)"): Same test, complemented.
23880
0816a3e5
MS
238812001-05-24 Michael Snyder <msnyder@redhat.com>
23882
23883 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 23884 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
23885 and prevents dejagnu getting out of step.
23886
f6dc23a9
KB
238872001-05-23 Kevin Buettner <kevinb@redhat.com>
23888
23889 * gdb.base/finish.exp (finish_void): Revise pattern for
23890 stopping on the call statement to not permit stopping at
23891 the start of the instructions comprising the call sequence.
23892
7dbd117d
MC
238932001-05-19 Michael Chastain <chastain@redhat.com>
23894
23895 * gdb.base/callfuncs.exp: Make all test names unique.
23896 * gdb.base/commands.exp: Make all test names unique.
23897 * gdb.base/condbreak.exp: Make all test names unique.
23898 * gdb.base/dbx.exp: Make all test names unique.
23899 * gdb.base/default.exp: Make all test names unique.
23900 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23901 and TIMEOUT messages to their corresponding PASS message.
23902 * gdb.base/ending-run.exp: Make all test names unique.
23903 * gdb.base/long_long.exp: Remove duplicate test.
23904
6b0b0a9e
KB
239052001-05-21 Kevin Buettner <kevinb@redhat.com>
23906
23907 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23908 stop on the call statement as well as the statement after the
23909 call.
23910
2caa35cb
MS
239112001-05-21 Michael Snyder <msnyder@redhat.com>
23912
23913 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23914
40713331
EZ
239152001-05-10 Elena Zannoni <ezannoni@redhat.com>
23916
a9c64011
AS
23917 * gdb.base/completion.exp: Revamp test. Make it execute on all
23918 platforms.
40713331 23919
c2c1be8d
EZ
239202001-05-10 Elena Zannoni <ezannoni@redhat.com>
23921
a9c64011
AS
23922 * config/gdbserver.exp (gdb_load): Handle the case
23923 in which the arguments to gdbserver are given in the
23924 baseboard configuration file.
23925 Also handle the case in which the server needs to do a
23926 load.
2c9cd303 23927
9671de48
KS
239282001-05-07 Keith Seitz <keiths@cygnus.com>
23929
a9c64011
AS
23930 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23931 set up the display for testing.
23932 (gdbtk_start): Convert all paths to paths that tcl will like.
23933 Export target information to environment.
23934 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23935 necessary.
23936 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23937 (to_tcl_path): New proc to convert a given pathname into
23938 a path acceptible as an argument to a tcl command.
23939 (_gdbtk_export_target_info): New proc to export target info
23940 into the environment for gdbtk testing.
23941 (gdbtk_done): New proc to signal end-of-test.
9671de48 23942
5a360f47
JB
239432001-05-06 Jim Blandy <jimb@redhat.com>
23944
23945 * restore.c: Make the code of caller0 correspond to its comment.
23946
66c756c6
MS
239472001-05-03 Michael Snyder <msnyder@redhat.com>
23948
23949 * config/sid.exp (gdb_target_sid): Check for error messages.
23950 On error or timeout, don't make expect exit (which will terminate
23951 all subsequent tests); instead just make gdb exit.
d63a86f8 23952 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
23953 return a negative value.
23954
a966fde5
JB
239552001-04-24 Jim Blandy <jimb@redhat.com>
23956
851c18e0
JB
23957 * gdb.c++/templates.exp: If we see the prompt for the overload
23958 list, but we haven't recognized any of the longer patterns,
23959 arrange for this test to fail, not hang.
23960
a966fde5
JB
23961 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
23962 variations.
23963
db144853
MC
239642001-04-22 Michael Chastain <chastain@redhat.com>
23965
23966 * gdb.c++/local.exp: Use the 'runto' library function.
23967 * gdb.c++/namespace.exp: Likewise.
23968 * gdb.c++/overload.exp: Likewise.
23969
3207ec21
KB
239702001-03-26 Kevin Buettner <kevinb@redhat.com>
23971
23972 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
23973 * gdb.base/step-line.exp: New file. Test step/next in presence of
23974 #line directives.
23975 * gdb.base/step-line.c: New file. Test program for the above.
23976 * gdb.base/step-line.inp: New file. We pretend that this file has
23977 been transformed by some other tool into step-line.c.
23978
13b57657
JB
239792001-03-21 Jim Blandy <jimb@redhat.com>
23980
23981 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
23982 unmangled operator names.
23983
754cbe1c
JB
239842001-03-20 Jim Blandy <jimb@redhat.com>
23985
23986 * gdb.threads/linux-dp.exp: Recognize an additional message
23987 generated by GDB when it doesn't understand how to debug threads
23988 on the target system.
23989
177495c9
AC
239902001-03-19 Andrew Cagney <ac131313@redhat.com>
23991
23992 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
23993
f266096b
MC
239942001-03-12 Michael Chastain <chastain@redhat.com>
23995
23996 * gdb.c++/derivation.exp: Use the 'runto' library function.
23997
cac3c2ff
MC
239982001-03-12 Michael Chastain <chastain@redhat.com>
23999
24000 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24001
b6c11a24
MC
240022001-02-24 Michael Chastain <chastain@redhat.com>
24003
24004 * gdb.c++/ref-types.exp: Change handwritten code to library
24005 function 'runto'.
24006
6bae5bce
OF
240072001-03-16 Orjan Friberg <orjanf@axis.com>
24008
24009 * gdb.base/signals.exp: Set count to 0 explicitly.
24010
0015fd9a
MS
240112001-03-15 Mark Salter <msalter@redhat.com>
24012
24013 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24014 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
24015 (gdb_load): Add support for additional target_info: gdb_download_size
24016 and gdb_load_timeout.
0015fd9a 24017
fc33412a
DT
24018Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24019
24020 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
24021 file -- to prevent failing when the compile fails but we have no
24022 intention of running the tests anyway.
fc33412a
DT
24023
24024 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24025 tests if set.
24026
24027 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 24028 integers.
fc33412a
DT
24029
24030 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24031 * gdb.c++/namespace.exp: Ditto.
24032
115f06de
OF
240332001-03-07 Orjan Friberg <orjanf@axis.com>
24034
24035 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24036 * gdb.base/pointers.exp: Relax pattern match of decimals.
24037
b6ba6518
KB
240382001-03-06 Kevin Buettner <kevinb@redhat.com>
24039
24040 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24041 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24042 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24043 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24044 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24045 config/sh.exp, config/sid.exp, config/slite.exp,
24046 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24047 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24048 config/vxworks.exp, config/vxworks29k.exp,
24049 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24050 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24051 gdb.base/arithmet.exp, gdb.base/assign.exp,
24052 gdb.base/async.exp, gdb.base/attach.exp,
24053 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24054 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24055 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24056 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24057 gdb.base/commands.exp, gdb.base/completion.exp,
24058 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24059 gdb.base/constvars.exp, gdb.base/corefile.exp,
24060 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24061 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24062 gdb.base/ending-run.exp, gdb.base/environ.exp,
24063 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24064 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24065 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24066 gdb.base/funcargs.exp, gdb.base/help.exp,
24067 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24068 gdb.base/logical.exp, gdb.base/long_long.exp,
24069 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24070 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24071 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24072 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24073 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24074 gdb.base/regs.exp, gdb.base/relational.exp,
24075 gdb.base/remote.exp, gdb.base/reread.exp,
24076 gdb.base/restore.exp, gdb.base/return2.exp,
24077 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24078 gdb.base/selftest.exp, gdb.base/setshow.exp,
24079 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24080 gdb.base/sigall.exp, gdb.base/signals.exp,
24081 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24082 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24083 gdb.base/step-test.exp, gdb.base/structs.c,
24084 gdb.base/structs.exp, gdb.base/structs2.exp,
24085 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24086 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24087 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24088 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24089 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24090 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24091 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24092 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24093 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24094 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24095 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24096 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24097 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24098 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24099 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24100 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24101 gdb.trace/circ.exp, gdb.trace/collection.exp,
24102 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24103 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24104 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24105 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24106 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24107 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24108 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24109 notices.
24110
dc96c6c7 241112001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
24112
24113 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24114 first arg is int not float.
24115
dc96c6c7 241162001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
24117
24118 * gdb.base/reread.exp: Unsupported for non-native targets;
24119 doesn't work for remote debugging.
24120
9b0c4aeb
FN
241212001-02-19 Fernando Nasser <fnasser@redhat.com>
24122
24123 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
24124 * gdb.base/ending-run.exp: Properly handle the BSP state when
24125 stepping past the end of main.
9b0c4aeb 24126
02aa71d5
MC
241272001-02-19 John Moore <jmoore@redhat.com>
24128
24129 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24130 Converted HPUX fix for non-expected items following multiple
24131 step commands into general solution for all platforms.
24132
1fa449a4
MC
241332001-02-18 Michael Chastain <chastain@redhat.com>
24134
24135 * gdb.c++/classes.exp (do_tests): Change runto statements
24136 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24137 statements demangler agnostic.
24138 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24139 (gdb_virtfunc_restart): Likewise.
24140
b2f9ec70
MC
241412001-02-14 Michael Chastain <chastain@redhat.com>
24142
24143 * gdb.c++/inherit.exp (do_tests): Change runto statements
24144 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24145 statements demangler agnostic.
24146
cf74b8ca
AC
24147Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24148
24149 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
24150 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24151 before calling common_routine 15 times'' tests.
cf74b8ca 24152
99f78f56
MC
241532001-02-11 Michael Chastain <chastain@redhat.com>
24154
24155 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24156 Helps the test script figure out which demangler is in use.
24157 (dm_type_foo_ref): Ditto.
24158 (dm_type_int_star): Ditto.
24159 (dm_type_long_star): Ditto.
24160 (dm_type_unsigned_int): Ditto.
24161 (dm_type_void): Ditto.
24162 (dm_type_void_star): Ditto.
99707966 24163 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
24164 Probe the gdb demangler and set variables to accommodate
24165 formatting differences.
24166 (info_func_regexp): New function. Same as info_func, but
24167 matches against a regexp.
24168 (info_func): Match against a literal string.
24169 (print_addr_2): New function. Match against a literal string,
24170 which can be different from the input to gdb.
24171 (print_addr): Simply call print_addr_2 with the same argument twice.
24172 (test_lookup_operator_functions): Use demangler formatting variables.
24173 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24174 the tests in the same order as the C++ class declaration.
24175 (test_paddr_operator_functions): Ditto.
24176 (test_paddr_overloaded_functions): Ditto.
24177 (test_paddr_hairy_functions): Use demangler formatting variables.
24178 Add reference to gdb/19 for related tests.
24179 (do_tests): Call probe_demangler.
24180
1de8f023
KB
241812001-01-30 Kevin Buettner <kevinb@redhat.com>
24182
24183 * gdb.c++/templates.cc (printf): Remove unused function definition.
24184
ca3f91ed
MS
241852001-01-26 Felix Lee <flee@redhat.com>
24186
24187 * sid.exp (sid_exit): Pass host, not target, to remote_close.
24188
241892001-01-25 matthew green <mrg@redhat.com>
24190
24191 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24192 up sid.
24193 (sid_exit): Call `remote_pop_conn' after GDB is gone.
24194
241952001-01-25 matthew green <mrg@redhat.com>
24196
24197 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 24198 Deprecate $sid_spawn_id.
ca3f91ed
MS
24199 (sid_exit): Remove code necessary only for `spawn.'
24200
242012001-01-25 matthew green <mrg@redhat.com>
24202
24203 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24204
fb18ec4a
MC
242052001-01-28 Michael Chastain <chastain@redhat.com>
24206
24207 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24208 to call when tests fail. It takes gdb out of the overloaded
24209 function choice menu back to the main prompt, so that the test
24210 program stays synchronized.
24211 (set_bp_overloaded): New proc to collect all the common
24212 code for setting a breakpoint on an overloaded name. Calls
24213 take_gdb_out_of_choice_menu when needed.
24214 (menu_overload1arg): New variable to collect the repeated
24215 instances of the expected menu for an overloaded name. Change
24216 the regular expression to handle changes in g++ type encoding:
24217 "void" can be either "void" or "", and "unsigned int" can be
24218 either "unsigned int" or "unsigned".
24219 (continue_to_bp_overloaded): Change regular expressions to handle
24220 changes in g++ type encoding.
24221 (no proc): Call take_gdb_out_of_choice_menu when needed.
24222 Remove redundant calls to "info break". Accept either "canceled"
24223 or "cancelled". Change regular expressions in "info break"
24224 calls to handle changes in g++ type encoding. Give all tests
24225 unique strings.
24226
9c646a6e
BE
242272001-01-17 Ben Elliston <bje@redhat.com>
24228
24229 * config/sid.exp: New file.
24230
9549d9c1
AC
24231Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
24232
24233 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
24234
dc96c6c7 242352000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
24236
24237 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
24238 Add a RE to accept a non-ascii char if one is ever presented.
24239
b4df4f68
FN
242402000-12-20 Fernando Nasser <fnasser@redhat.com>
24241
297dd0fd 24242 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 24243
dc96c6c7 242442000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 24245
d63a86f8 24246 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
24247 in regexp. One '\' does not suffice on Linux.
24248
4a7bddb6
MC
242492000-12-09 Michael Chastain <chastain@redhat.com>
24250
24251 * gdb.base/break.exp (test_clear_command): Use a marker function
24252 rather than 'main' for the test function. Also move this
24253 test to an execution point where the marker function names are
24254 guaranteed to be bound to functions. (Executing tests after a
24255 'finish' from main runs into name conflicts with local names
24256 in __libc_start_main).
24257
dc96c6c7 242582000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
24259
24260 * gdb.base/finish.exp: New test for gdb's "finish" command.
24261 * gdb.base/return2.exp: New test for gdb's "return" command.
24262 * gdb.base/return2.c: New source file for above.
24263
dc96c6c7 242642000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
24265
24266 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
24267 * gdb.base/miscexprs.exp: Ditto.
24268 * gdb.base/pointers.exp: Ditto.
24269 * gdb.c++/derivation.exp: Ditto.
24270 * gdb.c++/local.exp: Ditto.
24271 * gdb.c++/namespace.exp: Ditto.
24272 * gdb.c++/overload.exp: Ditto.
24273 * gdb.c++/ref-types.exp: Ditto.
24274
dc96c6c7 242752000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
24276
24277 * gdb.base/constvars.exp: Test result of "up" command.
24278 * gdb.base/miscexprs.exp: Ditto.
24279 * gdb.base/pointers.exp: Ditto.
24280 * gdb.base/scope.exp: Ditto.
24281 * gdb.c++/derivation.exp: Ditto.
24282 * gdb.c++/local.exp: Ditto.
24283 * gdb.c++/namespace.exp: Ditto.
24284 * gdb.c++/overload.exp: Ditto.
24285 * gdb.c++/ref-types.exp: Ditto.
24286
44097287
FN
242872000-11-22 Michael Chastain <chastain@redhat.com>
24288
24289 * mips_pro.exp: Accept either "middle -> top -> main" or
24290 "middle -> main" in the backtrace, because gcc can optimize
24291 tail calls to jumps. Remove setup_xfail for the hppa case.
24292 Add a comment with the original warning messages from PR 3016,
24293 which was filed in 1993, to preserve them for posterity.
24294
9d2e1bab
ND
242952000-11-17 Nick Duffek <nsd@redhat.com>
24296
24297 * lib/gdb.exp (gdb_test): Override timeout with board info.
24298
1aca8eb7
ND
242992000-11-17 Nick Duffek <nsd@redhat.com>
24300
24301 * gdb.base/display.exp: Don't kill running stub. Add "again" to
24302 the second kill and detach messages.
24303
93076499
ND
243042000-11-17 Nick Duffek <nsd@redhat.com>
24305
24306 * configure.in: Add AC_EXEEXT.
24307 * configure: Regenerate.
24308 * Makefile.in (just-check): Export EXEEXT.
24309 * lib/gdb.exp ($EXEEXT): Import from environment.
24310 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
24311 expect "maint dump-me" on Cygwin.
24312 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
24313 $EXEEXT.
24314
30e87cd3
ND
243152000-11-17 Nick Duffek <nsd@redhat.com>
24316
24317 * gdb.base/break.exp: Test backtrace and finish from called
24318 function on all platforms, not just HP-UX.
24319
dc96c6c7 243202000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
24321
24322 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
24323 code from gdb_target_monitor, so it can be used independantly
24324 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 24325
dc96c6c7 243262000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
24327
24328 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
24329 * gdb.base/corefile.exp: Expect the message "Program is being
24330 debugged already" when we send the "corefile" command, since
24331 the preceeding gdb_load may have connected gdb to a remote target.
24332 * gdb.base/display.exp: Disable hardware watchpoints if new
24333 board info variable "no_hardware_watchpoints" is true.
24334 Replace single-letter commands with more readable ones.
24335 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
24336 if new board info variable "no_hardware_watchpoints" is true.
24337 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
24338 to see if stdio (printf) testing is possible.
24339 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
24340 board info variable "no_hardware_watchpoints" is true. Use new
24341 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
24342
39124dea
FN
243432000-11-13 Fernando Nasser <fnasser@redhat.com>
24344
24345 From Orjan Friberg <orjanf@axis.com>:
24346 * gdb.base/printcmds.exp: Escape curly braces followed by a number
24347 in array print pattern match.
24348
a9e2e984
FN
243492000-11-09 Fernando Nasser <fnasser@redhat.com>
24350
24351 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
24352 spelling "cancelled" to U.S. spelling "canceled" to match changes
24353 made to gdb.
24354 * gdb.c++/ovldbreak.exp: Ditto.
24355
c7db355b
PS
243562000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24357
24358 * gdb.base/callfuncs.c (main): Moved to end of file, call
24359 t_double_values to initialize the FPU before inferior calls are made.
24360 * gdb.base/callfuncs.exp: Test for register preservation after calling
24361 inferior functions. Add tests for continuining, finishing and
24362 returning from a stop in a call dummy.
24363
dc96c6c7 243642000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
24365
24366 * gdb.base/commands.exp: Break up long lines, and re-indent.
24367
dc96c6c7 243682000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
24369
24370 * config/gdbserver.exp: Rewritten from the ground up, to make it
24371 compatible with the current dejagnu tree, and to make it work with
24372 the new "gdbserver" in libremote.
24373
dc96c6c7 243742000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
24375
24376 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
24377 * gdb.base/varargs.exp: Skip entire test if no printf support.
24378 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
24379 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
24380
dc96c6c7 243812000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
24382
24383 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
24384 no floating point support.
24385 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
24386 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
24387 * gdb.base/call-rt-st.exp: Ditto.
24388 * gdb.base/call-strs.exp: Ditto.
24389
bac5fc66
JG
243902000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
24391
24392 * gdb.base/sizeof.c: include <stdio.h>.
24393
24394 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
24395 'finish', otherwise uncaptured gdb_prompt would potentially
24396 throw remaining test points out of sync.
bac5fc66 24397
b22a6027
SB
243982000-07-26 Scott Bambrough <scottb@netwinder.org>
24399
24400 * gdb.base/recurse.exp: Run tests for all targets.
24401 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
24402 gnu-oldld case on ARM.
24403 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
24404 for ARM targets.
d63a86f8 24405
d8231941
AG
24406Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
24407
24408 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
24409 * gdb.java/configure: Rebuild.
24410
8caabe69
AG
24411Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
24412
24413 * gdb.java/jv-exp.exp: New file.
24414
9d273ca3
AG
24415Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
24416
24417 * configure: Rebuilt.
24418 * configure.in (configdirs): Add gdb.java.
24419 * gdb.java/jmisc.java: New file.
24420 * gdb.java/jmisc.exp: New file.
24421 * gdb.java/Makefile.in: New file.
24422 * gdb.java/configure: Rebuilt.
24423 * gdb.java/configure.in: New file.
24424 * lib/java.exp: New file.
24425
4f823a66
AC
24426Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
24427
24428 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 24429 underflow.
4f823a66 24430
2391e11d
AC
24431Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
24432
24433 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 24434 and the compilers sizes.
2391e11d 24435
54602222
ND
244362000-07-09 Nick Duffek <nsd@redhat.com>
24437
24438 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
24439 (use_methods): New function.
24440 (main): Call use_methods().
24441 * gdb.c++/classes.exp (test_method_param_class): New procedure.
24442 (do_tests): Call test_method_param_class.
24443
2bec0572
ND
244442000-07-09 Nick Duffek <nsd@redhat.com>
24445
24446 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
24447 spelling.
24448 (test_enums): New procedure. Move enum tests from end of script
24449 to here. Set breakpoint on function name instead of line number.
24450 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
24451 (enums2): New marker function.
24452 (enums1): New function.
24453 (main): Call enums1(). Move enum tests to enums1().
24454
78492fde
AC
24455Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
24456
24457 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 24458 compile/link program. Update line numbers.
78492fde
AC
24459 * gdb.asm/d10v.inc: Define ``startup''.
24460 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 24461
49a2cef8
AC
24462Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
24463
24464 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
24465
3e6c8688
EZ
244662000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24467
24468 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 24469 of 'help maint print' command.
3e6c8688 24470
9ff5cbe9
AC
24471Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
24472
24473 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 24474 they use gdb_expect_list.
9ff5cbe9 24475
17c579bd
AC
24476Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
24477
24478 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
24479 memory-read-packet-size'' instead of ``set endian big'' to test
24480 long commands.
17c579bd 24481
e6d71bf3
DB
244822000-06-03 Daniel Berlin <dan@cgsoftware.com>
24483
24484 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 24485 g++, and stop skipping them.
e6d71bf3
DB
24486
24487 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
24488 work under g++.
24489
d63a86f8 24490 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
24491 initialization.
24492
dc96c6c7 244932000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
24494
24495 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
24496 the regular expression: accept an (almost) arbitrary sequence of
24497 "frames-invalid" and "breakpoints-invalid" messages both before
24498 and after the "starting" message.
24499
dc96c6c7 245002000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
24501
24502 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 24503
dc96c6c7 245042000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
24505
24506 * gdb.base/annota1.exp (annotate-signal-handler-caller):
24507 Relax the regular expression a little, make it pass on Solaris 8.
24508
8216cda9
KB
245092000-05-12 Kevin Buettner <kevinb@redhat.com>
24510
24511 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 24512 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
24513 Instead, it is permissible for gdb to stop on the line of the
24514 call itself.
24515
1a570b2f
MS
245162000-05-12 Michael Snyder <msnyder@.cygnus.com>
24517
24518 * gdb.base/break.exp (bp on small function, optimized file):
24519 Add a second pass pattern. The behavior differs here between stabs
24520 and dwarf for one-line functions. Stabs preserves two line symbols
24521 (one before the prologue and one after) with the same line number,
24522 but dwarf regards these as duplicates and discards one of them.
24523 Therefore the address after the prologue (where the breakpoint is)
24524 has no exactly matching line symbol, and GDB reports the breakpoint
24525 as if it were in the middle of a line rather than at the beginning.
24526
dc96c6c7 245272000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 24528
d63a86f8 24529 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
24530 rather than "send_gdb" (for consistancy).
24531
7d418785
AC
24532Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
24533
24534 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
24535 * gdb.c++/templates.cc: Properly check for GCC version number.
24536 * lib/compiler.cc: Likewise
24537
dc96c6c7 245382000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 24539
d63a86f8 24540 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
24541 gdb may not stop at the first line of main, due to code motion.
24542
dc96c6c7 245432000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
24544
24545 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24546 This test depends on parsing the printf output from the target.
24547 Since the sparclet stub doesn't do stdio, this will never work.
24548 * gdb.base/call-rt-st.exp: ditto.
24549 * gdb.base/call-strs: ditto.
24550
dc96c6c7 245512000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
24552
24553 * gdb.base/miscexprs.exp: make sizeof long array test portable.
24554
24555 * gdb.base/ending-run.exp: After connecting to a remote target,
24556 but before running, the target will appear to be in a random
24557 location. Specify both a file and a line for breakpoints.
24558 Also, the function that calls main may be called 'init'
24559 rather than 'start'.
24560
a5a51225
EZ
245612000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24562
24563 * gdb.base/help.exp: Update output for add-symbol-file command.
24564
7930cc7c
FN
245652000-04-10 Fernando Nasser <fnasser@cygnus.com>
24566
24567 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24568 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24569
23e37ab1
C
245702000-04-07 J.T. Conklin <jtc@redback.com>
24571
e93c542c
C
24572 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24573
23e37ab1
C
24574 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24575
591b8fa3
PDM
24576Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24577
24578 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 24579 values that can be represented exactly.
591b8fa3
PDM
24580 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24581 above change, and to not check against the directory part of the source
24582 file name.
24583 (step into print_long_arg_list): Likewise.
24584 (print print_small_structs from print_long_arg_list): Likewise.
24585 (print print_long_arg_list): Likewise.
24586
7a495180
EZ
245872000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24588
30b53638 24589 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 24590
beb998c6
AC
24591Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24592
24593 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24594
1c689132
DB
245952000-03-25 Daniel Berlin <dan@cgsoftware.com>
24596
24597 * gdb.base/commands.exp (deprecated_command_test): Add test for
24598 deprecate with no arguments.
24599
c1790a9d
JL
246002000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24601
24602 * gdb.base/break.exp: Add new test for setting breakpoints on
24603 optimized code so we can test breakpoints work even when function
24604 prologues may be optimized away
24605
003ba290
FN
246062000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24607
24608 From David Whedon <dwhedon@gordian.com>
a9c64011 24609 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 24610
6837a0a2
DB
246112000-03-22 Daniel Berlin <dan@cgsoftware.com>
24612
24613 * gdb.base/help.exp: Added test for new apropos command.
24614
b9593231
KB
246152000-03-21 Kevin Buettner <kevinb@redhat.com>
24616
24617 * gdb.base/pointers.c (usevar): New function.
24618 (main): Make sure that global variables v_int_pointer2, rptr,
24619 and y are all referenced someplace in the program by calling
24620 usevar() on them. [Some linkers delete symbols which are
24621 never referenced. The space remains, but there's no way to
24622 get a (symbolic) handle on the variable from the debugger.]
24623
751a959b
EZ
246242000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24625
24626 * gdb.base/printcmds.c: Add typedeffed arrays.
24627
24628 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 24629 procedure to test arrays that are typedef'd.
751a959b 24630
73a93a32
JI
246312000-03-13 James Ingham <jingham@leda.cygnus.com>
24632
24633 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 24634 the library directories.
73a93a32 24635
fb40c209
AC
24636Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24637
24638 * configure.in (configdirs): Add sub directory gdb.mi.
24639 * configure: Re-generate.
24640
24641 * gdb.mi: New directory.
d63a86f8 24642
ee4dd2c9
AC
246432000-02-25 Scott Bambrough <scottb@netwinder.org>
24644
24645 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 24646 a long long value as a double on ARM platforms.
ee4dd2c9 24647
70f0cc22
JB
246482000-02-16 Jim Blandy <jimb@redhat.com>
24649
24650 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24651 default source file is set properly before running this test.
24652
853819b8
EZ
246532000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24654
24655 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 24656 gdbtk/library directory, not in gdbtcl2.
853819b8 24657
dfcd3bfb
JM
246582000-02-04 Jim Blandy <jimb@redhat.com>
24659
24660 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24661 backslash from regexp pattern.
24662
24663 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24664 procedure. Use it to run all the "continue to bp overloaded"
24665 tests. Note that this changes the names of the tests slightly.
24666 If the breakpoint hit message includes a hex PC value, because
24667 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24668 from the real source code, still consider that a pass.
24669
24670 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24671 XFAIL here if the breakpoint message contains a hex address. Note
24672 similar change on 1999-11-02.
24673
24674 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24675
24676 * gdb.base/ptype.exp: Establish a default source file before
24677 calling get_debug_format.
24678
246792000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24680
24681 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24682
8b93c638
JM
246832000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24684
24685 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24686 of successive stepi commands -- while in the prologue we should see
24687 the function entry bracket.
24688
246892000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24690
24691 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24692 reach __change_mode() when stepping through the end of main().
24693
c5394b80
JM
246942000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
24695
24696 * gdb.base/default.exp: Fix expected pattern.
24697 * gdb.base/help.exp: Same.
24698
0d06e24b
JM
246992000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24700
24701 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 24702 Don't use xfail's because that affects only the following test.
d63a86f8 24703
0d06e24b 24704 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 24705 solaris or linux.
0d06e24b
JM
24706
24707 * gdb.base/selftest.exp: Update to reflect changes to main.c.
24708
dc96c6c7 247092000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 24710
d63a86f8 24711 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
24712 "A syntax error" rather than "A parse error". Accept both.
24713
247142000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
24715
24716 * gdb.base/default.exp: Remove OS dependent string from "target
24717 remote" test.
24718 * gdb.base/help.exp: Same for "help target remote" test.
24719
c3f6f71d
JM
247202000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24721
24722 From Jim Kingdon <kingdon@redhat.com>:
24723
24724 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
24725 prompt (cleanup rather than necessity, but still might keep output
24726 from spilling to next test).
c3f6f71d
JM
24727
247282000-01-02 Fred Fish <fnf@cygnus.com>
24729
24730 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24731 AIX, which defines them in <sys/types.h>.
24732
ed9a39eb 247331999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 24734
ed9a39eb 24735 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 24736 float" test.
ed9a39eb
JM
24737
247381999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 24739
ed9a39eb 24740 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
24741
24742 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24743 outermost frame disallowed".
24744
247451999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
24746
24747 * gdb.base/setvar.exp: New tests for setting the value of a struct
24748 with a constant list.
24749
247501999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24751
24752 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24753 require the user to type a cast before setting the value of a struct.
24754
de57eccd
JM
247551999-12-06 Jim Blandy <jimb@cygnus.com>
24756
24757 * gdb.base/default.exp: Expect the new 'info float' command on
24758 all i386 platforms.
24759
24760 * gdb.threads/linux-dp.exp: Expand our ability to recognize
24761 LinuxThreads libraries that don't support debugging.
24762
c2d11a7d
JM
24763Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24764
24765 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
24766 Change the buffer type to ``unsigned char'' to simplify size
24767 arithmetic.
c2d11a7d
JM
24768
24769 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
24770 stub only handles 400-1 byte packets. Verify that the download
24771 worked.
c2d11a7d
JM
24772
247731999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
24774
24775 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24776 tests, using UNRESOLVED for the untested cases. Also, does not wait
24777 for a timeout if the prompt was received before a recognizable pattern.
24778
247791999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
24780
24781 * lib/gdb.exp (gdb_expect_list): Fix spelling.
24782
247831999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24784
24785 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 24786 watchpoints.
c2d11a7d
JM
24787
247881999-11-24 Jason Merrill <jason@casey.cygnus.com>
24789
24790 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24791
24792 * gdb.c++/local.exp: Be more flexible in recognizing local class
24793 name mangling. Don't allow horribly truncated method names.
24794 * gdb.c++/derivation.exp: Expect protected inheritance.
24795 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24796 * gdb.c++/virtfunc.exp: Likewise.
24797 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
24798 when printing a nested enum.
24799
248001999-11-22 Jim Blandy <jimb@cygnus.com>
24801
24802 * gdb.base/step-test.exp: Properly await GDB's response to setting
24803 a breakpoint on the call to large_struct_by_value.
24804
24805 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24806 just because we have debug info for the `start' function.
24807
248081999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24809
24810 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24811 "Unknown signal" messages, which indicate (on LinuxThreads) that
24812 GDB doesn't know how to debug threads on this system. This is
24813 better than hanging while philosopher 0 dumps chatter into gdb.log.
24814
248151999-11-18 Tom Tromey <tromey@cygnus.com>
24816
24817 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24818
248191999-11-18 Fred Fish <fnf@cygnus.com>
24820
24821 * gdb.base/coremaker2.c: Add sample program for generating
24822 cores that is more self contained than coremaker.c. Eventually
24823 I'll add more code to this and tie it into the testsuite.
24824
4ce44c66
JM
248251999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24826
24827 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24828
248291999-11-10 Jimmy Guo <guo@cup.hp.com>
24830
24831 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 24832 from $srcdir/lib/.
4ce44c66 24833 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 24834 and gdb.c++/.
4ce44c66
JM
24835
24836 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24837
d63a86f8 24838 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
24839 'continue with watch' test point.
24840
248411999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24842
24843 Merged from p2linux-990323-branch:
d63a86f8 24844
4ce44c66
JM
24845 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24846
11cf8741
JM
24847Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24848
24849 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 24850 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
24851
24852Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24853
24854 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 24855 gdb_expect_list.
11cf8741
JM
24856
24857Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24858
24859 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24860
248611999-11-03 Mark Salter <msalter@cygnus.com>
24862
24863 * gdb.base/break.exp: Fix "stub continue" pattern.
24864
248651999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24866
24867 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24868
248691999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24870
24871 * gdb.base/display.exp ("finish"): Add timeout clause.
24872
24873 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24874 plain prompt clause, so this doesn't have to time out in order to
24875 fail.
24876
24877 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 24878 breakpoint hit messages include an address.
11cf8741
JM
24879
24880 * gdb.base/display.exp: Don't forget to escape parens in regular
24881 expressions. Unix regexp notatation sucks.
24882
248831999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24884
24885 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 24886 order for 'signalled' message.
11cf8741 24887
5c44784c
JM
248881999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24889
24890 From Jimmy Guo <guo@cup.hp.com>:
24891 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24892 * gdb.base/annota1.c: Add code for tests to work with.
24893
248941999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24895
24896 * gdb.base/remote.exp: New test for remote downloading settings.
24897 * gdb.base/remote.c: New file with large .data.
24898
917317f4
JM
248991999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24900
24901 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24902 for LinuxThreads support, merged from the Code Fusion branch.
24903
24904Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24905
24906 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
24907 containing exp_continue into a while within an expect. Don't
24908 attempt a start more than three times. Check return value from
24909 gdb_load.
d63a86f8 24910
2df3850c
JM
24911Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24912
24913 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 24914 a pass case.
2df3850c 24915
2acceee2
JM
249161999-10-01 Kevin Buettner <kevinb@cygnus.com>
24917
24918 * gdb.base/break.c (main): Added a statement that we can step
24919 off of.
24920 * gdb.base/break.exp: Added tests for setting a breakpoint
24921 at an offset and stepping onto a breakpoint.
24922
249231999-10-01 Fred Fish <fnf@cygnus.com>
24924
d63a86f8 24925 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
24926 gdb output.
24927
c2c6d25f
JM
249281999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24929
24930 * gdb.base/break.exp: Code locations are in hex, don't forget!
24931 (For HP-UX.)
24932
249331999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24934
24935 * condbreak.exp: Use break.c as test program.
24936 * condbreak.c: Remove, redundant with break.c.
24937
249381999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24939
24940 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 24941 Z-packets if the target needs it.
c2c6d25f
JM
24942
249431999-09-13 James Ingham <jingham@leda.cygnus.com>
24944
24945 * gdb.c++/overload.exp: Added tests for listing overloaded
24946 functions with function pointers in the arg, explicitly calling
24947 out the version you want.
24948
cff3e48b
JM
249491999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24950
24951 * long_long.exp: Add variations of test cases that work for
24952 targets with 16-bit ints and 32-bit doubles.
24953
d4f3574e
SS
249541999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24955
24956 * break.c (main): Compare a possibly-uninitialized argc with an
24957 unlikely value that fits in 16 bits.
24958
249591999-09-07 Stan Shebs <shebs@andros.cygnus.com>
24960
24961 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
24962 0xfeeb, don't want negative numbers if ints are 16 bits.
24963
24964 * lib/gdb.exp (skip_cplus_tests): New proc.
24965 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
24966 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
24967 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
24968 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
24969 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
24970 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
24971 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
24972 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
24973
24974 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
24975
24976Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
24977
24978 * gdb.base/corefile.exp (up): Allow a parameter to appear
24979 in the frame that we're going up to.
24980
24981 From Jim Blandy <jimb@cygnus.com>:
24982
24983 * gdb.base/default.exp (info float): Expect some output now.
24984
24985 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
24986 returning floating-point values to fail on the x86.
24987 * gdb.base/callfwmall.exp (do_function_calls): Same.
24988
24989 * gdb.base/list.exp (test_listsize): Correct expectations for
24990 listing line 1 with listsize 2. Also, listing a single line
24991 works now, as does listing three lines. [Kevin's note: There
24992 were a number of other cases fixed too where the expectations
24993 differed...]
24994
249951999-09-02 Stan Shebs <shebs@andros.cygnus.com>
24996
24997 * gdb.base/selftest.exp: Add case for when version prints as
24998 constant string instead of char pointer.
24999
104c1213
JM
250001999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25001
25002 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 25003 stepping out of main.
104c1213
JM
25004
25005 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25006 G++ used.
25007
25008 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 25009 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
25010
25011 * gdb.c++/ovldbreak.exp: Update match string in test that
25012 includes a warning of multiple breakpoints.
25013
250141999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25015
25016 * gdb.base/display.exp: Improve precision of step-after-finish
25017 added yesterday.
25018
25019 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 25020 test.
104c1213
JM
25021
25022 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25023 configs when using G++, not just hppa*.
25024
250251999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25026
25027 * gdb.base/async.c: New file.
25028 * gdb.base/async.exp: New file.
25029
25030Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25031
25032 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25033 PA64.
25034
53a5351d
JM
25035Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25036
104c1213
JM
25037 * gdb.base/display.exp: "finish" can leave us mid-line on many
25038 targets, deal with it. Add a small constant to main, instead of
25039 1000 since main+1000 may not be a valid address in the target.
25040
53a5351d
JM
25041 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25042 on hpux11.
25043
25044 * gdb.base/attach.exp: Handle another hpux11 error message variant
25045 when attaching to a process that does not exist.
25046
250471999-08-19 J.T. Conklin <jtc@redback.com>
25048
25049 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 25050 characters in 'continue to 1241' test.
53a5351d
JM
25051
250521999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25053
25054 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25055 stop in print_long_arg_list, define and use a whitespace
25056 variable in print_small_structs test, add an XFAIL for Solaris.
25057 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25058 interested enough to fix.
25059
7be570e7
JM
250601999-08-13 Keith Seitz <keiths@cygnus.com>
25061
25062 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25063 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25064 proc knows about targets other than the natives.
25065 (test_assign): Use "gdb_run_cmd" to "run" the target.
25066 Check that we've actually hit the breakpoint at main.
25067 When we attempt to assign a value to a local variable, check
25068 that the variable is in the current scope, i.e., don't use
25069 a test with an empty result.
25070
25071Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25072
25073 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 25074 command.
7be570e7
JM
25075
250761999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25077
25078 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25079 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25080 gdb.compat, gdb.threads-hp.
25081 gdb.hp/configure, gdb.hp/configure.in: New files.
25082 gdb.hp/Makefile.in: Recurse into new subdirs.
25083 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25084 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25085 in object files.
25086 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25087
96baa820
JM
250881999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25089
25090 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 25091 funky printf, remove a bogus p/a test.
96baa820
JM
25092
250931999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25094
25095 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
25096 connected to the target. This is necessary when running not
25097 natively.
96baa820
JM
25098
250991999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25100
25101 * gdb.base/step-test.exp: Removed some extraneous messages.
25102
25103 * gdb.base/long_long.exp: Don't run memory examination tests
25104 on little-endian targets (they will need a different set of
25105 results to match).
25106
251071999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25108
25109 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25110 until somebody decides to fix GDB.
25111
25112 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 25113 constant as "ULL".
96baa820
JM
25114 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25115 matches for a couple x/2 commands.
25116
a0b3c4fd
JM
251171999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25118
25119 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25120 by merging in ref-types2 tests.
25121 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25122
25123 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25124 * gdb.c++/Makefile.in: Add standard actions.
25125 (EXECUTABLES): Rename from PROGS, update list.
25126 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25127 from gdb.hp.
25128 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25129 foo and bar locals.
25130 * gdb.c++/anon-union.exp: Fix tests to match.
25131 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25132 expect matches to handle output variations.
25133 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25134 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 25135 output, add HP alternatives for new and delete prints.
a0b3c4fd 25136 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 25137 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
25138 * gdb.c++/demangle.exp: Use $style when reporting failure.
25139 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25140 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25141 match alternatives.
25142 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 25143 compilers.
a0b3c4fd
JM
25144 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25145 * gdb.c++/method.exp: Add match alternatives.
25146 * gdb.c++/misc.cc: Add bool types.
25147 * gdb.c++/misc.exp: Add tests for bool types.
25148 * gdb.c++/overload.exp: Add xfails.
25149 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25150 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25151 add some more template parameter tests (only for HP currently).
25152 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25153 * gdb.c++/virtfunc.cc: Add return type and value for main.
25154 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25155 match alternatives.
d63a86f8 25156
a0b3c4fd
JM
251571999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25158
25159 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25160
251611999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25162
25163 * gdb.base/signals.exp: Don't expect getting a backtrace from
25164 within a signal handler to fail on Linux.
25165
251661999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25167
25168 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25169 * lib/gdb.exp: Remove some gratuitious semicolons.
25170 (delete_breakpoints): Increase timeout.
25171 (gdb_expect): Add -notransfer option.
25172 (gdb_test): Use -notransfer option.
25173 (get_compiler_info): Add f77 case.
25174 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 25175 case.
a0b3c4fd
JM
25176 (gdb_preprocess): Call get_compiler.
25177
25178 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25179 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
25180 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25181 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25182 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25183 third arg to gdb_test.
a0b3c4fd
JM
25184 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25185 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 25186 HP-UX xfails, add others.
a0b3c4fd
JM
25187 * gdb.base/completion.exp: Reflect name change of self-test.
25188 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
25189 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25190 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25191 HP failure number.
a0b3c4fd
JM
25192 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25193 useless HP-UX 10.30 references.
25194 * gdb.base/maint.exp: Loosen matches.
25195 * gdb.base/pointers.c (main): Declare more_code.
25196 * gdb.base/pointers.exp: Match on output of a `next'.
25197 * gdb.base/structs.c: Add prototypes.
25198 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25199 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25200
252011999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25202
25203 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 25204 command.
a0b3c4fd
JM
25205
252061999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25207
25208 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25209 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
25210
25211 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
25212 debug info. Deal with lack of signal hanlder info in stack.
25213
a9c64011 25214 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
25215 * gdb.base/annota1.exp: If printf has debug info, deal with it.
25216
5a2468f5
JM
252171999-07-19 Stan Shebs <shebs@andros.cygnus.com>
25218
25219 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 25220 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 25221
adf40b2e
JM
25222Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25223
25224 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 25225 a1-selftest.exp.
adf40b2e
JM
25226 * gdb.base/configure: Re-generate.
25227
252281999-07-12 Stan Shebs <shebs@andros.cygnus.com>
25229
25230 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
25231 in trying to run first and name is too long.
25232
25233 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
25234 pointers2.c and pointers2.exp, respectively.
25235 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
25236 doschk happier.
25237
43e526b9
JM
252381999-07-08 Stan Shebs <shebs@andros.cygnus.com>
25239
25240 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
25241 callfuncs2.c and callfuncs2.exp.
25242
25243 * gdb.base/list.exp: Remove mistaken xfails.
25244 * gdb.base/list0.h: Add optional prototypes.
25245
9846de1b
JM
25246Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
25247
a9c64011 25248 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 25249 calling malloc.
a9c64011
AS
25250 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
25251 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 25252 use.
9846de1b
JM
25253
252541999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25255
25256 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
25257 * gdb.base/annota2.cc, annota2.exp: Move from here.
25258 * gdb.c++/annota2.cc, annota2.exp: To here.
25259 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
25260
43ff13b4
JM
25261Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
25262
25263 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 25264 a consistent format.
43ff13b4 25265
085dd6e6
JM
252661999-06-25 Stan Shebs <shebs@andros.cygnus.com>
25267
25268 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25269 * lib/gdb.exp (get_compiler_info): Add detection for assorted
25270 HP compilers, also set the globals $true and $false.
25271
25272 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
25273 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
25274 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
25275 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
25276 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
25277 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
25278 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
25279 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
25280 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
25281 whatis.c} Add C++ compatible function definitions and return
25282 types, add includes for library functions.
085dd6e6
JM
25283 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
25284 * gdb.base/step-test.c (myglob): Rename from glob.
25285 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
25286 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
25287 files, move here from gdb.hp.
085dd6e6 25288 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
25289 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
25290 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
25291 Adjust line numbers in regexps.
085dd6e6
JM
25292
25293 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
25294 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
25295 instead of 0/1.
25296
25297 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
25298 foll-vfork.exp: New files, move here from gdb.hp.
25299 * gdb.base/page.exp: New file, test of pagination command.
25300
25301 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
25302 recursion test.
25303 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
25304
25305 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 25306 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
25307
25308 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 25309 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 25310 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 25311 watchpoint test.
085dd6e6
JM
25312 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
25313 them work.
25314 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
25315 expressions properly.
25316 * gdb.base/corefile.exp: Loosen the match slightly.
25317 * gdb.base/default.exp: Allow "Error accessing memory" message
25318 also.
25319 * gdb.base/display.exp: Skip over x/0 j if PA64.
25320 * gdb.base/funcargs.exp: Add xfails for HP-UX.
25321 * gdb.base/interrupt.exp: Ditto.
25322 * gdb.base/langs.exp: Add symbolic matches governed by compiler
25323 in use.
25324 * gdb.base/list.exp: Add xfails for HP-UX.
25325 * gdb.base/long_long.exp: Refine some of the numeric matches.
25326 * gdb.base/mips_pro.exp: Xfail on HP-UX.
25327 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
25328 * gdb.base/nodebug.exp: Succeed on more varieties of output.
25329 * gdb.base/opaque.exp: Remove some HP-UX xfails.
25330 * gdb.base/ptype.exp: Succeed on more varieties of output.
25331 * gdb.base/scope.exp: Add xfails for HP-UX.
25332 * gdb.base/sect-cmd.exp: Add more cases.
25333 * gdb.base/setvar.exp: Add xfails for HP-UX.
25334 * gdb.base/shlib-call.exp: Loosen some matches slightly.
25335 * gdb.base/signals.exp: Match on void symbolically.
25336 * gdb.base/step-test.exp: Add case for PA64.
25337 * gdb.base/term.exp: Add exit and restart.
25338 * gdb.base/twice.exp: Clean up after self.
25339 * gdb.base/varargs.exp: Disable overload resolution explicitly.
25340 * gdb.base/whatis.exp: Allow more ways to pass tests.
25341
25342 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 25343 no longer useful.
085dd6e6
JM
25344
25345Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
25346
25347 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 25348 list of patterns.
085dd6e6 25349 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
25350 print_double_array(double_array)", "continuing to breakpoint
25351 1018", "print print_double_array(array_d)" and "continuing to
25352 1034" tests.
d63a86f8 25353
085dd6e6
JM
253541999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
25355
a9c64011 25356 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
25357
253581999-06-24 Stan Shebs <shebs@andros.cygnus.com>
25359
25360 * config/mt-*: Remove, these haven't been used since 1996.
25361
253621999-06-22 Stan Shebs <shebs@andros.cygnus.com>
25363
25364 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 25365 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
25366 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
25367
9e0b60a8
JM
253681999-06-18 Stan Shebs <shebs@andros.cygnus.com>
25369
25370 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
25371 simpler match case for the ptype of the big class.
25372
253731999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25374
25375 * gdb.exp: Fix test for gdb_prompt existence.
25376
253771999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25378
25379 * gdb.exp (gdb_test): Add fail after calls to perror.
25380
253811999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25382
25383 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
25384
253851999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25386
25387 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
25388
0f71a2f6
JM
25389Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
25390
25391 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 25392 malloc() is linked in.
0f71a2f6
JM
25393
253941999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25395
25396 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
25397 step at end.
25398
25399 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
25400
254011999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
25402
25403 * gdb.java/jv-print.exp: New file. (Our first Java test!)
25404
cce74817
JM
25405Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
25406
25407 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
25408 * gdb.base/mips_pro.exp: Likewise.
25409
254101999-06-02 Keith Seitz <keiths@cygnus.com>
25411
25412 * gdb.c++/templates.cc: Change all "new" operators to throw
25413 an exception.
25414 * gdb.c++/cplusfuncs.cc: Likewise.
25415
25416 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
25417
25418Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
25419
25420 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
25421 * gdb.base/ending-run.exp: When stepping out of main, accept a
25422 step into an arbitrary assembler file.
cce74817 25423
392a587b
JM
254241999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25425
d63a86f8 25426 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 25427 "breakpoint-invalid" to be printed.
6fdff2c5
PA
25428 * gdb.base/annota2.exp: Revise line number for main
25429 breakpoint. Allow any number of "frames-invalid" and
25430 "breakpoint-invalid" to be printed.
392a587b
JM
25431 * gdb.base/annota2.cc: Initialize a.x to 0.
25432
9e086581
JM
254331999-05-17 Keith Seitz <keiths@cygnus.com>
25434
6fdff2c5
PA
25435 * gdb.base/call-ar-st.exp: Skip
25436 "print print_double_array (double_array)" when "skip_float_tests" set.
25437 Ditto for "print print_double_array(array_d)",
25438 "print print_small_structs", "print print_ten_doubles", and
25439 "step into print_long_arg_list".
25440 Don't assume we can step into "print_long_arg_list": we could step
25441 into memcpy.
25442 * gdb.base/call-rt-st.exp: Don't run float-related tests when
25443 "skip_float_tests" is set: "print print_one_double(*d1)"
25444 and "print print_two_floats(*f3)".
9e086581
JM
25445 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
25446 "skip_float_tests" is set.
6fdff2c5
PA
25447 * gdb.base/varargs.exp: Skip
25448 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
25449 "skip_float_tests" set.
d63a86f8 25450
cd0fc7c3
SS
254511999-05-06 Keith Seitz <keiths@cygnus.com>
25452
25453 * gdb.base/annota2.cc: Include stdio.h.
25454
25455Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
25456
25457 * gdb.base/crossload.exp: Remove, this has been disabled ever
25458 since BFD stopped including all targets, and cross-GDB gets
25459 plenty of testing anyway.
25460 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
25461 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
25462 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
25463 * gdb.base/README: Remove, was doc for this.
25464 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 25465 needed.
cd0fc7c3 25466
b83266a0
SS
254671999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25468
25469 * gdb.base/call-ar-st.exp: Fix one regular expression in test
25470 output.
25471
25472 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
25473 * gdb.base/annota2.exp: New file. More annotation tests.
25474 * gdb.base/annota1.c: New file. Source file for annota1.exp.
25475 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
25476
254771999-04-23 Angela Marie Thomas <angela@cygnus.com>
25478
25479 * config/cfdbug.exp: New file.
25480
7a292a7a
SS
254811999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
25482
25483 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
25484 Marcus Daniel's and Dale Hawkins's demangler crashes.
25485
25486 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
25487 test_lucid_style_demangling, test_arm_style_demangling,
25488 test_hp_style_demangling): Try Tom Tromey's core-dumping
25489 identifier under each demangling style.
7a292a7a
SS
25490
254911999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
25492
25493 * gdb.c++/demangle.exp: Include the current demangling style
25494 in all test names.
25495 (current_demangling_style): New global variable.
25496 (set_demangling_style, test_demangling_core, test_demangling,
25497 test_demangling_exact): New functions.
25498 (test_gnu_style_demangling, test_lucid_style_demangling,
25499 test_arm_style_demangling, test_hp_style_demangling): Use those,
25500 instead of calling gdb_test and gdb_test_exact directly.
25501 (catch_demangling_errors): New function, which reports errors
25502 signalled by the demangling test functions in an orderly way.
25503 (do_tests): Use catch_demangling_errors.
25504
255051999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
25506
25507 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 25508 grouping in expressions, not {}.
7a292a7a
SS
25509
25510 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 25511 initialized yet.
7a292a7a
SS
25512
255131999-04-01 Stan Shebs <shebs@andros.cygnus.com>
25514
25515 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
25516 are listed.
25517
255181999-03-26 Stan Shebs <shebs@andros.cygnus.com>
25519
25520 * gdb.stabs/weird.exp: Test for CC being defined before
25521 looking at its value.
25522
255231999-03-25 Stan Shebs <shebs@andros.cygnus.com>
25524
25525 * gdb.base/call-ar-st.exp: Remove stray '#'.
25526 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
25527 "short int" and "long int".
25528 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 25529 change, to mollify finicky HP compiler.
7a292a7a
SS
25530 * gdb.hp/reg-test.exp (testfile): Fix file name.
25531 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 25532
7a292a7a
SS
25533 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25534 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25535 alternate form of enum ptype.
25536
c906108c
SS
255371999-03-23 Stan Shebs <shebs@andros.cygnus.com>
25538
7a292a7a
SS
25539 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25540 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
25541 passing skip_hp_tests, so as not to waste time on guaranteed
25542 failure.
7a292a7a 25543
c906108c
SS
25544 * gdb.c++/overload.cc: Pass string instead of char addr, always
25545 init ccpfoo.
25546 * gdb.c++/templates.cc: Fix syntax error.
25547
7a292a7a
SS
25548Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25549
25550 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 25551 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
25552 command.
25553
255541999-03-18 James Ingham <jingham@cygnus.com>
25555
25556 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25557
25558 * gdb.c++/method.exp: It was testing an uninitialized int on the
25559 stack and assuming it was positive.
25560
25561 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25562
25563 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 25564 keep it from killing the rest of the tests.
7a292a7a
SS
25565 Use gdb_continue_to_end.
25566
25567 * gdb.base/sigall.exp: use gdb_continue_to_end.
25568
25569 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25570
25571 * gdb.base/display.exp: use runto_main, not run.
25572
d63a86f8
RM
25573 * gdb.base/default.exp: Check for the current error message in the
25574 r abbreviation test.
7a292a7a
SS
25575 Add strongarm to the targets that know info float.
25576
d63a86f8 25577 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
25578 run which doesn't work with monitors.
25579
6fdff2c5
PA
25580 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25581 1034 test.
7a292a7a
SS
25582
25583 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25584
6fdff2c5
PA
25585 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25586 end of a program. Traps the case (in Cygmon) when the program
25587 never really exits. Same as Mark's continue_to_exit, but I had
25588 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
25589
25590 * config/monitor.exp (gdb_target_monitor): added another
25591 target_info parameter: remotebinarydownload. This will set the
25592 remotebinarydownload flag if this is causing some boards trouble.
25593
255941999-03-18 Mark Salter <msalter@cygnus.com>
25595
25596 * lib/gdb.exp (continue_to_exit): New function.
25597
25598 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25599 * gdb.base/ending-run.exp: Ditto.
25600 * gdb.base/step-test.exp: Ditto.
25601
256021999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25603
25604 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25605 (suggested by Art Haas <ahaas@neosoft.com>).
25606
256071999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25608
889bf7c5 25609 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
25610
25611Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25612
25613 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 25614 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
25615
256161999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25617
25618 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25619 a call to strlen; sometimes we do have sources.
25620
256211999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
25622
25623 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 25624 character, so GDB won't print garbage after its end.
d63a86f8 25625
c906108c
SS
25626 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25627 breakpoint there instead. Sometimes GCC emits memcpy to handle
25628 the large structures being passed by value, so we step into that
25629 instead of sum_array_print, which obscures what we're really testing.
25630 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
25631 the bizarre steps into memcpy, so do that here. Add check for
25632 stepping into function calls that pass large structures by value.
25633 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
25634 Remove all references to specific line numbers.
25635 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25636 New type and function.
25637 (main): Call large_struct_by_value, passing it a large struct by value.
25638 * lib/gdb.exp (gdb_get_line_number): New function.
25639
25640 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25641 more portable.
25642
7a292a7a
SS
256431999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25644
c906108c
SS
25645 * lib/gdb.exp: Doc fixes.
25646
7a292a7a
SS
256471999-03-05 Nick Clifton <nickc@cygnus.com>
25648
d63a86f8 25649 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
25650
256511999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25652
c906108c 25653 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
25654 commands. They're not germane to this test, and they don't work
25655 that way on remote targets.
c906108c 25656
3fc11d3e
JM
256571999-03-01 James Ingham <jingham@cygnus.com>
25658
25659 * Changelog entries merged over from gdb development branch.
25660
3fc11d3e
JM
25661 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25662
25663 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25664 for outputting results of test run.
25665
2d4a1622 25666 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
25667
25668 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 25669
7a292a7a
SS
256701999-02-25 Felix Lee <flee@cygnus.com>
25671
25672 * lib/gdb.exp (debug_format): initialize
25673
c906108c
SS
256741999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25675
25676 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25677 * gdb.base/call-rt-st.c: Ditto.
25678
c906108c
SS
256791999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25680
25681 * gdb.threads/pthreads.exp (horiz): New variable.
25682 (test_startup): Fix regexps that capture thread numbers.
25683
256841999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25685
25686 * gdb.base/smoke.exp: Disambiguate two test case names (both
25687 called ``print'').
25688
25689Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25690
25691 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 25692 compilation.
c906108c
SS
25693
256941999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25695
25696 * gdb.base/miscexprs.exp: Change patterns to match GDB's
25697 actual output formatting.
25698 * gdb.base/smoke.exp: GDB removes leading 0's.
25699 * gdb.base/volatile.exp: Don't check type of remuneration;
25700 that variable is no longer defined in constvars.c.
25701 * gdb.base/step-test.c (main): Exit with explicit exit code.
25702 * gdb.base/step-test.exp: Remove two nexti checks--they are
25703 not portable.
25704
257051999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25706
25707 * gdb.base/help.exp ("help delete display"): Fix test to match
25708 gdb's output.
25709
25710 * gdb.base/long_long.c (known_types): Initialize values to zero.
25711 * gdb.base/long_long.exp: Step one more line
25712 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
25713 leading zeros. Explicitly ask for hex formatting. Use
25714 unique test case names.
c906108c
SS
25715
25716Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25717
d63a86f8 25718 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
25719
25720 * gdb.c++/method.exp: Add missing close brace.
25721
257221999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
25723
25724 * gdb.base/maint.exp: Use 'set height 0' to disable page
25725 prompting, not 'set height 400'.
25726
25727 Fix a bunch of timeouts.
25728 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25729 four separate tests, so expect doesn't take forever to match a ton
25730 of text against a regexp with lots of .* forms.
25731 ("maint print psymbols", "maint print symbols"): Make some of
25732 these greps more selective, so that expect doesn't try to wade
25733 through huge piles of output and time out.
25734
25735 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25736
25737 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
25738 tests: one which doesn't expect shlib events to be reported, and
25739 another which does, but is XFAIL for all platforms other than
25740 HP/UX.
c906108c
SS
25741
25742 * gdb.base/break.exp: Teach the test suite that the `catch
25743 fork', `catch vfork', and `catch exec' commands produce error
25744 messages on platforms that don't provide these features.
25745
25746Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25747
25748 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
25749 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25750 (shortening names from solib_threshold.exp etc), won't run on
25751 anything but HP-UX for the foreseeable future.
c906108c 25752 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 25753 reflect move.
c906108c
SS
25754
25755Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
25756
25757 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 25758 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
25759
25760Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
25761
25762 * gdb.base/shlib-call.exp: add test cases to verify that gdb
25763 successfully re-sets breakpoints in shared libraries.
25764 * gdb.base/shmain.c (main): return 0, don't fall off the end.
25765
25766Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25767
d63a86f8
RM
25768 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25769 and compiled w/o GCC.
c906108c
SS
25770
25771 * gdb.hp/watch-cmd.exp: ditto.
25772
25773 * gdb.hp/watch-hp.exp: ditto.
25774
25775 * gdb.hp/xdb1.exp: ditto.
25776
25777 * gdb.hp/xdb2.exp: ditto.
25778
25779 * gdb.hp/dbx.exp: ditto.
25780
25781Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
25782
25783 * constvars.c: Remove C++-isms.
25784 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 25785 with GCC.
c906108c
SS
25786
25787Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
25788
25789 The following changes are part of the HP merge.
25790
25791 * gdb.base/break.exp: new tests to verify that catchpoints for
25792 fork, vfork, and exec don't trigger inappropriately.
25793
25794 * gdb.base/opaque.exp: compile one file at a time, then link.
25795
25796 * gdb.base/signals.exp: be more restrictive about which hppa
25797 systems receive a setup_xfail. new tests.
25798
25799 * gdb.base/solib_threshold.build: new file.
25800 * gdb.base/solib_threshold.exp: new file.
25801 * gdb.base/solib_threshold.link_opts: new file.
25802 * gdb.base/solib_threshold.mk: new file.
25803 * gdb.base/gen_solib_threshold.c: new file.
25804
25805 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25806 tests. New tests for enums inside classes.
25807
25808 * gdb.c++/compiler.cc: indicate support of template debugging.
25809
25810 * gdb.c++/demangle.exp: run hp style demangling tests.
25811
25812 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25813 tests.
25814
25815 * gdb.c++/misc.cc: changes to support new tests.
25816
25817 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25818 to support new tests.
25819
25820 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25821 gcc, then skip these tests.
25822
25823Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25824
25825 The following files are part of the HP merge; some had longer
25826 names at HP, but have been renamed to be no more than 14
25827 characters in length.
25828
25829 * gdb.hp/ambiguous.cc: new file.
25830 * gdb.hp/ambiguous.exp: new file.
25831 * gdb.hp/attach.exp: new file.
25832 * gdb.hp/attach2.exp: new file.
25833 * gdb.hp/classes-hp.exp: new file.
25834 * gdb.hp/ctti.exp: new file.
25835 * gdb.hp/ctti-add.cc: new file.
25836 * gdb.hp/ctti-add1.cc: new file.
25837 * gdb.hp/ctti-add2.cc: new file.
25838 * gdb.hp/ctti-add3.cc: new file.
25839 * gdb.hp/dbx.exp: new file.
25840 * gdb.hp/exception.cc: new file.
25841 * gdb.hp/exception.exp: new file.
25842 * gdb.hp/foll-exec.c: new file.
25843 * gdb.hp/foll-exec.exp: new file.
25844 * gdb.hp/foll-fork.c: new file.
25845 * gdb.hp/foll-fork.exp: new file.
25846 * gdb.hp/foll-vfork.c: new file.
25847 * gdb.hp/foll-vfork.exp: new file.
25848 * gdb.hp/inherit-hp.exp: new file.
25849 * gdb.hp/more-steps.exp: new file.
25850 * gdb.hp/namespace.cc: new file.
25851 * gdb.hp/namespace.exp: new file.
25852 * gdb.hp/optimize.exp: new file.
25853 * gdb.hp/pxdb.c: new file.
25854 * gdb.hp/pxdb.exp: new file.
25855 * gdb.hp/quicksort.exp: new file.
25856 * gdb.hp/reg-test.exp: new file.
25857 * gdb.hp/reg-test.s: new file.
25858 * gdb.hp/sized-enum.c: new file.
25859 * gdb.hp/sized-enum.exp: new file.
25860 * gdb.hp/start-stop.exp: new file.
25861 * gdb.hp/templ-hp.cc: new file.
25862 * gdb.hp/templ-hp.exp: new file.
25863 * gdb.hp/thr-lib.c: new file.
25864 * gdb.hp/thr-lib.exp: new file.
25865 * gdb.hp/thr-lib.h: new file.
25866 * gdb.hp/thr-liblib.c: new file.
25867 * gdb.hp/virtfun-hp.c: new file.
25868 * gdb.hp/virtfun-hp.exp: new file.
25869 * gdb.hp/watch-cmd.exp: new file.
25870 * gdb.hp/watch-hp.exp: new file.
25871 * gdb.hp/xdb1.exp: new file.
25872 * gdb.hp/xdb2.exp: new file.
25873 * gdb.hp/xdb3.exp: new file.
25874
25875Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25876
25877 The following files are part of the HP merge; some had longer
25878 names at HP, but have been renamed to be no more than 14
25879 characters in length.
25880
25881 * gdb.base/ss.h: new file.
25882 * gdb.base/call-ar-st.c: new file.
25883 * gdb.base/call-ar-st.exp: new file.
25884 * gdb.base/call-rt-st.c: new file.
25885 * gdb.base/call-rt-st-exp: new file.
25886 * gdb.base/call-strs.exp: new file.
25887 * gdb.base/ena-dis-br.exp: new file.
25888 * gdb.base/environ.exp: new file.
25889 * gdb.base/long_long.exp: new file.
25890 * gdb.base/sect-cmd.exp: new file.
25891 * gdb.base/shlib-cl2.exp: new file.
25892 * gdb.base/smoke.exp: new file.
25893 * gdb.base/so-impl-ld.c: new file.
25894 * gdb.base/so-impl-ld.exp: new file.
25895 * gdb.base/so-indr-cl.c: new file.
25896 * gdb.base/so-indr-cl.exp: new file.
25897 * gdb.base/varargs.exp: new file.
25898 * gdb.base/volatile.exp: new file.
25899 * gdb.base/whatis-exp.exp: new file.
7a292a7a 25900 * gdb.base/display.exp: new file.
c906108c
SS
25901 * gdb.c++/derivation.exp: new file.
25902 * gdb.c++/local.exp: new file.
25903 * gdb.c++/member-ptr.exp: new file.
25904 * gdb.c++/overload.exp: new file.
25905 * gdb.c++/ovldbreak.exp: new file.
25906 * gdb.c++/ref-types.exp: new file.
25907 * gdb.c++/ref-types2.exp: new file.
25908 * gdb.c++/userdef.exp: new file.
d63a86f8 25909
c906108c
SS
25910Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25911
25912 * gdb.base/default.exp: Reflect wording change in remote.c.
25913
dc96c6c7 25914Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25915
25916 * gdb.base/help.exp: Update to reflect current text.
25917
25918Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25919
25920 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25921 they're stack variables and contain garbage.
25922 * gdb.c++/anon-union.exp: new file.
25923
25924 The following changes were made by David Taylor
889bf7c5
PA
25925 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25926 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25927 in changes by HP.
c906108c
SS
25928
25929 * gdb.base/bitops.exp: new file.
25930 * gdb.base/default.exp: change expected messages for catch and
25931 info catch tests to reflect HP merge changes.
25932 * gdb.base/enable-disable-break.exp
25933 * gdb.base/ending-run.c: new file.
25934 * gdb.base/long_long.c: new file.
25935 * gdb.base/maint.exp: new file.
25936 * gdb.base/pointers2.exp: new file.
25937 * gdb.base/shlib-call2.exp: new file.
25938 * gdb.base/solib.exp: new file.
25939 * gdb.base/step-test.c: new file.
25940 * gdb.c++/anon-union.cc: new file.
25941 * gdb.c++/local.cc: new file.
25942 * gdb.c++/member-pointer.cc: new file.
25943 * gdb.c++/method.cc: new file.
25944 * gdb.c++/ref-types.cc: new file.
25945 * gdb.c++/ref-types2.cc: new file.
25946 * gdb.c++/userdef.cc: new file.
d63a86f8 25947
c906108c
SS
25948 * gdb.base/scope.exp: compile one file at a time, then link.
25949 * gdb.base/langs.exp: ditto.
25950 * gdb.base/list.exp: ditto.
d63a86f8 25951
c906108c
SS
25952Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25953
25954 The following changes were made by David Taylor
889bf7c5
PA
25955 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25956 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25957 in changes by HP.
d63a86f8 25958
c906108c
SS
25959 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
25960 skip tests. When compiling pass c++ flag to gdb_compile.
25961 * gdb.c++/
d63a86f8 25962
c906108c
SS
25963 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
25964 test for on hppa*-*-hpux*; use args to see if c++ was specified.
25965 (skip_hp_tests): new function.
25966 (gdb_preprocess): new function.
25967
25968 * configure.in (hpdir): decide whether to configure gdb.hp.
25969 * configure: regenerated.
25970
25971 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
25972 to delete on clean.
25973 (EXECUTABLES): update to reflect new additions.
25974 * gdb.base/commands.exp: update message expected.
25975 * gdb.base/default.exp: add copyright notice.
25976 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
25977 * gdb.base/help.exp: update messages to reflect current text.
25978 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
25979 targets for recurse tests.
25980 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
25981 skip this file.
25982
25983 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
25984 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
25985 compilation.
25986 * gdb.c++/misc.exp: ditto.
25987 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
25988 run the tests. tell gdb_compile that it's a c++ compilation.
25989
25990 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 25991
c906108c
SS
25992 * gdb.base/all-bin.exp: new file.
25993 * gdb.base/arithmet.exp: new file.
25994 * gdb.base/assign.exp: new file.
25995 * gdb.base/completion.exp: new file.
25996 * gdb.base/cond-expr.exp: new file.
25997 * gdb.base/condbreak.exp: new file.
25998 * gdb.base/define.exp: new file.
25999 * gdb.base/dollar.exp: new file.
26000 * gdb.base/environment.exp: new file.
26001 * gdb.base/eval-skip.exp: new file.
26002 * gdb.base/jump.exp: new file.
26003 * gdb.base/logical.exp: new file.
26004 * gdb.base/pointers.exp: new file.
26005 * gdb.base/relational.exp: new file.
26006 * gdb.base/section_command.exp: new file.
26007 * gdb.base/whatis-expr.exp: new file.
26008
26009 * gdb.base/all-types.c: new file.
26010 * gdb.base/call-array-struct.c: new file.
26011 * gdb.base/call-return-struct.c: new file.
26012 * gdb.base/call-strings.c: new file.
26013 * gdb.base/callfuncs2.c: new file.
26014 * gdb.base/condbreak.c: new file.
26015 * gdb.base/constvars.c: new file.
26016 * gdb.base/display.c: new file.
26017 * gdb.base/int-type.c: new file.
26018 * gdb.base/jump.c: new file.
26019 * gdb.base/miscexprs.c: new file.
26020 * gdb.base/pointers.c: new file.
26021 * gdb.base/pointers2.c: new file.
26022 * gdb.base/shmain.c: new file.
26023 * gdb.base/shr1.c: new file.
26024 * gdb.base/shr2.c: new file.
26025 * gdb.base/solib.c: new file.
26026 * gdb.base/solib1.c: new file.
26027 * gdb.base/solib2.c: new file.
26028 * gdb.base/varargs.c: new file.
26029 * gdb.c++/derivation.cc: new file.
26030 * gdb.c++/overload.cc: new file.
26031 * gdb.c++/ovldbreak.cc: new file.
26032 * gdb.hp/attach.c: new file.
26033 * gdb.hp/attach2.c: new file.
26034 * gdb.hp/average.c: new file.
26035 * gdb.hp/compiler.c: new file.
26036 * gdb.hp/compiler.cc: new file.
26037 * gdb.hp/execd-program.c: new file.
26038 * gdb.hp/follow-exec.c: new file.
26039 * gdb.hp/follow-fork.c: new file.
26040 * gdb.hp/follow-vfork-and-exec.c: new file.
26041 * gdb.hp/misc-hp.cc: new file.
26042 * gdb.hp/more-steps.c: new file.
26043 * gdb.hp/optimize.c: new file.
26044 * gdb.hp/quicksort.c: new file.
26045 * gdb.hp/run-hp.c: new file.
26046 * gdb.hp/start-stop.c: new file.
26047 * gdb.hp/sum.c: new file.
26048 * gdb.hp/templates-hp.cc: new file.
26049 * gdb.hp/thread-local-in-lib.c: new file.
26050 * gdb.hp/thread-local-in-lib.h: new file.
26051 * gdb.hp/thread-local-in-lib.lib.c: new file.
26052 * gdb.hp/vforked-program.c: new file.
26053 * gdb.hp/virtfunc-hp.cc: new file.
26054 * gdb.hp/watchpoint-hp.c: new file.
26055 * gdb.hp/xdb.c: new file.
26056 * gdb.hp/xdb0.c: new file.
26057 * gdb.hp/xdb0.h: new file.
26058 * gdb.hp/xdb1.c: new file.
26059
26060Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26061
26062 The following change was made by Edith Epstein
889bf7c5
PA
26063 <eepstein@cygnus.com> as part of a project to merge in changes
26064 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
26065
26066 * gdb.c++/demangle.exp: changed the expected output for some
26067 ARM-style mangling -- removed second reference to datatype.
889bf7c5 26068 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 26069 T1<char>::~T1<char>(void)
c906108c 26070 becomes,
a9c64011
AS
26071 maint demangle __dt__11T1__pt__2_cFv
26072 T1<char>::~T1(void)
c906108c 26073
889bf7c5 26074 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 26075
c906108c
SS
26076Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26077
26078 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26079 * gdb.trace/backtrace.exp: Likewise.
26080 * gdb.trace/circ.exp: Likewise.
26081 * gdb.trace/collection.exp: Likewise.
26082 * gdb.trace/deltrace.exp: Likewise.
26083 * gdb.trace/infotrace.exp: Likewise.
26084 * gdb.trace/limits.exp: Likewise.
26085 * gdb.trace/packetlen.exp: Likewise.
26086 * gdb.trace/passc-dyn.exp: Likewise.
26087 * gdb.trace/passcount.exp: Likewise.
26088 * gdb.trace/report.exp: Likewise.
26089 * gdb.trace/save-trace.exp: Likewise.
26090 * gdb.trace/tfind.exp: Likewise.
26091 * gdb.trace/tracecmd.exp: Likewise.
26092 * gdb.trace/while-dyn.exp: Likewise.
26093 * gdb.trace/while-stepping.exp: Likewise.
26094
260951998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26096
26097 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26098
26099Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26100
26101 From Brendan Kehoe:
26102 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26103 int return types.
26104
26105Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26106
26107 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 26108 remote dos host testing right.
c906108c
SS
26109
26110Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26111
26112 * gdb.base/corefile.exp: remove some xfails.
26113
26114Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26115
26116 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 26117 have different timestamps.
c906108c
SS
26118
26119Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26120
26121 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 26122 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
26123
26124Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26125
26126 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 26127 delta.
c906108c
SS
26128
26129Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26130
26131 * gdb.base/default.exp: Add brace missing from previous delta.
26132
26133Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26134
26135 * gdb.base/default.exp: Support test for info float for all
26136 varieties of arm toolchain.
26137
dc96c6c7 26138Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26139
26140 * gdb.trace/*.exp: remove "remote_download" command.
26141
dc96c6c7 26142Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26143
26144 * gdb.trace/*.exp: remove -gdwarf from compile.
26145
26146Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26147
26148 * gdb.trace/configure.in(AC_INIT): typo
26149 * gdb.trace/configure: regenerated
26150
dc96c6c7 26151Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26152
26153 * config/m68k-emc.exp: New file.
26154 * lib/<emc-support.exp trace-support.exp}: New files.
26155 * configure.in: add new test directory gdb.trace.
26156 * gdb.trace/{configure configure.in Makefile.in}: New files.
26157 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26158 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26159 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26160 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26161 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26162 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26163 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 26164
dc96c6c7 26165Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26166
26167 * gdb.c++/classes.exp: Change all regular expressions to match
26168 arbitrary combinations of newline/carriage-return, so that they
26169 will work equally well on Unix and Windows.
26170 * gdb.c++/inherit.exp: ditto.
26171 * gdb.c++/virtfunc.exp: ditto.
26172
261731998-08-11 Dawn Perchik <dawn@cygnus.com>
26174
26175 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26176
c2d11a7d
JM
26177Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26178
26179 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26180 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26181 to use a0-a3/d0-d3 as needed.
26182
26183Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26184
26185 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26186 * gdb.disasm/am33.exp: Corresponding changes.
26187
c906108c
SS
261881998-07-11 Felix Lee <flee@cygnus.com>
26189
26190 * gdb.base/callfuncs.exp: add cmp10 test.
26191 * gdb.base/callfuncs.c (cmp10): new function.
26192
26193Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
26194
d63a86f8 26195 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
26196 into two parts to get around a synchronization problem in expect.
26197
3fc11d3e
JM
26198Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
26199
26200 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26201
26202 * configure.in: Add options for gdbtk testsuite.
26203
26204 * configure: Regenerate.
26205
26206 * gdb.gdbtk: New directory to hold gdbtk tests.
26207
c906108c
SS
26208Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26209
26210 * gdb.fortran/types.exp: Escape brackets in expect patterns
26211 for test_float_literal_types_accepted tests.
26212 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
26213 before run test.
26214
c2d11a7d
JM
26215Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
26216
26217 * am33.exp: Just compile, do not link the testcase.
26218 * am33.s: Add ".am33" pseudoop to force am33 mode.
26219
c906108c
SS
262201998-06-25 Felix Lee <flee@cygnus.com>
26221
26222 * gdb.base/setshow.exp: make sure $pc is sane.
26223
26224 * gdb.stabs/weird.exp: split expect patterns properly.
26225
c2d11a7d
JM
26226Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
26227
26228 * gdb.disasm/am33.s: New disassembler testfile for the am33.
26229 * gdb.disasm/am33.exp: Run it.
26230
dc96c6c7 26231Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26232
26233 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
26234 match processing (and eliminate spurious timeouts when running).
26235
dc96c6c7 26236Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26237
26238 * gdb.base/signals.exp (test_handle_all_print): put back Mach
26239 exception test, but conditionalize it on target [mach | gnu].
26240
dc96c6c7 26241Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26242
26243 * gdb.base/overlays.exp: fixup compile line for linker script.
26244
26245Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
26246
26247 * gdb.fortran/types.exp: don't guess at float size.
26248
26249Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
26250
26251 * gdb.base/exprs.exp: delete test that depends on int size.
26252
26253Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
26254
26255 * config/sim.exp: Removed checks for target triplets.
26256 (gdb_target_sim): Use gdb,target_sim_options.
26257
26258Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
26259
26260 * gdb.base/reread.exp: New file.
26261 * gdb.base/reread1.c: New file.
26262 * gdb.base/reread2.c: New file.
26263
26264Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
26265
26266 * config/sim.exp: Use 'target sim -sparclite' when running
26267 SPARClite programs.
26268
26269Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
26270
26271 * gdb.base/structs2.exp: New file.
26272 * gdb.base/structs2.c: New file.
26273
26274Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
26275
26276 * gdb.asm/common.inc: New file.
26277 * gdb.asm/d10v.inc: New file.
26278 * asm-source.exp: Pass -I's to gas to find .inc files.
26279 Update line numbers in expected output.
26280 * asmsrc1.s: Rewrite.
26281 * asmsrc2.s: Rewrite.
26282 * configure.in: Create arch.inc symlink.
26283 * configure: Regenerate.
26284 * Makefile.in (distclean): Delete arch.inc.
26285
26286Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
26287
26288 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
26289 (t_enum_value2): ditto
26290 (t_enum_value3): ditto
26291 (main): ditto
c906108c
SS
26292Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26293
26294 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
26295 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
26296 change.
26297 Use gdb_test instead of send_gdb/gdb_expect sequences.
26298
26299Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
26300
26301 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
26302 not void.
26303
26304Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
26305
26306 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
26307 subroutines. Used to test gdbs ability to single step through PC
26308 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
26309
26310Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
26311
26312 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
26313 more rigorous EGCS C++ error checking.
26314
26315Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26316
a9c64011
AS
26317 * gdb.base/help.exp: Clean up `help set args' and `help show args'
26318 tests.
26319 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
26320 function when asleep.
26321 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
26322 for i*86 Linux and SVR4 signal handling problems.
26323 Remove linux xfail for `next to handler in signals_tests_1', fixed
26324 by recent infrun.c change.
26325 Limit backtrace to 10 frames to avoid timeout problems with infinite
26326 stack backtraces.
26327 Adjust expect pattern in `handle all print' test to match Apr 28 1997
26328 target.[ch] change.
c906108c
SS
26329
26330Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
26331
26332 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
26333 for a newline from gdb before continuing.
26334 (default_gdb_exit): Just look for y or n.
26335 (gdb_test): Detect abnormal exit from GDB running on DOS; if
26336 it does, fail the rests of the tests in the file.
26337
26338Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
26339
26340 * config/cygmon.exp: New file.
26341
26342Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
26343
26344 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 26345 main" test on remote targets.
c906108c
SS
26346
26347 * gdb.base/scope.exp: Fix problem with filelocal_bss before
26348 run test on remote targets.
26349
26350Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
26351
26352 * gdb.asm: New directory.
26353 * configure.in: Configure it.
26354 * configure: Regenerate.
26355 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
26356 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
26357
26358Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
26359
26360 * config/mn10300-eval.exp: New file to support MN10300 eval board.
26361
dc96c6c7 26362Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 26363
a9c64011
AS
26364 * gdb.base/overlays (several files): Merge the two overlay
26365 managers into one. Change variables (foox, barx, bazx, grbxx)
26366 back into ints but force them to load in their proper sections.
c906108c
SS
26367
26368Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
26369
26370 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 26371 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
26372 (D10VCopy): Handle memory regions crossing 16k boundaries.
26373 (D10VCopy): Transfer data in 32 bit chunks.
26374
26375Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
26376
26377 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 26378 correct.
c906108c
SS
26379
26380 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 26381 map. Include space for printf in .text segment.
c906108c
SS
26382
26383 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 26384 updated d10v memory VMA/LMA map.
c906108c 26385 (D10VCopy): Call D10VTranslate.
d63a86f8 26386
c906108c
SS
26387Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
26388
26389 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
26390
26391 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
26392 that it won't be put into the .sdata - small data -
26393 section. Update reference.
c906108c
SS
26394 * gdb.base/baz.c (bazx, baz): Ditto.
26395 * gdb.base/foo.c (foox, foo): Ditto.
26396 * gdb.base/grbx.c (grbxx, grbx): Ditto.
26397
26398 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 26399 to be arrays.
d63a86f8 26400
dc96c6c7 26401Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 26402
a9c64011
AS
26403 * gdb.base/overlays.exp: fix up and get working again.
26404 Add tests for backtraces from an overlay function.
d63a86f8 26405
c906108c
SS
26406Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
26407
26408 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
26409 "calling function with watchpoint enabled".
26410
26411Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
26412
26413 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 26414 gdb_suppress_tests for d10v-*-*.
c906108c
SS
26415 * lib/gdb.exp (gdb_suppress_tests): Disable this function
26416 pending review of whether it is useful or not.
26417
26418Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
26419
26420 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
26421
26422Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
26423
26424 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
26425 * config/dve.exp: New file to support Densan boards.
26426
26427Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
26428
26429 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 26430 reads and BSD.
c906108c
SS
26431
26432Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
26433
26434 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
26435 response.
26436
26437 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
26438
26439Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
26440
26441 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 26442 test.
c906108c
SS
26443
26444 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 26445 target_sizeof_long and target_bigendian_p.
c906108c 26446 (structs_by_value, structs_by_reference): Check values according
889bf7c5 26447 to targets word size and endianess.
d63a86f8 26448
c906108c
SS
26449Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
26450
26451 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 26452 output.
c906108c
SS
26453
26454Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
26455
26456 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 26457 Update test of set args help to match source change.
c906108c
SS
26458
26459Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
26460
26461 * gdb.base/default.exp: Expect help system output to be in
26462 alphabetical order.
26463 * gdb.base/help.exp: Ditto.
26464
26465Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
26466
26467 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
26468 "i*86-pc-linux-gnu*".
26469 * gdb.base/interrupt.exp: Ditto.
26470 * gdb.base/corefile.exp: Ditto.
26471
26472 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 26473 define vxworks when building the testcase.
c906108c
SS
26474
26475 * gdb.base/ptype.exp: Fix testnames to be unique.
26476 * gdb.base/radix.exp: Ditto.
26477 * gdb.base/term.exp: Ditto.
26478 * gdb.base/whatis.exp: Ditto.
26479 * gdb.c++/classes.exp: Ditto.
26480
26481Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
26482
26483 * gdb.base/callfuncs.exp: Fix indentation.
26484
26485 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
26486 suppress_flag has been set.
26487 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
26488 target feature.
26489
26490Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
26491
26492 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
26493 the testcase.
26494
26495 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 26496 set_debug_traps() and breakpoint().
c906108c
SS
26497 * gdb.c++/misc.cc (main): Ditto.
26498 * gdb.c++/templates.cc (main): Ditto.
26499 * gdb.c++/virtfunc.cc (main): Ditto.
26500
26501Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
26502
26503 * lib/gdb.exp(gdb_step_for_stub): New function.
26504 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
26505 exists, reload the executable and do a "continue" instead of
26506 doing a jump.
26507 (runto_main): Use gdb_step_for_stub.
d63a86f8 26508
c906108c 26509 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 26510 tests to have unique names.
c906108c
SS
26511 * gdb.base/callfuncs.exp: Ditto.
26512 * gdb.base/commands.exp: Ditto.
26513 * gdb.base/default.exp: Ditto.
26514 * gdb.base/help.exp: Ditto.
26515 * gdb.base/list.exp: Ditto.
26516 * gdb.base/opaque.exp: Ditto.
26517 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
26518 similar tests.
d63a86f8 26519
c906108c
SS
26520 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
26521 * gdb.c++/cplusfuncs.cc: Ditto.
26522 * gdb.c++/virtfunc.cc: Ditto.
26523
26524 * config/monitor.exp: Keep track of the last file we saw, rather
26525 than trying to get the info from gdb.
26526
26527 * gdb.fortran/types.exp: Move comment to previous line.
26528
26529Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
26530
26531 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 26532 target mode.
c906108c
SS
26533
26534Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
26535
26536 From Bob Manson:
26537 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 26538 string from GDB when it connects.
c906108c
SS
26539
26540 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26541
26542Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
26543
26544 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
26545 if we can't get a debug format from GDB (we may be testing an
26546 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
26547
26548 * gdb.stabs/weird.exp: Fix quoting.
26549
26550 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26551
26552Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
26553
26554 * config/arm-ice.exp: New file.
26555
26556Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
26557
26558 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 26559 until it has been modified to work with the new testsuite.
c906108c 26560
99707966 26561 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
26562 testcase won't compile, cause all of the testcases in the file to
26563 fail instead.
c906108c
SS
26564
26565 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26566 (gdb_clear_suppressed): New procedure.
26567 (gdb_stop_suppressing_tests): Only clear suppress_flag if
26568 it contains a positive value.
26569
26570Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
26571
26572 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26573
26574 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26575
26576Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26577
26578 * lib/gdb.exp (setup_xfail_format): New function.
26579 (get_debug_format): New function to get debug format.
26580 (debug_format): New global variable to hold last value set
26581 by get_debug_format.
26582 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 26583 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
26584 * gdb.c++/ptype.exp: Ditto.
26585 * gdb.c++/classes.exp: Ditto.
26586 * gdb.c++/cplusfuncs.exp: Ditto.
26587 * gdb.c++/inherit.exp: Ditto.
26588 * gdb.c++/templates.exp: Ditto.
26589 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 26590
c906108c
SS
26591Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26592
26593 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26594 host doesn't have a currently-open connection.
26595
26596 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
26597 any gdb stub target. Handle cases where gdb doesn't respond when
26598 interrupted in a sane fashion.
c906108c
SS
26599
26600 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 26601 same thing in a totally different way.
c906108c
SS
26602
26603 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 26604 setting "timeout".
c906108c 26605 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 26606 default_gdb_init now.
c906108c
SS
26607
26608Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26609
26610 * gdb.base/printcmds.exp: Fix "check for floating addition"
26611 regexp to accept results within approx +/- .01 of exact value.
26612 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26613
26614Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26615
26616 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 26617 properly.
c906108c
SS
26618 (gdb_expect): Add optional timeout parameter, and add timeout
26619 value to various calls.
26620 (gdb_suppress_tests): Only give one warning message per group.
26621
26622Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26623
26624 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
26625 global variables. Handle getting a value for $timeout more
26626 gracefully.
c906108c
SS
26627
26628Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26629
26630 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 26631 initialize.
c906108c 26632 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 26633 by a target configuration file.
c906108c
SS
26634 (gdb_expect): Pass the timeout to remote_expect.
26635
26636 * config/monitor.exp(gdb_load): Fix typo in regexp.
26637
26638Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26639
26640 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26641
26642Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26643
26644 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
26645 here. Call gdb_target_exec before rebooting the target, to make
26646 sure the connection to the target is closed.
c906108c
SS
26647 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26648 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26649 Also detect "Timeout reading from remote" error.
26650
26651 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
26652 gdb_target_monitor. Don't call gdb_file_cmd here; let
26653 gdb_target_monitor do it.
c906108c
SS
26654
26655 * gdb.disasm/hppa.exp: Don't use exec_output.
26656
26657Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26658
26659 * gdb.base/list.exp: If we're debugging a non-native target,
26660 try to set the pc register to point to the start of the
26661 program before doing the first list command.
26662
26663 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 26664 test_calls after restarting.
c906108c
SS
26665
26666 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 26667 reloading.
c906108c
SS
26668
26669 * gdb.base/watchpoint.exp: Fix typo.
26670
26671 * gdb.base/setshow.exp: Check for use_gdb_stub.
26672
26673 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 26674 stub case.
c906108c
SS
26675 * gdb.base/langs.exp: Ditto.
26676
26677 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
26678 gdb_load_offset. If we weren't given a file to load, figure out
26679 what the current file is and use it.
c906108c
SS
26680
26681 * config/i386-bozo.exp: New file.
26682
26683Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26684
26685 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26686 feature.
26687
26688 * config/proelf.exp: New entry.
26689
26690Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26691
26692 * lib/gdb.exp: Remove spurious .* patterns at the beginning
26693 of regexps.
26694
26695 * gdb.base/watchpoint.exp: Don't run the test_stepping
26696 tests if gdb can't call functions on the target.
26697
26698 * gdb.base/setshow.exp: Don't run the set prompt tests if
26699 the board has gdb_prompt set.
26700
26701Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
26702
26703 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26704 * gdb.base/commands.exp: Likewise.
26705 * gdb.base/setshow.exp: Likewise.
26706
26707Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
26708
26709 * config/monitor.exp(gdb_start): Look for gdb_prompt target
26710 feature.
26711
26712 * config/i960.exp: New file.
26713
26714Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
26715
26716 * gdb.base/funcargs.exp: Check for gdb,short_int target
26717 feature instead of looking for explicit target triplets.
26718
dc96c6c7 26719Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 26720
d63a86f8 26721 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
26722 "p 123DEADBEEF", to check parse_number.
26723 * top.c: change "to enable to enable" to "to enable" in a couple
26724 of help strings.
26725
26726Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
26727
26728 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26729 on the mn10300.
d63a86f8 26730
c906108c
SS
26731Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
26732
26733 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26734 where the test executable is run with explicit args.
26735 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26736
26737Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
26738
26739 * gdb.base/run.c: Use FAKEARGV to build test executable that
26740 does not require a command line arg, since most simulators
26741 don't currently support passing such an arg into the simulated
26742 program.
26743 * gdb.base/commands.exp: Change tests to insert the proper
26744 value as the arg to the first recursive factorial call. Change
26745 compilation line to define FAKEARGV at compile time.
26746
26747Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
26748
26749 * gdb.base/recurse.exp: Enable these tests for the mn10300.
26750 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26751 function with watchpoint enabled" test.
26752
26753Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
26754
26755 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 26756 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
26757
26758 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 26759 "Tests restarted" messages.
c906108c
SS
26760
26761Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
26762
26763 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26764
dc96c6c7 26765Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26766
26767 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26768 for INFO SYMBOL; add help tests for OVERLAY commands.
26769 * gdb.base/default.exp: add tests for INFO SYMBOL command;
26770 add tests for OVERLAY commands
26771 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26772 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26773 * gdb.base/sigall.c: add usestubs code frag
26774 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 26775
c906108c
SS
26776Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
26777
26778 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26779 failures.
26780 (gdb_stop_suppressing_tests): Note that tests have restarted.
26781
26782Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
26783
26784 * config/h8300.exp: New file.
26785
26786Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
26787
26788 * gdb.base/setshow.exp: Check for the existence of a
26789 feature, not its value.
26790
26791Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
26792
26793 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26794
26795 * gdb.base/scope.exp: It's now init0(), not init().
26796
26797 * gdb.base/scope0.c: For now, change init() to be init0().
26798
26799 * config/monitor.exp: Use gdb_serial in preference to serial
26800 or netport.
26801
26802 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 26803 and it's not already set.
c906108c
SS
26804
26805Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
26806
26807 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 26808 isn't using a stub and if it supports argument passing.
c906108c
SS
26809
26810Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26811
26812 * config/udi.exp(gdb_start): Make sure UDICONF is set
26813 properly before starting gdb.
26814
26815Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26816
26817 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26818 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26819 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26820
26821Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26822
26823 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 26824 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
26825
26826 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26827
26828 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26829
26830 * config/monitor.exp: Make sure we disconnect from the target.
26831 Also, try a reboot/reload cycle instead of failing if the
26832 load fails.
26833
26834Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26835
26836 * gdb.base/default.exp: Don't set match_max.
26837 * gdb.base/help.exp: Ditto.
26838 * gdb.base/list.exp: Ditto.
26839 * gdb.base/signals.exp: Ditto.
26840
26841 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26842 set, use remote_ld to download the testcase instead of
26843 the GDB loader.
26844
26845Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26846
26847 * config/vr5000.exp: New file.
26848
26849 * config/monitor.exp(gdb_target_monitor): Add pattern for
26850 "Ending remote" to detect errors in connecting.
26851
26852 * gdb.base/setshow.exp: Add .* within auto language test.
26853
26854 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26855 target feature.
26856
26857 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 26858 and reboot the board if necessary.
c906108c
SS
26859
26860 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26861 a set of tests. Remove print.* from the patterns being checked.
26862
26863Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26864
26865 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26866 refer to gdb_spawn_id.
26867
26868 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26869 longer used.
26870 * config/sparclet.exp: Ditto.
26871 * config/sparclet-old.exp: Ditto.
26872 * config/slite.exp: Ditto.
26873 * config/sim.exp: Ditto.
26874 * gdb.base/funcargs.exp: Ditto.
26875
26876 * lib/gdb.exp:Remove references to gdb_spawn_id.
26877 (gdb_expect): Move to remote.exp.
26878
26879Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26880
26881 * config/monitor.exp: Detect the "Couldn't establish connection"
26882 message from GDB.
26883
26884Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26885
26886 * gdb.base/bitfields.exp: Use runto instead of explicit
26887 gdb_run_cmd/gdb_expect sequences.
26888
26889 * gdb.base/break.exp(text_next_with_recursion): Add match for
26890 gdb_expect call.
26891
26892 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26893 We also need to handle the "A program is being debugged already"
26894 prompt from gdb. Use gdb_test to set the baud rate.
26895
26896 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26897 to 20000. Really. I mean it.
26898
26899Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26900
26901 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
26902 fails. If suppress_flag is set, skip perror message about not
26903 being able to send to GDB.
c906108c 26904 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 26905 GDB.
c906108c
SS
26906 (gdb_expect): If suppress_flag is set, always fail immediately.
26907 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26908 (gdb_init): Call gdb_stop_suppressing_tests.
26909 (default_gdb_exit): Ditto.
26910 (default_gdb_start): Ditto.
26911
26912 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 26913 gdb_stop_suppressing_tests as appropriate.
c906108c 26914 * gdb.base/break.exp: Ditto.
889bf7c5 26915 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
26916 * gdb.base/commands.exp: Ditto.
26917 * gdb.base/exprs.exp: Ditto.
889bf7c5 26918 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
26919 * gdb.base/list.exp: Ditto.
26920 * gdb.base/recurse.exp: Ditto.
889bf7c5 26921 * gdb.base/scope.exp: Ditto.
c906108c
SS
26922 * gdb.base/structs.exp: Ditto.
26923 * gdb.c++/inherit.exp: Ditto.
26924
26925Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26926
26927 * config/vr4300.exp: New file.
26928
99707966 26929 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 26930
99707966 26931 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
26932
26933Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26934
26935 * lib/gdb.exp(gdb_init): New function.
26936
26937 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 26938 for each individual variable set.
c906108c
SS
26939
26940 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26941 name.
26942
26943 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26944
26945 * gdb.base/scope.exp: Use gdb_test.
26946
26947 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26948 aborting; the testsuite driver will do that for us (see
26949 gdb_finish). Also, use gdb_test in a few more places.
26950
26951Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26952
26953 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26954
26955Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26956
26957 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26958 and "add_tests" are not at the same address.
26959
26960Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
26961
26962 * gdb.base/ptype.exp: Use gdb_test.
26963
26964Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
26965
26966 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
26967 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
26968 left in. No longer expect them to fail.
26969
26970 * gdb.stabs/*.mt; Deleted, no longer used.
26971 * gdb.stabs/configure.in: Remove references to target makefile
26972 frags.
26973 * gdb.stabs/configure: Rebuilt.
26974
26975 * gdb.disasm/*.mt: Deleted, no longer used.
26976 * gdb.disasm/configure.in: Remove references to target makefile
26977 frags. Use "sh3.s" as the unique filename for this directory.
26978 * gdb.disasm/configure: Rebuilt.
26979
26980 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
26981 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
26982 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
26983
26984Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
26985
26986 * config/udi.exp: Use mondfe,name instead of remote_host.
26987
26988Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
26989
26990 * gdb.base/watchpoint.exp: Don't expect a failure when calling
26991 a function with a watchpoint enabled on the mn10200.
26992
26993 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
26994 before trying to create it!
26995
26996Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
26997
26998 * config/vx.exp: Use hostname instead of netport.
26999
27000 * config/vxworks.exp: New file.
27001
27002 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27003
27004 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 27005 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
27006 occurs.
27007
27008 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27009 $gdb_spawn_id directly.
27010 (gdb_run_cmd): Try _start as well as start. Use the target feature
27011 gdb,start_symbol as the symbol to start from when jumping.
27012
27013Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27014
27015 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27016 redundant) test.
27017
27018 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27019 it doesn't lose for 16bit integer systems.
27020
27021Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27022
27023 * gdb.fortran/types.exp: If the target doesn't support "double"
27024 data types, then expect "real" types to only be 4 bytes.
27025
27026 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27027 call tests if the target doesn't support inferior function calls.
27028
27029 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27030 in printf tests.
27031
27032Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27033
27034 * gdb.base/help.exp: Disable "help set", "help show", and
27035 "help support". Simplify regexp for "help stack".
27036
27037 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27038 to 60 seconds. Temporarily set match_max to 15000 around the
27039 "info copying" test.
27040
27041 * gdb.base/nodebug.exp: Don't try to do an inferior function
27042 call if the target doesn't support them.
27043 * gdb.base/printcmds.exp: Likewise.
27044 * gdb.base/setvar.exp: Likewise.
27045 * gdb.base/structs.exp: Likewise.
27046 * gdb.c++/templates.exp: Likewise.
27047 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27048
27049 * gdb.base/recurse.exp: Enable for the mn10200.
27050
27051 * configure.in: Do configure gdb.stabs directory for *-*-elf
27052 targets.
27053 * configure: Rebuilt.
27054
27055 * gdb.base/break.exp: Check for gdb,noresults before testing
27056 exit status and/or results from the target.
27057 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27058 * lib/gdb.exp: Remove old (now bogus) initialization of
27059 noinferior, noargs, noresults and nosignals.
27060
27061Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27062
27063 * config/sh.exp: New file.
27064
27065 * config/slite.exp: Try to connect multiple times to the board
27066 before rebooting. Only send a "monitor run" if need_monitor_run
27067 is set.
27068
27069 * gdb.base/break.exp: Don't do the "stub continue" test if
27070 the target has gdb_stub set.
27071
27072 * gdb.base/callfuncs.exp: Increase the timeout.
27073
27074 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27075 if the target has gdb,noinferiorio set.
27076
27077 * gdb.base/list.exp: Increase match_max to 10000 characters.
27078
27079 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27080
27081 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27082 target.
27083
27084 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27085
27086Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27087
27088 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
27089 trying to delete the copy of gdb. Catch the file delete so we
27090 don't die if the delete fails; also, the file should be copied to
27091 the host, not to the build.
c906108c
SS
27092
27093Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27094
27095 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 27096 parenthesis in case it contains multiple regexps separated
c906108c
SS
27097 with |.
27098
27099 * gdb.base/watchpoint.exp: Use gdb_test.
27100 * gdb.base/default.exp: Ditto.
27101
27102Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27103
99707966 27104 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 27105
c906108c
SS
27106 * gdb.base/scope.exp: Use gdb_test.
27107 * gdb.c++/classes.exp: Ditto.
27108 * gdb.c++/inherit.exp: Ditto.
27109
27110Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27111
27112 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27113 remote_exec instead.
27114 * gdb.base/corefile.exp: Don't be ridiculous.
27115 * gdb.base/*.c: Add missing stub invocations.
27116
27117Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27118
27119 * config/slite.exp: Miscellaneous fixes.
27120
27121 * lib/gdb.exp: Fix runto.
27122
27123 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27124 the target.
27125
27126 * gdb.base/watchpoint.exp: Fix regexp.
27127
27128 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27129 close and wait commands, as the descriptor may now be
27130 invalid. Always call "remote_close host".
27131
27132Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27133
27134 Major rewrite for testsuite revision.
d63a86f8 27135
c906108c
SS
27136 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27137 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27138 instead of relying on spawn_id to always contain a valid
27139 spawn id.
27140 (get_compiler_info): New procedure to build the ${binfile}.ci
27141 file, instead of replicating this in N different places.
27142 (gdb_compile): New procedure.
d63a86f8 27143
c906108c 27144 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
27145 appropriate arguments) instead of compile. Use gdb_test in a lot
27146 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
27147 at the start of a testcase, as this is no longer done magically.
27148
27149 config/*-gdb.exp: Rename without the -gdb suffix.
27150
27151 config/mips.exp: Use remote_close instead of exit_remote_shell.
27152 config/monitor.exp: Use target_info instead of looking at
27153 baud, timeout, etc.
27154 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27155
27156Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27157
27158 * gdb.c++/templates.exp (test_ptype_of_templates),
27159 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27160 Update expect patterns for destructors and assignment operators
27161 to match corresponding c-typeprint.c changes.
27162 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27163 to destructor breakpoint test, GDB should be able to set the
27164 destructor breakpoint without specifying arguments.
27165
27166Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27167
27168 * gdb.threads/pthreads.exp: Change result for failure to compile due
27169 to lack of pthreads runtime support from an error to simply an
27170 unsupported test, per dejagnu standards.
27171
27172Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27173
27174 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27175 where GDB exits to reduce pattern match time.
27176 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27177
27178 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27179
dc96c6c7 27180Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27181
27182 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27183 * gdb.base/default.exp: ditto.
27184 * gdb.base/nodebug.exp: ditto.
27185 * gdb.base/printcmds.exp: ditto.
27186 * gdb.base/ptype.exp: ditto.
27187 * gdb.base/setvar.exp: ditto.
27188 * gdb.base/structs.exp: ditto.
27189 * gdb.base/setshow.c: Guard against uninitialized values of argc.
27190
27191Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
27192
27193 * configure, */configure: Rebuild with autoconf 2.12.
27194
27195Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
27196
27197 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27198 use new i*86-pc-linux*-gnu quads.
27199 * gdb.base/corefile.exp: Ditto.
27200 * gdb.base/signals.exp: Ditto.
27201 * gdb.base/sigall.exp: Ditto.
27202 * gdb.base/interrupt.exp: Ditto.
27203
27204 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27205 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
27206 RedHat 4.0.
d63a86f8 27207
c906108c 27208 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
27209 linux. This allows the test case to at least compile on latest
27210 linux, but still not run due to missing the threads runtime library.
c906108c
SS
27211
27212Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27213
27214 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
27215 directory to search gdb directory. Accept and step over conditional
27216 stack alignment code. Consume $prompt in failure cases.
27217 Reset timeout to $oldtimeout instead of some arbitrary value.
27218 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
27219 timeout problems with infinite stack backtraces.
27220 * gdb.base/ptype.exp (ptype struct link, union tu_link):
27221 Accept function parameters for linkfunc member.
27222
27223Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
27224
27225 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
27226 (CXXFLAGS): Remove, unreferenced.
27227 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
27228 previous -B options and also add -B option to pick up cross compiled
27229 runtime.
c906108c
SS
27230 (TARGET_INCLUDES): Add for -I options and add code to initialize when
27231 doing cross compiles.
27232 (target_alias): Declare global.
27233 (xgcc): Set variable to full path of gcc in build tree. Use findfile
27234 to verify that gcc exists in build tree, and if so set CC to that
27235 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 27236
c906108c
SS
27237Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
27238
27239 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
27240 ptype test for anonymous union. Fixup testcase to match
27241 current gcc debug output.
27242
27243Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
27244
27245 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
27246 force argument to an unsigned long type.
27247
27248Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
27249
27250 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 27251 tests and anonymous union print/ptype tests.
c906108c
SS
27252 * gdb.base/list.exp (test_forward-search): Increase timeout by
27253 5 minutes for the "search extremely long line" case.
27254 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
27255 completely optional and that the pass/fail messages use the command as
27256 the message if that third arg is a null string.
27257 (gdb_test_exact): Arrange that a null string pattern means match a
27258 null string output rather than any output, which might include random
889bf7c5 27259 errors.
c906108c
SS
27260 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
27261 backtrace test.
27262 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
27263 always failing and failure is now exposed by gdb.exp changes.
27264
27265Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
27266
27267 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
27268 weren't being noted.
27269
27270Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27271
27272 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
27273 * gdb.stabs/weird.exp: Remove v_comb xfails.
27274
dc96c6c7 27275Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27276
27277 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 27278 list.exp scope.exp watchpoint.exp]
c906108c 27279 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 27280
dc96c6c7 27281Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27282
27283 * config/monitor.exp: Increase download timeout to 1000 seconds.
27284
dc96c6c7 27285Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27286
27287 * config/m32r.exp: Increase timeout to 120 seconds.
27288
27289Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
27290
27291 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
27292 and accept older ordering as obsolescent gcc or gdb.
27293 * gdb.c++/templates.exp: Ditto.
27294 * gdb.c++/virtfunc.exp: Ditto.
27295
27296Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
27297
27298 * gdb.base/coremaker.c: Add code to mmap some data so we
27299 can check that it ends up in the core file.
27300 * gdb.base/corefile.exp: Add test to read mmapped data
27301 from core file.
27302
dc96c6c7 27303Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27304
27305 * config/m32r.exp: New file.
27306
27307Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
27308
27309 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
27310 that cflags can contains -gstabs, and work correctly for other tests.
27311
dc96c6c7 27312Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27313
27314 * gdb.base/setshow.exp: New file, tests show and set.
27315 * gdb.base/setshow.c: New file, tests show and set.
27316 * gdb.base/help.exp: Add test for help set|show annotate.
27317 * gdb.base/default.exp: Add test for set|show annotate.
27318
27319Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
27320
27321 * testsuite/gdb.base/break.exp: Make backtrace from factorial
27322 errors unique.
27323 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
27324 explicitly.
27325
27326Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
27327
27328 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
27329 and width commands. This is done elsewhere.
27330 * (gdb_start): Don't call gdb_start_sim here. That's already
27331 done in gdb_load. This fixes lots of failures in default.exp.
27332
27333Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
27334
27335 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
27336 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
27337 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
27338 in the same we we treat other failures (since it may be an expected
889bf7c5 27339 condition), rather than as an error.
c906108c
SS
27340 * gdb.base/signals.exp (test_handle_all_print): Revert back to
27341 old test format.
27342
27343Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
27344
27345 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
27346 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 27347 twice. Nuke the duplicates.
c906108c 27348 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 27349 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
27350 Remove config.h along with other config files.
27351
27352Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
27353
27354 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
27355 "p func1 ()" and note that rests of tests are skipped.
27356 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 27357 setup_xfails for "print func2::coremaker_local".
c906108c
SS
27358 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
27359 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
27360 affected by the previous run test.
27361 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
27362 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
27363 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
27364 "pass int powerset tuple" and "pass modeless int powerset tuple".
27365 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
27366 "real write 4" and "real write 8".
27367 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 27368 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
27369 "print \$i after tuple assign 2", and
27370 "print vs2 after tuple assign 2".
27371 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
27372 meaningful error message and return -1 so the caller can
27373 suppress further tests and avoid a cascade of errors.
d63a86f8 27374
c906108c
SS
27375Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
27376
27377 * gdb.base/a1-selftest.exp: Tweak tests to account for new
27378 format for printing version.
27379 * gdb.base/default.exp: Ditto.
27380 * gdb.base/interrupt.exp: Fix problem with cascade of
27381 errors if child process dies while calling a function.
d63a86f8 27382
c906108c
SS
27383Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
27384
27385 * Makefile.in (VPATH): Add
27386 * Makefile.in (Makefile, config.status): Fix rules so things get
27387 remade when necessary.
27388
27389Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
27390
27391 * Makefile.in (just-check): Add path to sibling expect dir
27392 to environment variable specified by RPATH_ENVVAR.
27393
27394Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
27395
27396 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
27397 (just-check): Add shared library paths for libstdc++, tk,
27398 tcl, bfd, and opcodes to the environment variable specified
27399 in RPATH_ENVVAR.
27400 * configure.in: Add support to recognize --enable-shared flag
27401 and generate correct value for RPATH_ENVVAR.
27402 * configure: Regenerated with autoconf.
27403
27404Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
27405
27406 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 27407 include all osf versions.
c906108c
SS
27408 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
27409 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
27410 when target is linux. When failing to build pthreads test
27411 executable, give more meaningful message.
27412 * gdb.threads/pthreads.c: Hpux also uses old definition of second
27413 arg for pthread_create.
d63a86f8 27414
c906108c
SS
27415Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
27416
27417 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 27418 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 27419 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 27420 and -lpthreads (everybody else).
c906108c
SS
27421 (test_startup): Fail gracefully if threads are not supported.
27422 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
27423 "p/c array_index("abcdef",2)" when not gcc compiled.
27424 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
27425 "print func2::coremaker_local" when not gcc compiled.
27426 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
27427 "ptype on opaque struct tagname (statically)",
27428 "ptype on opaque struct tagname (dynamically) 1", and
27429 "ptype on opaque struct tagname (dynamically) 2"
27430 for not compiled with gcc.
27431 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
27432 backtrace when compiled with gcc.
d63a86f8 27433 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
27434 than always return success.
27435
27436Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
27437
27438 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
27439
27440Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
27441
27442 * gdb.base/structs.exp: Undo last change.
27443
27444Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
27445
27446 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
27447 encapsulate all the steps/nexts done during self test, starting
27448 at main, and makes them less sensitive to optimization issues.
27449 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
27450 signal handler" test.
27451 * gdb.threads/pthreads.exp: Only run this for native configs.
27452 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
27453 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
27454 tests.
27455 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
27456 for "runto test_calls(void)" test.
d63a86f8 27457
c906108c
SS
27458Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
27459
27460 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
27461 and don't expect address info in breakpoint confirmations.
27462
27463Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
27464
27465 * gdb.base/list.exp (test_forward_search): Increase timeout
27466 temporarily by 60 seconds for searching extremely long line,
889bf7c5 27467 and then reset to old value when done. Increase expect input
c906108c
SS
27468 buffer to 10000.
27469
27470Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
27471
27472 * gdb.base/list.exp (test_forward_search): Fix to handle very
27473 long source line without overflowing expect's input buffer.
27474
27475Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
27476
27477 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
27478 "buffer_full".
27479
27480 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
27481 "buffer_full".
27482
27483 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
27484 "buffer_full".
27485
27486 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
27487 "buffer_full".
27488
27489Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
27490
27491 * configure.in (configdirs): Add gdb.threads.
27492 * configure: Regenerated with autoconf.
27493 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
27494 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
27495 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 27496
c906108c
SS
27497Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
27498
27499 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
27500
27501Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
27502
27503 * gdb.base/signals.exp (test_handle_all_print): Test separately for
27504 each signal's status in the output of "handle all print".
27505 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
27506 the \r\n sequence that immediately precedes the gdb prompt.
27507 * gdb.base/a1-selftest.exp: Save original timeout and restore
27508 after test.
27509
27510Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
27511
27512 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
27513 symbol.
27514
27515Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
27516
27517 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
27518
27519Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
27520
27521 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
27522 timeout by 60 seconds.
27523
27524Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
27525
27526 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
27527 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
27528 error return.
27529
27530Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
27531
27532 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27533 gdb initialization, also report how long dejagnu waited. Restore
27534 old timeout before doing error return. Temporarily increase timeout
889bf7c5 27535 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
27536
27537Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
27538
27539 * lib/gdb.exp: Report timeout value for verbosity level 2.
27540 * config/gdbserver.exp: Ditto.
27541 * config/hppro.exp: Ditto.
27542 * config/mips-gdb.exp: Ditto.
27543 * config/monitor.exp: Ditto.
27544 * config/netware.exp: Ditto.
27545 * config/sim-gdb.exp: Ditto.
27546 * config/slite-gdb.exp: Ditto.
27547 * config/udi-gdb.exp: Ditto.
27548 * config/unix-gdb.exp: Ditto.
27549 * config/vx-gdb.exp: Ditto.
27550 * gdb.base/a1-selftest.exp: Ditto.
27551 * gdb.base/a2-run.exp: Ditto.
27552 * gdb.base/break.exp: Ditto.
27553 * gdb.base/corefile.exp: Ditto.
27554 * gdb.base/list.exp: Ditto.
27555 * gdb.base/recurse.exp: Ditto.
27556 * gdb.base/scope.exp: Ditto.
27557 * gdb.base/signals.exp: Ditto.
27558
27559Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27560
27561 * gdb.threads/Makefile.in (docdir): Removed.
27562
27563Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27564
27565 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 27566 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 27567 @srcdir@.
d63a86f8 27568 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
27569 autoconf 2.5 or higher.
27570 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27571
27572Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
27573
27574 * configure: Regenerated.
27575 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27576 avoid name clashes with SunOS headers.
27577
27578Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27579
27580 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27581
27582Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27583
27584 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27585 prototype information ends up in the compiler info file.
27586
27587Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27588
27589 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27590 attempting to regenerate it. Eliminate use of a temporary file
27591 and just generate the info file directly. Source it immediately,
27592 for consistency of use.
27593 * gdb.base/corefile.exp: Ditto
27594 * gdb.base/exprs.exp: Ditto.
27595 * gdb.base/funcargs.exp: Ditto.
27596 * gdb.base/langs.exp: Ditto.
27597 * gdb.base/list.exp: Ditto.
27598 * gdb.base/mips_pro.exp: Ditto.
27599 * gdb.base/nodebug.exp: Ditto.
27600 * gdb.base/opaque.exp: Ditto.
27601 * gdb.base/ptype.exp: Ditto.
27602 * gdb.base/scope.exp: Ditto.
27603 * gdb.base/setvar.exp: Ditto.
27604 * gdb.base/signals.exp: Ditto.
27605 * gdb.base/whatis.exp: Ditto.
27606 * gdb.c++/templates.exp: Ditto.
27607 * gdb.c++/virtfunc.exp: Ditto.
27608 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 27609 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
27610
27611Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27612
27613 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27614 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27615 Increase timeout, a lot of single stepping might be needed if the
27616 target has no hardware watchpoints.
27617
27618Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27619
27620 * gdb.base/break.exp: Ignore compiler warnings when compiling
27621 break.c.
27622 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27623 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27624 from remote-sim.
27625 * gdb.base/exprs.exp: Add h8300 xfails.
27626 * gdb.base/funcargs.exp: Likewise.
27627 * gdb.base/nodebug.exp: Likewise.
27628 * gdb.base/printcmds.exp: Likewise.
27629 * gdb.base/ptype.exp: Likewise.
27630 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27631 h8300 xfails.
d63a86f8 27632 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
27633 on the h8300.
27634 * gdb.base/funcargs.c: Explicitly make last constant argument to
27635 call_after_alloca_subr an unsigned long type.
27636 * gdb.base/return.c: Include stdio.h.
27637
27638Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27639
27640 * config/abug.exp: New file for the older Motorola Bug monitor
27641 that runs on the mvme13x series VME boards.
27642 * config/monitor.exp: Use the new config array for target settings
27643 if they exist.
27644
27645Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27646
27647 * sim-gdb.exp: Make the SH simulator allocate less space when
27648 it is targeted.
27649
27650Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27651
27652 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27653 test.
27654
27655Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27656
27657 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27658 "rs6000-*-*" for "list function in include file" when gcc compiled.
27659 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27660 for "p ctable1[120]".
27661 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27662 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27663 Remove setup_xfail for "rs6000-*-*" for
27664 "print 'scope0.c'::filelocal before run".
27665 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27666 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27667 since some compilers don't allow both options to be given
27668 on the same command line. Create object file and move it.
d63a86f8 27669
c906108c
SS
27670Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27671
27672 * gdb.base/corefile.exp: Always regenerate the core file, since
27673 we always regenerate the coremaker program. Detect special case
27674 where registers cannot be read from core file.
d63a86f8 27675
c906108c
SS
27676Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27677
27678 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27679 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27680 * gdb.c++/templates.exp: Only match on basename of file since
27681 some formats like xcoff don't encode directory information.
27682 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27683 and rs6000 AIX xcoff targets.
27684 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27685 * configure: Regenerate.
27686 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27687 here, rather than in distclean.
d63a86f8 27688
c906108c
SS
27689Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27690
27691 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27692 defined, and use it to compile the test case with -O2. The
27693 native compilation still uses no optimization.
27694 * gdb.base/mips_pro.c: Remove inline assembly code since
27695 it is compiled PIC by default, which results in assembler
27696 warnings that make the testsuite think the compilation
27697 was unsuccessful.
27698
27699Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
27700
27701 * gdb.c++/misc.exp: Add note to message for
27702 "print s.a for foo struct" that this is a known gcc 2.7.2
27703 and earlier bug.
27704
27705Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
27706
27707 * gdb.base/break.exp: Fix pattern for matching "Delete all
27708 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
27709 setup_xfail for deleting all breakpoints test. Fix various
27710 timeout messages to include "(timeout)".
27711 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27712 for "p t_float_values2(3.14159,float_val2)".
27713 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27714 for "continue to call2g" when gcc compiled.
27715 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27716 "up to foo in langs.exp", "show language at foo in langs.exp",
27717 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27718 and "show language at fsub in langs.exp".
27719 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27720 "list line 1 in include file", "list message for lines past EOF",
27721 "list function in include file", "list list0.h:foo", and
27722 "list filename:function; nonexistant function".
27723 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27724 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27725 and "ptype t_char_array" to be for native cc only.
d63a86f8 27726
c906108c
SS
27727Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
27728
d63a86f8 27729 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 27730 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 27731 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
27732
27733Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
27734
27735 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27736 "bt in signals.exp". This problem only appears when running
27737 the testsuite, and then only intermittently.
27738
27739Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
27740
27741 * gdb.base/return.exp (return_tests): Differentiate between
27742 two tests of continuing.
27743
27744Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
27745
27746 * */Makefile.in (maintainer-clean): Remove config.log.
27747 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27748 * gdb.c++/Makefile.in (PROGS): Add inherit.
27749 (clean): Remove *.ci.
27750
27751Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
27752
27753 * gdb.c++/misc.cc: Add test code from Mike Stump.
27754 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27755
27756Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
27757
27758 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27759 to "alpha-*-osf2*" and add comment.
27760 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
27761 setup_xfail for "step over execarg initialization" and
27762 "step over corearg initialization".
c906108c
SS
27763 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27764 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27765 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 27766 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
27767 "print func2::coremaker_local", and "backtrace in corefile.exp".
27768 * gdb.base/signals.exp: Build and source signals.ci.
27769 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27770 to be for gcc only.
27771 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 27772
c906108c
SS
27773Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27774
27775 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
27776 Feb 3 procfs.c change.
27777
27778Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
27779
27780 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27781
27782Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
27783
27784 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27785 from dejagnu's apparent default of 10 seconds, which gives random
27786 results when running the tests over NFS on moderately loaded systems.
27787 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27788
27789Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
27790
27791 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
27792 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 27793 result reports.
c906108c
SS
27794
27795Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
27796
27797 * configure.in (CY_AC_PATH_TCLH): Remove.
27798 * configure: Regenerate.
27799
27800Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
27801
27802 * gdb.c++/Makefile.in (clean): Add missing '{'.
27803
27804Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
27805
27806 * lib/gdb.exp: Provide a default value for noinferior.
27807
27808 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27809 Load libgloss.exp.
27810
27811Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27812
27813 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27814 the executable, not the .o to run the tests from.
27815
27816Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27817
27818 * gdb.base/break.exp: Don't test for program exit or exit status
27819 if $noresults if nonzero.
27820 * gdb.base/langs.exp: Likewise.
27821 * gdb.base/watchpoint.exp: Likewise.
27822
27823 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27824 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27825 trying to compile the testcase.
27826
27827Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27828
27829 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27830 * gdb.base/signals.exp (continue to handler): Likewise.
27831
27832Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27833
27834 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27835
27836 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27837
27838Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27839
27840 * gdb.base/corefile.exp: Recognize "not found" as failure
27841 when trying to determine if a core file was generated.
27842 If no core file was generate the first time, try again without
27843 the ulimit -c to work around braindamaged shells.
27844
27845Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27846
27847 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27848 [] tests with "test" and enclose string in quotes.
27849 * gdb.stabs/configure: Rebuild
d63a86f8 27850
c906108c
SS
27851Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27852
27853 Changes in sync with expect:
27854 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27855 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27856 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27857 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27858 argument to AC_REQUIRE.
27859 * configure: Regenerated.
27860
27861Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27862
27863 * gdb.base/corefile.exp: When generating a core, discard any
27864 error messages about ulimit not found and the "core dumped"
27865 message from the shell that runs the coredumper.
27866
27867Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27868
27869 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27870
27871 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27872 which sed script to run. Expect failure for v_comb test
27873 on PA targets too.
d63a86f8 27874
c906108c
SS
27875Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27876
27877 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 27878 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
27879
27880Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27881
27882 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27883 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 27884 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
27885 * lib/gdb.exp (default_gdb_start): Fix typo.
27886 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27887 messages to not include the full program name that caused
27888 the core dump since some systems (such as solaris) apparently
27889 truncate this path to about 80 characters.
27890 When generating a core file first try increasing the core file
27891 size limit to unlimited since some systems may default it to
27892 zero, and it is harmless to try it. Move the test for failing
27893 to generate a core file to where it will actually get executed.
27894 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27895 new gdb result from g++ debug info improvements and make old
27896 pattern obsolescent. Also account for size_t differences
27897 (may be int or long).
27898 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27899 initialization before function call is placed in the delay slot
27900 and thus appears to be skipped over by commands such as "next".
27901
27902Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27903
27904 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27905
27906Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27907
27908 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27909 input source file; fix code to compile test to deal with this
27910 convention.
27911 * gdb.c++/*.exp: Likewise.
27912
27913Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27914
27915 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27916 "bt in signals.exp".
27917
27918Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27919
27920 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27921 "step over execarg initialization" and
889bf7c5 27922 "step over corearg initialization".
c906108c
SS
27923
27924Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27925
27926 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27927 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27928
27929Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27930
27931 From Rob Savoye (rob@poseidon.cygnus.com)
27932 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27933 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
27934 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27935 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27936 configure.in}: Major reworking for autoconfig.
c906108c
SS
27937 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27938 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 27939 New files.
c906108c
SS
27940 * config/unix-gdb.exp: Make GDB global.
27941 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
27942 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27943 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27944 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27945 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27946 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 27947 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
27948 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27949 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27950 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27951 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 27952 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
27953 to returns as necessary, arrange for test to compile own testcase
27954 executable.
c906108c 27955 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 27956
c906108c
SS
27957Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27958
27959 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 27960 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
27961 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
27962 "backtrace through signal handler".
27963
27964Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27965
27966 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
27967 continuing from a job control stop signal.
27968 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
27969
27970Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
27971
27972 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
27973 * gdb.base/corefile.exp: Likewise.
27974 * gdb.base/funcargs.exp: Likewise.
27975
27976Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
27977
27978 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
27979 * config/monitor.exp: Add support for setting baud rate.
27980
27981Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
27982
27983 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
27984 i*86-*-linux* xfails for "backtrace through signal handler".
27985 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
27986 "print func2::coremaker_local".
27987 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 27988 alpha-dec-osf2* xfail for
c906108c
SS
27989 "delete all breakpoints when none".
27990
27991Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
27992
27993 * gdb.base/break.exp: Change test that deletes all breakpoints
27994 when no user breakpoints are installed. A post 4.15 change
27995 causes gdb to no longer prompt in this case.
27996
27997Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
27998
27999 * gdb.base/return.exp (return_tests): Change xfail for test
28000 "correct value returned double test" to stop xfailing at
28001 Solaris 2.5. Apparently the bug has been fixed.
28002
28003Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28004
28005 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28006 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28007
28008Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28009
28010 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28011 * gdb.disasm/hppa.s: Corresponding changes.
28012
28013Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28014
28015 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28016 makefile fragment.
28017 * config/mt-hpux: Deleted.
28018
28019Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28020
d63a86f8 28021 * Many files: When warning about suppressed tests due to a
c906108c
SS
28022 nonexistant test binary, avoid incrementing the warning count.
28023
28024Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28025
28026 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 28027
c906108c
SS
28028Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28029
28030 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28031 "sparc-*-solaris2*".
28032
28033Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28034
28035 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28036 Add global and local variables and initialize them.
28037 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28038 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28039 extracts the file name and terminating signal from the core file.
28040 * TODO: Remove note about tests for correct mapping of corefile.
28041 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28042 from optimizing it away.
28043 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28044 handles common blocks.
28045
28046Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28047
28048 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28049 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28050
28051Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28052
28053 * Makefile.in (maintainer-clean): New target, synonym for
28054 realclean.
28055 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28056 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28057 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28058 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28059 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28060 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28061
28062Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28063
28064 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28065 xfails when not gcc compiled for "print foo::funclocal".
28066 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28067 "print foo::funclocal at foo",
28068 "print 'scope1.c'::foo::funclocal at foo",
28069 "print foo::funclocal_bss at foo",
28070 "print 'scope1.c'::foo::funclocal_bss at foo",
28071 "print foo::funclocal_ro at foo",
28072 "print 'scope1.c'::foo::funclocal_ro at foo",
28073 "print bar::funclocal at foo" and
28074 "print 'scope1.c'::bar::funclocal at foo".
28075 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28076 gcc compiled for "print foo::funclocal at bar".
28077 Expand all messages to ensure that they identify that
28078 the test is at bar().
28079 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28080 gcc compiled for:
28081 "ptype on opaque struct pointer (statically)",
28082 "ptype on opaque struct tagname (statically)",
28083 "ptype on opaque struct pointer (dynamically) 1",
28084 "ptype on opaque struct tagname (dynamically) 1",
28085 "ptype on opaque struct pointer (dynamically) 2" and
28086 "ptype on opaque struct tagname (dynamically) 2
28087 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28088 gcc compiled for:
28089 "p datalocal"
28090 "whatis datalocal",
28091 "ptype datalocal",
28092 "p bsslocal",
28093 "whatis bsslocal", and
28094 "ptype bsslocal".
28095 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28096 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28097 when not gcc compiled.
28098 * gdb.base/funcargs.exp (float_and_integral_args): Add
28099 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28100 compiled.
28101 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28102 "backtrace from call6a" when not gcc compiled.
28103 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28104 "backtrace from call7a" when not gcc compiled.
28105 * gdb.base/callfuncs.exp (do_function_calls):
28106 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28107 "p t_char_array_values(char_array_val2,char_array_val1)",
28108 "p t_char_array_values(char_array_val1,char_array_val2)",
28109 "p t_char_array_values("carray 1","carray 2")",
28110 "p t_char_array_values("carray 1",char_array_val2)",
28111 "p t_char_array_values(char_array_val1,"carray 2")",
28112 "p sum_args(1,{2})",
28113 "p sum_args(2,{2,3})",
28114 "p sum_args(3,{2,3,4})",
28115 "p sum_args(4,{2,3,4,5})"
28116 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28117 "backtrace in corefile.exp" when not gcc compiled.
28118
28119Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28120
28121 * gdb.base/signals.exp: Rewrite `handle all print' test as
28122 a procedure. Accept blanks or TABs as whitespace, increase
28123 timeout and expect input buffer size for the large output
28124 from the command. Remove "i*86-*-bsdi2.0" xfail.
28125
28126Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28127
28128 * gdb.base/setvar.exp: Add new testcases for truncation when
28129 assigning invalid values to bitfields.
28130
28131Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28132
d63a86f8 28133 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
28134 mips-sgi-irix* xfail for
28135 "call inferior func with struct - returns char *"
28136 and fix test so that an optional (unsigned char *) cast is
889bf7c5 28137 accepted in the result.
c906108c
SS
28138
28139Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28140
28141 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28142 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28143 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28144 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28145 that accidentally got checked in.
28146
28147Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28148
d63a86f8 28149 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
28150 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28151 compiled test.
28152 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28153 Add mips-sgi-irix5* xfail for not gcc compiled.
28154 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
28155 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28156 compiled for "p top", "whatis top", "p middle", and "whatis
28157 middle".
c906108c
SS
28158 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28159 "whatis signed char" for not gcc compiled.
28160 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28161 "set variable signed char=-1 (-1)" and
28162 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28163 * gdb.base/funcargs.exp (float_and_integral_args):
28164 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28165 Add mips-sgi-irix* xfail when not gcc compiled for
28166 "continue to call2b".
28167 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28168 "continue to call2g".
6fdff2c5
PA
28169 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28170 compiled for "backtrace from call6a"
28171 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28172 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28173 when not gcc compiled for "backtrace from call7a".
c906108c
SS
28174 (localvars_after_alloca): Fix gdb_test cmds for
28175 "print * after runto ...".
28176 Remove rs6000-*-* xfails for
28177 "print i after runto localvars_after_alloca" and
28178 "print l after runto localvars_after_alloca"
28179 for all compilers.
28180 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 28181 when not compiled with gcc, for:
c906108c
SS
28182 "print signed char == (minus)",
28183 "print signed char != (minus)",
28184 "print signed char < (minus)",
28185 "print signed char > (minus)".
28186 * gdb.base/callfuncs.exp (do_function_calls):
28187 Add mips-sgi-irix* xfail, when compiled with native compiler, for
28188 "call inferior func with struct - returns char *".
d63a86f8 28189 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
28190 "correct value returned double test" to include Solaris 2.4.
28191 * gdb.base/funcargs.exp (float_and_integral_args):
28192 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 28193
c906108c
SS
28194Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28195
28196 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
28197 enumeration bitfields if compiling with GNU C.
28198 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
28199 to empty' prompt.
28200
28201Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
28202
28203 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28204 test for PRO targets.
28205
28206 * gdb.base/funcargs.exp: Avoid ever setting more than 8
28207 breakpoints in the inferior at any given time by making
28208 two groups of breakpoints for call2*, call6* and call7*
28209 tests.
28210
28211Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28212
28213 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
28214 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
28215 from optimizing it away.
28216 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
28217 "call inferior func with struct".
28218
28219Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
28220
28221 * configure.in: Only configure gdb.chill for particular targets.
28222
28223Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
28224
28225 * gdb.base/Makefile.in: Add action to .c.o transformation
28226 rule that generates a .ci file for each .o file and remove
28227 explicit .c.o rules except for callfuncs.o.
28228 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
28229 generates a .ci file for each .o file and remove explicit
28230 .cc.o rules.
28231 (clean): Remove *.tmp *.ci files.
28232 (EXECUTABLES): Remove templ-info.exp.
28233 * gdb.base/compiler.c: New file.
28234 * gdb.c++/compiler.cc: New file
28235 * gdb.base/scope.exp: Source gdb.base/scope.ci.
28236 Change rs6000-*-* xfail for
28237 "print 'scope0.c'::filelocal_ro" and
28238 "print 'scope1.c'::filelocal" and
28239 "print 'scope1.c'::filelocal_bss" and
28240 "print 'scope1.c'::filelocal_ro" and
28241 "print 'scope1.c'::foo::funclocal" and
28242 "print 'scope1.c'::foo::funclocal_ro" and
28243 "print 'scope1.c'::bar::funclocal" and
28244 "print 'scope0.c'::filelocal_ro" and
28245 "print 'scope1.c'::filelocal at foo" and
28246 "print 'scope1.c'::filelocal_bss at foo" and
28247 "print 'scope1.c'::filelocal_ro at foo" and
28248 "print 'scope1.c'::foo::funclocal at foo" and
28249 "print 'scope1.c'::foo::funclocal_bss at foo" and
28250 "print 'scope1.c'::foo::funclocal_ro at foo" and
28251 "print 'scope1.c'::bar::funclocal at foo" and
28252 "print 'scope0.c'::filelocal_ro" and
28253 "print 'scope1.c'::filelocal" and
28254 "print 'scope1.c'::filelocal_bss" and
28255 "print 'scope1.c'::filelocal_ro" and
28256 "print 'scope1.c'::foo::funclocal" and
28257 "print 'scope1.c'::foo::funclocal_bss" and
28258 "print 'scope1.c'::foo::funclocal_ro" and
28259 "print 'scope1.c'::bar::funclocal" and
28260 "print 'scope1.c'::bar::funclocal_bss"
28261 to only be xfail'd when not compiled with gcc.
d63a86f8 28262 Add rs6000-*-* xfail for
c906108c
SS
28263 "print 'scope0.c'::filelocal_bss before run"
28264 when compiled with gcc.
28265 (test_at_main): Add rs6000-*-* xfail for
28266 "print filelocal_ro in test_at_main"
28267 when compiled with gcc.
28268 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 28269 Add rs6000-*-aix* xfail for
c906108c
SS
28270 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
28271 "ptype t_char_array", not compiled with gcc.
28272 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
28273 xfail for "list foo (in include file)" when gcc compiled.
28274 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 28275 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
28276 "run to call0a" if not compiled with gcc.
28277 (unsigned_integral_args): Add rs6000-*-* xfail for
28278 "run to call1a" if not compiled with gcc.
28279 (float_and_integral_args): Add rs6000-*-* xfail for
28280 "run to call2a" if not compiled with gcc and for
28281 "continue to call2b" for any compiler.
28282 Add rs6000-*-* xfail to
28283 "print f1 after run to call2a" for gcc compiled.
28284 (discard_and_shuffle): Add rs6000-*-* xfail for
28285 "run to call6a".
28286 (shuffle_round_robin): Add rs6000-*-* xfail for
28287 "backtrace from call7a" if not compiled with gcc.
28288 Add rs6000-*-* xfail for
28289 "backtrace from call7b" if compiled with gcc.
28290 (call_after_alloca): Add rs6000-*-* xfail for
28291 "print c in call_after_alloca" and
28292 "print s in call_after_alloca" and
28293 "backtrace from call_after_alloca_subr"
28294 if not compiled with gcc.
28295 (localvars_in_indirect_call): Add rs6000-*-* xfail for
28296 "print c in localvars_in_indirect_call" and
28297 "print c in localvars_in_indirect_call" and
28298 "backtrace in indirectly called function" and
28299 "stepping into indirectly called function"
28300 if not compiled with gcc.
28301 (localvars_after_alloca): Add rs6000-*-* xfail for
28302 "print c after runto localvars_after_alloca" and
28303 "print s after runto localvars_after_alloca" and
28304 "print i after runto localvars_after_alloca" and
28305 "print l after runto localvars_after_alloca"
28306 for all compilers.
28307 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
28308 than whatis-info.exp.
28309 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
28310 than opaque-info.exp.
28311 Setup rs6000-*-* xfail for
d63a86f8 28312 "ptype on opaque struct pointer (statically)" and
c906108c
SS
28313 "ptype on opaque struct pointer (dynamically)" when
28314 not compiled with gcc.
28315 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
28316 rather than callf-info.exp.
28317 (do_function_calls): Add clear_xfail for rs6000-*-* for
28318 "p t_float_values2(3.14159,float_val2)". Seems to work
28319 fine there, both with xlc and gcc. Need to find out what
28320 it is doing right and fix other platforms.
28321 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
28322 "call inferior func with struct - returns int",
28323 "call inferior func with struct - returns long",
28324 "call inferior func with struct - returns float",
28325 "call inferior func with struct - returns double",
28326 "call inferior func with struct - returns char *",
28327 but only if not gcc compiled (presumes xlc compiled).
28328 Change rs6000-*-* xfails for
28329 "call inferior func with struct - returns char" and
28330 " call inferior func with struct - returns short" to only
28331 xfail if not using gcc.
28332 (clean mostlyclean): Remove *.ci and *.tmp files.
28333 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
28334 than templ-info.exp.
28335 * gdb.base/langs.exp: Source gdb.base/langs.ci.
28336 Add rs6000-*-* xfail for "up to foo in langs.exp"
28337 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 28338 when not gcc compiled.
d63a86f8 28339
c906108c
SS
28340Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28341
28342 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
28343 * gdb.base/corefile.exp: Likewise.
28344 * gdb.base/list.exp: Likewise.
28345 * gdb.base/scope.exp: Likewise.
28346 * gdb.base/siganls.exp: Likewise.
28347
28348 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
28349 compiler output.
28350 * gdb.base/whatis.exp: Likewise.
28351
28352Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
28353
28354 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
28355 failure (opcode table has been fixed to match reality).
28356
28357Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
28358
28359 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
28360 "call inferior func with struct - returns char",
28361 "call inferior func with struct - returns short"
28362
28363 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
28364 "print 'scope0.c'::filelocal at main",
28365 "print 'scope0.c'::filelocal_bss in test_at_main",
28366 "print 'scope0.c'::filelocal at foo",
28367 "print 'scope0.c'::filelocal_bss in test_at_foo",
28368 "print 'scope0.c'::filelocal at bar",
28369 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 28370
c906108c
SS
28371 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
28372 in source file 1". This bug seems to have been fixed with both
28373 gcc and native cc (was native assembler bug?).
28374
28375Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
28376
28377 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
28378 "backtrace through signal handler" to "i*86-*-sysv4*".
28379 * gdb.base/signals.exp: Add xfail for "'next' behaved as
28380 continue" case. Add "known SVR4 bug" to fail message.
28381 Add "i*86-*-bsdi2.0" xfail for "handle all print".
28382 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
28383 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
28384 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
28385 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
28386 "up to foo in langs.exp", "show language at foo in
28387 langs.exp", "up to cppsub_ in langs.exp", "show
28388 language at cppsub_ in langs.exp", "up to fsub in
28389 langs.exp", and "show language at fsub in langs.exp".
28390 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
28391 "bactrace in corefile.exp".
28392 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
28393 "call inferior function with struct - returns float" and
28394 "call inferior function with struct - returns double".
d63a86f8 28395
c906108c
SS
28396Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
28397
28398 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
28399 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
28400 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
28401 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
28402
28403Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
28404
28405 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
28406 (or overriden) "CHILL" macro rather then bare "gcc".
28407 Also look for ../../gcc/xgcc since that is what we will
28408 actually need, not "Makefile". Remove following assignment
28409 of CHILL to CHILL_FOR_TARGET because that results in
28410 recursive definition.
28411
28412Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
28413
28414 * gdb.base/corefile.exp: Change xfail for backtrace in
28415 corefile.exp from linuxaout to all linux.
28416 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
28417 cases where we miss the breakpoint at the signal handler
28418 for some reason. Setup xfail for linuxoldld/linuxaout and
28419 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
28420 hitting SIGURG breakpoint.
28421 * gdb.base/signals.exp: Setup xfail for "next" acting like
28422 continue to add linuxoldld. Setup xfail for all linux for
28423 "next to handler in signals_tests_1", "backtrace in
28424 signals_tests_1", "continue to func1", "pass SIGUSR1",
28425 and continue to handler".
28426
28427Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
28428
28429 * Update all FSF addresses except those in COPYING* files.
28430
28431Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
28432
28433 * gdb.base/a2-run.exp: Change messages to be more explicit about
28434 the status of args, and quote binfile in results.
28435
28436Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
28437
28438 * gdb.base/callfuncs.exp: Add tests for passing structs to
28439 inferior functions and return various types.
28440 * gdb.base/callfuncs.c: Add functions to receive a struct
28441 and return a member of the struct, in various types.
28442
28443Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28444
28445 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
28446
28447Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
28448
28449 * config/vxworks29k.exp: New file, sources vxworks.exp.
28450
28451Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28452
28453 * config/gdbremote.exp: New file. Testing framework using
28454 gdbserver.
28455
28456Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
28457
28458 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
28459 "call function when asleep" and "send end of file".
28460 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
28461 for "backtrace in corefile.exp".
28462 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
28463 for "backtrace through signal handler".
28464 * gdb.base/corefile.exp: Make sure we actually generate a core file
28465 before trying the core tests. Some systems allow the user to suppress
28466 generation of core files and default to that (linux for example).
28467 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
28468 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
28469
28470Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28471
28472 * gdb.threads: New directory with some crude multi-threaded
28473 gdb tests (step.exp and step2.exp).
28474 * config/mt-lynx (STEP_EXECUTABLE): Define.
28475 (THREADFLAGS): Define.
28476
28477Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
28478
28479 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
28480
28481 * gdb.base/signals.exp: Disable whole file for lynx until
28482 further notice.
28483
28484 * gdb.base/signals.exp: xfail test where "next" acts like
28485 "continue" for lynx.
28486
28487 * gdb.base/interrupt.exp: xfail test for calling function while
28488 inferior is asleep for lynx.
28489
28490 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
28491 than one cr-lf after each command.
28492
28493Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28494
28495 * configure.in: Reinstate setting of stabsdirs variable, fix
28496 typo in setting up configdirs for native builds.
28497
28498 * gdb.base/return.exp: Fix typo in return double test.
28499 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
28500 compiler from optimizing them away.
28501
28502Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
28503
28504 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
28505 sequences to be echo'd by gdb when using gdb_test.
28506 * gdb.chill/chexp.exp: Likewise.
28507 * gdb.fortran/exprs.exp: Likewise
28508
28509Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28510
28511 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
28512 after the inferior gdb has started.
28513
28514 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
28515 after each command.
28516 * gdb.base/funcargs.exp: Likewise.
28517 * gdb.base/gdbvars.exp: Likewise.
28518 * gdb.base/interrupt.exp: Likewise.
28519 * gdb.base/list.exp: Likewise.
28520 * gdb.base/watchpoint.exp: Likewise.
28521 * gdb.c++/demangle.exp: Likewise.
28522 * gdb.c++/inherit.exp: Likewise.
28523 * gdb.chill/chexp.exp: Likewise.
28524 * gdb.fortran/exprs.exp: Likewise.
28525
28526 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
28527 test if we can't handle IO to/from the inferior.
28528
28529 * gdb.c++/misc.exp: Always check for a program already being
28530 started after sending a "run" command to gdb.
28531
28532 * gdb.base/twice.exp: Start with a fresh gdb.
28533
28534 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28535 only depend on gdb's expression code, not the chill runtime.
28536
28537 * gdb.base/return.c: Put return values into variables so we
28538 can have gdb print them rather than depending on the program
28539 to print them.
28540 * gdb.base/return.exp: Corresponding changes.
28541
28542 * lib/gdb.exp: Provide default value for noinferiorio.
28543 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28544 the inferior.
28545
28546 * gdb.base/break.exp: Always check for a program already being
28547 started after sending a "run" command to gdb.
28548 (text_next_with_recursion): Don't check the output from the
28549 program's printf statement. Instead just make sure the program
28550 exited.
28551
28552 * gdb.base/commands.exp: Protect tests which need arguments with
28553 $noargs conditionals.
28554
28555Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28556
28557 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
28558 of structure member arrays to match gdb/valops.c:value_addr change.
28559
28560Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
28561
28562 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28563 cases.
28564
28565Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
28566
28567 * configure.in (configdirs): Remove gdb.chill from default list
28568 of subdirs and then add it back in only if doing a native build.
28569 The current chill compiler does not yet work in any cross build.
28570 * Revert all signal changes from Jul 6.
28571 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
28572 for sh-hms targets, allowing these tests to link, with no other
28573 changes. Testing is suppressed by setting "nosignals" in site.exp.
28574
28575Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28576
28577 * configure.in (signaldirs): Define and add to configdirs for all
28578 targets except some specific ones that are known to not support signals.
28579 Also clean up formatting.
28580 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28581 (signals, sigall): Remove rules to build.
28582 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28583 Moved to new gdb.signals directory.
28584 * gdb.signals: New test directory.
28585 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28586 signals.c signals.exp}: New or moved files.
28587
28588Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28589
28590 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28591
28592Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28593
28594 * gdb.base/return.exp: Xfail `return double' test failure
28595 on at least Solaris 2.3 and handle future/past versions on
28596 a case by case basis as appropriate. Also update message
28597 to include i*86 failures.
28598
28599Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28600
28601 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28602
28603 * lib/gdb.exp: Fix comment which erroneously identified
28604 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28605 gdb_file_cmd not gdb_load).
28606 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28607
28608 * gdb.base/setvar.exp: Make test names consistent between pass and
28609 fail cases. Use gdb_test more.
28610
28611Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28612
28613 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28614
28615Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28616
28617 * gdb.base/help.exp: Fix expected help string for `show commands'.
28618
28619Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28620
28621 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28622
28623 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28624 of a text section.
28625
28626Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28627
28628 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28629 that loop eventually terminates. Fix Connection refused logic so
28630 that testsuite will expire nicely.
28631
28632Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28633
28634 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28635 config/rom68k.exp: New tcl glue for the appropriate monitors.
28636 These all just end up calling monitor.exp.
28637 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28638 refused' by retrying. Cleanup some timeout issues.
28639 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28640 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28641 callers don't have to set/restore global timeout variable.
28642
28643 * The following set of changes centralizes management of the global
28644 timeout variable. This way, it can be set in one target dependent
28645 place instead of dozens of places scattered throughout the test suite.
28646 If you need to lengthen a timeout, then you should either set timeout
28647 in one of the config/{target}.exp files, or multiply it by a factor.
28648 Setting it to an absolute value is always going to lose for some
28649 targets.
28650 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28651 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28652 * gdb.base/funcargs.exp: Don't set timeout.
28653 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28654 * gdb.base/printcmds.exp (test_print_string_constants
28655 test_print_array_constants): Don't set timeout.
28656 * gdb.base/ptype.exp: Don't set timeout.
28657 * gdb.base/recurse.exp: Don't set timeout.
28658 * gdb.base/return.exp: Don't set timeout.
28659 * gdb.base/watchpoint.exp: Don't set timeout.
28660 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28661 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28662
28663Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28664
28665 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28666
28667Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28668
28669 * lib/gdb.exp: Disable chill tests for irix5.
28670
28671Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28672
28673 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28674 each test pass or fail.
28675
28676Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28677
28678 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28679 xlc not gcc.
28680
28681Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28682
28683 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28684
28685Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28686
28687 * config/est.exp: Fix copyright and comments. Remove dead code.
28688 Use targetname, serialport and baud variables instead of fixed
28689 constants.
28690 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28691 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28692
28693Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28694
28695 * gdb.base/watchpoint.exp: Don't run
28696 test_watchpoint_triggered_in_syscall for sunos.
28697
28698Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28699
28700 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28701 they don't seem to exist. Do include stdio.h.
28702
28703Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28704
28705 * gdb.base/a1-selftest.exp: Add alpha xfail.
28706
28707Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28708
28709 * gdb.base/watchpoint.c (main): Prompt before calling read().
28710 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28711 Revise accordingly. Remove cruft about sending "123" several
28712 times, until it gets noticed. Clean up the "print buf[0]" stuff
28713 so that it passes or fails, and waits for prompts in the usual way.
28714
28715Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28716
28717 * gdb.base/recurse.exp: Fix comment.
28718
28719 * TODO: Remove item about printing variables in nodebug.exp. Add
28720 item about enabling tests which are only run on some targets.
28721
28722 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28723 fail, make test names unique, use new gdb_test convention
28724 regarding pattern, use gdb_test more, etc.).
28725
28726 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28727 fail, make test names unique, etc.).
28728
28729Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28730
28731 * gdb.base/nodebug.c: Change return type of top and middle to
28732 short.
28733 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
28734 are fixed by the recent mdebugread.c changes. Allow `short ()'
28735 as type for top and middle.
28736
28737Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28738
28739 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
28740 nearly as I can tell, the whole thing was an accident in Stu's
28741 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28742 to replace a send/expect pair with gdb_test, but ended up only
28743 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
28744 of 30 Mar 1995 took care of it, but left this vestigial comment
28745 which I am now nuking.
28746
28747Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28748
28749 * gdb.base/break.exp: Look for different line number for
28750 breakpoint at main depending on usestubs.
28751
28752Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28753
28754 * gdb.base/list.exp: Adjust some alternate expect patterns to
28755 match recent list0.c change. Add alternate expect pattern for
28756 output from `list default lines around main' for optimizing
28757 compilers.
28758
28759Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28760
28761 * lib/gdb.exp: If nosignals is not set, set it to 0.
28762
28763Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
28764
28765 * config/slite-gdb.exp: Responds to load symbol table prompt.
28766 * gdb.base/break.exp: Adjust line number, fix rerun.
28767 * gdb.base/langs0.c: Add #ifdef usestubs.
28768
28769Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
28770
28771 * gdb.base/list.exp: Adjust line contents after adding new lines in
28772 list0.c. Also fix a syntax error.
28773
28774 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28775 * gdb.base/break.exp: ditto.
28776 * gdb.base/list.exp: ditto.
28777 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28778 * gdb.base/run.c: ditto.
28779 * gdb.base/list0.c: ditto.
28780 * gdb.base/funcargs.c: ditto.
28781
28782Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
28783
28784 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
28785 $targetname, $serialport and $baud instead of hardwired variables.
28786 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
28787 target doesn't support signals.
28788
28789Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
28790
28791 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28792
28793Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28794
28795 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
28796 Don't rely on the value of an auto variable before it has been
28797 initialized. Use gdb_test more.
28798
28799Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28800
28801 * lib/gdb.exp (default_gdb_version): A version number must start
28802 with a digit, but other than that contains all characters up to
28803 the first whitespace character.
28804
28805Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28806
28807 * gdb.base/commands.exp (breakpoint_command_test): New tests.
28808
28809Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28810
28811 * gdb.c++/*.exp: Warn if executable does not exist. The original
28812 reason for skipping the warning was that configure.in sometimes
28813 intentionally skipped building the executables but the tcl code
28814 had no way of knowing. That (a) was always bogus with respect to
28815 error handling, (b) is no longer true (right now there is no way
28816 to skip C++ tests).
28817
28818 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28819
28820Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28821
28822 * gdb.base/list.exp: Add expect patterns for output from
28823 SunPRO compiled executables.
28824 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28825 types.
28826
28827Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28828
28829 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28830 number (we are already testing that the correct source line text
28831 gets printed).
28832
28833 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28834 that is what is intended, but something needed to be done to get
28835 sunos4 native working again.
28836
28837 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28838
28839 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28840 apparently went with a (very) old xfail.
28841
28842Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28843
28844 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28845 runto_main is a proc in gdb.exp that will do 'step' for target use
28846 stubs.
28847 * gdb.base/exprs.exp: ditto.
28848 * gdb.base/interrupt.exp: ditto.
28849 * gdb.base/opaque.exp: ditto.
28850 * gdb.base/printcmds.exp: ditto.
28851 * gdb.base/ptype.exp: ditto.
28852 * gdb.base/scope.exp: ditto.
28853 * gdb.base/setvar.exp: ditto.
28854 * gdb.base/signals.exp: ditto.
28855 * gdb.base/twice.exp: ditto.
28856 * gdb.c++/classes.exp: ditto.
28857 * gdb.c++/inherit.exp: ditto.
28858 * gdb.c++/templates.exp: ditto.
28859 * gdb.base/break.exp: no run and hit main for stubs. Change line
28860 numbers for breakpoints and info breakpoint.
28861 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28862 breakpoint().
28863 * gdb.base/callfuncs.c: ditto.
28864 * gdb.base/exprs: ditto.
28865 * gdb.base/interrupt.c: ditto.
28866 * gdb.base/opaque0.c: ditto.
28867 * gdb.base/printcmds.c: ditto.
28868 * gdb.base/ptype.c: ditto.
28869 * gdb.base/scope0.c: ditto.
28870 * gdb.base/setvar.c: ditto.
28871 * gdb.base/signals.c: ditto.
28872 * gdb.base/twice.c: ditto.
28873 * gdb.c++/misc.cc: ditto.
28874 * gdb.c++/templates.cc: ditto.
28875
28876Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28877
28878 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28879
28880 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28881 somewhere between `read' and `main.c'. I'm pretty sure the
28882 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28883 and it isn't particularly useful.
28884
28885 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28886
28887Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28888
28889 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28890
28891Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28892
28893 * config/mt-slite: add LIBS and -nostdlib.
28894 * config/slite-gdb.exp: add this new file to support sparclite target.
28895
28896Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28897
28898 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28899
28900 * gdb.base/a2-run.exp: Change argument to istarget from
28901 "*-*-vxworks" to "*-*-vxworks*".
28902 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28903
28904Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28905
28906 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28907 will not runto main but do a 'step' to step out of breakpoint().
28908 * config/mt-slite: add -Dusestubs.
28909
28910Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28911
28912 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28913 instead of just @.
28914
28915 * gdb.base/signals.exp: Add test for "handle all print".
28916 * TODO: Remove "handle all print". Also remove item about
28917 checking copyright date (I don't like the idea of a spurious FAIL
28918 based on when we run the tests).
28919
28920 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28921 for SunOS4 (reason for failure not investigated). Remove
28922 redundant test for $binfile.
28923
28924 * gdb.base/nodebug.c (array_index): Call malloc.
28925
28926 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28927
28928Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28929
28930 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28931 conventions and slightly simplify the matching regexp.
28932
28933Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28934
28935 * gdb.base/break.exp: Update gdb_test invocation to use new
28936 convention.
28937
28938 * lib/gdb.exp: If noargs is not set, set it to 0.
28939
28940 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28941 tests unique.
28942
28943 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28944
28945Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28946
28947 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28948 one argument of type "<non-float parameter>".
28949
28950Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28951
28952 * config/rom68k.exp: New file to support Motorola IDP board.
28953 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28954 * gdb.base/break.c: Change things around so that this program
28955 doesn't depend upon args. This is necessary to make remote
28956 targets work (in general, they can't take args).
28957 * gdb.base/break.exp: Don't try to send args to program. Don't
28958 expect output. Also, replace lots of code with gdb_test.
28959
28960Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28961
28962 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
28963 printing of '\'' (which is what the comment says we are testing,
28964 even though we were not), not '''.
28965 (test_integer_literals_rejected): Test that printing ''' is an error.
28966
28967 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28968 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
28969 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
28970 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
28971 Use gdb_test not test_print_accept.
28972 * lib/gdb.exp: Remove test_print_accept.
28973
28974 * gdb.base/signals.exp (signal_tests_1): Make pass message
28975 consistent with fail message.
28976
28977 * gdb.base/whatis.exp: Remove xfails for printing char vs.
28978 unsigned char; the bug (PR 1821) is fixed.
28979
28980 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
28981
28982 * gdb.base/scope.exp (test_at_localscopes): Call pass for
28983 successful tests--makes xfailing them work right.
28984
28985Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28986
28987 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
28988 only \r\n, not .*. The test can pass .* as the last thing in
28989 $pattern if that is what it wants. In addition to providing this
28990 flexibility, this change should speed up pattern matching in cases
28991 where the pattern already ended with .* (there were a number of
28992 them). This change also helps catch bad patterns--in the old
28993 scheme the typo "char \*" instead of "char \\*" would pass. Now
28994 it is caught.
28995 * Many .exp files: Update callers.
28996
28997 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
28998 clearer and does not spuriously match multiple ('s. Likewise for
28999 ) and *.
29000
29001 * gdb.base/nodebug.exp: Test ability to call a function and pass
29002 it a string (even with no debugging info).
29003
29004 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29005 "p '\'", which is the same as "p ''" once tcl gets done with
29006 quoting, to "p '\\'", which I suspect is what is intended (one
29007 backslash gets sent to GDB).
29008
29009 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29010
29011Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29012
29013 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29014 1817) was fixed literally years ago.
29015
29016Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29017
29018 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29019 test, it causes stepping out of call_after_alloca_subr with
29020 optimizing compilers.
29021 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29022 fails.
29023
29024 * gdb.c++/templates.exp: Source templ-info.exp only if
29025 the templates executable exists.
29026
29027 * gdb.c++/misc.cc (class Contains_static_instance,
29028 class Contains_nested_static_instance),
29029 gdb.c++/classes.exp (test_static_members): Test printing of
29030 a class that contains a static instance of the class.
29031
29032Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29033
29034 * gdb.base/langs2.c (cppsub_): Don't prototype.
29035 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29036 only, I believe).
29037
29038Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29039
29040 * lib/gdb.exp (skip_chill_tests): New procedure.
29041
29042 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29043
29044Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29045
29046 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29047 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29048
29049Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29050
29051 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29052
29053 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29054 disassemble 8, not 16, instructions for part 4.
29055
29056 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29057 support the latter anymore.
29058
29059 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29060 -DNO_PROTOTYPES.
29061 * gdb.base/callfuncs.c: Control use of prototypes based on
29062 NO_PROTOTYPES, not __STDC__.
29063 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29064 t_float_values2 tests if prototypes in use.
29065
29066 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29067 t_double_values): When checking differences against DELTA, check
29068 that difference is within the range (-DELTA,DELTA), not just
29069 (-infinity,DELTA).
29070
29071Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29072
29073 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29074 'file' command firts, then 'target', then 'load', this is due to gdb
29075 target set up.
29076 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29077
29078Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29079
29080 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29081 FP load/store variants.
29082 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29083
29084Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29085
29086 * gdb.base/term.exp: Do not give a warning if not native, it is
29087 not an abnormal condition.
29088
29089Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29090
29091 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29092 t_char_array".
29093
29094Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29095
29096 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29097 are getting the version number.
29098
29099 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29100 if not native, it is not an abnormal condition.
29101
29102Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29103
29104 * lib/gdb.exp: Just use "file exists", rather than undocumented
29105 dejagnu procedure "findfile".
29106
29107Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29108
29109 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29110 (LDFLAGS): Set to -Xlinker -Ur.
29111
29112 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29113 Removed, these values are set by lib/gdb.exp.
29114
29115 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29116
29117Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29118
29119 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29120 of replicating gdb startup code.
29121
29122 * config/mt-vxworks (LDFLAGS): Set to -r.
29123 (CFLAGS_FOR_TARGET): Removed.
29124
29125 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29126 (gdb) and gdb for vxworks uses (vxgdb).
29127
29128 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29129 executable is not in the tree and host != target, use sed and
29130 program_transform_name to determine the gdb name used by the
29131 target.
29132
29133 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29134 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29135
29136Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29137
29138 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29139 floats, chars, and shorts where there are ANSI-style function
29140 definitions.
29141
29142 * gdb.base/langs.exp, gdb.base/langs*: New test.
29143 * gdb.base/Makefile.in: Build it.
29144 * TODO: Remove item about checking that C names don't get C++
29145 demangling applied; this test tests it.
29146
29147Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29148
29149 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29150 went with the const70 xfail. The xfail went away a year ago.
29151
29152 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29153
29154 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29155 for hp300.
29156
29157 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29158
29159 * gdb.base/a1-selftest.exp: Don't run on hp300.
29160
29161Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29162
29163 * Makefile.in (site.exp): Set host_alias and target_alias as well
29164 as host_triplet and target_triplet.
29165
29166Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29167
29168 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29169
29170 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29171 places as other ecoff systems).
29172
29173 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29174 ultrix.
29175
29176Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29177
29178 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29179 remove them.
29180 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29181 variable and "variable" in addition to "data variable".
29182 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29183
29184 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29185 2.
29186 * gdb.base/list1.c (long_line): Add additional statement at start
29187 of function.
29188 * gdb.base/list.exp (test_forward_search): Update line number to
29189 reflect new statement.
29190
29191Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29192
29193 * gdb.base/signals.exp: Reinitialize searched source directories
29194 after gdb_start call.
29195
29196Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
29197
29198 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29199 * gdb.stabs/Makefile.in: Likewise.
29200
29201 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29202 change. Instead split the tests into smaller pieces.
29203 * gdb.disasm/hppa.s: Corresponding changes.
29204
29205Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29206
29207 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29208 Quote ^C when passing it to stty. For some shells ^ is a pipe.
29209
29210 * gdb.base/funcargs.exp: Modify many tests so that every test
29211 either passes or fails. Make some test names unique.
29212
29213Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29214
29215 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29216 Call stty to set interrupt character.
29217
29218 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
29219 for HP assembler versus GNU assembler based on actual behavior of
29220 $(CC), rather than assuming that $(AS) is always the GNU assembler.
29221
29222 * TODO: Suggest a few more stepping tests.
29223
29224Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
29225
29226 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
29227 restart GDB for h8300 after a continue.
29228 (return): Add pattern to match a29k-udi behavior.
29229 * gdb.base/nodebug.exp: Remove obsolete comment.
29230 * gdb.base/regs.exp: New file, testing of register displays.
29231 * gdb.base/return.exp: Fix typo in reference to $objdir.
29232 * gdb.base/whatis.exp: Always start with a fresh GDB.
29233
29234Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29235
29236 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
29237 higher, these tests generate a lot of output.
29238
29239Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29240
29241 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
29242 code following the catch silently ignored some errors; without the
29243 catch they should be thrown like any other tcl error. Also, the
29244 catch used "" instead of {} which meant all the callers who wanted
29245 to include one of the characters "[]$ had to quote it an extra time.
29246 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
29247 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
29248 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
29249 Remove extra quoting.
29250
29251Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
29252
29253 * gdb.base/commands.exp: Make test names unique; every test either
29254 passes or fails. Update some comments.
29255
29256 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
29257
29258Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29259
29260 The following fixes a FAIL caused by the fact that the alpha stabs
29261 configuration didn't use the ".if alpha" code in weird.def.
29262 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
29263 bit pointer, so the 32 bit version works even on the alpha.
29264 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
29265 Remove the stuff which allowed us to have separate versions for
29266 alpha and everything else.
29267
29268 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
29269 regexp which "info func operator\[\](" is supposed to match. Fix
29270 string to send to GDB. Note that GDB still doesn't work right. Add a
29271 new test for "info func .perator\[\](" which GDB does handle correctly.
29272
29273 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
29274
29275Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29276
29277 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
29278 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
29279 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
29280 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
29281 it makes the tests harder to understand and confuses test-o-matic.
29282 The preferred style is that each test provides a PASS or a FAIL,
29283 and has a unique message (e.g. "continue #54" not just "continue")
29284 which is the same for the pass and the fail.
29285 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29286 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
29287 to lib/gdb.exp.
29288 * gdb.base/printcmds.exp: Use test_print_accept. Remove
29289 prt_accept which was basically the same thing. Likewise for
29290 test_print_reject and prt_reject.
29291 * lib/gdb.exp (test_print_reject): Add some more error message
29292 patterns to match from the former printcmds.exp (prt_reject).
29293 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
29294 One defect of the passcount stuff is that some of it failed to
29295 report XPASS where appropriate.
29296 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
29297 stuff before and after arg in expected pattern.
29298 (test_paddr_operator_functions): Re-do test without print_addr_of;
29299 this is the only test which seems to want extra stuff there.
29300
29301Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29302
29303 * gdb.base/nodebug.exp: Update new tests to reflect improved
29304 wording of gdb output.
29305
29306 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
29307 and "ptype" work on variables in files compiled without -g.
29308 Replaces commented out "maint print msymbol" tests.
29309
29310Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29311
29312 * gdb.base/setvar.c (dummy): Call malloc.
29313
29314 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
29315 losing with the irix4 sed.
29316
29317 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
29318 ALRM" on irix4.
29319
29320Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29321
29322 * TODO: Remove items about corefile.exp testing new exec-file and
29323 backtrace; both are now done. Add items about printing enums.
29324
29325Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29326
29327 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
29328 "get signal $thissig" test fails.
29329
29330 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
29331
29332Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29333
29334 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
29335 compiler warning with dec alpha compiler.
29336
29337 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
29338 extra \n from gdb_test call (this explains why the prompt test
29339 that I removed yesterday was there).
29340 (user_defined_command_test): Remove extra \n and prompt test.
29341
29342 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
29343 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
29344 doesn't exist.
29345 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
29346 Also remove alpha workaround, which turns out to be because
29347 SIGABRT == SIGLOST.
29348
29349 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
29350
29351 * gdb.base/help.exp: Don't test "help show".
29352
29353Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29354
29355 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
29356 "set print address" is on.
29357 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
29358 pass prompt to gdb_test; gdb_test already looks for the prompt.
29359
29360 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
29361
29362 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
29363 was a vestige of the manual TESTSTRATEGY, and the purpose of it
29364 was to make sure that gdb can read a core file. But (a) the "read
29365 the corefile" part didn't make it to a1-selftest.exp, we just
29366 delete the corefile after creating it, and (b) we test reading
29367 corefiles in corefile.exp anyway. Also, this test left around a
29368 xgdb process on Solaris.
29369
29370 * gdb.base/corefile.exp: Also test backtrace.
29371
29372Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
29373
29374 * gdb.base/commands.exp: Test a simple user defined command with
29375 arguments and if/while statements; verify the full user command is
29376 printed by "show user".
29377
29378 * gdb.base/commands.exp: Test if/while commands as part of a
29379 breakpoint command list; verify they appear in breakpoint
29380 information.
29381
29382Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29383
29384 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
29385 than by dividing by zero.
29386
29387Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
29388
29389 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
29390 performing an inferior call with watchpoints enabled.
29391 * gdb.base/watchpoint.c (main): Delete second unnecessary read
29392 call.
29393
29394Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29395
29396 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
29397 of "file" command.
29398
29399 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
29400 Add additional pattern for when "int operator int(void);" appears
29401 in a different order.
29402
29403Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29404
29405 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
29406
29407 * gdb.base/help.exp: Replace most of docstrings for "info signals"
29408 and "signal" with ".*".
29409
29410Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29411
29412 * TODO: Add note about "handle all nostop".
29413
29414 * gdb.base/{sigall.c, sigall.exp}: New test.
29415 * gdb.base/Makefile.in: Add it.
29416
29417Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
29418
29419 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
29420 when invoking GDB, suppresses any windowing interface.
29421
29422Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
29423
29424 * config/sim-gdb: New file, simulator testing support.
29425
29426Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
29427
29428 * gdb.base/interrupt.exp: Test calling func1 twice.
29429
29430Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
29431
29432 * gdb.base/list.exp (test_forward_search): Set timeout higher
29433 when we'll be getting lots of output from gdb.
29434
29435 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
29436 "init_malloc" to after the expect statement. Run it if that
29437 regexp is taken, but also for two others which happen if source
29438 cannot be found.
29439
29440Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29441
29442 * gdb.base/printcmds.exp: New test, for printing register before
29443 program is running.
29444
29445Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29446
29447 * gdb.base/list.exp: Correct some alternate expect patterns
29448 to reflect changes in list1.c.
29449
29450Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29451
29452 * TODO: Add item regarding large frames.
29453
29454 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
29455
29456 * TODO: Remove item about enabling return.exp; it
29457 is enabled. Suggest a few more "return" tests.
29458
29459Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29460
29461 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
29462 anonymous unions.
29463
29464Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29465
29466 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
29467 and pr-5646.o, so "make" is the same as "make all", not "make
29468 pr-4975.o".
29469
29470Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
29471
29472 * gdb.base/list.exp: Adjust expectations to reflect changes in
29473 list1.c.
29474 (test_forward_search): New test proc.
29475 * gdb.base/list1.c (long_line): New function, has long source line.
29476
29477Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
29478
29479 * gdb.base/a1-selftest.exp: Change initial stepping to know about
29480 additional line of code that was added.
29481
29482Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
29483
29484 * gdb.disasm/hppa.s: Break the large branching tests into smaller
29485 tests so as not to overflow expect's input buffers.
29486 * gdb.disasm/hppa.exp: Corresponding changes.
29487
29488Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29489
29490 Beginnings of template debugging tests.
29491 * gdb.c++/templ-info.cc: New file to test for template
29492 debugging capability of the compiler.
29493 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
29494 templ-info.cc.
29495 * gdb.c++/templates.cc: Add explicit template instantiations
29496 to enable compiling with -fno-implicit-templates. Add destructor
29497 and 'value' method to T5 class for template tests.
29498 * gdb.c++/templates.exp: Add testcases for printing of template
29499 types, setting breakpoints on template methods and calling a
d63a86f8 29500 template method.
c906108c
SS
29501
29502Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
29503
29504 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
29505 branch target since some assemblers (gas-2.5) may emit a
29506 relocation for the branch instead of resolving it in the
29507 assembler.
29508
29509Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29510
29511 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
29512 through signal handler.
29513
29514Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29515
29516 * configure.in (*-*-netware): Use config/mt-netware.
29517
29518 * config/mt-netware: New file.
29519 * config/mt-i386-netware: Removed, separate configs for different
29520 netware architectures are no longer needed now that we have
29521 --with-headers.
29522
29523Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29524
29525 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
29526 by the recent changes to use ANSI C arithmetic conversions.
29527
29528Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29529
29530 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29531 bug involving using inferior_pid to figure out whether to select a
29532 frame.
29533
29534Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
29535
29536 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29537 match the current disassembler output.
29538
29539Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
29540
29541 * gdb.fortran/exprs.exp: Expect VOID instead of void.
29542 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29543 types, expect "int" as type of integer values (for now).
29544
29545Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
29546
29547 * gdb.base/commands.exp: New tests for if/while commands.
29548
29549Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
29550
29551 * lib/gdb.exp (runto): Replace sub-pattern for hex value
29552 by .*, since hex values have different syntax in Chill mode.
29553
29554Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29555
29556 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
29557 linefeed from expect pattern for repeated types with indices > 9.
29558
29559Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
29560
29561 First part of Fortran test suite.
29562 * gdb.fortran: New directory.
29563 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29564
29565Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29566
29567 * gdb.base/default.exp: Update expect pattern for load command
29568 without arguments.
29569
29570Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
29571
29572 * configure.in: Change i386 to i[345]86.
29573 * gdb.base/configure.in: Likewise.
29574 * gdb.c++/configure.in: Likewise.
29575 * gdb.chill/configure.in: Likewise.
29576
29577Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29578
29579 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29580 patterns, since that is not a valid context for comments.
29581
29582Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29583
29584 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29585 repeated types and repeated types with indices > 9.
29586
29587Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29588
29589 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29590 2417; old bug has been fixed.
29591
29592Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29593
29594 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29595 send the newline ourselves instead of assuming gdb_test will do
29596 so when passed an empty input string.
29597
29598 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29599 stabs testcode.
29600
29601Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29602
29603 * lib/gdb.exp (gdb_test): Don't send anything if the first
29604 argument is an empty string. This makes cases where we want to
29605 match output that is already in expect's buffers (for example,
29606 matching a breakpoint after gdb_run_cmd has been called) work
29607 reliably.
29608
29609Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29610
29611 * config/netware.exp: New file.
29612
29613Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29614
29615 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29616 the -B and -L prefixes so we can find the debugging stub.
29617
29618 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29619 there and we are using the gcc from the tree.
29620
29621 * gdb.base/types.c: Removed.
29622
29623 * gdb.base/configure.in: Look for makefile fragments in ../config.
29624 Recognize i386-*-netware.
29625 * gdb.c++/configure.in: Likewise.
29626
29627Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29628
29629 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29630 the correct TCL syntax.
29631
29632Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29633
29634 * gdb.base/opaque.exp: use runto instead of messing around with
29635 breakpoints. Simplify by using gdb_test.
29636
29637 * gdb.base/bitfields.exp: restart between tests on netware targets
29638 because breakpoints aren't relocated after target death. Run
29639 processes to completion.
29640
29641 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29642
29643Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29644
29645 * Makefile.in: Remove extra tabs that confuse some versions
29646 of "make". Use the newly built gdb to test with by default,
29647 rather than the first one in the tester's search path.
29648
29649Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29650
29651 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29652
29653 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29654 condition help.
29655
29656Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29657
29658 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29659
29660 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29661 running.
29662 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29663 * gdb.base/funcargs.exp: Likewise.
29664
29665 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29666 * gdb.base/funcargs.exp: Likewise.
29667
29668 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29669 message is "".
29670
29671Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29672
29673 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29674 return,signals,twice}.exp: Handle non-existant binaries
29675 consistantly.
29676
29677 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29678 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29679 might testing a cross development system.
29680
29681Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29682
29683 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29684 runtest script is relative to ${srcdir}, not ${rootdir}.
29685
29686Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29687
29688 * gdb.base/signals.exp: Allow for optionality of breakpoint
29689 address.
29690
29691Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29692
29693 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29694
29695Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29696
29697 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29698 for size_t definition.
29699 * gdb.c++/templates.cc: Likewise
29700
29701 * config/mt-i386-netware: New file.
29702
29703 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29704 defined.
29705
29706 * gdb.base/Makefile.in: Added support for systems that name core
29707 files by appending "core" to the program name.
29708 * gdb.base/a1-selftest.exp: Likewise.
29709
29710Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29711
29712 * gdb.base/return.exp: Add comment and message for `return double'
29713 test failure on Sparc Solaris.
29714
29715Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
29716
29717 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29718
29719Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29720
29721 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
29722 from optimizing them away.
29723 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
29724 patterns to include default constructors and assignment operators,
29725 to match gcc versions beyond 2.5.8. Accept any cplus demangling
29726 character in the output of the virtual base pointer.
29727
29728Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29729
29730 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
29731 expression match in print_addr_of to avoid unintented matches.
29732 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
29733 versions up to 2.5.8.
29734
29735Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29736
29737 * gdb.base/list.exp: Tweak alternate pattern for listing of an
29738 included file to run under newer versions of expect.
29739 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
29740 consecutive >'s in templates to accomodate recent cplus-dem.c change.
29741 Remove xfail for the virtual table of BDDHookV.
29742
29743Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
29744
29745 * lib/gdb.exp (string_to_regexp): Set a default result.
29746 (default_gdb_start): Fix misleading message.
29747
29748Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
29749
29750 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29751 Remove all CC, etc definitions.
29752 * config/mt-hpux: New file.
29753 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29754 (CFLAGS, LDFLAGS): Define.
29755 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29756
29757 * Makefile.in (site.exp): Don't insert host_os, etc.
29758 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29759 (distclean): Check existence of subdir.
29760 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29761 * gdb.base/Makefile.in: General cleanup and simplification.
29762 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29763 to build executables. Use default rule to build .o files.
29764 (EXPECT, RUNTEST, CC): Fix relative pathname.
29765 (site.exp): Don't insert host_os, etc.
29766 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29767 and/or SIGUSR1 defined.
29768 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29769 * gdb.c++/Makefile.in: General cleanup and simplification.
29770 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29771 (CFLAGS): Remove.
29772 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29773
29774Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
29775
29776 * gdb.base/recurse.exp: Misc changes to get tests running again
29777 after Kung's changes to the watchpoint code.
29778 * gdb.base/watchpoint.exp: Likewise.
29779
29780Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
29781
29782 * lib/gdb.exp (string_to_regexp): Convert {\} also.
29783
29784Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
29785
29786 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29787 * lib/gdb.exp (default_gdb_start): Define.
29788 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29789 gdb.base/funcargs.exp, gdb.base/opaque.exp,
29790 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29791 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29792 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29793 Don't call gdb_target_udi in between tests.
29794
29795Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29796
29797 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29798 (which was basically just a local version of the same thing). In
29799 addition to avoiding duplication, gdb_test_exact is faster.
29800 * lib/gdb.exp (gdb_test_exact): Fix typo.
29801
29802 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29803 don't give an error.
29804
29805 * gdb.base/term.exp: Call delete_breakpoints before starting.
29806
29807 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29808 (t10): Add comment.
29809
29810Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29811
29812 Reorganization of the GDB Test Suite.
29813
29814 * gdb.base: New directory, contains all the basic tests.
29815 * gdb.c++: New directory, tests specific to C++.
29816 * gdb.chill: New directory, tests specific to Chill.
29817 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29818 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29819 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29820 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29821 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29822 t30-31 to chill).
29823 * */gdbme.*: Rename to match appropriate expect scripts.
29824 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29825 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29826 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29827 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29828 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29829 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29830 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29831 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29832 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29833 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29834 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29835 gdb.c++/virtfunc.cc: New names of C++ files.
29836 * gdb.chill/chillvars.ch: New name of Chill file.
29837 * gdb.base/configure.in, gdb.c++/configure.in,
29838 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29839 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29840 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29841 * configure.in (configdirs): Update to reflect directory changes.
29842 (target_abbrev): No longer define for any configuration.
29843 * Makefile.in: Cosmetic improvements to header comments.
29844
29845Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29846
29847 Various changes to gdb.t31:
29848
29849 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29850 * gdbme.ch: Make all key-words and predefineds be upper-case.
29851 * chillvars.exp: Expect key-words and predefinds in upper-case.
29852
29853 * chillvars.exp: Use gdb_test_exact many places.
29854 Change expected output for arrays (which now includes index labels).
29855
29856 * pr-5020.exp, gdme.ch (module PR_5020):
29857 New test, for PR-5020.
29858
29859Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29860
29861 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29862 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29863
29864Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29865
29866 * Makefile.in: Fix bit-rot in definitions of CHILL,
29867 CHILL_FOR_TARGET and Chill_LIB.
29868 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29869 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29870 CHILL, and CHILL_LIB.
29871
29872Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29873
29874 * Revert the previous changes. Please see Rob's directory
29875 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29876
29877Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29878
29879 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
29880 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29881 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29882 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
29883 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29884 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29885 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29886 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29887 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29888 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29889 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29890 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29891 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29892 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29893 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29894 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29895 changes from 94Q1.
29896
29897Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29898
29899 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29900 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29901 Rob's new testing fragments.
29902
29903Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29904
29905 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 29906 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
29907
29908Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29909
29910 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29911 version also, match on casted version strings, and match on
29912 gdb startup case where the line numbers might be messed up.
29913
29914Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29915
29916 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 29917 (CFLAGS): Delete it from here.
c906108c
SS
29918
29919Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29920
29921 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29922
29923Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29924
29925 * Makefile.in (RUNTEST): Default to just "runtest".
29926
29927Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29928
29929 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29930 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29931 the code has been restructured.
29932
29933Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29934
29935 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29936 \n, not just one of each.
29937
29938 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29939 /bin/cc gives a warning if you do.
29940
29941Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29942
d63a86f8 29943 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
29944 __t10ListS_link1ZUiRCUiPT0
29945
29946Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29947
29948 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29949 on local variables in recursive functions.
29950
29951 * gdb.t07/Makefile.in: Build the new test.
29952
29953Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29954
29955 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29956 directly. Instead compare the return values from actual calls.
29957
29958Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29959
29960 * Makefile.in (check): Set TCL_LIBRARY for runtest.
29961
29962Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29963
29964 * From Peter Schauer with minor modifications.
a9c64011
AS
29965 * gdb.t15/return.exp (return_tests): Handle targets where "return"
29966 stops in mid-line in the caller. Add xfail for returning a float
29967 value on X86 targets.
c906108c
SS
29968
29969Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29970
29971 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
29972 to avoid expect lossage.
29973 (fmem_LRbug_tests): Likewise.
29974 * gdb.disasm/hppa.s: Corresponding changes.
29975
29976 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
29977 conditions to work with latest dejagnu/expect.
29978
29979 * gdb.t15/funcargs.exp (finish from indirect call): No longer
29980 expected to fail on the PA.
29981 (backtrace in call with trampolines): Explicitly require main
29982 to be frame #1 (no trampolines should show up in backtrace).
29983
29984 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
29985 "continue -expect".
29986 * gdb.t06/break.exp: Likewise.
29987 * gdb.t07/watchpoint.exp: Likewise.
29988 * gdb.t13/bitfields.exp: Likewise.
29989 * gdb.t15/{funcargs,return}.exp: Likewise.
29990 * gdb.stabs/weird.exp: Likewise.
29991 * config/{mips,udi}-gdb.exp: Likewise.
29992
29993 * hppa.sed: Enclose comments within a sed command to avoid
29994 losing with the old OSF1 sed.
29995
29996Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29997
29998 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
29999 sequent dynix.
30000 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30001 * gdb.t15/funcargs.exp: Conditionally step again to really
30002 finish from marker_call_with_trampolines. Handle the case where
30003 the first step from within call_with_trampolines already steps
30004 us back to main.
30005 * gdb.t15/gdbme.c: Add comment to closing brace of
30006 call_with_trampolines for funcargs.exp.
30007
30008Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30009
d63a86f8 30010 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
30011 Fix typo(s).
30012
30013Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30014
30015 * gdb.t07/gdbme.c: More code for watchpoint testing.
30016
30017 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30018 "Hardware watchpoint" throughout file.
30019 (test_watchpoint_triggered_in_syscall): New test.
30020 (test_complex_watchpoint): New test.
30021
30022Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30023
30024 * gdbme.c (call_with_trampolines): New function to try and step
30025 into. Tests trampoline problems on the PA.
30026
30027 * funcargs.exp (localvars_in_indirect_call): No longer expect
30028 stepping into indirect call to fail on PAs.
30029 (test_stepping_over_trampolines): New test.
30030
30031Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30032
30033 * TODO: Add suggestions for static member function tests, and
30034 completion tests.
30035
30036Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30037
30038 * TODO: Add suggestions for "p/a" tests.
30039
30040 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30041 (default_gdb_exit): Replace all the hair with sending "quit" to
30042 the process with a simple close.
30043
30044Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30045
30046 * TODO: Add suggestions for shared library tests.
30047
30048Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30049
30050 * TODO: Add suggestions for x/s tests.
30051
30052Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30053
30054 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30055 "enable once", and "enable breakpoints once" with ".*".
30056
30057Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30058
30059 * TODO: Add suggestions about structure passing tests.
30060
30061Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30062
30063 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30064 the primary1 test, use work around if __GNUC__ < 2.
30065 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30066 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30067 Test for bad output rather than waiting for timeout. Issue
30068 second continue only if first continue failed.
30069
30070Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30071
30072 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30073 operator[] test with gdb_test because the old code didn't seem to
30074 be getting the quoting right with the new dejagnu.
30075
30076Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30077
30078 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30079 one from the path.
30080 * Makefile.in: Use a fresh expect if there is one, use runtest
30081 from the src tree if there is one.
d63a86f8 30082
c906108c
SS
30083Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30084
30085 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30086 next over recursive call. Revise the tests from that point on
30087 (which had been skipped) to match GDB's actual (correct) output.
30088
30089 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30090 with next over a breakpoint whose condition is false.
30091
30092 * gdb.t00/help.exp: Comment out "help set print" tests just like
30093 (and for same reason as) "help set" test.
30094
30095Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30096
30097 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30098 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30099
30100Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30101
30102 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30103 necessary gdb_target_udi.
30104
30105 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30106
30107 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30108 1838 and 2417; they are fixed.
30109
30110 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30111 gdb.t03/ptype.exp (ptype structure, ptype union):
30112 Remove xfails; the test is looser than when the xfails were added.
30113
30114 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30115 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30116
30117 * gdb.t01/run.exp: Only run shell test if isnative.
30118
30119 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30120 since "run" automatically loads if necessary. Call gdb_target_udi
30121 after the "file" since "file" kills any execution target.
30122
30123 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30124 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30125 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30126 argument for UDI.
30127
30128Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30129
30130 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30131
30132 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30133
30134Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30135
30136 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30137 properly quoting regexps. This makes the second argument to
30138 demangle a fixed string, which matches the callers, instead of a
30139 shell-style pattern which is what the previous implementation
30140 used. Update some of the callers.
30141
30142Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30143
30144 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30145 (comib_nullified_tests): Fix typo.
30146 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30147 strings. No longer expected to fail.
30148
30149 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30150 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30151 strings. No longer expected to fail.
30152
30153 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30154 string. No longer expected to fail.
30155
30156Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30157
30158 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30159 No longer expected to fail.
30160
30161 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30162 string. No longer expected to fail.
30163
30164Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30165
30166 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30167 only in the names (I probably got most of them). I was even
30168 generous with some which differed in underscores in names, and
30169 probably missed a few, and I *still* was able to remove almost a
30170 third of the file with almost no impact on testsuite coverage.
30171
30172Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30173
30174 * gdb.t00/default.exp: Match udi_attach error message as well as
30175 the one from child_attach.
30176
30177 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30178
30179 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30180
30181 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30182 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30183
30184 * Move test with enums and partial symbols back to
30185 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30186 Reverts the change of 26 May 93. Per today's change to
30187 stabs.texinfo, the behavior that weird.exp was expecting was
30188 unreasonable; what is important is that the compiler+gdb get
30189 things right, which happens with a recent gcc. Also fix the test
30190 to deal with native compilers which put out the stab gdb can't
30191 deal with.
30192
30193Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30194
30195 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30196 in the names. The main thing these accomplish is to slow things down.
30197 Many more such duplicates surely remain.
30198
30199 * gdb.t00/help.exp: Comment out "help support" test just like
30200 (and for same reason as) "help set" test.
30201
30202Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
30203
30204 * gdb.t06/break.exp: Remove setup_xfails for
30205 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30206 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
30207 about known bug in gcc to include up through 2.5.8.
30208 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
30209 well as "_vb$".
30210 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30211 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30212 with latest gcc and gdb.
30213 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
30214 well as "_vb$".
30215
30216Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30217
30218 * configure.in (hppa*-*-*): Also configure and build stabs-only
30219 tests.
30220
30221Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30222
30223 * gdb.t10/hppa.mt: A makefile fragment for the PA.
30224 * gdb.t10/configure.in (hppa*-*-*): Use it.
30225
30226Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30227
30228 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
30229
30230Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30231
30232 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
30233 versions prior to 1.13.5.
30234
30235Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30236
30237 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
30238 the prompt is at the start of a line.
30239
30240Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30241
30242 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
30243 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
30244 in the copr tests now.
30245 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
30246 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
30247 expected to fail.
30248
30249Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
30250
30251 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
30252 gdb.t31/chillvars.exp, lib/gdb.exp:
30253 Tweak to run under either version of expect.
30254 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
30255 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
30256 * gdb.t11/list.exp: Remove extraneous whitespace.
30257
30258Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30259
30260 * gdb.t16/printcmds.exp (test_print_strings): Accept
30261 "(unsigned char *) " before the string.
30262
30263 * TODO: Add notes about printing of fancy types and GDB expressions.
30264
30265Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
30266
30267 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
30268 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 30269 if doing mips-idt-ecoff.
c906108c
SS
30270
30271Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
30272
30273 * Most .exp files: Tweak to run under either version of expect.
30274
30275Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30276
30277 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
30278 xfails; I'm not sure why they are failing, but not because of PR 1806.
30279
30280Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
30281
30282 * config/unix-gdb.exp: Remove gdb_unload cause it's already
30283 defined in lib/gdb.exp.
30284
30285Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30286
30287 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
30288 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
30289 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
30290 have to be typeless.
30291
30292Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30293
30294 * TODO: Add suggestion for copyright year test.
30295
30296Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
30297
30298 * configure.in (*-*-lynxos*): Add stabs tests.
30299
30300Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30301
30302 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
30303 so insert a tab before any assembler directive in column zero.
30304
30305 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
30306 stores.
30307 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
30308 stores.
30309 (fpu_short_memory_tests): Likewise.
30310
30311Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30312
30313 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
30314 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
30315 .stabs directives in comments.
30316
30317Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30318
30319 * TODO: New file, describing tests we could write.
30320 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
30321
30322Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30323
30324 * gdb.t06/signals.exp: Add kludge to force re-sync.
30325
30326 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
30327 to xgdb instead of gdb, get out of gdb.
30328
30329Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
30330
30331 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
30332 for info.
30333
30334Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30335
30336 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
30337 * gdb.stabs/configure.in (hppa*-*-*): Use it.
30338 * gdb.stabs/hppa.sed: New sed script for the PA.
30339
30340Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30341
30342 * gdb.stabs: Re-write weird.def and configuration to use sed
30343 instead of cpp. sed is portable and POSIX; cpp is neither.
30344
30345Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30346
30347 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
30348
30349Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30350
30351 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
30352
30353Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30354
30355 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
30356 "_vb$".
30357 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
30358 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
30359
30360Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30361
30362 * lib/gdb.exp: Comment out code which depends on non-existent
30363 `transform' procedure.
30364
30365Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
30366
30367 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
30368 * lib/gdb.exp: Transform tool name.
30369 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
30370 1.1's new error handling system.
30371
30372Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30373
30374 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
30375
30376Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30377
30378 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
30379 They made pattern matching so slow that timeouts happened on
30380 heavily loaded systems. Now any output from "show print" which
30381 gets us back to the GDB prompt is a PASS.
30382
30383Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
30384
30385 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
30386
30387Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30388
30389 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
30390
30391 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
30392 It is not from PR 3220.
30393
30394Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30395
30396 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
30397 just started failing because they depended on the order the
30398 subcommands are presented, or exact docstring text. This kind of
30399 test is a pain and has minimal benefit.
30400
30401Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30402
30403 * gdb.t09/corefile.exp: At end of test, use "core" command with
30404 no arguments.
30405
30406Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
30407
30408 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
30409 17}/Makefile.in: Make it possible to run the testsuite with Sun
30410 make and CC = cross gcc by adding explicit build rules for .o
30411 files.
30412
30413Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30414
30415 * gdb.t15/funcargs.exp: Don't put comments on same line as
30416 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 30417
c906108c
SS
30418Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30419
30420 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
30421
30422Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
30423
30424 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
30425 * gdb.t20/inherit.exp: remove three dumplicate entries.
30426
30427Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30428
30429 * gdb.t06/break.exp: For "next over recursive call", fail on any
30430 incorrect output, not just on "factorial (value=2)".
30431
30432Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30433
30434 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
30435 working now. Add an xfail if accesing a bss variable causes
30436 a memory error if the target is not yet run.
30437
30438Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30439
30440 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
30441 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
30442 name of __st* demangling (2 strings). Did Kung really get the
30443 more than 95 others right without testing them?
30444
30445Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
30446
30447 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
30448
30449Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
30450
30451 * configure.in (configdirs): Add gdb.disasm
30452 * gdb.disasm: New directory for GDB disassembler tests.
30453 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
30454
30455Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30456
30457 * gdb.t00/help.exp: Don't test "help set".
30458
30459 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
30460 from within expect statements. None of these happen anymore and
30461 they cause regressions to be silently unnoticed.
30462
30463 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
30464 messages) about known failures with gcc cygnus-2.4.5-930417.
30465
30466 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
30467 comp-info.exp so it gets built if it doesn't exist.
30468
30469 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
30470 it is no longer used.
30471 * gdb.t13/comp-info.c: Removed.
30472
30473Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30474
30475 * gdb.t06/signals.exp: Add xfail for sun3.
30476
30477Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30478
30479 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
30480 relevant because ^C doesn't get sent but failure can be reproduced
30481 interactively).
30482
30483Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30484
30485 * gdb.stabs/alpha.mt: New configuration file for alpha.
30486 * gdb.stabs/configure.in: Use it.
30487 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
30488 sharing with alpha.mt, redefine long to word via preprocessor.
30489 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
30490 for alpha.
30491 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
30492 native cc.
30493 * gdb.t00/teststrategy.exp: Change expect string so that we
30494 consume the `(xgdb)' from the command echo and from the gdb prompt.
30495 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
30496 gdb currently compares all values as long, so this failure probably
30497 applies to any configuration where LONGEST is bigger than a target int.
30498 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
30499 with gcc.
30500 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
30501 to handle opaque pointers, gcc is.
30502 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
30503 as first argument. Include <sys/types.h> and change all operator
30504 new definitions to use size_t.
30505 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
30506 now that we use size_t.
30507
30508Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30509
a9c64011 30510 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 30511 a long or float array cast all array members to the same type.
a9c64011 30512 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 30513 with 64 bit longs.
a9c64011 30514 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 30515 on alpha.
a9c64011 30516 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
30517
30518Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30519
30520 * gdb.t24 (demangle.exp): Constructors of templates have names like
30521 vector<int>::vector(int) not vector<int>::vector<int>(int). See
30522 section 14.6 of the ARM.
30523
30524 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
30525 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
30526 accomplish little and slow down the testsuite.
30527
30528 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
30529 Accept spaces various places.
30530
30531Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30532
30533 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30534 with watchpoint enabled.
30535
30536 * Makefile.in: Remove definition of CC and remove the second
30537 definition of CXX (the "CXX = gcc" one remains). These definitions
30538 were causing backquotes to be expanded within backquotes, which
30539 doesn't work.
30540
30541Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
30542
30543 * gdb.t17/callfuncs.exp: Add "return 0" to end.
30544
30545Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30546
a9c64011
AS
30547 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
30548 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
30549 by mips cc and contains no stabs entries.
30550
30551Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
30552
30553 * config/vx-gdb.exp: Use fake device to load files rather than
30554 NFS.
30555 * lib/gdb.exp: New proc to do "file" command.
30556 * config/unix-gdb.exp: Use new "file" proc.
30557
30558Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
30559
30560 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30561 Rework board rebooting slightly.
30562 (gdb_exit): Don't exit from the remote shell; there isn't one.
30563 * gdb.stabs/weird.exp: If a program is being debugged already,
30564 kill it.
30565 * gdb.t04/setvar.exp: Stop and restart gdb.
30566 * gdb.t05/expr.exp: Likewise.
30567 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30568 restart gdb and reload the program.
30569 * gdb.t08/opaque.exp: Likewise.
30570 * gdb.t12/scope.exp: Likewise.
30571 * gdb.t13/bitfields.exp: Likewise.
30572 * gdb.t15/funcargs.exp: Likewise.
30573 * gdb.t20/classes.exp: Likewise.
30574 * gdb.t03/ptype.exp: Increase timeout.
30575 * gdb.t16/printcmds.exp (test_print_string_constants,
30576 test_print_array_constants): Likewise.
30577 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30578 * gdb.t20/classes.exp (do_tests): Likewise.
30579 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30580
30581Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30582
30583 * gdb.stabs: Renamed *wierd* to *weird*.
30584
30585Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30586
30587 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30588 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30589
30590Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30591
30592 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30593 (do_tests): Remove xfail for whatis on one_var and two_var.
30594
30595Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30596
30597 * Makefile.in: Made cross building work better by adding
30598 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30599
30600Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30601
30602 * gdb.t15/{return.c,return.exp,Makefile.in}:
30603 New test, currently commented out.
30604
30605Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30606
30607 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30608 still running and removes the leftover named socket so GDb can do
30609 clean restarts.
30610
30611Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30612
30613 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30614 console, not GDB.
30615 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30616 cross testing works better with "make check"
30617 * config/unix-gdb: Use default procedures for exit and version.
30618 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30619 with the newest VxWorks.
30620
30621Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30622
30623 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30624 old form.
30625
30626 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30627 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30628
30629 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30630
30631 * config/unix-gdb.exp: Remove this version of gdb_exit
30632 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30633 Rob says he'll look at it when he gets back to testing boards.
30634
30635Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30636
30637 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30638 an expected fail for certain ptype commands.
30639
30640 * gdb.t20/classes.exp: Update expected results of "ptype class
30641 Base1" to account for the constructor that now appears in the type.
30642
30643Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30644
30645 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30646 disappeared from list.
30647 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30648 "alldone" proc with call to cleanup and exit.
30649 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30650 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30651 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30652 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30653 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30654 "alldone" proc with simple returns that suppress remaining
30655 tests. The alldone proc went away many months ago.
30656
30657Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30658
30659 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30660
30661 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30662
30663Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30664
30665 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30666 as vax gdb will display them.
30667
30668Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30669
30670 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30671 optimizers.
30672
30673 * scope.exp: Change "bad value for localval" messages so each one
30674 is unique.
30675
30676 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30677 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30678
30679 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30680
30681Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30682
30683 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30684 doesn't exist (due to optimization).
30685
30686Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30687
30688 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30689 contains \r because the filename is long.
30690
30691 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30692 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30693
30694Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30695
30696 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30697 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
30698 Ultrix.
30699 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
30700 int tests.
30701 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
30702
30703Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
30704
30705 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
30706
30707 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 30708 to match does not match the passing case but still matches the
c906108c
SS
30709 failing case.
30710
30711Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30712
30713 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30714
30715Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
30716
30717 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
30718 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30719 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30720 Remove various versions of gdb_exit.
30721 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30722 gdb_exit.
30723 * config/unix-gdb.exp: gdb_exit remains here, and should override
30724 the generic version, since it's doing a lot of wierd stuff that
30725 the other versions aren't. FIXME, fold it in, or abandon this
30726 version.
30727
30728Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30729
30730 * gdb.t24/demangle.exp: Add tests for PR 3220.
30731
30732Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30733
30734 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30735
30736Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
30737
30738 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
30739 "i386-*-*". Works for i486 as well.
30740
30741 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
30742 bug, and expand domain of xfail to all SVR4 systems, since the
30743 actual problem is likely to be in generic SVR4 /proc support.
30744
30745Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30746
30747 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30748
30749Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
30750
30751 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
30752 xfails for other systems. Match a missing 'Continuing.' as an
30753 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30754
30755 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30756 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30757 Only issue warning for missing executables if -all option is used.
30758
30759 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
30760 file if -all option is used. It's like an unpredictable XFAIL.
30761
30762Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30763
30764 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30765 for dynamically linked binaries.
30766
30767 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30768
30769Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30770
30771 * gdb.t20/inherit.exp: Change message for "print tagless struct"
30772 to state that this is a known bug in old versions of g++.
30773
30774Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30775
30776 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
30777 while waiting for `Continuing'.
30778
30779Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
30780
30781 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
30782 in text, data, and bss.
30783 * gdb.t10/nodebug.c: Add local and global test variables for
30784 initialized and uninitialized data.
30785
30786Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30787
30788 * config/unix-gdb.exp (gdb_exit): Add "wait".
30789
30790Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30791
30792 * gdb.t06/signals.exp: xfail the continue from the handler for all
30793 targets.
30794
30795 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
30796 function with watchpoints enabled, the i386 call dummy starts with
30797 a call.
30798
30799 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
30800 386 bsd names its corefiles.
30801
30802Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
30803
30804 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
30805 compilers don't grok it.
30806 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
30807 with small octal ints rather than character constants, which
30808 are signed and might not fit if first promoted to int.
30809
30810Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30811
30812 * gdb.t09/Makefile.in (clean): Remove corefile.
30813
30814Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30815
30816 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30817
30818Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30819 and Jim Kingdon (kingdon@cygnus.com)
30820
30821 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30822 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30823 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30824
30825Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30826
30827 * gdb.t17/interrupt.exp: Add xfail for hppa.
30828
30829Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30830
30831 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30832 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30833 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30834 to determine signed-ness of bitfields and use the result to setup
30835 the xfail.
30836 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30837 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30838 call line is reached if necessary.
30839
30840Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30841
30842 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30843
30844Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30845
30846 * gdb.t06/break.exp: Also test `clear' command.
30847
30848Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30849
30850 * gdb.t00/teststrategy.exp: Remove extra quote.
30851
30852 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30853 watchpoint enabled to be for all non-68k machines.
30854
30855 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30856
30857Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30858
30859 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30860 targets use aout.mt instead of ecoff.mt as gas understands
30861 standard aout format.
30862
30863Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30864
30865 * lib/gdb.exp (runto): Don't insist that function we are running to
30866 was compiled with -g.
30867
30868 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30869
30870 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30871 to get back into the read system call.
30872 Accept leading newline in case where we woke it up.
30873
30874Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30875
30876 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30877 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30878 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30879 enable ecoff configuration.
30880
30881Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30882
30883 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30884
30885Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30886
30887 * gdb.t16/printcmds.exp: Add another printf test.
30888
30889Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30890
30891 * configure.in: If configured -with-stabs on any target, add
30892 stabsdirs to configdirs.
30893
30894Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30895
30896 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30897 fun" so pattern does not match the command itself.
30898
30899Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30900
30901 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30902
30903Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30904
30905 * gdb.t17/interrupt.exp: Test for more things.
30906
30907Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30908
30909 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30910 compiler arranges the code and line numbers.
30911
30912 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30913
30914Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30915
30916 * gdb.t00/help.exp: Increase expect input buffer size.
30917
30918Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30919
30920 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30921
30922 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30923
30924 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30925
30926 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30927 [0-9]*, not just [0-9].
30928
30929Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30930
30931 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30932
30933 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30934
30935Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30936
30937 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30938
30939Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30940
30941 * gdb.t06/signals.c: Add xfails for sun3.
30942
30943 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30944
30945 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30946 test_stepping tests.
30947
30948Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30949
30950 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30951
30952 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30953
30954 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30955 rather than actually putting it through cpp twice.
30956
30957 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30958
30959Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
30960
30961 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
30962 no longer needed.
30963
30964Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30965
30966 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
30967
30968 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
30969 C++ features prints as "struct", make it a pass, not an xfail.
30970
30971Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30972
30973 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
30974 Don't require VA to print as "class" rather than "struct".
30975
30976Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
30977
30978 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
30979
30980Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30981
30982 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
30983
30984Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30985
30986 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
30987 order.
30988
30989Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30990
30991 * gdb.t16/printcmds.exp: Add printf tests.
30992
30993 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
30994
30995 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
30996
30997Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
30998
30999 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31000 pass counts, to counteract any existing or future setup_xfails.
31001
31002Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31003
31004 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31005 {BEGIN,END}_COMMON for common block instead of STAB.
31006 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31007
31008 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31009 intp_var should be N_GSYM not N_LSYM.
31010 wierd-aout.S: Use a label for the value of the N_SO.
31011 wierd.def: Remove all backslashes.
31012 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31013
31014Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31015
31016 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31017 get the expected next to inheritance3.
31018
31019Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31020
31021 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31022 now that gcc-2.4 gets it right.
31023
31024Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31025
31026 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31027
31028 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31029 generating comp-info.exp which works for cross-compilation.
31030
31031Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31032
31033 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31034 "*-*-sysv4.*".
31035
31036Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31037
31038 * gdb.t01/run.exp: Start with a fresh gdb.
31039 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31040 SVR4.x.
31041
31042Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31043
31044 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31045 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31046 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31047 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31048 things to remove.
31049
31050Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31051
31052 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31053 test cases from bug reports.
31054
31055Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31056
31057 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31058 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31059 avoid spurious xfails.
31060 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31061 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31062 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31063
31064Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31065
31066 * gdb.t00/teststrategy.exp: Rework to provide more useful
31067 description of each test, fix problem with systems that define
31068 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31069 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31070 results for "next over recursive call" so timeouts aren't taken
31071 by error.
31072
31073Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31074
31075 * gdb.t12/scope.exp: Test printing of variables before run.
31076
31077 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31078 printed in wrong order due to sorting.
31079
31080Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31081
31082 * gdb.t00/teststrategy.exp: Fix expected results for printing
31083 user entered string constant. Is array of char, prints with no
31084 address.
31085
31086 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31087 commands.
31088 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31089 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31090 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31091 of struct of char arrays.
31092 * gdb.t00/radix.exp: New tests for radix commands.
31093
31094Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31095
31096 * gdb.t16/printcmd.exp: Print a variable before running program
31097 (with xfail for AIX).
31098
31099Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31100
31101 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31102
31103 * gdb.t16/printcmd.exp: Don't print variables before running program.
31104
31105 * gdb.t06/break.exp: Don't require envp argument to main.
31106
31107 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31108
31109 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31110 Add xfails for rs6000.
31111
31112 * gdb.t02/whatis.exp: Change other tests not to re-test something
31113 we already tested.
31114
31115 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31116 each type used has a variable of that type.
31117
31118Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31119
31120 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31121
31122Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31123
31124 * configure.in: change srctrigger to be a file, not a directory
31125
31126Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31127
31128 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31129
31130 * gdb.t11/list.exp: Fixed a couple of typos.
31131
31132Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31133
31134 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31135 is fixed and PR is closed.
31136 * gdb.t16 (gdbme.c): Add simple test string variable.
31137 * gdb.t16 (printcmds.exp): Add tests with simple test string
31138 variable, primarily for boundaries on "set print elements".
31139
31140Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31141
31142 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31143 Make leading 0's optional and don't expect a tab in the middle
31144 of the number.
31145
31146 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31147
31148 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31149 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31150 don't end command passed to gdb_test with newline.
31151
31152 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31153 signed keyword away, don't expect signed bitfields to be signed.
31154
31155 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31156 printing with only as many 1's as are in the field as well as printing
31157 with 32 1's (see comment).
31158
31159Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31160
31161 * gdb.t00/default.exp: Start with a fresh gdb.
31162 * configure.in (configdirs): Remove gdb.t31 until the chill
31163 compiler works again. It no longer is able to find chillrt0
31164 since it isn't in libchill.a anymore.
31165 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31166 wierd.o, make more modular.
31167 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31168 spurious newlines that caused problems.
31169
31170Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31171
31172 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31173 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31174 gdb.stabs/wierd.{exp,def}: Many new tests.
31175
31176 * gdb.t00/default.exp: update info line for new message.
31177
31178 * gdb.t02/{whatis.exp,gdbme.c}:
31179 Test that "char *" doesn't print as "caddr_t".
31180
31181Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31182
31183 * gdb.t00/help.exp: Use .* in place of some help messages which
31184 just changed.
31185 gdb.t00/default.exp: Update "info frame" test for new message.
31186 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31187 Remove some xfails
31188
31189Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31190
31191 * gdb.t03/{gdbme.c,ptype.exp}:
31192 Add tests for typedef'd struct and union without tags.
31193 Also check "whatis" on a variable of a typedef'd enum without a tag.
31194
31195 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31196 PRMS 1823; the bug still exists but isn't reproduced by this test
31197 anymore), and remove rs6000 XFAIL (the bug is fixed).
31198
31199 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31200 duplicated from whatis.exp. For those that are left, accept
31201 "long", "long int", or "int" for long variables (whatis.exp already
31202 has an XFAIL for "int", so no need to fail it here).
31203
31204 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31205 Deal with GCC's names for types now that GDB uses the compiler's names.
31206
31207 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
31208 setup_xfail's for sunos4. If we #defined the signed keyword away,
31209 don't expect GDB to know that char it is signed.
31210
31211 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31212
31213Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
31214
31215 * configure.in (configdirs): Add gdb.t24 for C++ tests that
31216 should work on any system, regardless of debugging format.
31217 * gdb.t21/demangle.exp: Move to gdb.t24.
31218 * gdb.t24/demangle.exp: Move from gdb.t21.
31219 * gdb.t24/{Makefile.in, configure.in}: New files.
31220
31221Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31222
31223 * configure.in: Do gdb.stabs and C++ tests only for stabs.
31224 * gdb.stabs: New directory.
31225
31226Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31227
31228 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
31229 not just "Quit anyway?".
31230
31231Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
31232
31233 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
31234 that all setup_xfails are immediately followed by clear_xfails.
31235
31236Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
31237
31238 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
31239 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
31240 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
31241 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
31242 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
31243 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31244 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31245 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
31246 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
31247 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
31248 gdb.t31/chillvars.exp, lib/gdb.exp:
31249 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
31250 bug-gdb@prep.ai.mit.edu.
31251
31252Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
31253
31254 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
31255 with 0.0, not integer 0.
31256
31257Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
31258
31259 * gdb.t06/break.exp: Update for "Kill the program" message change.
31260
31261Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
31262
31263 * Makefile.in (GDBFLAGS): Set to -nx.
31264 * Makefile.in (site.exp): Use GDBFLAGS.
31265
31266Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31267
31268 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
31269 Makefiles.
31270 (check): depend on just-check.
31271 (just-check): added so that tests can be run without a noop
31272 build pass.
31273
31274Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31275
31276 Switch to using configure's configdirs.
31277 * Makefile.in (Makefile): add configure.in dependency.
31278 (SUBDIRS): removed redundant assignment.
31279 * configure.in: switch subdirs assignment to configdirs.
31280 * gdb.t*/configure.in: new files.
31281
31282Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
31283
31284 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
31285 works.
31286
31287Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
31288
31289 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
31290 in explicit rules. Apparently this is not supported by some makes.
31291
31292Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
31293
31294 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
31295
31296Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31297
31298 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
31299 disappeared.
31300
31301Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
31302
31303 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
31304
31305Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
31306
31307 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
31308 watchpoint problem that is now fixed.
31309 * gdb.t30/chexp.exp: Remove setup_xfail for printing
31310 uninitialized convenience variables.
31311 * gdb.t31/chillvars.exp: Fix expected patterns for printing
31312 structures.
31313
31314Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31315
31316 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
31317 which causes expect to get out of sync with gdb on long output
31318 from help set.
31319 * gdb.t09/corefile.exp: Make expected pattern for core file
31320 failing signal and frame output format less sun specific.
31321
31322Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
31323
31324 * gdb.t31/chillvars.exp: Add and remove initial dummy
31325 breakpoint, so that symbol table is forced in.
31326 (Needed at least on Sunos4, though it seems not SVR4.)
31327 * gdb.t31/chillvars.exp: Update for changed output format.
31328
31329Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
31330
a9c64011 31331 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
31332
31333Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
31334
31335 * Makefile.in: Added --srcdir when invoking runtest, removed the
31336 need for a local config file. (optional now)
31337
31338Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
31339
31340 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
31341 failure count used to force early termination. Add some more
31342 expected failures for gnu style demangling.
31343
31344Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31345
31346 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
31347 pmi variable from gdb.t20/gdbme to get optimized away.
31348 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
31349 Check for written corefile upon timeout _and_ eof.
31350
31351Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31352
31353 * config/unix-gdb.exp: Add missing return 0.
31354
31355Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31356
31357 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
31358 test termination.
31359
31360Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
31361
31362 * configure.in (subdirs): Put back gdb.t17 which mysteriously
31363 disappeared.
31364
31365Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
31366
31367 * gdb.t10/crossload.exp: Disable the i860-elf test until such
31368 time as i860 support works.
31369
d63a86f8 31370 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
31371 "backtrace 100\r" rather than just "backtrace\r", to match last
31372 change.
31373
31374Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
31375
31376 * config/udi-gdb.exp (gdb_exit): Remove close command.
31377 (gdb_target_udi): New procedure to set the UDI target.
31378 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
31379 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
31380 Added waits for prompts after several question responses. Added
31381 some more responses used by a29k-amd-udi-gdb.
31382 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
31383 pass different arguments, restart UDI connection after program
31384 completion.
31385 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
31386 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31387 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
31388 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
31389 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
31390 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
31391 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31392 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
31393 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
31394 after program completion.
31395 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
31396 compiled with a SELECT_VECS setting.
31397 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
31398 infinite recursion.
31399
31400 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
31401 Added checks for COFF results, and made them expected failures for
31402 all targets. It would be better to make them expected failures
31403 for COFF targets only.
31404
31405Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
31406
31407 * Makefile.in: add null dvi target, don't bother to recurse
31408 through test directories for info and install-info; rename
31409 $(datadir) to be dejagnu instead of deja-gnu
31410
31411Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
31412
31413 * gdb.t31/gdbme.ch: Re-enable code that previously caused
31414 compiler to coredump.
31415 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
31416 code.
31417
31418Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
31419
31420 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
31421 coredump.
31422 * gdb.t31/chillvars.exp: Comment out tests that depend on that
31423 code.
31424
31425Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
31426
31427 * gdb.t03/ptype.exp: tests for return code from gdb_test.
31428 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
31429 which in a shell. Deletes xgdb when done.
31430 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
31431 Tests the return from the "set height" or "set width" commands.
31432 Added a few return codes where needed.
31433
31434Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
31435
31436 * Makefile.in (SUBDIRS): Add gdb.t17.
31437 * configure.in (subdirs): Add gdb.t17.
31438 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
31439 files to test gdb's calling of functions in the inferior with
31440 the correct arguments and gdb's ability to retrieve any
31441 result returned.
31442
31443Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
31444
31445 * config/unix-gdb.exp (gdb_exit): Remove close commands that
31446 may be called after gdb goes away. Previous versions of expect
31447 needed these to avoid file descriptor leaks, but they cause
31448 errors with the current revision of expect.
31449 * gdb.t00/gdbvars.exp: Use -re on expected output after
31450 setting sevenbit-strings.
31451 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
31452 to set sevenbit-strings consistent across tests.
31453 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
31454 set sevenbit-strings consistent across tests.
31455
31456Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
31457
31458 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
31459 expected output to match current "expect" expectations.
31460
31461Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
31462
31463 * gdb.t00/default.exp: Change expected output for default "source"
31464 command, to match new gdb behavior which requires a filename to
31465 source.
31466
31467Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
31468
31469 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
31470 expected fail for i486-*-* that misses the marker2 function.
31471 * gdb.t10/crossload.exp (bfddefault): Allow successful
31472 recognition of a format to pass even if no symbols are found.
31473 Explicitly catch failures where the format is not recognized
31474 or is ambiguous, and add the reason to the fail message.
31475 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
31476 the cause is and invalid target and add reason to failure message.
31477 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
31478 elf32-i386, elf32-sparc, and elf32-i860.
31479 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
31480 Set up expected failure for 'filename'::variable scope resolution,
31481 which is now apparently broken on all targets.
31482 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
31483 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
31484 gdb.t23/templates.exp: Change failure for missing binfile into
31485 just a warning.
31486 gdb.t21/demangle.exp: Change all cfront references to 'arm'
31487 references.
31488
31489Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
31490
31491 * gdb.t00/default.exp: Add expected output for default "source"
31492 command, to match new gdb behavior.
31493 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
31494
31495Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
31496
31497 * config/*-gdb.exp: returns an error, rather than exiting on
31498 internal errors.
31499
31500Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
31501
31502 * gdb.t03/gdbme.c: Add pointer to struct variable.
31503 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
31504 referencing struct members.
31505
31506Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
31507
31508 * configure.in (mips-idt-ecoff): New target.
31509 * config/mips-gdb.exp: New file for remote board using MIPS remote
31510 debugging protocol.
31511
31512 * Redid configuration scheme. Removed gdb.t*/configure.in.
31513 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
31514 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
31515 distclean targets. Built executables via .o files. Adjusted
31516 tests to account for source files in $(srcdir) rather than
31517 $(objdir).
31518 * lib/gdb.exp (runto): Don't expect () after the function name,
31519 because it may have arguments.
31520
31521Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
31522
31523 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
31524 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
31525 expected failures for mips-idt-* and mips-sgi-*.
31526 * gdb.t00/default.exp (attach): Kill process if requested.
31527 * gdb.t00/help.exp (help target core, help target): Accept a gdb
31528 that does not read core files.
31529 * gdb.t01/run.exp: Removed checks for exit status code.
31530 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31531 it is linked in.
31532 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31533 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31534 appropriate, rather than doing it by hand.
31535 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31536 execution.
31537 * gdb.t10/crossload.exp: Kill existing program if needed.
31538 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31539 appropriate, rather than doing it by hand. Always increase
31540 timeout for this test, not just for VxWorks.
31541
31542Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
31543
31544 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
31545 of Chill STRUCT types and STRUCT values.
31546 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
31547 than "char".
31548 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 31549 struct2): New struct definitions and initializations to test
c906108c
SS
31550 simple Chill STRUCT types.
31551
31552Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
31553
31554 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
31555 the null byte at the end of strings.
31556 * gdb.t00/default.exp: Make show version insensitive to copyright
31557 date.
31558 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
31559 to avoid dependencies on target char signedness.
31560 * gdb.t16/printcmds.exp: Update expected results for explicitly
31561 unsigned char.
31562 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
31563 now work.
31564 * gdb.t21/demangle.exp: Add many more patterns for template
31565 demangling, most of them being expected failures.
31566 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
31567 string we are matching for, to match on the whole string.
31568 * gdb.t21/demangle.exp: Add many new test strings to demangle,
31569 and fix a whole bunch that had incorrect expected output but were
31570 passing anyway because of the bug in "proc demangle".
31571 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
31572 type.
31573 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
31574
31575Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31576
a9c64011
AS
31577 * gdb/testsuite: made modifications to testcases, etc., to allow
31578 them to work properly given the reorganization of deja-gnu and the
31579 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
31580
31581Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31582
31583 * gdb/testsuite: Initial creation of gdb/testsuite.
31584 Migrated dejagnu testcases and support files for testing nm to
31585 gdb/testsuite from deja-gnu. These files were moved "as is"
31586 with no modifications. This migration is part of a major overhaul
31587 of dejagnu. The modifications to these testcases, etc., which
31588 will allow them to work with the new version of dejagnu will be
31589 made in a future update.
48efe704 31590
8d8cb839 31591 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 31592\f
8d8cb839
EZ
31593;; Local Variables:
31594;; mode: change-log
31595;; left-margin: 8
31596;; fill-column: 74
31597;; version-control: never
31598;; End:
902f2ccb 31599
28e7fd62 31600 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
31601 Copying and distribution of this file, with or without modification,
31602 are permitted provided the copyright notice and this notice are preserved.
This page took 3.298202 seconds and 4 git commands to generate.